Skip to content

Unit 1B: fenced snapshots, LOGIN storage and verified connect-source prerequisites - #2880

Closed
benhook1013 wants to merge 86 commits into
codex/unit-1b-runtime-authorityfrom
codex/unit-1b-membership-snapshot
Closed

benhook1013 wants to merge 86 commits into
codex/unit-1b-runtime-authorityfrom
codex/unit-1b-membership-snapshot

Conversation

@benhook1013

@benhook1013 benhook1013 commented Sep 27, 2026 •

Copy link
Copy Markdown
Owner

Current General own-parent alignment checkpoint

Exact head aa41781d013b6f3fcfba8eb26e23e19d99ab45bf, actual own parent #2876 df0ca7502dd25b73819fdc943cf4f2bd5636dc6c, 78 unique files. The entire unique patch is byte-identical to previous published dd3416c562 against its then-parent. Normal merge carries the final mode-specific credential guards without changing membership/carrier/readiness or stronger parent JOIN/replay behavior.

All four commissioned whole-boundary rounds remain complete: 5 raw /5 accepted (1 Major,4 Minor), all resolved in the shared controller. No new review or provider taper credit; this is necessary own-parent forwarding.

Focused corrected-head proof passes 80 tasks (31 executed,1 cache,48 up-to-date): both runner suites executed fresh, 9 methods/zero failures/errors/skips, both boot JARs, enabled Java formatting checks, links/Markdown, Helm migration-Job negative/render contract, ShellCheck and hygiene. Previous whole-service/integration proof below is historical; the focused forwarding invocation does not claim to repeat it.

Seven unreachable first-party structured success cases remain missing proof, not replaced by generic/component privacy tests. The incoming runtime-entitlement activation observation remains open. Live key-ring materialization and runtime membership/credential admission remain denied; PostgreSQL, exact deployed migration history, role/Secret effective-grant readback, fresh-image boot, served identities and consumer activation remain unproved. Required-CI authority is unavailable for the stack branch; no green/current merge-readiness claim.

Delegation: retained Luna same-domain helper ran the bounded proof; General inspected the integration, verified byte-identical unique patch, and owns publication/adjudication. No CodeRabbit or queue changes.

Preserved historical checkpoints and implementation evidence

Current General scheduled pre-review checkpoint

Published head 9dbf34c24bcae4d0233f4509eb459d32578699b8, 74 unique paths, on exact #2876 6587653e868e53c422c1f0bc50f36397c62a60f5. The73 original paths plus required committed-source integration fixture survive; stronger parent containment and child snapshot proof remain intact. Later own-parent forwarding is a separate alignment gate.

All four newly assigned fresh independent whole-boundary rounds are complete: 5 raw / 5 accepted (1 Major,4 Minor) / 0 routed. Round2's exact one-tenant positive decimal-string membershipVersion carrier/negative vectors and accurate declared-proto-versus-unwired-consumer status remain preserved; other generation/replay counters remain numeric. Round3 corrects frontend protected-cookie transport availability: it is target behavior linked to canonical authentication/tracker status, not a working current bare-LOGIN claim. Round4 rejects unknown protobuf fields in the current authority tuple before admission, preserving the existing denial/projection and no-side-effect behavior. All accepted corrections are published with source resolutions/history read back. The assigned quota is complete; the final productive Minor round is not a dry pass or provider taper.

Final two-file guard/test correction passes the locked focused PLAY suite (77 fresh cases; no failures, errors or skips), enabled scoped Java formatting and diff hygiene. Its negative test asserts rejection without Entity dispatch, context persistence or gameplay binding activity. Earlier frontend wording passes locked linkCheck/lintMarkdown; unchanged code proof executed33 codec/signature/Account-source unit cases, formatting and test-support build. Seven committed-source PostgreSQL cases compile/discover but skip without Docker. The prior parent forward passed51 materializer/23 bootstrap cases, Ruff and docs. Real Kubernetes transport remains denied pending independently trusted cluster binding; offline receipts are insufficient for delivery.

The incoming entitlement-carrier/runtime-activation obligation remains open. No database execution, fresh-image, served-certificate or end-to-end admission proof is claimed. Parent alignment, exact-head CI and eventual provider review remain separate gates; no CodeRabbit request, taper or merge-readiness credit.

Preserved earlier boundary and proof

Current General pre-review checkpoint

Head: 3965979fafe59985ca05a701e21dc98620b4c992; incorporated published parent #2876: c3361de916fe3765332e80e62fb013a3f3008bcb. All 73 unique paths remain. Seventy-one per-file unique patches are unchanged; the two materializer/test patches preserve this child's canonical receipt retry behavior while incorporating the parent's per-access principal checks. Later own-parent forwarding remains a separate alignment gate.

One of four newly assigned independent whole-PR Luna XHigh rounds is complete: 1 raw / 1 accepted Minor documentation finding. Central authentication guidance distinguishes the closed Gateway/parser/Account runtime from the injected-context test path and does not claim live replay/context admission or fresh legacy gameplay binding. Three assigned fresh rounds remain; controller records own review/finding/fix evidence and give no CodeRabbit taper credit.

Affected reconciliation proof passed: materializer/bootstrap Python suites (50 + 23 fresh tests), Python compilation, canonical Ruff checks/format and diff hygiene. Earlier selected signature, Java formatting and documentation proof remains recorded below; it was not rerun for this Python-only parent correction. All 9 earlier PostgreSQL repository cases compiled but skipped without Docker. Fresh images, database/live Account exchange, authenticated publication/key custody, served certificates and deployment proof remain unrun.

The existing routed PLAY entitlement-evidence obligation remains an activation gate: the legacy entitlement carrier is incomplete and its Account runtime RPC is denied. This checkpoint does not resolve or enable that target flow.

Preserved implementation boundary and prior proof

Boundary

Unit 1B Account/Game Session snapshot, credential-containment and committed-source prerequisite stage, stacked on unchanged #2876. Human-authorized consolidation absorbs #2881, #2911 and #2914; 73 unique files. These proof boundaries are retained inside this PR, not presented as separate merge requirements.

  • Complete fenced membership snapshot DTO/encoder and unactivated Game Session consumer, with canonical event/checkpoint agreement, positive never-joined absence and non-admitting sequence zero; exact Account versus concurrent first-JOIN readback proof.
  • V37 one-use bare-LOGIN operation/immutable purpose-bound result-envelope storage, concurrent first-writer and lost-result readback prerequisites. It does not issue the private delegation JWT.
  • Canonical complete Account selected-target and Gateway context schema/codecs/shared vectors, exact request→connectRequestId, jti→connectTokenJti and iat→issuedAt mappings, unchanged conditional lifecycle/generation and authority evidence. Context deadline remains capped by source expiry and original issuance +30 seconds; old incomplete/HMAC paths fail closed.
  • Unwired strict-current committed V35 source reader and Account asymmetric signature verifier, fenced durable operation/envelope/Account/retained-tenant provenance correspondence and unchanged deadline reread. Identity evidence does not supply current authorization.
  • Local purpose-separated Account-ring receipt retry correction and focused tooling proof, not authenticated receipt publication or live Secret delivery.

Preservation and proof

Normal merge retains exact #2880 ddd1bb7de739ffc52342b53e19cfea5588a34264, #2881 1d4a42ca20fa4ecfeae1fe56b97bbdb6e9106d9e, #2911 78c3fe88614708a4cd224800ac0f1bd6d03b310e and #2914 ac8d52758384e16a2c5f1fc086af40589ad86350. Consolidated candidate ce262200ccb9e868c84372e3f3ffd624297afb3f has exactly the entire former #2914 tree, including all mixed-file hunks, deletion and workflow changes. Aggregate stable patch identity against unchanged #2876 is c6988186f9894ad0e882924a43a1d7ffc3195bd2. No rebase or force rewrite; historical source review records/comments remain retained without new review credit.

Earlier exact CI 36778631119 on preserved #2911 executed JOIN 30, V35 issuance9, V37 storage9, generation2 and authority outbox4, plus Game Session Script Pin25 and focused WebSocket16: all strict suites passed with zero skips, including snapshot/JOIN race and exhaustion methods. Both service check/JAR jobs passed. This proves that earlier composed checkpoint, not the new source-reader delta or live first-party LOGIN. Later source/history proof is recorded in successor #2915 and the owning tracker. The aggregate workflow still has separately recorded tooling/Game Design/Automation and current identity-carrier failures.

Fresh consolidated five-module full checks, affected formatting, all three runtime JARs, links and Markdown passed: 210 tasks, 112 executed/98 up-to-date. Fresh parsed reports and task logs confirm Account413, common-security111, test-support43, Gateway182 unit +14 integration and Game Session1,694 unit +18 integration +1 cross-service cases executed, zero failures/errors. Account105 PostgreSQL, Game Session17 unit/111 integration/33 cross-service cases skipped; Docker-backed skips are not execution. Account-ring materializer/bootstrap67 and CI-scope23 cases, strict-inspector contracts, Actionlint and diff hygiene passed. No Hosted or CodeRabbit review was requested. Provider non-draft metadata is not a merge-readiness declaration.

Remaining gates and ownership

The runtime membership RPC, new signed-context/credential paths and real bare-LOGIN exchange remain denied. Complete current Account grants/entitlements/generations/fences, event delivery, immutable issuer registry/evidence-bundle producer, delegation issuance/recovery, canonical authentication/session/selected-tenant carriers and complete authenticated consumer proof remain required. Original source proof alone cannot authorize admission or recovery.

Protected ring custody, sole-writer authenticated typed receipt publication/readback, live readiness, fresh-image boot, HTTPS/mail/abuse/browser and end-to-end admission/recovery are unproved. The five unpublished ring-mount/proof edits remain outside this PR. Fresh identity/UUID snapshot, terminal recovery and Game Design tenant-source readback now belong to the next combined stage #2915. Existing malformed PLAY-success evidence route remains owned by #2880. Unit 1B remains provisional; no corpus completion, review taper, activation, PR merge or merge readiness claimed.

FireMUD LOC impact

Compared df0ca7502dd2 → aa41781d013b (PR merge-base → head).
PR scope: 78 changed files · 11,241 added textual lines / 2,945 deleted textual lines.

Section Base LOC Head LOC Δ LOC Change
Overall 726,654 734,172 +7,518 +1.0%
 Source 638,000 645,436 +7,436 +1.2%
  ↳ Code 274,717 278,443 +3,726 +1.4%
  ↳ Tests 363,283 366,993 +3,710 +1.0%
 Markdown 58,593 58,626 +33 +0.1%
 Design 61,277 61,310 +33 +0.1%
  ↳ Architecture 45,092 45,089 -3 -<0.1%
  ↳ Project management 5,465 5,501 +36 +0.7%
  ↳ Observability 2,147 2,147 0 0.0%
  ↳ Operator runbooks 579 579 0 0.0%
  ↳ gRPC API documentation 6,529 6,529 0 0.0%
  ↳ Product requirements and user journeys 926 926 0 0.0%
  ↳ Developer workflows 460 460 0 0.0%
  ↳ Other design 79 79 0 0.0%

Rows are hierarchical and overlapping views; do not add them together.
LOC means cloc code lines; blank and comment-only lines are excluded.

@coderabbitai

coderabbitai Bot commented Sep 27, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration
  • Configuration used: Repository YAML (base), Organization UI (inherited)
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: c185ac40-ea9c-496b-8da5-f04494670de5

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@codecov

codecov Bot commented Sep 27, 2026 •

Copy link
Copy Markdown

@benhook1013

Copy link
Copy Markdown
Owner Author

Routed from Document’s independent #2873 Pass 2 (source PR, initially noted on #2876): conditional Game Session PLAY currently needs fail-closed malformed-success validation for Account entitlement tenant/timestamp/version/billing sequence and membership generation plus exact authenticated same-snapshot tuple/checkpoint. #2880 owns the typed Account snapshot and Game Session consumer; its published body still leaves full event-content/current-authority comparison and negative runtime calls open. Account’s runtime RPC remains denied, so this is an activation/proof gate, not a demonstrated live bypass. Please decide/fix or retarget on this PR before enabling the read.

@benhook1013
benhook1013 marked this pull request as ready for review October 1, 2026 04:24
@benhook1013 benhook1013 changed the title Unit 1B: assemble fenced Account membership snapshot evidence Unit 1B: fenced snapshots, LOGIN storage and verified connect-source prerequisites Oct 1, 2026
@benhook1013

Copy link
Copy Markdown
Owner Author

Pre-review complete — General's assigned additional programme at 9dbf34c24bcae4d0233f4509eb459d32578699b8, 74 unique paths against #2876 6587653e868e53c422c1f0bc50f36397c62a60f5.

Four fresh independent Luna XHigh whole-boundary passes covered every unique path and changed test/fixture hunk plus necessary context: 5 raw / 5 accepted, comprising 1 Major and 4 Minor findings. All accepted fixes are published, with source resolutions and controller history read back. They align current-versus-target authentication/transport status, enforce canonical decimal-string membership-version map values, and reject unknown current authority-tuple fields before admission.

Final guard/test proof: 77 fresh focused PLAY cases, zero failures/errors/skips; enabled scoped Java formatting and diff hygiene pass. The negative asserts existing denial/projection without Entity dispatch, context persistence or binding activity. Earlier unchanged codec/signature/source units, materializer/bootstrap cases and documentation proof remain recorded in the body; PostgreSQL/source integration cases skipped without Docker and are not database execution.

The incoming complete PLAY entitlement/snapshot observation remains an activation obligation, not cleared by this tuple guard. Runtime RPCs and live Kubernetes materialization stay denied; authenticated exchange, database/readback, fresh images, served certificates and end-to-end admission remain unproved. Own-parent forwarding and exact-head CI are separate gates.

The explicitly assigned four-round quota is exhausted; the last round still yielded a useful Minor correction, so no dry-pass/taper claim is made. This handoff gives no CodeRabbit review, taper or merge-readiness credit. No provider review was requested.

@benhook1013

Copy link
Copy Markdown
Owner Author

Pre-review complete — own-parent alignment

Head dd3416c5626a917ae92c2d0d94e5736c2d3c546b, exact incorporated #2876 78c8a3ee25b5d6d20dde56339f80ec583abcbe3f, 78 unique paths. Four assigned independent whole-boundary passes found 5 raw / 5 accepted (1 Major, 4 Minor), all fixed/resolved in controller records. Their original reviewed heads remain recorded; this normal-merge integration and focused checks are not a fresh independent pass or CodeRabbit credit. No more discovery is authorized for this boundary.

Stronger parent cached-eligibility denial, readback-only uncertain JOIN, immutable receipts, injected-clock freshness and stale-context rejection survive alongside the complete child membership/event/tuple checks and bare-LOGIN containment. The V37→V37.1 rename is byte-identical; parent V37/V38/V40/V41 SQL and packaged resources survive. Account/shared checks/JAR and corrected Game Session/Gateway checks/JARs/format/docs pass; parsed combined reports: 3,385 cases, 3,087 passed, 298 skipped, no failures/errors, with cached/up-to-date results distinguished. All74 bootstrap/materializer cases, Ruff, migration sanity, ShellCheck, tooling contract and diff hygiene pass.

The existing runtime-entitlement route stays open. Skipped PostgreSQL cases, fresh-image boot, independently trusted cluster binding, live keys/certificates and first-party structured payload/privacy/cutover/reconnect/admission proof remain separate gates. Generic/component tests do not replace seven currently unreachable first-party success proofs; no activation bypass or fake success was added. Required-check authority was unavailable (branch-protection HTTP404), and no new-head CI success or merge readiness is claimed.

Delegation: bounded Account, Game Session and owner-doc integration lanes were inspected; two retained implementation contexts were reused for the Game Session test corrections (including the original Luna XHigh reviewer). Native final proof, Git operations and publication were orchestrator-owned. Scheduled independent-review evidence is unchanged; no Hosted/CLI request.

@benhook1013

Copy link
Copy Markdown
Owner Author

Pre-review complete — aligned head aa41781d013b6f3fcfba8eb26e23e19d99ab45bf, own parent #2876 df0ca7502dd25b73819fdc943cf4f2bd5636dc6c,78 unique files. The entire unique patch is byte-identical to previous dd3416c562 against its parent; mode-specific migration credentials are inherited without changing child behavior.

All4 commissioned whole-boundary passes remain complete:5 raw/5 accepted (1 Major,4 Minor), all fixed/resolved in the controller. No new review or taper credit; stop is the authorized schedule, not an invented dry pass.

Focused forwarding proof:80 tasks (31 executed,1 cache,48 up-to-date),9 fresh runner methods without failures/errors/skips, both boot JARs, enabled Java formatting checks, links/Markdown, Helm credential negatives/render contract, ShellCheck and hygiene pass. Whole-service/PG proof below remains historical, not rerun. Retained Luna helper ran bounded proof; General inspected merge and exact patch identity.

Seven unreachable first-party structured success proofs and the incoming runtime-entitlement activation route remain open. Live key-ring/materialization, credential/membership paths, PostgreSQL, deployed Flyway history, credential effective-grant readback, fresh images, served identity and consumer convergence stay gated. No required-CI, CodeRabbit taper or merge-readiness claim; see body/controller for preserved proof and routed limits.

@github-actions

github-actions Bot commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

Validation Summary

❌ One or more validation checks failed

  • ❌ Validation gate: failure
  • ✅ Buf generation: success
  • ✅ Dockerfile lint: success
  • ✅ ShellCheck: success
  • ❌ Python script validation: failure
  • ❌ Dev tool contract checks: failure
  • ⏭️ Dev Tools README contract: skipped
  • ✅ YAML lint: success
  • ✅ Metrics cardinality policy check: success
  • ✅ Flyway migration sanity checks: success
  • ✅ gRPC transport configuration sanity checks: success
  • ✅ GitHub workflow lint: success
  • ✅ Helm chart lint: success
  • ✅ Helm render validation: success
  • ✅ Helm transaction proof: success
  • ✅ Validate Documentation: success
  • ✅ Frontend checks: success
  • ❌ Service build/test matrix: failure

Coverage reports and failure logs are available in the workflow artifacts.

@benhook1013

Copy link
Copy Markdown
Owner Author

Retiring this donor into the consolidation stack. Its whole original scope (e39946df60cd658bb21311ff6ec7ea300eb811d6 over df0ca7502dd25b73819fdc943cf4f2bd5636dc6c, 89 files) is accounted for in develop and the published receivers, top #3442 0d60acbf3621bf41d85a1fccc8df46d55dd3a105.

Component here Receiving successor Disposition
Fenced runtime membership snapshot AccountCanonicalRuntimeMembershipSnapshotRepository/Service, RuntimeMembershipAuthorityEvidenceValidator Superseded
Bare-LOGIN exchange (V37.1) Authenticated direct-text ingress and initial gameplay login journal; gateway architecture marks bare login superseded Superseded
Committed connect source and verifier AccountCanonicalConnectScopeReader, IssueDirectTextConnectScope, GatewayFirstPartyConnectContextEnvelope Superseded
Game Session LOGIN/PLAY and Gateway handshake Canonical LOGIN/PLAY admission Superseded
CI contract scripts Same scripts in develop Carried

No review threads. The branch stays because #2915 is based on it.

@benhook1013
benhook1013 deleted the codex/unit-1b-membership-snapshot branch November 30, 2026 06:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant