From 8fb357b4832e5b3cbe9a26e285f9aac4babe743f Mon Sep 17 00:00:00 2001 From: Frank Date: Sun, 18 Oct 2026 16:32:48 -0700 Subject: [PATCH 1/2] docs: attribution footer for machine-opened issues and PRs Every agent-opened issue/PR body ends with cwd + omp session id so machine filed artifacts trace back to the box and session that produced them - the live-sync daemon and filing agents make 'who/what wrote this' a real question now. Mirrored in dank/serverAppConfigs by its own PR. Refs #11 --- AGENTS.md | 4 ++++ omp-docs/log.md | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/AGENTS.md b/AGENTS.md index d163362..5b0afb3 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -36,6 +36,10 @@ with YAML frontmatter, spec at `omp-docs/references/okf-spec.md`). stay visible in history. **Never merge a PR without an explicit OK from Frank.** - **The moment a PR is open, open it in Frank's browser** — `xdg-open ` lands a tab in his Firefox; never make him hunt for it in Gitea. +- **Attribution footer (issues and PRs)** — every issue or PR body you open ends + with a `---` line, then `cwd: · session: ` + (session id from `/status`). Machine-made artifacts stay attributable to the + box and session that spawned them. - Releases: tag `vX.Y.Z` straight on `main` after verifying; tags are the deploy markers every other machine pulls to. Hotfixes are ordinary branches off the tag you are fixing forward from. diff --git a/omp-docs/log.md b/omp-docs/log.md index 8fd64d9..db60c72 100644 --- a/omp-docs/log.md +++ b/omp-docs/log.md @@ -11,6 +11,10 @@ timestamp: 2026-08-28 # Bundle Change Log +## 2026-10-18 — Fleet law: issue/PR attribution footers + +Every agent-opened issue and PR body now ends with a `cwd:` + `session:` footer (session id from `/status`), in AGENTS.md of both `dank/command-center` and `dank/serverAppConfigs` (mirrored PRs). Born from the live-sync review: once the machine starts filing and committing on its own, its artifacts must trace back to the box and session that produced them. + ## 2026-10-18 — live-sync heartbeat for machine-written paths (Refs #11) Root-caused the month of silent divergence in the live checkout (~61 auto-learned skills on one disk only, a stranded `unexpectedStopDetection` fix, merge-refusals from dirty trees): the checkout IS the deployment, symlinks make machine writes dirty tracked files by design, and no commit law covered that churn. Added `scripts/live-sync.sh` + systemd user timer — allowlist tiers (memories, managed-skills, live config, dotfiles) auto-commit with hooks armed, merge `origin/main`, push, and reap stale `wt/*` worktrees; everything outside the allowlist is never staged, conflicts abort-and-alert. Black-box suite `tests/live-sync.bats` (9 tests). Tier law in AGENTS.md § Live-sync tiers; reference page `tools/live-sync.md` registered in the tools index. -- 2.54.0 From 942787f0f2eb3b9697524159e894405039e6f4f8 Mon Sep 17 00:00:00 2001 From: Frank Date: Sun, 18 Oct 2026 16:40:14 -0700 Subject: [PATCH 2/2] docs: pin cwd meaning in attribution footer First dogfooding round stamped the build worktree instead of the session's own working directory (the value the paired session id resolves to). Rule now says so explicitly. Refs #11 --- AGENTS.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/AGENTS.md b/AGENTS.md index 5b0afb3..25ce8e6 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -38,7 +38,8 @@ with YAML frontmatter, spec at `omp-docs/references/okf-spec.md`). lands a tab in his Firefox; never make him hunt for it in Gitea. - **Attribution footer (issues and PRs)** — every issue or PR body you open ends with a `---` line, then `cwd: · session: ` - (session id from `/status`). Machine-made artifacts stay attributable to the + (session id from `/status`; `cwd` is that session's own working directory — + not the build checkout, when they differ). Machine-made artifacts stay attributable to the box and session that spawned them. - Releases: tag `vX.Y.Z` straight on `main` after verifying; tags are the deploy markers every other machine pulls to. Hotfixes are ordinary branches off the -- 2.54.0