Repository navigation
chore: hold core to its own repository baseline (ADR-0071) - #205
Merged
Merged
Conversation
Add SECURITY.md (B14), .github/dependabot.yml for github-actions and npm (B13) and docs/org-adrs.md (B3). test/repository-baseline.test.mjs holds core to rows B1, B3, B4, B5, B7, B12, B13, B14 and B15. The docs gate checks links in docs/org-adrs.md. README layout, tests/README and the session summary match the tree.
The cross-review found that comparing workflow-wide counts passed a commented-out persist-credentials: false. checkoutsKeepingCredentials reads each step, ignores comments, and has fixtures for a missing, a commented, a trailing-comment, a misplaced and a true setting. SECURITY.md now says that callers pin core's reusable workflow by SHA. 1 corrections line.
…(B5) Re-review 1 found that the flat step scan passed the key under env:. checkoutCredentials keeps each line's indent, finds uses: and with: at the step's key level, and accepts the setting only as a direct child of with:. It also returns the checkout count, which the live test uses. Fixtures add env:, step-level and named-step cases.
bketelsen
approved these changes
Nov 6, 2026
This was referenced Nov 6, 2026
5 tasks done
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
Brian decided (T960f, 2026-11-05) that every repository gets the bketelsen/truenas-mcp#52 treatment, to the repository baseline (ADR-0071, spec, rows B1 to B16). ADR-0071 says "Core is a code repository and is held to the baseline too." Core missed 3 rows: B3 (
docs/org-adrs.md), B13 (Dependabot) and B14 (SECURITY.md). This PR adds them and a test that holds core to the rows it can check in its own tree.docs/org-adrs.mdsays that every ADR indocs/adr/is org-wide and binds core, lists the baseline ADRs with what each binds here, and names the rows that do not apply to core (B8, B9, B11).docs/README.mdlinks it.scripts/check-docs.mjsnow also checks the links indocs/org-adrs.md(1 line; the docs-integrity test fixture writes the file)..github/dependabot.ymlwithgithub-actionsandnpm(the rootpackage.json), weekly. Skill payloads are not scanned; the hash-locked docs-site scaffoldrequirements.txtstays with the hygiene line, as ADR-0071 says.SECURITY.md: onlymaingets fixes (core has no releases or tags; callers pin core's reusable workflow by SHA, so a workflow fix reaches them when they update the pin), private vulnerability reporting athttps://github.com/frostyard/core/security, and the high-risk areas (the reusable risk-paths workflow, the skills sync, the settings scripts, the synced skills and templates). Private vulnerability reporting is on for core (gh api repos/frostyard/core/private-vulnerability-reporting→{"enabled":true}).test/repository-baseline.test.mjs, 1 test per row: B1, B3, B4, B5 (every workflow: SHA pin with a version comment, top-levelpermissions: {}, andpersist-credentials: falseas a direct child of each checkout step's ownwith:, comments ignored, bycheckoutCredentialswith 10 fixtures), B7, B12, B13 (a puremissingEcosystemsfunction plus the live tree), B14, B15. B2, B6 and B16 already have gates (check-corrections,check-risk-pathsandrisk-paths.test.mjs,no-leftover-agent-trees.test.mjs)..cursorrules,CONTRIBUTING.md,.memory/,dependabot.yml,LICENSE,SECURITY.md,scripts/andtest/;tests/README.mdnames the third suite (the Node unit tests intest/);.claude/session-summary.md(the ADR-0029 session file) replaces its August state with the current one.No behavior change: core has no product code.
docs/tenets.md,.agents/skills/,.github/workflows/,.github/risk-paths.json,.github/skills-sync.jsonand the sync scripts are not changed:git diff origin/main --name-only -- docs/tenets.md .agents .github/workflows .github/risk-paths.json .github/skills-sync.json scripts/sync-skills.sh scripts/libis empty. The only script change is the 1 added path in the docs gate's link list.Inventory
Core has no product code, so the inventory covers the whole tree. Counts at the PR head: 258 tracked paths outside
.agents/skills/(254 on the base), 225 inside.AGENTS.md;CLAUDE.md,GEMINI.md,.cursorrules,CONTRIBUTING.md,.github/copilot-instructions.md(symlinks).claude/settings.json,.claude/skills→.agents/skills.claude/files besides the summary (B16). Not changed..claude/session-summary.md.agents/skills/(30 skills, 225 files)no-leftover-agent-trees.test.mjs), no Go files (managed-skills-go-free.test.mjs).docs/README.md,docs/adr/(0001 to 0071 + TEMPLATE),docs/design/,docs/specs/(withschemas/),docs/plans/docs/README.md. ADRs not changed.docs/org-adrs.mddocs/tenets.mddocs/quality.md,docs/metrics.md,docs/review-rubric.md(symlinks).memory/README.md,.memory/corrections.jsonlMakefile,mise.toml,mise.lock,package.json,package-lock.json.github/workflows/(6),.github/risk-paths.json.github/pull_request_template.md,.github/ISSUE_TEMPLATE/,.github/prompts/.github/prompts/). Not changed..github/secrets-expiry.json,.github/skills-sync.json,.github/stable-repository.json.github/dependabot.ymlscripts/(27 paths at the head),test/(21 test files at the head, 20 on the base)scripts/check-docs.mjs; 1 fixture line intest/docs-integrity.test.mjs;test/repository-baseline.test.mjsadded.tests/README.md,tests/e2e/README.md,tests/e2e/scaffold-tests(symlink)tests/README.mdupdated (3 suites).organization/,policies/agent-governance.jsontemplates/README.md,assets/README.mdLICENSESECURITY.md.coverage-thresholds.json,.editorconfig,.gitignore,.prettierrc.jsonNo agent-framework tree exists (B16): nothing to move or delete. Counts: 0 moved, 0 deleted, 4 added, 7 updated.
Baseline rows
AGENTS.md100644; 4 aliases 120000 to it. New test.check:correctionsinverify.docs/org-adrs.mdadded and linked. New test.verify,check,ci;cirunsnpm run check, which runsnpm run verify.mise.toml,mise.lock. New test.uses:are 40-char SHAs with a version comment (the caller uses a local./workflow);permissions: {};persist-credentials: false. New test covers every workflow..github/risk-paths.jsonandrisk-paths-caller.yml. Core does not release; the skills sync, which writes to other repositories, is covered by.github/workflows/**,scripts/sync-skills.shandscripts/lib/skills-sync-*.sh.## Risk tier. New test.go.mod, no release workflow.gh apigivesMIT.go.mod. No follow-up.ci.ymlrunsmake cionpull_request. New test.github-actions,npm. New test.SECURITY.mdadded; private vulnerability reporting is on. New test.no-leftover-agent-trees.test.mjs..claude/holds only the 3 allowed names.Follow-ups: none for B9 or B11 (they do not apply). Dependabot will propose
actions/checkoutandactions/setup-nodebumps on its own;test/risk-paths.test.mjsand the new B5 test check that each bump stays SHA-pinned.Risk tier
Risk tier: 1 — docs, a Dependabot config, 1 test and 1 line in the docs gate's link list (stricter, not looser). No path in
.github/risk-paths.jsonmatches: no workflow, no sync script, no risk list, no policy changes.Docs housekeeping
TEMPLATE.md(docs/org-adrs.mdis not a category doc; it follows theorg-adrs.mdshape of agentic-template and truenas-mcp)docs/README.md(org-adrs.mdlinked under the taxonomy)docs/org-adrs.md↔docs/README.md; it links ADR-0071 and the baseline spec)Verification
make ci: exit 0.docs_index_coverage 1.000,link_integrity 1.000,symlink_resolution 1.000,bash_syntax 6/6,corrections: 20 lines,risk_paths: 12 entries, workflow in sync;# tests 347,# pass 347,# fail 0(the skills-sync tests included).node scripts/check-docs.mjsgreen; it now also checks the links ofdocs/org-adrs.md.SECURITY.md,B14: SECURITY.md names GitHub private vulnerability reportingfails; without thenpmentry independabot.yml,B13: core's Dependabot configuration covers every manifest in the treefails; withactions/checkout@v4insecrets-expiry.yml,B5fails withsecrets-expiry.yml: unpinned action: - uses: actions/checkout@v4.persist-credentials: falsecommented out inci.ymlline 29, the new test fails (not ok 5 - B5: every workflow ... keeps no credentials,ci.yml: a checkout keeps credentials); the B5 test of86a187bpasses the same tree (10 pass, 0 fail). Withwith:changed toenv:atci.ymlline 28, the test at the head fails the same way (ci.yml: a checkout keeps credentials, 10 pass, 1 fail); the test ofa05566apasses that tree (11 pass, 0 fail).Cross-review
Coder:
deepseek/deepseek-flash(small edits byclaude-opus-5.5). Reviewer:openai/gpt-6.1-sol.ff19515, head86a187b): Not ready, 1 blocker. B5 compared workflow-wide counts of checkouts andpersist-credentials: false, so a commented-out setting passed. Fixed ina05566a:checkoutsKeepingCredentialsties each checkout step to its own setting and ignores comments, with fixtures for a missing, a commented, a trailing-comment, a misplaced and atruesetting, and a check that the live run found at least 1 checkout. Guard: the fixtures, plus 1 line in.memory/corrections.jsonl.a05566a): Not ready, 1 blocker. The flat step scan acceptedpersist-credentials: falseunderenv:. Fixed in the next commit:checkoutCredentialskeeps each line's indent and accepts the key only as a direct child of the step's ownwith:; fixtures forenv:, a step-level key and named steps; the live checkout count now comes from the same parser. The corrections line names both cases.SECURITY.mdsaid consumers copy the risk-paths workflow; they pin it by SHA (ADR-0068). The inventory counts now name the head.8aa29f1): Ready, Blocking: none. The reviewer confirmed 6 checkout steps across 4 workflows, each with the setting under its ownwith:.