Skip to content

feat(docs): repository baseline (ADR-0071), MaterialX docs sites (ADR-0070), baseline checklist spec - #204

Merged
bketelsen merged 4 commits into
mainfrom
lucilla/repository-baseline
Nov 6, 2026
Merged

bketelsen merged 4 commits into
mainfrom
lucilla/repository-baseline

Conversation

@frostyard-machines

Copy link
Copy Markdown
Contributor

Summary

Delivers T960a ("MaterialX on Pages, nsl layout") and T960c ("go with this rollout") from the 2026-11-05 standardization sweep (Odrade's report, sections 1 to 10).

  • ADR-0070 — tool docs sites: ProperDocs + MaterialX in site/ (nsl's layout), hash lock by uv pip compile, make site / make site-serve, --strict build in site.yml, GitHub Pages at frostyard.github.io/<repo>/. Libraries use pkg.go.dev; frostyard.org stays Astro; lab's QA dashboard is exempt.
  • ADR-0071 — the repository baseline: 16 items, each citing its ADR (0018, 0019, 0021, 0025, 0029, 0038/0043/0044, 0012/0053, 0068, 0070), plus new rules: MIT default license (T960b's PRs do the files), one Go minor and one golangci-lint version, ci.yml, Dependabot per ecosystem, SECURITY.md, no CODEOWNERS, no leftover agent-framework trees. Exemptions: forks (hotedge, Logomenu, incus), frostyard-org, homebrew-tap, libraries (site only), lab (site only). Amends ADR-0043 in part (core now names versions; the org gate still checks presence only); ADR-0043 gets a link-only "Amended in part by" line.
  • Spec docs/specs/repository-baseline.md — the conformance-sweep input: rows B1 to B16, each with rule, source and a read-only check; exemption table; finding key <repo>/baseline-<ID>.
  • frostyard-docs-site skill replaced — Astro/Cloudflare payload removed (34 files); new scaffold/ (from nsl: properdocs.yml, byte-identical requirements.in/.txt and frostyard.css, sample pages), templates/site.yml and templates/site.mk, and tests/scaffold.test.mjs. Brand rules kept: sentence case, lowercase product names, no emoji, Frostyard palette only, font: false.
  • frostyard-go-repo skill — new "Fleet toolchain" table: Go 1.27, golangci-lint 2.15.0 (built with Go 1.27.0 per its release workflow; the suite already runs this pair green). The @go sync carries it.
  • References updated: AGENTS.md (skill pointer, CI text, new baseline convention), README.md, PR template, review prompt, PR review rubric row, quality-loop (scaffold job + new Sweep station), shared-skills, tests READMEs, templates README, frostyard-design readme, ADR-0029 alias row (Target cell only, ADR-0033 link-only), tests/e2e/scaffold-tests symlink.

Decision trail

  • Brian, 2026-11-05: T960a (MaterialX on Pages, nsl layout) and T960c (go with this rollout); T960b (MIT default) is delivered by separate LICENSE PRs (core#203 and others).
  • Fact corrections to the sweep report: golangci-lint pins at origin/main run v2.3.1 to v2.15.0 (v2.18.1 and v2.20.0 do not exist; v2.15.0 is the latest release); nsl pins 2.13.1.
  • Reconciliations (no new decision): ADR-0029 requires .claude/session-summary.md for ACMM, so B16 allows it with settings.json and the skills alias; ADR-0018 allows docs/agents/skills/ in mill-onboarded repos, so B16 does not list it. ADR-0022 is superseded by ADR-0038, so B4 cites 0038/0043/0044. A CI rename keeps job names (rulesets require job names, not workflow file names).
  • Core's own .agents/skills/frostyard-design/docs/superpowers/ is a skill payload, not the root, so B16 does not flag it.

Risk tier

Risk tier: 3 — .github/workflows/ci.yml matches .github/workflows/** in .github/risk-paths.json (risk:high).

Matched path and why the change is safe:

  • .github/workflows/ci.yml (workflow-and-permissions): only the scaffold-e2e job changes. The job id stays scaffold-e2e (a required check in the "frostyard: default branch" ruleset), so no ruleset change is needed. Permissions stay contents: read; checkout keeps persist-credentials: false; the new actions/setup-python is pinned by SHA (5fda3b95…, tag v7.0.0, the same pin nsl uses); jdx/mise-action uses the existing pin. No secrets, no write scopes, no new triggers.

Verification

  • make verify — 334 pass, 0 fail
  • node scripts/check-docs.mjs — checked: 98 docs, 1808 links, 10 symlinks, all thresholds ok
  • node scripts/check-corrections.mjs --base origin/main — ok
  • node --test .agents/skills/frostyard-docs-site/tests/*.test.mjs — 5 pass (strict build of the scaffold with --require-hashes, Pagefind index present, hash on every lock entry, SHA pins in templates/site.yml)
  • Fail-on-purpose (new check): in a scratch worktree, index.md linking guides/missing.md → not ok 1 - the scaffold builds with the locked requirements and renders a site (WARNING - Doc file 'index.md' contains a link 'guides/missing.md'… under --strict); worktree removed.
  • Workflows: every action SHA-pinned with # vX.Y.Z, permissions: {}, persist-credentials: false (ADR-0021)
  • ADRs are fact-only (ADR-0051); indexed in docs/README.md; back-links added in quality-loop and shared-skills.

Follow-ups (not in this PR)

  • Conformance-sweep skill (pi-pocket-config) should list docs/specs/repository-baseline.md under "Org standards"; Odrade is told.
  • bketelsen/agentic-template gains SECURITY.md, .github/dependabot.yml and LICENSE (ADR-0071 consequence; Lucilla owns it).
  • No PR wave: the Wednesday sweep (first 2026-11-11) files the gaps.

@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 the ready-for-human Reviewed, CI green: ready for Brian to review and merge label Nov 6, 2026
@bketelsen
bketelsen merged commit ff19515 into main Nov 6, 2026
4 checks passed
@bketelsen
bketelsen deleted the lucilla/repository-baseline branch November 6, 2026 02:40
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