mandate-planner
--- name: mandate-planner description: Validate a proposed agency charter against an explicit authority grant before any agency.open run is issued. runx: category: agency ---
You’re reading version sha-ad6f8792eada. Go to the current version
Overview
In the manual
Runner
default
Declared by its execution profile. Read the profile
SKILL.md
name: mandate-planner description: Validate a proposed agency charter against an explicit authority grant before any agency.open run is issued. runx: category: agency
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-ad6f8792eada, shown as its exact bytes.
| Runner |
|
|---|---|
| Profile digest | sha256:bf10ea1efd8c50f584a4070686d65150286a1f07be0845933fde9db33b4708d3 |
skill: mandate-planner
version: 0.1.0
catalog:
kind: skill
audience: public
visibility: public
role: canonical
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.
The latest recorded test covers an earlier version, sha-49dad3a1a516. It does not establish a result for this version.
Test result
| Harness result | An earlier version was tested |
|---|---|
| Tested version | sha-49dad3a1a516Not this page’s version, sha-ad6f8792eada |
| Recorded result | 2 checks passed · 0 failed |
| Result source | Reported by the publisher (runx_registry_publish) |
| Suite | runx-harness |
| Test recorded | |
| Declared cases | 2 |
Package identity
| Published revision | sha-ad6f8792eada |
|---|---|
| Content digest | sha256:ad6f8792eadabfb888ffc23f26b7b6b85f7c586f66fbab160b2f3d0d8f937371 |
| SKILL.md digest | sha256:ace5133f4490218b065610f701911553d0034a0f9909a021407a9376b6ea1999 |
| Execution profile digest | sha256:bf10ea1efd8c50f584a4070686d65150286a1f07be0845933fde9db33b4708d3 |
| 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-49dad3a1a516Content digest sha256:49dad3a1a516f33b58881c3d035a3723e6ef229470dc8cc2c7d44321dfe6b911sha-62dc0ab9fde5Content digest sha256:62dc0ab9fde5ebcdc23d6d13ea973684ed66ee8167d4bf1b1d883d710c9c3ccasha-96f20fea489cContent digest sha256:96f20fea489cc4f0978eb223d22174378341059ba272482dc1bd5517fd3807e5sha-ad6f8792eadaViewingContent digest sha256:ad6f8792eadabfb888ffc23f26b7b6b85f7c586f66fbab160b2f3d0d8f937371