You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(bootstrap): integrate adf migrate into bootstrap flow #7
The bootstrap command (charter bootstrap --yes) does not run charter adf migrate as part of its flow, even when it detects existing agent config files (AGENTS.md, .cursorrules) with extractable rules. This leaves the user needing to discover and run adf migrate separately.
Current Flow
[1/5] Detecting stack...
Warning: Agent standards detected (AGENTS.md); align Charter policy with existing agent instructions.
[2/5] Setting up governance...
[3/5] Initializing ADF context...
Created .ai/manifest.adf, core.adf, state.adf
Generated CLAUDE.md (thin pointer)
Generated .cursorrules (thin pointer)
[4/5] Installing dependencies...
[5/5] Running health check...
After this, charter doctor warns:
[warn] adf agent config: .cursorrules, agents.md, AGENTS.md contain stack rules that should live in .ai/. Run: charter adf migrate --dry-run
When --yes is passed to bootstrap, the migration should also auto-apply. Without --yes, show the dry-run summary and prompt for confirmation.
Why This Matters
Bootstrap already detects agent standards (step [1/5] logs the warning). If bootstrap knows the files exist and need migration, it should handle it — otherwise users get a "PASS" message at the end but charter doctor immediately shows warnings, which is a confusing first-run experience.
Update: v0.5.0 branch (`docs/adx-005-cli-ux-feedback`) does not integrate `adf migrate` into the bootstrap flow. Bootstrap still:
Detects agent config files and logs a warning ("Agent standards detected")
Generates thin pointers but skips files with custom content
Suggests `charter adf migrate` in warnings
The `--yes` flag does not auto-run migrate. This is the largest remaining friction gap in the bootstrap → doctor path. After bootstrap completes, doctor immediately warns about agent configs needing migration.
Tagging for v0.5.0 inclusion. Suggested implementation: add a `runMigratePhase()` between adf-init and install that runs migrate when agent config files with custom content are detected.
Activity
SmartBrandStrategies commentedon Mar 2, 2026
Update: v0.5.0 branch (`docs/adx-005-cli-ux-feedback`) does not integrate `adf migrate` into the bootstrap flow. Bootstrap still:
The `--yes` flag does not auto-run migrate. This is the largest remaining friction gap in the bootstrap → doctor path. After bootstrap completes, doctor immediately warns about agent configs needing migration.
Tagging for v0.5.0 inclusion. Suggested implementation: add a `runMigratePhase()` between adf-init and install that runs migrate when agent config files with custom content are detected.
docs(release): link issues #3-#7 to v0.6.0 plan and milestone
SmartBrandStrategies commentedon Mar 2, 2026
Depends on #4 and #5 — bootstrap integration should build on a working module init and on-demand module flow.
docs(release): add phased sequencing and version bump gate to v0.6.0 …
feat(bootstrap): integrate adf migrate into bootstrap flow