Repository navigation
doc(architecture): the star design record arrives where the code is - #942
Merged
David-Noble-at-work merged 5 commits intoSep 24, 2026
Merged
Conversation
added 5 commits
September 24, 2026 08:05
Step 1 of noblefactor-ops#228, lane 19 of noblefactor-ops#217 -- the last lane of that schedule. Three documents in noblefactor-ops are the only written design of code that ships here: the goast doc-comment styler, five star analysis providers absent from this repository's own provider catalog, and pkg/gitignore's ignore stack. Ruled 2026-09-23: the numbered series, "as is our pattern for design documents (they sort in read order that way)." Section 9, Star, turns out to be the only section whose documents are not numbered -- 1 through 8 and 10 all are -- so the section is numbered here too, not only its new arrivals. star-extensions.md becomes 9-star-extensions.md and the three arrive as 9.1, 9.2 and 9.3. The plan also corrects #228's scope. It says this step closes the index's two "(planned)" gaps; neither is a document that moves, and the WASM one can never be filled -- noblefactor-ops#230 deleted it because no repository holds that subsystem. The index gains three entries and loses two promises.
Section 9, Star, was the only section whose documents were not numbered --
1 through 8 and 10 all are. star-extensions.md becomes 9-star-extensions.md and
the three arrivals are numbered with it:
9.1-doc-comment-styling.md the goast styler behind star lint go-style
9.2-source-analysis.md five providers: starcode, starindex, starstats,
starcomplexity, staranalysis
9.3-file-tree-walking.md pkg/gitignore's ignore stack
Each carries a note saying what is as-is against this code and what is already
superseded. noblefactor-ops#130 deleted that repository's Starlark warning that
"a diverged second copy is how the next person builds the wrong thing"; a
document moved without that note is the same hazard in prose. 9.1's note is the
longest, because its "Porting to devlore-cli" section is an unfinished
migration and reads like instructions -- #938.
9.2 arrived wrapped in a stray ```markdown fence, opened on line 1 and closed
at EOF, so its frontmatter was never frontmatter. That is why noblefactor-ops
carried it in .github/frontmatter-exempt. Unwrapped on arrival.
Two salvages. "The Shape of the Tree" -- star <service> <resource> <verb>, a
service token names a service or product and never a tool, and a flag that
changes what a command is is a second verb -- had no counterpart here.
10-command-line-interface.md section 3 states only the two-token rule for writ
and lore. And two tables into configuration.md: the field-type strings and the
config.sync mapping, with the type names brought up to date (ConfigSpec is
config.Spec now).
index.md section 9 gains the three arrivals and loses two promises. #228 said this step closes the two "(planned)" entries; neither was a document that moved, and one could never be closed -- Star WASM Receivers described a subsystem noblefactor-ops#230 deleted the design for, because no repository holds it. Removed rather than filled. Star Configuration is not moving as a document, so its entry points at configuration.md, where its two salvaged tables now live. 3.5-provider-catalog.md calls itself "the index of record for which providers exist" and listed none of star's own. It gains goast and the five analysis providers in a table of their own: they announce the same way, but live under cmd/star/provider rather than pkg/op/provider, and that distinction is worth seeing. pkg/gitignore is named as not-a-provider with a pointer to 9.3. Six back-references repointed. Two were absolute URLs into noblefactor-ops plans that #228 deletes, so they are no longer links; one pointed at star-file-tree-walking.md, which is now 9.3 here, so it is a local link; three were prose naming documents that #228 retires, which now say so. One broken link came in with the move: 9.3 linked twice to ../guides/writing-extensions.md, a noblefactor-ops guide that does not exist here and that #228 disposes of. Every relative .md link in the seven changed architecture documents now resolves, checked.
…pped vet, lint and test all rc=0. No Go changed, so they prove nothing was broken rather than anything fixed. What was actually checked: every relative .md link in the seven changed architecture documents resolves -- which caught one the move carried in, 9.3 linking twice to ../guides/writing-extensions.md, a noblefactor-ops guide that does not exist here -- and codespell's en-GB_to_en-US dictionary over the three arrivals reports zero. Phase 5 was wrong. It said this branch closes devlore-cli#935. #935's remaining box reads "in the next noblefactor-ops pull request through", a condition no pull request in this repository can satisfy, so the claim was false and is removed from the plan and from the pull request body before either shipped. The shape is worth more than the tick: a plan whose last phase lands in another repository cannot close itself. #234 and #935 are the same trap pointing in opposite directions, written the same day by the same hand. #234 closes in noblefactor-ops#228 step 2, and #935 in whatever devlore-cli pull request follows it.
…-design-documents
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
Step 1 of NobleFactor/noblefactor-engprod#228, lane 19 of noblefactor-ops#217 -- the last lane of that schedule.
Upstream first: this repository receives, then noblefactor-ops deletes.
star was a product of noblefactor-ops until March 2026. Its code came here and its design documents did not; that
repository's README kept them as "the record of how it came to be". An audit on 2026-09-23 found that sentence
covers three different things, and three of those documents are the only written design of code that ships
here.
docs/plans/doc/937-three-star-design-documents.mdSection 9 is numbered now
Ruled 2026-09-23: the numbered series, "as is our pattern for design documents (they sort in read order that
way)." Section 9, Star, turned out to be the only section whose documents were not numbered -- 1 through 8
and 10 all are. So the section is numbered here too, not only its arrivals:
9-star-extensions.mdstar-extensions.md, renamed9.1-doc-comment-styling.mdgoaststyler behindstar lint go-style9.2-source-analysis.mdstarcode,starindex,starstats,starcomplexity,staranalysis9.3-file-tree-walking.mdpkg/gitignore's layered ignore stackEach arrival says what it is
noblefactor-ops#130 deleted that repository's Starlark warning that "a diverged second copy is how the next
person builds the wrong thing". A document moved without that warning is the same hazard in prose, so each
carries a note: what is as-is against this code, and what is already superseded.
9.1's note is the longest, because its "Porting to devlore-cli" section reads like instructions and is anunfinished migration. Five items it lists as porting as-is are absent --
resizeProduction,regionProduction,BoxStyle, the production registry andMultiCommentProduction-- and the ~90 lines of reflection it says theport deletes are still in
astrewrite.go:20-64. Tracked as #938. The note says to read that section as history.9.2arrived malformed. The entire document was wrapped in a stray```markdownfence, opened online 1 and closed at EOF, so its frontmatter was never frontmatter -- which is why noblefactor-ops carried it in
.github/frontmatter-exempt. Unwrapped on arrival.Two salvages, and two corrections to the indices
"The Shape of the Tree" into
9-star-extensions.md:star <service> <resource> <verb>; a service tokennames a service or product and never a tool (
ghyes,shellcheckno); star elides its own token; and a flagthat changes what a command is is a second verb. Grepped for across all of
docs/before moving it -- no hits.10-command-line-interface.mdsection 3 states only the two-token rule for writ and lore.Two tables from
star-configuration.mdintoconfiguration.md: the field-type strings and theconfig.syncsource-to-generated mapping. The model and rationale were already here; those two were not. Type names brought
current --
ConfigSpecisconfig.Spec,ConfigElementisconfig.Element.#228's scope was wrong on one point. It says this step closes the index's two "(planned)" gaps. Neither is a
document that moves, and one can never be closed: Star WASM Receivers described a subsystem noblefactor-ops#230
deleted the design for, because no repository holds it -- no
wazero, no.wasm, andmove-star-to-devlore-cli.md:35still records
internal/wasm/as "TBD -- not yet moved". It is removed, not filled. Star Configuration is notmoving as a document, so its entry points at
configuration.md. The index gains three entries and loses twopromises.
3.5-provider-catalog.mdcalls itself "the index of record for which providers exist" and listed none ofstar's own. It gains
goastand the five analysis providers in a table of their own -- they announce identicallybut live under
cmd/star/providerrather thanpkg/op/provider, and that is worth seeing.pkg/gitignoreisnamed as not-a-provider, pointing at
9.3.Test plan
make vet,make lint,make test-- all rc=0. No Go changed, so these prove nothing was broken ratherthan anything was fixed
.mdlink in the seven changed architecture documents resolves, checked by resolvingeach target against the filesystem. It caught one the move carried in:
9.3linked twice to../guides/writing-extensions.md, a noblefactor-ops guide that does not exist here and that refactor(registry): Extract registry.Transport interface #228 disposes ofen-GB_to_en-USdictionary over the three arrivals and the four edited documents: zero hits.They come from a repository swept on 2026-09-23, and this confirms it rather than assuming it
github.com/NobleFactor/noblefactor-ops/blob/develop/...URLs into plans refactor(registry): Extract registry.Transport interface #228 deletes, so they are no longer links; one pointed at
star-file-tree-walking.md, whichis
9.3here now; three are prose naming documents refactor(registry): Extract registry.Transport interface #228 retires, which now say soWhat follows
noblefactor-ops#228 step 2 deletes what is left there and rewrites its README. That pull request closes
noblefactor-ops#217, and carries noblefactor-ops#234's plan, which reads
activebehind a closed issuebecause its last phase landed in this repository.
#935 does not close here, though an earlier draft of this claimed it would. Its remaining box reads "in the next
noblefactor-ops pull request through", a condition no pull request in this repository can meet. It closes after
noblefactor-ops#228 step 2, in whatever devlore-cli pull request follows. #234 and #935 are the same trap pointing
in opposite directions: a plan whose last phase lands in another repository cannot close itself.
Plan: docs/plans/doc/937-three-star-design-documents.md
Resolves #937
Time
Computed by the algorithm of noblefactor-ops#188 at merge.