PR #2876 review history
Unit 1B · Account admission and runtime authority
Review rounds
Three-number pills mean: found (raw) / accepted here (useful) / routed
Recorded review history
Reviews and findings
- Subagent Review 1 CompletedModel not recordedFound: 1 Accepted: 1 Routed: 0
- V35 permits deletion of the durable issuance replay keyMajor
Deleting an issuance envelope and then its operation removes the unique first-writer request identity; a later exact claim can create a fresh pending operation instead of replaying the committed outcome.
- Accepted The V35 repository is currently unwired, but its published schema must preserve the durable idempotency invariant before activation. #2876 will deny direct deletion until Account implements evidence-qualified retention cleanup; focused PostgreSQL negative proof is assigned.
- Subagent Review 2 CompletedModel not recordedFound: 3 Accepted: 1 Routed: 0
- Check Account snapshot evaluatedAt generationMinor
The positive and never-joined snapshot builders assign evaluatedAt with Instant.now() after their Account evidence reads.
- Rejected These are fresh Account-owned reads in one transaction under the Account-row fence and locked authority/evidence rows, with time assigned before that transaction ends. No projection or cached result is restamped; the observation does not demonstrate mixed-snapshot or stale authority.
- Retained positive V36 pair enrollment is not yet invokedMajor
The exact-proof enrollment helper exists but the local already-active JOIN path does not invoke it.
- Rejected The runtime membership RPC and V36 consumers are denied, so this is an open activation/reconciliation obligation, not a live bypass. Retain it in the Account tracker/PR handoff before activation; current JOIN already-active validates separate role, receipt, and event evidence.
- Reachable contradictory committed JOIN evidence is mislabeled AUTH_UNAVAILABLEMajor
The committed JOIN readback catch maps deterministic missing, malformed or mismatched authority evidence to retryable AUTH_UNAVAILABLE instead of denying the invalid authority.
- Accepted The canonical Account authority contract distinguishes unreachable dependency from reachable invalid evidence. #2876 owns this new readback method; a bounded correction and tests are in progress.
- Subagent Review 3 CompletedModel not recordedFound: 1 Accepted: 0 Routed: 1
- Demo Account seeder lacks the canonical tenant and membership-authority handoffMajor
The existing conditional seeder writes an ACTIVE SEEDED_DEMO membership without Game Design-attested tenant UUID association or the new Account authority, role, receipt, outbox and pair evidence; explicit JOIN denies that fixture rather than completing the target ceremony.
Route · PR #2876 → PR #2873 OpenFresh-tenant identity/seed handoff and proof are open, not a bypass of the denied runtime RPC. #2873 owns the Game Design-to-Account UUID bridge; #2876 must not infer it or relax authority checks. See #2873 comment 5876566636. View routed finding
- Subagent Review 4 CompletedModel not recordedFound: 1 Accepted: 0 Routed: 0
- Internal membership version counter uses BIGINT despite arbitrary-precision carrier parsingMinor
The pair authority table and Java source counter use BIGINT/long and fail closed on Long.MAX_VALUE, while ADR 0030 requires consumers to parse canonical decimal-string membershipVersion carriers as arbitrary-precision integers.
- Rejected ADR 0030 requires arbitrary-precision parsing of received JSON carriers, not unlimited Account transition issuance. This is an internal source counter, and overflow fails closed. Predecessor #2873 already uses BIGINT for membership/receipts; no unsafe #2876-local behavior is shown.
- Subagent Review 5 CompletedModel not recordedFound: 1 Accepted: 0 Routed: 0
- Internal pair source row persists numeric membershipVersionMinor
V36 persists membership_version as BIGINT/Java long while ADR 0030 names a one-tenant decimal-string map as the durable authority carrier. The closed event codec uses the map, and the runtime RPC remains denied. Whether the internal tenant-keyed source row is itself a forbidden carrier is pending Overseer interpretation.
- Rejected Overseer confirms the map rule covers evidence carriers, not Account BIGINT source rows keyed by account and tenant. V36 stays; same-snapshot map/readback, arbitrary-precision parsing and fail-closed overflow remain. ADR clarified; no schema migration.
- Subagent Review 6 CompletedModel not recordedFound: 3 Accepted: 3 Routed: 0
- Scope connect-token repository test counts to the tested operationMinor
- Accepted The shared schema retains prior methods' durable operations; whole-table equality-to-one assertions are order-dependent. Scope both retention assertions to the exact operation under test.
- Reject empty Gateway context payloads before signingTrivial
- Accepted Signing accepts empty payloads which verification always rejects. Reject at signing with focused negative/round-trip proof; unwired primitive, not a current runtime bypass.
- Fail closed on unsafe materializer source custodyMinor
- Accepted Materializer silently drops O_NOFOLLOW and omits owner/directory custody checks already required by bootstrap. Preserve protected local-source custody without claiming external provenance or enabling live issuance.
- Subagent Review 7 CompletedModel not recordedFound: 2 Accepted: 1 Routed: 0
- Materializer must verify its authenticated principal before each Secret operationMinor
- Accepted The deployment contract requires a fresh server identity check before each access; the run currently reuses one check across read, mutation and readback.
- V35 immutable envelope guards do not implement eventual retention cleanupMinor
- Rejected V35 deliberately proves immutable first-writer storage only. Cleanup/retirement and activation are already unimplemented gates, not claimed capabilities; introducing deletion without the owner horizon/hold/watermark operation would weaken the staged contract.
- Subagent Review 8 CompletedModel not recordedFound: 1 Accepted: 1 Routed: 0
- Materializer does not bind Secret access to the intended Kubernetes clusterMajor
Whole72 unique paths/hunks reviewed with Account/Game Design/Game Session/security/deployment context; clean c3361de916 pin. Static only, no tests or live proof. Root verified source/CLI environment equality plus whoami lacks cluster binding; bounded implementation choice under investigation.
- Accepted Protected source environment and server-reported username do not distinguish a wrong cluster with the same namespace/service-account name. ADR0152 requires observed environment/cluster binding before mutation.
Routed Findings
Route 1 · PR #2876 → PR #2873 OpenMajorDemo Account seeder lacks the canonical tenant and membership-authority handoff
The existing conditional seeder writes an ACTIVE SEEDED_DEMO membership without Game Design-attested tenant UUID association or the new Account authority, role, receipt, outbox and pair evidence; explicit JOIN denies that fixture rather than completing the target ceremony.
Outcome: Verified #2923 610ea7b7b: seeder still writes tenantId=1 ACTIVE/SEEDED_DEMO without canonical mapping/pair/event/receipt/role authority. Call-based tests are not proof. #2915 source is a prerequisite, not completion; remains open. No inferred mapping.
Earlier routing and proof
Earlier decisions
- Routed Fresh-tenant identity/seed handoff and proof are open, not a bypass of the denied runtime RPC. #2873 owns the Game Design-to-Account UUID bridge; #2876 must not infer it or relax authority checks. See #2873 comment 5876566636.
Unlinked items
no items unlinked