docs(stdlib): dedup module entries + harden the #393 gate#441
Merged
Conversation
follow-up) STDLIB.md's Module Index was assembled from two overlapping regions, so four modules shipped with two headings each: lib/bcd, lib/harness, lib/observer_slots (byte-identical second copies) and lib/datetime (two DIFFERENT incomplete halves — one civil-math, one clock/timer, neither complete). Found by a document review. Deleted the three exact-duplicate blocks; merged datetime into one complete entry (clock/timer table + civil-math). Index headings 59 -> 55. Root cause: the #393 discoverability gate (tools/stdlib_index_check.sh) checked each module's heading with `grep -q` (presence only), so duplicates passed CI. Now it asserts no `### lib/<name>` heading appears more than once — verified it fires on an injected duplicate and is clean on the deduped file.
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.
A document review found four duplicate module entries in STDLIB.md's Module Index (assembled from two overlapping regions):
lib/bcd,lib/harness,lib/observer_slots(byte-identical second copies) andlib/datetime(two different incomplete halves — civil-math vs clock/timer, neither complete).grep -q(presence), so dups passed CI. It now asserts each### lib/<name>heading appears at most once — verified it fires on an injected dup and is clean on the deduped file.🤖 Generated with Claude Code