Skip to content

docs(user/apps/coding-agents): cover indirectly generated prose in hard-wrap rule#88

Merged
emaiax merged 1 commit into
mainfrom
docs/hardwrap-indirect-generation-85
Jul 13, 2026
Merged

docs(user/apps/coding-agents): cover indirectly generated prose in hard-wrap rule#88
emaiax merged 1 commit into
mainfrom
docs/hardwrap-indirect-generation-85

Conversation

@emaiax

@emaiax emaiax commented Jul 13, 2026

Copy link
Copy Markdown
Owner

Summary

Closes #85. The hard-wrap rule in AGENTS.md already split prose from structural line breaks (#83), but it only listed prose typed directly (commit bodies, PR/issue descriptions, doc paragraphs, comments, chat responses). It didn't say whether the rule covers prose assembled indirectly by generated code — e.g. a heredoc inside a CI workflow that writes a PR body at runtime — and in practice that gap led to hard-wrapped prose shipping in a real nixpkgs PR.

Changes

Added a clause stating the rule applies even when prose is generated indirectly (script, heredoc, template, CI workflow), and that it should be judged by the rendered artifact, not by how the generating source looks in an editor.

Per the issue's note, not reviving the check-hardwrap.sh demonstration checker dropped in 764f0a9 — this is a documentation-only fix.

Test plan

  • Reviewed the diff for hard-wrap compliance in the new prose line itself

@emaiax
emaiax merged commit 3a9517b into main Jul 13, 2026
3 checks passed
@emaiax
emaiax deleted the docs/hardwrap-indirect-generation-85 branch July 13, 2026 01:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Hard-wrap rule doesn't cover prose generated indirectly (e.g. inside CI scripts/heredocs)

1 participant