Bug
charter context outputs:
- **Package**: charter v0.10.0
But the actual CLI version is 0.16.0 (charter --version confirms this). The brief is reading version from the root package.json (workspace root, which is at 0.10.0) rather than from packages/cli/package.json (the published CLI package at 0.16.0).
Reproduction
cd charter
charter context
# → Package: charter v0.10.0
charter --version
# → charter v0.16.0
Fix
When reading version for the brief, prefer the closest package.json that contains a matching name field (@stackbilt/cli) over the root package.json. Or, if charter knows its own version at compile time (via __VERSION__ constant), use that.
Impact
Low severity, but it creates confusion for agents and humans reading the brief — the version in the brief doesn't match what's installed.
Bug
charter contextoutputs:But the actual CLI version is
0.16.0(charter --versionconfirms this). The brief is readingversionfrom the rootpackage.json(workspace root, which is at0.10.0) rather than frompackages/cli/package.json(the published CLI package at0.16.0).Reproduction
Fix
When reading version for the brief, prefer the closest
package.jsonthat contains a matchingnamefield (@stackbilt/cli) over the rootpackage.json. Or, if charter knows its own version at compile time (via__VERSION__constant), use that.Impact
Low severity, but it creates confusion for agents and humans reading the brief — the version in the brief doesn't match what's installed.