From a9d6961769f155691cb12efbc3bcd8ef4107f425 Mon Sep 17 00:00:00 2001 From: alex-mills Date: Fri, 18 Sep 2026 18:00:44 -0500 Subject: [PATCH] chore(DEN-3945): close fleet conformance gaps Rules fixed (deterministic, policy-mandated; see ORESoftware/den-3945-fleet-sweep conformance/CHECKLIST.md): - AGENTS-ORES-IGNORE - AGENTS-POINTER-BLOCK - IGNORE-SCRATCH-DIRS Co-Authored-By: Claude Opus 5 --- .gitignore | 7 +++++-- AGENTS.md | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index c08951a..2ac39a7 100644 --- a/.gitignore +++ b/.gitignore @@ -6,7 +6,10 @@ Cargo.lock dist/ build/ *.egg-info/ -tmp -temp +tmp/ +temp/ tmp/worktrees temp/worktrees + +# machine-local symlink to ORESoftware/my-ai AGENTS.md; never committed +.ores/ diff --git a/AGENTS.md b/AGENTS.md index b1d0447..b7a6ba6 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -6,3 +6,35 @@ - Put every authorized worktree at `/tmp/worktrees/`; from the repository root, use `./tmp/worktrees/`. Never place worktrees beside repositories or organization directories. - Keep `tmp`, `temp`, `tmp/worktrees`, and `temp/worktrees` ignored in the repository-root `.gitignore`. Do not commit files from those directories. - Relocate or remove a worktree only when the operator explicitly requests it. Before removal, preserve and publish intended changes, verify its commit is represented on the target branch, and confirm there are no tracked, untracked, ignored-sensitive, or in-use files that must survive. Remove it with `git worktree remove ` without `--force`; never delete a worktree directory with `rm`. + + + +## Canonical agent instructions + +Before doing anything else in this repository, also read: + + .ores/agents/AGENTS.md + +That path is a symlink to `~/codes/oresoftware/my-ai/AGENTS.md`, whose canonical copy is +. + +It exists at a fixed path *inside* the repository because some agents cannot walk up past +the repository root, so machine-wide instructions one or more directories above are +invisible to them. This pointer plus that path make the same file reachable from a working +directory anywhere in the tree. + +The symlink is deliberately **not committed**: it names an absolute path that is only valid +on a machine with `~/codes/oresoftware/my-ai` checked out, so committing it would produce a +broken link for everyone else and for CI. `.ores/` is git-ignored for that reason. If +`.ores/agents/AGENTS.md` is missing on your machine, create it with: + + mkdir -p .ores/agents + ln -sfn "$HOME/codes/oresoftware/my-ai/AGENTS.md" .ores/agents/AGENTS.md + +or run `~/codes/oresoftware/my-ai/scripts/link-repo-agents.sh` once to do it for every git +repository under `~/codes`, and `--check` to verify them. + +A missing `.ores/agents/AGENTS.md` is a setup gap on the reader's machine, never a reason to +skip the canonical instructions: fetch them from the URL above instead. + +