Repository navigation
Unwrap the Runbook to One Paragraph Per Line - #1713
Conversation
The paragraph ran from 87 to 124 columns and broke "Re-run the loop after every fix push" across two lines, leaving "push." opening a line under an eight-column "finding." The split predates the change that rewrote this paragraph, and that change rewrapped every line around it and left it, which is what made it read as an accidental hard wrap rather than as the original spacing. Reflowed to the 87 to 96 columns the neighbouring paragraphs use. The word sequence is unchanged, asserted rather than eyeballed: the file's `split()` is identical before and after and the character count is the same, one newline having become a space. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configurationConfiguration used: Repository: ptr727/ProjectTemplate/.coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
The updated paragraph remains hard-wrapped, which conflicts with the repo’s “one logical paragraph per line” Markdown convention.
Get a fresh assessment by requesting another Copilot review.
Review effort: Lite
Findings: 1
Open (1)
What changed in this PR
This PR adjusts the formatting of the “formal review with no findings” coverage paragraph in .github/copilot-instructions.md to remove an accidental-looking hard wrap and make the line wrapping consistent within that block.
Changes:
- Reflowed the coverage paragraph so “Re-run the loop after every fix push.” is no longer split across lines.
- Normalized the wrapping of that paragraph to a consistent target width.
| File | Description |
|---|---|
.github/copilot-instructions.md |
Reflows the coverage paragraph to avoid an outlier hard wrap and normalize wrapping. |
💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
The reflow this replaces made the file tidier while keeping it non-conformant. `comment-and-doc-style` states the rule plainly, one logical paragraph per line with no hard-wrap line-length limit, and `GOVERNANCE.md`, `AGENTS.md`, `CODESTYLE.md`, `README.md` and `WORKFLOW.md` all follow it, running to between 980 and 4096 columns. This file was the only one hard-wrapped, and the orphaned break that raised the finding was a symptom of that rather than the defect. Fixed as the class rather than the paragraph, since fifteen blocks were wrapped and leaving fourteen of them means the next edit to any one meets this again. The file goes from 113 lines to 77, and from 756 columns to 989, which sits inside the band the sibling documents occupy. The word sequence is unchanged, asserted rather than eyeballed, and asserted twice: the file's `split()` is identical before and after, and the same holds per paragraph, so no word crossed a blank-line boundary either. Joining lines cannot split a substring, so the raw-text assertions recorded separately are unaffected. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
The unwrap stripped the leading whitespace from the first line of every block, so the eighteen `Disproved by`, `Proved against` and `Delete when` sub-bullets lost their two-space indent and six three-item sub-lists became siblings of the claim they belong to. That is a rendering change rather than a whitespace one, and the rule being applied asks only that a line not be hard-wrapped. The sibling documents show the two coexisting, `CODESTYLE.md` and `README.md` each keeping a nested item on one long line at indent two. It matters past rendering here, because the `copilot-instructions-keeper` Skill carries this section's shape while leaving its entries to each repository, so the nesting is part of what a downstream copy reproduces. Flattened, a claim and its three proof lines read as peers in the raw text the reviewer reads. The indent of an item's own first line is kept and only continuation lines are folded. Asserted by a third postcondition beside the two the previous commit carried: every list item, with its indent and its folded text, compares equal to the merge base. That assertion is what the previous commit lacked, and the two it had could not see indentation at all. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
The PR title/description currently describes a fixed-width reflow (column 96), which does not match the actual change (unwrapped single-line paragraphs).
Get a fresh assessment by requesting another Copilot review.
Review effort: Lite
Findings: 1
Open (1)
Resolved since last review (1)
… Unwrapped Runbook to Main (#1712) Promotes `develop` to `main`, carrying two changes. ## #1709, the `ccr-overview-v2` reader **The coverage statement now carries forward, bounded on the change set.** A round in that format states no file coverage five times in ten, so exit 45 fired on a state no re-request reliably clears. A round that states none now carries the newest round that states some, and only where the pull request changes the same set of files at both commits, which is the condition measured on this fleet for the reviewer's own marker carrying. It refuses where either compare cannot be read, because a bound that falls open when it cannot be measured is no bound. Exit 45 now names three states rather than one, and its own message says which the run reached. **The per-severity findings line is summed rather than read as its first number.** A round stating two of one severity and three of another reported two findings, so `unlisted_findings` computed a shortfall of zero and a withheld finding went unreported. Summing overstates and never understates, and the named cost is that `12 findings across 4 files` sums to sixteen. An overstated shortfall prints a block a reader checks against the body and blocks no merge, where a suppressed one closes the gate over findings nobody answered. ## #1713, the runbook's line wrapping `.github/copilot-instructions.md` was the only document in the fleet that was hard-wrapped, against `comment-and-doc-style`'s "one logical paragraph per line, no hard-wrap line-length limit", which `GOVERNANCE.md`, `AGENTS.md`, `CODESTYLE.md`, `README.md` and `WORKFLOW.md` all follow. It is unwrapped: 114 lines to 77, longest line 756 columns to 989. No word changes, asserted against the merge base on the token sequence, the per-paragraph text, every list item with its indent, and the heading list. ## Review record This promotion raised one finding, an orphaned line break in the runbook, which #1713 answers and which is resolved above. On #1709, four Copilot rounds and one CodeRabbit round, ending at `coverage=full`, "Approval recommended", zero findings. CodeRabbit raised one body-only nitpick that opened no thread and it was real: two test classes overrode `setUp` without chaining, so neither installed the patch that keeps a case off the network nor the memo clear that change adds. Fixed as a class invariant rather than in the two instances. On #1713, two Copilot rounds. The first established that the fixed-width reflow was the wrong remedy, which is why the whole file is unwrapped rather than one paragraph. The second caught the pull request description still describing the reflow. Six adversarial local review passes across the two branches. Two caught defects introduced by an earlier fix on the same branch: a fail-open where the digest and the verdict each computed the coverage bound from their own network reads, and a list indent stripped by the unwrap, which flattened eighteen nested sub-bullets out of their parent claims. Closes #1692 Closes #1699 🤖 Generated with [Claude Code](https://claude.com/claude-code)

Answers the one finding on the
develop->mainpromotion #1712, which cannot take the fix on its own head.The finding, and why the first remedy was wrong
The sentence "Re-run the loop after every fix push" was split across two lines, with
push.opening a line under an eight-columnfinding.The break predates #1709, but #1709 rewrapped every line of that paragraph around it and left it, which is what turned the original spacing into something that reads as an accidental hard wrap.The first attempt here reflowed that paragraph to a consistent column width. The reviewer pointed out that this is backwards.
comment-and-doc-stylestates the rule plainly, one logical paragraph per line, no hard-wrap line-length limit, andGOVERNANCE.md,AGENTS.md,CODESTYLE.md,README.mdandWORKFLOW.mdall follow it, running from 980 to 4096 columns. This file was the only hard-wrapped document in the fleet, and the orphaned break was a symptom of that rather than the defect. Reflowing to a fixed width made the file tidier and left it non-conformant.What this does
Unwraps the whole file to one logical paragraph per line. Fixed as the class rather than the one paragraph, since fifteen blocks were wrapped and leaving fourteen means the next edit to any of them meets this finding again.
The file goes from 114 lines to 77, and its longest line from 756 columns to 989, which sits inside the band the sibling documents occupy. No column width is enforced or intended, and no line is wrapped.
A list item's own indent is structure rather than wrapping, so it is kept and only continuation lines are folded. An earlier revision of this branch stripped it, flattening the eighteen
Disproved by,Proved againstandDelete whensub-bullets out of their parent claims, which thecopilot-instructions-keeperSkill carries as part of this section's shape.No word changes, asserted rather than eyeballed
The net diff against the merge base is checked on four properties, each compared against the base:
The file is
intentfidelity inspec/files.json, so it is never hashed against downstream copies and no verbatim check can trip. Joining lines cannot split a substring, so the raw-text assertions recorded in #1714 are unaffected.Verification
Full suite green at 1605 tests,
ruff format,ruff check,mypy,prose_lint --diffat zero violations,repo_gate --check eol,spec/validate.py, andbuild_dist.py --checkall pass.🤖 Generated with Claude Code