Skip to content

Commit 75b7c73

Browse files
committed
docs(06-bootstrap-first-run-adoption): create phase 6 plan
Single-plan phase covering the init wizard: @inquirer/prompts dependency, src/cli-init.ts wizard logic, subcommand wiring in cli.ts and index.ts, and unit tests for all four clients and file-write scenarios.
1 parent e218859 commit 75b7c73

File tree

2 files changed

+381
-0
lines changed

2 files changed

+381
-0
lines changed

.planning/ROADMAP.md

Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
BEWARE: AI-GENERATED MARKDOWN FILE, DO NOT BLINDLY TRUST IT
2+
3+
# Roadmap
4+
5+
## Active Milestone
6+
7+
- [-] **v2.0.0 Map-First Discovery Relaunch** - Phases 5-9 (in progress)
8+
9+
## Active Phases
10+
11+
- [x] **Phase 5: Freeze Discovery Benchmark** - lock the discovery-only benchmark and fairness rules before product-shaping changes land
12+
- [ ] **Phase 6: Bootstrap First-Run Adoption** - ship the interactive bootstrap wizard for the first-wave clients
13+
- [ ] **Phase 7: Promote the Map Surface** - make repo intelligence the primary first-call surface in CLI and MCP
14+
- [ ] **Phase 8: Tighten the Search Contract** - formalize compact-vs-full search and nuanced edit-readiness
15+
- [ ] **Phase 9: Publish Proof and Sync the Public Surface** - finish v2 with honest proof, locked messaging, and aligned public artifacts
16+
17+
## Phase Details
18+
19+
### Phase 5: Freeze Discovery Benchmark
20+
21+
**Goal**: lock the discovery-only benchmark and fairness rules before product-shaping changes so v2 claims cannot be gamed.
22+
**Status**: [x]
23+
**Requirements**: `EVAL-01`
24+
**Success Criteria**:
25+
1. Frozen benchmark fixtures are locked for `angular-spotify` and at least one non-Angular public repo before discovery-contract implementation work begins.
26+
2. Reported metrics stay discovery-only: exploration usefulness, payload cost, first relevant hit, and best-example usefulness.
27+
3. Baseline plus named competitor setups are documented with explicit limitations and no fairness shortcuts.
28+
4. The benchmark names `raw Claude Code`, `GrepAI`, `jCodeMunch`, and `codebase-memory-mcp`, with `codebase-memory-mcp` framed as the heavier structural comparator rather than the primary public baseline.
29+
5. The benchmark has a real ship gate: v2 must beat raw Claude Code on exploration payload cost and at least one usefulness metric across the fixed public tasks, stay competitive with the named MCP comparators, and report any lost slices before broader relaunch claims are made.
30+
31+
### Phase 6: Bootstrap First-Run Adoption
32+
33+
**Goal**: make first-run setup and instruction seeding simple for a new public user without turning bootstrap into a separate product.
34+
**Status**: [ ]
35+
**Depends on**: Phase 5
36+
**Requirements**: `BOOT-01`
37+
**Plans**: 1 plan
38+
39+
Plans:
40+
- [ ] 06-01-PLAN.md — Add @inquirer/prompts, implement init wizard in src/cli-init.ts, wire subcommand, add unit tests
41+
42+
**Success Criteria**:
43+
1. `codebase-context init` supports `Claude Code`, `Cursor`, `Codex`, and `OpenCode` only for the first wave.
44+
2. The wizard is interactive, preview-first, generates MCP config plus a standard instruction block, and asks before patching an existing instructions file.
45+
3. Safe recommendations, write paths, and client-specific generated output are covered by tests.
46+
4. Bootstrap stays bounded; if scope slips, client breadth is trimmed before new abstraction or setup-product work is added.
47+
48+
### Phase 7: Promote the Map Surface
49+
50+
**Goal**: expose existing repo intelligence as the primary first-call product surface before free-form search.
51+
**Status**: [ ]
52+
**Depends on**: Phase 6
53+
**Requirements**: `MAP-01`, `MSG-01`
54+
**Success Criteria**:
55+
1. CLI users get a new `map` command and MCP users get the tightened `codebase://context` resource as the compact map contract.
56+
2. This phase does not add a new MCP map tool.
57+
3. The map summarizes architecture, active patterns, best examples, and suggested next calls.
58+
4. Docs and onboarding flows present the map-first workflow as the default first-use path, with search framed as the next step.
59+
60+
### Phase 8: Tighten the Search Contract
61+
62+
**Goal**: make `search_codebase` smaller, clearer, and more self-sufficient before edits.
63+
**Status**: [ ]
64+
**Depends on**: Phase 7
65+
**Requirements**: `DISC-01`, `SAFE-01`
66+
**Success Criteria**:
67+
1. `search_codebase` defaults to `compact`, supports explicit `full`, and exposes response-budget metadata in both modes.
68+
2. Compact mode is explicitly bounded to at most 6 ranked pointers, 1 concise pattern summary, 1 best example, and up to 2 next hops without repeating heavy memory by default.
69+
3. Low-confidence retrieval blocks edit intents, `aging` warns, and `stale` abstains with retry or reindex guidance.
70+
71+
### Phase 9: Publish Proof and Sync the Public Surface
72+
73+
**Goal**: publish the proof artifact and make the v2 story coherent across docs, registry surfaces, and package metadata.
74+
**Status**: [ ]
75+
**Depends on**: Phase 8
76+
**Requirements**: `PROOF-01`
77+
**Success Criteria**:
78+
1. The discovery benchmark is run and checked in as a reproducible artifact with explicit limitations.
79+
2. README hero, subheadline, and exact first-screen bullets, plus docs, support matrix, registry metadata, and CHANGELOG, reflect shipped v2 behavior only.
80+
3. The benchmark doc, comparison table, registry sync checklist, and short demo script are shipped as explicit relaunch artifacts.
81+
4. Any unsupported comparator setup or broader benchmark ambition is documented explicitly rather than implied as shipped.
82+
83+
## Archived Milestones
84+
85+
- [x] [v1.9.0 - HTTP Transport + Multi-repo Configuration](.\milestones\v1.9.0-ROADMAP.md) - 4 phases, 4 plans, shipped 2026-03-28
86+
87+
## Current Status
88+
89+
Active milestone is `v2.0.0 Map-First Discovery Relaunch`. Phase 5 is verified complete; the next workflow is `/gsdd-progress` to route into Phase 6.

0 commit comments

Comments
 (0)