Repository navigation
Unit 1B: stage Account bare-LOGIN exchange and fail closed unwired admission - #2881
benhook1013 merged 31 commits into
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository YAML (base), Organization UI (inherited) Review profile: ASSERTIVE Plan: Advanced Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
…are-login-exchange # Conflicts: # design/project-management/ai-observations.md
Codecov Report❌ Patch coverage is 📢 Thoughts on this report? Let us know! |
|
Pre-review complete on exact published head Proof: focused LOGIN tests 48/48 and proof-tooling contract green; full |
|
Pre-review complete — head Reviewed the complete 19-file #2881-unique patch and unchanged Account/Game Session/Gateway authority in four fresh Luna xhigh passes total: earlier 2/2/0 and 0/0/0, then the two additionally commissioned passes 1/1/0 P1 and 1/1/0 P2 (raw/accepted/routed). No finding was routed. The fixture correction removes obsolete bare-first-party-LOGIN success assertions; the current-status correction accurately distinguishes target exchange from current The corrected code passed Another identical independent pass on this corrected unique patch has no identified useful target before those implementation/ancestry changes. This comment is not CodeRabbit taper or merge readiness. |
…it-1b-bare-login-exchange
|
Pre-review complete for #2881 published head Composed local four-module full checks, links/Markdown, diff hygiene and the separate Gradle/JUnit proof-tooling contract passed. XML shows 43 shared-support tests, 398 Account unit, 1,704 Game Session unit plus 18 integration/1 cross-service, and 194 TCP unit plus 7 integration/3 cross-service executed, with zero failures. Account PostgreSQL 90, Game Session integration 122/cross-service 40, and TCP cross-service 14 skipped without Docker. Both affected first-party WebSocket classes were not exercised locally. Account bare-LOGIN exchange, membership RPC and ring mount remain disabled; live credential/transport proof and exact-head hosted validation remain open. Another identical independent unique-patch pass on the unchanged denied candidate is not useful until implementation or new evidence changes it. This is independent pre-review completion, not CodeRabbit taper, activation or merge readiness; no CodeRabbit/Hosted review or merge was requested. |
|
Pre-review complete for published #2881 head |
|
Pre-review complete for current #2881 head |
|
Exact-head CI update for |
|
Pre-review complete — final safe-stop head Four saved independent whole-unique-patch passes remain 2/2/0, 0/0/0, 1/1/0 P1, 1/1/0 P2 raw/accepted/routed. Accepted corrections are published. Parent reconciliation, CI-driven fixture fixes and bounded implementation helpers are not counted as new reviews. No further fresh review was started after the human stop. Merged #2882's exact retry assertion is now carried through #2873 → #2876 → #2880 → #2881 with source provenance and preserved ancestry/unique patches. New strict proof wiring reuses the existing checker. Exact-head CI 36692444335 proves 25 Script Pin + 26 JOIN + 9 V37 PostgreSQL cases executed, zero skips/failures/errors; all required named cases executed once, including the repaired Script Pin assertion. Local Game Session/support checks, Actionlint, strict-proof tooling contract and diff hygiene passed. Aggregate CI remains red outside this unique child: existing Python correction on #2853, separate summary repair #2896, already-merged Automation formatter delta absent from the ancestor, and Game Design fixture collision routed to #2872. Newer-parent reconciliation and live producer/consumer/credential/ring proof remain open; the membership RPC, credential path and ring mount remain disabled. Another repeated static patch pass has no identified useful target before those owner implementation/reconciliation steps; this concludes the authorized in-progress correction and proof batch. It is independent pre-review preparation, not CodeRabbit taper or merge readiness. Document stops here; #2839 was left untouched. |
Extend the existing strict PostgreSQL evidence gate to V35 source issuance, including concurrent first writer, exact lost-response recovery and deletion guards. Parent proof must be propagated before publication. Focused actionlint passes.
…are-login-exchange
…are-login-exchange
…are-login-exchange
…are-login-exchange
78c3fe8
into
codex/unit-1b-membership-snapshot
JOIN race correction propagation — 2026-10-01
Published
1d4a42ca20fa4ecfeae1fe56b97bbdb6e9106d9e, 19 unique files on #2880ddd1bb7de. Normal merge preserves the exact entire unique patch IDb2c7eb264542162bdbe466b2d18c65590cda1133and prior published head. Carries the parent's corrected JOIN race instrumentation without changing the bare-LOGIN exchange/storage boundary. Exact composed #291178c3fe886CI 36778631119 passed strict JOIN 30/30, bare-LOGIN storage 9/9, connect issuance 9/9, zero skips/failures, including the corrected race once. Membership RPC, real credential paths and ring mount remain denied/unpublished; storage proof is not a real delegation JWT exchange.Earlier corrected Account proof propagation — 2026-10-01
Published
5937097fd6e088543e9aaa12e58331cc7277ac24, 19 files on #28809b05041450c3d5dba5ce3ff5aefdf67b9f98d187. Normal merges preserve all prior heads and the entire unique stable patch IDb2c7eb264542162bdbe466b2d18c65590cda1133. Carries the complete snapshot/JOIN race test and corrected exhaustion fixtures; does not change the real delegation-exchange activation boundary. Composed Account full check, links/Markdown and static checks passed locally; all 98 tail PostgreSQL cases skipped without Docker. New exact-head composed #2911 CI is pending, not executed race/overflow proof. Earlier CI's two source fixture failures were corrected in #2876; no inherited or flaky classification hides them.Previous Account authority proof propagation (historical)
Published
dd170e75cbf11df0a56c8ea2406f46418d1ef978, 19 unique files, normally merged from #2880435cb5b75d1623e50a1be285a88dd3ba091fea26. Prior published head and parent are ancestors. The full unique delta's stable patch ID is unchanged (b2c7eb264542162bdbe466b2d18c65590cda1133), so no unique behavior/hunk was lost. No rebase, force push, retarget or runtime activation.The ancestor adds Account authority/fence/source-version and outbox-sequence exhaustion rollback tests. Composed local Account full check, links and Markdown passed; 398 unit cases executed with no failures; 97 PostgreSQL cases compiled/discovered but skipped without Docker. Exact source overflow methods remain unexecuted locally and are mandatory in #2911's composed CI gate. Existing membership, credential and ring activation gates remain unchanged; no merge readiness or new broad-review credit.
Previous checkpoints (historical)
Current executed-proof checkpoint — 2026-10-01
Published
b2a2f31b02e7ad48b0d42a9da7cf7b3acec2782e, 19 unique files over #288027d61f5d44eaa86f0fbbcaac85445217a79f7c4a. Normal propagation preserves #2876's pair-authority and connect-issuance proof corrections and this child's unique exchange-storage/containment patch.Exact CI 36703863842 completed: Account and Game Session jobs/proof gates passed. Account strict XML proves 29 JOIN + 9 V37 exchange-storage + 9 V35 connect-issuance PostgreSQL cases executed, zero skips/failures/errors. Named connect-issuance concurrency, lost-response encrypted readback and deletion guard each executed once. Account test tasks ran, with all 64 actionable Gradle tasks executed; dependency cache restoration is not test proof. The decoded-event equality fixture correction passed this executed suite.
Aggregate CI remains red on separately recorded inherited shared dev-demo/Python validation, Game Design duplicate fixture key and Automation formatting failures. Local Docker is absent; local skipped database checks remain distinct from the hosted execution. This proves storage and snapshot preparation, not a real Account-issued delegation exchange, enabled membership RPC, live ring delivery or end-to-end LOGIN. These activation gates remain denied/unpublished; no Unit 1B completion, CodeRabbit taper or merge readiness is claimed. The approved full selected-target/context schema convergence is being prepared separately on this exact tail; no new broad review was run.
Earlier checkpoints (historical)
Current implementation checkpoint — 2026-09-30
Published
0d2a96565a93e172151a1b9963ad1f468c3f9f6fnormally includes #2880eac0b1c96df20718c164e077e1d0dc63ce98eea4and #28767215fe9c0, preserving all prior child heads and all 19 unique paths. Eighteen per-file patch IDs are identical from the earlier candidate; the sole intended unique-patch change extends the existing strict Account CI gate to require the V35 suite and exact concurrent-first-writer, lost-response encrypted-envelope recovery, and deletion-guard methods. Their prepared source tests were absorbed at their #2876 owner; no branch-only history was blindly merged.Previous exact-head CI
36701167460is red. Account ran 99 integration cases, with one parent-owned fixture assertion failing because separate decoded MembershipEvent objects have identity equality. The owning #2876 correction now compares exact event ID/digest and canonical UTF-8 bytes without weakening no-mutation proof, and is propagated here. The strict PostgreSQL gate skipped after that task failure; it does not attest individual V35/V37/JOIN cases. Corrected sources compile locally, with the focused 29 JOIN cases skipped without Docker. Shared preview/Python, Game Design fixture and Automation formatter failures remain inherited gates, not proof of a successful composed run. Fresh no-cache PlayCommandHandlerTest executed 76/76 locally.Composed local Account/Game Session checks and links/Markdown passed: 398 Account unit cases executed; all 95 Account integration cases compiled/discovered but skipped without Docker, including 29 JOIN, nine V35, and nine V37 cases. Game Session test tasks were up-to-date; their earlier results are not newly executed proof. Actionlint, Flyway sanity (12 sets/118 files), and diff hygiene passed. The final comment-only clarification passed focused formatting. Executed database proof for the new pair preparation and V35 cases remains required.
This remains storage/containment and snapshot-preparation progress, not a real bare-LOGIN producer or consumer. Account must still implement bootstrap registry/evidence authorization, durable connect issuance, verified original Gateway context, purpose-bound exact credential recovery, and private delegation exchange before activation. Membership RPC, credential paths, and ring mount stay denied/unpublished. No CodeRabbit/Hosted or new broad review was run; no merge readiness or Unit 1B completion is claimed.
Earlier checkpoints (historical)
Current executed-proof checkpoint — 2026-09-30
Published
c6fa3ea9436c2cb69a6e13710da4db9a0e53cf3e, still 19 unique files over corrected #2880a9a7c0dc1. The parent/correction ancestry and complete child runtime patch remain preserved. The existing workflow now applies its strict JUnit checker to Script Pin and disables Game Session test-cache reuse. This is proof wiring, not a new runtime capability or independent discovery pass; Actionlint and the checker/Gradle contract passed locally.Prior corrected-tail CI 36690393382 passed Account and Game Session. Account's actual strict-step logs confirm 26 JOIN + 9 V37 PostgreSQL cases executed, zero skipped/failures/errors, with both required named cases executed once. Game Session's integration task ran uncached and passed, but individual Script Pin executions were not exposed. Final exact-head CI 36692444335 completed on this head. Successful strict-step logs prove 25 Script Pin + 26 JOIN + 9 V37 PostgreSQL tests executed with zero skips/failures/errors, and each required named case executed once. The corrected Script Pin exact-retry assertion therefore has executed database proof, not an inferred pass or local skip. Account and Game Session Build/Test passed; aggregate CI remains red on the recorded outside-scope failures.
Aggregate limits remain: Python lint correction on #2853 awaits ancestry propagation, dev-demo summary repair is separate #2896, Automation formatting is already corrected in merged #2882 but absent from this ancestor, and Game Design's current duplicate fixture name was routed to #2872. Account runtime membership, bare-LOGIN credential issuance and ring mount remain disabled. This is independent pre-review preparation, not CodeRabbit taper, activation or merge readiness. Older checkpoints below are historical.
Corrected cumulative checkpoint — 2026-09-30
Published
2f66c9d10f3721fcf2095567200d74a81c7330b7, 19 unique files against incorporated parenta9a7c0dc1. Carries merged #2882's exact Script Pin correction through #2873 → #2876 → #2880 → #2881. The previous assertion is stale ancestry, not a new repair obligation. All 19 child patch identities are unchanged. Corrected cumulative local Game Session/common-test-support full checks passed; changed stub proof executed 3/3, but all 25 Script Pin PostgreSQL tests skipped without Docker. Unchanged tasks were up-to-date, not relabeled fresh execution.Exact corrected-tail CI 36690393382 is running at
2f66c9d10f3721fcf2095567200d74a81c7330b7; one read-only sentinel owns the wait and executed-test readback. Older checkpoints below are historical. This ancestry/fix proof is not another independent pass, CodeRabbit taper or merge readiness. Membership RPC, bare-LOGIN credential path and ring mount remain disabled.Script Pin disposition correction — 2026-09-30
Overseer confirmed that merged #2882 commit
fd7c3c37e722bfb064e2de6d610f6175f8abaf8balready repairs the exact failing assertion. Server-resolvedvalidatedBaseVersionIdis not caller request input; unchanged input replays the stored base-mismatch receipt. The earlier new-defect/no-open-owner diagnosis below is superseded. The correction is published through #28731e9be76e2and #287683b0f19ec; #2880/#2881 propagation is published; corrected-tail CI is running. No separate Game Session repair is needed. Runtime activation remains denied.Current independent pre-review and exact-head CI checkpoint — 2026-09-30
Published
61ca37fdeea8784448929dd5ce1716f7475fb00cis a 19-file unique child of exact incorporated #2880ebffef6d88bd927354c4da47c1e13f1956d6b813. Four prior independent whole-unique-patch Luna reviews (original 2/2/0, 0/0/0; additional 1/1/0 P1, 1/1/0 P2 raw/accepted/routed) and their fixes remain recorded in the shared controller/private ledger. The normal parent merge preserved all 19 child patch identities. The subsequent four WebSocket assertion corrections were driven by executed CI, not recounted as a new Luna pass.Exact-head CI 36682397090 passed Account and TCP Proxy Build/Test. Account's strict JUnit proof gate read back 26/26 JOIN PostgreSQL and 9/9 V37 bare-LOGIN exchange repository cases executed with zero skips/failures/errors, including the required named map-shape and claim-rollback cases. Game Session executed 140 integration cases: every WebSocket scenario passed after the fixture/assertion corrections; the sole remaining failure was the unchanged Script Pin repository assertion at line 579 (
IDEMPOTENCY_CONFLICTexpected,SCRIPT_PATCH_BASE_VERSION_MISMATCHactual). Aggregate CI remains red also on inherited hosted-smoke Python lint, dev-demo summary validation, Automation formatting and Game Design duplicate-key failures outside this unique child. Exact local Game Session full check, prior composed four-module/docs checks and the separate Gradle/JUnit proof-tooling contract passed. The executed PostgreSQL cases prove storage and source-evidence primitives, not Account-issued delegation, live browser exchange, ring custody or membership RPC activation.The Account bare-LOGIN exchange, membership RPC and ring mount remain disabled. The Script Pin failure is stale-ancestry proof drift, already corrected in merged #2882; correction propagation is now published; exact-tail CI is running. This is independent pre-review/no-loss preparation, not CodeRabbit taper, activation or merge readiness. No CodeRabbit or Hosted review, merge or auto-merge was requested.
Boundary
Draft child of #2880 at exact published parent
ebffef6d88bd927354c4da47c1e13f1956d6b813. Published #2881 head61ca37fde, 19 unique files. Normal merges preserved prior #2881 heads and corrected #2880 as ancestors. This remains storage preparation and fail-closed containment, not a live bare first-party LOGIN exchange or enabled membership RPC.V37 binds one exchange request/digest to committed V35 connect issuance, with an atomic claim/pending-evidence/terminal-success transaction and purpose-separated encrypted response envelope. Database guards deny orphan PENDING intents, altered source identity/status, immutable-evidence mutation, and deletion of one-use receipts. Exact retry must read back the original operation/envelope. The repository does not yet issue, decrypt, or return a private delegation JWT.
The latest checkpoint adds PostgreSQL tests for two racing exact claims reaching one terminal first writer, and for readback/decryption of the identical retained encrypted result after a simulated lost response. They exercise the storage and crypto primitives; they do not wire Account issuance, current-authority revalidation, or the Game Session exchange.
Game Session returns retryable
AUTH_UNAVAILABLEfor otherwise valid first-party bare LOGIN before enqueue or authenticated session promotion. Invalid-context and pointer-mismatch denials remain; the unauthenticated bootstrap shell stays available for explicit retry. Credential-bearing and email-code LOGIN are unchanged. Gateway context/JTI alone is not Account authorization. A new signed-context cross-service test checks the bare-LOGIN denial and followingPLAYdenial; it executed and passed in corrected-head CI. The former bare-LOGIN success fixtures now assert denial and use credential-bearing LOGIN for supported positive coverage; first-party bare-LOGIN success still requires the Account exchange and its own executed proof.Validation and review
:account-service:check :game-session-service:check :common-test-support:check linkCheck lintMarkdown -PfullCheck --no-configuration-cachepassed. JUnit XML: 381 Account and 1,641 Game Session unit tests executed; 43 support unit tests were restored from cache. All 87 Account integration cases skipped without Docker; 112/130 Game Session integration and 40/41 cross-service cases skipped. Formatting, Checkstyle, SpotBugs, JaCoCo, links, Markdown, the strict-JUnit tooling contract, ShellCheck, actionlint, and diff hygiene passed locally across this and its prior checkpoint.aa5d73c05and passed Account Build/Test with no build-cache reuse for the check. Strict JUnit proof confirms JOIN's 24 and V37's seven PostgreSQL cases executed with zero skips/failures/errors; the targeted map-shape and transaction cases each passed once. This is valid prior-patch database evidence, not execution of the new wire-negative test or the corrected Unit 1B: fenced snapshots, LOGIN storage and verified connect-source prerequisites #2880 integration case.INACTIVEcarrier handling (corrected in the merged parent); ten hosted-smoke Ruff errors and the EA-3.1 proof-link rule.e39c31b1f. Account's strict JUnit gate passed: all 26 JOIN PostgreSQL cases and seven V37 exchange cases executed without skips/failures, including the new Unit 1B: fenced snapshots, LOGIN storage and verified connect-source prerequisites #2880 database tests. The new first-party denial cross-service case executed and passed. Game Session ran 41 cross-service cases, with exactly the seven old first-party success assertions still failing; TCP Proxy and all other service Build/Test jobs passed. Python Script Validation and the EA-3.1 Dev Tool Contract Check also failed outside Unit 1B: stage Account bare-LOGIN exchange and fail closed unwired admission #2881's unique boundary. The seven success cases are a named activation/proof gate, not tests to disable. This is exact-head proof of the contained behavior, not merge readiness.3272a1fe0e38a2d2d7fff19995f0075adf58b50a,:account-service:check -PfullCheck --no-configuration-cacheand link/Markdown checks passed locally; all 89 local Account integration cases skipped without Docker. Manual exact-head CI 36293863249 then ran Account:integrationTestand passed its strict JUnit proof: 53 reports, 474 tests; 26 JOIN PostgreSQL cases and all nine V37 exchange cases executed with zero skips/failures/errors, including both new racing-claim and lost-response recovery cases. Account Build/Test and runtime JAR passed. The aggregate gate is red: Game Session remains blocked by seven unchanged successful-first-party assertions until the exchange is wired, and Python Script Validation plus the EA-3.1 Dev Tool Contract Check fail outside Unit 1B: stage Account bare-LOGIN exchange and fail closed unwired admission #2881's unique boundary. This is proof of the V37 storage primitives, not live credential-path or merge readiness.Remaining activation gates
Account must prove committed V35 issuance, bootstrap subject, independently verified signed context, exact Game Session caller, player/tenant/target, current authority and issuance fence, then issue/encrypt in one guarded transaction. Exact retry must revalidate authority and return the original decrypted envelope without reminting. The Account ring still lacks protected durable custody, authenticated typed-receipt publication/readback, sole-writer RBAC, deployment readback, mount, and live readiness proof. The membership RPC and credential path remain denied. Receipt/envelope cleanup needs owner proof; V37 denies deletion rather than inventing a TTL. This draft is not merge-ready.
FireMUD LOC impact
Compared
a9a7c0dc1795→c6fa3ea9436c(PR merge-base → head).PR scope: 19 changed files · 3,214 added textual lines / 131 deleted textual lines.
Rows are hierarchical and overlapping views; do not add them together.
LOC means cloc code lines; blank and comment-only lines are excluded.
2026-09-30 corrected-parent propagation
Normal merge of #2880
7a74647140a002c1c0b743049c66c15d771464bdpreserved all 18 unique paths and all 18 per-file stable patch identities. The exact composed:account-service:check :game-session-service:check :common-test-support:check linkCheck lintMarkdown -PfullCheck --no-configuration-cachepassed locally, clearing the inherited formatter gate. PostgreSQL cases skipped without Docker; exact-head hosted CI, Account exchange/ring custody and live credential proof remain open. Bare LOGIN and membership runtime paths remain denied. This is ancestry reconciliation, not a new independent pre-review pass.