1.9 KiB
1.9 KiB
Feature API authority separation is complete and merged.
Implementation:
4fc361f refactor: name feature host authorities explicitly- merge commit:
b46ea65 merge: clarify feature host authorities
Summary:
- Renamed the generic feature authority API surface to explicit host-authority terminology:
AuthorityRequest->HostAuthorityRequestAuthorityGrantSet->HostAuthorityGrantSetAuthorityDenial->HostAuthorityDenialrequested_authorities->requested_host_authoritiesrequired_authorities->required_host_authoritiesgranted_authorities->host_authority_grantsgrants()->host_authority_grants()FeatureInstallError::AuthorityDenied->HostAuthorityDenied
- Preserved descriptor-first validation, duplicate tool rejection, undeclared contribution rejection, missing host-authority install failure, and built-in Task feature behavior.
- Added/updated tests/comments to make contribution declarations separate from host authority grants.
- Did not implement Ticket tools, external plugin loading, approval/resume protocol, MCP, WASM/sandbox runtime, feature crate extraction, Hook behavior changes, or Task behavior changes.
Review:
- External sibling reviewer approved with no blockers and no required non-blockers.
- Residual note:
HostAuthorityGrantSet::grant_all(&descriptor.requested_host_authorities)remains the existing builtin-only scaffold, not a real external-plugin approval resolver. This is unchanged and remains future work.
Post-merge validation passed:
cargo test -p pod feature --libcargo test -p pod task --libcargo test -p pod --libcargo test -p llm-worker --libcargo fmt --checkgit diff --check./tickets.sh doctorcargo check --workspace --all-targetsnix build .#yoi --no-link
This clears the API naming prerequisite for ticket-built-in-feature-tools.