docs(workspace): document omo workspace paths
This commit is contained in:
@@ -31,7 +31,7 @@ description: Developer reference for the Prometheus strategic planner agent —
|
||||
- May ONLY create/edit `.md` files (enforced by hook)
|
||||
- FORBIDDEN paths: `src/`, `package.json`, config files
|
||||
- Must explore codebase before planning (NEVER plan blind)
|
||||
- Plans saved to `.sisyphus/plans/`
|
||||
- Plans saved to `.omo/plans/`
|
||||
- Acceptance criteria requiring "user manually tests" are FORBIDDEN
|
||||
|
||||
## PLAN OUTPUT FORMAT
|
||||
|
||||
+1
-1
@@ -16,7 +16,7 @@ Commander.js CLI with 7 commands. Entry: `index.ts` → `runCli()` in `cli-progr
|
||||
| `get-local-version` | Version detection | Installed vs npm latest |
|
||||
| `mcp-oauth` | OAuth token management | login (PKCE), logout, status |
|
||||
| `refresh-model-capabilities` | Refresh models.dev cache | Model capabilities refresh |
|
||||
| `boulder` | Boulder state inspector | Format work-state + tasks from `.sisyphus/boulder-state/` |
|
||||
| `boulder` | Boulder state inspector | Format work-state + tasks from `.omo/boulder-state/` |
|
||||
|
||||
## STRUCTURE
|
||||
|
||||
|
||||
@@ -36,7 +36,7 @@ interface Task {
|
||||
|
||||
## STORAGE
|
||||
|
||||
- Location: `.sisyphus/tasks/` directory
|
||||
- Location: `.omo/tasks/` directory
|
||||
- Format: JSON files, one per task
|
||||
- Atomic writes: temp file → rename
|
||||
- Locking: file-based lock for concurrent access
|
||||
|
||||
@@ -42,7 +42,7 @@ session.idle event
|
||||
| `session-last-agent.ts` | Determine which agent owns the session |
|
||||
| `recent-model-resolver.ts` | Resolve model used in recent messages |
|
||||
| `subagent-session-id.ts` | Detect if session is a subagent session |
|
||||
| `sisyphus-path.ts` | Resolve `.sisyphus/` directory path |
|
||||
| `omo-path.ts` | Resolve `.omo/` directory path |
|
||||
| `is-abort-error.ts` | Detect abort signals in session output |
|
||||
| `types.ts` | `SessionState`, `AtlasHookOptions`, `AtlasContext` |
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
|
||||
```
|
||||
/ralph-loop → startLoop(sessionID, prompt, options)
|
||||
→ loopState.startLoop() → persists state to .sisyphus/ralph-loop.local.md
|
||||
→ loopState.startLoop() → persists state to .omo/ralph-loop.local.md
|
||||
→ session.idle events → createRalphLoopEventHandler()
|
||||
→ completionPromiseDetector: scan output for <promise>DONE</promise>
|
||||
→ if not done: inject continuation prompt → loop
|
||||
@@ -28,7 +28,7 @@
|
||||
| `completion-promise-detector.ts` | Scan session transcript for `<promise>DONE</promise>` |
|
||||
| `continuation-prompt-builder.ts` | Build continuation message for next iteration |
|
||||
| `continuation-prompt-injector.ts` | Inject built prompt into active session |
|
||||
| `storage.ts` | Read/write `.sisyphus/ralph-loop.local.md` state file |
|
||||
| `storage.ts` | Read/write `.omo/ralph-loop.local.md` state file |
|
||||
| `message-storage-directory.ts` | Temp dir for prompt injection |
|
||||
| `with-timeout.ts` | API call wrapper with timeout (default 5000ms) |
|
||||
| `types.ts` | `RalphLoopState`, `RalphLoopOptions`, loop iteration types |
|
||||
@@ -36,7 +36,7 @@
|
||||
## STATE FILE
|
||||
|
||||
```
|
||||
.sisyphus/ralph-loop.local.md (gitignored)
|
||||
.omo/ralph-loop.local.md (gitignored)
|
||||
→ sessionID, prompt, iteration count, maxIterations, completionPromise, ultrawork flag
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user