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
bootstrap: phases 6/7 collect warnings without printing them; absoluteAiDirArg misses Windows paths on POSIX #307
Raised during constellation-loop review of PR #304 (issue #298).
1. Phases 6 and 7 collect warnings but never print them
PR #304 fixed this for the setup phase: warnings were pushed onto the result but only phase 3 looped over them to print, so setup-phase warnings reached text-mode users solely as a count in Bootstrap complete. N warnings. The message existed only under --format json.
The same gap remains in phases 6 and 7. Any warning raised there is invisible to anyone running plain charter bootstrap.
This matters beyond tidiness: a warning nobody reads is a warning nobody can act on. PR #304 found a case where invisible warning text had been advising a destructive bootstrap --force (see #305), unnoticed precisely because it never printed.
Suggested fix: mirror the phase 3 print loop (bootstrap.ts:155-158) in the remaining phases, or better, hoist the loop so every phase's warnings print by construction and a new phase cannot reintroduce the gap.
2. absoluteAiDirArg misses Windows paths on POSIX
The helper added in PR #304 detects an absolute --ai-dir in an existing .mcp.json so it can warn about a stale machine-specific path. On POSIX it will not recognise a Windows-shaped path (C:\... or a UNC path).
That is exactly the cross-platform case #298 arose from — the reported .mcp.json carried a WSL /mnt/c/... path, and a config authored on native Windows and read on Linux (CI, containers, a colleague's checkout) is the same class of problem. Detection should cover Windows drive-letter and UNC forms regardless of the host platform.
Both identified during review of PR #304; deliberately not fixed there to keep that bugfix scoped.
Activity
fix(bootstrap): claim only the warnings a phase actually drew