Skip to content

Clarify CATES assurance boundaries and add optional runtime evidence - #41

Merged
Todd Toler (msfttoler) merged 1 commit into
mainfrom
msfttoler/assurance-boundaries
Nov 10, 2026
Merged

Todd Toler (msfttoler) merged 1 commit into
mainfrom
msfttoler/assurance-boundaries

Conversation

@msfttoler

Copy link
Copy Markdown
Collaborator

Description

Implement the three requested assurance improvements without changing the existing rules, score calculations, thresholds, conformance predicates or gates:

  • Make static scope, policy exclusions, unassessed surfaces and critical findings prominent across CLI, JSON, SARIF and dashboard reporting—even when the numerical grade is A.
  • Replace unsupported behavioral/security/savings claims with bounded configuration-text claims. SEC004 remains a legacy wording criterion, not an access-control boundary.
  • Add optional, strictly validated caller-reported runtime records for effective configuration, controlled permission allow/deny probes, task acceptance and before/after cost per accepted task. Wire the library, CLI, API and dashboard; never execute probes or fetch references, and never let submitted evidence change scores or gates.

Includes documentation and an explicitly unexecuted example template.

Type of change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing behavior to change)
  • Documentation only
  • Refactor / internal cleanup

Checklist

  • I have read CONTRIBUTING.md
  • npm test passes locally
  • npm run build passes locally
  • I added/updated tests for my change
  • I updated documentation where relevant
  • My commits follow Conventional Commits
  • No secrets or credentials are included in this PR
  • npm run verify passes locally (or unverified checks are explained below)

Notes for reviewers

Compatibility: Numeric scoring and gates are unchanged. Existing savings keys and optimizer lossless/functionPreserved labels remain, with explicitly bounded semantics. Intentional behavioral correction: guarantee.noLossOfFunction now returns false rather than asserting unverified behavioral equivalence. Added textPreservationChecksPassed and behaviorPreservation: "not-assessed". Consumers relying on the old guarantee must migrate; see docs/RUNTIME-EVIDENCE.md.

Evidence: Full npm run verify passed: runtime audit reported zero vulnerabilities, 503 tests passed, type checks, coverage gates, both builds and installed-package smoke passed. Populated dashboard tested at 375/768/1280/1440px with actual evidence uploads, failed probes, descriptive outcome deltas, invalid/oversized input, reset behavior, keyboard focus and font/layout checks. The focus probe initially produced pointer-mode false positives; keyboard-mode verification passed without suppressing checks.

Limits: Runtime records are assertions from callers, not independently verified evidence, certification or runtime enforcement. Provenance, freshness, revision correspondence, task comparability and artifact contents require independent checks. Failed or missing runtime checks are displayed but do not alter static gates. No deployment, publication or merge is requested by this PR.

External security notice: GitHub reported existing default-branch Dependabot alerts during push (2 high, 6 moderate, 1 low). Those are not resolved or dismissed by this PR; the passing local runtime audit covers production dependencies only.

Rollback: Revert this commit to remove the optional record channel and reporting changes. No persisted data migrations or infrastructure changes.

Preserve scoring and gates while surfacing assessment boundaries, critical findings and policy exclusions. Replace behavioral guarantees with bounded text-check claims and add optional caller-reported runtime evidence across CLI, API and dashboard.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@msfttoler
Todd Toler (msfttoler) merged commit 779ad38 into main Nov 10, 2026
7 checks passed
@msfttoler
Todd Toler (msfttoler) deleted the msfttoler/assurance-boundaries branch December 3, 2026 16:59
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