@boardstate/server@1.7.0
·
6 commits
to main
since this release
Minor Changes
-
#70
39083ccThanks @100yenadmin! - Trust-tier trio on the §17 capability grant + §18 pending-action spine: per-tool
auto-confirm (#62), grant TTLs (#64), and async pending actions (#63).- Per-tool auto-confirm (#62, SPEC §17.2). A grant gains an optional operator-set
autoConfirm?: string[](⊆ its grantedtools). A non-readOnlytool in the set
executes DIRECTLY on invoke — no park — auditedauto-confirmedand broadcasting
dashboard.action.changed {status:"confirmed", autoConfirmed:true}, still rate-limited.
Operator-only (the approve verb); wiped on every re-pend (manifest drift,replace/import
surface mutation,tool_searchrequest, TTL expiry, revoke). - Grant TTLs (#64, SPEC §17). A grant gains an optional
expiresAt?: ISO-8601,
operator-set at approve time and required future-dated. After expiry the grant re-pends to
requested(tools drop,autoConfirmclears) — swept ON READ (fail-closed at every
reader incl. the confirm seam: park-then-expire-then-confirm is refused) plus a coarse host
timer. The clock is injectable. - Async pending actions (#63, SPEC §18.4). New
asyncActionsinstall option (default
false, blocking path byte-identical): an agent-invoked mutation returns a framed
{parked:true, id, expiresAt}immediately and the turn ends. Settlements are delivered via
a newonActionSettled(record, result)engine hook;@boardstate/agentadds an opt-in
createActionSettlementWakethat enqueues ONE follow-up turn per settlement (framed
untrusted, no recursive cascade). - Approvals widget (#62/#64). Per-tool auto-confirm toggles + a TTL field on capability
rows, a live "expires in" countdown, and renew/revoke on granted-grant management rows.
- Per-tool auto-confirm (#62, SPEC §17.2). A grant gains an optional operator-set
Patch Changes
- Updated dependencies [
39083cc]:- @boardstate/schema@1.7.0
- @boardstate/core@1.7.0