<?xml version="1.0" encoding="utf-8"?>
<entry xmlns="http://www.w3.org/2005/Atom" xml:base="https://docs.spec-kitty.ai/architecture/mission-type-resolution/">
  <id>https://docs.spec-kitty.ai/architecture/mission-type-resolution/</id>
  <title>Mission-Type Resolution — the doctrine → charter → core seam</title>
  <updated>2026-10-08T00:00:00.000Z</updated>
  <author><name>Spec Kitty</name></author>
  <link rel="alternate" type="text/html" href="https://docs.spec-kitty.ai/architecture/mission-type-resolution/"/>
  <summary>Why per-mission-type behaviour resolves through one doctrine → charter → core seam keyed off mission_type in meta.json.</summary>
  <content type="html">&lt;span id=&quot;mission-type-resolution--the-doctrine--charter--core-seam&quot;&gt;&lt;/span&gt;
&lt;p&gt;This page explains &lt;em&gt;why&lt;/em&gt; Spec Kitty resolves per-mission-type behaviour through a
single seam, and how that seam is shaped to grow. It is background and rationale,
not a how-to. For the decision record and its load-bearing anchors, see
&lt;a href=&quot;/adr/3.x/2026-07-14-2-doctrine-to-core-mission-type-resolution-unification/&quot;&gt;ADR 2026-07-14-2 — Doctrine → Charter → Core Mission-Type Resolution Unification&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id=&quot;the-one-path-doctrine-defines-charter-customises-core-consumes&quot;&gt;The one path: doctrine defines, charter customises, core consumes&lt;/h2&gt;
&lt;p&gt;Everything a mission type contributes — governance, templates, expected
artifacts, and step contracts today; additional runtime configuration in later
slices — flows through &lt;strong&gt;one&lt;/strong&gt; path:&lt;/p&gt;
&lt;div class=&quot;expressive-code&quot;&gt;&lt;figure class=&quot;frame not-content&quot;&gt;&lt;figcaption class=&quot;header&quot;&gt;&lt;/figcaption&gt;&lt;pre data-language=&quot;plaintext&quot;&gt;&lt;code&gt;&lt;div class=&quot;ec-line&quot;&gt;&lt;div class=&quot;code&quot;&gt;&lt;span style=&quot;--0:#d6deeb;--1:#403f53&quot;&gt;doctrine (offers)  →  charter (activates &amp;#x26; customises)  →  core FSM (consumes)&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/figure&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Doctrine offers.&lt;/strong&gt; The canonical catalogue of mission types lives in
&lt;code dir=&quot;auto&quot;&gt;packs/built-in/missions/&amp;#x3C;type&gt;/&lt;/code&gt; (relocated from &lt;code dir=&quot;auto&quot;&gt;src/doctrine/missions/&amp;#x3C;type&gt;/&lt;/code&gt;
by mission &lt;code dir=&quot;auto&quot;&gt;doctrine-consumer-surface-missions-extraction&lt;/code&gt;). It &lt;em&gt;offers&lt;/em&gt; a
mission type’s governance, action indices, step contracts, and templates.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Charter activates and customises.&lt;/strong&gt; The charter layer selects a mission type
and overlays project-specific customisation onto it, exactly as it overlays any
other doctrine artifact (see &lt;a href=&quot;#the-charter-customise-layer&quot;&gt;the per-type override&lt;/a&gt;).&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Core consumes.&lt;/strong&gt; The runtime is a finite-state machine, “semi-prepared for
states &amp;#x26; transitions as config.” It reads the &lt;em&gt;resolved&lt;/em&gt; mission type and acts
on it — it holds no hardcoded per-type knowledge.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The seam is keyed off a single fact: the mission type recorded in the mission’s
&lt;code dir=&quot;auto&quot;&gt;meta.json&lt;/code&gt;. That is the same key the FSM already uses to read a mission’s action
sequence, which is what lets governance ride alongside without becoming a
property of any one state (see &lt;a href=&quot;#governance-is-a-sibling-not-a-property&quot;&gt;Governance is a sibling, not a property&lt;/a&gt;).&lt;/p&gt;
&lt;h2 id=&quot;why-one-seam-instead-of-three-surfaces&quot;&gt;Why one seam instead of three surfaces&lt;/h2&gt;
&lt;p&gt;Before this decision, per-mission-type behaviour resolved through &lt;strong&gt;two parallel
mission trees and three competing governance surfaces&lt;/strong&gt;:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code dir=&quot;auto&quot;&gt;packs/built-in/missions/&amp;#x3C;type&gt;/&lt;/code&gt; — the canonical catalogue (the source of truth;
relocated from &lt;code dir=&quot;auto&quot;&gt;src/doctrine/missions/&amp;#x3C;type&gt;/&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;&lt;code dir=&quot;auto&quot;&gt;src/specify_cli/missions/&amp;#x3C;type&gt;/&lt;/code&gt; — &lt;strong&gt;derived copies&lt;/strong&gt; that several core
readers still bind to directly. The two trees drifted with no parity guard.&lt;/li&gt;
&lt;li&gt;Three governance surfaces per type: an inert-and-dangling &lt;code dir=&quot;auto&quot;&gt;governance_refs&lt;/code&gt;
field on the mission-type YAML; a live-but-empty type-grain
&lt;code dir=&quot;auto&quot;&gt;governance-profile.yaml&lt;/code&gt;; and a live, populated action-grain action index.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Three surfaces and two trees violate single canonical authority. The chosen path
does not add a fourth surface or a “keep the trees in sync” guard — either would
entrench the split. Instead it &lt;strong&gt;collapses&lt;/strong&gt; the governance surfaces to two
hand-authored grains resolved through one function, and puts the derived
&lt;code dir=&quot;auto&quot;&gt;specify_cli/missions/&lt;/code&gt; tree on the deprecation path (derive-then-delete, never
grow).&lt;/p&gt;
&lt;h2 id=&quot;the-resolver-and-the-bundle-shaped-to-grow&quot;&gt;The resolver and the bundle shaped to grow&lt;/h2&gt;
&lt;p&gt;A single charter-mediated resolver is the one entry point for per-mission-type
resolution:&lt;/p&gt;
&lt;div class=&quot;expressive-code&quot;&gt;&lt;figure class=&quot;frame not-content&quot;&gt;&lt;figcaption class=&quot;header&quot;&gt;&lt;/figcaption&gt;&lt;pre data-language=&quot;plaintext&quot;&gt;&lt;code&gt;&lt;div class=&quot;ec-line&quot;&gt;&lt;div class=&quot;code&quot;&gt;&lt;span style=&quot;--0:#d6deeb;--1:#403f53&quot;&gt;charter.activation.mission_type_profiles.resolve_mission_type_context(&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;ec-line&quot;&gt;&lt;div class=&quot;code&quot;&gt;&lt;span class=&quot;indent&quot;&gt;&lt;span style=&quot;--0:#d6deeb;--1:#403f53&quot;&gt;    &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;--0:#d6deeb;--1:#403f53&quot;&gt;repo_root, *, mission_type=None, feature_dir=None&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;ec-line&quot;&gt;&lt;div class=&quot;code&quot;&gt;&lt;span style=&quot;--0:#d6deeb;--1:#403f53&quot;&gt;) -&gt; ResolvedMissionType&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/figure&gt;&lt;/div&gt;
&lt;p&gt;&lt;code dir=&quot;auto&quot;&gt;ResolvedMissionType&lt;/code&gt; is a &lt;strong&gt;bundle shaped to grow&lt;/strong&gt;. It carries the resolved
&lt;code dir=&quot;auto&quot;&gt;action_sequence&lt;/code&gt; plus lazy &lt;code dir=&quot;auto&quot;&gt;governance&lt;/code&gt;, &lt;code dir=&quot;auto&quot;&gt;template_set&lt;/code&gt;, &lt;code dir=&quot;auto&quot;&gt;expected_artifacts&lt;/code&gt;,
and &lt;code dir=&quot;auto&quot;&gt;step_contracts&lt;/code&gt; slots. The template mapping is projected lazily and
immutably from the activated mission type’s doctrine artefact. Readers select a
semantic artefact kind such as &lt;code dir=&quot;auto&quot;&gt;spec&lt;/code&gt; or &lt;code dir=&quot;auto&quot;&gt;plan&lt;/code&gt;, then pass the configured
filename into the existing project/user/package path-precedence resolver.&lt;/p&gt;
&lt;p&gt;These consumers share one mission-type authority while remaining separate
configuration axes.&lt;/p&gt;
&lt;h2 id=&quot;resolution-order--and-the-leak-it-closes&quot;&gt;Resolution order — and the leak it closes&lt;/h2&gt;
&lt;p&gt;The resolver determines the mission type in a strict order, and &lt;strong&gt;never guesses&lt;/strong&gt;:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;an explicit &lt;code dir=&quot;auto&quot;&gt;mission_type&lt;/code&gt; argument, when the caller knows it;&lt;/li&gt;
&lt;li&gt;otherwise &lt;code dir=&quot;auto&quot;&gt;feature_dir/meta.json&lt;/code&gt;;&lt;/li&gt;
&lt;li&gt;otherwise a &lt;strong&gt;hard error&lt;/strong&gt; (&lt;code dir=&quot;auto&quot;&gt;UnknownMissionTypeError&lt;/code&gt;).&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;It never infers the type from &lt;code dir=&quot;auto&quot;&gt;template_set&lt;/code&gt;, and it never defaults to
&lt;code dir=&quot;auto&quot;&gt;software-dev&lt;/code&gt;. That closes a real defect by construction. Previously the
action-scoped context path inferred the mission type as
&lt;code dir=&quot;auto&quot;&gt;(template_set or &quot;software-dev-default&quot;).removesuffix(&quot;-default&quot;)&lt;/code&gt; because the
scope router resolved the mission’s &lt;code dir=&quot;auto&quot;&gt;feature_dir&lt;/code&gt; and then discarded it — so a
documentation, research, or plan mission that never set &lt;code dir=&quot;auto&quot;&gt;template_set&lt;/code&gt; silently
loaded &lt;strong&gt;software-dev&lt;/strong&gt; doctrine (test-first, implementation, code-review).&lt;/p&gt;
&lt;p&gt;The fix threads the real &lt;code dir=&quot;auto&quot;&gt;mission_type&lt;/code&gt; / &lt;code dir=&quot;auto&quot;&gt;feature_dir&lt;/code&gt; through the scope router
into the action-doctrine rendering, and makes a missing governance source a loud,
remediable error rather than a software-dev fallback. &lt;code dir=&quot;auto&quot;&gt;template_set&lt;/code&gt; is &lt;strong&gt;split&lt;/strong&gt;:
it is retained for its legitimate job (selecting spec/plan template files) and
removed as the mission-type proxy in governance routing. For planning-time
&lt;code dir=&quot;auto&quot;&gt;charter context --action&lt;/code&gt; invocations that run from the repository root with no
&lt;code dir=&quot;auto&quot;&gt;meta.json&lt;/code&gt;, an explicit &lt;code dir=&quot;auto&quot;&gt;--mission-type&lt;/code&gt; is required.&lt;/p&gt;
&lt;h3 id=&quot;the-leak-closure-invariant&quot;&gt;The leak-closure invariant&lt;/h3&gt;
&lt;p&gt;The invariant is enforced, not aspirational: &lt;strong&gt;no non-software mission resolves
any software-dev-only doctrine artifact&lt;/strong&gt;, proven together with a non-vacuity twin
showing software-dev &lt;em&gt;does&lt;/em&gt; resolve it (so the test cannot pass emptily). An
unknown or missing &lt;code dir=&quot;auto&quot;&gt;mission_type&lt;/code&gt; raises a hard error on every resolution path.&lt;/p&gt;
&lt;h2 id=&quot;two-governance-grains-unioned-no-overlap&quot;&gt;Two governance grains, unioned, no overlap&lt;/h2&gt;
&lt;p&gt;Governance is authored at two grains, and the resolver unions and de-dupes them:&lt;/p&gt;




















&lt;table&gt;&lt;thead&gt;&lt;tr&gt;&lt;th&gt;Grain&lt;/th&gt;&lt;th&gt;Canonical source&lt;/th&gt;&lt;th&gt;What it carries&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;strong&gt;Action-grain&lt;/strong&gt;&lt;/td&gt;&lt;td&gt;&lt;code dir=&quot;auto&quot;&gt;packs/built-in/missions/&amp;#x3C;type&gt;/actions/&amp;#x3C;action&gt;/index.yaml&lt;/code&gt;&lt;/td&gt;&lt;td&gt;Per-action &lt;code dir=&quot;auto&quot;&gt;scope&lt;/code&gt; edges (already live; generate DRG scope edges consumed by &lt;code dir=&quot;auto&quot;&gt;charter context --action&lt;/code&gt;)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;strong&gt;Type-grain&lt;/strong&gt;&lt;/td&gt;&lt;td&gt;&lt;code dir=&quot;auto&quot;&gt;packs/built-in/missions/&amp;#x3C;type&gt;/governance-profile.yaml&lt;/code&gt; (&lt;code dir=&quot;auto&quot;&gt;selected_*&lt;/code&gt;)&lt;/td&gt;&lt;td&gt;The type-wide directive/tactic/styleguide/paradigm selections, and the project-override target&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;
&lt;p&gt;Neither grain is a generated rollup of the other — a rollup would incur a
freshness gate and erase the grain distinction. An enforcement test forbids the
same ID appearing in both grains. Both consumers of governance — the work-package
prompt and the step-bootstrap context — obtain &lt;code dir=&quot;auto&quot;&gt;(mission_type, selections)&lt;/code&gt; from
this one resolver, then render the grain each needs.&lt;/p&gt;
&lt;p&gt;Governance resolves to a &lt;strong&gt;structured&lt;/strong&gt; object whose &lt;code dir=&quot;auto&quot;&gt;selected_*&lt;/code&gt; collections are
&lt;strong&gt;ordered&lt;/strong&gt; (list-backed with an explicit, tested sort — not sets); the rendered
text becomes a &lt;em&gt;rendering of&lt;/em&gt; that object. Ordering is a correctness property of the
resolver, verified by a doctrine-module test — not a byte-snapshot of a
soon-to-be-removed path. During the migration a transitional parity scaffold proves
the swap is user-invisible, then is deleted; enduring verification is behavioural,
at the doctrine-module and integration level.&lt;/p&gt;
&lt;h2 id=&quot;the-charter-customise-layer&quot;&gt;The charter customise layer&lt;/h2&gt;
&lt;p&gt;The charter “activate and customise” step is where a project adjusts a shipped
mission type. The per-type project override lives at
&lt;code dir=&quot;auto&quot;&gt;.kittify/charter-packs/mission_types/&amp;#x3C;type&gt;/governance-profile.yaml&lt;/code&gt; and is resolved
through the &lt;strong&gt;existing&lt;/strong&gt; charter offering overlay loader — inheriting builtin → org →
project ordering and &lt;code dir=&quot;auto&quot;&gt;ArtifactLayerCollisionWarning&lt;/code&gt; field-merge semantics. Reusing
that loader avoids duplicating the merge contract, but it is not zero-cost: the
loader keys on an &lt;code dir=&quot;auto&quot;&gt;id&lt;/code&gt; field the profile does not carry (it keys on &lt;code dir=&quot;auto&quot;&gt;mission_type&lt;/code&gt;),
so an adapter — an &lt;code dir=&quot;auto&quot;&gt;id&lt;/code&gt; on the profile plus a repository subclass, or an explicit
field-merge in the resolver — is owned, tested work. See
&lt;a href=&quot;/architecture/org-doctrine-layer/#per-mission-type-governance-override&quot;&gt;Understanding the Org Layer of the Charter Offering&lt;/a&gt;
for how that overlay stack resolves collisions.&lt;/p&gt;
&lt;h2 id=&quot;governance_refs-is-retired&quot;&gt;&lt;code dir=&quot;auto&quot;&gt;governance_refs&lt;/code&gt; is retired&lt;/h2&gt;
&lt;p&gt;The &lt;code dir=&quot;auto&quot;&gt;governance_refs&lt;/code&gt; field on the mission-type model is deleted, along with the
dangling references it carried (for example, the &lt;code dir=&quot;auto&quot;&gt;software-dev&lt;/code&gt; mission type
referenced &lt;code dir=&quot;auto&quot;&gt;DIR-010&lt;/code&gt; / &lt;code dir=&quot;auto&quot;&gt;DIR-011&lt;/code&gt;, which resolved to nothing — the real IDs are
&lt;code dir=&quot;auto&quot;&gt;DIRECTIVE_0NN&lt;/code&gt;). The field was inert: no runtime reader consumed it, so
populating it changed nothing and gave a freshness gate false assurance. Its role
is fully subsumed by the two canonical grains. If a display still needs it, it is
exposed as a &lt;strong&gt;read-only computed property&lt;/strong&gt; derived from the resolver, never a
hand-authored twin.&lt;/p&gt;
&lt;h2 id=&quot;governance-is-a-sibling-not-a-property&quot;&gt;Governance is a sibling, not a property&lt;/h2&gt;
&lt;p&gt;Governance resolution is keyed off the same &lt;code dir=&quot;auto&quot;&gt;mission_type&lt;/code&gt; the FSM already uses to
read its action sequence. It is &lt;strong&gt;not&lt;/strong&gt; attached to individual FSM state or
transition definitions. When full “states &amp;#x26; transitions as config” lands, the
state loader and the governance slot both read the same &lt;code dir=&quot;auto&quot;&gt;ResolvedMissionType&lt;/code&gt; but
remain distinct fields — the two configuration axes stay separable.&lt;/p&gt;
&lt;h2 id=&quot;software-dev-becomes-a-peer&quot;&gt;software-dev becomes a peer&lt;/h2&gt;
&lt;p&gt;&lt;code dir=&quot;auto&quot;&gt;software-dev&lt;/code&gt; stops being special-cased. Its governance resolves from &lt;code dir=&quot;auto&quot;&gt;meta.json&lt;/code&gt;
like the other three types, through the same resolver, with &lt;strong&gt;zero new authoring&lt;/strong&gt;
— its &lt;code dir=&quot;auto&quot;&gt;governance-profile.yaml&lt;/code&gt; and action indices already exist. For the first
slice its resolved governance is &lt;strong&gt;behaviourally frozen&lt;/strong&gt;: only documentation,
research, and plan gain content, and the software-dev golden suite is the
byte-for-byte regression gate. The end-state direction is that &lt;code dir=&quot;auto&quot;&gt;software-dev&lt;/code&gt;
becomes an ordinary built-in &lt;strong&gt;doctrine&lt;/strong&gt; mission type on equal footing with
&lt;code dir=&quot;auto&quot;&gt;documentation&lt;/code&gt;, &lt;code dir=&quot;auto&quot;&gt;research&lt;/code&gt;, and &lt;code dir=&quot;auto&quot;&gt;plan&lt;/code&gt;.&lt;/p&gt;
&lt;h2 id=&quot;slices--what-is-built-and-what-follows&quot;&gt;Slices — what is built and what follows&lt;/h2&gt;
&lt;p&gt;This seam is delivered as &lt;strong&gt;slice 1 of a &lt;code dir=&quot;auto&quot;&gt;specify_cli/missions&lt;/code&gt; retirement epic&lt;/strong&gt;
(issue #883). Scoping it into slices keeps each reader migration independently
verifiable.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;In scope now (slice 1):&lt;/strong&gt; the resolver seam, the leak fix, &lt;code dir=&quot;auto&quot;&gt;governance_refs&lt;/code&gt;
retirement, the per-type override, authored governance for
documentation/research/plan, and &lt;strong&gt;one&lt;/strong&gt; reader migration — the dossier gate
reader flips from &lt;code dir=&quot;auto&quot;&gt;specify_cli/missions/*/expected-artifacts.yaml&lt;/code&gt; to the
doctrine-tree reader, deleting the derived copies.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Delivered follow-on slices:&lt;/strong&gt; template configuration now fills the
&lt;code dir=&quot;auto&quot;&gt;template_set&lt;/code&gt; slot and the specification/planning readers select filenames
through it (issue #2658). The &lt;code dir=&quot;auto&quot;&gt;expected_artifacts&lt;/code&gt; and &lt;code dir=&quot;auto&quot;&gt;step_contracts&lt;/code&gt; slots are
also live doctrine-backed projections.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Planned follow-on retirement work:&lt;/strong&gt; activation-driven enumeration (#2659),
removal of the remaining meta-less software-development template fallback
(#2660), and retirement of the doctrine → &lt;code dir=&quot;auto&quot;&gt;specify_cli/missions/&lt;/code&gt; copy step and
derived tree (#2661).&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Specified but not built:&lt;/strong&gt; a mission-instance addendum layer (a top field-merge
layer read from a &lt;code dir=&quot;auto&quot;&gt;meta.json&lt;/code&gt; governance addendum) is designed for completeness
but deferred — no surface exists today and the layer is unproven (YAGNI).&lt;/p&gt;
&lt;h2 id=&quot;schema-at-a-glance-mission-step-contracts-and-the-action-index&quot;&gt;Schema at a glance: mission-step contracts and the action index&lt;/h2&gt;
&lt;p&gt;Two code models carry the shapes this page describes. Both diagrams below are
&lt;strong&gt;generated from the frozen code models&lt;/strong&gt; and kept honest by the drift guard
(&lt;code dir=&quot;auto&quot;&gt;tests/docs/diagram_drift/&lt;/code&gt;, FR-004) — every field is introspected from the live
model (&lt;code dir=&quot;auto&quot;&gt;FieldInfo.alias or name&lt;/code&gt;; frozen-dataclass &lt;code dir=&quot;auto&quot;&gt;fields()&lt;/code&gt;), never hand-copied.&lt;/p&gt;
&lt;h3 id=&quot;mission-step-contract&quot;&gt;Mission-step contract&lt;/h3&gt;
&lt;p&gt;A &lt;strong&gt;&lt;code dir=&quot;auto&quot;&gt;MissionStepContract&lt;/code&gt;&lt;/strong&gt; binds one workflow &lt;code dir=&quot;auto&quot;&gt;action&lt;/code&gt; (e.g. &lt;code dir=&quot;auto&quot;&gt;plan&lt;/code&gt;, &lt;code dir=&quot;auto&quot;&gt;implement&lt;/code&gt;)
for a &lt;code dir=&quot;auto&quot;&gt;mission&lt;/code&gt; type to an ordered list of &lt;strong&gt;&lt;code dir=&quot;auto&quot;&gt;MissionStepContractStep&lt;/code&gt;s&lt;/strong&gt; — the
step-by-step instructions the runtime executes. Note the nested shape: a contract
&lt;em&gt;has&lt;/em&gt; steps, and each step declares its own &lt;code dir=&quot;auto&quot;&gt;inputs&lt;/code&gt;, &lt;code dir=&quot;auto&quot;&gt;command&lt;/code&gt;, and &lt;code dir=&quot;auto&quot;&gt;delegates_to&lt;/code&gt;.&lt;/p&gt;
&lt;figure class=&quot;dk-diagram&quot; role=&quot;group&quot;&gt;&lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot; version=&quot;1.1&quot; data-diagram-type=&quot;YAML&quot; style=&quot;width:1025px;height:211px;&quot; width=&quot;1025px&quot; height=&quot;211px&quot; viewBox=&quot;0 0 1025 211&quot; zoomAndPan=&quot;magnify&quot; preserveAspectRatio=&quot;none&quot; contentStyleType=&quot;text/css&quot;&gt;&lt;defs&gt;&lt;/defs&gt;&lt;g font-family=&quot;sans-serif&quot; lengthAdjust=&quot;spacing&quot;&gt;&lt;g class=&quot;title&quot;&gt;&lt;text x=&quot;170.797&quot; y=&quot;32.995&quot; fill=&quot;#000&quot; font-size=&quot;14&quot; textLength=&quot;681.659&quot; font-weight=&quot;700&quot;&gt;Mission-step contract — MissionStepContract and its nested MissionStepContractStep&lt;/text&gt;&lt;/g&gt;&lt;rect x=&quot;10&quot; y=&quot;98.148&quot; width=&quot;197.317&quot; height=&quot;20.297&quot; fill=&quot;var(--dk-diagram-node-fill)&quot; style=&quot;stroke:var(--dk-diagram-node-fill);stroke-width:1.5;&quot; rx=&quot;5&quot; ry=&quot;5&quot;&gt;&lt;/rect&gt;&lt;text x=&quot;15&quot; y=&quot;113.144&quot; fill=&quot;var(--dk-diagram-node-text)&quot; font-size=&quot;14&quot; textLength=&quot;163.967&quot; font-weight=&quot;700&quot;&gt;MissionStepContract&lt;/text&gt;&lt;text x=&quot;188.967&quot; y=&quot;113.144&quot; fill=&quot;var(--dk-diagram-node-text)&quot; font-size=&quot;14&quot; textLength=&quot;13.351&quot;&gt;   &lt;/text&gt;&lt;line x1=&quot;183.967&quot; y1=&quot;98.148&quot; x2=&quot;183.967&quot; y2=&quot;118.445&quot; style=&quot;stroke:var(--dk-diagram-node-border);stroke-width:1;&quot;&gt;&lt;/line&gt;&lt;rect x=&quot;10&quot; y=&quot;98.148&quot; width=&quot;197.317&quot; height=&quot;20.297&quot; fill=&quot;none&quot; style=&quot;stroke:var(--dk-diagram-node-border);stroke-width:1.5;&quot; rx=&quot;5&quot; ry=&quot;5&quot;&gt;&lt;/rect&gt;&lt;rect x=&quot;244&quot; y=&quot;47.297&quot; width=&quot;258.602&quot; height=&quot;121.781&quot; fill=&quot;var(--dk-diagram-node-fill)&quot; style=&quot;stroke:var(--dk-diagram-node-fill);stroke-width:1.5;&quot; rx=&quot;5&quot; ry=&quot;5&quot;&gt;&lt;/rect&gt;&lt;text x=&quot;249&quot; y=&quot;62.292&quot; fill=&quot;var(--dk-diagram-node-text)&quot; font-size=&quot;14&quot; textLength=&quot;14.82&quot; font-weight=&quot;700&quot;&gt;id&lt;/text&gt;&lt;text x=&quot;384.371&quot; y=&quot;62.292&quot; fill=&quot;var(--dk-diagram-node-text)&quot; font-size=&quot;14&quot; textLength=&quot;42&quot;&gt;&amp;#x3C;str&gt;&lt;/text&gt;&lt;line x1=&quot;379.371&quot; y1=&quot;47.297&quot; x2=&quot;379.371&quot; y2=&quot;67.594&quot; style=&quot;stroke:var(--dk-diagram-node-border);stroke-width:1;&quot;&gt;&lt;/line&gt;&lt;line x1=&quot;244&quot; y1=&quot;67.594&quot; x2=&quot;502.602&quot; y2=&quot;67.594&quot; style=&quot;stroke:var(--dk-diagram-node-border);stroke-width:1;&quot;&gt;&lt;/line&gt;&lt;text x=&quot;249&quot; y=&quot;82.589&quot; fill=&quot;var(--dk-diagram-node-text)&quot; font-size=&quot;14&quot; textLength=&quot;125.371&quot; font-weight=&quot;700&quot;&gt;schema_version&lt;/text&gt;&lt;text x=&quot;384.371&quot; y=&quot;82.589&quot; fill=&quot;var(--dk-diagram-node-text)&quot; font-size=&quot;14&quot; textLength=&quot;42&quot;&gt;&amp;#x3C;str&gt;&lt;/text&gt;&lt;line x1=&quot;379.371&quot; y1=&quot;67.594&quot; x2=&quot;379.371&quot; y2=&quot;87.891&quot; style=&quot;stroke:var(--dk-diagram-node-border);stroke-width:1;&quot;&gt;&lt;/line&gt;&lt;line x1=&quot;244&quot; y1=&quot;87.891&quot; x2=&quot;502.602&quot; y2=&quot;87.891&quot; style=&quot;stroke:var(--dk-diagram-node-border);stroke-width:1;&quot;&gt;&lt;/line&gt;&lt;text x=&quot;249&quot; y=&quot;102.886&quot; fill=&quot;var(--dk-diagram-node-text)&quot; font-size=&quot;14&quot; textLength=&quot;48.822&quot; font-weight=&quot;700&quot;&gt;action&lt;/text&gt;&lt;text x=&quot;384.371&quot; y=&quot;102.886&quot; fill=&quot;var(--dk-diagram-node-text)&quot; font-size=&quot;14&quot; textLength=&quot;66.555&quot;&gt;&amp;#x3C;action&gt;&lt;/text&gt;&lt;line x1=&quot;379.371&quot; y1=&quot;87.891&quot; x2=&quot;379.371&quot; y2=&quot;108.188&quot; style=&quot;stroke:var(--dk-diagram-node-border);stroke-width:1;&quot;&gt;&lt;/line&gt;&lt;line x1=&quot;244&quot; y1=&quot;108.188&quot; x2=&quot;502.602&quot; y2=&quot;108.188&quot; style=&quot;stroke:var(--dk-diagram-node-border);stroke-width:1;&quot;&gt;&lt;/line&gt;&lt;text x=&quot;249&quot; y=&quot;123.183&quot; fill=&quot;var(--dk-diagram-node-text)&quot; font-size=&quot;14&quot; textLength=&quot;60.437&quot; font-weight=&quot;700&quot;&gt;mission&lt;/text&gt;&lt;text x=&quot;384.371&quot; y=&quot;123.183&quot; fill=&quot;var(--dk-diagram-node-text)&quot; font-size=&quot;14&quot; textLength=&quot;113.23&quot;&gt;&amp;#x3C;mission-type&gt;&lt;/text&gt;&lt;line x1=&quot;379.371&quot; y1=&quot;108.188&quot; x2=&quot;379.371&quot; y2=&quot;128.484&quot; style=&quot;stroke:var(--dk-diagram-node-border);stroke-width:1;&quot;&gt;&lt;/line&gt;&lt;line x1=&quot;244&quot; y1=&quot;128.484&quot; x2=&quot;502.602&quot; y2=&quot;128.484&quot; style=&quot;stroke:var(--dk-diagram-node-border);stroke-width:1;&quot;&gt;&lt;/line&gt;&lt;text x=&quot;249&quot; y=&quot;143.479&quot; fill=&quot;var(--dk-diagram-node-text)&quot; font-size=&quot;14&quot; textLength=&quot;42.875&quot; font-weight=&quot;700&quot;&gt;steps&lt;/text&gt;&lt;text x=&quot;384.371&quot; y=&quot;143.479&quot; fill=&quot;var(--dk-diagram-node-text)&quot; font-size=&quot;14&quot; textLength=&quot;13.351&quot;&gt;   &lt;/text&gt;&lt;line x1=&quot;379.371&quot; y1=&quot;128.484&quot; x2=&quot;379.371&quot; y2=&quot;148.781&quot; style=&quot;stroke:var(--dk-diagram-node-border);stroke-width:1;&quot;&gt;&lt;/line&gt;&lt;line x1=&quot;244&quot; y1=&quot;148.781&quot; x2=&quot;502.602&quot; y2=&quot;148.781&quot; style=&quot;stroke:var(--dk-diagram-node-border);stroke-width:1;&quot;&gt;&lt;/line&gt;&lt;text x=&quot;249&quot; y=&quot;163.776&quot; fill=&quot;var(--dk-diagram-node-text)&quot; font-size=&quot;14&quot; textLength=&quot;43.989&quot; font-weight=&quot;700&quot;&gt;gates&lt;/text&gt;&lt;text x=&quot;384.371&quot; y=&quot;163.776&quot; fill=&quot;var(--dk-diagram-node-text)&quot; font-size=&quot;14&quot; textLength=&quot;44.023&quot;&gt;&amp;#x3C;list&gt;&lt;/text&gt;&lt;line x1=&quot;379.371&quot; y1=&quot;148.781&quot; x2=&quot;379.371&quot; y2=&quot;169.078&quot; style=&quot;stroke:var(--dk-diagram-node-border);stroke-width:1;&quot;&gt;&lt;/line&gt;&lt;rect x=&quot;244&quot; y=&quot;47.297&quot; width=&quot;258.602&quot; height=&quot;121.781&quot; fill=&quot;none&quot; style=&quot;stroke:var(--dk-diagram-node-border);stroke-width:1.5;&quot; rx=&quot;5&quot; ry=&quot;5&quot;&gt;&lt;/rect&gt;&lt;rect x=&quot;540&quot; y=&quot;128.148&quot; width=&quot;233.609&quot; height=&quot;20.297&quot; fill=&quot;var(--dk-diagram-node-fill)&quot; style=&quot;stroke:var(--dk-diagram-node-fill);stroke-width:1.5;&quot; rx=&quot;5&quot; ry=&quot;5&quot;&gt;&lt;/rect&gt;&lt;text x=&quot;545&quot; y=&quot;143.144&quot; fill=&quot;var(--dk-diagram-node-text)&quot; font-size=&quot;14&quot; textLength=&quot;200.259&quot; font-weight=&quot;700&quot;&gt;MissionStepContractStep&lt;/text&gt;&lt;text x=&quot;755.259&quot; y=&quot;143.144&quot; fill=&quot;var(--dk-diagram-node-text)&quot; font-size=&quot;14&quot; textLength=&quot;13.351&quot;&gt;   &lt;/text&gt;&lt;line x1=&quot;750.259&quot; y1=&quot;128.148&quot; x2=&quot;750.259&quot; y2=&quot;148.445&quot; style=&quot;stroke:var(--dk-diagram-node-border);stroke-width:1;&quot;&gt;&lt;/line&gt;&lt;rect x=&quot;540&quot; y=&quot;128.148&quot; width=&quot;233.609&quot; height=&quot;20.297&quot; fill=&quot;none&quot; style=&quot;stroke:var(--dk-diagram-node-border);stroke-width:1.5;&quot; rx=&quot;5&quot; ry=&quot;5&quot;&gt;&lt;/rect&gt;&lt;rect x=&quot;811&quot; y=&quot;77.297&quot; width=&quot;202.253&quot; height=&quot;121.781&quot; fill=&quot;var(--dk-diagram-node-fill)&quot; style=&quot;stroke:var(--dk-diagram-node-fill);stroke-width:1.5;&quot; rx=&quot;5&quot; ry=&quot;5&quot;&gt;&lt;/rect&gt;&lt;text x=&quot;816&quot; y=&quot;92.292&quot; fill=&quot;var(--dk-diagram-node-text)&quot; font-size=&quot;14&quot; textLength=&quot;14.82&quot; font-weight=&quot;700&quot;&gt;id&lt;/text&gt;&lt;text x=&quot;927.11&quot; y=&quot;92.292&quot; fill=&quot;var(--dk-diagram-node-text)&quot; font-size=&quot;14&quot; textLength=&quot;42&quot;&gt;&amp;#x3C;str&gt;&lt;/text&gt;&lt;line x1=&quot;922.11&quot; y1=&quot;77.297&quot; x2=&quot;922.11&quot; y2=&quot;97.594&quot; style=&quot;stroke:var(--dk-diagram-node-border);stroke-width:1;&quot;&gt;&lt;/line&gt;&lt;line x1=&quot;811&quot; y1=&quot;97.594&quot; x2=&quot;1013.253&quot; y2=&quot;97.594&quot; style=&quot;stroke:var(--dk-diagram-node-border);stroke-width:1;&quot;&gt;&lt;/line&gt;&lt;text x=&quot;816&quot; y=&quot;112.589&quot; fill=&quot;var(--dk-diagram-node-text)&quot; font-size=&quot;14&quot; textLength=&quot;88.949&quot; font-weight=&quot;700&quot;&gt;description&lt;/text&gt;&lt;text x=&quot;927.11&quot; y=&quot;112.589&quot; fill=&quot;var(--dk-diagram-node-text)&quot; font-size=&quot;14&quot; textLength=&quot;42&quot;&gt;&amp;#x3C;str&gt;&lt;/text&gt;&lt;line x1=&quot;922.11&quot; y1=&quot;97.594&quot; x2=&quot;922.11&quot; y2=&quot;117.891&quot; style=&quot;stroke:var(--dk-diagram-node-border);stroke-width:1;&quot;&gt;&lt;/line&gt;&lt;line x1=&quot;811&quot; y1=&quot;117.891&quot; x2=&quot;1013.253&quot; y2=&quot;117.891&quot; style=&quot;stroke:var(--dk-diagram-node-border);stroke-width:1;&quot;&gt;&lt;/line&gt;&lt;text x=&quot;816&quot; y=&quot;132.886&quot; fill=&quot;var(--dk-diagram-node-text)&quot; font-size=&quot;14&quot; textLength=&quot;76.528&quot; font-weight=&quot;700&quot;&gt;command&lt;/text&gt;&lt;text x=&quot;927.11&quot; y=&quot;132.886&quot; fill=&quot;var(--dk-diagram-node-text)&quot; font-size=&quot;14&quot; textLength=&quot;81.143&quot;&gt;&amp;#x3C;str | null&gt;&lt;/text&gt;&lt;line x1=&quot;922.11&quot; y1=&quot;117.891&quot; x2=&quot;922.11&quot; y2=&quot;138.188&quot; style=&quot;stroke:var(--dk-diagram-node-border);stroke-width:1;&quot;&gt;&lt;/line&gt;&lt;line x1=&quot;811&quot; y1=&quot;138.188&quot; x2=&quot;1013.253&quot; y2=&quot;138.188&quot; style=&quot;stroke:var(--dk-diagram-node-border);stroke-width:1;&quot;&gt;&lt;/line&gt;&lt;text x=&quot;816&quot; y=&quot;153.183&quot; fill=&quot;var(--dk-diagram-node-text)&quot; font-size=&quot;14&quot; textLength=&quot;49.779&quot; font-weight=&quot;700&quot;&gt;inputs&lt;/text&gt;&lt;text x=&quot;927.11&quot; y=&quot;153.183&quot; fill=&quot;var(--dk-diagram-node-text)&quot; font-size=&quot;14&quot; textLength=&quot;44.023&quot;&gt;&amp;#x3C;list&gt;&lt;/text&gt;&lt;line x1=&quot;922.11&quot; y1=&quot;138.188&quot; x2=&quot;922.11&quot; y2=&quot;158.484&quot; style=&quot;stroke:var(--dk-diagram-node-border);stroke-width:1;&quot;&gt;&lt;/line&gt;&lt;line x1=&quot;811&quot; y1=&quot;158.484&quot; x2=&quot;1013.253&quot; y2=&quot;158.484&quot; style=&quot;stroke:var(--dk-diagram-node-border);stroke-width:1;&quot;&gt;&lt;/line&gt;&lt;text x=&quot;816&quot; y=&quot;173.479&quot; fill=&quot;var(--dk-diagram-node-text)&quot; font-size=&quot;14&quot; textLength=&quot;101.11&quot; font-weight=&quot;700&quot;&gt;delegates_to&lt;/text&gt;&lt;text x=&quot;927.11&quot; y=&quot;173.479&quot; fill=&quot;var(--dk-diagram-node-text)&quot; font-size=&quot;14&quot; textLength=&quot;81.143&quot;&gt;&amp;#x3C;str | null&gt;&lt;/text&gt;&lt;line x1=&quot;922.11&quot; y1=&quot;158.484&quot; x2=&quot;922.11&quot; y2=&quot;178.781&quot; style=&quot;stroke:var(--dk-diagram-node-border);stroke-width:1;&quot;&gt;&lt;/line&gt;&lt;line x1=&quot;811&quot; y1=&quot;178.781&quot; x2=&quot;1013.253&quot; y2=&quot;178.781&quot; style=&quot;stroke:var(--dk-diagram-node-border);stroke-width:1;&quot;&gt;&lt;/line&gt;&lt;text x=&quot;816&quot; y=&quot;193.776&quot; fill=&quot;var(--dk-diagram-node-text)&quot; font-size=&quot;14&quot; textLength=&quot;72.017&quot; font-weight=&quot;700&quot;&gt;guidance&lt;/text&gt;&lt;text x=&quot;927.11&quot; y=&quot;193.776&quot; fill=&quot;var(--dk-diagram-node-text)&quot; font-size=&quot;14&quot; textLength=&quot;81.143&quot;&gt;&amp;#x3C;str | null&gt;&lt;/text&gt;&lt;line x1=&quot;922.11&quot; y1=&quot;178.781&quot; x2=&quot;922.11&quot; y2=&quot;199.078&quot; style=&quot;stroke:var(--dk-diagram-node-border);stroke-width:1;&quot;&gt;&lt;/line&gt;&lt;rect x=&quot;811&quot; y=&quot;77.297&quot; width=&quot;202.253&quot; height=&quot;121.781&quot; fill=&quot;none&quot; style=&quot;stroke:var(--dk-diagram-node-border);stroke-width:1.5;&quot; rx=&quot;5&quot; ry=&quot;5&quot;&gt;&lt;/rect&gt;&lt;path d=&quot;M762,138.297 L775,138.297 C784.256,138.297 793.865,138.297 803.504,138.297&quot; style=&quot;stroke:var(--dk-diagram-edge);stroke-width:1;stroke-dasharray:3,3;&quot; fill=&quot;none&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M803.504,141.389 L805.823,138.297 L803.504,135.205 L811.235,138.297 L803.504,141.389&quot; fill=&quot;var(--dk-diagram-edge)&quot;&gt;&lt;/path&gt;&lt;ellipse cx=&quot;762&quot; cy=&quot;138.297&quot; rx=&quot;3&quot; ry=&quot;3&quot; fill=&quot;var(--dk-diagram-edge)&quot; style=&quot;stroke:var(--dk-diagram-edge);stroke-width:1;&quot;&gt;&lt;/ellipse&gt;&lt;path d=&quot;M491,138.297 L504,138.297 C513.296,138.297 522.912,138.297 532.583,138.297&quot; style=&quot;stroke:var(--dk-diagram-edge);stroke-width:1;stroke-dasharray:3,3;&quot; fill=&quot;none&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M532.583,141.402 L534.913,138.297 L532.583,135.191 L540.347,138.297 L532.583,141.402&quot; fill=&quot;var(--dk-diagram-edge)&quot;&gt;&lt;/path&gt;&lt;ellipse cx=&quot;491&quot; cy=&quot;138.297&quot; rx=&quot;3&quot; ry=&quot;3&quot; fill=&quot;var(--dk-diagram-edge)&quot; style=&quot;stroke:var(--dk-diagram-edge);stroke-width:1;&quot;&gt;&lt;/ellipse&gt;&lt;path d=&quot;M195,108.297 L208,108.297 C217.267,108.297 226.828,108.297 236.458,108.297&quot; style=&quot;stroke:var(--dk-diagram-edge);stroke-width:1;stroke-dasharray:3,3;&quot; fill=&quot;none&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M236.458,111.391 L238.779,108.297 L236.458,105.203 L244.193,108.297 L236.458,111.391&quot; fill=&quot;var(--dk-diagram-edge)&quot;&gt;&lt;/path&gt;&lt;ellipse cx=&quot;195&quot; cy=&quot;108.297&quot; rx=&quot;3&quot; ry=&quot;3&quot; fill=&quot;var(--dk-diagram-edge)&quot; style=&quot;stroke:var(--dk-diagram-edge);stroke-width:1;&quot;&gt;&lt;/ellipse&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/figure&gt;
&lt;h3 id=&quot;the-action-index&quot;&gt;The action index&lt;/h3&gt;
&lt;p&gt;The &lt;strong&gt;&lt;code dir=&quot;auto&quot;&gt;action index&lt;/code&gt;&lt;/strong&gt; is NOT a doctrine artefact kind — it is a &lt;strong&gt;mission concept&lt;/strong&gt;
(so it lives here, not in the &lt;a href=&quot;/architecture/doctrine-kinds/&quot;&gt;artefact-kinds catalog&lt;/a&gt;). It is the
resolved, action-grain projection the runtime hands to an agent at a step boundary:
for one workflow &lt;code dir=&quot;auto&quot;&gt;action&lt;/code&gt;, the exact set of doctrine references — directives,
tactics, paradigms, styleguides, toolguides, procedures, and agent profiles — that
apply. Where the mission-step contract says &lt;em&gt;what to do&lt;/em&gt;, the action index says
&lt;em&gt;which governance is in force while doing it&lt;/em&gt;. It is a frozen dataclass (&lt;code dir=&quot;auto&quot;&gt;ActionIndex&lt;/code&gt;),
computed by resolution, never authored by hand.&lt;/p&gt;
&lt;figure class=&quot;dk-diagram&quot; role=&quot;group&quot;&gt;&lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot; version=&quot;1.1&quot; data-diagram-type=&quot;YAML&quot; style=&quot;width:642px;height:221px;&quot; width=&quot;642px&quot; height=&quot;221px&quot; viewBox=&quot;0 0 642 221&quot; zoomAndPan=&quot;magnify&quot; preserveAspectRatio=&quot;none&quot; contentStyleType=&quot;text/css&quot;&gt;&lt;defs&gt;&lt;/defs&gt;&lt;g font-family=&quot;sans-serif&quot; lengthAdjust=&quot;spacing&quot;&gt;&lt;g class=&quot;title&quot;&gt;&lt;text x=&quot;20&quot; y=&quot;32.995&quot; fill=&quot;#000&quot; font-size=&quot;14&quot; textLength=&quot;600.797&quot; font-weight=&quot;700&quot;&gt;Action index — the per-action resolved governance projection (ActionIndex)&lt;/text&gt;&lt;/g&gt;&lt;rect x=&quot;134.934&quot; y=&quot;118.336&quot; width=&quot;127.283&quot; height=&quot;20.297&quot; fill=&quot;var(--dk-diagram-node-fill)&quot; style=&quot;stroke:var(--dk-diagram-node-fill);stroke-width:1.5;&quot; rx=&quot;5&quot; ry=&quot;5&quot;&gt;&lt;/rect&gt;&lt;text x=&quot;139.934&quot; y=&quot;133.331&quot; fill=&quot;var(--dk-diagram-node-text)&quot; font-size=&quot;14&quot; textLength=&quot;93.933&quot; font-weight=&quot;700&quot;&gt;ActionIndex&lt;/text&gt;&lt;text x=&quot;243.867&quot; y=&quot;133.331&quot; fill=&quot;var(--dk-diagram-node-text)&quot; font-size=&quot;14&quot; textLength=&quot;13.351&quot;&gt;   &lt;/text&gt;&lt;line x1=&quot;238.867&quot; y1=&quot;118.336&quot; x2=&quot;238.867&quot; y2=&quot;138.633&quot; style=&quot;stroke:var(--dk-diagram-node-border);stroke-width:1;&quot;&gt;&lt;/line&gt;&lt;rect x=&quot;134.934&quot; y=&quot;118.336&quot; width=&quot;127.283&quot; height=&quot;20.297&quot; fill=&quot;none&quot; style=&quot;stroke:var(--dk-diagram-node-border);stroke-width:1.5;&quot; rx=&quot;5&quot; ry=&quot;5&quot;&gt;&lt;/rect&gt;&lt;rect x=&quot;298.934&quot; y=&quot;47.297&quot; width=&quot;206.929&quot; height=&quot;162.375&quot; fill=&quot;var(--dk-diagram-node-fill)&quot; style=&quot;stroke:var(--dk-diagram-node-fill);stroke-width:1.5;&quot; rx=&quot;5&quot; ry=&quot;5&quot;&gt;&lt;/rect&gt;&lt;text x=&quot;303.934&quot; y=&quot;62.292&quot; fill=&quot;var(--dk-diagram-node-text)&quot; font-size=&quot;14&quot; textLength=&quot;48.822&quot; font-weight=&quot;700&quot;&gt;action&lt;/text&gt;&lt;text x=&quot;426.618&quot; y=&quot;62.292&quot; fill=&quot;var(--dk-diagram-node-text)&quot; font-size=&quot;14&quot; textLength=&quot;66.555&quot;&gt;&amp;#x3C;action&gt;&lt;/text&gt;&lt;line x1=&quot;421.618&quot; y1=&quot;47.297&quot; x2=&quot;421.618&quot; y2=&quot;67.594&quot; style=&quot;stroke:var(--dk-diagram-node-border);stroke-width:1;&quot;&gt;&lt;/line&gt;&lt;line x1=&quot;298.934&quot; y1=&quot;67.594&quot; x2=&quot;505.863&quot; y2=&quot;67.594&quot; style=&quot;stroke:var(--dk-diagram-node-border);stroke-width:1;&quot;&gt;&lt;/line&gt;&lt;text x=&quot;303.934&quot; y=&quot;82.589&quot; fill=&quot;var(--dk-diagram-node-text)&quot; font-size=&quot;14&quot; textLength=&quot;77.964&quot; font-weight=&quot;700&quot;&gt;directives&lt;/text&gt;&lt;text x=&quot;426.618&quot; y=&quot;82.589&quot; fill=&quot;var(--dk-diagram-node-text)&quot; font-size=&quot;14&quot; textLength=&quot;74.245&quot;&gt;&amp;#x3C;list[ref]&gt;&lt;/text&gt;&lt;line x1=&quot;421.618&quot; y1=&quot;67.594&quot; x2=&quot;421.618&quot; y2=&quot;87.891&quot; style=&quot;stroke:var(--dk-diagram-node-border);stroke-width:1;&quot;&gt;&lt;/line&gt;&lt;line x1=&quot;298.934&quot; y1=&quot;87.891&quot; x2=&quot;505.863&quot; y2=&quot;87.891&quot; style=&quot;stroke:var(--dk-diagram-node-border);stroke-width:1;&quot;&gt;&lt;/line&gt;&lt;text x=&quot;303.934&quot; y=&quot;102.886&quot; fill=&quot;var(--dk-diagram-node-text)&quot; font-size=&quot;14&quot; textLength=&quot;52.562&quot; font-weight=&quot;700&quot;&gt;tactics&lt;/text&gt;&lt;text x=&quot;426.618&quot; y=&quot;102.886&quot; fill=&quot;var(--dk-diagram-node-text)&quot; font-size=&quot;14&quot; textLength=&quot;74.245&quot;&gt;&amp;#x3C;list[ref]&gt;&lt;/text&gt;&lt;line x1=&quot;421.618&quot; y1=&quot;87.891&quot; x2=&quot;421.618&quot; y2=&quot;108.188&quot; style=&quot;stroke:var(--dk-diagram-node-border);stroke-width:1;&quot;&gt;&lt;/line&gt;&lt;line x1=&quot;298.934&quot; y1=&quot;108.188&quot; x2=&quot;505.863&quot; y2=&quot;108.188&quot; style=&quot;stroke:var(--dk-diagram-node-border);stroke-width:1;&quot;&gt;&lt;/line&gt;&lt;text x=&quot;303.934&quot; y=&quot;123.183&quot; fill=&quot;var(--dk-diagram-node-text)&quot; font-size=&quot;14&quot; textLength=&quot;83.583&quot; font-weight=&quot;700&quot;&gt;paradigms&lt;/text&gt;&lt;text x=&quot;426.618&quot; y=&quot;123.183&quot; fill=&quot;var(--dk-diagram-node-text)&quot; font-size=&quot;14&quot; textLength=&quot;74.245&quot;&gt;&amp;#x3C;list[ref]&gt;&lt;/text&gt;&lt;line x1=&quot;421.618&quot; y1=&quot;108.188&quot; x2=&quot;421.618&quot; y2=&quot;128.484&quot; style=&quot;stroke:var(--dk-diagram-node-border);stroke-width:1;&quot;&gt;&lt;/line&gt;&lt;line x1=&quot;298.934&quot; y1=&quot;128.484&quot; x2=&quot;505.863&quot; y2=&quot;128.484&quot; style=&quot;stroke:var(--dk-diagram-node-border);stroke-width:1;&quot;&gt;&lt;/line&gt;&lt;text x=&quot;303.934&quot; y=&quot;143.479&quot; fill=&quot;var(--dk-diagram-node-text)&quot; font-size=&quot;14&quot; textLength=&quot;91.082&quot; font-weight=&quot;700&quot;&gt;styleguides&lt;/text&gt;&lt;text x=&quot;426.618&quot; y=&quot;143.479&quot; fill=&quot;var(--dk-diagram-node-text)&quot; font-size=&quot;14&quot; textLength=&quot;74.245&quot;&gt;&amp;#x3C;list[ref]&gt;&lt;/text&gt;&lt;line x1=&quot;421.618&quot; y1=&quot;128.484&quot; x2=&quot;421.618&quot; y2=&quot;148.781&quot; style=&quot;stroke:var(--dk-diagram-node-border);stroke-width:1;&quot;&gt;&lt;/line&gt;&lt;line x1=&quot;298.934&quot; y1=&quot;148.781&quot; x2=&quot;505.863&quot; y2=&quot;148.781&quot; style=&quot;stroke:var(--dk-diagram-node-border);stroke-width:1;&quot;&gt;&lt;/line&gt;&lt;text x=&quot;303.934&quot; y=&quot;163.776&quot; fill=&quot;var(--dk-diagram-node-text)&quot; font-size=&quot;14&quot; textLength=&quot;83.364&quot; font-weight=&quot;700&quot;&gt;toolguides&lt;/text&gt;&lt;text x=&quot;426.618&quot; y=&quot;163.776&quot; fill=&quot;var(--dk-diagram-node-text)&quot; font-size=&quot;14&quot; textLength=&quot;74.245&quot;&gt;&amp;#x3C;list[ref]&gt;&lt;/text&gt;&lt;line x1=&quot;421.618&quot; y1=&quot;148.781&quot; x2=&quot;421.618&quot; y2=&quot;169.078&quot; style=&quot;stroke:var(--dk-diagram-node-border);stroke-width:1;&quot;&gt;&lt;/line&gt;&lt;line x1=&quot;298.934&quot; y1=&quot;169.078&quot; x2=&quot;505.863&quot; y2=&quot;169.078&quot; style=&quot;stroke:var(--dk-diagram-node-border);stroke-width:1;&quot;&gt;&lt;/line&gt;&lt;text x=&quot;303.934&quot; y=&quot;184.073&quot; fill=&quot;var(--dk-diagram-node-text)&quot; font-size=&quot;14&quot; textLength=&quot;89.059&quot; font-weight=&quot;700&quot;&gt;procedures&lt;/text&gt;&lt;text x=&quot;426.618&quot; y=&quot;184.073&quot; fill=&quot;var(--dk-diagram-node-text)&quot; font-size=&quot;14&quot; textLength=&quot;74.245&quot;&gt;&amp;#x3C;list[ref]&gt;&lt;/text&gt;&lt;line x1=&quot;421.618&quot; y1=&quot;169.078&quot; x2=&quot;421.618&quot; y2=&quot;189.375&quot; style=&quot;stroke:var(--dk-diagram-node-border);stroke-width:1;&quot;&gt;&lt;/line&gt;&lt;line x1=&quot;298.934&quot; y1=&quot;189.375&quot; x2=&quot;505.863&quot; y2=&quot;189.375&quot; style=&quot;stroke:var(--dk-diagram-node-border);stroke-width:1;&quot;&gt;&lt;/line&gt;&lt;text x=&quot;303.934&quot; y=&quot;204.37&quot; fill=&quot;var(--dk-diagram-node-text)&quot; font-size=&quot;14&quot; textLength=&quot;112.684&quot; font-weight=&quot;700&quot;&gt;agent_profiles&lt;/text&gt;&lt;text x=&quot;426.618&quot; y=&quot;204.37&quot; fill=&quot;var(--dk-diagram-node-text)&quot; font-size=&quot;14&quot; textLength=&quot;74.245&quot;&gt;&amp;#x3C;list[ref]&gt;&lt;/text&gt;&lt;line x1=&quot;421.618&quot; y1=&quot;189.375&quot; x2=&quot;421.618&quot; y2=&quot;209.672&quot; style=&quot;stroke:var(--dk-diagram-node-border);stroke-width:1;&quot;&gt;&lt;/line&gt;&lt;rect x=&quot;298.934&quot; y=&quot;47.297&quot; width=&quot;206.929&quot; height=&quot;162.375&quot; fill=&quot;none&quot; style=&quot;stroke:var(--dk-diagram-node-border);stroke-width:1.5;&quot; rx=&quot;5&quot; ry=&quot;5&quot;&gt;&lt;/rect&gt;&lt;path d=&quot;M249.934,128.484 L262.934,128.484 C272.169,128.484 281.75,128.484 291.365,128.484&quot; style=&quot;stroke:var(--dk-diagram-edge);stroke-width:1;stroke-dasharray:3,3;&quot; fill=&quot;none&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M291.365,131.57 L293.68,128.484 L291.365,125.399 L299.079,128.484 L291.365,131.57&quot; fill=&quot;var(--dk-diagram-edge)&quot;&gt;&lt;/path&gt;&lt;ellipse cx=&quot;249.934&quot; cy=&quot;128.484&quot; rx=&quot;3&quot; ry=&quot;3&quot; fill=&quot;var(--dk-diagram-edge)&quot; style=&quot;stroke:var(--dk-diagram-edge);stroke-width:1;&quot;&gt;&lt;/ellipse&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/figure&gt;
&lt;p&gt;Likewise &lt;strong&gt;&lt;code dir=&quot;auto&quot;&gt;mission_type&lt;/code&gt;&lt;/strong&gt; is a mission concept (the key in &lt;code dir=&quot;auto&quot;&gt;meta.json&lt;/code&gt; this whole
seam resolves off), not an artefact kind — the &lt;a href=&quot;/architecture/doctrine-kinds/&quot;&gt;kinds catalog&lt;/a&gt;
deliberately omits both.&lt;/p&gt;
&lt;h2 id=&quot;see-also&quot;&gt;See also&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;/architecture/mission-system/&quot;&gt;The Mission System Explained&lt;/a&gt; — mission types, missions, work packages, and the two state machines.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;/architecture/runtime-loop/&quot;&gt;The Runtime Loop Explained&lt;/a&gt; — how the FSM core consumes the resolved mission type.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;/architecture/org-doctrine-layer/&quot;&gt;Understanding the Org Layer of the Charter Offering&lt;/a&gt; — the builtin → org → project overlay stack the per-type override rides.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;/architecture/charter-synthesis-drg/&quot;&gt;Understanding Charter: Synthesis, DRG, and Governed Context&lt;/a&gt; — how governed context flows to agents.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;/adr/3.x/2026-07-14-2-doctrine-to-core-mission-type-resolution-unification/&quot;&gt;ADR 2026-07-14-2 — Doctrine → Charter → Core Mission-Type Resolution Unification&lt;/a&gt; — the decision record.&lt;/li&gt;
&lt;/ul&gt;</content>
</entry>
