Skip to content

refactor: remove deprecated prospec steering command#44

Merged
benwu95 merged 2 commits into
mainfrom
remove-deprecated-steering-command
Jun 22, 2026
Merged

refactor: remove deprecated prospec steering command#44
benwu95 merged 2 commits into
mainfrom
remove-deprecated-steering-command

Conversation

@benwu95

@benwu95 benwu95 commented Jun 22, 2026

Copy link
Copy Markdown
Owner

Summary

Removes the deprecated prospec steering command and all steering-only code. steering was superseded by prospec knowledge init — a separate, more accurate scan path — and had become dead code: a staler parallel implementation (manifest-only tech detection, unconditional module-map.yaml overwrite) that no live code imported.

Changes

  • Delete the steering command, formatter, service, and the architecture.md.hbs template; unregister it in src/cli/index.ts.
  • Move module-readme.hbs to templates/knowledge/ and update all 24 renderTemplate path strings (2 source + 22 tests); remove the now-empty templates/steering/.
  • Repoint module-map prerequisite hints to prospec knowledge init (knowledge/mcp services, proposal template, and the matching test regexes).
  • Retire REQ-SETUP-008/009/010 + US-004 in the project-setup spec. architecture.md generation and the .prospec.yaml writeback are intentionally dropped: the report content is already covered by raw-scan.md / _index.md / module READMEs (+ module-map.yaml for the layers), and the per-module paths writeback was a self-referential dead config (only steering read it back).
  • Sync REQ-MCP-006, REQ-SERVICES-025, the AI Knowledge base, and README counts.

Verification

  • pnpm typecheck + pnpm build clean.
  • 1748 tests pass; coverage 96%.
  • prospec check: 0 fail / 0 warn.

Notes

  • Reconciled a pre-existing services-count inconsistency across docs (module-map 13 / README 14 / _index 15) to the true execute()-services count of 14.
  • Followed the full Prospec SDD flow (story → plan → tasks → implement → review → verify Grade A → archive); the change is graduated into prospec/specs/features/project-setup.md (Deprecated Requirements + Change History).

benwu95 added 2 commits June 22, 2026 17:45
- delete steering command, formatter, service, and the architecture.md.hbs template
- move module-readme.hbs to templates/knowledge/ and update 24 renderTemplate path strings
- repoint module-map prerequisite hints to `prospec knowledge init` (knowledge/mcp services, proposal template)
- retire REQ-SETUP-008/009/010 + US-004 in the project-setup spec; architecture.md generation and .prospec.yaml writeback dropped by decision
- sync REQ-MCP-006, REQ-SERVICES-025, AI Knowledge, and README counts (services 14, .hbs 56, tests 1748)
- remove steering tests; suite 1748 pass, coverage 96%
…specs + harvest lessons

- graduate project-setup REQ-SETUP-008/009/010 to Deprecated Requirements with rationale + Change History row
- add committed spec-history record (_archived-history/2026-06-22-remove-deprecated-steering-command.md)
- harvest PB-004 (re-derive counts, don't delta) + PB-005 (same-commit README) occurrences into the lessons ledger
@github-actions

Copy link
Copy Markdown

Prospec Check

Prospec drift check (structural — deterministic, zero LLM)

  PASS  req-references
  PASS  file-paths
  PASS  import-direction
  PASS  knowledge-health
  SKIP  task-completion — source unavailable: .prospec/changes/ not found (not version-controlled)
  PASS  dangling-prefix
  PASS  feature-modules
  PASS  readme-counts

Knowledge coverage: 6/6 modules documented

Checked 7/8 checks: 0 fail, 0 warn, 1 skipped (not counted as pass)
Semantic consistency: not-checked (run /prospec-review)
Report written: prospec-report.json

@github-actions

Copy link
Copy Markdown

Test Coverage

Metric Coverage Covered / Total
lines 96.52% 2802 / 2903
statements 96.04% 3082 / 3209
functions 95.91% 517 / 539
branches 94.31% 1693 / 1795

@benwu95 benwu95 merged commit dc0cdfc into main Jun 22, 2026
4 checks passed
@benwu95 benwu95 deleted the remove-deprecated-steering-command branch June 22, 2026 10:10
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.

1 participant