<?xml version="1.0" encoding="utf-8"?>
<entry xmlns="http://www.w3.org/2005/Atom" xml:base="https://docs.spec-kitty.ai/adr/2.x/">
  <id>https://docs.spec-kitty.ai/adr/2.x/</id>
  <title>2.x ADRs</title>
  <updated>2026-08-10T00:00:00.000Z</updated>
  <author><name>Spec Kitty</name></author>
  <link rel="alternate" type="text/html" href="https://docs.spec-kitty.ai/adr/2.x/"/>
  <summary>Index and era history for the 2.x decisions — event-sourced status, doctrine and glossary governance, tracker connectors, and the canonical runtime next command loop.</summary>
  <content type="html">&lt;span id=&quot;2x-adrs&quot;&gt;&lt;/span&gt;
&lt;p&gt;Architectural Decision Records for the 2.x track. &lt;strong&gt;Not the current track —
see &lt;a href=&quot;/adr/3.x/&quot;&gt;&lt;code dir=&quot;auto&quot;&gt;docs/adr/3.x/&lt;/code&gt;&lt;/a&gt; for current decisions.&lt;/strong&gt;&lt;/p&gt;
&lt;h2 id=&quot;era-history&quot;&gt;Era history&lt;/h2&gt;
&lt;p&gt;The 2.x era transformed Spec Kitty from a local-first CLI into a governed,
event-sourced mission runtime with optional hosted projection. Five behavioral domains
crystallized in this era and still frame the architecture:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Project and governance onboarding&lt;/strong&gt; — capturing project intent and compiling
governance defaults so missions start under an explicit charter rather than ad-hoc
conventions.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Mission runtime and flow control&lt;/strong&gt; — the canonical &lt;code dir=&quot;auto&quot;&gt;next&lt;/code&gt; command loop, runtime-owned
mission discovery and loading, and rich JSON outputs for agent-driven commands.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Doctrine and knowledge governance&lt;/strong&gt; — the doctrine artifact governance model and the
living glossary/context curation model that supply validated policy context to the
runtime.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Work-package state and evidence&lt;/strong&gt; — the canonical WP status model, the lifecycle state
machine, and event-log merge semantics that made lifecycle state append-only and
auditable. Runtime &lt;strong&gt;decides&lt;/strong&gt; what should happen next; the status/event model
&lt;strong&gt;validates and persists&lt;/strong&gt; what did happen — a separation this era made load-bearing.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;External integration boundaries&lt;/strong&gt; — orchestrator and tracker connector surfaces that
project host state outward without ceding lifecycle authority, including the
tracker-agnostic connector architecture and Docker-sandboxed / fresh-context execution
modes.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Two invariants from this era carry forward: &lt;strong&gt;runtime decisioning is separate from state
mutation&lt;/strong&gt;, and &lt;strong&gt;branch/target-line routing is authored in mission metadata&lt;/strong&gt;, not
inferred from the invocation location. The era also introduced the versioned 1.x/2.x
docs-site posture without committing to a hosted platform, and hardened the
verify/doctor command taxonomy and post-merge audit primitives.&lt;/p&gt;
&lt;p&gt;This track captured the architecture through the 2.x → 3.x cutover. The current track is
&lt;a href=&quot;/adr/3.x/&quot;&gt;3.x&lt;/a&gt;; the foundational decisions are &lt;a href=&quot;/adr/1.x/&quot;&gt;1.x&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id=&quot;naming&quot;&gt;Naming&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code dir=&quot;auto&quot;&gt;YYYY-MM-DD-N-descriptive-title-with-dashes.md&lt;/code&gt; where &lt;code dir=&quot;auto&quot;&gt;N&lt;/code&gt; increments per ADR landed on a
given date (1, 2, 3…).&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&quot;source-of-truth&quot;&gt;Source of Truth&lt;/h2&gt;
&lt;p&gt;This folder is canonical for 2.x decisions (dates before 2026-03-30, the
3.0.0 release). ADRs dated on or after 2026-03-30 were moved to
&lt;a href=&quot;/adr/3.x/&quot;&gt;&lt;code dir=&quot;auto&quot;&gt;docs/adr/3.x/&lt;/code&gt;&lt;/a&gt;. The &lt;code dir=&quot;auto&quot;&gt;architecture/&lt;/code&gt; tree was removed by the
Common Docs structural move (PR #2225); existing references using the old
&lt;code dir=&quot;auto&quot;&gt;architecture/2.x/adr/&amp;#x3C;filename&gt;&lt;/code&gt; or &lt;code dir=&quot;auto&quot;&gt;architecture/adrs/&lt;/code&gt; paths should be updated to the
new &lt;code dir=&quot;auto&quot;&gt;docs/adr/&lt;/code&gt; paths.&lt;/p&gt;
&lt;h2 id=&quot;status-conventions&quot;&gt;Status Conventions&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code dir=&quot;auto&quot;&gt;Accepted&lt;/code&gt; means the decision remains current policy.&lt;/li&gt;
&lt;li&gt;&lt;code dir=&quot;auto&quot;&gt;Superseded&lt;/code&gt; means a newer ADR replaced the decision; keep the file for history, but do not implement from it.&lt;/li&gt;
&lt;li&gt;&lt;code dir=&quot;auto&quot;&gt;Deprecated&lt;/code&gt; means the direction is in active retirement and should not receive new work.&lt;/li&gt;
&lt;/ul&gt;</content>
</entry>
