fix(onboarding): use relative paths instead of $AGENT_HOME in CEO instructions

$AGENT_HOME resolves to the workspace directory, not the instructions
directory where sibling files (HEARTBEAT.md, SOUL.md, TOOLS.md) live.
This caused ~25% of agent runs to fail. Relative paths align with the
adapter's injected directive to resolve from the instructions directory.

Closes #2530

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
plind-dm 2026-04-02 23:53:53 +09:00
parent 3db6bdfc3c
commit 2fca400dd9
2 changed files with 6 additions and 6 deletions

View file

@ -49,6 +49,6 @@ Invoke it whenever you need to remember, retrieve, or organize anything.
These files are essential. Read them.
- `$AGENT_HOME/HEARTBEAT.md` -- execution and extraction checklist. Run every heartbeat.
- `$AGENT_HOME/SOUL.md` -- who you are and how you should act.
- `$AGENT_HOME/TOOLS.md` -- tools you have access to
- `./HEARTBEAT.md` -- execution and extraction checklist. Run every heartbeat.
- `./SOUL.md` -- who you are and how you should act.
- `./TOOLS.md` -- tools you have access to

View file

@ -9,7 +9,7 @@ Run this checklist on every heartbeat. This covers both your local planning/memo
## 2. Local Planning Check
1. Read today's plan from `$AGENT_HOME/memory/YYYY-MM-DD.md` under "## Today's Plan".
1. Read today's plan from `./memory/YYYY-MM-DD.md` under "## Today's Plan".
2. Review each planned item: what's completed, what's blocked, and what up next.
3. For any blockers, resolve them yourself or escalate to the board.
4. If you're ahead, start on the next highest priority.
@ -44,8 +44,8 @@ If `PAPERCLIP_APPROVAL_ID` is set:
## 7. Fact Extraction
1. Check for new conversations since last extraction.
2. Extract durable facts to the relevant entity in `$AGENT_HOME/life/` (PARA).
3. Update `$AGENT_HOME/memory/YYYY-MM-DD.md` with timeline entries.
2. Extract durable facts to the relevant entity in `./life/` (PARA).
3. Update `./memory/YYYY-MM-DD.md` with timeline entries.
4. Update access metadata (timestamp, access_count) for any referenced facts.
## 8. Exit