Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Provide explicit configuration, discovery, and full runtime assemblies. The default profile supports in-memory execution from installed Python, TypeScript, and Rust packages.
- Add the pure TypeScript Prometheus text renderer and host-owned subscriber factories for configured event delivery.
- **Protocol 2.0.0 draft revision 2.** Add opt-in policy evaluation after input validation. The enabled pipeline combines approval requirements at one gate, binds approval to the selected module version and effective arguments, and enforces the gate before ordinary and streaming execution. Final-scope pending approvals require an explicitly compatible scoped handler.
- **Protocol 2.0.0 draft revision 3.** Add caller-scoped capability summaries and full-schema lookup using silent ACL visibility. Add the read-only `system.manifest.search` module with opaque cursors bound to the original requester.

### Changed

Expand Down
1 change: 1 addition & 0 deletions conformance/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ declared extension. Adapter wire projections are verified in Surfaces.
| `approval_gate.json` | A05 | Approval gate Step 5: explicit compatibility policy, result-status outcomes, and scoped resumption |
| `core_profile_governance.json` | §7.4, §7.9 | Core Profile defaults and explicit overrides through public preflight and execution, including an injected Executor |
| `post_validation_policy.json` | §7.4.1 | Opt-in policy evaluation, validated input approval binding, preflight, scoped resumption and zero stream starts on rejection |
| `capability_discovery.json` | §6.10 | Silent ACL decisions, hidden and conditional capabilities, approval hints, and caller-scoped schema projection |
| `approval_request_fields.json` | D-03 | `ApprovalRequest` carries `caller_id` (null for a top-level call) and `action` (= `module_id`) — fields the Contract text already required and no SDK's `ApprovalRequest` carried |
| `preflight_disclosure.json` | §12.8.5.1 | `Executor.validate()` withholds module-level introspection from a caller the ACL denied: no `module_preflight` / `module_preview` check, empty `predicted_changes`, and the hooks themselves not invoked. Module lookup is Step 3 and the ACL check is Step 4, so all three SDKs gated these hooks on "lookup succeeded" alone and ran module-authored code for a denied caller. Scoped to AUTHORIZATION: a failed `schema` check does **not** suppress introspection. Drivers MUST run the real `validate()` against a real Registry and ACL, and MUST observe hook invocation from inside the hook bodies — see `driver_contract` |
| `middleware_on_error_recovery.json` | A11 | After-middleware error recovery: first-dict-wins, null passthrough, success non-override |
Expand Down
2 changes: 1 addition & 1 deletion conformance/check_config_key_consumers.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ def _health_enabled() -> str | None:

@probe("sys_modules.manifest.enabled")
def _manifest_enabled() -> str | None:
return _group_probe("manifest", {"system.manifest.module", "system.manifest.full"})
return _group_probe("manifest", {"system.manifest.module", "system.manifest.full", "system.manifest.search"})


@probe("sys_modules.usage.enabled")
Expand Down
11 changes: 11 additions & 0 deletions conformance/decision_coverage.json
Original file line number Diff line number Diff line change
Expand Up @@ -1065,6 +1065,17 @@
"module_lifecycle.json#module_lifecycle.phase_b.approval_denied_preserves_generation"
],
"discriminates": "Requires a drain signal and native stream completion before state capture, bars calls during recovery and replacement, distinguishes retention from compensation and an empty selector match, limits forced cancellation to the retiring invocation, correlates the shutdown event with its operation, and preserves callable state without lifecycle events on approval denial."
},
"D-154": {
"title": "capability discovery proves ACL visibility",
"kind": "behavioural",
"cases": [
"capability_discovery.json#possible_deny_prevents_disclosure",
"capability_discovery.json#possible_approval_does_not_prevent_proven_visibility",
"capability_discovery.json#authenticated_role_grant",
"capability_discovery.json#prospective_nested_context_depth"
],
"discriminates": "Rejects disclosure through an unresolved deny or missing role, preserves a valid conditional approval hint without execution, and checks the prospective target caller frame."
}
}
}
Loading
Loading