Commit 168720d
authored
docs(contexts): prevent hard-wrapped GitHub prose (#113)
## Summary
Add a canonical source-format contract for GitHub Issue, Pull Request,
Discussion, and comment bodies so future contributors and agents do not
hard-wrap remote prose at 80 columns.
Route the contract through `AGENTS.md`, `CLAUDE.md`, both
`quantmind-dev` skill copies, the pull-request workflow, the
development-context index, label guidance, and the Issue/PR templates.
Add regression coverage for every route, template marker, and mirrored
skill reference.
The root cause was generation-side prose wrapping, not Ruff or another
repository lint rule. This keeps Python's 80-column configuration and
repository Markdown formatting unchanged while applying no-wrap
normalization only to GitHub bodies.
## Related Issue
No issue applies; this is a focused contributor-governance fix requested
during Issue maintenance.
## Verification
- `python -m pytest --no-cov -q tests/test_contexts.py` — 6 passed, 50
subtests passed.
- `bash scripts/verify.sh` — Ruff, BasedPyright, 5 import contracts, and
292 tests passed; total coverage 88.55%.
- Commit and pre-push hooks passed without bypassing verification.
## Checklist
- [x] The title uses English Conventional Commit format: `type(scope):
summary`.
- [x] The related issue or design discussion is linked when applicable.
- [x] `bash scripts/verify.sh` passes.
- [x] Every applicable live-network component smoke test passes, or this
PR states why none applies.
- [x] Public behavior has focused tests, an example, and documentation
where applicable.
- [x] The PR is complete, small, and contains no unrelated changes.
No live-network component or runtime public behavior changes; live smoke
tests and a usage example are not applicable.1 parent b761d81 commit 168720d
13 files changed
Lines changed: 145 additions & 7 deletions
File tree
- .agents/skills/quantmind-dev
- references
- .claude/skills/quantmind-dev
- references
- .github
- ISSUE_TEMPLATE
- contexts/dev
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
21 | 24 | | |
22 | 25 | | |
23 | 26 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
38 | 41 | | |
39 | 42 | | |
40 | 43 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
21 | 24 | | |
22 | 25 | | |
23 | 26 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
38 | 41 | | |
39 | 42 | | |
40 | 43 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
9 | 11 | | |
10 | 12 | | |
11 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
9 | 11 | | |
10 | 12 | | |
11 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
1 | 3 | | |
2 | 4 | | |
3 | 5 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
92 | 95 | | |
93 | 96 | | |
94 | 97 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
93 | 96 | | |
94 | 97 | | |
95 | 98 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
0 commit comments