<?xml version="1.0" encoding="utf-8"?>
<entry xmlns="http://www.w3.org/2005/Atom" xml:base="https://docs.spec-kitty.ai/adr/">
  <id>https://docs.spec-kitty.ai/adr/</id>
  <title>Architecture Decision Records</title>
  <updated>2026-11-01T00:00:00.000Z</updated>
  <author><name>Spec Kitty</name></author>
  <link rel="alternate" type="text/html" href="https://docs.spec-kitty.ai/adr/"/>
  <summary>Architecture Decision Records for Spec Kitty, organized by release era (1.x to 4.x); new ADRs land in the 4.x era. Each ADR records one decision and its rationale.</summary>
  <content type="html">&lt;span id=&quot;architecture-decision-records&quot;&gt;&lt;/span&gt;
&lt;p&gt;Architecture Decision Records (ADRs) capture a single architectural decision and
the rationale behind it. They are organized by release era so the history of the
system is navigable across major versions.&lt;/p&gt;
&lt;h2 id=&quot;eras&quot;&gt;Eras&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;/adr/1.x/&quot;&gt;1.x ADRs&lt;/a&gt; — decisions from the 1.x lineage.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;/adr/2.x/&quot;&gt;2.x ADRs&lt;/a&gt; — decisions from the 2.x lineage.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;/adr/3.x/&quot;&gt;3.x ADRs&lt;/a&gt; — decisions from the 3.x line, plus those written early in the
4.0.0 cycle (up to 2026-09-29), before the 4.x folder opened.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;/adr/4.x/&quot;&gt;4.x ADRs&lt;/a&gt; — &lt;strong&gt;current.&lt;/strong&gt; New ADRs land here.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&quot;adding-an-adr&quot;&gt;Adding an ADR&lt;/h2&gt;
&lt;p&gt;Add the ADR file under &lt;code dir=&quot;auto&quot;&gt;docs/adr/&amp;#x3C;era&gt;/&lt;/code&gt; (use &lt;code dir=&quot;auto&quot;&gt;4.x&lt;/code&gt; for a new decision) and
nothing else: do not add its era index-table row or regenerate the
page-inventory lockfile (&lt;code dir=&quot;auto&quot;&gt;docs/development/page-inventory.yaml&lt;/code&gt;) in your PR.
After merge, the &lt;code dir=&quot;auto&quot;&gt;ci/regen-docs-index&lt;/code&gt; bot pull request runs
&lt;code dir=&quot;auto&quot;&gt;python -m scripts.docs.freshen_adr_inventory --all&lt;/code&gt;, which adds every missing
row in one idempotent, date-ordered pass and regenerates the inventory and the
docs retrieval index. A PR that adds an era row fails the &lt;code dir=&quot;auto&quot;&gt;docs-lint&lt;/code&gt; guard.
Use &lt;code dir=&quot;auto&quot;&gt;--check&lt;/code&gt; locally to see what the bot will add.&lt;/p&gt;
&lt;p&gt;To rename or delete an ADR, rename or delete the file only and leave its row
alone. The bot runs &lt;code dir=&quot;auto&quot;&gt;--all --prune&lt;/code&gt;, which also removes every row whose ADR file
no longer exists, so a renamed ADR’s old row is dropped and its new row is added
in the same bot pull request. Use &lt;code dir=&quot;auto&quot;&gt;--check --prune&lt;/code&gt; locally to see dangling rows.&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;/&quot;&gt;Documentation home&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;/architecture/&quot;&gt;Architecture&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</content>
</entry>
