Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
352 commits
Select commit Hold shift + click to select a range
3b74071
Merge remote-tracking branch 'origin/main' into refactor/p424-bus-his…
trissim Oct 21, 2026
1cc78ea
Pass declared Carry runs and stage every history source in install sp…
trissim Oct 21, 2026
fdd3754
Merge remote-tracking branch 'origin/main' into feat/p419-bus-history…
trissim Oct 21, 2026
a1a8d98
Merge remote-tracking branch 'origin/main' into refactor/p437-bus-res…
trissim Oct 21, 2026
623a234
Integrate shared reader scopes and prepare crash-test workers before …
trissim Oct 21, 2026
1e92c54
Integrate main publisher declarations and keep publication content fr…
trissim Oct 21, 2026
c1af82e
Keep obsolete wire-budget deletion while integrating current main
trissim Oct 21, 2026
10c342c
Merge remote-tracking branch 'origin/main' into refactor/p410-one-bus…
trissim Oct 21, 2026
5682279
Keep the writer absence pattern from matching its own declaration
trissim Oct 21, 2026
8323e75
Merge remote-tracking branch 'origin/main' into feat/p419-bus-history…
trissim Oct 21, 2026
2241d6a
Distinguish fresh SQLite buses from missing staged history
trissim Oct 21, 2026
35ef733
Merge remote-tracking branch 'origin/refactor/p437-bus-resource-claim…
trissim Oct 21, 2026
957f2e4
Resolve keyed response replays through the bounded Bus publication index
trissim Oct 21, 2026
492fb32
Merge remote-tracking branch 'origin/main' into refactor/p424-bus-his…
trissim Oct 21, 2026
968265d
Merge remote-tracking branch 'origin/fix/p412-file-bus-filebus' into …
trissim Oct 21, 2026
4a64347
Merge remote-tracking branch 'origin/main' into feat/p419-bus-history…
trissim Oct 21, 2026
234e66c
Merge origin/main into P415 watched bus
trissim Oct 21, 2026
4a71b19
Merge remote-tracking branch 'origin/main' into refactor/p410-one-bus…
trissim Oct 21, 2026
c2d0e93
Integrate shared human-send error family without unknown outcome
trissim Oct 21, 2026
0c5ab28
Index reply existence by exact original and frozen author
trissim Oct 21, 2026
c0557bc
Merge remote-tracking branch 'origin/main' into refactor/p424-bus-his…
trissim Oct 21, 2026
563a9df
P412 checkpoint: derive activity and route projections in bus transac…
trissim Oct 21, 2026
6757a04
Merge remote-tracking branch 'origin/refactor/p437-bus-resource-claim…
trissim Oct 21, 2026
d18ba0f
Merge remote-tracking branch 'origin/main' into fix/p412-file-bus-fil…
trissim Oct 21, 2026
1c594c1
Publish recipient-scoped candidate wakes and remove shared input watches
trissim Oct 21, 2026
9b02844
P412: remove separate projection preparation from readers
trissim Oct 21, 2026
55078f0
Merge remote-tracking branch 'origin/refactor/p424-bus-history-seq' i…
trissim Oct 21, 2026
a0c14b5
Merge remote-tracking branch 'origin/refactor/p410-one-bus-writer' in…
trissim Oct 21, 2026
d2d0227
Merge remote-tracking branch 'origin/refactor/p426-wake-delivery-seq'…
trissim Oct 21, 2026
493e35e
Merge remote-tracking branch 'origin/main' into refactor/p426-wake-de…
trissim Oct 21, 2026
4db9782
Merge remote-tracking branch 'origin/main' into refactor/p426-wake-de…
trissim Oct 21, 2026
0693740
Merge remote-tracking branch 'origin/refactor/p410-one-bus-writer' in…
trissim Oct 21, 2026
b28406d
Merge remote-tracking branch 'origin/refactor/p424-bus-history-seq' i…
trissim Oct 21, 2026
d14e331
Merge remote-tracking branch 'origin/main' into fix/p412-file-bus-fil…
trissim Oct 21, 2026
d2d7fe5
Remove root wire locks from activity channels and relationships
trissim Oct 21, 2026
2d09f42
Prove recipient-only native wake and delete obsolete tick snapshot test
trissim Oct 21, 2026
de59806
Delete unused reply projection and unconsumed API
trissim Oct 21, 2026
e26fd6b
Merge remote-tracking branch 'origin/main' into refactor/p424-bus-his…
trissim Oct 21, 2026
5f4d407
Make commit sources shared and delete the old wire watcher
trissim Oct 21, 2026
1dadfc0
Integrate main human-send error family without restoring file-bus errors
trissim Oct 21, 2026
25db1c4
Integrate current BusReader and retain shared commit notifications
trissim Oct 21, 2026
090ab6c
Merge remote-tracking branch 'origin/main' into feat/p415-watched-bus
trissim Oct 21, 2026
e4b5fb0
Verify committed room release wakes the native waiter
trissim Oct 21, 2026
9cf2e34
Merge remote-tracking branch 'origin/refactor/p410-one-bus-writer' in…
trissim Oct 21, 2026
4aba95e
Merge remote-tracking branch 'origin/feat/p415-watched-bus' into refa…
trissim Oct 21, 2026
39b8072
Preserve committed outcome for every notification failure
trissim Oct 21, 2026
695d298
Merge remote-tracking branch 'origin/refactor/p426-wake-delivery-seq'…
trissim Oct 21, 2026
e045364
Use store-owned goal and tag writes and SQLite export snapshots
trissim Oct 21, 2026
6d5d422
Merge remote-tracking branch 'origin/refactor/p424-bus-history-seq' i…
trissim Oct 21, 2026
bc478e8
Scope shared-file derived resets to their declared tables
trissim Oct 21, 2026
8bd953d
Restore W human-send failure hierarchy and delete unused initial error
trissim Oct 21, 2026
febd32e
Merge remote-tracking branch 'origin/main' into refactor/p424-bus-his…
trissim Oct 21, 2026
db616bb
Merge remote-tracking branch 'origin/main' into feat/p419-bus-history…
trissim Oct 21, 2026
bce9956
Merge remote-tracking branch 'origin/main' into feat/p419-bus-history…
trissim Oct 21, 2026
386622d
Merge remote-tracking branch 'origin/feat/p415-watched-bus' into refa…
trissim Oct 21, 2026
156e717
Merge remote-tracking branch 'origin/main' into refactor/p426-wake-de…
trissim Oct 21, 2026
1b87769
Merge remote-tracking branch 'origin/refactor/p424-bus-history-seq' i…
trissim Oct 21, 2026
fe240e0
Remove root wire locks from input and goal lifecycles
trissim Oct 21, 2026
55015dc
Merge remote-tracking branch 'origin/main' into fix/p412-file-bus-fil…
trissim Oct 21, 2026
1e71ee9
Keep refused human send inheritance consistent with writer
trissim Oct 21, 2026
e6bf176
Carry staged history through declared typed record families
trissim Oct 21, 2026
b0156ee
Keep one publication snapshot declaration after W integration
trissim Oct 21, 2026
6a41c2f
Derive wake candidates from committed recipient SQL index and delete …
trissim Oct 21, 2026
f76d3c5
Merge remote-tracking branch 'origin/main' into fix/p412-file-bus-fil…
trissim Oct 21, 2026
315a0f1
fix(bus): derive delivery candidates from frozen recipients
trissim Oct 21, 2026
f00aee0
refactor(owners): reserve launches in registry without wire locks
trissim Oct 21, 2026
5793677
Merge remote-tracking branch 'origin/refactor/p424-bus-history-seq' i…
trissim Oct 21, 2026
6c9c759
Merge remote-tracking branch 'origin/refactor/p426-wake-delivery-seq'…
trissim Oct 21, 2026
165f381
Merge remote-tracking branch 'origin/feat/p415-watched-bus' into fix/…
trissim Oct 21, 2026
f235f90
Merge remote-tracking branch 'origin/main' into refactor/p410-one-bus…
trissim Oct 21, 2026
8fdd80a
Install Bus schema outside ordinary attachment and replay derived rows
trissim Oct 21, 2026
5c1b376
Merge remote-tracking branch 'origin/main' into refactor/p424-bus-his…
trissim Oct 21, 2026
e93e094
Merge remote-tracking branch 'origin/feat/p415-watched-bus' into refa…
trissim Oct 21, 2026
469c97b
Merge remote-tracking branch 'origin/refactor/p426-wake-delivery-seq'…
trissim Oct 21, 2026
5915ed6
Merge remote-tracking branch 'origin/refactor/p410-one-bus-writer' in…
trissim Oct 21, 2026
cc54462
Merge remote-tracking branch 'origin/main' into feat/p419-bus-history…
trissim Oct 21, 2026
bad9e13
Merge remote-tracking branch 'origin/main' into refactor/p426-wake-de…
trissim Oct 21, 2026
50d168c
Merge remote-tracking branch 'origin/refactor/p410-one-bus-writer' in…
trissim Oct 21, 2026
860f033
Merge remote-tracking branch 'origin/refactor/p424-bus-history-seq' i…
trissim Oct 21, 2026
f98ea73
Share installed Bus setup across record and recipient tests
trissim Oct 21, 2026
d9cec9b
Merge remote-tracking branch 'origin/main' into fix/p412-file-bus-fil…
trissim Oct 21, 2026
dce938a
Merge remote-tracking branch 'origin/refactor/p410-one-bus-writer' in…
trissim Oct 21, 2026
9a36928
Merge remote-tracking branch 'origin/refactor/p424-bus-history-seq' i…
trissim Oct 21, 2026
78bb76c
Merge commit '8fdd80a716e636da952ff3652830b26722c4523e' into feat/p41…
trissim Oct 21, 2026
37a81a8
Merge remote-tracking branch 'origin/main' into feat/p419-bus-history…
trissim Oct 21, 2026
ae073e7
Merge remote-tracking branch 'origin/main' into refactor/p424-bus-his…
trissim Oct 21, 2026
ce8bce2
Install fresh B1 fixture buses explicitly and delete obsolete worker …
trissim Oct 21, 2026
8749e73
Merge remote-tracking branch 'origin/main' into refactor/p426-wake-de…
trissim Oct 21, 2026
02d2531
Merge remote-tracking branch 'origin/refactor/p424-bus-history-seq' i…
trissim Oct 21, 2026
7d3d613
Classify only change-file OS failures as notification errors
trissim Oct 21, 2026
1058447
Merge remote-tracking branch 'origin/main' into feat/p415-watched-bus
trissim Oct 21, 2026
9acaf18
Delete UnknownDeliveryFailure: nothing constructs it once HumanInitia…
claude Oct 21, 2026
fee622f
refactor(bus): delete checkpoint modules and read standing asks from SQL
trissim Oct 21, 2026
c62cfe5
Merge remote-tracking branch 'origin/main' into fix/p412-file-bus-fil…
trissim Oct 21, 2026
45d9d63
Merge remote-tracking branch 'origin/fix/p412-file-bus-filebus' into …
trissim Oct 21, 2026
2f179a2
Merge remote-tracking branch 'origin/main' into refactor/p426-wake-de…
trissim Oct 21, 2026
bfd1319
Merge remote-tracking branch 'origin/refactor/p424-bus-history-seq' i…
trissim Oct 21, 2026
6ab7a90
Check actual recipient watch against ordinary committed appends
trissim Oct 21, 2026
e45818b
Merge remote-tracking branch 'origin/fix/p412-file-bus-filebus' into …
trissim Oct 21, 2026
fcf666e
refactor(bus): read goal directives and order evidence from bus records
trissim Oct 21, 2026
f7ad315
Keep history identities intact until installation acceptance
trissim Oct 21, 2026
a2cf1f7
Merge remote-tracking branch 'origin/main' into feat/p419-bus-history…
trissim Oct 21, 2026
2881c9d
Own schema installation in TableSchema and migrate fresh bus bootstrap
trissim Oct 21, 2026
1f8ebd9
Merge remote-tracking branch 'origin/refactor/p424-bus-history-seq' i…
trissim Oct 21, 2026
4b89a74
Merge remote-tracking branch 'origin/main' into refactor/p424-bus-his…
trissim Oct 21, 2026
aee5ea7
Merge commit 'c62cfe5146a77279f1f4d8b8a1259148cd693b9e' into refactor…
trissim Oct 21, 2026
f0afef6
Commit participant registrations before ordinary bus publication
trissim Oct 21, 2026
6d6b13d
refactor(bus): read standby review from frozen source projections
trissim Oct 21, 2026
2b69d29
Merge commit 'f0afef67f136577e111d1b76422a0dde9e342969' into fix/p412…
trissim Oct 21, 2026
9625ce5
Merge remote-tracking branch 'origin/refactor/p424-bus-history-seq' i…
trissim Oct 21, 2026
e3ab2ae
Merge remote-tracking branch 'origin/fix/p412-file-bus-filebus' into …
trissim Oct 21, 2026
a8e2713
refactor(bus): delete obsolete file-index and checkpoint cursor tests
trissim Oct 21, 2026
bd35068
Merge remote-tracking branch 'origin/main' into fix/p412-file-bus-fil…
trissim Oct 21, 2026
3326279
Keep watch qualification on shared bus builders without runtime UI im…
trissim Oct 21, 2026
023f7fa
Restart accepted runtime owners even when input retirement fails
trissim Oct 21, 2026
19b1655
Merge remote-tracking branch 'origin/main' into feat/p419-bus-history…
trissim Oct 21, 2026
ff77c7f
Merge remote-tracking branch 'origin/main' into refactor/p426-wake-de…
trissim Oct 21, 2026
a4e56a2
Merge remote-tracking branch 'origin/refactor/p424-bus-history-seq' i…
trissim Oct 21, 2026
9f3c43c
Merge remote-tracking branch 'origin/fix/p412-file-bus-filebus' into …
trissim Oct 21, 2026
bc92345
Delete obsolete route-index preparation from observation
trissim Oct 21, 2026
038c552
Merge remote-tracking branch 'origin/refactor/p424-bus-history-seq' i…
trissim Oct 21, 2026
848f5ae
refactor(ui): delete obsolete route-index preparation state
trissim Oct 21, 2026
5689f3b
Merge commit 'e3ab2aedd' into fix/p412-file-bus-filebus
trissim Oct 21, 2026
439438b
Merge remote-tracking branch 'origin/main' into feat/p415-watched-bus
trissim Oct 21, 2026
1b24d56
Merge branch 'b2440' into claude-ai/bus-batch
claude Oct 21, 2026
2b910d8
Merge branch 'b2448' into claude-ai/bus-batch
claude Oct 21, 2026
d59475d
Merge branch 'b2500' into claude-ai/bus-batch
claude Oct 21, 2026
1e2885d
Merge D (#2459) into the bus batch: both import sets are used
claude Oct 21, 2026
04de5bf
Merge E (#2466) into the bus batch
claude Oct 21, 2026
1d5078e
Two blank lines before ReadValue
claude Oct 21, 2026
8edbfd0
Merge remote-tracking branch 'origin/main' into feat/p415-watched-bus
trissim Oct 21, 2026
f0bff35
B2: migrate native bootstrap and retained goal readers through their …
trissim Oct 21, 2026
fca17bd
Merge remote-tracking branch 'origin/claude-ai/bus-batch' into feat/p…
trissim Oct 21, 2026
77d0c4b
Merge remote-tracking branch 'origin/main' into claude-ai/bus-batch
trissim Oct 21, 2026
e8f752f
Merge remote-tracking branch 'origin/pr/2466' into claude-ai/bus-batch
trissim Oct 21, 2026
10d60fc
Merge remote-tracking branch 'origin/claude-ai/bus-batch' into refact…
trissim Oct 21, 2026
38d6880
Merge remote-tracking branch 'origin/claude-ai/bus-batch' into refact…
trissim Oct 21, 2026
c09c5c3
Delete the unproduced human initial-unknown error
trissim Oct 21, 2026
7d12e90
Merge remote-tracking branch 'origin/claude-ai/bus-batch' into feat/p…
trissim Oct 21, 2026
7fede23
refactor(bus): use sequence owner for goal creation and fixture reads
trissim Oct 21, 2026
466911d
Merge remote-tracking branch 'origin/claude-ai/bus-batch' into fix/p4…
trissim Oct 21, 2026
401ba04
refactor(bus): delete file log and migrate its remaining C consumers
trissim Oct 21, 2026
914a87f
Merge remote-tracking branch 'origin/main' into fix/p412-file-bus-fil…
trissim Oct 21, 2026
8ab99d7
Migrate installer file declarations and native context fixtures
trissim Oct 21, 2026
ac49905
Merge remote-tracking branch 'origin/claude-ai/bus-batch' into refact…
trissim Oct 21, 2026
f70aa99
Expose watcher close capability and migrate scratch tool setup
trissim Oct 21, 2026
afac4f8
Exercise native guard cases through their declared bootstrap
trissim Oct 21, 2026
8981955
Isolate schema-report CLI from the live published route
trissim Oct 21, 2026
89860e7
Read retired context certificates inside the one-shot carry
trissim Oct 21, 2026
64f41cb
Merge remote-tracking branch 'origin/claude-ai/bus-batch' into feat/p…
trissim Oct 21, 2026
080b58e
Remove retired candidate cleanup and use ordinary publication in shar…
trissim Oct 21, 2026
401f7fd
refactor(export): consume public messages without the file-bus decoder
trissim Oct 21, 2026
25dcbd3
Merge remote-tracking branch 'origin/main' into fix/p412-file-bus-fil…
trissim Oct 21, 2026
c84e85c
Merge remote-tracking branch 'origin/claude-ai/bus-batch' into fix/p4…
trissim Oct 21, 2026
558d4ea
Merge main into the virtual bus batch
trissim Oct 21, 2026
4ca913f
Merge remote-tracking branch 'origin/claude-ai/bus-batch' into batch-…
trissim Oct 21, 2026
30d1aaf
fix(registry): derive private-state detection from the complete schem…
trissim Oct 21, 2026
bdb3b2a
Merge remote-tracking branch 'origin/claude-ai/bus-batch' into fix/p4…
trissim Oct 21, 2026
5047ad7
Read native answer references through guard-bound Bus snapshots
trissim Oct 21, 2026
15d0f93
Merge remote-tracking branch 'origin/claude-ai/bus-batch' into refact…
trissim Oct 21, 2026
3074e47
Merge remote-tracking branch 'origin/main' into refactor/p424-bus-his…
trissim Oct 21, 2026
856c99f
Exercise read evidence through Bus snapshots and owned capture APIs
trissim Oct 21, 2026
fbab702
refactor(bus): delete legacy wire records and duplicate delivery atte…
trissim Oct 21, 2026
713003a
Merge remote-tracking branch 'origin/main' into fix/p412-file-bus-fil…
trissim Oct 21, 2026
27f2f4f
Merge remote-tracking branch 'origin/claude-ai/bus-batch' into fix/p4…
trissim Oct 21, 2026
db932a9
Qualify context carry against the retired plain-text certificate
trissim Oct 21, 2026
beda01f
Merge remote-tracking branch 'origin/claude-ai/bus-batch' into feat/p…
trissim Oct 21, 2026
d1aba92
Own native receipt facts and migrate guard-bound delivery readers
trissim Oct 21, 2026
6f24fb1
Merge remote-tracking branch 'origin/main' into refactor/p424-bus-his…
trissim Oct 21, 2026
acdf429
Merge remote-tracking branch 'origin/claude-ai/bus-batch' into refact…
trissim Oct 21, 2026
e4ffbca
fix(reads): let viewer roles own unread eligibility and compose tag r…
trissim Oct 21, 2026
2c28eb7
Own native receipt encoding and USER provenance in their existing types
trissim Oct 21, 2026
c6bacf6
Merge remote-tracking branch 'origin/main' into fix/p412-file-bus-fil…
trissim Oct 21, 2026
15732af
Merge remote-tracking branch 'origin/main' into fix/p412-file-bus-fil…
trissim Oct 21, 2026
8f1c6c0
Merge remote-tracking branch 'origin/main' into refactor/p424-bus-his…
trissim Oct 21, 2026
554efba
Merge remote-tracking branch 'origin/claude-ai/bus-batch' into fix/p4…
trissim Oct 21, 2026
39fdd21
Merge remote-tracking branch 'origin/claude-ai/bus-batch' into fix/p4…
trissim Oct 21, 2026
06adf2e
Merge remote-tracking branch 'origin/main' into fix/p412-file-bus-fil…
trissim Oct 21, 2026
84f2601
Derive watched bus sources from the view owner and isolate observer c…
trissim Oct 21, 2026
48d2b1b
Merge remote-tracking branch 'origin/claude-ai/bus-batch' into feat/p…
trissim Oct 21, 2026
0bb6132
Consume original native authority without retired ACP marker effects
trissim Oct 21, 2026
a40135c
Merge remote-tracking branch 'origin/main' into refactor/p424-bus-his…
trissim Oct 21, 2026
797372b
Invalidate native source coverage after descriptor retirement
trissim Oct 21, 2026
f06884e
Merge remote-tracking branch 'origin/claude-ai/bus-batch' into refact…
trissim Oct 21, 2026
5fde87a
Merge remote-tracking branch 'origin/claude-ai/bus-batch' into refact…
trissim Oct 21, 2026
17d9834
fix(bus): preserve admitted snapshot identity and retire obsolete ind…
trissim Oct 21, 2026
8798e6c
Merge remote-tracking branch 'origin/main' into fix/p412-file-bus-fil…
trissim Oct 21, 2026
e1aec8e
Merge remote-tracking branch 'origin/claude-ai/bus-batch' into fix/p4…
trissim Oct 21, 2026
40b1294
test(bus): use frozen Bus recipients for native channel replies
trissim Oct 21, 2026
630b0b8
Own reference refusal and historical root publication permission
trissim Oct 21, 2026
3949c1a
Own exact committed-input cursor constraints on the owner subtype
trissim Oct 21, 2026
04e978c
Merge remote-tracking branch 'origin/claude-ai/bus-batch' into refact…
trissim Oct 21, 2026
28ac9f4
Merge remote-tracking branch 'origin/main' into fix/p412-file-bus-fil…
trissim Oct 21, 2026
e1b606f
Merge remote-tracking branch 'origin/main' into fix/p412-file-bus-fil…
trissim Oct 21, 2026
3e78624
Merge remote-tracking branch 'origin/claude-ai/bus-batch' into fix/p4…
trissim Oct 21, 2026
a61cd88
Read native namespace and retained wording from their existing owners
trissim Oct 21, 2026
a8c91dd
Merge remote-tracking branch 'origin/claude-ai/bus-batch' into refact…
trissim Oct 21, 2026
fc90c3e
Merge remote-tracking branch 'origin/main' into fix/p412-file-bus-fil…
trissim Oct 21, 2026
1e55a39
Merge remote-tracking branch 'origin/claude-ai/bus-batch' into fix/p4…
trissim Oct 21, 2026
33401f5
Derive history carry work and make its full lifecycle repeatable
trissim Oct 21, 2026
de27de7
Merge remote-tracking branch 'origin/claude-ai/bus-batch' into feat/p…
trissim Oct 21, 2026
a7000b9
Migrate retained-source journeys off deleted file-bus readers
trissim Oct 21, 2026
ba1cf58
Merge remote-tracking branch 'origin/claude-ai/bus-batch' into refact…
trissim Oct 21, 2026
d2576c0
Delete the copied native-tool schema roster from retained-source checks
trissim Oct 21, 2026
a4d241f
Merge remote-tracking branch 'origin/main' into feat/p415-watched-bus
trissim Oct 21, 2026
320b4de
refactor(bus): move final retained and parity readers onto Bus
trissim Oct 21, 2026
a05cb53
Merge remote-tracking branch 'origin/claude-ai/bus-batch' into fix/p4…
trissim Oct 21, 2026
4759a0e
Keep owner-read failures inside their observation lifetime
trissim Oct 21, 2026
6b9451d
Merge remote-tracking branch 'origin/claude-ai/bus-batch' into feat/p…
trissim Oct 21, 2026
a86aace
Merge remote-tracking branch 'origin/main' into feat/p415-watched-bus
trissim Oct 21, 2026
43e66ad
Preserve the concrete snapshot subtype at its connection factory
trissim Oct 21, 2026
2ee6f3f
Merge commit 'c220c5b60' into refactor/p424-bus-history-seq
trissim Oct 21, 2026
bcdcd31
refactor(bus): share SQL paging across escalation readers
trissim Oct 21, 2026
75a9001
Inherit read refusal behavior from the awaited-read owner
trissim Oct 21, 2026
996765d
Merge main into the bus batch: finished carry steps deleted, directiv…
claude Oct 21, 2026
835727b
Isolate retained CLI journeys from the published live route
trissim Oct 21, 2026
7481e98
Merge remote-tracking branch 'origin/claude-ai/bus-batch' into refact…
trissim Oct 21, 2026
ff650b8
Merge commit '996765dae' into feat/p415-watched-bus
trissim Oct 21, 2026
634551e
Use the snapshot factory return type in history carry
trissim Oct 21, 2026
ae35a49
Merge commit '6314491e8' into refactor/p424-bus-history-seq
trissim Oct 21, 2026
25532fa
Merge remote-tracking branch 'origin/claude-ai/bus-batch' into feat/p…
trissim Oct 21, 2026
ee3f875
Read cursor scope and metadata from original registry privacy
trissim Oct 21, 2026
364fe65
Merge remote-tracking branch 'origin/claude-ai/bus-batch' into refact…
trissim Oct 21, 2026
b51aa4e
Keep cursor scope reads on the original registry snapshot
trissim Oct 21, 2026
a541fa3
test(bus): delete retired file-bus heartbeat checks
trissim Oct 21, 2026
c9b2e0d
Declare both original source types in pinned constraint replies
trissim Oct 21, 2026
1cbb243
Merge remote-tracking branch 'origin/claude-ai/bus-batch' into refact…
trissim Oct 21, 2026
0e6d7a2
Merge main 844976946 into the bus batch
claude Oct 22, 2026
8986da6
Repin the native build inputs the batch changed
claude Oct 22, 2026
3c62299
Merge main d3fcbd662 into the bus batch
claude Oct 22, 2026
f977683
Clarify keyed publication acknowledgement wording
trissim Oct 22, 2026
4b93f07
Sort the imports the batch unsorted (I001 growth in 17 files)
claude Oct 22, 2026
7c44d67
Prepare native fixture schema and rehearse the real predecessor bus
trissim Oct 22, 2026
d657bc5
Merge remote-tracking branch 'origin/claude-ai/bus-batch' into refact…
trissim Oct 22, 2026
f9521e3
Delete retired file-envelope readers and checkpoint pilots
trissim Oct 22, 2026
2afdaf2
Merge remote-tracking branch 'origin/claude-ai/bus-batch' into fix/p4…
trissim Oct 22, 2026
715d02a
Type bus queries through declared read capabilities
trissim Oct 22, 2026
3c37063
Merge remote-tracking branch 'origin/claude-ai/bus-batch' into integr…
trissim Oct 22, 2026
6b8b166
Keep nominal page cursors and original native scope through readers
trissim Oct 22, 2026
36fd799
Merge remote-tracking branch 'origin/claude-ai/bus-batch' into refact…
trissim Oct 22, 2026
98b7a83
Declare shared named-target view contracts
trissim Oct 22, 2026
668f6be
Merge remote-tracking branch 'origin/claude-ai/bus-batch' into integr…
trissim Oct 22, 2026
5f7ce84
Require named destinations for inbox and unread operations
trissim Oct 22, 2026
6b533c8
Merge remote-tracking branch 'origin/claude-ai/bus-batch' into refact…
trissim Oct 22, 2026
2c27e7f
Keep reader identities nominal and consume declared deliveries
trissim Oct 22, 2026
51f7a9c
Capture history display facts through their declared contracts
trissim Oct 22, 2026
0e77fa7
Capture registry provenance through its names parent
trissim Oct 22, 2026
c6e7714
Merge remote-tracking branch 'origin/claude-ai/bus-batch' into integr…
trissim Oct 22, 2026
4c55a77
Publish a bus record's public envelope; show awareness in sequence order
claude Oct 22, 2026
f22f909
Move the batch's tests onto the installed SQLite bus
claude Oct 22, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
59 changes: 20 additions & 39 deletions src/agent_comms/acp.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,7 @@
TextContentBlock,
)

from agent_comms.coordination_errors import (
IdentityConflict,
PublicationActivationBlocked,
)
from agent_comms.coordination_errors import IdentityConflict
from agent_comms.coordinator import Coordination

from .acp_extension import (
Expand All @@ -53,6 +50,7 @@
from .comms import Comms, wire
from .coordination_cohort import next_sealed_assignment
from .coordination_database import CoordinationStore
from .cursor_owner import CursorOwner
from .cursor_publication import CursorPublication
from .field_codec import FieldCodec, MalformedRecord
from .image_inputs import prompt_images
Expand All @@ -75,7 +73,6 @@
from .turn_effects import TurnEffects
from .turn_runner import TurnRunner
from .turn_terminal import EndedWithoutResult, TurnInterruption, TurnTerminal
from .wire_log import WireLog

if TYPE_CHECKING:
from .selected_tool_broker import SelectedToolIntent
Expand Down Expand Up @@ -214,15 +211,17 @@ async def _selected_write_request(self, session_id: str, request) -> PromptRespo
from .selected_write_plan import SelectedWritePlans

owner = self.sessions.require(session_id)
root_id = self._private_nk_marker()
controller = self._runtime.controller.get()
if controller is None or (
controller is UNBOUND_CONTROLLER and self.sessions.client is None
):
raise RequestError.invalid_params(
{"reason": "Selected write requires attached ACP controller"}
)
acknowledgement = await Coordination.run_worker(partial(SelectedWritePlans(self._comms, root_id).submit,
scope = await Coordination.run_worker(partial(self.cursors.scope, owner, session_id))
plans = SelectedWritePlans(self._comms, scope.require_live().wire_root_id)
acknowledgement = await Coordination.run_worker(partial(
plans.submit,
owner_name=owner,
source_seq=request.source_seq,
source_message_id=request.source_message_id,
Expand Down Expand Up @@ -319,21 +318,6 @@ async def authenticate(self, method_id: str, **kwargs: Any) -> None:

# ─── Helpers ─────────────────────────────────────────────────────────────

@property
def configured_root_id(self) -> str:
"""The bus root ID the launch pinned; the bus reader checks it against the marker."""
return self._comms.owners.require_private_launch().wire_root_id

def _private_nk_marker(self) -> str:
"""Check that the bus belongs to the configured root before a request runs."""
configured_root_id = self.configured_root_id
with self._comms.bus.log.checked_read() as source:
if source.marker.root_id != configured_root_id:
raise PublicationActivationBlocked(
"private N/K ACP root does not match configuration"
)
return source.marker.root_id

async def _drain_private_nk(self, session_id: str, wire_root_id: str) -> int:
"""Run a selected private wake for this ACP session.

Expand All @@ -348,8 +332,6 @@ async def _drain_private_nk(self, session_id: str, wire_root_id: str) -> int:

launch = self._comms.owners.require_private_launch()
package = launch.native_package
if launch.wire_root_id != wire_root_id:
raise PublicationActivationBlocked("private N/K ACP root does not match its launch")
thread_name = await self.sessions.sync_identity(session_id)
snapshot = await Coordination.run_worker(self._comms.registry.snapshot)
owner = snapshot.require(thread_name)
Expand All @@ -361,11 +343,14 @@ async def _drain_private_nk(self, session_id: str, wire_root_id: str) -> int:
return 0
if not owner.process_identity.runs_here():
raise IdentityConflict("private N/K ACP recipient is not this process owner")
bus = MessageBus(WireLog.path_in(self._comms.root), self._comms.registry, ResponseWrites)
def read_claim():
with bus.log.checked_read() as source:
return source.marker.claimed_after_seq
claimed_after_seq = await Coordination.run_worker(read_claim)
lookup = owner.incarnation.require_recorded().lookup
bus = MessageBus(self._comms.root, self._comms.registry, ResponseWrites)
delivery = self.cursors.delivery(session_id)
async with delivery.reading() as source_reads:
state = await CursorOwner.read_async(
bus, wire_root_id=wire_root_id, owner_name=thread_name, source_reads=source_reads,
)
after_seq = state.covered_seq
store_path = CoordinationStore.path_in(self._comms.root)
# One execution owns this wake's package acquisition: acceptance of new
# originals and the selected launch share it instead of verifying twice.
Expand All @@ -374,34 +359,30 @@ def read_claim():
wire_root_id=wire_root_id,
owner_name=thread_name,
native_package=package,
cursor_delivery=self.cursors.delivery(session_id),
cursor_delivery=delivery,
write_authority=AcpSelectedWriteAuthority(
self, session_id, SelectedWritePlans(self._comms, wire_root_id)
),
**(
{"selected_tool_intent": self._private_selected_tool_intent}
if self._private_selected_tool_intent is not None
else {}
),
selected_tool_intent=self._private_selected_tool_intent,
)
with execution.cursor_delivery.measurements.operation("accept_deliveries"):
await _accept_visible_deliveries(
bus, wire_root_id, store_path, owner.incarnation.lookup, 0,
bus, wire_root_id, store_path, lookup, after_seq,
owner_name=owner.name, acquire_package=execution.validate,
)
if self.inputs.owns_execution(session_id, owner):
# A running turn takes its owner's pending messages as inputs;
# whatever it cannot take wakes this owner once the turn ends.
await DeliveredInput.deliver_pending(
self.inputs, session_id, owner, bus, wire_root_id, claimed_after_seq
self.inputs, session_id, owner, bus, wire_root_id, after_seq
)
await self.cursors.publish(session_id, thread_name)
return 0
def select(store):
with store.session.read():
participant = store.participants.get(owner.incarnation.lookup)
participant = store.participants.get(lookup)
candidate = next_sealed_assignment(
store, participant.lookup, owner.name, after_seq=claimed_after_seq,
store, participant.lookup, owner.name, after_seq=after_seq,
)
if candidate is None:
return False
Expand Down
10 changes: 0 additions & 10 deletions src/agent_comms/acp_extension.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,16 +97,6 @@ class TranscriptChangedUpdate(AgentCommsUpdate):
cursor: TranscriptCursor | None


@dataclass(frozen=True)
class UnknownDeliveryFailure(BackendDeliveryFailure):
wire_root_id: str
wire_seq: int
message_id: str

def present(self, receiver, body: str) -> None:
receiver.delivery_unknown(self, body)


class ClaimBlockedFailure(BackendDeliveryFailure):
def present(self, receiver, body: str) -> None:
receiver.delivery_blocked(self.description, body)
Expand Down
36 changes: 14 additions & 22 deletions src/agent_comms/active_route.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,15 @@
from contextlib import contextmanager
from dataclasses import dataclass
from pathlib import Path
from typing import TYPE_CHECKING, Annotated, ClassVar
from typing import Annotated, ClassVar

from .declared_family import DeclaredFamily
from .errors import RelationViolationError
from .field_codec import FieldCodec, Id128Text, MalformedRecord, PathText
from .field_codec import FieldCodec, MalformedRecord, PathText
from .launch_root import LaunchRoot
from .private_nk_entrypoint import PrivateNkLaunch, RootLaunch

if TYPE_CHECKING:
from .wire_log import WireLog
from .private_path import ObservedPath
from .recorded_bus import RecordedBusIdentity


@dataclass(frozen=True, slots=True)
Expand Down Expand Up @@ -99,9 +98,9 @@ def encode(cls, value: object) -> str:
class ActiveRoute(CommsRoute):
"""The default private root; each installation launches its own pinned native package."""
root: Annotated[Path, AbsoluteRoutePathText]
wire_root_id: Annotated[str, Id128Text]
bus_identity: RecordedBusIdentity
# The file format: the writer stamps it and the reader refuses any other before decoding.
version: ClassVar[int] = 2
version: ClassVar[int] = 3
# The CLI command that replaces a file this reader refuses; it registers under this name.
repair_command: ClassVar[str] = "replace-route"

Expand Down Expand Up @@ -139,27 +138,20 @@ def from_record(cls, value: object, path: Path) -> ActiveRoute:
raise MalformedRecord(f"active comms route {path} is invalid: {error}") from error
return route

def wire_log(self) -> WireLog:
from .wire_log import WireLog # the wire log's module imports this one

return WireLog(WireLog.path_in(self.root))

def selects_its_root(self) -> bool:
"""Whether the root still exists and carries the marker this route was published for."""
return self.root.is_dir() and (
self.wire_log().read_metadata_unlocked().wire_root_id == self.wire_root_id)
"""A route selects the database observed when it was published."""
from .bus import Bus

return self.root.is_dir() and self.bus_identity.matches(
ObservedPath.at(Bus.path_in(self.root)))

def observe_root(self) -> Path:
# The writer atomically replaces this marker. Reuse its owner/mode,
# ancestry and protocol decoder, without taking the mutation/durability
# barrier or interpreting registry/history merely to observe identity.
marker = self.wire_log().private_marker_unlocked()
if marker.root_id != self.wire_root_id:
raise RelationViolationError("private route root ID changed")
if not self.selects_its_root():
raise RelationViolationError("route bus was replaced")
return super(ActiveRoute, self).observe_root()

def launch(self) -> PrivateNkLaunch:
return PrivateNkLaunch.installed(self.root, self.wire_root_id)
return RootLaunch.derive(self).require_private()


def resolve_comms_route(root: CommsRoute | Path | str | None = None) -> CommsRoute:
Expand Down
Loading