Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
ec38ff3
feat(account): preserve passive private LOGIN issuance and recovery f…
benhook1013 Oct 10, 2026
d17195f
fix(account): qualify gameplay issuance source-fence columns
benhook1013 Oct 10, 2026
2de5318
test(account): execute delegation proof with owned Redis fixtures
benhook1013 Oct 10, 2026
ba2bfd2
fix(account): recognize Redis Lua status replies for pending registry
benhook1013 Oct 10, 2026
4a300d1
fix(account): accept Redis status replies for authority projection an…
benhook1013 Oct 10, 2026
50c4afe
test(account): expose sanitized PostgreSQL commit failures
benhook1013 Oct 11, 2026
7db8667
test(account): publish owner projections before delegation commit proof
benhook1013 Oct 11, 2026
27b8dab
test(account): deny unsupported generic delegation source events
benhook1013 Oct 11, 2026
f13fd09
test(account): align delegation fixtures with inherited envelope bounds
benhook1013 Oct 11, 2026
996959a
test(account): distinguish delegation profile and envelope bounds
benhook1013 Oct 11, 2026
411e156
Distinguish original and reconciled private LOGIN source proof
benhook1013 Oct 12, 2026
582325b
Merge commit 'e57c72f7dce6b9e9800453d443c613fb97a7bb75' into codex/ga…
benhook1013 Oct 12, 2026
ad237a2
Merge commit '40ebf015041b572a96de8d1e036e05839b57cf22' into codex/ga…
benhook1013 Oct 12, 2026
736c480
Merge commit '841abe646a81e08629efbfefc3f73c41a29f10f5' into codex/ga…
benhook1013 Oct 12, 2026
37c41e5
Merge commit '7cef0c69f9758e19ea0a5b14371ee64edd63d56a' into codex/ga…
benhook1013 Oct 12, 2026
9edbe65
Merge commit '29dc295aab7efe8b973d73e6b869a38bb0ad2341' into codex/ga…
benhook1013 Oct 12, 2026
cc047c9
Reconcile delegation issuance with combined receiving parent
benhook1013 Oct 12, 2026
7869ca1
Carry current combined receiver and forward restriction guard into is…
benhook1013 Oct 12, 2026
cbb3086
Carry combined receiving review corrections into private issuance
benhook1013 Oct 12, 2026
fc005f9
Reconcile current reviewed receiving parent into private issuance
benhook1013 Oct 12, 2026
a74f963
Carry current StartSession review fixes into private issuance
benhook1013 Oct 12, 2026
1bd1584
Reconcile issuance stage with merged front parent
benhook1013 Oct 12, 2026
1541ae1
Reconcile private issuance with final StartSession front fixes
benhook1013 Oct 12, 2026
23d68bf
Reconcile private issuance with merged StartSession parent
benhook1013 Oct 12, 2026
6efe998
Carry merged Hosted overlap attribution repair
benhook1013 Oct 12, 2026
cddbbc0
Fix private LOGIN review findings and retained token fence guard
benhook1013 Oct 12, 2026
6e9a330
Reconcile private LOGIN review fixes with merged queue tooling
benhook1013 Oct 12, 2026
f9922f2
Correct gameplay proof anchors and fixture observation guidance
benhook1013 Oct 12, 2026
50c2296
Replay retained selected Account authority events through captured heads
benhook1013 Oct 12, 2026
1620a15
Publish LOGIN authority before commit and batch retained replay trans…
benhook1013 Oct 12, 2026
8714f6e
Enforce issuer projection TTL and typed CAS replies
benhook1013 Oct 12, 2026
ae0cd70
Merge remote-tracking branch 'origin/develop' into codex/gameplay-pri…
benhook1013 Oct 12, 2026
7dc4d3b
Preserve caller currentness while original signing key is retained
benhook1013 Oct 12, 2026
9c53b29
Align private LOGIN source status with current commit and retained-ke…
benhook1013 Oct 12, 2026
7b7d941
Use one clock for Account delegation expiry and record rotation proof
benhook1013 Oct 12, 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 @@ -54,6 +54,10 @@ This target contract is not complete in the current service. The existing `secur

## Implementation Status

The initial private gameplay LOGIN owner, signer, registry, and response-recovery code is present as unregistered Account source, with focused proof sources. Before its final Account transaction, the commit source publishes the current issuer and Account projections and requires an exact matching observation; publication or observation failure denies the commit. Caller currentness and response recovery may use an older committed signer generation only while the exact original public-key fingerprint remains in the current trusted JWKS and current owner evidence, including the original issuance JTI, still matches; the applicable authority, API, source, expiry, and compromise fences remain required. This does not add or activate an API, proto method, or Spring composition; the source has no caller-selected profile or property override. See the [Player Access and Session tracker](../../../project-management/implementation-tracking/player-access-and-session.md#initial-private-gameplay-login-issuance-source-intake) for exact proof scope; deployed ACL/TLS, signer-key custody, caller authentication, gameplay admission, and runtime activation remain unproved.

Account UUID generation currently has three established provenances: `ACCOUNT_REPOSITORY_INSERT` uses `AccountRepository` and `UUID.randomUUID()`; `ACCOUNT_V29_MIGRATION` uses `gen_random_uuid()` for retained rows; and `ACCOUNT_DATABASE_INSERT` uses the `gen_random_uuid()` database default. These current producer outputs are RFC 4122 version 4 UUIDs. This records generator provenance and does not claim that database constraints reject custom UUID versions.

This Account source-currentness and first-JOIN persistence prerequisite builds on the authority-storage and retention-safety stage. V40 adds owner-proven fresh issuer/Account source baselines and complete transactional source-event hooks; the owner-local first-JOIN producer/coordinator composes immutable membership, event, audit, and terminal operation evidence. These primitives do not authenticate callers, supply the cross-service target-through-commit gate, add a public route, or wire current LOGIN/public JOIN/Game Session text JOIN. Validation of the reconciled source-currentness stage remains pending; inherited storage proof is not proof of these additions. #2898 and #2848 retain their runtime and recovery gaps.

Current explicit JOIN status: the local `/auth/bootstrap/join` controller and operation are implemented, but the exact Gateway path is blocked by its route guard and the route is absent from `publicOpenAPI`. Local policy-digest revalidation does not prove that the exact target remains valid through Account commit; the strict ADR 0025 commit gate remains incomplete. The canonical owner is [Runtime & Data](./runtime-and-data.md#membership-and-entitlement-authority), with the target contract in [ADR 0025](../../decisions/adr-0025-explicit-open-enrollment-membership.md).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ Account owns platform identity, hosted Creator Party/operator and terms currentn

## Implementation Status

Account has an unregistered initial private gameplay LOGIN source slice for request-bound credential digests, signer and JWKS trust, pending and committed registry ownership, authority projection reads, and encrypted response recovery. Before its final Account transaction, the commit source publishes the current issuer and Account projections and requires an exact matching observation; publication or observation failure denies the commit. Caller currentness and response recovery may use an older committed signer generation only while the exact original public-key fingerprint remains in the current trusted JWKS and current owner evidence, including the original issuance JTI, still matches; the applicable authority, API, source, expiry, and compromise fences remain required. The source fixes the explicitly approved `game-session-account-delegation` profile and has no caller-selected profile or property bypass. It adds no endpoint or runtime registration; deployed ACL/TLS, signer-key custody, caller authentication, consumer authorization, gameplay admission, and runtime activation remain unproved. See the [Player Access and Session tracker](../../../project-management/implementation-tracking/player-access-and-session.md#initial-private-gameplay-login-issuance-source-intake) for exact unit and physical fixture proof scope.

Account's unregistered original-ACK storage seam requires PostgreSQL 18 for fresh operations: the original executor performs a writable SERIALIZABLE physical COMMIT on its enlisted connection and returns an opaque acknowledgement only after observing the database clock before unchanged expiry; a separate transaction commits the exact receipt. Receiving V146 changes only the fresh receipt-insert guard, preserving the donor V122 SQL unchanged as receiving V144. Its historical durable reader remains PostgreSQL 16-only, so lost-acknowledgement recovery and retained-receipt retries remain denied on PostgreSQL 18. This storage evidence does not authenticate a caller, establish current Account ownership or admission, authorize gameplay, or register runtime behavior. Migration provenance and pending receiving proof are recorded in the [Player Access and Session tracker](../../../project-management/implementation-tracking/player-access-and-session.md#account-fresh-original-ack-storage-preparation).

Account V40 adds owner-proven sequence-zero source baselines to the inherited V30–V39 authority-storage and retention-safety foundation; V74–V89 preserve that baseline and add source/global-role guards, draft-source writer exclusions and fences, immutable reset/logout/security-operation receipts, creator and tenant-bootstrap provenance, individual Creator Party and hosted-terms/environment-binding persistence, and source-change journals. V90–V97 add persistence relations and guards for source-currentness work across Account, control-UI issuance, selected-publication authorization/settlement, and Game Logic. V98 adds durable hosted-terms disclosure handoff and immutable source-evidence relations with database transition guards. These DDL stages establish persistence and source-writer fence relationships; they do not activate owner writers, legal authority verification, dispatch, or consumers. New repository-created Accounts receive the V40 source baseline; retained pre-V40 rows are neither backfilled nor admitted. Password-reset completion atomically claims and consumes its token, updates the Account, appends the canonical event and receipt, and reads back current source evidence in the owner transaction. If an earlier source intent remains `WAITING`, the request returns retryable `AUTH_UNAVAILABLE`; it does not wait on a thread for settlement, and an exact retry retains the original operation identity. A `WAITING` reset intent retains the Argon2 password verifier needed by that retry; terminal source commit or abort clears the verifier while preserving its digest and immutable source binding and receipt. Finite receipt retention remains unresolved under the owning retention policy; no lifetime is selected here. Logout-all production remains unregistered and unwired. These persistence primitives do not provide public JOIN, target-currentness protection, or runtime activation. Exact physical and local proof limits are recorded in the [Player Access and Session implementation tracker](../../../project-management/implementation-tracking/player-access-and-session.md#current-status). Hard deletion remains denied, revoked grants remain tombstones, and this stage does not enable signer provisioning, LOGIN, PLAY, or activation.
Expand Down
15 changes: 15 additions & 0 deletions design/project-management/ai-observations.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,14 @@ Entry format:
- Expected pattern: require complete immutable publication membership before completion, and recover verified older partial unfinalized runs additively without replacing dispositions or inventing another round. Retain original and supplemental evidence together.
- Current status: the bounded controller repair passes focused local regression proof; trusted promotion and canonical live recovery remain separate steps, so the live missing finding is not yet confirmed recovered.

- `2026-10-11`: Concurrent CI watchers can exhaust shared GitHub API quota
- Context: six native `gh run watch` processes in the Gameplay lane encountered the same REST rate limit while waiting for one candidate's checks.
- Observation: separate low-cost-looking watchers share one credential's API budget; multiplying short-interval reads can block artifact inspection and other workers' CI evidence collection.
- Expected pattern: use one quota-aware observation owner with bounded low-frequency consolidated reads across relevant exact heads, and back off until the reported reset. One helper launching six independent pollers is still prohibited fanout, not a single observer. Stop redundant local watchers without cancelling GitHub runs; continue safe local implementation and validation.
- Current status: the six distinct workflow watchers are stopped and the correction is recorded in the SQL job brief. Exact artifact qualification and CI completion remain separate evidence, not inferred from historical green runs.
Comment thread
coderabbitai[bot] marked this conversation as resolved.
Resolved

- Reconsideration trigger: revisit after one quota-aware observer completes exact-head artifact qualification and CI without a rate-limit error, or the controller provides a shared consolidated watcher. Retain while either proof or the tooling improvement remains incomplete.

- `2026-10-12`: Retrospective evidence needs source-clock provenance
- Context: a curated import of an independently completed review retained unknown review clocks but displayed generated recording timestamps as its start and finish.
- Observation: a storage default can create false chronology even when the immutable evidence accurately discloses missing clocks.
Expand Down Expand Up @@ -158,3 +166,10 @@ Entry format:
- Observation: A saved head/base tuple and prior proof did not establish current mergeability. The normal merge exposed one documentation conflict; the maintenance fixture changes merged cleanly.
- Expected pattern: At publication and closeout, verify the actual base branch tip and current mergeability through the bounded canonical topology/status checks. Treat a stale PR base OID or missing new-head source CI as unresolved state, and reconcile before claiming readiness.
- Reconsideration trigger: Verify the next published front against its actual remote base and current required CI; retain any remaining stale-base diagnostic gap for controller maintenance.

- `2026-10-13`: Local PostgreSQL availability can fail after container startup
- Context: Gameplay’s #3120 final-parent full gate at `42c524c` selected 105 PostgreSQL cases but 13 errors in three suites reported connection refusal on ephemeral localhost ports, after the preceding complete gate at `d0362dd` passed all 105 cases.
- Observation: Docker daemon availability and a started-container event do not prove a fixture’s JDBC endpoint remains reachable; the failure cause and responsible lifecycle are unknown. These connection errors do not establish failed product assertions.
- Expected pattern: classify connection-refused fixture failures separately from product assertions; capture live container events, PostgreSQL logs and endpoint state before fixture cleanup, and qualify the exact suites before crediting physical proof. Retained Docker events are bounded and destroyed containers lose inspect/log evidence; an exit code of 137 after an explicit cleanup kill does not establish OOM or external cleanup.
- Current status: the three affected suites passed all 13 cases in the composed #3125 run and fresh exact-parent #3120 CI (all 105 PostgreSQL cases passed). The subsequent #3155 local Account gate also failed before assertions in 24 of 218 integration cases across eight suites, leaving PostgreSQL proof partial and Redis initialization unproved. The local connection-refused cause remains unknown; retain time-correlated container and endpoint evidence without weakening fixtures or changing the environment speculatively.
- Reconsideration trigger: revisit after the affected cases execute physically against the final parent and the endpoint failure is explained or shown to be transient; retain until the cause and proof limits are recorded.
Loading
Loading