Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
183 commits
Select commit Hold shift + click to select a range
3c8d8c1
test: compose unregistered capacity origin custody receiving proof
benhook1013 Nov 12, 2026
bb69d3f
test: export origin receiving resources in composition proof jar
benhook1013 Nov 12, 2026
5a801d4
test: align origin mutation digest with canonical raw SHA256 contract
benhook1013 Nov 12, 2026
03d9e4d
Install durable capacity origin custody in the receiving branch
benhook1013 Nov 12, 2026
cbd6e40
Reject a missing retained origin policy explicitly
benhook1013 Nov 12, 2026
3dd6491
Test SQL intent before delayed gameplay FINAL
benhook1013 Nov 12, 2026
9fc5d07
Publish origin integration fixture state safely
benhook1013 Nov 12, 2026
33ba57f
Retain exact pre-intent FINAL as historical evidence
benhook1013 Nov 12, 2026
60f5e12
Merge commit '9fc5d07f0a20cd638baaa1377edce0f73464844a' into HEAD
benhook1013 Nov 12, 2026
6b9749c
Align current integration fixtures with origin migration
benhook1013 Nov 12, 2026
08fd263
Merge commit 'f7d51937a4a81e9b235d1edb63024fb1c5a887ea' into HEAD
benhook1013 Nov 12, 2026
c19254f
Merge commit '08fd2630803b11f987e4002924d19ffa862bd51c' into HEAD
benhook1013 Nov 12, 2026
646c4e1
Merge commit '595d20db182014811a9eecd1f0eb7ab592fecb11' into HEAD
benhook1013 Nov 12, 2026
8bbaadc
Merge commit '646c4e1e8b4923916b325a46c0e016cbee788c4c' into HEAD
benhook1013 Nov 12, 2026
583c1a2
Format capacity origin handoff and its focused witness
benhook1013 Nov 12, 2026
09bd305
Merge commit '583c1a2972a78389c6af5408bc7c8c9ca2599101' into HEAD
benhook1013 Nov 12, 2026
254e9df
Format current historical receipt catalog cases
benhook1013 Nov 12, 2026
943548c
Carry atomic final admission retention onto origin receiving
benhook1013 Nov 12, 2026
6b95d01
Carry corrected retention proof fixture from the reviewed parent
benhook1013 Nov 12, 2026
6d73c1a
Carry atomic final admission retention onto historical fence receiving
benhook1013 Nov 12, 2026
cb4e9fb
Carry final retention fixture correction
benhook1013 Nov 12, 2026
f0876b8
Carry final retention fixture correction
benhook1013 Nov 12, 2026
6c6d507
Carry exact transfer custody and catalog epoch into origin receiving
benhook1013 Nov 12, 2026
fc805e6
Carry authentic transfer custody through historical fence receiving
benhook1013 Nov 12, 2026
122d2f1
Carry initial execution guard and catalog epoch into origin receiving
benhook1013 Nov 12, 2026
640d758
Carry initial execution custody through historical fence receiving
benhook1013 Nov 12, 2026
df9501a
Carry exact terminal transfer update onto origin custody
benhook1013 Nov 12, 2026
6cc3c50
Carry exact terminal transfer and retention proof onto historical rec…
benhook1013 Nov 12, 2026
6734df6
Carry exact transfer recovery into origin receiving
benhook1013 Nov 12, 2026
9d62fde
Carry credential-free capacity evidence into origin receiving
benhook1013 Nov 12, 2026
863f402
Carry credential-free evidence and exact origin custody into historic…
benhook1013 Nov 12, 2026
585556f
Apply the handoff deadline to origin completion reads
benhook1013 Nov 12, 2026
65f32bc
Carry bounded origin completion into historical FINAL receiving
benhook1013 Nov 12, 2026
39834cd
Carry staged Game Session capacity receiving into origin recovery
benhook1013 Nov 12, 2026
6cbd7f1
Carry staged capacity lineage into historical FINAL evidence
benhook1013 Nov 12, 2026
9cecde8
Carry tested Account capacity fixes into origin recovery
benhook1013 Nov 12, 2026
6dc32cb
Carry tested Account capacity fixes into historical FINAL receiving
benhook1013 Nov 12, 2026
3ea2050
Carry typed capacity outcomes into origin recovery receiving
benhook1013 Nov 12, 2026
8985d71
Carry typed capacity outcomes into historical FINAL receiving
benhook1013 Nov 12, 2026
7e94d96
Compare the retained origin deadline as an instant
benhook1013 Nov 12, 2026
94d3976
Carry the verified Account replay fixture into origin recovery
benhook1013 Nov 12, 2026
2695917
Reconcile origin recovery with the exact capacity execution base
benhook1013 Nov 12, 2026
481481f
Reconcile historical FINAL receiving with the verified origin base
benhook1013 Nov 12, 2026
8482bf6
Carry bounded transfer fixes into origin custody receiving
benhook1013 Nov 12, 2026
834707d
Carry bounded origin and execution handoff into historical FINAL
benhook1013 Nov 12, 2026
514277e
Prove historical FINAL witness bounds and populated catalog upgrade
benhook1013 Nov 12, 2026
4c0b1f8
Defer successor reservation until empty-origin transfer proof is qual…
benhook1013 Nov 12, 2026
a4bf802
Merge commit '6cfaeeceaeabf5b88822e46e649d8a61a25074c3' into HEAD
benhook1013 Nov 12, 2026
91077be
Format the qualified transfer reservation changes
benhook1013 Nov 12, 2026
12651da
Reconcile historical FINAL custody with the qualified origin transfer…
benhook1013 Nov 12, 2026
d82c803
Recover exact committed origin replay and prove retained predecessor …
benhook1013 Nov 12, 2026
0028af1
Verify both custody inventories through one retained Redis connection
benhook1013 Nov 12, 2026
59d0ce7
Merge commit '8c6fc3b1757c6b9171e14896bff1445c44c523a2' into HEAD
benhook1013 Nov 12, 2026
f56780f
Format retained custody readback verification
benhook1013 Nov 12, 2026
ca5d37f
Carry tested lease and origin recovery fixes into historical FINAL cu…
benhook1013 Nov 12, 2026
2d6129e
Prove historical FINAL receipt mutation guards
benhook1013 Nov 12, 2026
e09c272
Qualify exact origin custody and same-grant transfer recovery
benhook1013 Nov 12, 2026
19efb7a
Carry signed-evidence expiry into origin custody transfer
benhook1013 Nov 12, 2026
ff87565
Carry qualified origin recovery into historical FINAL receipt proof
benhook1013 Nov 12, 2026
d010839
Format transfer continuation and expiry checks
benhook1013 Nov 12, 2026
1135d75
Format carried transfer custody checks
benhook1013 Nov 12, 2026
625a0c1
Reconcile historical FINAL proof with published origin custody
benhook1013 Nov 12, 2026
1c88fc0
Carry deterministic deadline proof setup
benhook1013 Nov 12, 2026
0b9c8a9
Carry deterministic deadline proof setup
benhook1013 Nov 12, 2026
2eef352
Carry bounded handoff and TLS fixes into origin receiving
benhook1013 Nov 12, 2026
efcdc92
Carry bounded gameplay handoff and TLS fixes
benhook1013 Nov 12, 2026
116029f
Recover acknowledged and aborted capacity origins within custody
benhook1013 Nov 12, 2026
5fff0f5
Carry exact origin recovery fixes
benhook1013 Nov 12, 2026
cdd98ee
Carry published-stub and World call compatibility
benhook1013 Nov 12, 2026
ac554d1
Carry published-stub and World call compatibility
benhook1013 Nov 12, 2026
522009c
Preserve origin custody and confirm late-aborted handoffs
benhook1013 Nov 12, 2026
2682d76
Carry origin custody and completed-transfer confirmation fixes
benhook1013 Nov 12, 2026
4c65ec8
Cap Redis origin mutations at the admitted operation deadline
benhook1013 Nov 12, 2026
e092dcc
Carry bounded origin mutation deadlines and rollout evidence
benhook1013 Nov 12, 2026
0f37e30
Exercise the actual owner path for an unresolved handoff
benhook1013 Nov 13, 2026
466211d
Carry bounded World placement and contender lease custody
benhook1013 Nov 13, 2026
63b4ab6
Carry bounded World placement and contender lease custody
benhook1013 Nov 13, 2026
6b9266f
Carry capacity receipt serialization through origin custody
benhook1013 Nov 13, 2026
e2711d5
Carry capacity receipt serialization through historical observation
benhook1013 Nov 13, 2026
ef43643
Verify the carried final-receipt closure guard
benhook1013 Nov 13, 2026
8834d6f
Merge commit '0c7dfb31d39e08ec23d349d80aa969a6e83a12b0' into codex/ga…
benhook1013 Nov 13, 2026
be1ab0d
Verify the carried historical receipt closure guard
benhook1013 Nov 13, 2026
03a0bc3
Merge commit '8834d6ffe10ffcede3f6443849a0644117b8f4f8' into codex/ga…
benhook1013 Nov 13, 2026
0c327d5
Verify carried receipt guard routine
benhook1013 Nov 13, 2026
d5a4bda
Verify carried receipt guard routine
benhook1013 Nov 13, 2026
e24614c
Merge commit 'be9f258e43b8d06a844db61550bf6b15c6b72e51' into codex/ga…
benhook1013 Nov 13, 2026
be9f258
Merge commit '50794abbf8ba2ba5618c88e68c5fb289c0938918' into codex/ga…
benhook1013 Nov 13, 2026
0e3ca87
Assert the closure trigger update event
benhook1013 Nov 13, 2026
9e3af46
Assert the closure trigger update event
benhook1013 Nov 13, 2026
c0c3d5a
Merge commit '876e90c1c4372efc6029ddb9c99c1754fa3af967' into codex/ga…
benhook1013 Nov 13, 2026
876e90c
Merge commit '6fccbf5342735a454bf0ea444d7a2290b71e2d15' into codex/ga…
benhook1013 Nov 13, 2026
80cac8e
Verify sealed observation catalog bytes against their own epoch
benhook1013 Nov 13, 2026
c5b1056
Record the Account capacity-origin rollout boundary
benhook1013 Nov 13, 2026
a113dd5
Merge commit 'c5b1056aba2af1cd3c517bd54386742e9539aa6e' into codex/ga…
benhook1013 Nov 13, 2026
e0d932d
Resume the exact retained terminal origin in the receiving handoff
benhook1013 Nov 13, 2026
010e49a
Merge commit '1ca8489c426d75fc0dbb5eb61734bd81547ca2ae' into codex/ga…
benhook1013 Nov 13, 2026
15db13c
Merge commit '010e49a5e42215390f1a6185429209c729df8b0c' into codex/ga…
benhook1013 Nov 13, 2026
47e94d5
Format the receiving handoff and physical fixture
benhook1013 Nov 13, 2026
11f6552
Merge commit '47e94d50307fee59a2ba441a28789d0687b39d2e' into codex/ga…
benhook1013 Nov 13, 2026
4df4403
Complete the receiving fixture wiring for the bounded handoff
benhook1013 Nov 13, 2026
edfc963
Merge commit '4df440305dc261cd22dc4fad66e4a1f7b00d9f6b' into codex/ga…
benhook1013 Nov 13, 2026
4cdb841
Carry reviewed capacity and checkout corrections
benhook1013 Nov 13, 2026
36aa080
Use receiving terminal source for carried abort proof
benhook1013 Nov 13, 2026
97d7c7a
Carry reviewed capacity and checkout corrections
benhook1013 Nov 13, 2026
fc50c30
Bound receiving incarnation and install custody
benhook1013 Nov 13, 2026
03596a0
Carry verified capacity replay and handoff safeguards
benhook1013 Nov 13, 2026
6b9aff6
Carry verified capacity replay and handoff safeguards
benhook1013 Nov 13, 2026
f638682
Carry bounded initial timeline and corrected owner proofs
benhook1013 Nov 13, 2026
877a791
Carry bounded initial timeline and corrected owner proofs
benhook1013 Nov 13, 2026
16d6608
Carry bounded initial timeline and corrected owner proofs
benhook1013 Nov 13, 2026
6961193
Anchor exact published origin-receiving comparison
benhook1013 Nov 13, 2026
ed3076f
Reuse transfer observation budget for receiving origin recovery
benhook1013 Nov 13, 2026
ccc1844
Receive capacity readback and carry bounded observation and connectio…
benhook1013 Nov 13, 2026
377fdd4
Describe late Redis connector disposal in receiving scope
benhook1013 Nov 13, 2026
4ead577
Carry connector lifetime through the origin receiver
benhook1013 Nov 13, 2026
593c69d
Receive capacity readback and carry bounded observation and connectio…
benhook1013 Nov 13, 2026
93bc410
Match receiving observation test formatting
benhook1013 Nov 13, 2026
da00fe9
Receive capacity readback and carry bounded observation and connectio…
benhook1013 Nov 13, 2026
87a5ea6
Carry exact late Redis close proof
benhook1013 Nov 13, 2026
caf22a9
Receive capacity readback and carry bounded observation and connectio…
benhook1013 Nov 13, 2026
9cb580a
Match late close proof formatting
benhook1013 Nov 13, 2026
95b8387
Receive capacity readback and carry bounded observation and connectio…
benhook1013 Nov 13, 2026
f566a49
Carry bounded capacity execution and align the readback boundary
benhook1013 Nov 13, 2026
89c7bba
Carry exact admission evidence and first handoff into origin receiving
benhook1013 Nov 13, 2026
38faf6e
Assert typed protected observation timeout in physical proof
benhook1013 Nov 13, 2026
1b02f1b
Use the named observation timeout in the integration assertion
benhook1013 Nov 13, 2026
7d80141
Verify the retained charge before committing origin closure custody
benhook1013 Nov 13, 2026
1f92777
Carry bounded evidence and qualified committed topology into origin r…
benhook1013 Nov 13, 2026
b56aa87
Carry bounded capacity evidence and exact handoff fixes
benhook1013 Nov 13, 2026
ff6c29a
Carry durable denial settlement into origin receiving
benhook1013 Nov 13, 2026
717ec63
Carry bounded capacity evidence and exact handoff fixes
benhook1013 Nov 13, 2026
a2ff1df
Carry exact capacity closure and frozen transfer fixes
benhook1013 Nov 13, 2026
4ca0858
Carry exact capacity closure and frozen transfer fixes
benhook1013 Nov 13, 2026
171d78a
Carry exact capacity closure and frozen transfer fixes
benhook1013 Nov 13, 2026
ac3e4f9
Carry exact capacity closure and frozen transfer fixes
benhook1013 Nov 13, 2026
6854b1a
Carry scoped Redis disposal into origin receiving
benhook1013 Nov 13, 2026
da9ed81
Merge commit '7fe95f344da904dedaf24490c22fd906b9bd1283' into HEAD
benhook1013 Nov 13, 2026
1daa077
Carry scoped Redis disposal into historical FINAL retention
benhook1013 Nov 13, 2026
32c980b
Merge commit 'cbe0b3fe9d423ded598e39fc6e1759a410d69fa2' into HEAD
benhook1013 Nov 13, 2026
ca9fece
Merge commit 'd22c6082ae3f0b62d2822fdeee1ecbb37533b109' into HEAD
benhook1013 Nov 13, 2026
ca166ae
Merge commit 'ea3f8e1b095a4a79663c4c76c43ee6c231bd8e20' into HEAD
benhook1013 Nov 13, 2026
89de394
Merge commit '05d890114db0216de4f5d096abc45a0d2c2d352a' into HEAD
benhook1013 Nov 13, 2026
d999866
Merge commit '89de3945d9a1d52aac1a17ea45cdbd1d648cbe59' into codex/ga…
benhook1013 Nov 13, 2026
d9917f2
Bind the origin descriptor to the carried admission script
benhook1013 Nov 13, 2026
91d537a
Merge commit 'd9917f2af4b5ff73e3703a2514cb94990d1bd5f9' into codex/ga…
benhook1013 Nov 13, 2026
edb6568
Merge commit '77becc50af4742aebd228364d064459b41d1f592' into HEAD
benhook1013 Nov 13, 2026
d6b2c6b
Merge commit 'edb65685ad55614236237260ee4ba17d96c45732' into codex/ga…
benhook1013 Nov 13, 2026
f3559c6
Preserve transfer-budget fixture limits in the origin-custody carry
benhook1013 Nov 13, 2026
a8d27a8
Merge commit 'f3559c616724e1e2284e2c95ea6e46c2c6f63bf9' into codex/ga…
benhook1013 Nov 13, 2026
5d2a162
Merge commit '844da3b245229dcd4b98798b55d88db1ec958045' into HEAD
benhook1013 Nov 13, 2026
09866ad
Merge commit '5d2a162aa5b24e3394e5016baa674d3c0e760c67' into codex/ga…
benhook1013 Nov 13, 2026
0818fb3
Carry exact transfer-history guard fixture helpers
benhook1013 Nov 13, 2026
da21675
Merge commit '0818fb313f25ed2a10087636ab07dd54743e3531' into codex/ga…
benhook1013 Nov 13, 2026
15ee3b6
Merge commit 'e997977877298137bcb7fe2914fc50447e64ff48' into codex/ga…
benhook1013 Nov 13, 2026
e997977
Merge commit 'f8c54e21fa82ac9cef0ac72ba8ec797ab388ce77' into HEAD
benhook1013 Nov 13, 2026
8d146b2
Carry partitioned Gameplay integration suites through #3425
benhook1013 Nov 13, 2026
33927cf
Carry partitioned Gameplay integration suites through #3424
benhook1013 Nov 13, 2026
923d0b6
Carry reviewed Account checkout fixes through #3425
benhook1013 Nov 13, 2026
c0352ff
Carry reviewed Account checkout fixes through #3424
benhook1013 Nov 13, 2026
3a99687
Carry paid credential current-source validation through #3425
benhook1013 Nov 13, 2026
2b915f0
Carry paid credential current-source validation through #3424
benhook1013 Nov 13, 2026
04c75b4
Carry exact Gameplay review fixes through #3425
benhook1013 Nov 13, 2026
3de16c7
Carry exact Gameplay review fixes through #3424
benhook1013 Nov 13, 2026
a797eef
Format receiving Game Session physical proof
benhook1013 Nov 13, 2026
e84a20e
Carry the verified credential-abuse review repairs through #3424
benhook1013 Nov 13, 2026
1bb5c7e
Carry the verified credential-abuse review repairs through #3425
benhook1013 Nov 13, 2026
dddb142
Carry exact receiving fixes through #3424
benhook1013 Nov 13, 2026
236f23c
Carry exact receiving fixes through #3425
benhook1013 Nov 13, 2026
818ca37
Carry exact receiving fixes through #3424
benhook1013 Nov 13, 2026
abe5c1e
Carry exact receiving fixes through #3425
benhook1013 Nov 13, 2026
1c045a4
Carry the reviewed region proof boundary through #3424
benhook1013 Nov 13, 2026
3ad0b84
Carry the reviewed region proof boundary through #3425
benhook1013 Nov 13, 2026
7595735
Carry exact receiving fixes through #3424
benhook1013 Nov 13, 2026
f209c9d
Carry exact receiving fixes through #3425
benhook1013 Nov 13, 2026
cc89224
Carry exact receiving fixes through #3424
benhook1013 Nov 13, 2026
2a44cda
Carry exact receiving fixes through #3425
benhook1013 Nov 13, 2026
2979904
Carry exact receiving fixes through #3424
benhook1013 Nov 13, 2026
0341860
Carry exact receiving fixes through #3425
benhook1013 Nov 13, 2026
a30bfc7
Carry exact receiving fixes through #3424
benhook1013 Nov 13, 2026
28ca717
Carry exact receiving fixes through #3425
benhook1013 Nov 13, 2026
415f0cf
Carry fixture default while retaining regional proof composition
benhook1013 Nov 13, 2026
c2fd7db
Carry exact receiving fixes through #3425
benhook1013 Nov 13, 2026
84a9a61
Reconcile receiving capacity with the current abuse prerequisite
benhook1013 Nov 27, 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
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,12 @@ An `ABORTED` original operation whose decision was unknown retains its null deci

Exact retries return the retained resolution after current-caller and original-operation checks without requiring Game Session to remain provisional. Conflicting selectors or evidence fail closed. Read and null-decision Abort continue to return the original unknown terminal result without resolution; unrelated purposes cannot carry it. Game Session requires the separately authenticated, exactly correlated resolution before its existing fenced transition and binding/index cleanup. Broader orphan-delivery and production-registration qualification remain separate.

### Account reader for original NEW capacity execution

The unregistered `AccountOriginalNewCapacityExecutionReadClient` is the concrete `AccountTenantCapacityRecoveryWorker.ExecutionReadClient` for the bounded public `SHARED` / `PRESEEDED_ONLY` original-NEW boundary. It authenticates the exact same-namespace Game Session certificate-derived server, uses a deadline at most five seconds and never carries an ambient Account SQL transaction across the call. It validates the complete echoed attempt/reservation selector, canonical execution, captured original owner/fence and separately fresh current owner/fence before constructing the worker's exact original-payload observation.

Only actual immutable final-session/receipt proof maps to `COMMITTED`; only irreversible original-attempt closure maps to `NOT_EXECUTED_AFTER_AUTHORIZATION`. Missing, changed, interrupted or ambiguous evidence stays `INDETERMINATE` through the existing worker, preserving the hold and bounded quarantine policy. Account remains sole capacity transition authority. The read does not register the worker or release from expiry. Serving retirement after positive outcome retention and negative replay from retained SQL CLOSED proof plus its exact persistent Redis tombstone are supported. Retention-before-cleanup ordering in the pre-retention crash window, genuine never-admitted cleanup of the acknowledged PROVISIONAL boundary and runtime teardown/used-capacity retirement are unqualified. The [Game Session read contract](../game-session-service/api-contracts.md#original-new-capacity-execution-read) records the exact owner and transport consequences.

### Account reader for the original NEW final admission

The credential owner uses an `AccountOriginalNewFinalAdmissionReadClient` callback after issuing the bound credential and before persisting Account's final confirmation. Its concrete `AccountOriginalNewFinalAdmissionGrpcReadClient` is a manually composed, same-namespace mTLS client to Game Session. It sends the immutable original anchors and digests through the closed final-read selector; it never sends the LOGIN JWT or opaque rebind-handle bytes. The callback accepts only an exact, authenticated `COMPLETE` schema-2 readback with matching anchors and valid admission/continuity times, after which Account may activate and confirm the same original issuance. The callback is not wired into the default Account runtime. Without it, final confirmation fails closed; this client does not create an endpoint, admission decision, or public PLAY/LOOK path. The Game Session read contract is described in [Game Session API Contracts](../game-session-service/api-contracts.md#grpc-apis).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ This document collects the Account Service operational behavior, readiness model
- Logging, metrics, and tracing follow the standard [Logging & Monitoring](../../system-architecture-logging-monitoring.md) pipeline.
- Expired connect-scope cleanup requires PostgreSQL 16 or later because its deletion predicate uses `pg_input_is_valid`; local Docker Compose uses PostgreSQL 18, and Account's shared Testcontainers fixture selects the digest-pinned PostgreSQL 18 baseline in [Testing Architecture's shared container image references](../../system-architecture-testing.md#shared-container-image-references). Fixture selection does not demonstrate Docker-backed execution of Account integration tests, which remains pending proof. Keep the guarded delete predicate and do not add a pre-16 compatibility query.

### V1040.1 capacity-origin rollout

The [capacity-origin decision guard](./runtime-and-data.md#implementation-status) applies at Account startup and rejects reservation writes from the earlier binary. The [base Deployment](../../../../k8s/base/account-service.yaml) uses `Recreate`. The [Account Helm Deployment](../../../../k8s/helm/account-service/templates/deployment.yaml) omits `spec.strategy`, which defaults to `RollingUpdate`. The checked-in trusted dev-demo migration classifier does not recognize V1040.1 and refuses the affected release before namespace mutation. The hosted candidate preview path also holds changed SQL migrations pending independent fresh-database and writer-absence proof.

Before activation on a retained database, the trusted release owner must close the `account-service` writer Service endpoints and verify their EndpointSlices are empty, stop the Account writers, and prove that no old writer remains. Retain the effective rendered strategy, writer and database identities, and the drain readbacks with the release. Follow the [version-aware migration checklist](../../system-architecture-database-migrations.md#version-aware-migration-checklist) for starting the compatible binary and restoring admission. The trusted V1040.1 path and environment-specific drain evidence remain prerequisites for activation.

### V26 membership migration preflight

Before applying [V26](../../../../services/account-service/src/main/resources/db/migration/V26__global_registration_join_evidence.sql) to a populated target, take an authoritative read-only inventory of `account_tenant_membership` and its account/tenant identities. The migration retains each original `gameplay_admission_allowed` value in `account_legacy_membership_sources.original_gameplay_admission_allowed` as provenance; it is not current player intent or admission authority. V26 quarantines legacy memberships as `LEGACY_UNVERIFIED` and disables admission. Do not restore access from the retained boolean; membership authority and explicit reconciliation remain owned by [Account Runtime and Data](./runtime-and-data.md#membership-and-entitlement-authority).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,10 @@ Current public bootstrap, direct-scope, JOIN, connect-token and numeric entitlem

Strict capacity follows the canonical [capacity-attempt proof obligations](../../system-architecture-versioning-runtime.md#focused-capacity-attempt-proof-obligations). The prepared V1040 storage records immutable exact Account evaluation bytes, one stable outer request/reservation identity, the current attempt/digest and monotonic rearm/reservation fences, prior-attempt evidence, recovery claims, and durable held/used units. Deferred PostgreSQL constraints require exact reservation-derived usage; eligibility reads and issuer-local counters cannot initialize or replace it. Forward installation audits the complete retained inventory once under a writer lock and refuses mismatches without repairing source rows. Thereafter a protected per-tenant/owner aggregate changes only with database-validated reservation insertions and state transitions. Deferred usage checks use primary-key point reads rather than summing lifetime finalized or released history. Fresh zero aggregates require the same new-tenant bootstrap authority; direct aggregate writes, deletion and truncation remain forbidden. Zero usage is established only when the existing creator bootstrap commits against a genuinely new fresh-tenant association born in that same Account transaction, with the exact creation tuple and nonadmitting sequence-zero baseline. Earlier tenants are not backfilled. The actual player evaluator retains its complete bundle inside its final source transaction, so failed source commit exposes neither a capacity evaluation nor an entitlement result. Reservations use conservative microsecond expiry bounds without extending the evidence lifetime. New-attempt current-source qualification follows the usage-row lock, with a fresh database-clock check before mutation. The additive V1046 deferred write guard also rejects original creation or rearm that is expired at transaction completion, rolling back any usage or history changes. Retained exact replay and same-attempt recovery do not renew authorization and remain available after expiry. The same prepared recovery schema retains its immutable read history and `capacity-recovery/1` retry budget. Deadline or budget exhaustion quarantines the original complete hold; it does not expire, release or replace it. No live recovery source/scheduler or quarantine-resolution authority is registered.

V1040.1 serializes the exact Account `ACCEPTED` and `NO_ACCEPT` origin decisions against reservation creation and rearm. A pre-V1040.1 writer cannot create a reservation after the guard applies. Upgrading a retained Account database requires independently verified [writer quiescence](../../system-architecture-database-migrations.md#version-aware-migration-checklist), including closed writer endpoints and exclusion of old writers. V1040.2 retains an exact quota denial under an explicitly installed finite tenant refusal limit. The same serializable owner transaction checks quota and chooses between a reservation and a denial. The denial carries no reservation and permanently excludes acceptance for the exact original. Exact replay returns the same decision even after capacity becomes available. An unavailable refusal budget or uncertain outcome leaves Game Session's reserve active. Account neither frees nor rearms an accepted reservation through this path.

The unregistered capacity owner requires exact retained evidence and current Account membership/issuance/scope source equality before creating a new positive player-binding reservation. Exact attempt retries replay before fresh-source or usage work; changed complete payloads conflict. The Account recovery component alone can finalize, release or rearm under its current durable claim and exact selected-owner readback; an ambiguous observation records only the bounded retry/deadline and retains the hold. No runtime readback producer or recovery client is registered. World lifecycle, authoritative prior-shape/zero-delta recovery, current selected-owner activation and complete end-to-end qualification remain held as detailed in [Player Access and Session](../../../project-management/implementation-tracking/player-access-and-session.md#strict-tenant-capacity-owner-preparation).

V1040.1 serializes the exact Account `ACCEPTED` and `NO_ACCEPT` origin decisions against reservation creation and rearm. A pre-V1040.1 writer cannot create a reservation after the guard applies. Upgrading a retained Account database requires independently verified [writer quiescence](../../system-architecture-database-migrations.md#version-aware-migration-checklist), including closed writer endpoints and exclusion of old writers. V1040.2 retains an exact quota denial under an explicitly installed finite tenant refusal limit. The same serializable owner transaction checks quota and chooses between a reservation and a denial. The denial carries no reservation and permanently excludes acceptance for the exact original. Exact replay returns the same decision even after capacity becomes available. An unavailable refusal budget or uncertain outcome leaves Game Session's reserve active. Account neither frees nor rearms an accepted reservation through this path. The unregistered recovery composition consumes the original bounded observation budget and delivers an exact retained decision to the [Game Session origin custody owner](../game-session-service/runtime-and-data.md#normal-handoff-future-execution-fencing). Account remains the authority for reservation release.

The canonical gameplay LOGIN primary-credential adapter reuses Account’s password and email-OTP authority without creating a legacy token or session. Its owner transaction retains the verified challenge identity and consumes it only after new PENDING issuance; denial accounting and expiry cleanup commit under the existing owner denial path. Exact pending retry does not reverify or reconsume. Canonical-only verification pads to two KDF comparisons with non-authorizing process-local random decoy evidence using the existing Argon2 profile. The adapter participates only in the explicitly enabled protected LOGIN composition; default deployment behavior remains unchanged. Focused unit and real PostgreSQL proof and its controlled upstream/external-owner limits are recorded in [Player Access and Session](../../../project-management/implementation-tracking/player-access-and-session.md#initial-private-gameplay-login-issuance-source-intake). Deployed authenticated issuance and timing parity remain unproved.

Local unregistered Account owners now cover tenant-creation intent, admission, current authorization, and final initial-owner consent/reauthentication completion; the private Game Design receiver is also present. The dispatch and original read/close/recovery composition is present locally, while physical cross-owner qualification and public/default registration remain incomplete; creation and runtime admission are not enabled. The normative admission and recovery ordering belongs to [JWT and Token Contracts](../../system-architecture-jwt-and-token-contracts.md#account-tenant-creation-admission-receipt); implementation and proof status remain in [Player Access and Session](../../../project-management/implementation-tracking/player-access-and-session.md#account-tenant-creation-admission-preparation).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

Player-facing controller binding and takeover are owned by [Session Behavior](../../system-architecture-session-behavior.md#namespace-scoped-controller-transfer-session-02), fresh-edge reconstruction is owned by [Reconnection](../../system-architecture-reconnection.md#client-reconnection-behaviour), and versioned output/late rendering are owned by [Input, Output, and Presentation](../../system-architecture-input-output-and-presentation.md#output-model). The APIs below record only Game Session's local control-plane and forwarding consequences; they do not duplicate those player-facing contracts.

## Original NEW capacity final admission
## Original NEW capacity execution read

The manually composed original-NEW final coordinator requires the exact retained `PLAYER_ADMISSION` bundle and obtains the real Account capacity commitment immediately before its final owner CAS. Its supported boundary remains public `SHARED` / `PRESEEDED_ONLY`, one newly created player session. Issuer-partition reservation is a separate obligation and does not satisfy tenant `maxActiveSessions` capacity.

The separately qualified, manually composed controlled region-owner handoff can consume current deny-only transfer evidence through its protected acquire/install/revalidate path. This receiving slice does not establish deployed registration or default availability. `FENCED_INDETERMINATE` remains denying and grants no capacity transition or player admission. The [normal-handoff contract](./runtime-and-data.md#normal-handoff-future-execution-fencing) owns its storage currentness, complete inventory, positive-retention and failure requirements. No default receiver or scheduler is registered.
The separate manually composed region-owner handoff can consume current deny-only transfer evidence through the protected acquire/install/revalidate path. The controlled receiving proof covers the manual composition. Deployment and default availability remain gated. This path is outside the terminal-only `OriginalNewCapacityExecutionReadService` RPC. `FENCED_INDETERMINATE` remains unavailable to that Account reader and grants no capacity transition or player admission. The [normal-handoff contract](./runtime-and-data.md#normal-handoff-future-execution-fencing) owns its storage currentness, complete inventory, positive-retention and failure requirements. No default receiver or scheduler is registered.

## Steady-State Account Public-JWKS Provenance

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Before deploying the new Game Session admission validation, Automation must alre

### Original NEW capacity SQL release failure

`original_new_capacity_sql_release_failure_retained_operations` is a process-local, monotonic gauge of original-NEW capacity operations whose SQL provider release threw with uncertain connection custody. It counts each affected operation once, even if multiple connections fail release. The shared [Prometheus rules](../../../../k8s/monitoring/prometheus-rules-firemud.yaml) raise the gameplay-owned P1 `OriginalNewCapacitySqlReleaseFailureRetainedOperations` alert whenever the value is greater than zero. Each retained operation consumes one of the process's four zero-waiting operation permits; four retained operations refuse all further original-NEW capacity work on that process. This manually composed component remains unregistered, so installing the rule does not establish a deployed producer or qualify admission. The [local owner contract](./runtime-and-data.md#original-new-capacity-execution-evidence) owns the deadline and evidence boundary.
`original_new_capacity_sql_release_failure_retained_operations` is a process-local, monotonic gauge of original-NEW capacity operations whose SQL provider release threw with uncertain connection custody. It counts each affected operation once, even if multiple connections fail release. The shared [Prometheus rules](../../../../k8s/monitoring/prometheus-rules-firemud.yaml) raise the gameplay-owned P1 `OriginalNewCapacitySqlReleaseFailureRetainedOperations` alert whenever the value is greater than zero. Each retained operation consumes one of the process's four zero-waiting operation permits; four retained operations refuse all further original-NEW capacity work on that process. This manually composed component remains unregistered, so installing the rule does not establish a deployed producer or qualify admission. The [API contract](./api-contracts.md#original-new-capacity-execution-read) owns the deadline and evidence boundary.

1. Identify the emitting process/pod and preserve its alert value, observation time, immutable image/source identity, release exception and available connection-pool/PostgreSQL session diagnostics in the incident record before replacement removes process-local diagnostics. Retain the exact affected original attempt, reservation, dispatch and execution selectors through the existing protected owner records, not metric labels. A throwing release does not prove either that the connection was returned or that a transaction did not commit.
2. Isolate new original-NEW capacity operations from the affected process using the deployment's authorized admission/drain controls. Do not clear the gauge, replenish the semaphore, blindly retry provider release, disable guards, delete SQL/Redis evidence, or release/rearm Account reservations. A deadline, an absent response or a disappearing alert grants no cleanup or no-execution authority. If isolation or the affected operation inventory cannot be established, keep admission held and escalate to the Game Session owner with infrastructure support.
Expand Down
Loading
Loading