TownsifyDocs
Open console
Console page

New mission

New mission records a purpose, root agent, delegation depth, optional external operations, limits and expiry. The initial draft is for internal work and needs no provider connection.

Console address
/townships/:townshipId/work/missions/new
Console section
Township · Work
Reviewed
14 October 2026
On this page
New mission in the Townsify console, shown with illustrative dataOpen full size
Illustrative dataNew mission. Captured from the running console.

Controls and behaviour

The form has separate purpose, operations, limits and review steps. Edit JSON exposes the same contract. Add operation appears when a supported provider connection is available. Saving records a draft or proposed revision rather than starting work.

Access and limits

External calls are refused inside a mission unless its supported capabilities allow them. Internal-only missions have no automatic provider completion criterion. Model spend is checked before a round and metered afterwards, so a running round can exceed the remaining limit.

Field reference

Field or stateValueMeaning
PurposeText, at most 500 charactersRequired. States the work the mission authorises.
Principal modeautonomousActing on behalf of a user's source permissions is not supported by a provider yet.
Root agentExisting agent IDIdentifies the agent that starts bound work. Authorisation checks that it exists.
Delegation depthInteger, 0 to 5Bounds the delegated tree. A child cannot expand the parent's depth.
CapabilitiesList, 0 to 50 entriesEmpty permits classified internal work only. External entries need supported operations and exact resource bounds.
Write dispatchesNon-negative integerShared ceiling across the mission tree. Zero authorises no provider writes.
External costNon-negative integer in centsThe governed pilot currently records zero external operation cost.
Model budgetNon-negative integer in centsChecked before rounds and metered afterwards. A round can overrun the remaining allowance.
ExpiryISO-8601 instantRequired, in the future and within 30 days. Include a timezone.
CompletionOptional listSupported provider effects can end the mission after verification. Empty does not auto-complete internal tasks.

Console addresses and API addresses are different. These endpoints use authenticated console access and server-side authorisation.

POST/api/profiles/{profileId}/missions

Body contains contract and optional parentMissionId. Requires mission.write; saving does not start work.

Need more help?

Open Mysaria from the console header to ask about the page you're on, or send work to an agent in your township.