fix(persistence): preserve subagent session origin

This commit is contained in:
imccyu
2026-08-01 09:41:52 +08:00
committed by Tianyi Cui
parent 9d77a50c23
commit d950150cdc
30 changed files with 53 additions and 36 deletions
@@ -168,6 +168,7 @@ describe('rowToMeta', () => {
cwd: null,
parent_session: null,
seed_length: null,
origin: null,
incarnation: 'fractional',
revision: 1,
delegation_depth: null,
@@ -609,7 +610,7 @@ describe('SessionPersistenceSqlite: durability and crash semantics', () => {
})
it('exposes the schema version constant', () => {
expect(SCHEMA_VERSION).toBe(12)
expect(SCHEMA_VERSION).toBe(13)
})
it('keeps the revision stable for an empty repair hook', async () => {