The projection-verified binding census (CB-13B R4): GIT_SHA_INDEX rows are candidate bindings written by the projection under the shadow lock (verified by construction), aggregate/ReviewGate tags are Atomic-only and project nothing (explicit refusal), and same-name ambiguity becomes a durable stored-conflict review item — never a binding by convention.
(
&self,
_readiness: &ColocatedGitReadiness,
)
| 456 | /// same-name ambiguity becomes a durable stored-conflict review item |
| 457 | /// — never a binding by convention. |
| 458 | fn binding_census( |
| 459 | &self, |
| 460 | _readiness: &ColocatedGitReadiness, |
| 461 | ) -> Result<Vec<CutoverSchemaAudit>, RepositoryError> { |
| 462 | let txn = self.pristine.read_txn().map_err(pristine_error)?; |
| 463 | let git_sha_rows = txn.list_git_shas().map_err(pristine_error)?.len(); |
| 464 | let conflicts = txn.snapshot_conflicts().map_err(pristine_error)?.len(); |
| 465 | drop(txn); |
| 466 | Ok(vec![ |
| 467 | CutoverSchemaAudit { |
| 468 | item: "git-sha-index-bindings".to_string(), |
| 469 | disposition: CutoverAuditDisposition::Required, |
| 470 | detail: format!( |
| 471 | "{git_sha_rows} GIT_SHA_INDEX row(s); every row is written by the \ |
| 472 | projection publication under the shadow lock — a projection-verified \ |
| 473 | candidate binding, never a convention" |
| 474 | ), |
| 475 | }, |
| 476 | CutoverSchemaAudit { |
| 477 | item: "trailer-bindings".to_string(), |
| 478 | disposition: CutoverAuditDisposition::PreservedImmutable, |
| 479 | detail: "commit trailers ride in content-addressed Git objects; the \ |
| 480 | migration never rewrites or reinterprets them as Atomic bindings" |
| 481 | .to_string(), |
| 482 | }, |
| 483 | CutoverSchemaAudit { |
| 484 | item: "aggregate-tag-bindings".to_string(), |
| 485 | disposition: CutoverAuditDisposition::Refused, |
| 486 | detail: "ReviewGate/aggregate tags are Atomic-only and project nothing; \ |
| 487 | they are never bindings" |
| 488 | .to_string(), |
| 489 | }, |
| 490 | CutoverSchemaAudit { |
| 491 | item: "same-name-ambiguity".to_string(), |
| 492 | disposition: CutoverAuditDisposition::PreservedImmutable, |
| 493 | detail: format!( |
| 494 | "{conflicts} stored conflict row(s) are the durable ambiguity review \ |
| 495 | items; a same-name conflict never becomes a binding by convention" |
| 496 | ), |
| 497 | }, |
| 498 | ]) |
| 499 | } |
| 500 | |
| 501 | /// The four leased readiness observations (CB-13B R6): Git repository |
| 502 | /// open, shim-enabled equivalence (verified checkpoint matching the |
no test coverage detected