From 8edf408cddbbf1be194a16491311461b17d00768 Mon Sep 17 00:00:00 2001 From: sftimeless <37782990+sftimeless@users.noreply.github.com> Date: Wed, 18 Nov 2026 17:46:21 -0800 Subject: [PATCH 1/2] Release setup 2026-11-18.1: honest trusted_facts provenance 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 --- SHA256SUMS | 14 +++++++------- SOURCE.json | 4 ++-- keel-policy/SKILL.md | 5 +++-- keel-policy/reference/field-provenance.json | 6 +++--- keel-policy/reference/fields.md | 18 +++++++++++++----- .../test_validate_enforceability_report.py | 17 +++++++++++++++-- scripts/check_release_bundle.py | 4 ++-- tools/public_surface.json | 6 +++--- 8 files changed, 48 insertions(+), 26 deletions(-) diff --git a/SHA256SUMS b/SHA256SUMS index fecc954..5f72fcf 100644 --- a/SHA256SUMS +++ b/SHA256SUMS @@ -2,20 +2,20 @@ b97a81728fc0d91f066bb92f27695c81f9bb25bd88d93bf470230132f33d0799 .github/workfl b63eff93f485d563b24680091496a39b3a62ecf3c8bb229cfc4eecd80c7e2262 .gitignore 3c0871d9b30c3e9647426b5b756be7dbfc5eee8728e6f0e0c371385de7c5f8f7 LICENSE 89e7fa8c08b6ada7931706085c33924173454fc51b866cb6726f8976d030e715 README.md -dcfc1a88d05edba6fffa7fe810509943cae8cd756e3176404d2b33088ee282a1 SOURCE.json -227c399c3ab3a7317982f709a151efd7705c4d30ddc96fdf31c62302f0faccd3 keel-policy/SKILL.md +bc26176963d0ab82f9ce41469479a22c3cec4ea0262c3cf66d4e552040901c9a SOURCE.json +4256afe32f673c58bec5e693ed22dc37a447660a2d96fea6eac9745d5e050259 keel-policy/SKILL.md 6b449605b6b4fe6eb84f5b12befb90a57b7841d2973bbf9341cf40866e7dd81a keel-policy/examples/README.md 9a13b533704c1a37734bd6c28fc202c7acdaa8335773d55790dac50a693f8b2b keel-policy/examples/stripe-refund-approval-enterprise.json 2a52514e8db0901ab73e59b924f195008541d0069ebad9b514bd373cb905e2d2 keel-policy/examples/stripe-refund-approval.json 49f43e551f32e484e263fa026dfd4fde5a8b50cd462f0f68e06ae371380f3b24 keel-policy/reference/enforceability-report.schema.json -91fa5bbc7696846ec0d0039a88585ac99852b50a73613f92fea552f6931e7c44 keel-policy/reference/field-provenance.json -54416bf9c9af8f8fb75a9e883aa27aa62ecbcdffc2b1b6698d5fa1479fd6ddda keel-policy/reference/fields.md +8e818177237d6d99d5dd3867b60585160b3add4d17699c86c948b902328f9171 keel-policy/reference/field-provenance.json +12d88294db1d781bc716782060d41ceef14a372706c7aba25c716b64497afd25 keel-policy/reference/fields.md 9d86eeb4fecf6db831856c0b77b9e83caeb161ec82d046eaf4fc2f8e73d96f27 keel-policy/reference/policy-document.schema.json 7d662cffa24744af7a26f62d813127b4bc0a44ff62f725c883054165ddec3272 keel-policy/scripts/consume_authoring_context.py d8a8ad9886f43efb6b5b7065ef167150b2c8b03f640cc8647f52680ae211e2eb keel-policy/scripts/validate_enforceability_report.py ff71e2933eb4ab5be18d5fa41eb324a376ffd460c39157ecd6db39bfc016ee44 keel-policy/tests/test_authoring_context_consumption.py 820069a6ce02f74dccc4f57a5788359b1377520330d00ba88471d60fec901f17 keel-policy/tests/test_basic_profile_fields.py -7c061516afc0a8618bf9f3b02bdd907678447047c268f82a2d1579cb3d2bd84c keel-policy/tests/test_validate_enforceability_report.py +6bb3cfa21d826f95d790622b1dbee599c33ce262e2d5b41d2e9594b1ea830f0a keel-policy/tests/test_validate_enforceability_report.py 5aba155e2711a4bfd0241ce41ca97982effe53473764e669bcdfe9ea47aed4a7 keel-setup/SKILL.md 2b9c2490e921e83b83372a09e422a30f0f7ee338a2809b8e07edbd381d9eb650 keel-setup/reference/coverage.schema.json 70a69dcab29f61aaa3f96de5f65854fca63c4549ddc20d84ee00e102fc68c691 keel-setup/reference/integration_profiles.v1.json @@ -38,7 +38,7 @@ af96ae9a32e470a2c1390ec452c13ae1c3657d7ed54c99925b0a57501503894b keel-setup/tes c8006372327167f6317d7ae41d79da3c2dd45a7510f1cdc544616facd27d9d83 keel-setup/tests/test_setup_state.py ea797a44c033a6ce519b82595c858cdb0879868854b949226792f3bffe2d4ba3 keel-setup/tests/test_verify_execute.py ba172f0dcadea1b19f3279e3c3151dabc1719cdc65ddce77eb5c74550c101ce0 scripts/check_execute_contract.py -fd03c6d4e7fcf00ce8ae67429d00578b66e17432f313076f7122051971ca559c scripts/check_release_bundle.py +faa4e15d3b85d677effadb271b5e34c02f1bdc537533dc2d9d7013b92bc53b78 scripts/check_release_bundle.py e0195765e2b9a31938a455fc81f93b02127f7b769948607b19a821f2bd82b2d1 shared/CONSTITUTION.md 6510e9f92c2a8fa3c40a2ca99eca06e2acaad146101c9526e06bb53f18085421 shared/feedback-report.schema.json 67ef5250861a9f1f3f2c3671205adc12dfa2e049ffd68449b78337d2ac490727 shared/feedback-report.template.md @@ -48,4 +48,4 @@ e64ed436bc35d73cdad6366f2dd3f01530426cb529237d2990be07171c93b08c shared/scripts 4cbb3be5a54865a85549400f7c57610a7284623899674c0902354b870b1980ad shared/scripts/test_schema_validation.py 8f7c8bfd8ec6bc7faab7ea1341365ba67f31846232a2c3acac5f7c4bdaa3c411 shared/scripts/test_validate_feedback_report.py 696a0c609ef7895cfe3737942dc4e32feeeb870bbd23689fbeee965752498587 shared/scripts/validate_feedback_report.py -2d92172fe932ee0a39c7fc97dbd15f579fb21aa93adef40f53899472781481b3 tools/public_surface.json +46a7d399e61d2aaa135d030455a75b704e9cbe028e604373c3ab5d6918876372 tools/public_surface.json diff --git a/SOURCE.json b/SOURCE.json index 829aa74..47c0ab4 100644 --- a/SOURCE.json +++ b/SOURCE.json @@ -1,7 +1,7 @@ { "bundle_schema_version": "keel.public_setup_bundle.v1", - "public_release_version": "2026-11-07.1", - "product_source_sha256": "7481bc4de5400d2dd00af9cbe6c449d090dac7806a90fdb7d144e65195bdf293", + "public_release_version": "2026-11-18.1", + "product_source_sha256": "ac36f3aeed400874188ab543af10b6f472388eff1f78f499dacde02511fb42b2", "included_roots": [ "keel-policy", "keel-setup", diff --git a/keel-policy/SKILL.md b/keel-policy/SKILL.md index 6dc08b7..6d87cc5 100644 --- a/keel-policy/SKILL.md +++ b/keel-policy/SKILL.md @@ -575,8 +575,9 @@ Do not use `action.name` as the identity of an MCP tool. It is published as `cal exact MCP tool match, use the server-derived field `context._keel.action_envelope.connector.tool_name.value`, usually scoped with `context._keel.action_envelope.connector.identity.value`. Do not substitute -`action.attributes.trusted_facts.tool_name`; it is `connector_asserted`, and publication status must -always be checked against the pinned `tools/public_surface.json`. +`action.attributes.trusted_facts.tool_name`; despite its name it is `caller_asserted` (the caller +writes it on the public Permit route), and publication status must always be checked against the +pinned `tools/public_surface.json`. An enforceability report that encounters `action.name` must mark it `untrusted` and name `context._keel.action_envelope.connector.tool_name.value` as the replacement for the managed MCP diff --git a/keel-policy/reference/field-provenance.json b/keel-policy/reference/field-provenance.json index eb50a01..4865eae 100644 --- a/keel-policy/reference/field-provenance.json +++ b/keel-policy/reference/field-provenance.json @@ -2,9 +2,9 @@ "schema_version": "1.0", "source": "keel-policy/reference/fields.md at this release", "fields": { - "action.attributes.trusted_facts.environment": "connector_asserted", - "action.attributes.trusted_facts.max_uses": "connector_asserted", - "action.attributes.trusted_facts.tool_name": "connector_asserted", + "action.attributes.trusted_facts.environment": "caller_asserted", + "action.attributes.trusted_facts.max_uses": "caller_asserted", + "action.attributes.trusted_facts.tool_name": "caller_asserted", "action.name": "caller_asserted", "attrs.estimated_input_tokens": "caller_asserted", "attrs.estimated_output_tokens": "caller_asserted", diff --git a/keel-policy/reference/fields.md b/keel-policy/reference/fields.md index 9fc889a..2d8a52f 100644 --- a/keel-policy/reference/fields.md +++ b/keel-policy/reference/fields.md @@ -6,8 +6,10 @@ table — re-apply it if you regenerate. **`CATALOG_VERSION` does not move when a field's provenance does.** Five financial fields were demoted from `keel_derived` to `caller_asserted` under this same version string, and the stale -table below gave no sign of it. Re-check provenance against the published field-provenance map -for your release rather than trusting the version to signal drift. +table below gave no sign of it. The three `action.attributes.trusted_facts.*` fields were later +demoted from `connector_asserted` to `caller_asserted`, again under the same version. Re-check +provenance against the published field-provenance map for your release rather than trusting the +version to signal drift. Use **only** fields marked authorable = yes. Fields with provenance `caller_asserted` are supplied by the caller and are not trustworthy evidence — Keel rejects allow/deny rules that @@ -116,9 +118,9 @@ before relying on it; see *Still moving underneath* above. Provenance `caller_as | field | type | authorable | provenance | |---|---|---|---| -| `action.attributes.trusted_facts.environment` | string | yes | connector_asserted | -| `action.attributes.trusted_facts.max_uses` | integer | yes | connector_asserted | -| `action.attributes.trusted_facts.tool_name` | string | yes | connector_asserted | +| `action.attributes.trusted_facts.environment` § | string | yes | caller_asserted | +| `action.attributes.trusted_facts.max_uses` § | integer | yes | caller_asserted | +| `action.attributes.trusted_facts.tool_name` § | string | yes | caller_asserted | | `action.name` | string | yes | caller_asserted | | `attrs.estimated_input_tokens` | integer | yes | caller_asserted | | `attrs.estimated_output_tokens` | integer | yes | caller_asserted | @@ -181,6 +183,12 @@ Permit payment rail's caller-declared, dispatch-bound amount. Read the server-st `request_bound`, or `unavailable`. None of these values proves provider completion. The flat amount still has no companion `.state`; prefer the envelope pair when an absence guard matters. +§ `action.attributes.trusted_facts.*` is caller-assertable. Keel fills the object on its own +managed MCP path, but on the public Permit route the caller writes it, so a rule on one of these +paths can be satisfied by a request Keel never verified. Never treat them as evidence. For the +exact MCP tool, use `context._keel.action_envelope.connector.tool_name.value`. `max_uses` is +enforced by Keel's dispatch lifecycle from the verified value, not from this path. + `budget_envelope_id` is selected by the caller and enters policy evaluation before Keel resolves and reserves the project-scoped envelope on the allow path. A condition on the ID is not proof that a reservation succeeded. The flat payment currency field remains unpublished: diff --git a/keel-policy/tests/test_validate_enforceability_report.py b/keel-policy/tests/test_validate_enforceability_report.py index c6ba879..430b7eb 100644 --- a/keel-policy/tests/test_validate_enforceability_report.py +++ b/keel-policy/tests/test_validate_enforceability_report.py @@ -184,9 +184,22 @@ def test_caller_asserted_financial_amount_cannot_be_trusted_or_auto_allow(self): self.assertTrue(any("caller_asserted field cannot be trusted" in item for item in failures)) self.assertTrue(any("automatic action uses field" in item for item in failures)) - def test_connector_asserted_value_cannot_be_trusted(self): - candidate = report(field="action.attributes.trusted_facts.max_uses", status="trusted", replacement=None) + def test_legacy_trusted_facts_path_is_caller_asserted_and_cannot_be_trusted(self): + field = "action.attributes.trusted_facts.max_uses" + self.assertEqual(PROVENANCE["fields"][field], "caller_asserted") + candidate = report(field=field, status="trusted", replacement=None) failures = validate(candidate) + self.assertTrue(any("caller_asserted field cannot be trusted" in item for item in failures)) + + def test_connector_asserted_value_cannot_be_trusted(self): + # No connector-asserted field is PUBLIC on this release, so pin the rule + # against a provenance map that labels one public field that way. + field = "action.attributes.trusted_facts.max_uses" + provenance = json.loads(json.dumps(PROVENANCE)) + provenance["fields"][field] = "connector_asserted" + candidate = report(field=field, status="trusted", replacement=None) + candidate["enforceability"][0]["provenance"] = "connector_asserted" + failures = validator.validate(candidate, MANIFEST, provenance, SCHEMA, POLICY_SCHEMA) self.assertTrue(any("connector_asserted field cannot be trusted" in item for item in failures)) def test_automatic_allow_with_empty_enforceability_is_rejected(self): diff --git a/scripts/check_release_bundle.py b/scripts/check_release_bundle.py index f4d78f8..fb123e9 100644 --- a/scripts/check_release_bundle.py +++ b/scripts/check_release_bundle.py @@ -11,8 +11,8 @@ ROOT = Path(__file__).resolve().parents[1] -PUBLIC_RELEASE_VERSION = "2026-11-07.1" -PRODUCT_SOURCE_SHA256 = "7481bc4de5400d2dd00af9cbe6c449d090dac7806a90fdb7d144e65195bdf293" +PUBLIC_RELEASE_VERSION = "2026-11-18.1" +PRODUCT_SOURCE_SHA256 = "ac36f3aeed400874188ab543af10b6f472388eff1f78f499dacde02511fb42b2" PUBLICATION_LAYER_FILES = [ ".github/workflows/ci.yml", ".gitignore", diff --git a/tools/public_surface.json b/tools/public_surface.json index 9547cb7..db4cc78 100644 --- a/tools/public_surface.json +++ b/tools/public_surface.json @@ -89,15 +89,15 @@ "field_adjudications": { "action.attributes.trusted_facts.environment": { "decision": "PUBLIC", - "rationale": "Connector-asserted preflight environment is an authorable exact-match contract." + "rationale": "Caller-asserted preflight environment (the backend catalog demoted it from connector_asserted) stays authorable and is published with its weaker provenance; it is not evidence Keel established the environment." }, "action.attributes.trusted_facts.max_uses": { "decision": "PUBLIC", - "rationale": "Connector-asserted numeric use limit is an authorable preflight contract." + "rationale": "Caller-asserted preflight use limit (the backend catalog demoted it from connector_asserted) stays authorable and is published with its weaker provenance; Keel's dispatch lifecycle enforces the verified value, not this path." }, "action.attributes.trusted_facts.tool_name": { "decision": "PUBLIC", - "rationale": "Connector-asserted preflight tool name is required by the shipped refund policy pattern." + "rationale": "Caller-asserted preflight tool name (the backend catalog demoted it from connector_asserted) stays authorable and is published with its weaker provenance; the shipped refund patterns use context._keel.action_envelope.connector.tool_name.value instead." }, "attrs.estimated_input_tokens": { "decision": "PUBLIC", From 894c77aa62216c0686bd7830aef86f7ab213e18c Mon Sep 17 00:00:00 2001 From: sftimeless <37782990+sftimeless@users.noreply.github.com> Date: Wed, 18 Nov 2026 18:04:28 -0800 Subject: [PATCH 2/2] State plainly that trusted_facts paths are caller-supplied 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 --- SHA256SUMS | 8 ++++---- SOURCE.json | 2 +- keel-policy/SKILL.md | 9 +++++++-- keel-policy/reference/fields.md | 23 ++++++++++++++++------- scripts/check_release_bundle.py | 2 +- 5 files changed, 29 insertions(+), 15 deletions(-) diff --git a/SHA256SUMS b/SHA256SUMS index 5f72fcf..26663fc 100644 --- a/SHA256SUMS +++ b/SHA256SUMS @@ -2,14 +2,14 @@ b97a81728fc0d91f066bb92f27695c81f9bb25bd88d93bf470230132f33d0799 .github/workfl b63eff93f485d563b24680091496a39b3a62ecf3c8bb229cfc4eecd80c7e2262 .gitignore 3c0871d9b30c3e9647426b5b756be7dbfc5eee8728e6f0e0c371385de7c5f8f7 LICENSE 89e7fa8c08b6ada7931706085c33924173454fc51b866cb6726f8976d030e715 README.md -bc26176963d0ab82f9ce41469479a22c3cec4ea0262c3cf66d4e552040901c9a SOURCE.json -4256afe32f673c58bec5e693ed22dc37a447660a2d96fea6eac9745d5e050259 keel-policy/SKILL.md +91509233a45fafff234017cef5be2bdaf429868b5a9b7e8f9caf6950756e4b47 SOURCE.json +d924c42ecc5a084e441bc3450ca815d84ee205e49426ef3988e7c749e7dae78a keel-policy/SKILL.md 6b449605b6b4fe6eb84f5b12befb90a57b7841d2973bbf9341cf40866e7dd81a keel-policy/examples/README.md 9a13b533704c1a37734bd6c28fc202c7acdaa8335773d55790dac50a693f8b2b keel-policy/examples/stripe-refund-approval-enterprise.json 2a52514e8db0901ab73e59b924f195008541d0069ebad9b514bd373cb905e2d2 keel-policy/examples/stripe-refund-approval.json 49f43e551f32e484e263fa026dfd4fde5a8b50cd462f0f68e06ae371380f3b24 keel-policy/reference/enforceability-report.schema.json 8e818177237d6d99d5dd3867b60585160b3add4d17699c86c948b902328f9171 keel-policy/reference/field-provenance.json -12d88294db1d781bc716782060d41ceef14a372706c7aba25c716b64497afd25 keel-policy/reference/fields.md +5526029f8d79d7d2b31daed8ebeeb42942d0a18a0562a4a3789e8c8a7c83b14a keel-policy/reference/fields.md 9d86eeb4fecf6db831856c0b77b9e83caeb161ec82d046eaf4fc2f8e73d96f27 keel-policy/reference/policy-document.schema.json 7d662cffa24744af7a26f62d813127b4bc0a44ff62f725c883054165ddec3272 keel-policy/scripts/consume_authoring_context.py d8a8ad9886f43efb6b5b7065ef167150b2c8b03f640cc8647f52680ae211e2eb keel-policy/scripts/validate_enforceability_report.py @@ -38,7 +38,7 @@ af96ae9a32e470a2c1390ec452c13ae1c3657d7ed54c99925b0a57501503894b keel-setup/tes c8006372327167f6317d7ae41d79da3c2dd45a7510f1cdc544616facd27d9d83 keel-setup/tests/test_setup_state.py ea797a44c033a6ce519b82595c858cdb0879868854b949226792f3bffe2d4ba3 keel-setup/tests/test_verify_execute.py ba172f0dcadea1b19f3279e3c3151dabc1719cdc65ddce77eb5c74550c101ce0 scripts/check_execute_contract.py -faa4e15d3b85d677effadb271b5e34c02f1bdc537533dc2d9d7013b92bc53b78 scripts/check_release_bundle.py +959f57ae981f35d4e4234c5fb087e4de2602f84ddd4ad834feed1a00efe7d1de scripts/check_release_bundle.py e0195765e2b9a31938a455fc81f93b02127f7b769948607b19a821f2bd82b2d1 shared/CONSTITUTION.md 6510e9f92c2a8fa3c40a2ca99eca06e2acaad146101c9526e06bb53f18085421 shared/feedback-report.schema.json 67ef5250861a9f1f3f2c3671205adc12dfa2e049ffd68449b78337d2ac490727 shared/feedback-report.template.md diff --git a/SOURCE.json b/SOURCE.json index 47c0ab4..9c7fc73 100644 --- a/SOURCE.json +++ b/SOURCE.json @@ -1,7 +1,7 @@ { "bundle_schema_version": "keel.public_setup_bundle.v1", "public_release_version": "2026-11-18.1", - "product_source_sha256": "ac36f3aeed400874188ab543af10b6f472388eff1f78f499dacde02511fb42b2", + "product_source_sha256": "adf8f87bfbb3a10b221b5350b40adf6484159b092e7172546924e30de59dab3e", "included_roots": [ "keel-policy", "keel-setup", diff --git a/keel-policy/SKILL.md b/keel-policy/SKILL.md index 6d87cc5..549f90a 100644 --- a/keel-policy/SKILL.md +++ b/keel-policy/SKILL.md @@ -551,8 +551,13 @@ blocked needs an explicit deny. ending in `_usd_micros` are integers. Writing `100` there means one hundredth of a cent. **Only use fields from `reference/fields.md`.** Keel rejects unknown fields. Fields marked -provenance `caller_asserted` are supplied by the caller and are not trustworthy evidence — Keel -refuses allow/deny rules that gate on spoofable identity fields. The +provenance `caller_asserted` are supplied by the caller and are not trustworthy evidence. Keel +refuses allow/deny rules that gate on spoofable agent-identity claims (`subject.*`, +`*.agent_id`, `*.agent_name`) but accepts rules on every other `caller_asserted` field, so a saved +rule is no sign that its field is safe to grant on. +**`action.attributes.trusted_facts.*` is caller-supplied. Do not use these fields as evidence to +authorize an action.** When an existing policy grants on one of them, report it `untrusted` and +propose the server-derived replacement. The `context._keel.action_envelope.*` fields are generally the strongest available, but **the family is not uniformly Keel-established**: its connector, authority and pricing facts are `keel_derived`, while its financial facts are `caller_asserted` because on Keel's canonical diff --git a/keel-policy/reference/fields.md b/keel-policy/reference/fields.md index 2d8a52f..797df96 100644 --- a/keel-policy/reference/fields.md +++ b/keel-policy/reference/fields.md @@ -12,8 +12,14 @@ provenance against the published field-provenance map for your release rather th version to signal drift. Use **only** fields marked authorable = yes. Fields with provenance `caller_asserted` are -supplied by the caller and are not trustworthy evidence — Keel rejects allow/deny rules that -gate on spoofable identity fields. +supplied by the caller and are not trustworthy evidence. Keel rejects allow/deny rules that +gate on spoofable *agent-identity* claims (`subject.*`, `*.agent_id`, `*.agent_name`); it does +**not** reject rules on other `caller_asserted` fields, so a rule on one of them is saved and +can be satisfied by whatever the caller sends. + +**`action.attributes.trusted_facts.*` is caller-supplied. Do not use these fields as evidence to +authorize an action.** They are listed below only so existing rules on them can be recognized +and corrected; see §. `context._keel.action_envelope.*` is generally the strongest family available, but **it is not uniformly Keel-established.** The connector, authority and pricing facts are `keel_derived`. @@ -183,11 +189,14 @@ Permit payment rail's caller-declared, dispatch-bound amount. Read the server-st `request_bound`, or `unavailable`. None of these values proves provider completion. The flat amount still has no companion `.state`; prefer the envelope pair when an absence guard matters. -§ `action.attributes.trusted_facts.*` is caller-assertable. Keel fills the object on its own -managed MCP path, but on the public Permit route the caller writes it, so a rule on one of these -paths can be satisfied by a request Keel never verified. Never treat them as evidence. For the -exact MCP tool, use `context._keel.action_envelope.connector.tool_name.value`. `max_uses` is -enforced by Keel's dispatch lifecycle from the verified value, not from this path. +§ `action.attributes.trusted_facts.*` is caller-supplied. Do not use these fields as evidence to +authorize an action. Keel fills the object on its own managed MCP path, but on the public Permit +route the caller writes it, so an `allow` rule on one of these paths is satisfied by a request +Keel never verified, and Keel's validator does not refuse such a rule. If an existing policy +grants on one of them, replace the condition: for the exact MCP tool, use +`context._keel.action_envelope.connector.tool_name.value`. `max_uses` is enforced by Keel's +dispatch lifecycle from the verified value, not from this path. Other paths under +`action.attributes.trusted_facts` are not published for authoring. `budget_envelope_id` is selected by the caller and enters policy evaluation before Keel resolves and reserves the project-scoped envelope on the allow path. A condition on the ID is diff --git a/scripts/check_release_bundle.py b/scripts/check_release_bundle.py index fb123e9..c291ad8 100644 --- a/scripts/check_release_bundle.py +++ b/scripts/check_release_bundle.py @@ -12,7 +12,7 @@ ROOT = Path(__file__).resolve().parents[1] PUBLIC_RELEASE_VERSION = "2026-11-18.1" -PRODUCT_SOURCE_SHA256 = "ac36f3aeed400874188ab543af10b6f472388eff1f78f499dacde02511fb42b2" +PRODUCT_SOURCE_SHA256 = "adf8f87bfbb3a10b221b5350b40adf6484159b092e7172546924e30de59dab3e" PUBLICATION_LAYER_FILES = [ ".github/workflows/ci.yml", ".gitignore",