Verify HO-DET-001 runtime truth spine#56
Conversation
|
Human governance review: I reviewed this PR as deterministic validation coverage for the HO-DET-001 Runtime Truth Spine. The validator keeps public runtime status blocked unless required fields and authority gates are satisfied, and AI remains support-only/not authority. Approved for validation enforcement only, not claim promotion. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 352ef8b8a4
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| if missing: | ||
| fail(f"runtime_truth_spine missing truth planes: {missing}") | ||
|
|
||
| require_equal(spine["source_truth"].get("state"), "SOURCE_EXISTS", "source_truth.state") |
There was a problem hiding this comment.
Validate each truth plane object before dereferencing
Guarding only the presence of keys is not enough here: if any runtime_truth_spine plane is present but not a JSON object (for example, a string or list due to an edit/merge error), calls like spine["source_truth"].get(...) raise AttributeError instead of producing a controlled verifier failure. In that case the script stops with a traceback and skips the standardized fail output (PRIVATE_RUNTIME_EVIDENCE_INDEX=fail and boundary status lines), which can break downstream tooling that relies on those deterministic status lines.
Useful? React with 👍 / 👎.
Summary
Adds deterministic validation coverage for HO-DET-001 private runtime evidence index and Runtime Truth Spine v0 boundaries.
Boundary
PUBLIC_RUNTIME_BLOCKED.NOT_PUBLIC_SAFE.Validation
python scripts/verify-ho-det-001-private-runtime-evidence-index.pypython scripts/scan-ho-det-001-claim-boundaries.pypython scripts/verify-ho-det-001-ai-triage-contract.pypython scripts/verify-ho-det-001-result-parity.pypython scripts/verify-proof-record-parity.pypython -m json.tool validation/successor/ho-det-001/private-runtime-evidence-index.jsongit diff --check