agent-compose: size-budget validator #138

Closed
opened 2026-06-03 22:18:35 +00:00 by coilysiren · 1 comment
Owner

🤖 Filed by Claude Code on Kai's behalf.

Parent

#134

What to build

A pre-commit hook that caps the size of AGENTS.COMPOSE.md source files and enforces a budget on the composed output, mirroring the existing documentation-layout Markdown size caps. Register it in .pre-commit-hooks.yaml and the rollout list.

Acceptance criteria

  • Hook caps per-source AGENTS.COMPOSE.md size
  • Hook enforces a composed-output size budget
  • Registered in .pre-commit-hooks.yaml + consumer rollout list
  • Per-repo opt-out via the standard agentic_os.config mechanism
  • Tests for under/over budget

Blocked by

🤖 Filed by Claude Code on Kai's behalf.

> 🤖 Filed by Claude Code on Kai's behalf. ## Parent #134 ## What to build A pre-commit hook that caps the size of `AGENTS.COMPOSE.md` source files and enforces a budget on the composed output, mirroring the existing `documentation-layout` Markdown size caps. Register it in `.pre-commit-hooks.yaml` and the rollout list. ## Acceptance criteria - [ ] Hook caps per-source `AGENTS.COMPOSE.md` size - [ ] Hook enforces a composed-output size budget - [ ] Registered in `.pre-commit-hooks.yaml` + consumer rollout list - [ ] Per-repo opt-out via the standard `agentic_os.config` mechanism - [ ] Tests for under/over budget ## Blocked by - Blocked by #136 > 🤖 Filed by Claude Code on Kai's behalf.
coilysiren changed title from agent-meld: size-budget validator to agent-compose: size-budget validator 2026-06-03 22:31:37 +00:00
Author
Owner

🤖 Filed by Claude Code on Kai's behalf.

Size budget landed in 5ecb51d. Caps each AGENTS.COMPOSE.md and the repo aggregate (the new constraint over documentation-layout's per-file cap); both configurable. Registered + added to DEFAULT_HOOK_IDS. 6 tests.

🤖 Filed by Claude Code on Kai's behalf.

> 🤖 Filed by Claude Code on Kai's behalf. Size budget landed in `5ecb51d`. Caps each AGENTS.COMPOSE.md and the repo aggregate (the new constraint over documentation-layout's per-file cap); both configurable. Registered + added to DEFAULT_HOOK_IDS. 6 tests. > 🤖 Filed by Claude Code on Kai's behalf.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
coilyco-flight-deck/agentic-os#138
No description provided.