auth-contract-reconciliation.json
{
"observed_at": "2026-10-05T15:37:37.655158+00:00",
"main_sha": "4599122851bebf30e3e0da331cea29820ff175fd",
"scope": "read-only source/caller reconciliation; no production calls; FR28 peer confirms no tenant/schema changes",
"measurements": [
{
"command": "git show origin/main:src/cells/identity_attribution/identity_cell/main.py",
"relevant_output": [
{
"line": 57,
"source": "class PIILookupRequest(BaseModel):"
},
{
"line": 163,
"source": "def review_merge(req: MergeReviewRequest):"
},
{
"line": 176,
"source": "def update_policies(req: PolicyUpdate):"
},
{
"line": 181,
"source": "def pii_lookup(req: PIILookupRequest):"
}
]
},
{
"command": "git show origin/main:src/cells/identity_attribution/identity_cell/orchestrator.py",
"relevant_output": [
{
"line": 252,
"source": "def review_merge_candidate(self, edge_id: str, approve: bool, actor: str) -> Dict[str, Any]:"
},
{
"line": 268,
"source": "def lookup_pii(self, ref: str, actor: str, reason: str) -> Optional[Dict[str, Any]]:"
},
{
"line": 292,
"source": "def update_policies(self, updates: Dict[str, Any]) -> Dict[str, Any]:"
}
]
},
{
"command": "git show origin/main:src/cells/identity_attribution/identity_cell/schemas/resolution.py",
"relevant_output": [
{
"line": 41,
"source": "class PersonNode(BaseModel):"
},
{
"line": 58,
"source": "class SameAsEdge(BaseModel):"
}
]
},
{
"command": "git show origin/main:src/cells/identity_attribution/identity_cell/crypto/vault.py",
"relevant_output": [
{
"line": 120,
"source": "record_id = ref.rsplit(\"/\", 1)[-1]"
},
{
"line": 124,
"source": "def lookup(self, ref: str, *, actor: str, reason: str) -> Optional[Dict[str, Any]]:"
},
{
"line": 128,
"source": "record_id = ref.rsplit(\"/\", 1)[-1]"
}
]
},
{
"command": "git show origin/main:contracts/mizoki_contracts/auth.py",
"relevant_output": [
{
"line": 89,
"source": "async def verify_caller(authorization: Optional[str] = Header(None)) -> Dict[str, str]:"
},
{
"line": 127,
"source": "def resolve_tenant(caller: Dict[str, str], requested_tenant: str) -> Tuple[str, bool]:"
}
]
},
{
"command": "git show origin/main:contracts/mizoki_contracts/tenancy.py",
"relevant_output": [
{
"line": 96,
"source": "class TenantRegistry:"
}
]
},
{
"command": "git show origin/main:src/cells/identity_attribution/Dockerfile",
"relevant_output": [
{
"line": 32,
"source": "COPY src/cells/identity_attribution/identity_cell/ ./identity_cell/"
}
]
},
{
"command": "git show origin/main:src/cells/cell06/workflow_registry.py",
"relevant_output": [
{
"line": 31,
"source": "\"service\": \"identity-attribution-cell\","
}
]
}
],
"findings": [
"Authentication primitives supply verified service principal and strict caller-to-tenant resolution, not operator roles.",
"Identity image does not ship contracts library.",
"Identity node/edge/vault schemas lack authoritative tenant ownership; caller tenant resolution alone cannot prove target belongs to tenant.",
"Firestore vault lookup discards reference namespace and reads final record ID.",
"Policy settings are global and pii_access_role itself caller-mutable.",
"No actual PII lookup/merge-review consumer found; Cell06 registry advertises resolution workflow only."
],
"missing_owner_inputs": [
"Approved service caller and tenant mapping; exact expected OIDC audience.",
"Authoritative operator subject/role issuer and delegation binding, distinct from service IAM identity.",
"Ownership model and migration for existing global vault/node/edge records, preserving historical identifiers.",
"Authority/scope for global policy mutation."
],
"safe_preparation": "Fail closed before downstream sensitive data access/mutation while authorization ownership contract is unconfigured; do not claim positive same-tenant behavior or full FR29 closure."
}