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
adf context --files: report live ceiling headroom for each file #443
area:adfADF parser/bundler/patcher packageenhancementNew feature or requestepic:preflightPreflight answer: make every AI agent want Charter's governancepriority:p1Should ship this cycletype:featureNew capability or extension point
adf evidence --auto-measure already knows each governed file's live line count and ceiling. It's only shown at commit time, after the code is written. At pinned 5412100, adf_migrate_loc is 792/792, so any added line fails the gate, and nothing tells the agent before it edits.
Measured on this repo's last 100 non-merge commits: 55 touched package source, and 18 of those touched a file with a METRICS ceiling.
Proposed (additive JSON)
For each --files entry that maps to a manifest METRICS source:
Use exactly the same counting convention as adf evidence (trailing newline included), so the number the agent sees is the number CI enforces.
Acceptance
adf context --files packages/cli/src/commands/adf-migrate.ts --format json returns headroom: 0, and the value equals adf evidence --auto-measure's for that metric.
Files with no metric get no ceilings entry; existing keys are unchanged.
Starting points
Manifest METRICS map, auto-measure in adf-evidence.ts.
area:adfADF parser/bundler/patcher packageenhancementNew feature or requestepic:preflightPreflight answer: make every AI agent want Charter's governancepriority:p1Should ship this cycletype:featureNew capability or extension point
Activity
docs(changelog): add late 3.0.0 entries
Merge origin/feat/issue-442-path-token-routing (with origin/main) int…
feat(cli): preflight answer, first slice (#447) (#455)
docs(changelog): add late 3.0.0 entries (#457)