diff --git a/AGENTS.md b/AGENTS.md index d163362..25ce8e6 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -36,6 +36,11 @@ 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`; `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 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.