Skip to content

chore: remove private-spec section references from code comments#20

Merged
jayeshy14 merged 1 commit into
mainfrom
chore/remove-spec-references
Jul 4, 2026
Merged

chore: remove private-spec section references from code comments#20
jayeshy14 merged 1 commit into
mainfrom
chore/remove-spec-references

Conversation

@jayeshy14

Copy link
Copy Markdown
Owner

The design spec is a private document that is never pushed publicly, so the (Section N), (spec 6.3), and Slice N references scattered through the code point at something no external reader can see, and they hint at an unshared doc.

This strips all 20 of them across src/ and test/, keeping the explanatory prose that carries the actual rationale. Where a pointer was doing real work in a sentence, it is replaced with plain language, for example "the quarantine case deferred to Section 4" becomes "the quarantine case handled by the safety layer," and the test @notice headers that read "Section 4 Slice 3:" keep their description without the private numbering.

Comments only, no logic change. Same scrub as the earlier cross-reference cleanup, applied to everything added since. 166 tests green, forge fmt clean.

The spec is a private doc that is never pushed, so its section and build-slice
numbers are meaningless to a public reader and hint at an unshared document.
Strip every '(Section N)', '(spec 6.3)', and 'Slice N' reference across src and
test, keeping the explanatory prose. Where a pointer was doing real work it is
replaced with plain language (e.g. 'deferred to Section 4' becomes 'handled by
the safety layer'). Comments only, no logic change. 166 tests green, fmt clean.
@jayeshy14 jayeshy14 merged commit 42bb004 into main Jul 4, 2026
3 checks passed
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.

1 participant