<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Decisions on eds-inventory</title><link>https://cdeever.github.io/eds-inventory/docs/architecture/decisions/</link><description>Recent content in Decisions on eds-inventory</description><generator>Hugo</generator><language>en-us</language><atom:link href="https://cdeever.github.io/eds-inventory/docs/architecture/decisions/index.xml" rel="self" type="application/rss+xml"/><item><title>ADR-0001: Go Services and a SQLite Store</title><link>https://cdeever.github.io/eds-inventory/docs/architecture/decisions/0001-go-services-and-a-sqlite-store/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://cdeever.github.io/eds-inventory/docs/architecture/decisions/0001-go-services-and-a-sqlite-store/</guid><description>&lt;h1 id="adr-0001-the-services-are-go-and-the-inventory-is-kept-in-sqlite-with-no-cgo"&gt;ADR-0001: The Services Are Go, and the Inventory Is Kept in SQLite, with No cgo&lt;a class="anchor" href="#adr-0001-the-services-are-go-and-the-inventory-is-kept-in-sqlite-with-no-cgo"&gt;&lt;/a&gt;&lt;/h1&gt;&#10;&lt;table&gt;&#10;&#9;&lt;thead&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;&lt;/th&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/thead&gt;&#10;&#9;&lt;tbody&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&lt;strong&gt;Status&lt;/strong&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&lt;span class="status-badge inc-green"&gt;Accepted&lt;/span&gt;&#10; 2026-10-24&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&lt;strong&gt;Date&lt;/strong&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;2026-10-24&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&lt;strong&gt;Scope&lt;/strong&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;The language of eds-inventory&amp;rsquo;s services, and the database the inventory is kept in. Not how sources are matched to one another, which is later.&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/tbody&gt;&#10;&lt;/table&gt;&#10;&lt;hr&gt;&#10;&lt;h2 id="context"&gt;Context&lt;a class="anchor" href="#context"&gt;&lt;/a&gt;&lt;/h2&gt;&#10;&lt;p&gt;The inventory needs a store from its first slice, the owner&amp;rsquo;s iTunes&#10;library. It holds one owner&amp;rsquo;s music: a few thousand albums, not millions.&#10;It runs in EdS&amp;rsquo;s tenant, where EdS&amp;rsquo;s back end may run on one Pi or several&#10;(EdS ADR-0033), so whatever it is made of must run there.&lt;/p&gt;</description></item><item><title>ADR-0002: The iTunes Library Is Collected from Its XML</title><link>https://cdeever.github.io/eds-inventory/docs/architecture/decisions/0002-the-itunes-library-is-collected-from-its-xml/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://cdeever.github.io/eds-inventory/docs/architecture/decisions/0002-the-itunes-library-is-collected-from-its-xml/</guid><description>&lt;h1 id="adr-0002-the-itunes-library-is-collected-from-its-xml-and-asked-for-by-nearest-name"&gt;ADR-0002: The iTunes Library Is Collected from Its XML, and Asked for by Nearest Name&lt;a class="anchor" href="#adr-0002-the-itunes-library-is-collected-from-its-xml-and-asked-for-by-nearest-name"&gt;&lt;/a&gt;&lt;/h1&gt;&#10;&lt;table&gt;&#10;&#9;&lt;thead&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;&lt;/th&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/thead&gt;&#10;&#9;&lt;tbody&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&lt;strong&gt;Status&lt;/strong&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&lt;span class="status-badge inc-green"&gt;Accepted&lt;/span&gt;&#10; 2026-10-24&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&lt;strong&gt;Date&lt;/strong&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;2026-10-24&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&lt;strong&gt;Scope&lt;/strong&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;The first source, the owner&amp;rsquo;s iTunes library: how it is read, how its albums are kept, and the first version of the contract that answers for it. Not how the XML reaches the inventory, which waits on where the inventory runs.&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&lt;strong&gt;Takes over&lt;/strong&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;EdS ADR-0046, whose index of the library this replaces&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/tbody&gt;&#10;&lt;/table&gt;&#10;&lt;hr&gt;&#10;&lt;h2 id="context"&gt;Context&lt;a class="anchor" href="#context"&gt;&lt;/a&gt;&lt;/h2&gt;&#10;&lt;p&gt;EdS&amp;rsquo;s voiced matches spoken requests against an index of the owner&amp;rsquo;s iTunes&#10;library: &lt;code&gt;library.json&lt;/code&gt;, made by EdS from the XML iTunes writes and copied&#10;to voiced by hand (EdS ADR-0046). It asks four things of it: the artist&#10;nearest a name, the album nearest a title, the first of several titles the&#10;library has, and an artist&amp;rsquo;s own albums by year. That index is an inventory&#10;concern living in EdS.&lt;/p&gt;</description></item><item><title>ADR-0003: It Deploys Itself to EdS's Workload</title><link>https://cdeever.github.io/eds-inventory/docs/architecture/decisions/0003-it-deploys-itself-to-eds-workload/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://cdeever.github.io/eds-inventory/docs/architecture/decisions/0003-it-deploys-itself-to-eds-workload/</guid><description>&lt;h1 id="adr-0003-eds-inventory-deploys-itself-onto-edss-services-workload-from-its-own-repository"&gt;ADR-0003: eds-inventory Deploys Itself onto EdS&amp;rsquo;s Services Workload, from Its Own Repository&lt;a class="anchor" href="#adr-0003-eds-inventory-deploys-itself-onto-edss-services-workload-from-its-own-repository"&gt;&lt;/a&gt;&lt;/h1&gt;&#10;&lt;table&gt;&#10;&#9;&lt;thead&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;&lt;/th&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/thead&gt;&#10;&#9;&lt;tbody&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&lt;strong&gt;Status&lt;/strong&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&lt;span class="status-badge inc-green"&gt;Accepted&lt;/span&gt;&#10; 2026-10-24&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&lt;strong&gt;Date&lt;/strong&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;2026-10-24&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&lt;strong&gt;Scope&lt;/strong&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;How inventoryd reaches the machine it runs on, and how a library reaches it. Not which machine that is in the long run: EdS&amp;rsquo;s back end may become several Pis, and which services go where is open.&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&lt;strong&gt;Extends&lt;/strong&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&lt;a href="https://cdeever.github.io/eds-inventory/docs/architecture/tenant/"&gt;Where It Runs&lt;/a&gt;: EdS&amp;rsquo;s tenant, since a tenant has no way in from another&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/tbody&gt;&#10;&lt;/table&gt;&#10;&lt;hr&gt;&#10;&lt;h2 id="context"&gt;Context&lt;a class="anchor" href="#context"&gt;&lt;/a&gt;&lt;/h2&gt;&#10;&lt;p&gt;The inventory runs in EdS&amp;rsquo;s Deevnet IoTaaS tenant, and its first client,&#10;EdS&amp;rsquo;s voiced, runs on EdS&amp;rsquo;s services workload. EdS deploys its own services&#10;there from its repository (&lt;code&gt;make -C deploy&lt;/code&gt;), as container images under&#10;systemd, built on the Builder and sent at a capped rate after its deploys&#10;hung the core router (EdS INC-0002).&lt;/p&gt;</description></item></channel></rss>