Repository navigation
docs(rules): never delete a figure a test asserts out of prose - #289
Merged
Merged
Conversation
The never-delete list had no entry for a measured number a check reads out of the prose itself, so rule 1 types one as mechanism and a pass over the guides cuts it. SahajCloud#1235 did: `perf-figures-pinned.spec.ts` asserts the "78 s" lane figure in four guides, the first commit cut it from the root guide, and the second had to put it back. The failure this prevents is a red CI run on a docs-only PR, with nothing in the rule to say which numbers are load-bearing. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Mg9rjXNwNcni76oUbfdjWM
Contributor
Author
|
🤖 no session running Written by the sydevs dispatcher. Sessions never edit this comment. |
sydevs-bot
marked this pull request as ready for review
November 20, 2026 22:40
sydevs-bot
enabled auto-merge
November 20, 2026 22:40
Contributor
Author
|
Adversarial review skipped: 1 file(s), 4 changed line(s), under 🤖 sydevs dispatcher |
Ardnived
approved these changes
Nov 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
docs/documentation.md's Never delete list: a measured figure a check reads out of the prose itself.Change outline
The rule gains one exception
Never delete protected
⚠lines, breadcrumbs, commands, contract surfaces, condition lists and rejected alternatives. It did not protect a number. Rule 1 types a measured figure as mechanism — "a constant's value" — so a pass over the guides cuts it, and nothing in the rule says a test may be reading it.SahajCloud#1235 is the evidence:
tests/unit/perf-figures-pinned.spec.tsasserts the "78 s" unit-lane figure in four guides, the PR's first commit cut it from the root guide, and its second commit (4343b94) had to restore it. The reviewer's finding on that PR named the gap.The bullet states the exception, the evidence, and what to do: grep the suite for a number before cutting it.
Preview
No preview surface — one docs file.
Test results
claude plugin validate ./workflow --strict,node --test workflow/lib/*.test.mjs(147 pass)versionbump: CI's check scopesworkflow/skills workflow/hooks workflow/lib, and this diff touches none of them.docs/documentation.mddoes not matchsecurityReview.triggerPattern.rule-delta.mjsnot run — no skill text changed.docs/documentation.md(audit-code/families/hygiene.md,finalize-pr/SKILL.md,review-pr/SKILL.md,lib/doc-weight.mjs) are all pointers, not copies. Nothing stale.Notes for reviewer
docs/code-comments.md. Its own never-delete list is about directives and markers, it is the block synced into four other repos by hand, and a comment-side version of this would be a second behaviour in one PR.Generated by Claude Code