Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .claude/settings.local.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
"Bash(pkill -f \"wrangler\" 2>/dev/null; pkill -f \"vite\" 2>/dev/null; pkill -f \"npm run dev\" 2>/dev/null; echo \"killed\")",
"Bash(pkill -f \"wrangler\" 2>/dev/null || true; pkill -f \"vite\" 2>/dev/null || true; echo \"processes cleared\")",
"Bash(docker compose:*)",
"Bash(docker run:*)"
"Bash(docker run:*)",
"Bash(ls:*)"
]
}
}
13 changes: 7 additions & 6 deletions .wolf/anatomy.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# anatomy.md

> Auto-maintained by OpenWolf. Last scanned: 2026-04-27T09:27:38.664Z
> Files: 145 tracked | Anatomy hits: 0 | Misses: 0
> Auto-maintained by OpenWolf. Last scanned: 2026-04-27T13:19:12.118Z
> Files: 146 tracked | Anatomy hits: 0 | Misses: 0

## ../../../../../../../../home/brown/.claude/plans/

Expand All @@ -25,6 +25,7 @@
- `README.md` — Project documentation (~2817 tok)
- `tsconfig.json` — TypeScript configuration (~142 tok)
- `tsconfig.test.json` — /*.ts", (~140 tok)
- `WALKTHROUGH.md` — Walkthrough: Adding a DataTable Feature to a Plotly Dash App (~3316 tok)
- `wrangler.jsonc` (~392 tok)

## .claude/
Expand Down Expand Up @@ -186,11 +187,11 @@

## src/agents/

- `codegen.ts` — CodeGen Agent — generates new code from a natural language spec and file context. (~1739 tok)
- `review.ts` — Review Agent — performs code review, identifies bugs, suggests improvements. (~1914 tok)
- `codegen.ts` — CodeGen Agent — generates new code from a natural language spec and file context. (~1990 tok)
- `review.ts` — Review Agent — performs code review, identifies bugs, suggests improvements. (~2244 tok)
- `source.test.ts` — Agent source registry: each AgentType maps to the right embedded source (~404 tok)
- `source.ts` — Agent source code registry — returns the TypeScript source for each agent type. (~3610 tok)
- `test.ts` — Test Agent — writes and validates unit/integration tests. (~1898 tok)
- `source.ts` — Agent source code registry — returns the TypeScript source for each agent type. (~4536 tok)
- `test.ts` — Test Agent — writes and validates unit/integration tests. (~2197 tok)

## src/bindings/

Expand Down
96 changes: 96 additions & 0 deletions .wolf/buglog.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,102 @@
"related_bugs": [],
"occurrences": 1,
"last_seen": "2026-04-27T09:27:38.697Z"
},
{
"id": "bug-004",
"timestamp": "2026-04-27T13:10:04.224Z",
"error_message": "Function not marked async",
"file": "src/agents/source.ts",
"root_cause": "Function uses await but wasn't declared async",
"fix": "Added async modifier",
"tags": [
"auto-detected",
"async-fix",
"ts"
],
"related_bugs": [],
"occurrences": 2,
"last_seen": "2026-04-27T13:10:33.516Z"
},
{
"id": "bug-005",
"timestamp": "2026-04-27T13:10:20.750Z",
"error_message": "Null/undefined access in ",
"file": "src/agents/source.ts",
"root_cause": "Property access on potentially null/undefined value",
"fix": "Added null safety (optional chaining or null check)",
"tags": [
"auto-detected",
"null-safety",
"ts"
],
"related_bugs": [],
"occurrences": 1,
"last_seen": "2026-04-27T13:10:20.750Z"
},
{
"id": "bug-006",
"timestamp": "2026-04-27T13:10:47.486Z",
"error_message": "Function not marked async",
"file": "src/agents/codegen.ts",
"root_cause": "Function uses await but wasn't declared async",
"fix": "Added async modifier",
"tags": [
"auto-detected",
"async-fix",
"ts"
],
"related_bugs": [],
"occurrences": 1,
"last_seen": "2026-04-27T13:10:47.486Z"
},
{
"id": "bug-007",
"timestamp": "2026-04-27T13:10:55.677Z",
"error_message": "Null/undefined access in ",
"file": "src/agents/test.ts",
"root_cause": "Property access on potentially null/undefined value",
"fix": "Added null safety (optional chaining or null check)",
"tags": [
"auto-detected",
"null-safety",
"ts"
],
"related_bugs": [],
"occurrences": 1,
"last_seen": "2026-04-27T13:10:55.677Z"
},
{
"id": "bug-008",
"timestamp": "2026-04-27T13:11:05.864Z",
"error_message": "Significant refactor of ",
"file": "src/agents/test.ts",
"root_cause": "8 lines replaced/restructured",
"fix": "Rewrote 15→17 lines (8 removed)",
"tags": [
"auto-detected",
"refactor",
"ts"
],
"related_bugs": [],
"occurrences": 1,
"last_seen": "2026-04-27T13:11:05.864Z"
},
{
"id": "bug-009",
"timestamp": "2026-04-27T13:11:28.094Z",
"error_message": "Missing await",
"file": "src/agents/review.ts",
"root_cause": "Async call without await — returned Promise instead of value",
"fix": "Added await to async call",
"tags": [
"auto-detected",
"async-fix",
"ts"
],
"related_bugs": [],
"occurrences": 1,
"last_seen": "2026-04-27T13:11:28.094Z"
}
]
}
3 changes: 3 additions & 0 deletions .wolf/cerebrum.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@

- **Project:** agent-orchestrator
- **Description:** AI Agent Orchestration Platform on Cloudflare Dynamic Workers
- **Agent domain expertise:** All agents (CodeGen, Test, Review) are configured for Python + Plotly Dash + Flask + FastAPI + ClickHouse. System prompts updated in both `src/agents/source.ts` (runtime embedded strings) and the individual reference `.ts` files.
- **Two places to update agent prompts:** `source.ts` contains the actual runtime embedded source (escaped backticks as `\\\``). The individual `codegen.ts`, `test.ts`, `review.ts` files are typed reference implementations — both must be kept in sync.
- **Test framework detection:** TestAgent checks for `requirements.txt` / `pyproject.toml` first (→ pytest), then falls back to `package.json` (→ vitest/jest/mocha). Default is now `pytest`.

## Do-Not-Repeat

Expand Down
87 changes: 14 additions & 73 deletions .wolf/hooks/_session.json
Original file line number Diff line number Diff line change
@@ -1,82 +1,23 @@
{
"session_id": "session-2026-04-26-2002",
"started": "2026-04-26T19:02:51.922Z",
"session_id": "session-2026-04-28-1135",
"started": "2026-04-28T10:35:11.822Z",
"files_read": {
"/mnt/c/Users/brown/OneDrive/Documents/GitHub/dynamic-workers/docker-compose.dev.yml": {
"count": 2,
"tokens": 466,
"first_read": "2026-04-26T19:03:05.318Z"
},
"/mnt/c/Users/brown/OneDrive/Documents/GitHub/dynamic-workers/examples/task-ui/vite.config.ts": {
"/Users/davidbrown/Documents/GitHub/dynamic-workers/docker-compose.dev.yml": {
"count": 1,
"tokens": 172,
"first_read": "2026-04-26T19:03:05.974Z"
},
"/mnt/c/Users/brown/OneDrive/Documents/GitHub/dynamic-workers/Dockerfile": {
"count": 2,
"tokens": 478,
"first_read": "2026-04-27T07:51:53.686Z"
"tokens": 498,
"first_read": "2026-04-28T10:35:47.958Z"
},
"/mnt/c/Users/brown/OneDrive/Documents/GitHub/dynamic-workers/docker-compose.yml": {
"/Users/davidbrown/Documents/GitHub/dynamic-workers/.env.example": {
"count": 1,
"tokens": 231,
"first_read": "2026-04-27T09:25:05.130Z"
}
},
"files_written": [
{
"file": "/mnt/c/Users/brown/OneDrive/Documents/GitHub/dynamic-workers/examples/task-ui/Dockerfile",
"action": "create",
"tokens": 48,
"at": "2026-04-26T19:03:09.208Z"
},
{
"file": "/mnt/c/Users/brown/OneDrive/Documents/GitHub/dynamic-workers/examples/task-ui/.dockerignore",
"action": "create",
"tokens": 7,
"at": "2026-04-26T19:03:10.030Z"
},
{
"file": "/mnt/c/Users/brown/OneDrive/Documents/GitHub/dynamic-workers/examples/task-ui/vite.config.ts",
"action": "edit",
"tokens": 13,
"at": "2026-04-26T19:03:11.573Z"
},
{
"file": "/mnt/c/Users/brown/OneDrive/Documents/GitHub/dynamic-workers/docker-compose.dev.yml",
"action": "edit",
"tokens": 94,
"at": "2026-04-26T19:03:14.108Z"
},
{
"file": "/mnt/c/Users/brown/OneDrive/Documents/GitHub/dynamic-workers/docker-compose.dev.yml",
"action": "edit",
"tokens": 219,
"at": "2026-04-27T07:52:40.801Z"
},
{
"file": "/mnt/c/Users/brown/OneDrive/Documents/GitHub/dynamic-workers/Dockerfile",
"action": "edit",
"tokens": 46,
"at": "2026-04-27T09:25:57.511Z"
},
{
"file": "/mnt/c/Users/brown/OneDrive/Documents/GitHub/dynamic-workers/Dockerfile",
"action": "edit",
"tokens": 10,
"at": "2026-04-27T09:27:38.685Z"
"tokens": 0,
"first_read": "2026-04-28T10:36:11.277Z"
}
],
"edit_counts": {
"examples/task-ui/Dockerfile": 1,
"examples/task-ui/.dockerignore": 1,
"examples/task-ui/vite.config.ts": 1,
"docker-compose.dev.yml": 2,
"Dockerfile": 2
},
"anatomy_hits": 4,
"anatomy_misses": 0,
"repeated_reads_warned": 2,
"files_written": [],
"edit_counts": {},
"anatomy_hits": 1,
"anatomy_misses": 1,
"repeated_reads_warned": 0,
"cerebrum_warnings": 0,
"stop_count": 4
"stop_count": 2
}
22 changes: 22 additions & 0 deletions .wolf/memory.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,25 @@
| 10:27 | Edited Dockerfile | "/sbin/tini" → "/usr/bin/tini" | ~10 |
| 10:30 | Session end: 7 writes across 4 files (Dockerfile, .dockerignore, vite.config.ts, docker-compose.dev.yml) | 4 reads | ~1784 tok |
| 10:30 | Session end: 7 writes across 4 files (Dockerfile, .dockerignore, vite.config.ts, docker-compose.dev.yml) | 4 reads | ~1784 tok |
| 14:10 | Edited src/agents/source.ts | expanded (+6 lines) | ~406 |
| 14:10 | Edited src/agents/source.ts | added 1 condition(s) | ~592 |
| 14:10 | Edited src/agents/source.ts | 9→12 lines | ~498 |
| 14:10 | Edited src/agents/codegen.ts | expanded (+6 lines) | ~378 |
| 14:10 | Edited src/agents/test.ts | added 1 condition(s) | ~240 |
| 14:11 | Edited src/agents/test.ts | 15→17 lines | ~364 |
| 14:11 | Edited src/agents/review.ts | 8→11 lines | ~450 |
| 14:12 | Configured all agents as Python/Dash/Flask/FastAPI/ClickHouse experts | src/agents/source.ts, codegen.ts, test.ts, review.ts | Updated system prompts in runtime embedded source + reference implementations; pytest detection added | ~400 |
| 14:13 | Session end: 14 writes across 8 files (Dockerfile, .dockerignore, vite.config.ts, docker-compose.dev.yml, source.ts) | 9 reads | ~15581 tok |
| 14:19 | Created WALKTHROUGH.md | — | ~3538 |
| 14:21 | Created WALKTHROUGH.md — end-to-end Task UI guide for adding Dash DataTable feature | WALKTHROUGH.md | 12-step guide covering form fields, live logs, review panel, approve/revise/reject, test agent follow-up, usage sidebar | ~300 |
| 14:21 | Session end: 15 writes across 9 files (Dockerfile, .dockerignore, vite.config.ts, docker-compose.dev.yml, source.ts) | 15 reads | ~33395 tok |

## Session: 2026-04-28 11:24

| Time | Action | File(s) | Outcome | ~Tokens |
|------|--------|---------|---------|--------|

## Session: 2026-04-28 11:35

| Time | Action | File(s) | Outcome | ~Tokens |
|------|--------|---------|---------|--------|
Loading