Bring 96 comment blocks under the two-line discipline #89
Labels
No labels
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/ai
role/creator
role/design
role/director
role/engineer
role/exec
role/human
role/ops
role/qa
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
coilyco-flight-deck/agent-proxy#89
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Exempted at pre-commit adoption in #87 so the suite could land green. The exemption is a listed
excludesinpyproject.tomlrather than a disabled hook, so every file not on the list is governed now, including all new ones. Each file drops off as it is cleaned.Where the violations are
96 total. The rule is that contiguous comment blocks stay at 2 lines, with longer explanations moved into
docs/.app/config.py- 22.ward/ward.yaml- 21app/models.py- 16app/resilience.py- 14app/main.py- 5tests/test_reliability.py- 4app/analysis.py,scripts/probe_endpoints.sh,tests/test_analysis.py- 3 eachtests/test_api.py- 2app/obs.py,tests/test_upstream.py,tests/test_validation.py- 1 eachWhy it wants care rather than speed
These are not decorative comments. The concentration in
app/config.py,app/models.py, andapp/resilience.pyis where this service explains its context-budget arithmetic, route resolution, and fallback and circuit-breaker policy. That reasoning is the reason the reliability behavior is defensible, and #41 has not yet demonstrated LiteLLM parity, so it is still load-bearing.The hook's own instruction is to move the explanation into
docs/, not to delete it. Deleting would be the fast reading of a green build and the wrong one..ward/ward.yamlis the easiest starting point. Its 21 violations are a header block explaining the schema migration and the absence of a Makefile, which belongs in a doc thatAGENTS.mdalready has a natural place to link.Note
agentic-oshit this same file inaos-precommit-v0.16.0, which dropped the parked-config-block exclusion and brought its own.ward/ward.yamlunder discipline. That change is a usable worked example for this one.