PR #2872 review history
Converge Entity digest v2 and guarded historical baseline migration
Entity digest v2 and guarded retained-baseline migration
Review rounds
Three-number pills mean: found (raw) / accepted here (useful) / routed
Hosted CodeRabbit0 completed
Progress: Progress not checkedRule: Min 2 configured · Max 3 configured
None yet
CLI CodeRabbit0 completed
Progress: Progress not checkedRule: Min 3 configured · Max 6 configured
None yet
Subagent Review19 completed
1/1/00/0/01/1/01/1/01/1/0
Recorded review history
Reviews and findings
- Subagent Review 1 CompletedModel not recordedFound: 1 Accepted: 1 Routed: 0
- Conditional migration Job used Jackson 2 mapper while runtime provides Jackson 3Major
- Accepted Fixed in 995de9685 with enabled and disabled ApplicationContextRunner wiring proof; focused JobRunner test passed.
- Subagent Review 2 CompletedModel not recordedFound: 4 Accepted: 3 Routed: 0
- Entity v2 hashes runtime-equivalent equipment slots and JSON payloads differentlyMajor
- Accepted Fixed in a0ed6570d: normalize slot and group and recursively canonicalize valid JSON; equivalent, distinct and malformed cases pass focused tests.
- Expected-source object could change by name between operator attemptsMajor
- Rejected Current trusted operator runbook requires verified immutable source objects before activation, while the Job intentionally lacks Kubernetes API read permission; live immutable-object verification remains an explicit gate, not a chart proof claim.
- Migrator Secret verifier accepts unrelated private keyMajor
- Accepted Fixed in a0ed6570d: compare key and leaf DER public material; valid and wrong-key certificate contract and ShellCheck pass.
- Concurrent exact operation retry rejects winner audit with a different committed timestampMajor
- Accepted Fixed in a0ed6570d: compare exact operation/source/target/baseline/audit fields without equating separately generated attempt time; focused loser/winner test passes.
- Subagent Review 3 CompletedModel not recordedFound: 0 Accepted: 0 Routed: 0
- No findings recorded for this run
- Subagent Review 4 CompletedModel not recordedFound: 1 Accepted: 1 Routed: 0
- Entity API contract incorrectly says live digest handler lacks owner and publication bindingMinor
- Accepted The exact mTLS-protected method is JWT-exempt; EntityManagementGrpcService uses PublicationReadGuard and validates the request. The current-status paragraph contradicts that implemented boundary and will be corrected, retaining live proof limits.
- Subagent Review 5 CompletedModel not recordedFound: 1 Accepted: 1 Routed: 0
- Migration audit actor is operator-asserted rather than authenticatedMajor
- Accepted The Job authenticates its workload certificate, but Helm actorIdentity is free-form. Clarify that it is an operator-supplied claim, require correlation with trusted deployment audit, and do not treat the row as cryptographic human attestation.
- Subagent Review 6 CompletedModel not recordedFound: 1 Accepted: 1 Routed: 0
- Migration accepts mutable Draft version data without an enforced authoring freezeMajor
- Accepted The migrator checks tenant and non-script scope, not immutable version state. Publication quiescence does not freeze Draft edits, and synthetic version:<id> cannot detect them. A protected Draft rule or published-only gate is required; retained-Draft disposition is with Overseer.
- Subagent Review 7 CompletedModel not recordedFound: 2 Accepted: 2 Routed: 0
- Migration Job consumes shared PostgreSQL bootstrap superuser credentialsMajor
- Accepted Helm references the same firemud-secret keys used by PostgreSQL POSTGRES_USER/PASSWORD, giving a one-shot Job cross-service database authority. Correct with fixed reader/writer roles, dedicated trusted-provisioned Secrets, Flyway disablement and restricted-role proof.
- A committed migration cannot be read back after its Version becomes DraftMajor
- Accepted Current Draft guard preceded audit lookup and rejected an already committed exact operation. Commit eb381e4e9 moves read-only exact audit/baseline retry before the new-operation Draft guard; focused unit proof passes and new Draft writes remain blocked.
- Subagent Review 8 CompletedModel not recordedFound: 1 Accepted: 1 Routed: 0
- Entity v2 digest omits authored equipment slots and body-layout membershipMajor
- Accepted Version-scoped owner rows affect runtime WEAR admission and must be in the v2 publish digest; delegate stable producer projection and focused semantic/equivalence proof, align API manifest.
- Subagent Review 9 CompletedModel not recordedFound: 2 Accepted: 1 Routed: 0
- Baseline migration Helm contract is not invoked by CIMinor
- Accepted Existing Helm contract is valid but orphaned; invoke it from the non-lightweight dev-tool contract job after Helm setup.
- V30 does not automatically grant writer EXECUTE on guarded transitionMajor
- Rejected Intentional fail-closed external DB-operator provisioning; automatic grant before trusted role/readback would weaken the dedicated migration boundary. Operations guide and integration fixture state the required explicit grant.
- Subagent Review 10 CompletedModel not recordedFound: 1 Accepted: 1 Routed: 0
- Version can leave and return to non-Draft during external digest readMajor
- Accepted The guarded write currently checks only present non-Draft state; a Published-to-Draft-to-Published authoring interval increments version_state_epoch and can invalidate the observed digest. Carry and compare the initial epoch under lock before baseline/audit mutation.
- Subagent Review 11 CompletedModel not recordedFound: 1 Accepted: 1 Routed: 0
- Concurrent stale Version writers can reuse one lifecycle epoch across Draft authoringMajor
- Accepted CAS and both publication finalizers read Version without exact-row locking; stale saves can produce ACTIVE-to-DRAFT-to-ACTIVE with unchanged epoch, bypassing the new migration digest fence. Serialize all three existing-row lifecycle writers and prove stale transition rejection.
- Subagent Review 12 CompletedModel not recordedFound: 1 Accepted: 1 Routed: 0
- Publication reconciliation lacks the Version lock used by migrationMajor
- Accepted recordVerifiedAndSucceed holds Game but not Version while re-recording participant baselines. It can race the migration's Version-locked baseline update. Acquire exact Version lock after Game and before readback/re-record.
- Subagent Review 13 CompletedModel not recordedFound: 0 Accepted: 0 Routed: 0
- No findings recorded for this run
- Subagent Review 14 CompletedModel not recordedFound: 1 Accepted: 1 Routed: 0
- Required operator retirement of ephemeral migrator Secret is deniedMajor
- Accepted P2: Secret VAP matches runtime migrator DELETE but lacks exact masters retirement allowance. Certificate-block suspicion withdrawn: controller policy abstains and issuance permits masters. Narrow Secret-only fix and negative proof in preparation.
- Subagent Review 15 CompletedModel not recordedFound: 1 Accepted: 1 Routed: 0
- P3 Helm migrator egress contract overlooks widened rulesMinor
- Accepted Complete-policy assertion and rendered-spec negative mutations replace first-peer/first-port checks. Actual policy is narrow; this closes proof drift, not an existing exposure.
- Subagent Review 16 CompletedModel not recordedFound: 0 Accepted: 0 Routed: 0
- No findings recorded for this run
- Subagent Review 17 CompletedModel not recordedFound: 1 Accepted: 1 Routed: 0
- Digest-v2 definition ordering contradicts canonical manifestMajor
- Accepted Resolve Entity-owned canonical ordering: v2 intentionally uses normalized semantic keys for definition projections, not database row IDs. Preserve producer hashes/schema and strengthen focused equivalence proof.
- Subagent Review 18 CompletedModel not recordedFound: 1 Accepted: 1 Routed: 0
- Inventory labels script-only version baselines as migratableMinor
- Accepted Baseline-only query can retain a full-version v1 row pointing to a script-only Version. Enumeration omits the same scope rejection enforced by preflight/migrate. Add blocked inventory classification and focused no-mutation proof; write guards unchanged.
- Subagent Review 19 CompletedModel not recordedFound: 1 Accepted: 1 Routed: 0
- Reject definition-key normalization collisions before Entity v2 evidenceMajor
- Accepted Stored slot/layout definitions are exact DB lookup keys but v2 normalizes them, allowing behaviorally distinct casing/whitespace to share a digest. Keep canonical hashes/schema stable; reject noncanonical required definition keys, preserve normalized group/item equivalence, no retained rewrite.
Routed Findings
0 Open0 Accepted/Fixed0 Rejected
No routes recorded
Unlinked items
no items unlinked