PR #2846 review history
Unit 1A · identity, Account and public JOIN
Review rounds
Three-number pills mean: found (raw) / accepted here (useful) / routed
Recorded review history
Reviews and findings
- Subagent Review 1 CompletedModel not recordedFound: 3 Accepted: 1 Routed: 0
- Hypothesized hosted preflight rejection of split trust mount
Reviewer withdrew the hypothesis after tracing separate hosted-bridge and Kustomize preflight call paths.
- Rejected Hosted-bridge does not invoke the changed Kustomize workload-secret validator; the respective layouts match their validators.
- Deployment and operations inventory omits Account and Game Session leaves
The child adds seven workload leaves and twelve total projections while canonical deployment and tracker text still counts five and ten.
- Accepted Corrected owner and local consequences in published 76599d3e5e83687b0a066b6ba3bd4b7890c52197.
- Additional stale five/ten counts in the same identity inventory
Additional deployment and tracker lines repeated the same underlying inventory issue.
- Rejected Duplicate observation grouped into stale-seven-leaf-inventory; corrected in the same published commit.
- Subagent Review 2 CompletedModel not recordedFound: 1 Accepted: 1 Routed: 0
- Helm and player-facing bootstrap instructions omit two required workload leaves
Helm README, deployment runbook, and secrets overview describe only five publication leaves although Account and Game Session now mount distinct required Secrets.
- Accepted Concrete #2846 owner-local operational documentation gap; bounded correction and focused validation assigned, not yet published at this registration.
- Subagent Review 3 CompletedModel not recordedFound: 2 Accepted: 2 Routed: 0
- Account and Game Session identities lack retained certificate high-water marks
- Accepted Added separate role status, CRD/readback and rollback/SPKI negatives in published 4d78fab93ae018a5ff813c59f26cb4b93073ee1d.
- Deployment preflight omits Account and Game Session workload leaves
- Accepted Extended static/operator preflight to seven leaves with wrong-reference, missing-Secret and missing-CA negatives in published 4d78fab93ae018a5ff813c59f26cb4b93073ee1d.
- Subagent Review 4 CompletedModel not recordedFound: 2 Accepted: 1 Routed: 0
- Hypothesized conflict between Helm and Kustomize trust projection paths
- Rejected Kustomize intentionally mounts the full leaf CA at /tls/ca.crt; hosted Helm intentionally mounts shared trust at /grpc-trust/ca.crt.
- Account served probe pins the generic gRPC leaf instead of Account leaf
- Accepted Pinned Account server fingerprint while retaining generic client material, with same-CA wrong-leaf TLS negative proof; published in 5a940f81742bdb5df484571c7edb1cd4b651bc5d.
- Subagent Review 5 CompletedModel not recordedFound: 1 Accepted: 1 Routed: 0
- Game Session workload may be Ready without serving its projected leaf
Controller rollout covers both Account and Game Session distinct leaves, but the served gRPC probe is fixed to Account only; rollout counters do not verify Game Session's served certificate.
- Accepted ADR 0182 and the #2846 readiness contract require affected consumers to serve or accept their current identities. Add fixed Game Session handshake and exact egress allowance with stale-leaf negative proof.
- Subagent Review 6 CompletedModel not recordedFound: 2 Accepted: 2 Routed: 0
- Local workload certificate helper guide incorrectly describes only publication leaves
The helper allows Account and Game Session as well as five publication workloads, but its README still calls --workload a publication-leaf mode.
- Accepted Verified the script allowlist includes all seven workloads; correct the local helper description without changing certificate issuance code.
- Accepted ADR 0182 still names five projections while current hosted contract requires twelve
ADR 0182 activation, retirement and readiness wording retained the older five-role boundary after the controller gained seven distinct workload leaves.
- Accepted Concrete conflicting canonical authority on the same #2846 identity boundary; align ADR 0182 to five shared roles plus seven workload projections while preserving live-proof limits.
- Subagent Review 7 CompletedModel not recordedFound: 0 Accepted: 0 Routed: 0
- No findings recorded for this run
- Subagent Review 8 CompletedModel not recordedFound: 1 Accepted: 1 Routed: 0
- Hosted helper README still describes five leaves after Account and Game Session split makes seven
The changed helper loops include Account and Game Session leaves, while hosted shared README lines 23 and 26 still describe five publication leaves and shared-leaf commentary still assumes six consumers.
- Accepted This PR changes the workload leaf set, making nearby hosted helper documentation stale; update the counts and retained shared consumers with focused contract proof.
- Subagent Review 9 CompletedModel not recordedFound: 1 Accepted: 1 Routed: 0
- Preview validator rejects valid Game Session controller policy and omits its safety validation
Helm adds Account and Game Session controller-ingress policies, but preview validator expects and checks only Account; exact-set check rejects the extra Game Session policy.
- Accepted The changed Helm policy must have corresponding exact-name and selector/source/port validation; a bounded validator and negative-fixture correction is in progress.
- Subagent Review 10 CompletedModel not recordedFound: 3 Accepted: 3 Routed: 0
- Social Groups leaf omitted from served-certificate readiness
The controller and probe verify Account and Game Session served leaves but not Social Groups; a rollout can report Ready without proving the current Social leaf is served, contrary to accepted ADR 0182.
- Accepted Extend the exact-current-leaf probe, network exception and preview validator to Social Groups with positive and negative proof; preserve the eight-leaf rollout gate.
- Standalone workload certificate helper rejects Social Groups
The helper's workload allowlist omits social-groups-service, despite the distinct Social Groups Secret now mounted by the manifest.
- Accepted Add the exact Social Groups workload to the existing helper allowlist and focused certificate contract; do not introduce another issuance path.
- Bootstrap documentation omits the eighth gRPC leaf
The standalone certificate README says seven leaves and the bootstrap example list omits Social Groups, despite the required eighth Secret.
- Accepted Update only the local leaf count and bootstrap example list to match the accepted eight-role manifest; no claim of live issuance.
- Subagent Review 11 CompletedModel not recordedFound: 1 Accepted: 1 Routed: 0
- P2 hosted identity authority and operator status text lags eight distinct workload leaves
ADR 0032 implementation status, the environment/secrets catalog and hosted controller README still describe shared gRPC leaf operation or imply per-workload identity is not claimed, despite the eight-leaf hosted implementation and static/served-probe proof. Correct current-status wording without changing the accepted decision or claiming live proof.
- Accepted Direct code/contract readback confirms the eight-leaf hosted controller and the three stale current-status descriptions; grouped as one owner-local documentation issue.
- Subagent Review 12 CompletedModel not recordedFound: 2 Accepted: 2 Routed: 0
- Hosted NetworkPolicy guidance omits the Social Groups TCP/6565 selector
The README names Account and Game Session only while the checked-in NetworkPolicy has exact Social Groups preview/dev-demo selectors on TCP/6565.
- Accepted Verified against the exact NetworkPolicy selectors. Corrected README in published 478e3b237; the manifest and controller behavior were unchanged.
- Preview-mode guidance omits three distinct workload projections from readiness
The private/public mode paragraphs list only five publication projections although controller readiness also gates Account, Game Session and Social Groups dedicated workload leaves.
- Accepted Verified against HostedIdentityReconciler readiness and the later correct README status contract. Corrected both preview-mode paragraphs and published 478e3b237; links, Markdown and diff hygiene passed.
- Subagent Review 13 CompletedModel not recordedFound: 1 Accepted: 1 Routed: 0
- Certificate bootstrap comment overcounts remaining shared-leaf workloads
The script comment says four shared-leaf workloads remain, whereas canonical identity projection leaves three.
- Accepted Corrected the comment in published bc1b50590 without changing runtime logic. ShellCheck, certificate contract and diff hygiene passed.
- Subagent Review 14 CompletedModel not recordedFound: 1 Accepted: 1 Routed: 0
- P2 Kustomize Account/Game Session miss shared peer trust
Legacy shared and distinct cert-manager roots coexist at normal bootstrap; Account required Logging Admin RPC can fail when trusting only its leaf CA.
- Accepted Fixed and published in 5cf8474f54b4b6f19455b15907cb1029547ffc5d. Exact split trust projections, preflight and negative tests pass. Live served mTLS remains unproved.
- Subagent Review 15 CompletedModel not recordedFound: 1 Accepted: 1 Routed: 0
- P3 bootstrap runbook still describes obsolete Account/Game Session leaf-only peer trust
- Accepted Corrected and published a181ff392adc9706cf7313ea05fe562222efa311. All eight distinct consumers retain private leaves and shared public trust. Locked links/Markdown and diff hygiene pass; no new runtime semantics.
- CLI Review 1 CompletedRuntime 2m 15sFound: 7 Accepted: 0/1/6 Routed: 0
- Trivial
Replace the nine repeated map updates in EnvironmentIdentityPlanner with a loop over the dedicated (role, workload) pairs, following the existing publication loop’s pattern. For each pair, preserve the current certificate, source-secret, and publication-secret naming schemes.
- Accepted Consolidate three dedicated role/workload naming updates into a bounded loop preserving deterministic names and ordering.
- Trivial
Add a short comment in the revision assignment flow of DeploymentRolloutService explaining that the combined leaf revision intentionally overrides the plain grpcRevision for dedicated workloads that are also gRPC consumers, so their pods roll on both shared-bundle and leaf identity changes.
- Accepted Explain why combined leaf/trust revisions supersede plain gRPC revision; behavior unchanged.
- Trivial
Update the error message in the check that validates GRPC_WORKLOAD_SECRET_CONSUMERS to derive the required distinct-Secret count from len(GRPC_WORKLOAD_SECRET_CONSUMERS) instead of hardcoding eight.
- Accepted Derive the distinct-Secret diagnostic count from the canonical consumer set; preserve validation.
- Trivial
Update the failure message in the preflight check to say “eight-workload” instead of “seven-workload,” matching the fixture’s eight gRPC workloads.
- Accepted Fix misleading seven-workload fixture failure text to eight; only diagnostics change.
- Minor
Update the controller-ingress assertions in the workload loop and standalone exclusion set to include social-groups-service and social-groups-service-controller-ingress, respectively.
- Accepted Add missing Social Groups controller-ingress and standalone-exclusion proof; preserve policy.
- Trivial
Remove GRPC_ACCOUNT_ROLE and GRPC_GAME_SESSION_ROLE from the explicit case group in HostedIdentityReconciler, leaving GRPC_ROLE explicit so the two workload roles use the existing isGrpcWorkloadIdentityRole default branch.
- Accepted Use the canonical workload-role default branch for Account and Game Session; preserve unknown-role and duplicate rejection.
- Trivial
Remove the redundant
FIREMUD_GRPC_WORKLOAD_NAMESPACEvalidation block from the deployment validation flow;DISTINCT_GRPC_WORKLOADSentries are already checked for exactly one canonical namespace identity, so retain that existing check and avoid a second failure path.- Accepted Remove the duplicate weaker namespace block; retain the first exact-single-entry namespace check and its negative tests.
- Hosted Review 1 CompletedRuntime 7m 15sFound: 3 Accepted: 0/1/2 Routed: 0
- Assert that current workloads are not replaced.Trivial
The fixture does not fully detect an unnecessary replacement. For each current workload,
locked.replace(...)is unstubbed, so an incorrect replacement can returnnullwithout changing the later readiness result. Retain the locks for all workloads and assertnever().replace(any())for every workload exceptpendingWorkload. This confirms that the composite revision comparison replaces only the stale leaf.- Accepted Prove current dedicated workloads are never replaced while only the stale leaf rolls; strengthen the existing regression fixture.
- Add Social Groups to the documented controller TCP/6565 egress selectors.Minor
Line 349 says the controller NetworkPolicy allows only the Account and Game Session TCP/6565 selectors. The updated manifest contract in
dev-tools/tests/hosted-identity-controller-manifest-contract.sh(Lines 2081-2106) requires exactly six TCP/6565 destinations:account-service,game-session-service, andsocial-groups-service, each in the preview and dev-demo namespaces. The preview validator also requiressocial-groups-service-controller-ingress. The canonical deployment-environment contract therefore disagrees with the enforced policy. It also leaves out the Social Groups served-identity probe path.Proposed fix
-DNS and the Account and Game Session TCP/6565 selectors remain explicit and label-scoped. +DNS and the Account, Game Session, and Social Groups TCP/6565 selectors remain explicit and label-scoped.As per path instructions: "Flag obsolete transitional guidance, conflicts between architecture docs".
- Accepted Align owning deployment egress guidance with enforced Social Groups selector and served-identity probe; no new policy.
- Add
social-groups-serviceto both controller-ingress render checks.TrivialThe existing rendered-contract tests cover the hosted Social Groups policy, including a widened policy. They do not cover a Social Groups controller-ingress policy rendered in standalone mode. Add
social-groups-service-controller-ingressto the standalone rejection set.- in {"account-service-controller-ingress", "game-session-service-controller-ingress"} + in { + "account-service-controller-ingress", + "game-session-service-controller-ingress", + "social-groups-service-controller-ingress", + }- Accepted Add missing Social Groups hosted/standalone controller-ingress proof; same accepted correction as CLI finding3, not a second implementation.
- CLI Review 2 CompletedRuntime 1m 22sFound: 1 Accepted: 0/0/1 Routed: 0
- Trivial
Add a test for DeploymentRolloutService confirming that account-service, game-session-service, and social-groups-service receive the combined revision when listed in GRPC_CONSUMERS and grpcWorkloadIdentityRevisions is non-empty.
- Accepted Useful owned proof gap: existing eight-leaf rollout test deliberately excludes dedicated roles from plan consumers. Add focused Account/Game Session/Social Groups consumer-overlap test proving composite trust-and-leaf revision supersedes plain trust revision; no runtime redesign.
- CLI Review 3 CompletedRuntime 2m 06sFound: 0 Accepted: 0/0/0 Routed: 0
- No findings recorded for this run
- Hosted Review 2 CompletedRuntime 10m 30sFound: 0 Accepted: 0/0/0 Routed: 0
- No findings recorded for this run
- CLI Review 4 CompletedRuntime 1m 31sFound: 0 Accepted: 0/0/0 Routed: 0
- No findings recorded for this run
- CLI Review 5 CompletedRuntime 3m 11sFound: 2 Accepted: 0/0/2 Routed: 0
- Trivial
In DeploymentRolloutService, replace the repeated leaf-revision lookup, null validation, and revisionsByDeployment update blocks with a loop over role, workload, and leaf-kind entries for Account, Game Session, and Social Groups. Preserve each entry’s required-revision error behavior and combinedGrpcWorkloadRevision inputs.
- Accepted Cheap owned consolidation: loop over the three dedicated role/workload/leaf-kind entries while preserving current order, exact missing-revision messages and combined revision inputs; existing focused regression protects semantics.
- Trivial
Add
containsassertions for the Game Session and Social Groups entries in$waiter, matching the existing Account projection check so each waiter role label is explicitly verified.- Accepted Useful owned waiter-contract gap: only Account dedicated projection label is asserted; add exact Game Session and Social Groups entries matching their existing waiter roles.
- CLI Review 6 CompletedRuntime 2m 29sFound: 1 Accepted: 0/1/0 Routed: 0
- Minor
Update the last-projection lookup in the ordering check to match the
social-groups-servicesnapshot instead ofgame-session-service, so the assertion verifies the shared-trust write follows every workload projection.- Accepted Accepted current-PR test correction: shared-trust ordering must be checked after the final Social Groups workload projection, not the preceding Game Session projection.
- CLI Review 7 CompletedRuntime 3m 09sFound: 0 Accepted: 0/0/0 Routed: 0
- No findings recorded for this run
- CLI Review 8 CompletedRuntime 3m 33sFound: 0 Accepted: 0/0/0 Routed: 0
- No findings recorded for this run
- CLI Review 9 CompletedRuntime 1m 09sFound: 1 Accepted: 0/0/1 Routed: 0
- Trivial
Update the validation message in EnvironmentIdentityPlan’s map-key check to describe workload-identity maps rather than only gRPC publication maps, and update the matching test assertion to expect the revised message.
- Accepted Align map-key validation terminology with the general workload-identity maps; update matching regression assertion, preserving guard behavior.
- CLI Review 10 CompletedRuntime 2m 45sFound: 0 Accepted: 0/0/0 Routed: 0
- No findings recorded for this run
- CLI Review 11 CompletedRuntime 2m 34sFound: 1 Accepted: 0/0/1 Routed: 0
- Trivial
Update workloadIdentityEvidenceComplete to use the existing roleReady method as the predicate for GRPC_PUBLICATION_WORKLOADS, removing the duplicated material lookup and readiness check while preserving the other role checks.
- Accepted Accepted: reuse existing roleReady predicate for publication-role evidence; identical null/readiness semantics, removes duplicate guard. Focused controller proof will precede safe publication.
Routed Findings
Route 1 · PR #2848 → PR #2846 Accepted/FixedMajorHosted Social Groups leaf cannot satisfy Account exact peer guard
Outcome: Published a181ff392adc9706cf7313ea05fe562222efa311: k8s/base/social-groups-service.yaml and hosted-identity-controller-manifest-contract.sh prove distinct leaf/issuance/common trust. Manifest contracts and 425 controller tests pass. Descendant inheritance/live serving remain separate.
Earlier routing and proof
Earlier decisions
- Accepted Verified already fixed in published a181ff392adc9706cf7313ea05fe562222efa311: hosted issuance and Helm/Kustomize bind a distinct Social Groups leaf; served probe and common trust are included. No new source finding or source-count change.
Route 2 · PR #2848 → PR #2846 Accepted/FixedMajorHosted Social Groups Account calls need their distinct projected peer identity
Outcome: Published a181ff392adc9706cf7313ea05fe562222efa311: k8s/base/social-groups-service.yaml and hosted-identity-controller-manifest-contract.sh prove distinct leaf/issuance/common trust. Manifest contracts and 425 controller tests pass. Descendant inheritance/live serving remain separate.
Earlier routing and proof
Earlier decisions
- Accepted Verified already fixed in published a181ff392adc9706cf7313ea05fe562222efa311: hosted issuance and Helm/Kustomize bind a distinct Social Groups leaf; served probe and common trust are included. No new source finding or source-count change.
Unlinked items
no items unlinked