Skip to content

templates: point the code map rule at Trail-code; record Homer Pocock exception - #11

Merged
scrimshawlife-ctrl merged 2 commits into
mainfrom
templates/trail-code-map
Nov 22, 2026
Merged

scrimshawlife-ctrl merged 2 commits into
mainfrom
templates/trail-code-map

Conversation

@scrimshawlife-ctrl

Copy link
Copy Markdown
Contributor

This PR makes two changes on main at 7d4c26c (confirmed before editing; prefix of 7d4c26c2f9ddf15daf5890de9674e5ba00ac9d9b). It closes the last open item in Linear ZER-24. Do not merge unless Danny says so.

1. Point the product-repo code map rule at Trail-code's .trail/cache/

Trail-code keeps its map in .trail/cache/ once a repo is wired for Trail (trailhq/trail-code@d8a59c1 src/context/map-dir.ts), so the old If graft/ exists rule never fired. Homer hit this in #26 and fixed it in #27. Noema still uses graft/, so both stay.

Updates:

  • templates/AGENTS.md.template: retitle to "Code map and docs"; prefer trail ask "<task>" --source when .trail/cache/ exists, and keep graft ask when graft/ exists instead.
  • README.md: product-repo structure is now (AGENTS.md + .trail/ or graft/).
  • AGENTS.md: do not duplicate a product repo's .trail/, graft/, or code conventions.

2. Record Homer's exception for Pocock /to-tickets and /implement-spec

Adds a dated DECISIONS.md entry (2026-11-21) for the Homer-only exception Danny ruled the same day: in Zero-State-LLC/Homer only, Matt Pocock's /to-tickets may write Tasks to Linear team ZER directly, and /implement-spec may run implementer subagents in parallel without asking. Everywhere else the team rules stand (FORGE owns plan and tasks; no agent fleets). Details stay in Homer's docs/agents/issue-tracker.md (see Homer #28). Another repo that wants either exception needs its own dated entry.

Files changed

  • templates/AGENTS.md.template
  • README.md
  • AGENTS.md
  • DECISIONS.md

Two commits, neither rewritten:

  • dc33c9a8ec7b2c8128a9274f4da673c762948e0a — templates: point the code map rule at Trail-code's .trail/cache/
  • 7073f214ae8ddd47c50b1349ec435b8f1f35721d — decisions: record Homer's exception for Pocock /to-tickets and /implement-spec

Commands and results

  1. git fetch origin then git rev-parse origin/main — 7d4c26c2f9ddf15daf5890de9674e5ba00ac9d9b (handoff: SS D-114 shipped; D-115/D-116 await Danny's review (#10)). Source texts for steps 2–4 and the # Decisions / 2026-09-04 heading were present exactly.
  2. git switch main && git pull --ff-only — fast-forwarded local main b89f37d..7d4c26c.
  3. git switch -c templates/trail-code-map — branch created at 7d4c26c.
  4. Exact replacements in templates/AGENTS.md.template, README.md, and AGENTS.md.
  5. git commit -m "templates: point the code map rule at Trail-code's .trail/cache/" — dc33c9a8ec7b2c8128a9274f4da673c762948e0a (3 files, 6 insertions, 4 deletions).
  6. Inserted the dated Homer exception entry directly under # Decisions in DECISIONS.md.
  7. git commit -m "decisions: record Homer's exception for Pocock /to-tickets and /implement-spec" — 7073f214ae8ddd47c50b1349ec435b8f1f35721d (1 file, 24 insertions).
  8. bash scripts/check-agents-md.sh templates/AGENTS.md.template — pass: ok: templates/AGENTS.md.template (2446 bytes) has Escalation and is under 12288 bytes.
  9. make check-rule-files — first run exited 127 because make was not installed on this machine. Installed GNU Make 4.4.1 and reran the same command with no check loosened. pass: rule-file-check result PASS (files_scanned 8, files_passed 8, files_failed 0, findings_failed 0); python3 -m unittest tests/test_rule_file_check.py — 14 tests, OK.
  10. git diff --name-only origin/main...HEAD — exactly AGENTS.md, DECISIONS.md, README.md, templates/AGENTS.md.template.
  11. gitleaks detect --source . --log-opts='origin/main..HEAD' — 2 commits scanned, no leaks found. rg over the same diff only hit existing "do not put secrets/tokens" prose.

@scrimshawlife-ctrl
scrimshawlife-ctrl requested a review from a team as a code owner November 22, 2026 04:34
@github-actions

Copy link
Copy Markdown

CC @Zero-State-LLC/partner-agents. Flagged for shared triage.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 22, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-22T04:35:43.849559Z 7073f21 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@scrimshawlife-ctrl
scrimshawlife-ctrl merged commit a4b7b7e into main Nov 22, 2026
2 checks passed
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