Repository navigation
docs: the stdlib sourcing plan moves to docs/completed - #2632
Merged
Merged
Conversation
…ce follows The plan is complete against its own gates (Eric, 2026-10-25: move it). The 31 references in docs, build, lib and tools comments point at the new path; the proposals index drops it; the inventory's relative link, which already pointed at a sibling that never existed, points at the archive.
ehartford
marked this pull request as ready for review
October 25, 2026 16:15
ehartford
added a commit
that referenced
this pull request
Oct 25, 2026
… name (doc-path-check); the battery skips sources already green (#2633) * Source cites a document by its file name, never its path; doc-path-check refuses a path Moving one proposal to docs/completed changed 31 source files (#2632) because source spelled the document's directory, and directories are what move. Every `docs/…md` path in src, build, lib, tools, rt and test (310 sites: comments, compiler diagnostics, the corpus shapes units' header text, test comments; 17 still pointed at docs/proposals after #2632, several at docs/mut.md, which no longer exists) is now the file name alone. `doc-path-check`, in the gate's fixed list, refuses a path outside the files the program itself reads or writes: with_for_ai.md (the init templates and the AGENTS/CLAUDE agreement check read it), the bundle-root line build/corpus.w writes into every promoted corpus (it changes only with a re-promotion, D112), the corpora themselves, tools/docs_restructure.w's move table and the green-identity test's path data. behav_std_os asserts a file that is not a document. The rule is in CLAUDE.md's editing protocol. * The battery exits GREEN without running when the committed sources already have a published green A docs-only change has the same inputs as its parent (the green is keyed on the committed tree without docs/ and top-level *.md, D49), so a battery over it has nothing to bless; #2632 ran one anyway. tools/battery.w now asks `:sources-green` first (the seed's digest and the full HEAD as keyed inputs, so a cached answer is never another commit's; it builds nothing): on a green it writes GREEN with the recording commit to status.txt and exits. The lookup is one function, ret_green_commit, behind :install-user, require-last-green and sources-green. * doc-path-check: the ABI sources keep their citations; their bytes are every bundle's key The battery found it: rewriting three comments in src/FnAbi.w changed the ABI hash (abi-hash-check), which keys every .wo bundle on every host. FnAbi.w is restored to main's bytes and the ABI's two sources are exempt from doc-path-check; their citations change only with the ABI itself. --------- Co-authored-by: Eric Hartford <[email protected]>
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.
docs/proposals/stdlib_sourcing_plan.md->docs/completed/stdlib_sourcing_plan.md(complete against its own gates; Eric asked for the move). Every reference follows (31 sites: docs, build/*.w, lib/std comments, tools/drop_audit.w); the proposals index drops the entry; the inventory's relative link is repaired. Comment-only changes outside docs, so the battery runs. spec-inventory-check and the census green.