chore(harness): add mandatory pre-flight guard for working directory
- Require absolute-path existence check for AGENT_INSTRUCTIONS.md and TODO.md - Fail fast with STUCK if harness files missing - Prevent repeated bad-working-dir iterations
This commit is contained in:
parent
3987083e46
commit
37b17f7284
|
|
@ -9,6 +9,15 @@
|
|||
|
||||
### 1. Orientation First
|
||||
Every time you wake up (new session):
|
||||
|
||||
**PRE-FLIGHT GUARD (mandatory):**
|
||||
- Verify these files exist at absolute path `/home/paulh/.openclaw/workspace/projects/recipe-manager/`:
|
||||
- `AGENT_INSTRUCTIONS.md`
|
||||
- `TODO.md`
|
||||
- If either is missing, stop immediately and report:
|
||||
- `STUCK: bad working dir or missing harness files at /home/paulh/.openclaw/workspace/projects/recipe-manager`
|
||||
|
||||
Then continue orientation:
|
||||
1. Read `PROJECT.md` — What are we building?
|
||||
2. Read `ARCHITECTURE.md` — How are we building it?
|
||||
3. Read `ROADMAP.md` — What's next?
|
||||
|
|
|
|||
Loading…
Reference in New Issue