Apply the two-line comment cap to YAML and KDL headers #1398
No reviewers
Labels
No labels
burndown-2026-06
burndown-2026-08
autonomy
async-consult
autonomy
epic
autonomy
headless
autonomy
live-collab
coherence-core
priority
P0
priority
P1
priority
P2
priority
P3
priority
P4
qa-fixture
role/advocate
role/director
role/exec
role/frontend
role/gamedev
role/human
role/platform
role/qa
role/science
role/sysadmin
state
ambient
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
coilyco-flight-deck/agentic-os!1398
Loading…
Reference in a new issue
No description provided.
Delete branch "aos/claude/ee98-headercap"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
header_capshipped off, soMAX_CONTIGUOUS_COMMENT_LINESnever applied to a YAML file in any catalog repo. For YAML the top block is also the only legal comment position, so the two rules composed into "unlimited prose, as long as it is at the top" - deploy carried 415 comment lines across three values files and passed cleanly every time.The dial now defaults on. A repo opts back out with
header_cap = false.The 18 files here, and where their ~155 lines went
Nothing is cut.
.agents/skills/tooling-aosguard/references/guardfile-headers.md, which takes no size cap. This is why #1303's move mattered first:redis.kdlalone carried a 21-line header on why writes are absent and auth never reaches argv..ward/ward.yaml,docker/dev-base/fleet-precommit-hooks.yamltodocs/build-file-headers.md, using one of the four slots #1303 freed. docs/ is 37 of 40.Each file keeps a one-sentence identity line plus a pointer. I hand-wrote nine of those summaries because sentence-splitting truncated them mid-clause.
Verified, not assumed
The hook caught my own 3-line comment in the change that turns it on, twice, which is the dogfooding working. Separately, a tracked 4-line-header probe:
760 tests pass, full pre-commit suite green.
Fleet note
This is a behavior change for every catalog repo on the next pin bump. deploy's headers were already relocated in
d53770b; other repos will fail loudly on their next run, which is the point - the fix is to move the prose to docs and leave a pointer.Closes #1119