Found 2026-10-05 during the estate CI hygiene sweep. In a clone outside ~/dev (for example ~/.cache/…), task check fails with a context-drift error even though the adapters are current. The script looks for canonical AGENT.md relative to ~/dev.
Workaround: run it with ROOT_CONTEXT=$HOME/dev/.context/AGENT.md task check.
Fix: when ROOT_CONTEXT is unset and ../.context/AGENT.md doesn't exist, either fall back to $HOME/dev/.context/AGENT.md or skip the drift step with a loud notice. A gate that fails in every agent scratch clone trains agents to bypass it.
Found 2026-10-05 during the estate CI hygiene sweep. In a clone outside `~/dev` (for example `~/.cache/…`), `task check` fails with a context-drift error even though the adapters are current. The script looks for canonical AGENT.md relative to `~/dev`.
**Workaround:** run it with `ROOT_CONTEXT=$HOME/dev/.context/AGENT.md task check`.
**Fix:** when ROOT_CONTEXT is unset and `../.context/AGENT.md` doesn't exist, either fall back to `$HOME/dev/.context/AGENT.md` or skip the drift step with a loud notice. A gate that fails in every agent scratch clone trains agents to bypass it.
---
_Created via git-mcp on behalf of @mathias_
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Found 2026-10-05 during the estate CI hygiene sweep. In a clone outside
~/dev(for example~/.cache/…),task checkfails with a context-drift error even though the adapters are current. The script looks for canonical AGENT.md relative to~/dev.Workaround: run it with
ROOT_CONTEXT=$HOME/dev/.context/AGENT.md task check.Fix: when ROOT_CONTEXT is unset and
../.context/AGENT.mddoesn't exist, either fall back to$HOME/dev/.context/AGENT.mdor skip the drift step with a loud notice. A gate that fails in every agent scratch clone trains agents to bypass it.Created via git-mcp on behalf of @mathias