Skip to content

SPIKE: SPDD leg 3 entity projection (structured markdown → __Entity__)#2

Draft
jmjava wants to merge 29 commits into
ingest-to-hubfrom
cursor/spike-spdd-dice-projection-17f4
Draft

SPIKE: SPDD leg 3 entity projection (structured markdown → __Entity__)#2
jmjava wants to merge 29 commits into
ingest-to-hubfrom
cursor/spike-spdd-dice-projection-17f4

Conversation

@jmjava

@jmjava jmjava commented Jul 5, 2026

Copy link
Copy Markdown
Owner

SPIKE-001 leg 3 — paired with orchestrator cursor/spike-guide-ingest-agent-context-17f4

Status: Draft — spike only; do not merge until orchestrator T06 go/no-go.

What this adds

Structured SPDD markdown projection into Neo4j __Entity__ via NamedEntityDataRepository.
Coexists with leg 2 RAG chunk ingest (guide.directories).

Not the DICE proposition pipeline (conversation → propositions).

API

  • POST /api/v1/data/spdd-projection/load — project from orchestrator or fixture root
  • GET /api/v1/data/spdd-projection/stats — entity counts by label

Enable

guide:
  spdd-projection:
    enabled: true
    default-root-path: ~/github/jmjava/sdlc-spdd-orchestrator

See docs/spdd-projection-ingest.md and scripts/user-config/application-menke-5-spdd-projection.yml.example.

Operator flow (with orchestrator spike branch)

  1. Leg 2: GUIDE_PROFILE=menke-5 ./scripts/append-ingest.sh
  2. Leg 3: ./scripts/guide/project-spdd-entities.sh (from orchestrator repo)

Related

cursor Bot pushed a commit to jmjava/sdlc-spdd-orchestrator that referenced this pull request Jul 5, 2026
Co-authored-by: John Menke <jmjava@gmail.com>
jasperblues and others added 7 commits July 6, 2026 10:40
…ons)

- SpddMarkdownProjectionService projects canvas + context-index into __Entity__
- DrivineNamedEntityDataRepository wired when guide.spdd-projection.enabled=true
- POST /api/v1/data/spdd-projection/load and GET .../stats operator API
- Coexists with leg 2 RAG directory ingest (same Neo4j, different node layer)
- Unit tests with InMemoryNamedEntityDataRepository
- Docs and menke-5-spdd-projection profile example

Pair with sdlc-spdd-orchestrator cursor/spike-guide-ingest-agent-context-17f4
…MCP tools

- Root allowlist for load overrides (guide.spdd-projection.allowed-roots);
  per-file skip isolation (skippedFiles); 400/404/409 status mapping
- New edges: WorkId -decision/pitfall/pattern-> lesson, lesson -about-> Area;
  pattern kind now projected
- Cross-run lessons query: GET /spdd-projection/area?name=… + spdd_areaLessons
- MCP spdd_* tools via @LLMTool + McpToolExport; errors as {"error": …} JSON
- listByLabel: schema-label validation + result caps
- Tests: 32 spdd (service/controller/tools); fix DataManagerControllerWebMvcTest
  missing GuideStatsService mock
- Docs: spdd-projection-ingest.md updated; spdd-branch-changes.md for guide devs

Co-authored-by: Cursor <cursoragent@cursor.com>
@jmjava jmjava force-pushed the cursor/spike-spdd-dice-projection-17f4 branch from 68f0d57 to fc75c19 Compare July 12, 2026 01:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants