Problem
The audit (#850 lens 0b, standalone finding): the live hub's staged AGENTS.md — the system prompt every session on erlich reads — hardcodes macOS paths (/Users/aaron/…, ×4 occurrences) on a Linux hub. Agents following the workflow literally resolve wrong paths (the staged bundle's own home is /home/aaron/…). It predates the Aug-28 role move to erlich and survived it.
Approach
Find the staged server AGENTS.md's source root in this repo (the staging pipeline's source of record — not the deployed copy at ~/.amico/server/…), fix the four /Users/aaron/… occurrences to the platform-correct paths (or to the config-derived home resolution the rest of the bundle uses), and add the deployment-side check that would have caught it: the staging build (or the doctor) asserts the staged AGENTS.md contains no /Users/ paths when the target host is Linux. Deploy the fixed staging on erlich after merge.
Acceptance criteria
Source
Part of #852 (the audit's standalone bug — fixable independently of the sunset itself). No blockers.
Problem
The audit (#850 lens 0b, standalone finding): the live hub's staged AGENTS.md — the system prompt every session on erlich reads — hardcodes macOS paths (
/Users/aaron/…, ×4 occurrences) on a Linux hub. Agents following the workflow literally resolve wrong paths (the staged bundle's own home is/home/aaron/…). It predates the Aug-28 role move to erlich and survived it.Approach
Find the staged server AGENTS.md's source root in this repo (the staging pipeline's source of record — not the deployed copy at
~/.amico/server/…), fix the four/Users/aaron/…occurrences to the platform-correct paths (or to the config-derived home resolution the rest of the bundle uses), and add the deployment-side check that would have caught it: the staging build (or the doctor) asserts the staged AGENTS.md contains no/Users/paths when the target host is Linux. Deploy the fixed staging on erlich after merge.Acceptance criteria
/Users/aaronoccurrences in the staged AGENTS.md source in this repo./Users/path on a Linux-targeted staging fails the check).Source
Part of #852 (the audit's standalone bug — fixable independently of the sunset itself). No blockers.