aidd-lint hard-wrap cop joins code lines inside a nested fence #563
Labels
No labels
P0
P1
P2
P3
bug
create
delete
enhancement
filed-by/agent
filed-by/user
frozen
lint-rule
needs-info
needs-triage
next
plugin/cc-architect
plugin/os
plugin/os-adr
plugin/os-aidd-lint
plugin/os-backlog
plugin/os-context
plugin/os-doc-hygiene
plugin/os-sdlc
plugin/os-vault
project/cc-os
ready-for-agent
ready-for-human
recurring
review
update
waiting
wayfinder:grilling
wayfinder:map
wayfinder:map
wayfinder:research
wayfinder:task
wayfinder:task
wontfix
worklist/deviations
worklist/lint-rule
worklist/new-implement-build
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
jared/cc-os#563
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?
Context
The os-aidd-lint hard-wrap cop does not track fence depth. It should skip lines inside code fences of any depth, but currently treats code inside nested fences as prose.
Observed
plugins/os-aidd-lint/bin/aidd-lint --fix plugins/os-sdlc/agents/responsibility-auditor.mdjoined three code lines into one line, breaking the Ruby sketch inside a nested fence.After manual restoration, the plain check still reports:
plugins/os-sdlc/agents/responsibility-auditor.md:78: hard-wrap: paragraph (lines 78-80) is hard-wrapped.Reproduce
Expected
The cop should track fence depth. Lines inside an inner fence (of any backtick count) must be skipped by both check and autofix.
Illustration