plan: provider trace spawn preservation

This commit is contained in:
Keisuke Hirata 2026-05-30 09:24:05 +09:00
parent f708c1ffbe
commit 31bd50137d
No known key found for this signature in database
2 changed files with 25 additions and 1 deletions

View File

@ -7,7 +7,7 @@ kind: task
priority: P2
labels: [pod, profile, session-trace, debuggability]
created_at: 2026-05-29T23:54:08Z
updated_at: 2026-05-29T23:54:08Z
updated_at: 2026-05-30T00:23:45Z
assignee: null
legacy_ticket: null
---

View File

@ -4,4 +4,28 @@
Created by tickets.sh create.
---
<!-- event: plan author: hare at: 2026-05-30T00:23:45Z -->
## Plan
Use the worktree + sibling coder/reviewer flow for this ticket.
Intent packet summary:
- Preserve `session.record_event_trace` through profile resolution and spawned-Pod manifest construction when the parent/profile enables it.
- Keep event trace opt-in; do not globally enable it by default.
- Treat `.trace.jsonl` as normalized provider stream/lifecycle diagnostics, not byte-for-byte raw SSE.
Implementation direction:
- Trace where `record_event_trace` is carried in profile-resolved manifests and where `SpawnPod` constructs hidden child spawn config.
- Fix the narrow point where the setting is dropped/defaulted.
- Add focused tests for profile/spawn config preserving `record_event_trace = true`.
- Add a small documentation/comment clarification for trace sidecar semantics.
Validation target:
- Focused manifest/pod tests covering the changed path.
- `./tickets.sh doctor` and `git diff --check`.
---