chore: specs for unimplemented work (#70)

This commit is contained in:
Nathan Flurry 2026-02-04 13:45:31 -08:00 committed by GitHub
parent ef3e811c94
commit 8a31519786
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 367 additions and 0 deletions

View file

@ -0,0 +1,21 @@
# Spec: Session Summarization + Todo
**Proposed API Changes**
- Add summarization and todo generation to the core session manager.
- Store summaries/todos as session artifacts with versioning.
**Summary**
OpenCode expects session summarize and todo endpoints backed by actual model output.
**OpenCode Endpoints (Reference)**
- `POST /opencode/session/{sessionID}/summarize`
- `GET /opencode/session/{sessionID}/todo`
**Core Functionality Required**
- Generate a summary using the selected model/provider.
- Store and return the latest summary (and optionally history).
- Generate and store todo items derived from session activity.
**OpenCode Compat Wiring + Tests**
- Replace stubs for `/session/{sessionID}/summarize` and `/session/{sessionID}/todo`.
- Add E2E tests validating summary content and todo list structure.