code-comments: allow a contiguous comment header block at the top of every file #198
Labels
No labels
burndown-2026-06
coherence-core
consult
headless
interactive
P0
P1
P2
P3
P4
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#198
Loading…
Add table
Add a link
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?
The code-comments hook (
agentic_os/check_code_comments.py) previously allowedYAML only a single comment on line 1, and code comments anywhere up to two
contiguous lines with no header allowance.
Relax both into one unified rule:
content line, of any length (each line still capped at 90 chars). Shebang and
encoding lines count as preamble, so the header block may follow them.
allows none (a key-sorter would drift any later comment off its target).
This lets license and teaching headers sit at the top of any file while keeping
inline comments short and non-contiguous.
Follow-up to #159 / #160.