Skip to content

docs(ci): four CI walkthroughs with a proof checker (P7-NODE-32) - #545

Merged
acamarata merged 1 commit into
land/p7f-pluginsfrom
gaps/p7-node-32
Oct 30, 2026
Merged

acamarata merged 1 commit into
land/p7f-pluginsfrom
gaps/p7-node-32

Conversation

@acamarata

Copy link
Copy Markdown
Contributor

Four CI walkthrough pages under .github/wiki/guides/ci/, stacked on #543 (base land/p7f-plugins).

  • Walkthrough-Home-Lab.md: desk Mac coordinator in personal mode, Minis by nodes add --system or pairing, xcode labels and requires.labels, reservations and battery, a personal VPS with a pinned host key, secret grants, what a sleeping Mini does, coordinator backup and the KEK.
  • Walkthrough-Multiple-Projects.md: nodes projects add|remove|list, a VPS for one project, project-scope sched.overrides.labels, fairness and runs queue, cache namespaces, runs stats --project.
  • Walkthrough-Team.md: serve --team on its own box, roles and tokens, members through --coordinator, personal nodes staying personal, providers github init, public repos on hosted runners, policy protect, serve watch polling.
  • Walkthrough-Agents.md: CLI --detach/runs wait/evidence/runs follow, the three MCP loop tools, the confirmation round trip, HTTP routes and the NDJSON follow stream, one server per project, no status without --post-status, trust.machine_invoked_cap, --trust untrusted.

Every host-dependent step is a text block with a <!-- proven-by: TestName --> line and a row in the page's "Proven by" table. Pages link the reference guides instead of copying tables.

scripts/docs/check-walkthroughs.py (stdlib): each nself ci ... line must name a command in the generated Reference command table, each flag on a bare nself ci line must be in its flag table, each text block with nself ci needs a proven-by line, and every proof (Go test func Name( or tracked path) must exist. --self-test runs four bad fixtures (wrong subcommand, unknown root flag, missing proven-by, unknown test) and one good one.

Verification (local, scoped)

  • python3 scripts/docs/check-walkthroughs.py --self-test: 5/5 fixtures behave.
  • python3 scripts/docs/check-walkthroughs.py .github/wiki/guides/ci/Walkthrough-*.md: clean.
  • bash .github/scripts/check-doc-commands.sh .github/wiki/guides/ci/Walkthrough-*.md: rc 0.
  • go generate ./tools/refgen/...: only the guides/ci sidebar block changed (committed); Reference.md unchanged.
  • No production addresses; only 203.0.113.0/24 and example names.

Notes for review

  • The generated machine-surface table in plugins/CI.md has no row for the bare nself ci (nself_ci tool), although scripts/ci/ci-machine-surface.sh asserts the tool exists. The Agents page names it from that script.
  • Reference.md's flag table omits --agent-addr, --api-addr and --agent-binary, which the commands accept.

Ticket: P7-NODE-32

Home lab, several projects, a team and agents. Host steps are text blocks
with a proven-by test; scripts/docs/check-walkthroughs.py checks every
nself ci command path and bare flag against the generated Reference and
every proof against the repository, with a self-test over bad fixtures.
refgen adds the four pages to the guides/ci sidebar block.
@acamarata
acamarata merged commit 67c486d into land/p7f-plugins Oct 30, 2026
5 checks passed
@acamarata

Copy link
Copy Markdown
Contributor Author

Folded into #543 (land/p7f-plugins) to land in one CI run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant