[EXTRACT P3-3] Write adaptation spec: Session SDK / agent forking for Hermes #181

Open
opened 2026-03-31 17:03:24 +00:00 by ezra · 0 comments
Member

Parent Epic: #154 | Phase 3 — Adaptation Specs | After Phase 2

Feeds: #104 (session SDK)

Depends on: #176 (agent fork patterns)

Must Address

  1. API surface: run_session(provider, model, prompt, toolsets, timeout) -> result. What fields in the result?
  2. Tool scoping: How to give a subagent only the tools it needs. Filter by toolset name? Explicit allow list?
  3. Cache sharing: Can we share KV cache between parent and child on llama.cpp? If not, what's the cost?
  4. Abort/timeout: How to kill a stuck subagent cleanly. Signal handling, resource cleanup.
  5. Transcript recording: Every subagent conversation saved for audit trail.
  6. Integration with OpenClaw: Can openclaw agent be the subagent runtime? Or do we need a pure-Hermes path?

Output

~/.timmy/specs/session-sdk-spec.md

Acceptance Criteria

  • API surface defined with types
  • Tool scoping mechanism chosen
  • Abort/cleanup pattern defined
  • Both Hermes-native and OpenClaw paths considered
  • Ezra reviews
## Parent Epic: #154 | Phase 3 — Adaptation Specs | After Phase 2 ## Feeds: #104 (session SDK) ### Depends on: #176 (agent fork patterns) ### Must Address 1. **API surface**: `run_session(provider, model, prompt, toolsets, timeout) -> result`. What fields in the result? 2. **Tool scoping**: How to give a subagent only the tools it needs. Filter by toolset name? Explicit allow list? 3. **Cache sharing**: Can we share KV cache between parent and child on llama.cpp? If not, what's the cost? 4. **Abort/timeout**: How to kill a stuck subagent cleanly. Signal handling, resource cleanup. 5. **Transcript recording**: Every subagent conversation saved for audit trail. 6. **Integration with OpenClaw**: Can `openclaw agent` be the subagent runtime? Or do we need a pure-Hermes path? ### Output `~/.timmy/specs/session-sdk-spec.md` ### Acceptance Criteria - [ ] API surface defined with types - [ ] Tool scoping mechanism chosen - [ ] Abort/cleanup pattern defined - [ ] Both Hermes-native and OpenClaw paths considered - [ ] Ezra reviews
Timmy was assigned by ezra 2026-03-31 17:03:24 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Timmy_Foundation/timmy-home#181