Skip to content

feat(docs): README standard (ADR-0072), frostyard-readme skill and checker, baseline row B17 - #206

Merged
bketelsen merged 1 commit into
mainfrom
lucilla/readme-standard
Nov 6, 2026
Merged

bketelsen merged 1 commit into
mainfrom
lucilla/readme-standard

Conversation

@frostyard-machines

@frostyard-machines frostyard-machines commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Brian asked (2026-11-05) for one standard for every README in the suite (websites, libraries, tools and the rest), then a skill, then fixes through the weekly cleanups. frostyard-org's 187-line README, with no plain statement of what the repository is, started it.

  • ADR-0072, Write every README to one standard: a README is a front page, not a manual. Guides and references go to the docs site (ADR-0070). Internals, check lists, runbooks and history go to docs/ (ADR-0025). 10 kinds, 1 shared top block and footer, mechanical limits.
  • Spec: README: the kinds and how a repository picks one, the top block (marker, title, lead, status line, documentation line), the sections of each kind in order, what stays out and where it goes, and rules R1 to R12, each with a read-only check.
  • Skill frostyard-readme: the procedure (sort, move before you cut, write from the template, check every fact, run the checker), 10 templates (templates/<kind>.md.tmpl), the best example of each kind, and the pitfalls. Its checker scripts/check-readme.mjs runs R1 to R12, reads only, and works on a working tree or on --ref <commit>.
  • Baseline row B17, README in repository-baseline.md, with its check (the checker prints ok). AGENTS.md, the quality-loop design and the shared-skills table name it.
  • Skills sync: frostyard-readme joins defaults in .github/skills-sync.json, so the next sync sends it to every consumer.
  • Core's own README is rewritten to the org kind (278 words). test/readme-check.test.mjs holds the checker to each rule, every template, and core's README (32 tests).

Survey (origin/main, 2026-11-06)

35 active repositories the team owns: 27 frostyard, 8 bketelsen. Forks (hotedge, Logomenu, incus) and archived repositories (www-snowlinux, first-setup) are out of scope.

Best example of each kind (the rules come from these):

Kind Best example Why
tool nsl (749 words) Tagline, a short lead, features with a site link each, a 3-step start, all detail on the site
library snowkit (173) go get, a package table, links to pkg.go.dev, the design and AGENTS.md
app igloo (install part), frostnotes (81 lines) Exact Flatpak install and remove commands; a short "try it"
extension hotedge (fork) Install from extensions.gnome.org, a settings list; no frostyard-owned extension repo yet
website frostyard-org rewrite in progress (49 lines) What the site covers with live links, quick start, deploy, where to go next
image snosi (top half) Images table, download and checksum links. Its architecture section is internals
packaging bootc-debian, flatpak-index (install part) What it publishes, and the consumer's commands
service problem-intake (79 lines) Endpoints table, privacy rules, runbooks linked, not inlined
infrastructure none good fleet and lab inline inventories and history
org core (77 lines) What lives here by path

Common faults:

  1. Manuals in the README. 18 of 35 have more than 1000 words: pi-pocket-team 23,892, lab 7300, pilothouse 5872, repogen 5132, updex 4940, apt-publisher 3621. repogen has 52 ### headings, chairlift 20.
  2. No plain statement of what it is. frostyard-org (build internals first), std (no README.md at all), www-snowlinux (Starlight starter text, archived).
  3. History in place of status. Dates outside code: homewiki 25, lab 17, fleet 12, frostread 7, lodge 5.
  4. Private addresses. lab, a public repository, names 3 private IPv4 addresses.
  5. Missing pointers. 14 of 35 link AGENTS.md, 2 link SECURITY.md, and few say where the full documentation is.
  6. Runbooks inline. porter and frostread (update, roll back, after the sysexts), pilothouse (booted-VM validation).
  7. Brand faults. Emoji headings (chairlift, repogen, pi-pocket-dune).

Checker on every origin/main today (rule IDs that fail; R7 is skipped while R1 fails, so section names show up after the marker goes in):

Repository Fails
core (this branch) none: ok README.md (org, 272 words)
bootc-debian, firn, nsl, snowkit, problem-intake, agentic-template R1 R4 R5 R9 R10
frostmail, snosi, omarchy-apps + R3
lodge, frostnotes, testsuite, homewiki + R3 or R12 (dates)
clix, trimlights, frostyard-org + R11 (length)
apt-publisher, flatpak-index, igloo, intuneme, updex, truenas-mcp, homebrew-tap + R8 (###), most + R11
chairlift, lab, pilothouse, porter, repogen, frostread, fleet, pi-pocket-config, pi-pocket-dune, pi-pocket-team + R11 and R12, most + R8
std R2: no README.md

Every repository gets a B17 finding; most fixes in the short READMEs are 3 lines (marker, status, documentation) and 2 heading renames.

Design choices the survey settled:

  • Kind order (first match wins): org, image, packaging, app, extension, tool, website, service, library, infrastructure. repogen is a tool (it ships a command; ADR-0070 already treats it as a tool), not packaging. lab is infrastructure (the QA pipeline; its dashboard is what it produces), not website. The marker records the owner's choice; the spec's example table is not a rule.
  • The kind is a comment marker in the README, not a field in organization/ declarations: bketelsen repositories and unenrolled repositories have no declaration.
  • Limit in words, not lines: nsl has 749 words in 56 lines.
  • Fixed ## names with prefix match (## Install apps matches Install): synonyms cannot be checked.
  • Badges: at most 3, from CI, OpenSSF Scorecard, Go reference, codecov, latest release (the 5 READMEs with badges use CI, Scorecard and codecov).

frostyard-org rewrite (T971). Its draft in Tamalane's worktree (tamalane/readme, not a PR yet) matches the spec in shape. With a website marker, it needs 4 small changes: add **Status:** in production. and **Documentation:** [frostyard.org](https://frostyard.org), rename ## Quick start to ## Develop, and put ## Deploy before it. The checker on the draft today: R1, R4, R5, R9 (no Develop).

Risk tier

Risk tier: high (risk:high): .github/skills-sync.json matches .github/skills-sync.json ("workflow-and-permissions: the repositories that the skills sync writes to").

Why the change is safe: it adds 1 existing skill name, frostyard-readme, to defaults. It adds no repository and no group, and changes no script or workflow. The sync's own shape check accepts it (npm test covers sync-skills). The effect: the next sync PR in each of the 10 consumers adds .agents/skills/frostyard-readme/ (SKILL.md, 10 .md.tmpl files and 1 .mjs script, no Go file: managed-skills-go-free.test.mjs passes). The rest of the PR is docs, a skill, and a read-only checker with tests.

docs/tenets.md is not changed.

Docs housekeeping

  • New docs started from their category's TEMPLATE.md (ADR, spec)
  • Every new doc indexed in docs/README.md
  • Cross-links in both directions: ADR-0072 ↔ spec ↔ baseline spec ↔ skill ↔ shared-skills design ↔ quality-loop design
  • New significant decision recorded as an ADR first, in this PR
  • ADR-0072 is fact-only; the process is here
  • Conformance aliases untouched

Verification

  • node scripts/check-docs.mjs green (100 docs, links 1.000)
  • npm run check green at the head: 383 tests pass, 32 of them in test/readme-check.test.mjs
  • Checker run on all 35 repositories (table above) and on core: ok
  • Revert test: in a scratch worktree at b3a1433, checkReadme stubbed to return no finding: 13 of 25 tests fail on assertions (R1 to R12 and the CLI fails a bad README and prints a FAIL line). Worktree removed.
  • Cross-review (openai/gpt-6.1-sol; coders claude-opus-5.5 for the docs, skill and templates, deepseek-flash for the checker and tests): initial review in 2 batches at b3a1433, 8 blocking findings, all accepted and fixed (fenced lines in R4, R5 and R10; indented headings; link destinations parsed by scheme, host and path; SECURITY.md path must exist; guard tests never skip; Usage does not match Use; image documentation target; design back-links). Re-review 1 at 4a40d12: 2 more (https for pkg.go.dev; the correction's wording), fixed. Re-review 2 at 6b419d3: Ready. Re-review 3 at f171105 (merge of main after core#205, SECURITY.md link, org-adrs line): Ready, Blocking: none.
  • Guard: tests for each finding in test/readme-check.test.mjs, and 1 line in .memory/corrections.jsonl.
  • Merged main (core#205) into the branch; no force-push. Core's README now links SECURITY.md, and docs/org-adrs.md names ADR-0072.
  • Rebased on main after core#211 (ADR-0073, B12) merged: 1 squashed commit c7dd3f8, force-with-lease (allowed). Conflicts in .memory/corrections.jsonl, docs/README.md, docs/org-adrs.md and the baseline spec's References: both sides kept. npm run check green, 383 tests. Extra review of the rebase only (Brian authorized it: "211 is merged, clean up 206"): Ready, Blocking: none.
  • Docs-site skill and workflows not changed.

Follow-ups (after merge)

  • pi-pocket-config conformance-sweep skill: name B17 (rows B1 to B17) and the checker command; bketelsen repositories are in the spec's scope too.
  • Skills sync PRs in the 10 consumers carry frostyard-readme.
  • bketelsen/agentic-template: its README steps tell a new repository to write its README from the skill (Lucilla).
  • frostyard-org: the 4 changes above before T971's PR merges.

@github-actions github-actions Bot added the risk:high Touches a path in .github/risk-paths.json label Nov 6, 2026
@frostyard-machines frostyard-machines added ready-for-human Reviewed, CI green: ready for Brian to review and merge and removed ready-for-human Reviewed, CI green: ready for Brian to review and merge labels Nov 6, 2026
@frostyard-machines frostyard-machines added the ready-for-human Reviewed, CI green: ready for Brian to review and merge label Nov 6, 2026
@bketelsen
bketelsen merged commit 9f5cd1c into main Nov 6, 2026
5 checks passed
@bketelsen
bketelsen deleted the lucilla/readme-standard branch November 6, 2026 04:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-for-human Reviewed, CI green: ready for Brian to review and merge risk:high Touches a path in .github/risk-paths.json

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants