Repository navigation
feat: carry core's repository baseline (ADR-0071, B1 to B16) - #4
Merged
Merged
Conversation
Add .cursorrules, LICENSE (MIT), SECURITY.md, .github/dependabot.yml, mise.toml and mise.lock (Node 24.22.2), and docs/org-adrs.md. CI installs Node with mise-action from the lock. The template gate checks .cursorrules. The README lists the per-project steps and the settings step for private vulnerability reporting.
Revert the edits to ADR 0002 and 0003: they are Accepted, and the baseline decisions live in core ADR-0043 and ADR-0071 (docs/org-adrs.md). AGENTS.md now says the template ADRs' date placeholder is not a draft status, and .memory/corrections.jsonl records the review finding.
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 core's repository baseline (ADR-0071, spec, rows B1 to B16). This template is the source the other repositories copy, so it goes first. ADR-0071 names this obligation: "bketelsen/agentic-template gains
SECURITY.md,.github/dependabot.ymlandLICENSE"..cursorrules→AGENTS.md. The template gate (scripts/check-template.mjs) now checks it (5 symlinks), with 2 new tests.docs/org-adrs.mdlists the core ADRs that bind a repository made from the template, and the ones that apply only to a released Go repository or a user-facing tool.docs/README.mdindexes it.mise.tomlandmise.lockpin Node 24.22.2 (7 platforms, checksums frommise lock; they are equal to the checksums in truenas-mcp's lock). CI installs Node withjdx/mise-action(v4.2.5, the SHA truenas-mcp uses; checked against the tag) instead ofactions/setup-node.mise.tomlandmise.lockjoin the risk list (they decide what CI installs).LICENSE, MIT,Copyright (c) 2026 Brian Ketelsen..github/dependabot.ymlwithgithub-actions, and a comment that names the other ecosystems to add.SECURITY.mdnames private vulnerability reporting athttps://github.com/bketelsen/agentic-template/securityand says onlymaingets fixes.docs/org-adrs.md) carry the new decisions.No behavior change outside the gate: the template has no product code. The only code change is 1 entry in the gate's symlink list, its header comment and the ok line (
git diff origin/main -- scripts/).Inventory
AGENTS.md,CLAUDE.md,GEMINI.md,.github/copilot-instructions.md,.claude/skills,.agents/skills/TEMPLATE/.cursorrulesis added.docs/README.md,docs/adr/(0001 to 0003, TEMPLATE),docs/design/,docs/specs/,docs/plans/TEMPLATEsdocs/org-adrs.mdis added.Makefilerun: mise install).scripts/check-template.mjs,test/check-template.test.mjs.cursorrulesis added to the symlink check.scripts/check-corrections.mjs,scripts/lib/risk-paths.mjs1b02a12; hashes still match coreorigin/main. Not changed..memory/README.md,.memory/corrections.jsonl.github/pull_request_template.mdRisk tiersection (B7). Not changed..github/risk-paths.json,.github/workflows/risk-paths.yml,.github/workflows/ci.ymlREADME.mdNo agent-framework tree exists (B16): nothing to move or delete. Counts: 0 moved, 0 deleted, 7 files added.
Baseline rows
.cursorrulesadded; gate checks all 4 aliases and.claude/skills.docs/org-adrs.mdadded and indexed.mise.tomlandmise.lockadded.uses:are 40-char SHAs with a comment;permissions: {};persist-credentials: false.## Risk tier.go.mod, no release workflow. README anddocs/org-adrs.mdtell a released Go project to add.svu.ymlandbump.site/skeleton (T960a,frostyard-docs-site).go.mod. README anddocs/org-adrs.mdpoint Go projects at the "Fleet toolchain" section. No toolchain bump here.ci.ymlrunsmake cion pull requests.github-actions(the only ecosystem with a manifest).SECURITY.mdadded. Private vulnerability reporting is off on this repository (gh api repos/bketelsen/agentic-template/private-vulnerability-reporting→{"enabled":false}); Brian enables it (below)..claude/holds onlyskills.Follow-ups: B9 (site skeleton decision, separate PR); Dependabot will propose the
actions/checkoutbump (v4.2.2 → current) on its own.Settings step for Brian (the machine account cannot change settings):
gh api -X PUT repos/bketelsen/agentic-template/private-vulnerability-reporting.Risk tier
Risk tier: 3 — the PR changes CI and the gate. Matched risk paths, and why each change is safe:
.github/workflows/ci.yml:actions/setup-node(Node 22) is replaced byjdx/mise-action@3c2e0cf…(v4.2.5, verified as the tag's commit), which installs the Node inmise.lockwith checksum checks.permissions,persist-credentials: false, triggers and themake cistep do not change..github/workflows/risk-paths.yml: a trailing comment only; the pinned SHA is unchanged..github/risk-paths.json: 2 entries added (mise.toml,mise.lock); none removed.Makefile: 2 error messages gain; run: mise install. No target or check changes.scripts/check-template.mjs:.cursorrulesadded to the symlink list, so the gate is stricter, not looser.mise.toml,mise.lock(listed by this PR, not yet on the base): new Node pin.Docs housekeeping
TEMPLATE.md(docs/org-adrs.mdfollows core'sorg-adrs.mdshape, as in truenas-mcp)docs/README.mdVerification
make verify: exit 0. Gate:5 symlinks,4 docs indexed, 9 index links resolve,8 entries,2 pinned core copies match. Node tests: 26 passed, 0 failed.make ci BASE=origin/main: exit 0,corrections: 3 lines, append-only vs origin/main..cursorrulesremoved,node scripts/check-template.mjsprintsFAIL agent-symlinks: .cursorrules: missing linkand exits 1. In a scratch worktree at the PR head, withscripts/check-template.mjsrestored from9ab0952,node --test test/*.test.mjsgives 24 pass, 2 fail:cursorrules missing exits 1and.cursorrules as a regular file exits 1. The scratch worktree is removed.permissions: {}, andpersist-credentials: false.Cross-review
Coder:
deepseek/deepseek-flash(small edits byclaude-opus-5.5). Reviewer:openai/gpt-6.1-sol.30bf449): Not ready, 1 blocker. The PR edited Accepted ADRs 0002 and 0003, against the ADR immutability rule. Fixed in659c365: both ADRs restored to the base text (git diff 9ab0952 659c365 -- docs/adris empty); the decisions stay in core ADR-0043 and ADR-0071 viadocs/org-adrs.md(a template ADR 0004 would collide with adopters' own 0004). Guard: anAGENTS.mdrule (no test can catch an edit to an Accepted ADR), and 1 line in.memory/corrections.jsonl.659c365): Ready, Blocking: none.