Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
225 commits
Select commit Hold shift + click to select a range
04b210f
Consolidate ordinary Entity digest and World foundation groundwork
benhook1013 Nov 13, 2026
3035b5f
Integrate Player canonical session identity proof
benhook1013 Nov 13, 2026
a1a4121
Prove exact-self Social presence policy across caller roles
benhook1013 Nov 13, 2026
61e5fa3
Prove published World spawn requirements and integrate Player custody…
benhook1013 Nov 13, 2026
932e3b4
Restore current authored-source physical mTLS and legacy-surface refu…
benhook1013 Nov 13, 2026
97f556e
Receive offline diagnostics and prove retained placement authority
benhook1013 Nov 13, 2026
c3dcd76
Prove canonical JOIN terminalization preserves exact audit authority
benhook1013 Nov 13, 2026
6591332
Consolidate privacy, original authority and publication fence proof
benhook1013 Nov 13, 2026
ce774c0
Align world consolidation draft behind verified Gameplay tail and pre…
benhook1013 Nov 13, 2026
69a3b7e
Carry final Gameplay ancestry and verified unchanged-Lua descriptor c…
benhook1013 Nov 13, 2026
17263a3
Consolidate world donor safeguards and current-owner proof
benhook1013 Nov 13, 2026
a8fc263
test: carry qualified Creator and Player proof batch
benhook1013 Nov 13, 2026
48b3942
Carry qualified consolidation proof stack
benhook1013 Nov 13, 2026
12c1ab2
Consolidate world receiving fixes and carry qualified stack changes
benhook1013 Nov 13, 2026
ce385be
Carry reconciled Gameplay parent through world consolidation
benhook1013 Nov 13, 2026
65b87aa
Carry exact receiving fixes through #3442
benhook1013 Nov 13, 2026
57b3d4a
Merge commit 'b6f15b73384e89ae87db77aed82dd9739ceb549a' into dot/topi…
benhook1013 Nov 14, 2026
cad12fc
test: receive authored World state donor proofs on canonical identity
benhook1013 Nov 14, 2026
0673185
test(world): receive version-state mTLS donor proof
benhook1013 Nov 14, 2026
2655c04
test(world): receive source-qualified version-state SQL owner proof
benhook1013 Nov 14, 2026
3540306
test(world): assert exact persisted canonical version identity
benhook1013 Nov 14, 2026
7051979
test(world): preserve retained release rows across migrations
benhook1013 Nov 14, 2026
8bdc0bf
style: format retained release migration proof
benhook1013 Nov 14, 2026
010c04c
test(account): exercise controlled identity callback in uncertain com…
benhook1013 Nov 14, 2026
b00347f
test(account): align migration and recovery fixtures with current con…
benhook1013 Nov 14, 2026
838a409
Align retained Account fixtures with unavailable mutation boundary
benhook1013 Nov 14, 2026
f01d342
Align donor transport proof with fail-closed logout
benhook1013 Nov 14, 2026
843b726
Fix Account test resource and container static checks
benhook1013 Nov 14, 2026
2f80738
Prepare isolated World fixture activation owner and exact receipt proof
codex Nov 15, 2026
57a87ff
Carry current Creator digest prerequisite into private World checkpoint
codex Nov 15, 2026
da41439
Qualify World fixture activation against current tenant guards
benhook1013 Nov 15, 2026
08abc6a
Restore exact World catalog after fixture activation migration
benhook1013 Nov 15, 2026
6b7f378
Carry qualified Creator parent into World catalog repair
benhook1013 Nov 15, 2026
2ac8baa
feat(world): retain private receipt-bound fixture admission holds
benhook1013 Nov 15, 2026
76fe20b
test(world): qualify fixture settlement and forward catalog epoch
benhook1013 Nov 15, 2026
b1be6a4
test(world): prove absent frozen journal readback stays non-mutating
benhook1013 Nov 15, 2026
fe5289c
fix(world): restrict legacy lifecycle mutations to Game Session peer
benhook1013 Nov 15, 2026
cfd0ec7
test(world): restore association owner boundary regressions
benhook1013 Nov 15, 2026
1e318b5
test(world): retain exact activation acquisition identity proof
benhook1013 Nov 15, 2026
b8ae74e
test(world): enforce initial hold transaction boundaries
benhook1013 Nov 15, 2026
8482b9e
test(world): retain legacy hold lifecycle and snapshot proof
benhook1013 Nov 15, 2026
3d8a012
test(world): prove canonical adapter peer refusal over mTLS
benhook1013 Nov 15, 2026
5d5571f
test(world): preserve original numeric instances across canonical mig…
benhook1013 Nov 15, 2026
5341cbe
test(common): reject independent World release checkpoint substitutions
benhook1013 Nov 15, 2026
b939686
test(world): reject namespace substitution after actual owner prepara…
benhook1013 Nov 15, 2026
5238e6d
test(world): prove actual owner lock timeout retains pending execution
benhook1013 Nov 15, 2026
7f8d2cf
test(world): prove concurrent actual owner duplicate cannot replace p…
benhook1013 Nov 15, 2026
532a3b3
test(world): prove actual pending abort is stable and cannot restart
benhook1013 Nov 15, 2026
4da9f32
test(world): prove serialized abort observes concurrent original commit
benhook1013 Nov 15, 2026
1bf32d3
test(world): recheck actual original lease after publication lock wait
benhook1013 Nov 15, 2026
bc1556d
test(world): preserve retained realm and catalog against independent …
benhook1013 Nov 15, 2026
02e84af
Handle expired controlled observations in bounded transfer proof
benhook1013 Nov 15, 2026
93de6b3
Carry qualified Creator parent into preserved World donor chain
benhook1013 Nov 15, 2026
0af7bd7
Preserve stronger clock statement non-interaction proof on carry
benhook1013 Nov 15, 2026
866d9e3
Align Automation intake fixtures with authored seal migration
benhook1013 Nov 16, 2026
8ddfdef
Reconcile Creator logout proof while retaining World transport assertion
benhook1013 Nov 16, 2026
a2b7da3
test(world): retain historical snapshot replay and tamper proof
benhook1013 Nov 16, 2026
af1a6b8
test(world): preserve terminal owner mTLS proof vectors
benhook1013 Nov 16, 2026
e1beac2
test(world): prove durable terminal settlement after client close
benhook1013 Nov 16, 2026
965d2b1
test(world): retain repository ambient transaction guards
benhook1013 Nov 16, 2026
600c4d7
test(world): prove contended historical snapshot replay
benhook1013 Nov 16, 2026
34a2cb1
style(world): format historical replay contention proof
benhook1013 Nov 16, 2026
2e09823
Share exact fixture admission frames for owner composition
benhook1013 Nov 16, 2026
86aa7a0
test: finalize admission before bulk transfer fixture setup
benhook1013 Nov 16, 2026
624863f
test: retain mixed cohort for terminal assertions
benhook1013 Nov 16, 2026
cfdd192
Validate bounded existing-region UUID input
benhook1013 Nov 16, 2026
76c1b3d
Validate reviewed synchronized base before staging region delta
benhook1013 Nov 16, 2026
b0a465a
Store guarded existing-region deltas with immutable component proof
benhook1013 Nov 16, 2026
18b7b36
Document bounded existing-region storage proof and activation limits
benhook1013 Nov 16, 2026
fc03e4e
Prove canonical frozen journal first-capture serialization and exact …
benhook1013 Nov 16, 2026
bee88fd
Record canonical frozen journal proof and remaining donor gaps
benhook1013 Nov 16, 2026
a645308
test(world): reject checksum-recomputed frozen graph corruption
benhook1013 Nov 16, 2026
6a906b8
test(world): prove altered trusted projection rolls back atomically
benhook1013 Nov 16, 2026
4c34e4d
test(world): qualify grouped topology integrity and retained journal …
benhook1013 Nov 16, 2026
8493da4
feat(world): store complete existing REGION batches atomically
benhook1013 Nov 17, 2026
4cab755
test(world): reject corrupted retained REGION receipt bytes
benhook1013 Nov 17, 2026
0fe36d3
Add explicit canonical fixture first-open owners
benhook1013 Nov 17, 2026
b5f8474
Strengthen canonical World preparation readback integrity
benhook1013 Nov 17, 2026
cbf9be9
Align World catalog proofs with retained forward seals
benhook1013 Nov 17, 2026
c0fb1af
Reseal Game Session catalog after fixture admission schema
benhook1013 Nov 17, 2026
5a0a132
Track filesystem migrations in World owner proof inputs
benhook1013 Nov 17, 2026
7ed7392
test(world): prove original preparation operation integrity
benhook1013 Nov 17, 2026
9bfddb1
ci: pin reviewed trusted runtime refresh definition
benhook1013 Nov 17, 2026
1428c31
test(world): verify canonical hold snapshot refusal boundaries
benhook1013 Nov 17, 2026
1484953
test(world): prove canonical hold snapshot across authenticated settl…
benhook1013 Nov 17, 2026
ffc7fb0
feat(world): compose exact original terminal settlement recovery
benhook1013 Nov 19, 2026
ea4a55d
test(world): prove exact settlement recovery across client restart
benhook1013 Nov 19, 2026
18a9028
Merge current Creator parent into World donor handover
benhook1013 Nov 19, 2026
bbc40fd
Stream World owner-pair test snapshots
benhook1013 Nov 19, 2026
20de28f
Carry exact World settlement recovery onto the canonical PLAY lineage
benhook1013 Nov 27, 2026
d70f3eb
Carry guarded REGION storage forward from the PLAY catalog
benhook1013 Nov 27, 2026
85a6810
Combine independent World donor ports on the PLAY lineage
benhook1013 Nov 27, 2026
0733df6
Carry the donor fixture first-OPEN hold guard forward
benhook1013 Nov 27, 2026
8fe6109
Require the fixture activation receipt to commit with its World CAS
benhook1013 Nov 27, 2026
7d70153
Retain the donor World hold snapshot and transaction refusal proofs
benhook1013 Nov 27, 2026
da5b219
Receive the donor World lifecycle workload restriction
benhook1013 Nov 27, 2026
80245c8
Receive the donor frozen World topology and authored graph proofs
benhook1013 Nov 27, 2026
6e1c78a
Port ordinary Entity publication digest v2 from donor #2872
benhook1013 Nov 27, 2026
a002cfd
test(world): preserve original numeric instances across canonical mig…
benhook1013 Nov 15, 2026
e1e3bd8
test(world): preserve retained release rows across migrations
benhook1013 Nov 14, 2026
d518b14
test: receive authored World state donor proofs on canonical identity
benhook1013 Nov 14, 2026
42ef5a4
test(world): receive source-qualified version-state SQL owner proof
benhook1013 Nov 14, 2026
c459375
test(world): assert exact persisted canonical version identity
benhook1013 Nov 14, 2026
caba88b
test(world): receive version-state mTLS donor proof
benhook1013 Nov 14, 2026
48cc53a
Align World donor candidates with the canonical discovery fix
benhook1013 Nov 27, 2026
ff0f487
Track filesystem migrations in World owner proof inputs
benhook1013 Nov 17, 2026
9a2d179
Combine World owner history and migration input proofs
benhook1013 Nov 27, 2026
1dbb245
Verify the retained fixture preset during World activation and replay
benhook1013 Nov 27, 2026
5dde645
Revalidate the World preset against exact ACTIVE replay evidence
benhook1013 Nov 27, 2026
ee5cbcf
Require a one-use World execution manifest for fixture activation
benhook1013 Nov 27, 2026
4f825a5
Compose the World activation manifest with verified fixture replay
benhook1013 Nov 27, 2026
9b5c404
Carry proven fixture preset and activation manifest into World intake
benhook1013 Nov 27, 2026
64bbd8a
Keep legacy World hold reconciliation within its authority
benhook1013 Nov 27, 2026
c09e896
Format retained Game Design donor proofs
benhook1013 Nov 27, 2026
7e86e5a
Integrate donor World hold isolation and placement proofs
benhook1013 Nov 27, 2026
61402f9
Read the exact run-owned Game Session first-OPEN outcome
benhook1013 Nov 27, 2026
c3f072a
Settle run-owned World holds from the pinned fixture owner
benhook1013 Nov 27, 2026
be9bec1
Compose World fixture terminal recovery with the Game Session owner read
benhook1013 Nov 27, 2026
2eb56f9
Prove the fixture terminal reader pins the Game Session leaf
benhook1013 Nov 27, 2026
94f9a5a
Format the run-owned World terminal composition
benhook1013 Nov 27, 2026
eb6d9c1
Preserve donor World publication, spawn and peer proof
benhook1013 Nov 27, 2026
fa458aa
Prove exact World fixture settlement replay
benhook1013 Nov 27, 2026
bad3d31
Integrate donor World publication and peer proof
benhook1013 Nov 27, 2026
7954f1b
Align World donor ancestry with the canonical admission stack
benhook1013 Nov 27, 2026
b5196ee
Bind run-owned World hold transport to the fixed fixture peers
benhook1013 Nov 27, 2026
d6a5fad
Preserve donor hold refusals and regenerate gRPC reference
benhook1013 Nov 27, 2026
f90f09c
Carry scoped donor follow-ups through World
benhook1013 Nov 27, 2026
3199fd0
Verify the final World catalog epoch after retained upgrades
benhook1013 Nov 27, 2026
2ee8c4d
Carry the World catalog proof repair into the prepared follow-up stack
benhook1013 Nov 27, 2026
77211ac
Align entity design digest contract with shipped schema
benhook1013 Nov 27, 2026
fbcb8cb
Prove authored version lifecycle reads over mutual TLS
benhook1013 Nov 27, 2026
3a81196
Remove stale Entity digest migration guidance
benhook1013 Nov 27, 2026
6a412ba
Prove fresh tenant allocation skips an in-flight legacy reservation
benhook1013 Nov 27, 2026
eb82a9e
Prove placement origin refusal at the current World SQL guard
benhook1013 Nov 27, 2026
3842615
Restore PostgreSQL proof for World source snapshots and region maps
benhook1013 Nov 27, 2026
6fab38a
Record stacked runtime refresh interruption
benhook1013 Nov 27, 2026
bee588d
Align local World proof with the Creator checkpoint
benhook1013 Nov 27, 2026
fab1c88
Give the final Account CI partition time to retain proof
benhook1013 Nov 27, 2026
0e5e276
Include the published Account shard budget in the local World proof b…
benhook1013 Nov 27, 2026
fce05e3
Carry the verified local Logging and Creator proofs through World
benhook1013 Nov 27, 2026
698dc10
Prove World source calls stop before the wrong server receives them
benhook1013 Nov 27, 2026
0239d10
Carry the qualified local Creator recovery proof into the World candi…
benhook1013 Nov 27, 2026
1f3eac1
Merge commit '3bc7f6bf91f5dd7474aeb22711d173fd4423ab9f' into HEAD
benhook1013 Nov 27, 2026
97a3eef
Merge commit 'd84a6b041c8d4f3f2a9ee489e5abf0ff756aeec8' into HEAD
benhook1013 Nov 27, 2026
f685be9
Merge commit '28469643ee164de0ed8014bc7bef668908266e66' into HEAD
benhook1013 Nov 27, 2026
1f00f11
Merge commit '33ec3e9019db55c1787664efd572e5eea9292d36' into HEAD
benhook1013 Nov 27, 2026
ba05173
Merge commit '879a5efcccc1aaf8bead3e3739ec910a2752ae21' into HEAD
benhook1013 Nov 27, 2026
dc5a1ac
Carry protected World player-admission holds into consolidation
benhook1013 Nov 27, 2026
fc1ee36
Prove stale native World writer snapshots cannot miss an acquired hold
benhook1013 Nov 27, 2026
282331d
Merge commit 'd935ecbcda59e643efcf040a43a0b2e8ef58d7ac' into HEAD
benhook1013 Nov 27, 2026
7513a26
Carry the Account World hold client and prove native authenticated re…
benhook1013 Nov 27, 2026
ec8ed67
Prove durable Game Session abort cannot authorize World placement
benhook1013 Nov 27, 2026
0509e2f
Merge commit '7513a2642652f27b6581b383e3c652ffe19e527c' into HEAD
benhook1013 Nov 27, 2026
6722771
Record authenticated World hold client proof and remaining authority
benhook1013 Nov 27, 2026
b6fd602
Merge commit '6722771ae6a809b787c5f0ee568048afc2aad4dd' into HEAD
benhook1013 Nov 27, 2026
458480d
Merge commit '4e1b6f28ec7c017c77cfa4b68d00d535402c9d20' into HEAD
benhook1013 Nov 27, 2026
bdfba5c
Merge commit '5f11c17e0906c37fc08ee0532ad1e17063df5990' into HEAD
benhook1013 Nov 27, 2026
8738c76
Advance World Draft aggregate and scope epochs with exact storage pre…
benhook1013 Nov 27, 2026
a91fdfc
Record World Draft epoch storage and contention proof
benhook1013 Nov 28, 2026
4164d5a
Merge commit '2e51a52161a9f58ce3898355af761f328ae164fa' into HEAD
benhook1013 Nov 28, 2026
60e4277
Prove World rolls back Draft writes after a late scope conflict
benhook1013 Nov 28, 2026
2415de8
Merge commit 'a26b16232641e6d17cf230424a2866a494b15932' into HEAD
benhook1013 Nov 28, 2026
df68abb
Merge commit 'c917f2b72f3a9defc3b37859cca000222c6b6bc1' into HEAD
benhook1013 Nov 28, 2026
24e0cfa
Hold legacy generation writes pending canonical Draft authorization
benhook1013 Nov 28, 2026
04fa50a
Merge commit '73cef9a05459c21d2c4785ff5c132c50bb6ba57a' into HEAD
benhook1013 Nov 28, 2026
cf71262
Merge commit 'fd404c926e76356714fa8b673e0d2c1983733133' into HEAD
benhook1013 Nov 28, 2026
9cdeba9
Merge commit 'd16eb9af71a52dcd5df5f398d856ddd6a12524d3' into HEAD
benhook1013 Nov 28, 2026
bcd9d2e
Merge commit 'e8a9303164e5b08c9962a608f539ab4ad8135255' into HEAD
benhook1013 Nov 28, 2026
6027a4d
Prove retained World migration guards and authority
benhook1013 Nov 28, 2026
695c0d0
Prove signed World rule writes stay unavailable
benhook1013 Nov 28, 2026
609bb92
Merge commit '1c756178acf55587cf1695f7785fbe5218fb65e3' into HEAD
benhook1013 Nov 28, 2026
497e5e3
Merge commit '4eb11eaf693fd64c3ae36af1d1a453a942d6c196' into HEAD
benhook1013 Nov 28, 2026
2ef56cd
Merge commit '13f2481c4ced901631ef3e8b6e535390a2e7d50b' into HEAD
benhook1013 Nov 28, 2026
95db7ae
Prove retained REGION writer loses to the original abort
benhook1013 Nov 28, 2026
648ee38
Prove World abort and independent terminal recovery
benhook1013 Nov 28, 2026
5339c63
Merge commit 'bdc0524e199cbcfad479c0562c3202dee7bd4208' into HEAD
benhook1013 Nov 28, 2026
994b3ed
Merge commit '26ed55822cd27c19a48ccef603713596c4f1c743' into HEAD
benhook1013 Nov 28, 2026
93f6087
Merge commit '903bdd05e8011cac7bc36556f4a58d11daec1bfd' into HEAD
benhook1013 Nov 28, 2026
5d73645
Recover script patch refusal proof for launch descriptors
benhook1013 Nov 28, 2026
b625bca
Prove exact authored World version refusal over mutual TLS
benhook1013 Nov 28, 2026
49e415a
Merge commit '14834d1c6a1f357ef264366abba4c072e6181165' into HEAD
benhook1013 Nov 28, 2026
05ee34d
Merge commit '0e38576b6f342d19cae2a4aa778ae4add45190c7' into HEAD
benhook1013 Nov 28, 2026
f8c729c
Merge commit '9b6ef4fe663f27ca5022a3df5110e0f7b1cb823f' into HEAD
benhook1013 Nov 28, 2026
c01fd4a
Merge commit '6ce5ba0b7f0a9437ff343c2923a1c7ba0527bdef' into HEAD
benhook1013 Nov 28, 2026
b567605
Merge commit 'f98e2b5b4a25996ea30157cc25a371d280da0830' into HEAD
benhook1013 Nov 28, 2026
069a029
Merge commit 'f2f35bd170e8d61ddc0676b4fd0502f2a7aebf3a' into HEAD
benhook1013 Nov 28, 2026
f2bee82
Merge commit 'c84039a600a16559348de491297c8ca5783f5c8c' into HEAD
benhook1013 Nov 28, 2026
05dd509
Merge commit '1a16e013c8fb7b96fcd72a6d13aaa836bb1de89b' into HEAD
benhook1013 Nov 28, 2026
84ca6a0
Prove World APPLIED rollback and cross-Version terminal exclusion
benhook1013 Nov 28, 2026
f2dcc01
Merge commit '6364352bd2d903bb40e720add1cf7b7508c0b1a6' into HEAD
benhook1013 Nov 28, 2026
c4a8847
Merge commit 'cb37cdabbe10bbe5dfc487bfdeab02d8bb57f10d' into HEAD
benhook1013 Nov 28, 2026
23029bd
Merge commit 'c5e5c041619f40f7577d029be6295329fda64f07' into HEAD
benhook1013 Nov 28, 2026
0f08d70
Merge commit '3ede0e2d8d932fbb939cdd8ba0c8b213586ab106' into HEAD
benhook1013 Nov 28, 2026
8f8b7fb
Census corroborated retained Entity digest baselines
benhook1013 Nov 28, 2026
96619f6
Merge commit '3d8863f466ca67b915ba2024ee6373ba55a6e6f4' into HEAD
benhook1013 Nov 28, 2026
fcb0a7b
Prove frozen World release substitutions fail before allocation
benhook1013 Nov 28, 2026
1209965
Merge commit 'fc31b028121063944a6f05e9d8fd9bbbed9b9756' into HEAD
benhook1013 Nov 28, 2026
4bc3a45
Qualify exact ordinary Entity digest-two publication refusals
benhook1013 Nov 28, 2026
ffe9f70
Merge commit 'b08b0f2c8a3bf88eb557ce49c349d2b1e7813eb4' into HEAD
benhook1013 Nov 28, 2026
9781926
Merge commit '1921250b33ea7b8fea7af8f66668a15e1891cec7' into HEAD
benhook1013 Nov 28, 2026
9de8c64
Merge commit 'f0b0feb2e0bf81bcec259331453cf2ac08cb39c9' into HEAD
benhook1013 Nov 28, 2026
d334864
Merge commit '96f5fca3b5d0e4443e164e76af847c918102aee0' into HEAD
benhook1013 Nov 28, 2026
73c2d7a
Prove exact World activation manifest and held-authority rollback
benhook1013 Nov 28, 2026
623d568
Merge commit 'bb26cc508c0cf65ed3abf8d38e9bf140406b72e8' into HEAD
benhook1013 Nov 28, 2026
56cf1d8
Merge commit '89e7e5977c77c90bf62006c1ba17c1eab7414d51' into HEAD
benhook1013 Nov 28, 2026
e675baf
Merge commit 'ac45900d78f1620f6625da952b8b3a367ba34270' into HEAD
benhook1013 Nov 28, 2026
dfc2b0d
Prove pending World hold rejects a foreign fixture terminal seal
benhook1013 Nov 28, 2026
ee1b94a
Merge commit 'd05caf4f9119165609b42bfdaca9f66a82fbfdcf' into HEAD
benhook1013 Nov 28, 2026
95bd756
Merge commit '0d127d017ed017492acc2aeb6aece99146a1e0ae' into HEAD
benhook1013 Nov 28, 2026
ec3d37c
Merge commit 'cbef7ebb2fd79c575c365f6aa3057dc2b0112879' into HEAD
benhook1013 Nov 28, 2026
fe29b06
Merge commit 'fded3adf70051fa9c94a44d997a16ea4b869e152' into HEAD
benhook1013 Nov 28, 2026
b530ed6
Merge commit '0c06c64bf34bc48e5d42b4fffdb8852b493774f7' into HEAD
benhook1013 Nov 28, 2026
789d310
Merge commit '8c95511fbb654735b61e40f72c58f893185a5efb' into HEAD
benhook1013 Nov 28, 2026
4ca7a0c
Merge commit 'e620d0fe4de34340621b38b3dccaf847d8f074fd' into HEAD
benhook1013 Nov 28, 2026
1328517
Merge commit '3eb6b1bd9d23a1a538fb4d613e02795af4fb1eb5' into HEAD
benhook1013 Nov 28, 2026
43614d3
Merge commit 'd867a9964a888efea8d2d8dbfde8218ed468792b' into HEAD
benhook1013 Nov 28, 2026
5b5de97
Merge commit '2650d1ab2ed6c671ba3078b92fab0b9308312b45' into HEAD
benhook1013 Nov 28, 2026
8326f96
Merge commit 'f391bbc5aa69fabfef40695fd34dca01964d418a' into HEAD
benhook1013 Nov 30, 2026
0d60acb
Merge commit 'f91a23a82c8755540586fb20f6fb8dbf6a00a8cf' into HEAD
benhook1013 Nov 30, 2026
050dfe5
Merge commit '5d00d2ab0d9e04ebf4302d2b9fb25e0d7f8b6763' into HEAD
benhook1013 Nov 30, 2026
b12a3d8
Merge commit '1b99599260c47ed549be7ae870af484d479ea851' into HEAD
benhook1013 Nov 30, 2026
a1eaa6b
Merge commit '201756f5156047c3534dc30b64178b016f19bad8' into HEAD
benhook1013 Nov 30, 2026
b27f82f
Merge commit '5c740cebcc4d085b47016067e1a71c8b363b104c' into HEAD
benhook1013 Nov 30, 2026
97fdbe5
Merge commit '091fe4f4ac37388a7024cca381c5687d41de3f36' into HEAD
benhook1013 Nov 30, 2026
67cdbfb
Merge commit 'e27238e56474dc659cb0b984af507e81b159e991' into HEAD
benhook1013 Nov 30, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions buildSrc/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,17 @@ gradlePlugin {
}
}
}

dependencies {
testImplementation(gradleTestKit())
testImplementation("junit:junit:4.13.2")
}

tasks.test {
val proofInputs = layout.projectDirectory.file("../gradle/world-proof-migration-inputs.gradle")
val worldBuild = layout.projectDirectory.file("../services/world-management-service/build.gradle.kts")
inputs.files(proofInputs, worldBuild).withPathSensitivity(PathSensitivity.RELATIVE)
systemProperty("firemud.proofInputsScript", proofInputs.asFile.absolutePath)
systemProperty("firemud.worldBuildScript", worldBuild.asFile.absolutePath)
systemProperty("firemud.testGradleHome", gradle.gradleHomeDir!!.absolutePath)
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,150 @@
package net.firedevops.firemud;

import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;

import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
import java.util.List;
import java.util.Objects;
import org.gradle.testkit.runner.GradleRunner;
import org.gradle.testkit.runner.TaskOutcome;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.TemporaryFolder;

/** Real incremental/cache behavior using the declaration applied by the World project. */
public class WorldProofMigrationInputsTest {
private static final String GS = "game-session-service";
private static final String WORLD = "world-management-service";
@Rule public TemporaryFolder temporary = new TemporaryFolder();

@Test
public void bytesMembershipAndRootIdentityInvalidateButUnrelatedFilesDoNot() throws Exception {
Path root = fixture("checkout");
Path gs = migration(root, GS, "V1__owner.sql");
Path world = migration(root, WORLD, "V1__owner.sql");
write(gs, "select 'gs';");
write(world, "select 'world';");
outcome(root, "crossServiceTest", TaskOutcome.SUCCESS);
outcome(root, "crossServiceTest", TaskOutcome.UP_TO_DATE);
write(root.resolve("design/unrelated.md"), "not a migration");
write(root.resolve("services/unrelated/src/main/resources/db/migration/V1__other.sql"), "select 9;");
outcome(root, "crossServiceTest", TaskOutcome.UP_TO_DATE);
write(gs, "select 'edited';");
outcome(root, "crossServiceTest", TaskOutcome.SUCCESS);
Path added = migration(root, GS, "V2__added.sql");
write(added, "select 'added';");
outcome(root, "crossServiceTest", TaskOutcome.SUCCESS);
Files.delete(added);
outcome(root, "crossServiceTest", TaskOutcome.FROM_CACHE);
Path renamed = migration(root, GS, "V3__renamed.sql");
Files.move(gs, renamed);
outcome(root, "crossServiceTest", TaskOutcome.SUCCESS);
Files.move(renamed, gs);
outcome(root, "crossServiceTest", TaskOutcome.FROM_CACHE);
String gsBytes = Files.readString(gs);
String worldBytes = Files.readString(world);
write(gs, worldBytes);
write(world, gsBytes);
outcome(root, "crossServiceTest", TaskOutcome.SUCCESS);
Path config = migration(root, GS, "V1__owner.sql.conf");
write(config, "executeInTransaction=false");
outcome(root, "crossServiceTest", TaskOutcome.SUCCESS);
write(config, "executeInTransaction=true");
outcome(root, "crossServiceTest", TaskOutcome.SUCCESS);
}

@Test
public void relocatedCheckoutReusesTheSameCacheEntry() throws Exception {
Path first = fixture("first");
Path relocated = fixture("relocated");
write(migration(first, GS, "V1__owner.sql"), "select 'same';");
write(migration(relocated, GS, "V1__owner.sql"), "select 'same';");
outcome(first, "crossServiceTest", TaskOutcome.SUCCESS);
outcome(relocated, "crossServiceTest", TaskOutcome.FROM_CACHE);
assertEquals(Files.readString(first.resolve("build/crossServiceTest.txt")),
Files.readString(relocated.resolve("build/crossServiceTest.txt")));
}

@Test
public void sharedDeclarationSelectsExactOwnerRootsAndWorldAppliesIt() throws Exception {
String worldBuild = Files.readString(Path.of(System.getProperty("firemud.worldBuildScript")));
assertTrue(worldBuild.contains("apply(from = \"${rootDir}/gradle/world-proof-migration-inputs.gradle\")"));
Path root = fixture("roots");
for (String owner : List.of(WORLD, GS, "account-service", "entity-management-service", "common-saga")) {
write(migration(root, owner, "V1__owner.sql"), owner);
}
write(root.resolve("services/common-saga/src/main/resources/db/migration/not-saga.sql"), "excluded");
outcome(root, "integrationTest", TaskOutcome.SUCCESS);
assertEquals(List.of(relative(GS), relative("common-saga"), relative(WORLD)).stream().sorted().toList(),
selected(root, "integrationTest"));
outcome(root, "crossServiceTest", TaskOutcome.SUCCESS);
assertEquals(List.of(relative("account-service"), relative("entity-management-service"),
relative(GS), relative("common-saga"), relative(WORLD)).stream().sorted().toList(),
selected(root, "crossServiceTest"));
write(migration(root, "account-service", "V1__owner.sql"), "changed Account");
outcome(root, "integrationTest", TaskOutcome.UP_TO_DATE);
outcome(root, "crossServiceTest", TaskOutcome.SUCCESS);
}

private static List<String> selected(Path root, String task) throws IOException {
return Files.readAllLines(root.resolve("build/" + task + ".txt")).stream()
.map(line -> line.substring(0, line.indexOf('='))).toList();
}

private Path fixture(String name) throws IOException {
Path root = temporary.getRoot().toPath().resolve(name);
Files.createDirectories(root);
Path cache = temporary.getRoot().toPath().resolve("local-cache");
write(root.resolve("settings.gradle"), "rootProject.name='proof-input-fixture'\n"
+ "buildCache { local { directory = file('" + cache.toString().replace("\\", "/") + "') } }\n");
write(root.resolve("gradle.properties"), "org.gradle.jvmargs=-Xmx256m\norg.gradle.workers.max=1\n");
Files.copy(Path.of(System.getProperty("firemud.proofInputsScript")), root.resolve("proof-inputs.gradle"));
write(root.resolve("build.gradle"), """
import org.gradle.api.tasks.*
@CacheableTask
abstract class Probe extends DefaultTask {
@OutputFile abstract RegularFileProperty getResult()
@TaskAction void capture() {
def root = project.rootProject.projectDir.toPath()
result.get().asFile.text = inputs.files.files.collect {
root.relativize(it.toPath()).toString() + '=' + it.text
}.sort().join('\\n')
}
}
['integrationTest', 'crossServiceTest'].each { taskName ->
tasks.register(taskName, Probe) {
result = layout.buildDirectory.file(taskName + '.txt')
}
}
apply from: 'proof-inputs.gradle'
""");
return root;
}

private void outcome(Path root, String task, TaskOutcome expected) {
var result = GradleRunner.create()
.withProjectDir(root.toFile())
.withGradleInstallation(Path.of(System.getProperty("firemud.testGradleHome")).toFile())
.withTestKitDir(temporary.getRoot().toPath().resolve("test-kit").toFile())
.withArguments(task, "--build-cache", "--stacktrace", "--max-workers=1")
.build();
assertEquals(result.getOutput(), expected, Objects.requireNonNull(result.task(":" + task)).getOutcome());
}

private static String relative(String owner) {
return "services/" + owner + "/src/main/resources/db/migration/"
+ (owner.equals("common-saga") ? "saga/" : "") + "V1__owner.sql";
}

private static Path migration(Path root, String owner, String file) {
return root.resolve(relative(owner)).resolveSibling(file);
}

private static void write(Path file, String value) throws IOException {
Files.createDirectories(file.getParent());
Files.writeString(file, value);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -182,15 +182,13 @@ The selected-empty reader resolves by configured namespace, canonical tenant UUI

The local V1011 storage guard treats an owner-resolved character's private Entity tenant-row ID as runtime identity rather than an authored-source TENANT key only when the row has complete canonical provenance, its tenant UUID and private row ID match the immutable tenant mapping, and its namespace and scope match the enrolled namespace tuple. Legacy writes using a reserved numeric key remain denied, and the guard continues to require READ COMMITTED. Canonical assignment currently writes no inventory, equipment, or actor-state child rows; this storage distinction does not enable those writers or gameplay admission.

The registered version-scoped `GetDraftDesignDigest` response emits `digestSchemaVersion=1`. Changing the equipment-slot-group digest to schema 2 remains unimplemented target work. This standalone, unregistered selected-empty reader emits `digestSchemaVersion=3` and does not change the registered RPC. The schema-3 SHA-256 content preimage uses ADR 0047 byte-length framing over these ordered segments: the owner-specific domain `entity-selected-empty-publication-digest/v1`, schema `3`, canonical tenant UUID, numeric Game Design Version row, canonical Version UUID retained in the selected-target proof, and the exact canonical Entity inventory declaration. `appliedCommitId` is the original selected commit UUID retained in the receipt. Existing participant evidence must remain preserved under its original schema, meaning, and bytes; this standalone reader does not rewrite or upgrade existing evidence in place. This is a separately versioned, bounded semantic digest, not a receipt digest and not a claim that all nonempty Entity template families are covered. Only the new selected full-release profile may accept schema 3 after its compatible recorded owner evidence and exact readback pass.
The registered version-scoped `GetDraftDesignDigest` response emits `digestSchemaVersion=2`, including normalized equipment-slot-group constraints. The standalone selected-empty reader emits `digestSchemaVersion=3` through its owner-local composition. The schema-3 SHA-256 content preimage uses ADR 0047 byte-length framing over these ordered segments: the owner-specific domain `entity-selected-empty-publication-digest/v1`, schema `3`, canonical tenant UUID, numeric Game Design Version row, canonical Version UUID retained in the selected-target proof, and the exact canonical Entity inventory declaration. `appliedCommitId` is the original selected commit UUID retained in the receipt. Existing participant evidence must remain preserved under its original schema, meaning, and bytes; this standalone reader does not rewrite or upgrade existing evidence in place. This is a separately versioned, bounded semantic digest, not a receipt digest and not a claim that all nonempty Entity template families are covered. Only the new selected full-release profile may accept schema 3 after its compatible recorded owner evidence and exact readback pass.

The selected-empty service additionally compares the incoming publication request, derived workflow and request digest with the original retained World freeze, its exact selected commit and acknowledgement. A later read correlation or latest owner state cannot substitute for that publication operation. Its schema-3 digest participates only in the [selected-full publication profile](../game-design-service/version-control.md#selected-full-publication-profile), where Game Design independently validates retained recipient evidence. Controlled receipt fixtures, local content integrity and a successful standalone read do not establish genuine Account authority, an authored producer, continuous currentness or permission to publish.

Implementation Notes:
The registered digest hashes items, NPCs, crafting recipes and their ingredients, equipment-slot definitions, and body-layout slot definitions for `(tenantId, versionId)`. The item projection includes the normalized optional `equipmentSlotGroupKey` checked by runtime equipment admission. Later version-scoped template families must join the same digest contract.

- The current implementation hashes the version-scoped entity-definition rows for the requested `(tenantId, versionId)` and returns synthetic `appliedCommitId = "version:<versionId>"` until the later applied-revision ledger lands.
- Current version-scoped digest inputs include `items`, `npcs`, and `crafting_recipes`; later entity-template families must join this same `(tenantId, versionId)` digest contract when introduced.
- The current item projection omits `equipmentSlotGroupKey`, although runtime equipment admission consumes that authored value when checking an item against an equipment slot definition. A change to the slot-group constraint can therefore leave the Entity participant digest unchanged. The target manifest includes the normalized optional field and bumps `digestSchemaVersion` (from `1` to `2`); proof must show cross-version slot-group changes alter the digest and are caught by the publish gate.
The following rules define the target manifest.

- Included objects:
- version-scoped entity-template tables such as item, NPC, equipment, loot-table, and balance-curve definitions keyed by `(tenantId, versionId)`;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ The explicitly enabled local demo owner-authentication client makes at most thre
- The live Entity schema does not yet represent the target namespace-stable identity for durable S1/S2 state: `characters` and `actor_resource_states` retain legacy `playable_state_key`, while `inventory`, `character_friend`, `character_equipment`, and durable holder/containment rows omit `playableStateNamespaceId` (and some omit `tenant_id` entirely). The current repositories consequently cannot enforce the target `{tenantId, playableStateNamespaceId, domainObjectId}` identity at the SQL boundary. A convergent migration, legacy-row disposition/backfill evidence, namespace-aware repository predicates, and focused isolation proof remain required; until those are complete, legacy `playable_state_key` rows (including `character_friend` associations reached through them) are not namespace-isolated proof and cutover readers must not treat them as namespace-backed survivor state. This does not change the target contract above.
- The live `item_stacks` uniqueness constraint includes nullable holder columns, so PostgreSQL can accept duplicate rows for the same tenant/holder/item/fingerprint when another holder column is `NULL`. Inventory and container mutation paths still use find-then-create/save rather than an atomic conflict-safe operation. With no explicit `stackFamilyKey`, source resolution rejects more than one candidate row; with an explicit family key, the current implementation selects the first matching row and does not reject duplicate matches. Target resolution must enforce exactly one matching stack (or fail closed), alongside holder-kind-specific uniqueness or normalized non-null identity, atomic upsert/locking, and concurrent proof.
- The current `characterGraph` helper caches `getWithInventory(characterId)` by character ID alone with a TTL and performs no namespace or authoritative version validation. It is not the target namespace-qualified Class A `character-cache:*` contract; until that contract is implemented and proved, this cache is not correctness authority.
- `EntityDraftDesignDigestServiceImpl` currently emits `digestSchemaVersion=1` without hashing item `equipmentSlotGroupKey`, while `EquipmentServiceImpl` uses that field for slot compatibility admission. The digest is therefore incomplete for equipment semantics: different slot-group constraints may attest the same content digest. Target convergence adds the normalized field, bumps the schema version, and proves cross-version digest isolation plus publish-gate rejection of a changed constraint.
- Ordinary numeric Draft publication uses Entity digest schema 2, including normalized item equipment-slot/group constraints, canonical effect payloads and version-scoped equipment vocabulary/body-layout definitions. Game Design's ordinary gate requires schema 2; selected-full publication retains its separate schema-3 contract and historical attestation mappings remain unchanged. Recorded schema-1 baselines must not be reinterpreted or compared as schema 2. Their census, guarded migration and readers-first qualification remain a deployment gate; this source does not activate a migration job. Qualification and remaining scope belong to the [owning implementation tracker](../../../project-management/implementation-tracking/gameplay-rules-entities-and-effects.md#ordinary-entity-publication-digest-convergence).

- Entity V1003–V1005 adds independent opaque actor UUIDs, quarantine metadata, exact namespace/scope constraints, and canonical lookup indexes without inferring Account or tenant UUID provenance. Legacy values are retained. The exact canonical repository reader excludes quarantined rows. Ordinary character projections follow the [Account UUID ownership contract](./api-contracts.md#ordinary-account-ownership) and refuse retained rows without UUID ownership. Separately, numeric character, inventory, equipment, friend, resource and condition predicates exclude actors carrying canonical `tenant_uuid` provenance even when their status becomes `QUARANTINED`, including updates and condition expiry. Legitimate legacy/quarantined rows with null canonical tenant provenance retain their existing storage predicates; this does not supply missing Account UUID ownership or authorize a public character projection. Entity's private tenant-row association is not a platform numeric tenant identity; equal numeric values do not authorize legacy access to a canonical actor. Canonical UUID assignment, receipt and roster predicates remain separate. This narrow storage bridge boundary does not activate runtime quarantine enforcement or canonical player admission.
- Entity V1006–V1010 adds committed assignment/receipt and sealed roster-snapshot storage with canonical publication identity and exact owner counters. The services and certificate-guarded client/read-adapter source definitions are manually composed and unregistered; neither default scanning nor an optional flag registers them. No authenticated production transport, actor promotion of retained legacy rows, or runtime admission is activated. The detailed assignment/roster contract remains in [Entity API Contracts](./api-contracts.md#implementation-status).
Expand Down
Loading
Loading