Repository navigation
chore: bring lab to the repository baseline (core ADR-0071, B1 to B17) - #195
Merged
Merged
Conversation
Hold the repository to core's repository baseline (docs/specs/repository-baseline.md, ADR-0071) and its README standard (ADR-0072). No product change: argo/, manifests/, argocd/, site/ and the lane scripts are unchanged. - Make gate (B4, B12): Makefile with verify, check and ci; mise.toml and mise.lock pin Node 24.22.2; ci.yml job "Repository gate" runs make ci. - Template gate copied from bketelsen/agentic-template@05e8f5d: agent symlinks, docs index, risk-path list, corrections, vendored core copies. - B1: GEMINI.md and .claude/skills symlinks. B2: .memory/README.md. - B6: .github/risk-paths.json and its caller; each why names a protected boundary of policies/agent-governance.json (tests/test_risk_paths.py). - B7: PR template risk tier section. B13: dependabot.yml. B14: SECURITY.md. - B17: README.md rewritten to the infrastructure kind; its detail moved verbatim to docs/design/ (architecture, vm-lanes, reporting), docs/specs/bootc-lifecycle-lane.md and docs/ops/operating.md. - docs/plans/ keeps open work only: 10 done run plans deleted (git keeps them); the run records that tests read move to tests/fixtures/run-records/.
…ings - Makefile: verify-template fails when test/*.test.mjs matches no file, as verify-site does for site/test/ (ADR-0010). Guard: tests/test_make_gate.py. - docs/roadmap.md Open question 6: the 3 open findings of the retired 2026-10-28 sysext probe plan, tracked in frostyard/snosi#1245. - AGENTS.md: before a plan is deleted, each open question or live finding goes to the roadmap or a tracking issue. - .memory/corrections.jsonl: 2 lines from the cross-review.
bketelsen
approved these changes
Nov 6, 2026
2 tasks done
bketelsen
pushed a commit
that referenced
this pull request
Nov 6, 2026
…205) The lane's field contract moved from README.md to docs/specs/bootc-lifecycle-lane.md in #195; the README anchor #manual-snow-bootc-lifecycle no longer exists. Co-authored-by: frostyard-machines <[email protected]>
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
This PR brings lab to core's repository baseline: ADR-0071 and rows B1 to B17 of
docs/specs/repository-baseline.md(B17 is the README standard of ADR-0072). lab had no leftover agent-framework tree; the work is the missing rows, the README, and adocs/plans/that holds only open work. It changes no product code: no WorkflowTemplate, manifest, Argo CD Application, lane script or dashboard source.Makefilewithverify,checkandci.make verify=verify-template(template gate + its Node tests),verify-python(policies/check_agent_governance.py+ the pytest suite with its coverage gate) andverify-site(dashboard unit tests; it fails whensite/test/*.test.mjsmatches nothing, as the old CI step did).make ciadds the append-only corrections check againstBASE.mise.tomlandmise.lockpin Node 24.22.2 (template copy).ci.ymljobRepository gaterunsmake ci BASE=<base sha>(Python 3.13, Node from mise, full history). JobsPython 3.12andNode.js 22runmake verify-pythonandmake verify-siteon the other supported runtimes, so the runtime coverage of the old matrix (3.12 and 3.13, Node 22) stays. Top-levelpermissions: {},contents: readper job,merge_groupadded. The ruleset requires no status check, so the job rename blocks nothing.scripts/check-template.mjs,scripts/check-corrections.mjs,scripts/lib/risk-paths.mjs,test/check-template.test.mjs,.memory/README.mdand.github/workflows/risk-paths.yml, byte-identical to bketelsen/agentic-template@05e8f5d.GEMINI.md→AGENTS.mdand.claude/skills→../.agents/skills, relative symlinks..github/risk-paths.json(17 entries). It lists the reconciled state that the risk tiers call High (argo/workflow-templates/**,manifests/**,argocd/**), the workflows (Pages deploy, token permissions), the operator and dev-submit helpers that use the kubeconfig (Justfile,scripts/*-dev-submit.sh), the evidence collector (scripts/collect_runs.py), and the gates. Eachwhystarts with aprotectedBoundariesid ofpolicies/agent-governance.json; new guardtests/test_risk_paths.pychecks that and the required globs. The labelrisk:highnow exists in the repository.## Risk tieron lab's scale (docs/risk-tiers.md: Low, Medium, High)..github/dependabot.yml:github-actions,npmat/(Playwright),npmat/site(dashboard),pipat/(requirements-test.txt).SECURITY.md: private vulnerability reporting athttps://github.com/frostyard/lab/security(on: the API returnsenabled: true); onlymaingets fixes, because Argo CD and Pages deploy frommain.README.mdrewritten to theinfrastructurekind (565 words). Its detail moved first, verbatim (below).docs/plans/keeps the 4 plans with open work; 10 done run plans and their evidence are deleted (git keeps them atcc3e68a4). The 8 files that tests read move, bytes unchanged, totests/fixtures/run-records/.No behavior change:
git diff --no-ext-diff origin/main...HEAD -- argo manifests argocd site e2e policies scripts/collect_runs.py scripts/*.sh scripts/snow-lifecycle-preflight Justfile package.json package-lock.json playwright.config.ts requirements-test.txt pytest.ini .coverage-thresholds.jsonis empty.Inventory
Every file that is not product code (product:
argo/,manifests/,argocd/,site/,e2e/,scripts/lane tools,Justfile):AGENTS.mdCLAUDE.md,.cursorrules,.github/copilot-instructions.mdGEMINI.md,.claude/skills.claude/settings.json,.claude/session-summary.md.agents/skills/.memory/corrections.jsonlcheck-corrections.mjs; 2 new lines from the cross-review.memory/README.md.memory/.gitkeep.knowledge/README.md,skills/lab-operations.mdmake verifyREADME.mdinfrastructure. Moved verbatim (849 content lines, 0 missing, checked againstcc3e68a4:README.md): "What this is", "Stack", "Architecture", "Why the tests run in a container", "Image lanes", "Suites", "Repository layout", "Known gaps" →docs/design/architecture.md; "The incus VM lane" and its subsections, "Driving a guest…", "Native A/B Secure Boot…" →docs/design/vm-lanes.md; "Manual Snow bootc lifecycle" →docs/specs/bootc-lifecycle-lane.md; "Operating it" →docs/ops/operating.md; "Reporting" →docs/design/reporting.md. Dropped: nothingdocs/design/*.md,docs/specs/bootc-lifecycle-lane.md,docs/ops/operating.mddocs/adr/0001–0018(15 files)cc3e68a4); no decision text changesdocs/plans/2026-10-30-snow-sysext-probe-snosi1189.md+ evidencedocs/plans/2026-11-04-first-login-probe-runs.md+ evidencedocs/plans/2026-11-05-problems-probe-runs.md+ evidenceproblems=okrunsdocs/plans/2026-11-05-report-probe-runs.md+ evidenceREADME.md#manual-snow-bootc-lifecyclenow land on the README top; repointed to the spec after #193 mergesdocs/plans/2026-10-26-snow-bootc-lifecycle-run.md,2026-10-28-floe-…,2026-10-30-sundog-…,2026-11-03-snowfield-…,2026-11-04-snowfield-…(lifecycle runs)docs/roadmap.mdOpen questions 5; theqa-controlledwarning (never delete it in the GHCR UI) moved todocs/ops/operating.md2026-10-28-snow-sysext-probe-run.md,2026-10-29-snow-sysext-probe-lab142.mdmaild --lodgewithout thelodgeuser,frostnotes-lodge.socketin the enable boot, start limits after a live enable) moved to frostyard/snosi#1245 anddocs/roadmap.mdOpen question 62026-10-29-sundog-fresh-install-rerun.md,2026-11-01-sundog-bootc117-lifecycle-run.md2026-11-05-lockdown-1214-lifecycle-runs.mddocs/quality.mdkeeps the result with a permalinkmanifest.jsonfiles and the Snowfield rerun record that tests read →tests/fixtures/run-records/(with a README: frozen, never edit)docs/README.mdops/operating.md; 10 deleted plans removeddocs/org-adrs.mddocs/quality.md,docs/roadmap.md,docs/ops/bootstrap.md,docs/review-rubric.mddocs/design/docs/SECURITY-AI.md,docs/risk-tiers.md,docs/claude-code-review.md,docs/ai-fix-workflow.md,docs/metrics/CONTRIBUTING.mdSECURITY.mdLICENSEMakefile,mise.toml,mise.lockscripts/check-template.mjs,scripts/check-corrections.mjs,scripts/lib/risk-paths.mjs,test/check-template.test.mjstests/test_risk_paths.pytests/test_make_gate.pyverifyruns every part,cirunsverifytests/test_*_lifecycle.py,tests/test_snow_lifecycle_preflight.py(5 files).github/workflows/ci.yml.github/workflows/risk-paths.yml,.github/risk-paths.json.github/dependabot.yml.github/pull_request_template.md.github/prompts/(3 of 6 files).github/workflows/(other 7),.github/ISSUE_TEMPLATE/,.github/labeler.yml,.github/auto-qa-tuning.jsonpages.ymlandlabeler.ymlgo to #194.editorconfig,.prettierrc,.gitignore,.coverage-thresholds.json,pytest.ini,requirements-test.txt,package.json,package-lock.json,playwright.config.tspolicies/Counts:
docs/plans/goes from 74 tracked files to 25: 49 leave it (10 plans and 39 evidence files; 41 deleted, 8 moved to fixtures). 22 files added (5 docs; 17 gate, guard, fixture and config files), 1 file deleted outsidedocs/plans/(.memory/.gitkeep).Baseline rows
AGENTS.mdregular file;CLAUDE.md,GEMINI.md,.cursorrules,.github/copilot-instructions.mdmode120000to itcheck-corrections.mjs;make ci BASE=adds the append-only checkTEMPLATE.md,docs/org-adrs.mdlinked; the gate checks that every doc is indexed (37 docs, 46 links)verify,check,ci(cirunsverify);mise.toml,mise.lockuses:is a SHA with a version comment, so the row's check passes; every checkout setspersist-credentials: false;ci.ymlnow haspermissions: {}. Not done:pages.ymlandlabeler.ymlgrant write at the top level. #194 moves them to the jobs in a separate PR, because no pull request can exercise the Pages deploy or the issue labelerargocd/,pages.yml) are listed;tests/test_risk_paths.pychecks it## Risk tiergo.modgh apireportsMITgo.modci.ymljobRepository gaterunsmake cionpull_request,pushto main andmerge_groupgithub-actions,npm/,npm/site,pip/; no other manifesthttps://github.com/frostyard/lab/security; states supported versions; private vulnerability reporting is on.claude/holds onlysettings.json,skills,session-summary.mdinfrastructure; core'scheck-readme.mjsatorigin/mainprintsok README.md (infrastructure, 565 words)Risk tier
.github/workflows/ci.yml: the jobs above; triggers keeppull_request,pushto main andworkflow_dispatch, addmerge_group; permissions narrow to{}at the top andcontents: readper job. No secrets..github/workflows/risk-paths.yml,.github/risk-paths.json: new; the caller is the template copy (pull_request_target, checks out nothing,pull-requests: writeonly to set the label).Makefile,scripts/check-*.mjs,scripts/lib/**,mise.toml,mise.lock: the gate and its pin.argo/,manifests/,argocd/,Justfile,policies/,scripts/collect_runs.py, the dev-submit scripts,pytest.ini,.coverage-thresholds.json. Argo CD has nothing new to sync.Validation
make ci BASE=origin/main(Node 24.22.2 from mise, Python 3.13 withrequirements-test.txt), ata0e07d70: exit 0. Template gate:agent-symlinks: 5 symlinks resolve,docs-index: 37 docs indexed, 46 index links resolve,risk-paths: 17 entries, list and caller listed,corrections: 13 lines,vendored: 2 pinned core copies match; Node tests 26 pass, 0 fail (they include the gate's deliberate failing cases);Agent governance policy passed; pytest1897 passed, coverage 87.88 % (gate 65 %); site tests 24 pass;corrections: 13 lines, append-only vs origin/main.node <core origin/main>/.agents/skills/frostyard-readme/scripts/check-readme.mjs .:ok README.md (infrastructure, 565 words).docs/andtests/fixtures/(427 links, 44 files): no link broken by this PR; the pre-existing broken ones (template placeholders, 2 retired secure-lane files) are unchanged.git diff --cached -M --summary).test/check-template.test.mjs).Follow-ups
pages.ymlandlabeler.yml.docs/plans/2026-11-05-report-probe-runs.mdtodocs/specs/bootc-lifecycle-lane.md.argo/workflow-templates/run-incus-bootc-install-tests.yamlandrun-incus-vm-tests.yamlhave comments that name README sections (nowdocs/design/vm-lanes.mdanddocs/design/architecture.md#known-gaps); they change with the next change to those templates, not here (no product change).Cross-review
Reviewer
openai/gpt-6.1-sol; codersdeepseek/deepseek-flash(doc moves, plan deletions, test path constants) andanthropic/claude-opus-5.5(gate, README, the rest). Basecc3e68a4.4ad64f08(4 batches of at most 20 files: gate and config; README and moved docs; link repairs and prompts; the 10 deleted plans at the base. Template copies checked byte-identical,mise.lockchecked for versions, fixture renames checked 100 %): Not ready, 2 blockers.Makefileverify-template:node --test test/*.test.mjspasses when the glob matches nothing (ADR-0010). Fixed ina0e07d70: the recipe fails first on an empty glob, asverify-sitedoes. Guard:tests/test_make_gate.py, 1 corrections line.2026-10-28-snow-sysext-probe-run.mdheld 3 open product findings found nowhere else. Fixed ina0e07d70: sysext: maild and notesd live enable leaves frostmail and frostnotes-lodge failed until a reboot snosi#1245 anddocs/roadmap.mdOpen question 6. Guard:AGENTS.mdrule (before a plan is deleted, each open question or live finding goes to the roadmap or a tracking issue), 1 corrections line.a0e07d70: Ready, Blocking: none. No new findings.Revert test for blocker 1 (scratch worktree at
a0e07d70, both glob guard lines removed fromMakefile):pytest tests/test_make_gate.py→2 failed, 3 passed(test_node_test_targets_fail_when_their_glob_matches_nothing[verify-template-…]and[verify-site-…]fail on theFAIL: no files matchassertion); with the guards,5 passed. The worktree was removed.