Skip to content

Three star design documents describe code that ships here and is documented nowhere #937

Closed

Description

@David-Noble-at-work

Step 1 of noblefactor-ops#228, lane 19 of
noblefactor-ops#217 — the last lane of that
schedule. Upstream first: this repository receives, then noblefactor-ops deletes.

Why anything moves

star was a product of noblefactor-ops until March 2026. Its code came here; its design documents did
not. That repository's README kept them deliberately, as "the record of how it came to be".

An audit on 2026-09-23 found that sentence covers three different things, not one. Some of those
documents are records of retired code. Some are the only written design of code that ships here.

Document Describes State here
doc-comment-styling.md (38 KB) The goast doc-comment styler Live: cmd/star/provider/goast/{production,fuzzy,slotassign}.go, and the comment_schemas in LintGoStyle/extension.yaml carry its exact production/consumes/condition/prefix/split/slots fields. Undocumented here. It also holds an unexecuted "Porting to devlore-cli" section: astrewrite.go:20-147 still contains the reflection it says the port deletes
star-source-analysis-api.md (6.9 KB) Source capture, index, stats, complexity, analysis Live as five providers — starcode, starindex, starstats, starcomplexity, staranalysis — none of which appear in 3.5-provider-catalog.md, this repository's self-declared "index of record for every provider". Its data shapes still match field for field
star-file-tree-walking.md (12.6 KB) A gitignore-aware native Go tree walker Live: pkg/gitignore/tracker.go matches its ignore stack verbatim. The WASM-vs-native tradeoff and the go-git / no-shell-out / no-parallel-walk decisions exist nowhere here. Its Starlark API section is obsolete — WalkTree is a fold returning a recovery receipt, and file.tracker() does not exist

Work

  1. Receive the three documents into docs/architecture/, each with a note saying what is as-is
    and what is already superseded. refactor(provider): template/manifest providers, delete Operation enum (Phase 2B) #130 deleted noblefactor-ops' Starlark with the 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.
  2. Salvage two sections that have no counterpart here:
    • "The Shape of the Tree" from that repository's star-extensions.md into ours — the ruling
      that star commands are star <service> <resource> <verb>, and that a service token names a
      service or product, never a tool
      (gh yes, shellcheck no). Grepped for across all of docs/:
      no hits. Our 10-command-line-interface.md §3 states only the two-token <binary> <noun> <verb>
      rule for writ and lore.
    • Two tables from its star-configuration.md into our configuration.md: the as-is field-type
      reference and the config.sync source-to-generated mapping. The model and rationale are already
      here; those two are not. Type names need updating — ConfigSpec is config.Spec now.
  3. Register them in docs/architecture/index.md, closing the two entries §9 lists as "(planned)"
    with no target file.
  4. Add the five star providers to 3.5-provider-catalog.md, which claims to be the index of
    record and lists framework providers only.
  5. Repoint the six back-references into noblefactor-ops, two of which are absolute
    github.com/NobleFactor/noblefactor-ops/blob/develop/… URLs in docs/plans/move-star-to-devlore-cli.md:248-249
    and will 404 once step 2 of refactor(registry): Extract registry.Transport interface #228 runs.

Not in scope

star-goast-linter.md (a retired participle implementation — participle is absent from go.mod),
star-configuration.md and star-extensions.md as whole documents (superseded here; only the
sections above are salvaged), and star-wasm-receivers.md, already deleted in noblefactor-ops#230
because no repository holds the subsystem it describes.

Deleting anything in noblefactor-ops is step 2, and belongs to #228.

Design: docs/architecture/star-extensions.md — where "The Shape of the Tree" lands
Design: docs/architecture/configuration.md — where the two tables land
Design: docs/architecture/3.5-provider-catalog.md — the index of record the five providers are missing from

Plan and design documents

Kind Document
Plan docs/plans/doc/937-three-star-design-documents.md
Design noblefactor-ops#228
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions