<?xml version="1.0" encoding="utf-8"?>
<entry xmlns="http://www.w3.org/2005/Atom" xml:base="https://docs.spec-kitty.ai/migrations/backfill-wp-status/">
  <id>https://docs.spec-kitty.ai/migrations/backfill-wp-status/</id>
  <title>How to repair a Mission whose status snapshot misses work packages</title>
  <updated>2026-10-03T00:00:00.000Z</updated>
  <author><name>Spec Kitty</name></author>
  <link rel="alternate" type="text/html" href="https://docs.spec-kitty.ai/migrations/backfill-wp-status/"/>
  <summary>Use spec-kitty migrate backfill-wp-status to seed the lane events a Mission’s WP files lack, so status counts match the files; covers dry-run, evidence manifest and JSON.</summary>
  <content type="html">&lt;span id=&quot;how-to-repair-a-mission-whose-status-snapshot-misses-work-packages&quot;&gt;&lt;/span&gt;
&lt;p&gt;&lt;strong&gt;Audience&lt;/strong&gt;: project owners and maintainers whose Mission shows fewer work
packages (WPs) in &lt;code dir=&quot;auto&quot;&gt;spec-kitty agent tasks status&lt;/code&gt; or in &lt;code dir=&quot;auto&quot;&gt;status.json&lt;/code&gt; than it has
&lt;code dir=&quot;auto&quot;&gt;tasks/WP*.md&lt;/code&gt; files.&lt;/p&gt;
&lt;p&gt;&lt;code dir=&quot;auto&quot;&gt;spec-kitty migrate backfill-wp-status&lt;/code&gt; appends the missing &lt;code dir=&quot;auto&quot;&gt;planned&lt;/code&gt; lane
events so the snapshot counts every WP file. Mission data is repaired in place;
no WP file is created, edited or deleted.&lt;/p&gt;
&lt;h2 id=&quot;why-a-mission-can-be-short-of-wps&quot;&gt;Why a Mission can be short of WPs&lt;/h2&gt;
&lt;p&gt;The status snapshot is reduced from &lt;code dir=&quot;auto&quot;&gt;status.events.jsonl&lt;/code&gt;, and a WP with no lane
event never appears in it (see the &lt;em&gt;genesis&lt;/em&gt; lane in
&lt;a href=&quot;/adr/3.x/2026-06-07-3-wp-lane-fsm-genesis-and-finalize-clobber/&quot;&gt;ADR 2026-06-07-3&lt;/a&gt;).
A Mission whose log never seeded some &lt;code dir=&quot;auto&quot;&gt;tasks/WP*.md&lt;/code&gt; file therefore under-counts
on every surface that lists WPs from the files. In this repository 51 Missions
had a snapshot WP count that disagreed with their WP files (#5579): 44 were
repaired with this command and 7 are permanent carve-outs whose WP files were
never committed.&lt;/p&gt;
&lt;h2 id=&quot;before-you-start&quot;&gt;Before you start&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Run inside the project whose Missions you want to repair.&lt;/li&gt;
&lt;li&gt;Run &lt;code dir=&quot;auto&quot;&gt;--dry-run&lt;/code&gt; first. It writes nothing.&lt;/li&gt;
&lt;li&gt;If some Missions are finished, prepare the evidence manifest &lt;strong&gt;before the first
live run&lt;/strong&gt; (see below).&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&quot;steps&quot;&gt;Steps&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Preview the repair for the whole corpus:&lt;/p&gt;
&lt;div class=&quot;expressive-code&quot;&gt;&lt;figure class=&quot;frame is-terminal not-content&quot;&gt;&lt;figcaption class=&quot;header&quot;&gt;&lt;span class=&quot;title&quot;&gt;&lt;/span&gt;&lt;span class=&quot;sr-only&quot;&gt;Terminal window&lt;/span&gt;&lt;/figcaption&gt;&lt;pre data-language=&quot;bash&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:#82AAFF;--1:#3B61B0&quot;&gt;spec-kitty&lt;/span&gt;&lt;span style=&quot;--0:#D6DEEB;--1:#403F53&quot;&gt; &lt;/span&gt;&lt;span style=&quot;--0:#ECC48D;--1:#3B61B0&quot;&gt;migrate&lt;/span&gt;&lt;span style=&quot;--0:#D6DEEB;--1:#403F53&quot;&gt; &lt;/span&gt;&lt;span style=&quot;--0:#ECC48D;--1:#3B61B0&quot;&gt;backfill-wp-status&lt;/span&gt;&lt;span style=&quot;--0:#D6DEEB;--1:#403F53&quot;&gt; &lt;/span&gt;&lt;span style=&quot;--0:#82AAFF;--1:#3B61B0&quot;&gt;--dry-run&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/figure&gt;&lt;/div&gt;
&lt;p&gt;Each affected Mission is listed with the events it would seed. Add &lt;code dir=&quot;auto&quot;&gt;--mission &amp;#x3C;handle&gt;&lt;/code&gt; (&lt;code dir=&quot;auto&quot;&gt;mission_id&lt;/code&gt;, &lt;code dir=&quot;auto&quot;&gt;mid8&lt;/code&gt; or slug) to look at one Mission.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;If a Mission is finished, name it in an evidence manifest (next section) and
re-run the preview with &lt;code dir=&quot;auto&quot;&gt;--evidence-manifest evidence.yaml --dry-run&lt;/code&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Run the repair:&lt;/p&gt;
&lt;div class=&quot;expressive-code&quot;&gt;&lt;figure class=&quot;frame is-terminal not-content&quot;&gt;&lt;figcaption class=&quot;header&quot;&gt;&lt;span class=&quot;title&quot;&gt;&lt;/span&gt;&lt;span class=&quot;sr-only&quot;&gt;Terminal window&lt;/span&gt;&lt;/figcaption&gt;&lt;pre data-language=&quot;bash&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:#82AAFF;--1:#3B61B0&quot;&gt;spec-kitty&lt;/span&gt;&lt;span style=&quot;--0:#D6DEEB;--1:#403F53&quot;&gt; &lt;/span&gt;&lt;span style=&quot;--0:#ECC48D;--1:#3B61B0&quot;&gt;migrate&lt;/span&gt;&lt;span style=&quot;--0:#D6DEEB;--1:#403F53&quot;&gt; &lt;/span&gt;&lt;span style=&quot;--0:#ECC48D;--1:#3B61B0&quot;&gt;backfill-wp-status&lt;/span&gt;&lt;span style=&quot;--0:#D6DEEB;--1:#403F53&quot;&gt; &lt;/span&gt;&lt;span style=&quot;--0:#82AAFF;--1:#3B61B0&quot;&gt;--evidence-manifest&lt;/span&gt;&lt;span style=&quot;--0:#D6DEEB;--1:#403F53&quot;&gt; &lt;/span&gt;&lt;span style=&quot;--0:#ECC48D;--1:#3B61B0&quot;&gt;evidence.yaml&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/figure&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Run it once more. A second run appends nothing; every Mission reports as
skipped (nothing to seed).&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&quot;mark-finished-missions-with-an-evidence-manifest&quot;&gt;Mark finished Missions with an evidence manifest&lt;/h2&gt;
&lt;p&gt;A Mission counts as finished only on terminal evidence. Nothing else qualifies:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;its &lt;code dir=&quot;auto&quot;&gt;meta.json&lt;/code&gt; carries &lt;code dir=&quot;auto&quot;&gt;merged_at&lt;/code&gt; or &lt;code dir=&quot;auto&quot;&gt;accepted_at&lt;/code&gt;, or&lt;/li&gt;
&lt;li&gt;it has an entry in the evidence manifest.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;For a finished Mission, each freshly seeded WP is seeded &lt;code dir=&quot;auto&quot;&gt;planned&lt;/code&gt; and then
moved to &lt;code dir=&quot;auto&quot;&gt;done&lt;/code&gt; with a forced event whose reason cites that evidence, so the
Mission reads 100% done. Without evidence the seeded WPs stay &lt;code dir=&quot;auto&quot;&gt;planned&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;The manifest is YAML. Each key is the &lt;strong&gt;exact Mission directory name&lt;/strong&gt; under
&lt;code dir=&quot;auto&quot;&gt;kitty-specs/&lt;/code&gt;, and each entry has a non-empty &lt;code dir=&quot;auto&quot;&gt;reason&lt;/code&gt;:&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;yaml&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:#7FDBCA;--1:#111111&quot;&gt;missions&lt;/span&gt;&lt;span style=&quot;--0:#D6DEEB;--1:#403F53&quot;&gt;:&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&gt;&lt;span style=&quot;--0:#7FDBCA;--1:#111111&quot;&gt;my-mission-01ABCDEF&lt;/span&gt;&lt;span style=&quot;--0:#D6DEEB;--1:#403F53&quot;&gt;:&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&gt;&lt;span style=&quot;--0:#7FDBCA;--1:#111111&quot;&gt;reason&lt;/span&gt;&lt;span style=&quot;--0:#D6DEEB;--1:#403F53&quot;&gt;: &lt;/span&gt;&lt;span style=&quot;--0:#D9F5DD;--1:#111111&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;--0:#ECC48D;--1:#984E4D&quot;&gt;PR #1234 merged 2026-09-01; dossier landed on main&lt;/span&gt;&lt;span style=&quot;--0:#D9F5DD;--1:#111111&quot;&gt;&quot;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/figure&gt;&lt;/div&gt;
&lt;p&gt;The manifest is validated before anything is written. These make the command
exit 1 with nothing changed:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;the file is unreadable or not valid YAML;&lt;/li&gt;
&lt;li&gt;a top-level key other than &lt;code dir=&quot;auto&quot;&gt;missions&lt;/code&gt;, or an entry key other than &lt;code dir=&quot;auto&quot;&gt;reason&lt;/code&gt;;&lt;/li&gt;
&lt;li&gt;a missing, blank or non-text &lt;code dir=&quot;auto&quot;&gt;reason&lt;/code&gt;;&lt;/li&gt;
&lt;li&gt;a Mission name that is not a &lt;code dir=&quot;auto&quot;&gt;kitty-specs/&lt;/code&gt; directory (a typo would otherwise
do nothing). This is checked even when &lt;code dir=&quot;auto&quot;&gt;--mission&lt;/code&gt; scopes the run elsewhere.&lt;/li&gt;
&lt;/ul&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;The manifest must be complete on the first live run.&lt;/strong&gt; Evidence applies
only to WPs seeded in that same run. Once a run has seeded a WP &lt;code dir=&quot;auto&quot;&gt;planned&lt;/code&gt;, it is
no longer a gap, so evidence supplied later is a no-op: those WPs are not
moved to &lt;code dir=&quot;auto&quot;&gt;done&lt;/code&gt;. The summary warns for every manifest entry that had nothing
to seed. Use &lt;code dir=&quot;auto&quot;&gt;--dry-run&lt;/code&gt; with the full manifest first.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2 id=&quot;what-the-command-changes&quot;&gt;What the command changes&lt;/h2&gt;

































&lt;table&gt;&lt;thead&gt;&lt;tr&gt;&lt;th&gt;Case&lt;/th&gt;&lt;th&gt;Result&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;WP file with no lane event&lt;/td&gt;&lt;td&gt;One &lt;code dir=&quot;auto&quot;&gt;planned&lt;/code&gt; event, actor &lt;code dir=&quot;auto&quot;&gt;migration:backfill_wp_status&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Same WP in a finished Mission&lt;/td&gt;&lt;td&gt;&lt;code dir=&quot;auto&quot;&gt;planned&lt;/code&gt; seed, then a forced &lt;code dir=&quot;auto&quot;&gt;done&lt;/code&gt; event citing the evidence&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;WP that already has any lane event&lt;/td&gt;&lt;td&gt;Left untouched&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;WP in the snapshot but with no WP file&lt;/td&gt;&lt;td&gt;Reported as snapshot-only; never repaired and no file is invented&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;WP file with unusable frontmatter&lt;/td&gt;&lt;td&gt;Reported as malformed and skipped&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Mission whose status log lives on a live coordination surface&lt;/td&gt;&lt;td&gt;Refused as &lt;code dir=&quot;auto&quot;&gt;COORD_SURFACE_LIVE&lt;/code&gt;; nothing is planned or written, not even on &lt;code dir=&quot;auto&quot;&gt;--dry-run&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;
&lt;h3 id=&quot;missions-with-a-live-coordination-surface&quot;&gt;Missions with a live coordination surface&lt;/h3&gt;
&lt;p&gt;A Mission with a coordination topology keeps its status log on the coordination
surface while the coordination branch exists and the Mission is not completed.
The log in the PRIMARY-partition &lt;code dir=&quot;auto&quot;&gt;kitty-specs/&lt;/code&gt; directory is not its authority,
so seeding it would split the Mission’s status in two. The command therefore
refuses such a Mission: it reports &lt;code dir=&quot;auto&quot;&gt;COORD_SURFACE_LIVE&lt;/code&gt;, counts it as refused,
not skipped (exit stays &lt;code dir=&quot;auto&quot;&gt;0&lt;/code&gt;), and writes nothing. Consolidate the Mission first
(&lt;code dir=&quot;auto&quot;&gt;spec-kitty consolidate --mission &amp;#x3C;handle&gt;&lt;/code&gt;) and rerun the command once the
coordination branch is gone. A Mission whose coordination branch has been deleted is
not refused; it is repaired in the PRIMARY-partition directory and no branch is
created.&lt;/p&gt;
&lt;p&gt;Events are appended to the Mission’s resolved status event log through the
existing migration writer. &lt;code dir=&quot;auto&quot;&gt;status.json&lt;/code&gt; is regenerated only where it already
existed. If that regeneration fails after the events were written, the Mission
is reported with a warning (&lt;code dir=&quot;auto&quot;&gt;refresh_error&lt;/code&gt;, counted in &lt;code dir=&quot;auto&quot;&gt;refresh_warnings&lt;/code&gt;), not
as an error, and the exit code stays &lt;code dir=&quot;auto&quot;&gt;0&lt;/code&gt;: run &lt;code dir=&quot;auto&quot;&gt;spec-kitty materialize&lt;/code&gt; to
regenerate the file. The command is idempotent.&lt;/p&gt;
&lt;h2 id=&quot;read-the-result&quot;&gt;Read the result&lt;/h2&gt;
&lt;p&gt;Exit codes:&lt;/p&gt;





















&lt;table&gt;&lt;thead&gt;&lt;tr&gt;&lt;th&gt;Code&lt;/th&gt;&lt;th&gt;Meaning&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;code dir=&quot;auto&quot;&gt;0&lt;/code&gt;&lt;/td&gt;&lt;td&gt;Every visited Mission was repaired, needed nothing, or was refused as &lt;code dir=&quot;auto&quot;&gt;COORD_SURFACE_LIVE&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;code dir=&quot;auto&quot;&gt;1&lt;/code&gt;&lt;/td&gt;&lt;td&gt;A per-Mission error, an invalid evidence manifest, or, with &lt;code dir=&quot;auto&quot;&gt;--json&lt;/code&gt;, an unknown or ambiguous &lt;code dir=&quot;auto&quot;&gt;--mission&lt;/code&gt; handle&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;code dir=&quot;auto&quot;&gt;2&lt;/code&gt;&lt;/td&gt;&lt;td&gt;An unknown or ambiguous &lt;code dir=&quot;auto&quot;&gt;--mission&lt;/code&gt; handle in human output (the same canonical resolver as the other &lt;code dir=&quot;auto&quot;&gt;migrate&lt;/code&gt; commands)&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;
&lt;p&gt;A per-Mission error does not stop the walk over the other Missions; the run
still exits 1.&lt;/p&gt;
&lt;p&gt;With &lt;code dir=&quot;auto&quot;&gt;--json&lt;/code&gt;, the command prints one object:&lt;/p&gt;













































&lt;table&gt;&lt;thead&gt;&lt;tr&gt;&lt;th&gt;Key&lt;/th&gt;&lt;th&gt;Content&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;code dir=&quot;auto&quot;&gt;dry_run&lt;/code&gt;&lt;/td&gt;&lt;td&gt;&lt;code dir=&quot;auto&quot;&gt;true&lt;/code&gt; when nothing was written&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;code dir=&quot;auto&quot;&gt;result&lt;/code&gt;&lt;/td&gt;&lt;td&gt;&lt;code dir=&quot;auto&quot;&gt;success&lt;/code&gt; or &lt;code dir=&quot;auto&quot;&gt;errors_present&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;code dir=&quot;auto&quot;&gt;mission&lt;/code&gt;&lt;/td&gt;&lt;td&gt;The &lt;code dir=&quot;auto&quot;&gt;--mission&lt;/code&gt; handle, or &lt;code dir=&quot;auto&quot;&gt;null&lt;/code&gt; for the whole corpus&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;code dir=&quot;auto&quot;&gt;summary&lt;/code&gt;&lt;/td&gt;&lt;td&gt;Counters: &lt;code dir=&quot;auto&quot;&gt;scanned&lt;/code&gt;, &lt;code dir=&quot;auto&quot;&gt;missions_seeded&lt;/code&gt;, &lt;code dir=&quot;auto&quot;&gt;missions_would_seed&lt;/code&gt;, &lt;code dir=&quot;auto&quot;&gt;events_seeded&lt;/code&gt;, &lt;code dir=&quot;auto&quot;&gt;events_would_seed&lt;/code&gt;, &lt;code dir=&quot;auto&quot;&gt;finished_missions&lt;/code&gt;, &lt;code dir=&quot;auto&quot;&gt;snapshot_only_missions&lt;/code&gt;, &lt;code dir=&quot;auto&quot;&gt;malformed_missions&lt;/code&gt;, &lt;code dir=&quot;auto&quot;&gt;coord_surface_live_missions&lt;/code&gt;, &lt;code dir=&quot;auto&quot;&gt;refresh_warnings&lt;/code&gt;, &lt;code dir=&quot;auto&quot;&gt;skipped&lt;/code&gt;, &lt;code dir=&quot;auto&quot;&gt;errors&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;code dir=&quot;auto&quot;&gt;manifest.path&lt;/code&gt;&lt;/td&gt;&lt;td&gt;The manifest path, or &lt;code dir=&quot;auto&quot;&gt;null&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;code dir=&quot;auto&quot;&gt;manifest.entries&lt;/code&gt;&lt;/td&gt;&lt;td&gt;Number of manifest entries&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;code dir=&quot;auto&quot;&gt;manifest.unused&lt;/code&gt;&lt;/td&gt;&lt;td&gt;Entries that had no effect, each &lt;code dir=&quot;auto&quot;&gt;{mission, reason}&lt;/code&gt; where &lt;code dir=&quot;auto&quot;&gt;reason&lt;/code&gt; is &lt;code dir=&quot;auto&quot;&gt;not in scope&lt;/code&gt; (&lt;code dir=&quot;auto&quot;&gt;--mission&lt;/code&gt; named another Mission), &lt;code dir=&quot;auto&quot;&gt;nothing to seed&lt;/code&gt;, or &lt;code dir=&quot;auto&quot;&gt;coordination surface live&lt;/code&gt; (the Mission was refused)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;code dir=&quot;auto&quot;&gt;residue_directories&lt;/code&gt;&lt;/td&gt;&lt;td&gt;The &lt;code dir=&quot;auto&quot;&gt;kitty-specs/&lt;/code&gt; folders the walk left untouched because they are not Missions (no &lt;code dir=&quot;auto&quot;&gt;spec.md&lt;/code&gt; or &lt;code dir=&quot;auto&quot;&gt;meta.json&lt;/code&gt;); &lt;code dir=&quot;auto&quot;&gt;[]&lt;/code&gt; when there are none&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;code dir=&quot;auto&quot;&gt;missions&lt;/code&gt;&lt;/td&gt;&lt;td&gt;One row per Mission: &lt;code dir=&quot;auto&quot;&gt;slug&lt;/code&gt;, &lt;code dir=&quot;auto&quot;&gt;seeded&lt;/code&gt;, &lt;code dir=&quot;auto&quot;&gt;would_seed&lt;/code&gt;, &lt;code dir=&quot;auto&quot;&gt;files_only&lt;/code&gt;, &lt;code dir=&quot;auto&quot;&gt;snapshot_only&lt;/code&gt;, &lt;code dir=&quot;auto&quot;&gt;malformed&lt;/code&gt;, &lt;code dir=&quot;auto&quot;&gt;terminal_reason&lt;/code&gt;, &lt;code dir=&quot;auto&quot;&gt;status_json_refreshed&lt;/code&gt;, &lt;code dir=&quot;auto&quot;&gt;refresh_error&lt;/code&gt;, &lt;code dir=&quot;auto&quot;&gt;skip_reason&lt;/code&gt; (&lt;code dir=&quot;auto&quot;&gt;COORD_SURFACE_LIVE&lt;/code&gt; for a refused Mission), &lt;code dir=&quot;auto&quot;&gt;error&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;
&lt;p&gt;A failure before any write prints &lt;code dir=&quot;auto&quot;&gt;{&quot;success&quot;: false, &quot;error_code&quot;: ..., &quot;error&quot;: ...}&lt;/code&gt;
instead. An unknown or ambiguous handle adds &lt;code dir=&quot;auto&quot;&gt;handle&lt;/code&gt; (and, when ambiguous,
&lt;code dir=&quot;auto&quot;&gt;candidates&lt;/code&gt;) and uses the codes &lt;code dir=&quot;auto&quot;&gt;MISSION_NOT_FOUND&lt;/code&gt; and &lt;code dir=&quot;auto&quot;&gt;MISSION_AMBIGUOUS_SELECTOR&lt;/code&gt;.&lt;/p&gt;
&lt;h2 id=&quot;related&quot;&gt;Related&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;/api/cli-commands/#spec-kitty-migrate-backfill-wp-status&quot;&gt;&lt;code dir=&quot;auto&quot;&gt;spec-kitty migrate backfill-wp-status&lt;/code&gt; in the CLI reference&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;/architecture/status-model/&quot;&gt;Status model&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</content>
</entry>
