Finding
People API and Job Analysis API AuthenticatedPrincipal are tuple subclasses, so direct tuple.__new__(AuthenticatedPrincipal, ...) can bypass the public constructor. The owner contract therefore requires ordinary public principal behavior to revalidate complete trust-bearing raw storage instead of treating construction provenance as authority.
This remains a service-TCB evidence-integrity boundary. It does not claim to constrain arbitrary same-interpreter code that deliberately invokes low-level base primitives; hostile executable code belongs outside the service TCB.
RED → repair chain in #65
Earlier RED/fix pairs established exact UUID/string/frozenset/scope types, subclass sealing, caller-owned UUID detachment, no writable instance slots, strict principal-only equality/inequality, fresh UUID reconstruction, raw tuple-slot revalidation, and guarded index/slice/iteration/list/tuple views.
The #175 refinement is test-first and non-force:
- People RED
5755c4dc5b81b7fc2153922242b637642743f402: malformed exact-class storage must fail through len, membership, count, index, concat/reflected concat, repeat/reflected repeat and rich ordering; structurally valid storage remains tuple-compatible.
- Job Analysis RED
39208dfb108253e21e29bd444dbf44f5da7f8291: mirrors the same contract.
- People fix
e7aff6af7c89ba37ce7960e673a5ba8a1df0643e and Job Analysis fix 43821d812089fa4bc3c228a2f759ce7abe849471 revalidate complete stored principal evidence before those public operations.
Those commits remain unchanged ancestors of current #65 head cf14ca8e06f788d905be59f76a987282c1c24395 on protected develop@ef1b143368cb6249c9520ca8cae10ebe844a5aa1; later #176–#178 change durable Job Analysis command/identity boundaries rather than principal implementation.
Acceptance state
Historical CodeRabbit review of 43821d8120... remains causal predecessor evidence only. Current cf14ca8e... has no qualifying exact-head approval or substantive independent review covering the complete tree.
Exact-head Job-Analysis API Quality run 33791230759 has API contract/100%-coverage 100768049957 and PostgreSQL integration 100768050354, both queued before checkout with runner_id=null, steps=[] and protected-tree ubuntu-latest. Hosted GREEN is not claimed. #161 remains the canonical repository-owned explicit-ubuntu-24.04 prerequisite; its workflow delta must not be copied into this owner branch.
Keep #175 open until exact-head hosted evidence, required current-head review and ordinary protected integration complete. Do not copy this repair into #163/#165 or consume mutable #65 source as a released dependency.
Finding
People API and Job Analysis API
AuthenticatedPrincipalare tuple subclasses, so directtuple.__new__(AuthenticatedPrincipal, ...)can bypass the public constructor. The owner contract therefore requires ordinary public principal behavior to revalidate complete trust-bearing raw storage instead of treating construction provenance as authority.This remains a service-TCB evidence-integrity boundary. It does not claim to constrain arbitrary same-interpreter code that deliberately invokes low-level base primitives; hostile executable code belongs outside the service TCB.
RED → repair chain in #65
Earlier RED/fix pairs established exact UUID/string/frozenset/scope types, subclass sealing, caller-owned UUID detachment, no writable instance slots, strict principal-only equality/inequality, fresh UUID reconstruction, raw tuple-slot revalidation, and guarded index/slice/iteration/list/tuple views.
The #175 refinement is test-first and non-force:
5755c4dc5b81b7fc2153922242b637642743f402: malformed exact-class storage must fail throughlen, membership,count,index, concat/reflected concat, repeat/reflected repeat and rich ordering; structurally valid storage remains tuple-compatible.39208dfb108253e21e29bd444dbf44f5da7f8291: mirrors the same contract.e7aff6af7c89ba37ce7960e673a5ba8a1df0643eand Job Analysis fix43821d812089fa4bc3c228a2f759ce7abe849471revalidate complete stored principal evidence before those public operations.Those commits remain unchanged ancestors of current #65 head
cf14ca8e06f788d905be59f76a987282c1c24395on protecteddevelop@ef1b143368cb6249c9520ca8cae10ebe844a5aa1; later #176–#178 change durable Job Analysis command/identity boundaries rather than principal implementation.Acceptance state
Historical CodeRabbit review of
43821d8120...remains causal predecessor evidence only. Currentcf14ca8e...has no qualifying exact-head approval or substantive independent review covering the complete tree.Exact-head Job-Analysis API Quality run
33791230759has API contract/100%-coverage100768049957and PostgreSQL integration100768050354, both queued before checkout withrunner_id=null,steps=[]and protected-treeubuntu-latest. Hosted GREEN is not claimed. #161 remains the canonical repository-owned explicit-ubuntu-24.04prerequisite; its workflow delta must not be copied into this owner branch.Keep #175 open until exact-head hosted evidence, required current-head review and ordinary protected integration complete. Do not copy this repair into #163/#165 or consume mutable #65 source as a released dependency.