Skip to content

Account: verify original committed connect source readback - #2914

Closed
benhook1013 wants to merge 2 commits into
codex/unit-1b-selected-target-contextfrom
codex/unit-1b-committed-connect-source
Closed

benhook1013 wants to merge 2 commits into
codex/unit-1b-selected-target-contextfrom
codex/unit-1b-committed-connect-source

Conversation

@benhook1013

@benhook1013 benhook1013 commented Sep 30, 2026 •

Copy link
Copy Markdown
Owner

Boundary

Published checkpoint: ac8d52758384e16a2c5f1fc086af40589ad86350, 12 unique files. Exact-head CI 36785132585 completed: Account and Game Session Build/Test passed; the aggregate Validation Gate is red on the outside-slice failures below. Configured queue readback ends #2881 → #2911 → #2914, with all prior entries unchanged. This scoped prerequisite is ready for review, not merge-ready or activated.

Stacked child of #2911, preserving exact parent 78c3fe88614708a4cd224800ac0f1bd6d03b310e. This is the Account-owned original committed-connect source readback prerequisite for the approved bare first-party LOGIN exchange, not a working exchange or current-authority authorization.

  • Recover the immutable successful V35 operation and its exact encrypted envelope by full request identity, using the stored request/evidence digests rather than deriving a replacement digest.
  • Require the exact verified Game Session workload identity and an active Account transaction before data access, then hold the Account row fence while checking canonical Account UUID provenance and the approved retained tenant mapping.
  • Decrypt only the connect-response purpose, verify the original compact Account JWT against explicitly supplied asymmetric public keys and the closed source profile, and compare its exact stored hash/JTI and complete source evidence against the independently verified Gateway assertion.
  • Recheck unchanged deadlines after a fence wait; do not restamp context, extend expiry, remint credentials, create membership, or return the raw JWT.
  • Return immutable, redacted, non-authorizing original-source evidence. Opaque stored authority/postcondition digest bindings are not proof of current authority or registry readiness.

The reader is deliberately not a runtime Spring service or RPC handler. No Account mount, signer delivery, credential producer, membership activation, or Game Session LOGIN promotion is added.

Proof

Focused verifier tests execute real RSA/Ed25519 signatures, strict duplicate rejection, profile/target/map validation, expiry, sanitized failures, arbitrary-precision counters and immutable results. Early-denial tests prove absent/wrong peers and an absent owner transaction cannot reach repository or credential collaborators. These peer-context tests do not prove network mTLS.

Seven PostgreSQL source-readback cases cover exact original-result reread without mutation, caller/keys, hash/JTI/target, absent/pending/failed source, retained mapping/evidence, purpose/key rejection and a real Account-row blocking pair crossing only the shortened Gateway deadline. All seven executed and passed in exact-head CI, with zero skips/failures/errors; the strict XML inspector confirms both exact reread and fence-expiry methods executed once and passed. Local Testcontainers cases compile but skip without Docker.

Consolidated local :account-service:check -PfullCheck passed with build/configuration-cache reuse disabled: 413 unit tests executed, zero failures/skips; all 105 integration cases compiled/discovered but skipped without Docker, including the seven new source-readback cases. Formatting, Checkstyle, SpotBugs, coverage, links, Markdown, Actionlint and the 23-case CI scope contract passed. No skipped test is counted as runtime execution.

Exact-head CI also passed the existing strict PostgreSQL suites: JOIN 30, connect issuance 9, bare-LOGIN storage 9, authority generation 2, authority outbox 4, Game Session Script Pin 25 and WebSocket handler 16; each had zero skips/failures/errors. The complete snapshot/first-JOIN race, both exhaustion rollback methods and other required strict cases each executed once and passed. All 64 Account and 117 Game Session Gradle tasks executed with build/configuration cache disabled. Raw JUnit XML was not retained in workflow artifacts: execution evidence is the runner's canonical strict XML-inspector output, not downloaded JaCoCo XML. A non-gating scheduled Account audit-poller connection-refused error also appears in the log; its cause is unestablished and it is not hidden by the passing checks.

Outside-slice failures: dev-demo summary-validator unsupported/indirect syntax, ten Ruff errors in hosted proof/smoke tooling, Automation NpcFormationGrpcServiceTest formatting, and Game Design EntityDigestBaselineMigrationIntegrationTest#exactRetryReadsCommittedEvidenceWithoutCallingEntityAgain duplicate game_tenant_id_key fixture insertion. These observations do not establish inheritance without a baseline comparison, do not justify disabling checks, and keep aggregate CI red.

Remaining gates

Production connect issuance, authenticated immutable Account evidence, current authority and issuance fences, delegation registry/activation/recovery, complete producer/consumer integration, fresh tenant creation/readback, protected public-key delivery and the separate response-envelope ring custody/channel/mount remain open. Fresh-image/live transport and browser proof are not claimed. Existing runtime RPC and credential paths remain denied. Unit 1B remains provisional; this checkpoint gives no CodeRabbit, Hosted-review, taper, or merge-readiness credit.

@coderabbitai

coderabbitai Bot commented Sep 30, 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: deb0e922-7757-4254-83bf-b7890fa0b1d5

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

Autopilot is currently an internal CodeRabbit preview.


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 30, 2026 •

Copy link
Copy Markdown

@benhook1013

Copy link
Copy Markdown
Owner Author

Superseded under the human-approved four-stage Unit 1B consolidation by #2880 at ce26220. Exact source ac8d527 is retained in normal merge ancestry; complete source-tree and aggregate hunk/patch comparisons passed. Source proof boundaries, accepted fixes, open obligations and activation limits remain documented in the survivor and owner tracker. Historical review records/comments are retained with no new review credit. No credential/RPC/catalog activation or ring mount is enabled; this is not merge readiness.

This branch had an error being deployed

1 failed deployment
trusted-hosted-cluster — ac8d5275 Deployed Oct 1, 2026 by benhook1013 via Delete Preview Runtime #3359
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