The session-manager already writes model, permissions, and restoredAt to metadata during spawn() and restore(), but writeMetadata() and readMetadata() silently dropped these fields during serialization. This caused session.metadata?.["model"] and session.metadata?.["permissions"] to always be undefined when reading back from disk, preventing restored sessions from preserving their original agent configuration. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| agent-orchestrator | ||
| cli | ||
| core | ||
| integration-tests | ||
| plugins | ||
| web | ||