Skip to content

Alignment Review: Repository

Alignment Review: Repository

Review Date: 2026-04-04 Scope: Full repository Status: complete Review Epic: helix-71894dd3 Primary Governing Artifact: helix.prd

Scope and Governing Artifacts

Scope

  • Supervisory control and CLI (FEAT-001, FEAT-002)
  • First-class principles (FEAT-003)
  • Plugin packaging (FEAT-004)
  • Execution-backed skill output (FEAT-005)
  • Tracker queue hygiene
  • Skill packaging and validation

Governing Artifacts

  • docs/helix/00-discover/product-vision.md
  • docs/helix/01-frame/prd.md
  • docs/helix/01-frame/features/FEAT-001-helix-supervisory-control.md
  • docs/helix/01-frame/features/FEAT-002-helix-cli.md
  • docs/helix/01-frame/features/FEAT-003-principles.md
  • docs/helix/01-frame/features/FEAT-004-plugin-packaging.md
  • docs/helix/01-frame/features/FEAT-005-execution-backed-output.md
  • docs/helix/02-design/adr/ADR-001-supervisory-control-model.md
  • docs/helix/02-design/adr/ADR-002-tracker-write-safety-model.md
  • docs/helix/02-design/solution-designs/SD-001-helix-supervisory-control.md
  • docs/helix/02-design/solution-designs/SD-002-first-class-principles.md
  • docs/helix/02-design/technical-designs/TD-002-helix-cli.md
  • docs/helix/02-design/contracts/API-001-helix-tracker-mutation.md
  • docs/helix/03-test/test-plans/TP-002-helix-cli.md
  • docs/helix/04-build/implementation-plan.md

Intent Summary

  • Vision: HELIX is a supervised autopilot that advances the weakest ready layer of the development stack until human input is needed. Year 1 target: reliable autopilot with core workflow, tracker, CLI, and mirrored skills.
  • Requirements: PRD defines helix-run as supervisory autopilot with least-power action selection, tracker-first execution, concurrent interactive operation, plugin packaging, first-class principles, and execution-backed output. 5 features specified.
  • Features / Stories: FEAT-001 (P0, specified), FEAT-002 (P0, backfilled), FEAT-003 (P1, draft), FEAT-004 (P1, draft), FEAT-005 (P1, draft).
  • Architecture / ADRs: ADR-001 establishes supervisory control model. ADR-002 defines tracker write safety (context now stale after DDx migration).
  • Technical Design: TD-002 defines CLI orchestration contract, state machine, recovery, concurrency, review handling, and commit flow.
  • Test Plans: TP-002 covers 133 deterministic tests for CLI wrapper.
  • Implementation Plans: Implementation plan defines 3 build slices with ordering constraints. References stale workflows/TRACKER.md.

Planning Stack Findings

FindingTypeEvidenceImpactReview Issue
ADR-002 references .helix/issues.jsonl and self-contained trackerstaleADR-002:10-12Lowhelix-c5864cc0
TD-002 references scripts/tracker.sh (deleted) with line numbersstaleTD-002:324-410Mediumhelix-c5864cc0
SD-001 references .helix/issues.jsonlstaleSD-001:52Lowhelix-c5864cc0
Implementation plan cites workflows/TRACKER.md (deleted)staleimplementation-plan.md:29Mediumhelix-c5864cc0
plugin.json missing skills and hooks fieldsmissing-linkFEAT-004 design vs .claude-plugin/plugin.jsonMediumhelix-b21504cb
bin/helix plugin CLI wrapper does not existmissing-linkFEAT-004 designMediumhelix-b21504cb
workflows/references/ directory does not existmissing-linkSD-002 specifies principles-resolution.md thereLowhelix-18af7317
No principles injection in any action promptmissing-linkSD-002 injection planExpected (FEAT-003 not started)helix-18af7317
workflows/principles.md contains workflow rules, not design principlesstaleFEAT-003 FR-1/FR-2Expected (FEAT-003 not started)helix-18af7317
validate-skills.sh fails on helix-implement symlink aliascontradictionSymlink helix-implement -> helix-buildLowhelix-14b95aac

Implementation Map

  • Topology: Shell CLI (scripts/helix, ~2424 lines), skill pack (skills/, 17+ entries including 2 alias symlinks), workflow actions (workflows/actions/, 10 action prompts), plugin manifest (.claude-plugin/plugin.json, partial)
  • Entry Points: scripts/helix (CLI), skills/*/SKILL.md (agent skills), .claude-plugin/plugin.json (partial plugin)
  • Test Surfaces: tests/helix-cli.sh (133 deterministic tests), tests/validate-skills.sh (skill validation, currently failing on alias)
  • Unplanned Areas: ~15 test/junk tracker issues polluting the ready queue

Acceptance Criteria Status

Story / FeatureCriterionTest ReferenceStatusEvidence
US-001 [FEAT-001]helix-run advances next bounded layertests/helix-cli.shSATISFIEDNEXT_ACTION dispatch tested
US-001 [FEAT-001]Functionality change routes to align/evolve/designworkflows/actions/check.mdSATISFIEDcheck defines routing
US-002 [FEAT-001]Direct layer invocation workstests/helix-cli.sh dry-run testsSATISFIEDEach command invocable
FEAT-002helix help shows commandstests/helix-cli.shSATISFIEDHelp test passes
FEAT-002helix status structured snapshottests/helix-cli.shSATISFIEDStatus test passes
FEAT-002helix run NEXT_ACTION contracttests/helix-cli.shSATISFIEDAll 8 codes tested
FEAT-002helix run --summarytests/helix-cli.shSATISFIEDSummary mode tested
FEAT-002Exponential backoff correcttests/helix-cli.shSATISFIED5/10/20/40 verified
FEAT-002Epic focus maintainedtests/helix-cli.shSATISFIEDFocus and blocking tested
FEAT-002Orphan recovery with PID/claim-agetests/helix-cli.shSATISFIEDRecovery tested
FEAT-002Context refresh every 5 cyclestests/helix-cli.shSATISFIEDRefresh tested
FEAT-002helix commit build gatetests/helix-cli.shSATISFIEDCommit flow tested
FEAT-002DDx bead delegationtests/helix-cli.shSATISFIED133 tests pass through adapter
US-001 [FEAT-003]helix frame bootstraps principlesnoneUNIMPLEMENTEDNot started
US-002 [FEAT-003]Judgment skills include principlesnoneUNIMPLEMENTEDNo injection
US-003 [FEAT-003]Tension detection on addnoneUNIMPLEMENTEDNot started
US-004 [FEAT-003]HELIX defaults when no project filenoneUNIMPLEMENTEDDefaults still workflow rules
US-001 [FEAT-004]--plugin-dir makes skills availablenoneUNTESTEDManifest incomplete
US-002 [FEAT-004]New skill available without reinstallnoneUNTESTEDManifest lacks skills path
US-004 [FEAT-004]Validator catches broken plugintests/validate-skills.shTESTED_NOT_PASSINGFails on alias symlink
US-001 [FEAT-005]Query execution historynoneUNIMPLEMENTEDDDx FEAT-010 dependency
US-002 [FEAT-005]Durable evolution reportnoneUNIMPLEMENTEDDDx FEAT-010 dependency
US-003 [FEAT-005]helix status shows recent actionsnoneUNIMPLEMENTEDDDx FEAT-010 dependency

Gap Register

AreaClassificationPlanning EvidenceImplementation EvidenceResolution DirectionIssue
Supervisory control (FEAT-001)ALIGNEDFEAT-001, ADR-001, SD-001, TD-002scripts/helix run loop, 133 testsn/ahelix-c5864cc0
CLI surface (FEAT-002)ALIGNEDFEAT-002, TD-002, TP-002, API-001scripts/helix ~2424 lines, DDx bead delegationn/ahelix-c5864cc0
TD-002 stale evidence refsSTALE_PLANTD-002:324-410scripts/tracker.sh deletedplan-to-codehelix-c5864cc0
Implementation plan stale refSTALE_PLANimplementation-plan.md:29workflows/TRACKER.md deletedplan-to-codehelix-c5864cc0
ADR-002 stale contextSTALE_PLANADR-002 references self-contained trackerDDx bead delegationplan-to-codehelix-c5864cc0
First-class principles (FEAT-003)INCOMPLETEFEAT-003, SD-002 fully specifiedNo implementation; scaffolding outdatedcode-to-planhelix-18af7317
Plugin packaging (FEAT-004)INCOMPLETEFEAT-004 fully specifiedManifest partial; bin/helix missing; validator not updatedcode-to-planhelix-b21504cb
Execution-backed output (FEAT-005)INCOMPLETEFEAT-005 fully specifiedNo implementation; blocked on DDx FEAT-010code-to-planhelix-30e00d6b
Tracker queue hygieneDIVERGENTPRD expects clean tracker state~15 junk issues in ready queuequality-improvementhelix-25836a2d
Skill validator alias handlingINCOMPLETEFEAT-002 alias contractvalidate-skills.sh fails on symlinkscode-to-planhelix-14b95aac

Quality Findings

AreaDimensionConcernSeverityResolutionIssue
TrackerMaintainability~15 junk/test issues inflate ready queueMediumquality-improvementhelix-5f53e5ca
CLIRobustnessvalidate-skills.sh fails on alias symlinksMediumquality-improvementhelix-14b95aac
DocsMaintainabilityTD-002 evidence section cites deleted fileLowquality-improvementhelix-66762d1c
DocsMaintainabilityImplementation plan cites deleted TRACKER.mdLowquality-improvementhelix-66762d1c

Traceability Matrix

VisionRequirementFeature/StoryArch/ADRDesignTestsImpl PlanCode StatusClassification
Supervised autopilotPRD P0-1..P0-7FEAT-001ADR-001SD-001, TD-002TP-002Slice 2,3ImplementedALIGNED
CLI command surfacePRD P0-1..P0-9FEAT-002ADR-001TD-002TP-002Slice 1,2ImplementedALIGNED
Tracker-first executionPRD P0-7FEAT-002ADR-002TD-002, API-001TP-002Slice 1DDx delegatedALIGNED
First-class principlesPRD P1-10FEAT-003n/aSD-002nonenot in planNot startedINCOMPLETE
Plugin packagingPRD P0-8..P0-10, P1-5FEAT-004n/aFEAT-004nonenot in planPartialINCOMPLETE
Execution-backed outputPRD Obs-5,6FEAT-005n/aFEAT-005nonenot in planNot startedINCOMPLETE
Cross-model reviewPRD P1-8FEAT-001/002ADR-001TD-002TP-002n/aImplementedALIGNED
Interactive entryPRD P0-6FEAT-001/US-002ADR-001SD-001TP-002n/aImplementedALIGNED

Execution Issues Generated

Issue IDTypeLabelsGoalDependenciesVerification
helix-ddde7400taskphase:build,FEAT-003Rewrite principles defaultsnone (ready)Content review
helix-43b1a2d0taskphase:build,FEAT-003Relocate workflow rulesnone (ready)grep audit
helix-e186ec28taskphase:build,FEAT-003Update principles scaffoldingnone (ready)Validation
helix-aac2bc6ataskphase:build,FEAT-003Principles resolution + injectionblockedPrompt audit
helix-9222038ctaskphase:build,FEAT-003Bootstrap in helix frameblockedE2E test
helix-d70303detaskphase:build,FEAT-003Tension detection + size ceilingblockedPair test
helix-8efeb583taskphase:buildComplete plugin manifestnone (ready)JSON validation
helix-347a49dftaskphase:buildCreate bin/helix wrappernone (ready)Executable test
helix-604b0e3dtaskphase:buildValidator plugin layoutnone (ready)validate-skills passes
helix-b821376ftaskphase:buildExecution definitionsnone (ready)DDx-compatible
helix-ee13947ataskphase:buildWire CLI to ddx execblocked (DDx)Run records persist
hx-8447a41ctaskphase:buildRefresh implementation plannone (ready)Plan cites current slices
helix-5f53e5cachorephase:iterate,area:trackerClean up junk issuesnone (ready)Ready count drops
helix-66762d1ctaskphase:build,area:docsUpdate TD-002 evidence for DDxnone (ready)No deleted file refs

Issue Coverage

Gap / CriterionCovering IssueStatus
FEAT-003 defaults rewritehelix-ddde7400covered
FEAT-003 rule relocationhelix-43b1a2d0covered
FEAT-003 scaffoldinghelix-e186ec28covered
FEAT-003 resolution + injectionhelix-aac2bc6acovered
FEAT-003 frame bootstraphelix-9222038ccovered
FEAT-003 tension detectionhelix-d70303decovered
FEAT-004 manifesthelix-8efeb583covered
FEAT-004 bin/helixhelix-347a49dfcovered
FEAT-004 validatorhelix-604b0e3dcovered
FEAT-005 definitionshelix-b821376fcovered
FEAT-005 CLI wiringhelix-ee13947acovered (blocked DDx)
TD-002 stale evidencehelix-66762d1ccovered
Implementation plan stale refhx-8447a41ccovered
Tracker junk issueshelix-5f53e5cacovered
Skill validator aliashelix-604b0e3dcovered
FEAT-005 status historyhelix-6ae1e84ccovered
FEAT-003 researchhelix-5688e5bdcovered (blocked)

Execution Order

Critical Path

  1. FEAT-003 Slice 1 (parallel, ready now):
    • helix-ddde7400: Rewrite principles defaults
    • helix-43b1a2d0: Relocate workflow rules
    • helix-e186ec28: Update scaffolding
  2. FEAT-003 Slice 2 (depends on Slice 1):
    • helix-aac2bc6a: Create resolution reference + inject into prompts
  3. FEAT-003 Slice 3 (depends on Slice 2):
    • helix-9222038c: Bootstrap in helix frame
    • helix-d70303de: Tension detection + size ceiling

Parallel Work (independent of FEAT-003)

  • helix-8efeb583: Complete plugin manifest (FEAT-004)
  • helix-347a49df: Create bin/helix wrapper (FEAT-004)
  • helix-604b0e3d: Update validator for plugin layout (FEAT-004)
  • helix-5f53e5ca: Clean up tracker junk issues
  • helix-66762d1c: Update TD-002 evidence section
  • hx-8447a41c: Refresh implementation plan

Blocked

  • helix-ee13947a: Wire CLI to ddx exec (needs DDx FEAT-010)
  • helix-6ae1e84c: Execution history in status (needs ddx exec)
  • helix-5688e5bd: Principles injection research (needs injection baseline)

First Recommended Execution Set

  1. helix-5f53e5ca (tracker cleanup — improves queue signal immediately)
  2. helix-ddde7400 + helix-43b1a2d0 + helix-e186ec28 (FEAT-003 Slice 1, parallel)
  3. helix-8efeb583 + helix-347a49df (FEAT-004 manifest + wrapper, parallel)
  4. helix-66762d1c + hx-8447a41c (stale doc fixes, parallel)

Open Decisions

DecisionWhy OpenGoverning ArtifactsRecommended Owner
Does ${CLAUDE_PLUGIN_ROOT} resolve in SKILL.md reference paths?Determines FEAT-004 resource resolution strategyFEAT-004 Open QuestionsHELIX maintainers
Should HELIX use a DDx exec shim before FEAT-010 ships?Determines FEAT-005 timingFEAT-005 Open QuestionsHELIX maintainers + DDx maintainers
DDx document graph features for principles staleness trackingDetermines FEAT-003 Slice 6 feasibilitySD-002 GapsDDx maintainers

Queue Health and Exhaustion Assessment

Queue state: 45 open issues, 38 ready, 7 blocked.

Signal quality: Degraded. ~15 junk/test issues inflate the ready queue. After cleanup, expect ~23 genuine ready issues.

Feature coverage:

  • FEAT-001/FEAT-002: ALIGNED. Remaining work is incremental (hx-85f28129 epic, hx-8447a41c implementation plan refresh, stale doc fixes).
  • FEAT-003: INCOMPLETE but fully decomposed. 7 issues, 3 ready (Slice 1), 4 blocked on Slice 1 completion.
  • FEAT-004: INCOMPLETE. 4 issues, 3 ready.
  • FEAT-005: INCOMPLETE. 4 issues, 2 ready (definitions), 2 blocked on DDx.

Exhaustion risk: Low for FEAT-003 and FEAT-004 (clear path). Medium for FEAT-005 (external DDx dependency). The tracker has enough work for multiple helix run sessions. The first execution set should prioritize queue cleanup then FEAT-003 Slice 1 for maximum planning-stack improvement.