summaryrefslogtreecommitdiff
path: root/.agent/worklog.md
diff options
context:
space:
mode:
Diffstat (limited to '.agent/worklog.md')
-rw-r--r--.agent/worklog.md58
1 files changed, 58 insertions, 0 deletions
diff --git a/.agent/worklog.md b/.agent/worklog.md
new file mode 100644
index 0000000..89425f7
--- /dev/null
+++ b/.agent/worklog.md
@@ -0,0 +1,58 @@
+# Worklog
+
+## Current Task Goal
+None — ready for next story.
+
+## Status: IDLE
+
+---
+
+## Completed: Claudomator UI behind Doot auth ✅
+`Browser → Apache (SSL) → Doot :38080 → [session auth] → Claudomator :8484`
+- Doot: `ClaudomatorURL` config, reverse proxy handler (HTTP + WS), CSRF restructure, auth gate — commit `2db5020`
+- Apache: claudomator proxy rules removed
+---
+
+## ADR-007 — Epic→Story→Task hierarchy
+
+### Status
+
+| # | Feature | Status | Commit / Task |
+|---|---------|--------|---------------|
+| 1 | Project registry | ✅ DONE | Phase 2 |
+| 2 | Stories data model + API | ✅ DONE | 5081b0c |
+| 3 | Story elaboration + approve flow | ✅ DONE | 8125e9b4 (agent) |
+| 4 | Auto-wired depends_on | ✅ DONE | Phase 3 |
+| 5 | ContainerRunner story branch clone | ✅ DONE | e395499 + 407fbc8 |
+| 6 | Auto-SHIPPABLE (checkStoryCompletion) | ✅ DONE | b2e7700 (agent) |
+| 7 | Deploy trigger SHIPPABLE → DEPLOYED | ✅ DONE | 78a98433 (agent) |
+| 7a | Merge story branch before deploy | ✅ DONE | 4a47ec3 |
+| 8 | Post-deploy validation subtask | ✅ DONE | agent |
+| 9 | Validation → REVIEW_READY / NEEDS_FIX | ✅ DONE | dfadaf8 (fb9467c1) |
+| 10 | Doot integration (SourceClaudomator, atoms) | ✅ DONE | 6b2c052c (agent) |
+
+### Key Files Changed (Phases 1–5)
+
+#### Claudomator
+- `internal/task/project.go` — Project struct
+- `internal/task/story.go` — Story struct + ValidStoryTransition
+- `internal/task/task.go` — removed Agent.ProjectDir/RepositoryURL/SkipPlanning
+- `internal/storage/db.go` — projects + stories tables, CRUD
+- `internal/storage/seed.go` — SeedProjects
+- `internal/api/projects.go`, `stories.go`, `elaborate.go` — handlers
+- `internal/executor/executor.go` — GetProject on Store interface, RepositoryURL resolution
+- `internal/cli/serve.go` — SeedProjects at startup
+
+#### Doot
+- Bug feature removed entirely (models, handlers, store, routes, template, migration)
+- `internal/models/atom.go` — SourceBug, TypeBug, TypeNote, BugToAtom removed
+
+---
+
+## Backlog
+
+| Item | Notes |
+|------|-------|
+| Show project on tasks in UI | Task cards don't currently surface the `project` field |
+| Log streaming reliability | Needs discussion — current chunked HTTP has issues; options include SSE, WebSocket, or polling |
+| `claudomator tail` CLI command | Like `tail -f` for a running task's logs; complement to the web log viewer |