Repository navigation
fix(bootstrap): name the narrow remedy instead of --force in pointer warnings - #338
Merged
Merged
Conversation
…warnings (closes #305) Co-Authored-By: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #305
The two phase-3 pointer warnings in
runAdfInitPhase(bootstrap.ts) told the user to "use --force to overwrite". Bootstrap's--forcealso re-scaffolds.ai/*.adfand overwrites customized modules, so that advice put hand-authored ADF content at risk.charter adf migrate --source <file>, or hand-editing or deleting the file and re-running bootstrap.--sourceis spelled out becauseadf migrate's default discovery list uses lowercaseagents.md, which missesAGENTS.mdon case-sensitive filesystems. I checked the code path: migrate moves the rules into.ai/and writes a pointer that carries a Charter marker, so the next bootstrap no longer raises the warning. A test covers this..mcp.jsonwarning from fix(bootstrap): gitignore telemetry and drop absolute path from .mcp.json #304.The flag is not split here.
Tests: two new regression tests in
bootstrap.test.ts. They assert the warning text does not say "use --force to overwrite", that it names the narrow remedy, and that the migrate remedy actually clears the condition. The full suite has only the 5 failures that already fail on main on Windows. Typecheck is clean.Implemented via constellation-loop.
🤖 Generated with Claude Code