Skip to content

PLAT-1532: Extract trust boundary trust level - #65

Merged
kreneskyp merged 7 commits into
mainfrom
plat-1532-security
Nov 16, 2026
Merged

kreneskyp merged 7 commits into
mainfrom
plat-1532-security

Conversation

@kreneskyp

@kreneskyp kreneskyp commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Require trust_level in trust_boundary frontmatter and extract it into the typed record.
  • Remove the unused crosses key from TrustBoundary and the FR-004 key inventory while retaining the trust_level property-row rule.
  • Add FR-024, update the boundary skeleton and schema tests, and cover missing, invalid, extracted and retired-key cases.

The companion architecture change is PLAT-1532 PR #54; it consumes the extracted key in quire relations --json.

Focused verification

  • make schemas: generated 56 schemas.
  • make schemas-check: 56 schemas match.
  • Focused trust-boundary tests: 5 passed.
  • Ruff and Black checks on the changed Python tests passed.
  • quire validate --strict for FR-004 and FR-024 passed with Quire CLI 0.46.0 / engine 0.61.0.

Review round 1 fixes

  • Generalized tests/test_regulated_categories.py::_extract for selectable object kind and bundle; the trust-boundary tests now reuse it.
  • Removed the circular FR-024 dependency on architecture FR-014. FR-024 now documents that architecture owns crossing links.
  • Added reviewer SR records to reviews/.
  • Focused checks: 30 passed; Ruff passed; Black left both touched test files unchanged.

Final aggregate gate

  • poetry run make test lint at final head be5b71355ad9f731ad5a2862a1d6e66e6c7561d8: 378 passed, 1 failed, 1 deselected, 5 xfailed. The sole failure is test_control_mitigating_an_asset_is_a_disallowed_edge_target, which expects the old wording (object type 'asset'); Quire 0.46.0 reports target type 'asset'.
  • Reproduced the identical failure on clean spec-objects-security main at dae94f8; this is a moving-main red.
  • poetry run make lint: Ruff and Black passed; all 56 schema outputs match.

@kreneskyp
kreneskyp requested a review from a team as a code owner November 16, 2026 01:44
@kreneskyp
kreneskyp merged commit 8765b73 into main Nov 16, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant