Skip to content

Release setup 2026-11-18.1: honest trusted_facts provenance - #9

Merged
sftimeless merged 2 commits into
mainfrom
fix/policy-field-provenance-drift
Nov 19, 2026
Merged

sftimeless merged 2 commits into
mainfrom
fix/policy-field-provenance-drift

Conversation

@sftimeless

@sftimeless sftimeless commented Nov 19, 2026 •

Copy link
Copy Markdown
Member

Summary

Keel's policy-authoring catalog labels action.attributes.trusted_facts.tool_name, .environment and .max_uses as caller_asserted. This bundle still published them as connector_asserted, a stronger trust label than the backend gives.

  • keel-policy/reference/fields.md and field-provenance.json: the three fields are now caller_asserted.
  • keel-policy/reference/fields.md and keel-policy/SKILL.md: state that "action.attributes.trusted_facts.* is caller-supplied. Do not use these fields as evidence to authorize an action." They also clarify that Keel refuses allow/deny rules only on agent-identity claims (subject.*, *.agent_id, *.agent_name). A rule on these paths is accepted and can be satisfied by the caller, so the paths are listed only so existing rules can be recognized and corrected.
  • tools/public_surface.json: adjudication rationales say caller-asserted.
  • keel-policy/tests/test_validate_enforceability_report.py: pins that the legacy path can't be marked trusted, and keeps the connector-asserted rule covered.
  • SOURCE.json, scripts/check_release_bundle.py, SHA256SUMS: release 2026-11-18.1 with the new product digest.

No new fields are published.

Test plan

  • python scripts/check_release_bundle.py (52 allowlisted files)
  • python scripts/check_execute_contract.py
  • setup, policy and shared unit suites
  • Product files match their reviewed source byte-for-byte

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Documentation
    • Clarified that several policy fields are caller-asserted and should not be treated as trustworthy evidence when authorizing actions.
    • Updated guidance to distinguish fields Keel rejects in allow/deny rules from fields it accepts but that may be supplied by callers.
    • Added guidance on verified tool names and max_uses enforcement, including recommendations for replacing grants that rely on caller-asserted values.

sftimeless and others added 2 commits November 18, 2026 17:46
The backend catalog now labels action.attributes.trusted_facts.{tool_name,
environment,max_uses} caller_asserted; the published bundle still said
connector_asserted. Mirrors the reviewed product files:
- keel-policy/reference/fields.md and field-provenance.json relabel the three
  fields caller_asserted, with a footnote on why.
- keel-policy/SKILL.md stops calling trusted_facts.tool_name connector_asserted.
- tools/public_surface.json rewrites their adjudication rationales.
- keel-policy/tests/test_validate_enforceability_report.py pins both the
  caller-asserted legacy path and the connector-asserted rule.

SOURCE.json, scripts/check_release_bundle.py and SHA256SUMS move to release
2026-11-18.1 with the new product digest.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Keel's allow/deny identity gate refuses only agent-identity claims
(subject.*, *.agent_id, *.agent_name). It accepts rules on every other
caller_asserted field, and the backend's own regression test shows a
caller-written action.attributes.trusted_facts value satisfying an allow
rule. The old wording ("Keel rejects allow/deny rules that gate on spoofable
identity fields") could read as covering these paths.

fields.md and SKILL.md now say: "action.attributes.trusted_facts.* is
caller-supplied. Do not use these fields as evidence to authorize an action."
They also say the validator does not refuse such rules, and that the three
published paths are listed only so existing rules can be recognized and
corrected. The 45 newer fields stay PENDING.

SOURCE.json, check_release_bundle.py and SHA256SUMS carry the new product digest (release 2026-11-18.1, still unpublished).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The change reclassifies three action.attributes.trusted_facts fields as caller-asserted, updates policy guidance and validation tests, and refreshes release metadata and recorded digests.

Changes: Trusted-facts provenance

Layer / File(s) Summary
Provenance policy and validation
keel-policy/reference/field-provenance.json, keel-policy/SKILL.md, keel-policy/reference/fields.md, keel-policy/tests/test_validate_enforceability_report.py, tools/public_surface.json
The three trusted-facts fields are classified as caller-asserted. Guidance describes their limits as authorization evidence and identifies verified values for the documented cases. Tests check the caller-asserted classification and reject marking the field as trusted.
Release metadata and digests
SOURCE.json, scripts/check_release_bundle.py, SHA256SUMS
The public release version and product-source digest are updated. SHA256SUMS records the updated digests for the changed release artifacts.

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Bug fix

Merge Risk: Minimal · up to 894c7

This release corrects provenance labels and guidance for trusted-facts fields so they are no longer described as connector-verified. No concrete merge-blocking risk was found.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title "Release setup 2026-11-18.1: honest trusted_facts provenance" matches the main change. The PR relabels the provenance of the action.attributes.trusted_facts.tool_name, .environment, and .max…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title "Release setup 2026-11-18.1: honest trusted_facts provenance" matches the main change. The PR relabels the provenance of the action.attributes.trusted_facts.tool_name, .environment, and .max_uses fields from connector_asserted to caller_asserted, and updates the policy guidance to match. The release version bump to 2026-11-18.1 is also part of the change, so the title names both the release setup and the provenance fix. It is specific and does not use vague terms.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 688559b5-023f-41c0-901b-874f56cd9f3e
Commits

Reviewing files that changed from the base of the PR and between ae80176 and 894c77a.

Files selected for processing: 8

  • SHA256SUMS
  • SOURCE.json
  • keel-policy/SKILL.md
  • keel-policy/reference/field-provenance.json
  • keel-policy/reference/fields.md
  • keel-policy/tests/test_validate_enforceability_report.py
  • scripts/check_release_bundle.py
  • tools/public_surface.json

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

@sftimeless
sftimeless merged commit 7fdf43c into main Nov 19, 2026
2 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