Mandate planner
Validate a proposed agency charter against an explicit authority grant before any agency.open run is issued.
Overview
Validate a proposed agency charter against the authority an operator actually
holds. This skill is a read-only judgment step. It never opens an agency case,
never mints authority, never stores state, and never calls agency.open.
Use it when an operator or downstream driver has:
- an
objective - a
proposed_chartercontaining candidate roles, requested limits, and a measurable done-check - an
authority_grantcontaining granted roles, spend cap, and turn cap
The skill emits an eligible decision plus a bounded recommended_charter only
when every requested role and limit fits inside the grant. Ambiguous,
over-limit, or under-specified charters stop for the human approval lane.
In the manual
Runner
default
Declared by its execution profile. Read the profile
SKILL.md
Mandate Planner
Validate a proposed agency charter against the authority an operator actually
holds. This skill is a read-only judgment step. It never opens an agency case,
never mints authority, never stores state, and never calls agency.open.
Use it when an operator or downstream driver has:
- an
objective - a
proposed_chartercontaining candidate roles, requested limits, and a measurable done-check - an
authority_grantcontaining granted roles, spend cap, and turn cap
The skill emits an eligible decision plus a bounded recommended_charter only
when every requested role and limit fits inside the grant. Ambiguous,
over-limit, or under-specified charters stop for the human approval lane.
Inputs
objective is a short string naming the work the charter is meant to govern.
proposed_charter must contain:
candidate_roster: array of{ role, skill, scope }requested_limits:{ max_turns, spend }done_check: measurable completion predicate
authority_grant must contain:
granted_spendgranted_rolesmax_turns
Output
When eligible, emit:
decision.eligible: truedecision.reasonrecommended_charter.scopesrecommended_charter.spendrecommended_charter.max_turnsrecommended_charter.counterparty- evidence tying every roster role and every limit back to the grant
When refused, emit:
decision.eligible: falsedecision.route: needs_agentdecision.reason- no
recommended_charter
Guardrails
- Refuse roster roles not present in
authority_grant.granted_roles. - Refuse requested spend above
authority_grant.granted_spend. - Refuse requested turns above
authority_grant.max_turns. - Refuse missing or non-measurable done-checks.
- Never invent a role, roster member, spend cap, turn cap, counterparty, or done-check.
- Treat
agency.openas a downstream dispatch-by-naming step. This skill only emits data for a separate governed run.
Verification
A reviewer should be able to inspect the returned decision and see:
- each roster role is copied from
candidate_roster - each role is present in
authority_grant.granted_roles - spend and turn limits are at or under the grant
- refused charters name the exact failing constraint
- no effectful agency action occurred
Published execution profile
The execution profile published with sha-49dad3a1a516, shown as its exact bytes.
| Runner |
|
|---|---|
| Profile digest | sha256:3541c1b25f0e27f79c4e561c483c1e164983fe1ed15bff01148972a112e87bb0 |
skill: mandate-planner
version: 0.1.1
catalog:
kind: skill
audience: public
visibility: public
role: canonical
category: ops
runners:
default:
default: true
inputs:
objective:
type: string
required: true
proposed_charter:
type: json
required: true
authority_grant:
type: json
required: true
steps:
- id: default
tool:
command: node
args:
- run.mjs
timeout_seconds: 30
inputs:
objective: $input.objective
proposed_charter: $input.proposed_charter
authority_grant: $input.authority_grant
harness:
cases:
- name: in-grant-charter-produces-recommendation
runner: default
inputs:
objective: Open a bounded docs-polish agency case for a public README update.
proposed_charter:
candidate_roster:
- role: docs
skill: issue-to-pr
scope: Update one README section and one docs page.
- role: reviewer
skill: pr-review-note
scope: Review the proposed documentation diff before merge.
requested_limits:
max_turns: 8
spend: 40
done_check: Tests pass and the documentation PR is reviewed with a sealed receipt.
counterparty: docs-maintainer
authority_grant:
granted_spend: 50
granted_roles:
- docs
- reviewer
max_turns: 10
counterparty: docs-maintainer
expect:
status: sealed
receipt:
schema: runx.receipt.v1
operator_journeys:
- mode: standalone
confusors:
- work-plan
- purchase-approval
request: Plan the spending mandate this task needs.
expected_outcome: Return a bounded mandate plan for approval, granting nothing.
- mode: composed
request: Continue this mandate-planner work from evidence already gathered upstream.
expected_outcome: Return a bounded mandate plan for approval, granting nothing.
prior_evidence:
- The task and spending policy already supplied.
must_not_repeat:
- Do not grant the mandate.
- name: outside-role-escalates-to-human
runner: default
inputs:
objective: Open an agency case that tries to deploy and spend beyond the grant.
proposed_charter:
candidate_roster:
- role: deployer
skill: production-deploy
scope: Deploy the service after changing billing code.
requested_limits:
max_turns: 12
spend: 90
done_check: deploy when it looks good
authority_grant:
granted_spend: 25
granted_roles:
- docs
- reviewer
max_turns: 6
expect:
status: failure
receipt:
schema: runx.receipt.v1
Published package and test evidence.
This exact version passed its recorded harness run: 2 checks passed · 0 failed.
Test result
| Harness result | Passed |
|---|---|
| Tested version | sha-49dad3a1a516 |
| Recorded result | 2 checks passed · 0 failed |
| Result source | Reported by the publisher (runx_registry_publish) |
| Suite | runx-harness |
| Test recorded | |
| Declared cases | 2 |
| Test record | Open the recorded run |
Inspect receipt references
sha256:95b38f2ffa56bdd5bde7316ea7064d138893bda5e5ac797c848c0b48d9f77ff7sha256:02b04ee584f6eee68ba998b2821eb741c35cc867a8264e5c98c3ad259df8848cPackage identity
| Published revision | sha-49dad3a1a516 |
|---|---|
| Content digest | sha256:49dad3a1a516f33b58881c3d035a3723e6ef229470dc8cc2c7d44321dfe6b911 |
| SKILL.md digest | sha256:804522f8c6f79eaeb21a75d76c321d5c4368a53393c42338826a2f8419c92642 |
| Execution profile digest | sha256:3541c1b25f0e27f79c4e561c483c1e164983fe1ed15bff01148972a112e87bb0 |
| Publisher identity | Unverified publisher · Liyitong. |
| Trust tier | CommunityPublished through the registry without publisher verification. This tier is not a code assessment. |
| Attestations |
|
| Source provenance | Not published with this version |
Version history
sha-49dad3a1a516ViewingContent digest sha256:49dad3a1a516f33b58881c3d035a3723e6ef229470dc8cc2c7d44321dfe6b911sha-62dc0ab9fde5Content digest sha256:62dc0ab9fde5ebcdc23d6d13ea973684ed66ee8167d4bf1b1d883d710c9c3ccasha-96f20fea489cContent digest sha256:96f20fea489cc4f0978eb223d22174378341059ba272482dc1bd5517fd3807e5sha-ad6f8792eadaContent digest sha256:ad6f8792eadabfb888ffc23f26b7b6b85f7c586f66fbab160b2f3d0d8f937371