diff --git a/CONTEXT.md b/CONTEXT.md index e83403c..1e86424 100644 --- a/CONTEXT.md +++ b/CONTEXT.md @@ -2,7 +2,7 @@ > Relevant knowledge from OpenBrain. -### 1. go-session [convention] (score: 0.636) +## 1. go-session [convention] (score: 0.636) Documentation @@ -10,14 +10,14 @@ Documentation - `/Users/snider/Code/go-session/docs/development.md` — prerequisites, build/test commands, test patterns, coding standards - `/Users/snider/Code/go-session/docs/history.md` — completed phases, known limitations, future considerations -### 2. go-session [service] (score: 0.604) +## 2. go-session [service] (score: 0.604) [go-session] Pages - [[Session-Format]] -- JSONL structure, parsing logic, and event types - [[Rendering]] -- HTML timeline and MP4 video output -### 3. go-session [service] (score: 0.563) +## 3. go-session [service] (score: 0.563) [go-session] Core Types @@ -45,7 +45,7 @@ type Event struct { } ``` -### 4. go-session [service] (score: 0.560) +## 4. go-session [service] (score: 0.560) [go-session] Installation @@ -53,7 +53,7 @@ type Event struct { go get forge.lthn.ai/core/go-session@latest ``` -### 5. go-session [service] (score: 0.557) +## 5. go-session [service] (score: 0.557) [go-session] API Summary @@ -65,7 +65,7 @@ go get forge.lthn.ai/core/go-session@latest | `RenderHTML(sess, path)` | Generate self-contained HTML timeline | | `RenderMP4(sess, path)` | Generate MP4 video via VHS (Charmbracelet) | -### 6. go-session [service] (score: 0.536) +## 6. go-session [service] (score: 0.536) [go-session] Prerequisites @@ -73,7 +73,7 @@ go get forge.lthn.ai/core/go-session@latest go install github.com/charmbracelet/vhs@latest ``` -### 7. go-session [service] (score: 0.524) +## 7. go-session [service] (score: 0.524) [go-session] Quick Start @@ -103,7 +103,7 @@ func main() { } ``` -### 8. go-session [service] (score: 0.523) +## 8. go-session [service] (score: 0.523) [go-session] Usage @@ -118,7 +118,7 @@ if err := session.RenderMP4(sess, "output/session.mp4"); err != nil { } ``` -### 9. go-session [service] (score: 0.520) +## 9. go-session [service] (score: 0.520) [go-session] Tape Configuration @@ -135,7 +135,7 @@ Shell bash See also: [[Home]] | [[Session-Format]] -### 10. go-session [service] (score: 0.509) +## 10. go-session [service] (score: 0.509) [go-session] Rendering diff --git a/RECENT.md b/RECENT.md index 7e28fb2..0aaac1e 100644 --- a/RECENT.md +++ b/RECENT.md @@ -1,6 +1,7 @@ # Recent Changes -``` +```text +55ceab4 refactor(error-handling): replace fmt.Errorf and errors.New with coreerr.E() a07e41a chore: add .core/ and .idea/ to .gitignore 50d1c3f docs: add CLAUDE.md project instructions bc3cc42 docs: add human-friendly documentation @@ -20,5 +21,4 @@ cb7b5de chore: sync workspace dependency versions 8e91626 docs: mark Phase 3 timeline UI as complete 9b32678 docs(todo): mark Phase 1+2 complete with commit hash a6fb934 a6fb934 feat(parser): Phase 1+2 — parse stats, truncation detection, session analytics -c798d9d docs: flesh out Phase 1+2 task specs for parser robustness and analytics ``` diff --git a/kb/Rendering.md b/kb/Rendering.md index 7d897ae..f0a6686 100644 --- a/kb/Rendering.md +++ b/kb/Rendering.md @@ -92,7 +92,7 @@ if err := session.RenderMP4(sess, "output/session.mp4"); err != nil { The generated tape uses these defaults: -``` +```text FontSize 16 Width 1400 Height 800 diff --git a/specs/TASK_PROTOCOL.md b/specs/TASK_PROTOCOL.md index dd11c73..03db189 100644 --- a/specs/TASK_PROTOCOL.md +++ b/specs/TASK_PROTOCOL.md @@ -25,7 +25,7 @@ Separation of concerns: ## Directory Structure -``` +```text doc/ ├── TASK_PROTOCOL.md # This file └── ... # Reference documentation @@ -211,7 +211,7 @@ Human reviews verified task: ### For Implementation Agents -``` +```text You are implementing TASK-XXX. 1. Read the full task file @@ -228,7 +228,7 @@ Your job is to do the work, not to verify it. ### For Verification Agents -``` +```text You are verifying TASK-XXX. 1. Read the full task file @@ -249,7 +249,7 @@ You are the gatekeeper. Be thorough. Trust nothing the implementation agent said ## Status Flow -``` +```text draft → ready → in_progress → needs_verification → verified → approved ↑ │ └────────────────────┘ @@ -341,7 +341,7 @@ Standard acceptance criteria: When phases are independent, fire agents simultaneously: -``` +```text Human: "Implement phases 1-4 in parallel" Agent fires 4 Task tools simultaneously: @@ -353,7 +353,7 @@ Agent fires 4 Task tools simultaneously: ### Agent Prompt Template -``` +```text You are implementing Phase X of TASK-XXX: [Task Title] Read the task file at: tasks/TASK-XXX-feature-name.md @@ -383,7 +383,7 @@ Do NOT mark acceptance criteria as passed — verification agent does that. ### Wave Execution Example -``` +```text Wave 1 (parallel): Phases 1, 2, 3, 4 ↓ (all complete) Wave 2 (parallel): Phases 5, 6, 7, 8 @@ -518,7 +518,7 @@ For large phased tasks, extend the schema: When implemented, the MCP endpoint will expose: -``` +```text GET /tasks # List all tasks with status GET /tasks/{id} # Get task details POST /tasks/{id}/claim # Agent claims a task