<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>retrofit</title><link>https://docs.retrofit.sh/current/</link><description>Recent content on retrofit</description><generator>Hugo</generator><language>en-us</language><atom:link href="https://docs.retrofit.sh/current/index.xml" rel="self" type="application/rss+xml"/><item><title>Getting started</title><link>https://docs.retrofit.sh/current/getting-started/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.retrofit.sh/current/getting-started/</guid><description>&lt;h1 id="getting-started"&gt;Getting started&lt;a class="anchor" href="#getting-started" aria-label="Link"&gt;&lt;/a&gt;&lt;/h1&gt;&#10;&lt;p&gt;A 5-minute walkthrough: install retrofit, build (or bootstrap) a small&#10;schema, look at the oplog file you just created, and emit DDL.&lt;/p&gt;&#10;&lt;p&gt;There are two ways to start an oplog:&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;strong&gt;From scratch&lt;/strong&gt;: register a schema and append operators by hand,&#10;one DDL change at a time. Best when you&amp;rsquo;re designing a new schema or&#10;learning retrofit. Jump to &lt;a href="#track-a-start-from-scratch"&gt;Track A&lt;/a&gt;.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;From an existing &lt;code&gt;.sql&lt;/code&gt; file&lt;/strong&gt;: bootstrap an oplog from&#10;hand-written DDL or a &lt;code&gt;pg_dump --schema-only&lt;/code&gt;. &lt;code&gt;import&lt;/code&gt; walks the&#10;SQL, mints equivalent operators, and gives you an oplog you can&#10;evolve from there. Jump to&#10;&lt;a href="#track-b-bootstrap-from-existing-sql"&gt;Track B&lt;/a&gt;.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;The two tracks share &lt;code&gt;init&lt;/code&gt;, &lt;code&gt;snapshot&lt;/code&gt;, and &lt;code&gt;op seal&lt;/code&gt;; only the&#10;middle differs.&lt;/p&gt;</description></item><item><title>Concepts</title><link>https://docs.retrofit.sh/current/concepts/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.retrofit.sh/current/concepts/</guid><description>&lt;h1 id="concepts"&gt;Concepts&lt;a class="anchor" href="#concepts" aria-label="Link"&gt;&lt;/a&gt;&lt;/h1&gt;&#10;&lt;p&gt;The mental model behind retrofit.&lt;/p&gt;&#10;&lt;p&gt;For installation and a hello-world session see&#10;&lt;a href="https://docs.retrofit.sh/current/getting-started/"&gt;&lt;code&gt;getting-started.md&lt;/code&gt;&lt;/a&gt;. For the rules retrofit&#10;upholds see &lt;a href="https://docs.retrofit.sh/current/principles/"&gt;&lt;code&gt;principles.md&lt;/code&gt;&lt;/a&gt;.&lt;/p&gt;&#10;&lt;h2 id="the-premise"&gt;The premise&lt;a class="anchor" href="#the-premise" aria-label="Link"&gt;&lt;/a&gt;&lt;/h2&gt;&#10;&lt;p&gt;A traditional migration tool manages &lt;strong&gt;what the schema is&lt;/strong&gt;. You&#10;hand-write DDL, the tool tracks which scripts have run, and the&#10;production schema is the sum of those scripts.&lt;/p&gt;&#10;&lt;p&gt;What retrofit manages is &lt;strong&gt;how the schema changes&lt;/strong&gt;. You don&amp;rsquo;t write DDL. You&#10;record semantic operations (&lt;em&gt;rename this column&lt;/em&gt;, &lt;em&gt;cast this type&lt;/em&gt;,&#10;&lt;em&gt;extract this wide table into two narrower ones&lt;/em&gt;) and retrofit&#10;materializes the SQL.&lt;/p&gt;</description></item><item><title>Principles</title><link>https://docs.retrofit.sh/current/principles/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.retrofit.sh/current/principles/</guid><description>&lt;h1 id="principles"&gt;Principles&lt;a class="anchor" href="#principles" aria-label="Link"&gt;&lt;/a&gt;&lt;/h1&gt;&#10;&lt;p&gt;The rules retrofit upholds. They explain why the tool behaves the way&#10;it does, and why a few things you might expect to be configurable&#10;aren&amp;rsquo;t.&lt;/p&gt;&#10;&lt;p&gt;Each is enforced in code, tests or review.&lt;/p&gt;&#10;&lt;p&gt;For the mental model the principles act on, see&#10;&lt;a href="https://docs.retrofit.sh/current/concepts/"&gt;&lt;code&gt;concepts.md&lt;/code&gt;&lt;/a&gt;. For a hands-on tour see&#10;&lt;a href="https://docs.retrofit.sh/current/getting-started/"&gt;&lt;code&gt;getting-started.md&lt;/code&gt;&lt;/a&gt;.&lt;/p&gt;&#10;&lt;h2 id="1-rows-in-the-target-database-are-the-asset"&gt;1. Rows in the target database are the asset&lt;a class="anchor" href="#1-rows-in-the-target-database-are-the-asset" aria-label="Link"&gt;&lt;/a&gt;&lt;/h2&gt;&#10;&lt;p&gt;The tool emits schema changes for live databases, whose rows have to&#10;survive the change. Four things follow.&lt;/p&gt;</description></item><item><title>import</title><link>https://docs.retrofit.sh/current/import/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.retrofit.sh/current/import/</guid><description>&lt;h1 id="import"&gt;import&lt;a class="anchor" href="#import" aria-label="Link"&gt;&lt;/a&gt;&lt;/h1&gt;&#10;&lt;p&gt;&lt;code&gt;retrofit import&lt;/code&gt; bootstraps an oplog from one or more &lt;code&gt;.sql&lt;/code&gt; files.&#10;It walks the DDL in retrofit&amp;rsquo;s vocabulary and appends the equivalent&#10;&lt;code&gt;op add&lt;/code&gt; calls to a fresh (or extended) oplog.&lt;/p&gt;&#10;&lt;p&gt;Read &lt;a href="https://docs.retrofit.sh/current/concepts/"&gt;&lt;code&gt;concepts.md&lt;/code&gt;&lt;/a&gt; first for the oplog / cut / element&#10;identity vocabulary. This doc covers what import sees, what it&#10;produces, what it cannot produce, and why.&lt;/p&gt;&#10;&lt;h2 id="usage"&gt;Usage&lt;a class="anchor" href="#usage" aria-label="Link"&gt;&lt;/a&gt;&lt;/h2&gt;&#10;&lt;p&gt;Pass one or more &lt;code&gt;&amp;lt;source&amp;gt;&lt;/code&gt; paths (or &lt;code&gt;-&lt;/code&gt; for stdin). Schema&#10;selection follows the six-step &lt;a href="https://docs.retrofit.sh/current/concepts/#the-resolver-chain"&gt;resolver&#10;chain&lt;/a&gt;: pass &lt;code&gt;--schema &amp;lt;name&amp;gt;&lt;/code&gt;&#10;explicitly, or rely on &lt;code&gt;[directory_scope]&lt;/code&gt; / implicit oplog-dir /&#10;&lt;code&gt;default_schema&lt;/code&gt;.&lt;/p&gt;</description></item><item><title>drift</title><link>https://docs.retrofit.sh/current/drift/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.retrofit.sh/current/drift/</guid><description>&lt;h1 id="drift"&gt;drift&lt;a class="anchor" href="#drift" aria-label="Link"&gt;&lt;/a&gt;&lt;/h1&gt;&#10;&lt;p&gt;&lt;code&gt;retrofit drift&lt;/code&gt; reads a schema dump, typically &lt;code&gt;pg_dump --schema-only&lt;/code&gt;,&#10;though any DDL that re-creates the schema&amp;rsquo;s current shape will do. It&#10;infers what changed since the oplog&amp;rsquo;s head and appends the ops that&#10;bring the oplog to that shape, asking a question where a change has&#10;more than one reading. Under &lt;code&gt;--dry-run&lt;/code&gt; it reports those ops and&#10;writes nothing.&lt;/p&gt;&#10;&lt;p&gt;Read &lt;a href="https://docs.retrofit.sh/current/concepts/"&gt;&lt;code&gt;concepts.md&lt;/code&gt;&lt;/a&gt; first for the oplog / cut / element&#10;identity vocabulary.&lt;/p&gt;</description></item><item><title>snapshot</title><link>https://docs.retrofit.sh/current/snapshot/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.retrofit.sh/current/snapshot/</guid><description>&lt;h1 id="snapshot"&gt;snapshot&lt;a class="anchor" href="#snapshot" aria-label="Link"&gt;&lt;/a&gt;&lt;/h1&gt;&#10;&lt;p&gt;&lt;code&gt;retrofit snapshot&lt;/code&gt; emits canonical DDL for the materialized schema:&#10;the SQL equivalent of replaying your oplog forward to a cut. The&#10;output is intended to be &lt;code&gt;pg_dump --schema-only&lt;/code&gt; parity-shaped (see&#10;&lt;a href="https://docs.retrofit.sh/current/pg_dump-parity/"&gt;&lt;code&gt;pg_dump-parity.md&lt;/code&gt;&lt;/a&gt; for the option-by-option&#10;audit).&lt;/p&gt;&#10;&lt;p&gt;Read &lt;a href="https://docs.retrofit.sh/current/concepts/"&gt;&lt;code&gt;concepts.md&lt;/code&gt;&lt;/a&gt; first for the oplog / cut / replay&#10;vocabulary. This doc covers what snapshot sees, what it produces,&#10;what it cannot produce, and why.&lt;/p&gt;&#10;&lt;h2 id="what-snapshot-sees"&gt;What snapshot sees&lt;a class="anchor" href="#what-snapshot-sees" aria-label="Link"&gt;&lt;/a&gt;&lt;/h2&gt;&#10;&lt;p&gt;One genealogy cut: the state of the schema after replaying ops up&#10;to &lt;code&gt;--at &amp;lt;opid&amp;gt;&lt;/code&gt; (default: &lt;code&gt;last&lt;/code&gt;). &lt;code&gt;--at&lt;/code&gt; also accepts the canonical&#10;anchors &lt;code&gt;root&lt;/code&gt; / &lt;code&gt;last&lt;/code&gt; / &lt;code&gt;seal&lt;/code&gt;, each with an optional &lt;code&gt;^&lt;/code&gt; / &lt;code&gt;~N&lt;/code&gt;&#10;decrement (always &lt;em&gt;older&lt;/em&gt;). &lt;code&gt;--at root&lt;/code&gt; refuses cleanly (&lt;code&gt;opid-not-found&lt;/code&gt;,&#10;exit 2): the empty pre-genesis cut has no live elements to render.&lt;/p&gt;</description></item><item><title>migrate</title><link>https://docs.retrofit.sh/current/migrate/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.retrofit.sh/current/migrate/</guid><description>&lt;h1 id="migrate"&gt;migrate&lt;a class="anchor" href="#migrate" aria-label="Link"&gt;&lt;/a&gt;&lt;/h1&gt;&#10;&lt;p&gt;&lt;code&gt;retrofit migrate&lt;/code&gt; emits a migration script between two cuts.&#10;Where &lt;code&gt;snapshot&lt;/code&gt; emits the &lt;strong&gt;post-state&lt;/strong&gt; of one cut, &lt;code&gt;migrate&lt;/code&gt; emits&#10;the &lt;strong&gt;DDL&lt;/strong&gt; that transitions one cut to another: forward by default,&#10;or the reverse with &lt;code&gt;--down&lt;/code&gt;. Its output is the script a CI/CD pipeline&#10;applies to a live database.&lt;/p&gt;&#10;&lt;p&gt;Read &lt;a href="https://docs.retrofit.sh/current/concepts/"&gt;&lt;code&gt;concepts.md&lt;/code&gt;&lt;/a&gt; first for the oplog / cut vocabulary&#10;and &lt;a href="https://docs.retrofit.sh/current/snapshot/"&gt;&lt;code&gt;snapshot.md&lt;/code&gt;&lt;/a&gt; for the post-state-emission cousin.&#10;This doc covers what migrate sees, what it produces, what it refuses,&#10;and why.&lt;/p&gt;</description></item><item><title>data</title><link>https://docs.retrofit.sh/current/data/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.retrofit.sh/current/data/</guid><description>&lt;h1 id="retrofit-data-the-data-corpus"&gt;&lt;code&gt;retrofit data&lt;/code&gt;: the data corpus&lt;a class="anchor" href="#retrofit-data-the-data-corpus" aria-label="Link"&gt;&lt;/a&gt;&lt;/h1&gt;&#10;&lt;p&gt;The &lt;code&gt;data&lt;/code&gt; verb group works on the &lt;strong&gt;data corpus&lt;/strong&gt;: every addressed&#10;&lt;code&gt;*.data.&amp;lt;format&amp;gt;&lt;/code&gt; &lt;a href="https://docs.retrofit.sh/current/import/"&gt;data file&lt;/a&gt; under a schema&amp;rsquo;s declared&#10;&lt;code&gt;data_root&lt;/code&gt; (written as &lt;code&gt;.data.sql&lt;/code&gt;; legacy &lt;code&gt;*.dml.sql&lt;/code&gt; files are still&#10;read). Data files&#10;carry row data (reference tables, fixtures, migration backfills) beside&#10;the DDL history the oplog carries, and the emit verbs (&lt;code&gt;snapshot&lt;/code&gt;,&#10;&lt;code&gt;migrate&lt;/code&gt;) fold them into a &lt;strong&gt;data band&lt;/strong&gt; at emit time.&lt;/p&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;Verb&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;What it does&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;code&gt;data list&lt;/code&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Show the fold the emit verbs would apply. Read-only.&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;code&gt;data capture&lt;/code&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Capture observed rows from an INSERT-style dump.&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;code&gt;data retire&lt;/code&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Withdraw one table&amp;rsquo;s data chain at the current head.&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;code&gt;data scaffold&lt;/code&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Mint a data file for a table holding one inert placeholder record to fill.&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;code&gt;data check&lt;/code&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Validate the corpus against the data-file grammar.&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;code&gt;data witness&lt;/code&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Bind reference records&amp;rsquo; bytes to the oplog.&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;code&gt;data repin&lt;/code&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Re-point an orphaned data file&amp;rsquo;s &lt;code&gt;anchor-op=&lt;/code&gt; at an opid you name.&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;code&gt;schema ref-tables&lt;/code&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Read or edit which tables hold reference data.&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/tbody&gt;&#10;&lt;/table&gt;&#10;&lt;h2 id="retrofit-data-list"&gt;&lt;code&gt;retrofit data list&lt;/code&gt;&lt;a class="anchor" href="#retrofit-data-list" aria-label="Link"&gt;&lt;/a&gt;&lt;/h2&gt;&#10;&lt;p&gt;&lt;code&gt;data list&lt;/code&gt; is the &lt;strong&gt;consumer-side dry run&lt;/strong&gt; of the data band. It answers&#10;&amp;ldquo;what would &lt;code&gt;snapshot&lt;/code&gt; / &lt;code&gt;migrate&lt;/code&gt; actually apply?&amp;rdquo; over the same fold&#10;those verbs read, and it emits no SQL and writes nothing.&lt;/p&gt;</description></item><item><title>retrofit</title><link>https://docs.retrofit.sh/current/commands/retrofit/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.retrofit.sh/current/commands/retrofit/</guid><description>&lt;h1 id="retrofit"&gt;&lt;code&gt;retrofit&lt;/code&gt;&lt;a class="anchor" href="#retrofit" aria-label="Link"&gt;&lt;/a&gt;&lt;/h1&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Schema evolution CLI: an append-only oplog of DDL operators that&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;materializes into canonical SQL.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Bootstrap a new project:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; retrofit init # write retrofit.toml + .gitattributes&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; retrofit schema create users # register a schema and create its oplog&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; retrofit op add CreateTable people # author your first op&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; retrofit snapshot # emit canonical DDL&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Bootstrap from an existing schema:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; retrofit init&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; retrofit import path/to/source.sql --schema users # lazy-creates if unregistered&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Run any subcommand with --help for its flags, or --help-all for its&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;extended reference. `retrofit help --all` prints the full reference for&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;every command at once.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Usage:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; retrofit [command]&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Available Commands:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; completion Generate the autocompletion script for the specified shell&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; data Work with the data corpus&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; drift Reconcile an oplog with an out-of-band `.sql`&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; help Help about any command&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; identify Report which cut a pg_dump --schema-only is at, and how it has diverged&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; import Import one or more `.sql` files into an oplog&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; init Initialize a new retrofit project&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; migrate Emit a one-way migration script between two cuts&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; op Edit the oplog&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; ops Run bulk maintenance over the oplog&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; reconcile Close concurrent forks in the oplog by rebasing onto a linear tail&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; schema Manage registered schemas&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; snapshot Emit canonical DDL for the materialized schema&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; validate Validate retrofit.toml, project layout, and the oplog&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Flags:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --as string output mode: text | json (default &amp;#34;text&amp;#34;)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -C, --chdir string treat &amp;lt;dir&amp;gt; as the working directory for the entire run&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --config string retrofit.toml path (overrides discovery; also accepts $RETROFIT_CONFIG)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -f, --file string oplog file path; selects a registered [[schema]] path (overrides discovery)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -h, --help help for retrofit&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --help-all show extended help (vocabulary, semantics, caveats)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --no-consolidate render every advisory occurrence instead of collapsing repeats&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -q, --quiet count suppress the advisory tier on stderr; stack (-qq) to drop it whole (errors and results still print)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -v, --verbose reveal info-tier advisories on stderr&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --version version for retrofit&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Use &amp;#34;retrofit [command] --help&amp;#34; for more information about a command.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Docs: https://docs.retrofit.sh/current/&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;&lt;code&gt;retrofit --help-all&lt;/code&gt; adds:&lt;/p&gt;</description></item><item><title>retrofit data</title><link>https://docs.retrofit.sh/current/commands/retrofit-data/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.retrofit.sh/current/commands/retrofit-data/</guid><description>&lt;h1 id="retrofit-data"&gt;&lt;code&gt;retrofit data&lt;/code&gt;&lt;a class="anchor" href="#retrofit-data" aria-label="Link"&gt;&lt;/a&gt;&lt;/h1&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Work with the data corpus&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Usage:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; retrofit data&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; retrofit data [command]&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Available Commands:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; capture Capture a dump&amp;#39;s observed rows onto the data corpus&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; check Check data-corpus files against the data-file grammar&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; list List the data fold the emit verbs would apply&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; repin Re-point one corpus data file&amp;#39;s anchor-op at an opid you name&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; retire Withdraw a data chain by name, minting an empty floor at the head&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; scaffold Mint an empty data-corpus file carrying declared metadata axes&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; witness Witness reference-data records: bind their bytes to the oplog&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Flags:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -h, --help help for data&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --help-all show extended help (vocabulary, semantics, caveats)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Global Flags:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --as string output mode: text | json (default &amp;#34;text&amp;#34;)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -C, --chdir string treat &amp;lt;dir&amp;gt; as the working directory for the entire run&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --config string retrofit.toml path (overrides discovery; also accepts $RETROFIT_CONFIG)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -f, --file string oplog file path; selects a registered [[schema]] path (overrides discovery)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --no-consolidate render every advisory occurrence instead of collapsing repeats&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -q, --quiet count suppress the advisory tier on stderr; stack (-qq) to drop it whole (errors and results still print)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -v, --verbose reveal info-tier advisories on stderr&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Use &amp;#34;retrofit data [command] --help&amp;#34; for more information about a command.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Docs: https://docs.retrofit.sh/current/commands/retrofit-data/&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description></item><item><title>retrofit data capture</title><link>https://docs.retrofit.sh/current/commands/retrofit-data-capture/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.retrofit.sh/current/commands/retrofit-data-capture/</guid><description>&lt;h1 id="retrofit-data-capture"&gt;&lt;code&gt;retrofit data capture&lt;/code&gt;&lt;a class="anchor" href="#retrofit-data-capture" aria-label="Link"&gt;&lt;/a&gt;&lt;/h1&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Capture a dump&amp;#39;s observed rows onto the data corpus.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;The verb records what the source&amp;#39;s rows are at the current head, never what&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;changed. Tables declared reference data (`retrofit schema ref-tables add`,&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;or `--ref` on `import`/`drift`) capture on the `ref` band;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;`--label` enables the `seed` band for the rest. A table no declaration and no&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;label claims is LISTED, not captured, and the run exits 0.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;`--from-label &amp;lt;l&amp;gt;` takes the corpus as the source instead of a file: it folds&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;the label&amp;#39;s `seed` chain for each selected declared table at the current head&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;and captures it on the `ref` band.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Use `retrofit import` for a source that states a CHANGE, and&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;`retrofit data retire` to withdraw a table by name.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Usage:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; retrofit data capture &amp;lt;source&amp;gt; [flags]&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Flags:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --data-root data_root root that overrides the schema&amp;#39;s data_root&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --dry-run classify and report without writing anything&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --extra-seed-path seed_paths root that appends to the declared seed_paths&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --from-label &amp;lt;label&amp;gt; capture &amp;lt;label&amp;gt;&amp;#39;s seed fold at HEAD onto the ref band (the corpus is the source; no operand)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -h, --help help for capture&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --help-all show extended help (vocabulary, semantics, caveats)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --label &amp;lt;label&amp;gt; repeatable cohort &amp;lt;label&amp;gt;; enables the seed band for unclaimed tables&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --schema &amp;lt;name&amp;gt; registered schema &amp;lt;name&amp;gt; (resolves via the chain when omitted)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --seed-path seed_paths root that replaces the declared seed_paths&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --skip-manifest &amp;lt;path&amp;gt; write the skip manifest to &amp;lt;path&amp;gt; as JSONL&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --table &amp;lt;pattern&amp;gt; repeatable source &amp;lt;pattern&amp;gt; filter (bare relname or glob)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Global Flags:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --as string output mode: text | json (default &amp;#34;text&amp;#34;)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -C, --chdir string treat &amp;lt;dir&amp;gt; as the working directory for the entire run&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --config string retrofit.toml path (overrides discovery; also accepts $RETROFIT_CONFIG)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -f, --file string oplog file path; selects a registered [[schema]] path (overrides discovery)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --no-consolidate render every advisory occurrence instead of collapsing repeats&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -q, --quiet count suppress the advisory tier on stderr; stack (-qq) to drop it whole (errors and results still print)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -v, --verbose reveal info-tier advisories on stderr&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Docs: https://docs.retrofit.sh/current/commands/retrofit-data-capture/&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description></item><item><title>retrofit data check</title><link>https://docs.retrofit.sh/current/commands/retrofit-data-check/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.retrofit.sh/current/commands/retrofit-data-check/</guid><description>&lt;h1 id="retrofit-data-check"&gt;&lt;code&gt;retrofit data check&lt;/code&gt;&lt;a class="anchor" href="#retrofit-data-check" aria-label="Link"&gt;&lt;/a&gt;&lt;/h1&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Check data-corpus files against the data-file grammar.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Runs every file-level legality predicate over the working tree, emits no SQL&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;and mints nothing. Reports all findings in one envelope and exits non-zero when&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;any file is refused.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;With no operands it walks the configured corpus root. Operands narrow the walk;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;they do not enable it. A named directory is walked; a named file is checked by&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;the naming itself.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Usage:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; retrofit data check [path...] [flags]&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Flags:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --data-root data_root root that overrides the schema&amp;#39;s data_root&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -h, --help help for check&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --help-all show extended help (vocabulary, semantics, caveats)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --schema &amp;lt;name&amp;gt; registered schema &amp;lt;name&amp;gt; (resolves via the chain when omitted)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Global Flags:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --as string output mode: text | json (default &amp;#34;text&amp;#34;)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -C, --chdir string treat &amp;lt;dir&amp;gt; as the working directory for the entire run&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --config string retrofit.toml path (overrides discovery; also accepts $RETROFIT_CONFIG)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -f, --file string oplog file path; selects a registered [[schema]] path (overrides discovery)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --no-consolidate render every advisory occurrence instead of collapsing repeats&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -q, --quiet count suppress the advisory tier on stderr; stack (-qq) to drop it whole (errors and results still print)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -v, --verbose reveal info-tier advisories on stderr&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Docs: https://docs.retrofit.sh/current/commands/retrofit-data-check/&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description></item><item><title>retrofit data list</title><link>https://docs.retrofit.sh/current/commands/retrofit-data-list/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.retrofit.sh/current/commands/retrofit-data-list/</guid><description>&lt;h1 id="retrofit-data-list"&gt;&lt;code&gt;retrofit data list&lt;/code&gt;&lt;a class="anchor" href="#retrofit-data-list" aria-label="Link"&gt;&lt;/a&gt;&lt;/h1&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;List the data fold the emit verbs would apply.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Read-only: it emits no SQL and mints nothing. With no --label it renders the&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;reference fold plus an inventory of the labels the corpus carries; naming&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;labels renders the fold those layers produce, in argv order.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Run with --help-all for what each field of an item line means.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Usage:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; retrofit data list [flags]&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Flags:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --at &amp;lt;cut&amp;gt; render point &amp;lt;cut&amp;gt;: an opid prefix or root/last/seal anchor, optionally with ^ or ~N (default: last)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --data-root data_root root that overrides the schema&amp;#39;s data_root&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --extra-seed-path seed_paths root that appends to the declared seed_paths&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -h, --help help for list&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --help-all show extended help (vocabulary, semantics, caveats)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --label &amp;lt;label&amp;gt; apply the dataset carrying this exact &amp;lt;label&amp;gt; (repeatable; argv order is layer order; byte-exact)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --schema &amp;lt;name&amp;gt; registered schema &amp;lt;name&amp;gt; (resolves via the chain when omitted)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --seed-path seed_paths root that replaces the declared seed_paths&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Global Flags:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --as string output mode: text | json (default &amp;#34;text&amp;#34;)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -C, --chdir string treat &amp;lt;dir&amp;gt; as the working directory for the entire run&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --config string retrofit.toml path (overrides discovery; also accepts $RETROFIT_CONFIG)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -f, --file string oplog file path; selects a registered [[schema]] path (overrides discovery)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --no-consolidate render every advisory occurrence instead of collapsing repeats&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -q, --quiet count suppress the advisory tier on stderr; stack (-qq) to drop it whole (errors and results still print)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -v, --verbose reveal info-tier advisories on stderr&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Docs: https://docs.retrofit.sh/current/commands/retrofit-data-list/&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;&lt;code&gt;retrofit data list --help-all&lt;/code&gt; adds:&lt;/p&gt;</description></item><item><title>retrofit data repin</title><link>https://docs.retrofit.sh/current/commands/retrofit-data-repin/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.retrofit.sh/current/commands/retrofit-data-repin/</guid><description>&lt;h1 id="retrofit-data-repin"&gt;&lt;code&gt;retrofit data repin&lt;/code&gt;&lt;a class="anchor" href="#retrofit-data-repin" aria-label="Link"&gt;&lt;/a&gt;&lt;/h1&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Re-point one corpus data file&amp;#39;s anchor-op at an opid you name.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;The recourse of `data-file-anchor-unresolved`: an anchor names an opid&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;exactly, so when revising an op&amp;#39;s content or removing the op drops that opid&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;from the oplog, a data file anchored on it is orphaned and this verb re-points&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;the file. One invocation re-pins every record in that file.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Only an orphaned file is eligible. A file whose anchor still resolves is&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;history-bound at a live op, and moving it is a relocation rather than a&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;repair; capture the rows at the new point instead.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;The target is required: pass the opid, an anchor ref (`last`,&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;`seal`, each with optional `^`/`~N`) or a 1-12 hex opid prefix.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;The resolved 12-hex opid is what is written; the literal spelling never is.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;A re-pinned record that carried a witness is re-witnessed: one&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;WitnessReferenceData entry is appended at the new anchor, over the rewritten&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;bytes. An unwitnessed record stays unwitnessed; --dry-run appends nothing.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Usage:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; retrofit data repin &amp;lt;file&amp;gt; [flags]&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Flags:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --anchor-op &amp;lt;target&amp;gt; the &amp;lt;target&amp;gt; opid to re-pin on: an opid, an anchor ref (`last`, `seal`, with `^`/`~N`) or a 1-12 hex prefix&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --data-root data_root root that overrides the schema&amp;#39;s data_root&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --dry-run rehearse the re-pin without writing&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -h, --help help for repin&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --help-all show extended help (vocabulary, semantics, caveats)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Global Flags:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --as string output mode: text | json (default &amp;#34;text&amp;#34;)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -C, --chdir string treat &amp;lt;dir&amp;gt; as the working directory for the entire run&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --config string retrofit.toml path (overrides discovery; also accepts $RETROFIT_CONFIG)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -f, --file string oplog file path; selects a registered [[schema]] path (overrides discovery)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --no-consolidate render every advisory occurrence instead of collapsing repeats&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -q, --quiet count suppress the advisory tier on stderr; stack (-qq) to drop it whole (errors and results still print)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -v, --verbose reveal info-tier advisories on stderr&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Docs: https://docs.retrofit.sh/current/commands/retrofit-data-repin/&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description></item><item><title>retrofit data retire</title><link>https://docs.retrofit.sh/current/commands/retrofit-data-retire/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.retrofit.sh/current/commands/retrofit-data-retire/</guid><description>&lt;h1 id="retrofit-data-retire"&gt;&lt;code&gt;retrofit data retire&lt;/code&gt;&lt;a class="anchor" href="#retrofit-data-retire" aria-label="Link"&gt;&lt;/a&gt;&lt;/h1&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Withdraw a data chain by name, minting an empty floor at the head.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;A retire is a DECLARED withdrawal: it states that a table&amp;#39;s dataset no longer&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;applies, at the current head. Silence never withdraws anything: a source that&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;simply omits a table leaves that table untouched, so this verb is how an&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;emptied production table leaves the corpus.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;With no `--label` it addresses the table&amp;#39;s unlabelled reference chain; one&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;or more labels address the seed chain carrying exactly that label set.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;A reference table&amp;#39;s rows stop being managed when its declaration ends&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;(`retrofit schema ref-tables remove`): an unlabelled retire of a declared table&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;refuses, and one of a table no longer declared mints nothing.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Usage:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; retrofit data retire &amp;lt;schema.table&amp;gt; [flags]&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Flags:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --data-root data_root root that overrides the schema&amp;#39;s data_root&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --dry-run rehearse the withdrawal without writing&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --extra-seed-path seed_paths root that appends to the declared seed_paths&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -h, --help help for retire&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --help-all show extended help (vocabulary, semantics, caveats)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --label &amp;lt;label&amp;gt; repeatable &amp;lt;label&amp;gt;; addresses the seed chain with exactly this label set&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --seed-path seed_paths root that replaces the declared seed_paths&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --skip-manifest &amp;lt;path&amp;gt; write the skip manifest to &amp;lt;path&amp;gt; as JSONL&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Global Flags:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --as string output mode: text | json (default &amp;#34;text&amp;#34;)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -C, --chdir string treat &amp;lt;dir&amp;gt; as the working directory for the entire run&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --config string retrofit.toml path (overrides discovery; also accepts $RETROFIT_CONFIG)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -f, --file string oplog file path; selects a registered [[schema]] path (overrides discovery)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --no-consolidate render every advisory occurrence instead of collapsing repeats&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -q, --quiet count suppress the advisory tier on stderr; stack (-qq) to drop it whole (errors and results still print)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -v, --verbose reveal info-tier advisories on stderr&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Docs: https://docs.retrofit.sh/current/commands/retrofit-data-retire/&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description></item><item><title>retrofit data scaffold</title><link>https://docs.retrofit.sh/current/commands/retrofit-data-scaffold/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.retrofit.sh/current/commands/retrofit-data-scaffold/</guid><description>&lt;h1 id="retrofit-data-scaffold"&gt;&lt;code&gt;retrofit data scaffold&lt;/code&gt;&lt;a class="anchor" href="#retrofit-data-scaffold" aria-label="Link"&gt;&lt;/a&gt;&lt;/h1&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Mint an empty data-corpus file carrying declared metadata axes.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;The minted file holds a v1 header, one section header carrying the axes you&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;declare, guidance comments showing the record form, and the section-end&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;marker. It parses to zero records, so every reader treats it as empty until&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;you hand-author statements into the section.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;The path is derived, not given: the file lands under the target&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;schema&amp;#39;s declared `data_root` at the deterministic path for its mint key.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Usage:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; retrofit data scaffold [flags]&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Flags:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --anchor-op string 12-hex op id the scaffolded records anchor on (default: the reconciled head)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --disposition &amp;lt;append|restate&amp;gt; declared disposition &amp;lt;append|restate&amp;gt; (omitted: no disposition token)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -h, --help help for scaffold&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --help-all show extended help (vocabulary, semantics, caveats)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --label &amp;lt;label&amp;gt; repeatable declared cohort &amp;lt;label&amp;gt; (the axis is a set; canonicalized on emit)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --purpose &amp;lt;transition|cleanse&amp;gt; declared purpose &amp;lt;transition|cleanse&amp;gt; (exclusive with --label, which resolves seed)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --schema &amp;lt;name&amp;gt; registered schema &amp;lt;name&amp;gt; (resolves via the chain when omitted)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --table &amp;lt;schema&amp;gt;.&amp;lt;table&amp;gt; the schema-qualified table this file declares, &amp;lt;schema&amp;gt;.&amp;lt;table&amp;gt; (required)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Global Flags:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --as string output mode: text | json (default &amp;#34;text&amp;#34;)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -C, --chdir string treat &amp;lt;dir&amp;gt; as the working directory for the entire run&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --config string retrofit.toml path (overrides discovery; also accepts $RETROFIT_CONFIG)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -f, --file string oplog file path; selects a registered [[schema]] path (overrides discovery)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --no-consolidate render every advisory occurrence instead of collapsing repeats&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -q, --quiet count suppress the advisory tier on stderr; stack (-qq) to drop it whole (errors and results still print)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -v, --verbose reveal info-tier advisories on stderr&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Docs: https://docs.retrofit.sh/current/commands/retrofit-data-scaffold/&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description></item><item><title>retrofit data witness</title><link>https://docs.retrofit.sh/current/commands/retrofit-data-witness/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.retrofit.sh/current/commands/retrofit-data-witness/</guid><description>&lt;h1 id="retrofit-data-witness"&gt;&lt;code&gt;retrofit data witness&lt;/code&gt;&lt;a class="anchor" href="#retrofit-data-witness" aria-label="Link"&gt;&lt;/a&gt;&lt;/h1&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Witness reference-data records: bind their bytes to the oplog.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;The verb appends one WitnessReferenceData entry per selected record,&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;carrying the record&amp;#39;s digest over every file at its key&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;{table, label-set, anchor}. A witnessed record whose anchor a seal covers is&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;verified by validate, op seal, migrate and snapshot.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;With no operands it selects every purpose=ref record under data_root whose&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;anchor is in the unsealed tail and which has no witness at its current bytes.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Operands name record files; a directory is refused. A named record outside the&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;selection is refused (witness-band, sealed-anchor); one already witnessed at&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;its current bytes is reported already-witnessed.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;--dry-run renders the same rows and appends nothing.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Usage:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; retrofit data witness [path...] [flags]&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Flags:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --dry-run render the rows the run would produce and append nothing&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -h, --help help for witness&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --help-all show extended help (vocabulary, semantics, caveats)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --schema &amp;lt;name&amp;gt; registered schema &amp;lt;name&amp;gt; (resolves via the chain when omitted)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Global Flags:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --as string output mode: text | json (default &amp;#34;text&amp;#34;)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -C, --chdir string treat &amp;lt;dir&amp;gt; as the working directory for the entire run&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --config string retrofit.toml path (overrides discovery; also accepts $RETROFIT_CONFIG)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -f, --file string oplog file path; selects a registered [[schema]] path (overrides discovery)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --no-consolidate render every advisory occurrence instead of collapsing repeats&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -q, --quiet count suppress the advisory tier on stderr; stack (-qq) to drop it whole (errors and results still print)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -v, --verbose reveal info-tier advisories on stderr&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Docs: https://docs.retrofit.sh/current/commands/retrofit-data-witness/&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description></item><item><title>retrofit drift</title><link>https://docs.retrofit.sh/current/commands/retrofit-drift/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.retrofit.sh/current/commands/retrofit-drift/</guid><description>&lt;h1 id="retrofit-drift"&gt;&lt;code&gt;retrofit drift&lt;/code&gt;&lt;a class="anchor" href="#retrofit-drift" aria-label="Link"&gt;&lt;/a&gt;&lt;/h1&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Reconcile an oplog with an out-of-band .sql capture.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;drift parses &amp;lt;source&amp;gt;, diffs it against the current cut of &amp;lt;schema-name&amp;gt;&amp;#39;s&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;unsealed tail, and either appends the SMO sequence that brings the oplog&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;to the target (default) or reports it (--dry-run).&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Reference data: the tables declared at the new head are converged in the&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;same run, with no flag. Each one whose rows differ from its chain is&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;captured into the data corpus (one file per changed table,&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;disposition=replace body=data); see --help-all.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Usage:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; retrofit drift &amp;lt;source&amp;gt; [--schema &amp;lt;name&amp;gt;] [flags]&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Flags:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --allow-capability-gaps accept skips that drop content retrofit has no operator for (exit 0 instead of exit 2; the drift-run-summary record is byte-identical either way)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --data-root data_root root that overrides the schema&amp;#39;s data_root&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --dry-run parse, diff, and emit the report; never open the editor; never write the oplog&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --extra-seed-path seed_paths root that appends to the declared seed_paths&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -h, --help help for drift&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --help-all show extended help (vocabulary, semantics, caveats)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --ignore-drops string[=&amp;#34;*&amp;#34;] suppress Drop op authoring; bare = all kinds, or CSV of: table, column, index, view, materialized-view, constraint, foreign-key, primary-key, not-null, identity, schema (suppressed drops still surface as deferred-drop events)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -i, --interactive open the editor even when there are no questions&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --on-question string question policy for unattended runs: error|editor|skip (default: editor when $EDITOR or $VISUAL is set, else refuse)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --ref &amp;lt;table&amp;gt; declare &amp;lt;table&amp;gt; reference data (repeatable): a CreateTable this run mints is written reference_data=true; a table live at the run&amp;#39;s starting cut gets SetReferenceData(value=true) appended after the run&amp;#39;s DDL ops&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --schema &amp;lt;name&amp;gt; registered schema &amp;lt;name&amp;gt; (resolves via the chain when omitted)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --seal --seal=&amp;lt;text&amp;gt; append a Seal op covering drift&amp;#39;s new tail (bare flag auto-derives reason from source basename; --seal=&amp;lt;text&amp;gt; overrides); refused as `op seal` refuses when the range holds an unwitnessed reference record&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --seed-path seed_paths root that replaces the declared seed_paths&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --show string report-side filter on the live event stream: both|additions|removals (presentation-only; writes proceed for both directions) (default &amp;#34;both&amp;#34;)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --skip-manifest &amp;lt;path&amp;gt; write the reference capture&amp;#39;s skip manifest to &amp;lt;path&amp;gt; as JSONL&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --table &amp;lt;pattern&amp;gt; repeatable source &amp;lt;pattern&amp;gt; narrowing the reference capture (bare relname or glob)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Global Flags:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --as string output mode: text | json (default &amp;#34;text&amp;#34;)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -C, --chdir string treat &amp;lt;dir&amp;gt; as the working directory for the entire run&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --config string retrofit.toml path (overrides discovery; also accepts $RETROFIT_CONFIG)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -f, --file string oplog file path; selects a registered [[schema]] path (overrides discovery)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --no-consolidate render every advisory occurrence instead of collapsing repeats&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -q, --quiet count suppress the advisory tier on stderr; stack (-qq) to drop it whole (errors and results still print)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -v, --verbose reveal info-tier advisories on stderr&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Docs: https://docs.retrofit.sh/current/commands/retrofit-drift/&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;&lt;code&gt;retrofit drift --help-all&lt;/code&gt; adds:&lt;/p&gt;</description></item><item><title>retrofit identify</title><link>https://docs.retrofit.sh/current/commands/retrofit-identify/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.retrofit.sh/current/commands/retrofit-identify/</guid><description>&lt;h1 id="retrofit-identify"&gt;&lt;code&gt;retrofit identify&lt;/code&gt;&lt;a class="anchor" href="#retrofit-identify" aria-label="Link"&gt;&lt;/a&gt;&lt;/h1&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Report which cut a pg_dump --schema-only is at, and how it has diverged&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Usage:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; retrofit identify &amp;lt;dump&amp;gt; [flags]&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Flags:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --expect last assert the dump is at this cut: opid prefix or anchor (last/`seal`, optional `^`/`~N`); refuse `expect-mismatch` when it resolves elsewhere&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -h, --help help for identify&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --help-all show extended help (vocabulary, semantics, caveats)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --schema &amp;lt;name&amp;gt; registered schema &amp;lt;name&amp;gt; (resolves via the chain when omitted)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Global Flags:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --as string output mode: text | json (default &amp;#34;text&amp;#34;)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -C, --chdir string treat &amp;lt;dir&amp;gt; as the working directory for the entire run&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --config string retrofit.toml path (overrides discovery; also accepts $RETROFIT_CONFIG)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -f, --file string oplog file path; selects a registered [[schema]] path (overrides discovery)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --no-consolidate render every advisory occurrence instead of collapsing repeats&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -q, --quiet count suppress the advisory tier on stderr; stack (-qq) to drop it whole (errors and results still print)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -v, --verbose reveal info-tier advisories on stderr&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Docs: https://docs.retrofit.sh/current/commands/retrofit-identify/&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description></item><item><title>retrofit import</title><link>https://docs.retrofit.sh/current/commands/retrofit-import/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.retrofit.sh/current/commands/retrofit-import/</guid><description>&lt;h1 id="retrofit-import"&gt;&lt;code&gt;retrofit import&lt;/code&gt;&lt;a class="anchor" href="#retrofit-import" aria-label="Link"&gt;&lt;/a&gt;&lt;/h1&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Import one or more .sql files into an oplog. Walks DDL in&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;retrofit&amp;#39;s vocabulary and appends the equivalent op-add calls. A missing&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;schema is registered lazily, a populated oplog is extended by default, and&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;--force replaces its prior content. DML is set aside in data files; other&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;statements outside the vocabulary (sequences, GRANT/REVOKE, publications) are&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;reported on the stdout skip manifest and not recorded.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Source argument: one or more filesystem paths with a `.sql` extension,&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;or `-` for stdin (one source per invocation when reading stdin). When&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;multiple sources are passed they are imported as a single batch in&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;argv order with one validate, one event flush, and one atomic write.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Run with --help-all for the main in-vocabulary statements and walker&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;semantics.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Usage:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; retrofit import &amp;lt;source&amp;gt;... [--schema &amp;lt;name&amp;gt;] [--from-file &amp;lt;path&amp;gt;] [flags]&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Flags:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --allow-capability-gaps import anyway when capability-gap skips drop content: statements retrofit has no SMO for (exit 0 + warning instead of exit 2; the import-summary record is byte-identical either way); the one carve-out is validation-errors and rule-* refusals, which still abort&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --allow-sealed-rewrite opid [sealed history] attest each Seal this run would demote or replace, by its full opid (repeatable, comma-separated); a value attests the Seal it names and selects nothing, and a Seal left unnamed refuses seal-removal-refused&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --data-root data_root root that overrides the schema&amp;#39;s data_root&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --ddl-only decline every preserved-DML statement in the run (authored DML, dump data bands and synthesized floors): nothing is minted, the declined tables are listed, and the run exits on its DDL alone; orthogonal to --allow-capability-gaps, which covers DDL retrofit cannot represent&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --disposition &amp;lt;replace|append&amp;gt; asserted &amp;lt;replace|append&amp;gt; disposition on every preserved-DML record&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --dry-run run the full pipeline without writing the oplog file&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --engine-version &amp;lt;15|16|17|18&amp;gt; supported major &amp;lt;15|16|17|18&amp;gt; for the imported schema (default: project engine_version)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --extra-seed-path seed_paths root that appends to the declared seed_paths&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --force overwrite an existing populated oplog (mint fresh; a bare import extends instead)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --from-file &amp;lt;path&amp;gt; newline-delimited &amp;lt;path&amp;gt; listing .sql files (relative to the list&amp;#39;s directory; # comments and blank lines ignored)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -h, --help help for import&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --help-all show extended help (vocabulary, semantics, caveats)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --label &amp;lt;label&amp;gt; opaque &amp;lt;label&amp;gt; stamped onto every preserved-DML record (repeatable set; key:value accepted, not required)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --purge-orphaned-corpus consent to remove every corpus record whose anchor no longer exists in the replaced oplog (--force only; a same-anchor re-capture replaces its version in place)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --purge-superseded remove earlier same-chain data blocks superseded by this ingest (positional supersession within one continuous oplog; the anchor is alive at both positions); never a witnessed record, sealed or in the tail; each is reported kept. Default keeps them as --at render assets&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --purpose &amp;lt;transition|cleanse&amp;gt; asserted &amp;lt;transition|cleanse&amp;gt; purpose on every preserved-DML record (one of: transition, cleanse; name a seed cohort with --label, and declare reference tables with --ref &amp;lt;table&amp;gt; or retrofit schema ref-tables add &amp;lt;table&amp;gt;)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --ref &amp;lt;table&amp;gt; declare &amp;lt;table&amp;gt; reference data (repeatable): a CreateTable this run mints is written reference_data=true; a table live at the run&amp;#39;s starting cut gets SetReferenceData(value=true) appended after the run&amp;#39;s DDL ops&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --schema &amp;lt;name&amp;gt; registered schema &amp;lt;name&amp;gt; (lazy-creates when unregistered)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --seal --seal=&amp;lt;text&amp;gt; append a Seal op after the imported prefix (bare flag auto-derives reason from source(s); --seal=&amp;lt;text&amp;gt; overrides); refused as `op seal` refuses when the range holds an unwitnessed reference record, including one this import mints&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --seal-per-file emit one Seal op after each source that minted ops (sources minting none are not sealed; equivalent to a bare &amp;#39;--seal&amp;#39; import per file)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --seed-path seed_paths root that replaces the declared seed_paths&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --skip-manifest &amp;lt;path&amp;gt; write one JSONL record per skipped statement to &amp;lt;path&amp;gt; (kind/schema.name/line/raw_stmt_kind/raw_text)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --summary-file &amp;lt;path&amp;gt; write the aggregate import-summary record to &amp;lt;path&amp;gt; as one JSON object (imported/run_raw_script/skipped/skipped_by_kind[/skipped_by_class][/sealed][/sources_zero_op])&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Global Flags:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --as string output mode: text | json (default &amp;#34;text&amp;#34;)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -C, --chdir string treat &amp;lt;dir&amp;gt; as the working directory for the entire run&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --config string retrofit.toml path (overrides discovery; also accepts $RETROFIT_CONFIG)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -f, --file string oplog file path; selects a registered [[schema]] path (overrides discovery)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --no-consolidate render every advisory occurrence instead of collapsing repeats&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -q, --quiet count suppress the advisory tier on stderr; stack (-qq) to drop it whole (errors and results still print)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -v, --verbose reveal info-tier advisories on stderr&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Docs: https://docs.retrofit.sh/current/commands/retrofit-import/&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;&lt;code&gt;retrofit import --help-all&lt;/code&gt; adds:&lt;/p&gt;</description></item><item><title>retrofit init</title><link>https://docs.retrofit.sh/current/commands/retrofit-init/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.retrofit.sh/current/commands/retrofit-init/</guid><description>&lt;h1 id="retrofit-init"&gt;&lt;code&gt;retrofit init&lt;/code&gt;&lt;a class="anchor" href="#retrofit-init" aria-label="Link"&gt;&lt;/a&gt;&lt;/h1&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Initialize the current project by writing retrofit.toml at&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;the repo root and ensuring `.gitattributes` carries the&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;*.oplog merge=union line and the *.data.sql text eol=lf line&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;(the latter keeps a checkout rewrite from disturbing data&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;file line endings). Does not create an oplog (use&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;`retrofit schema create`).&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Usage:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; retrofit init [flags]&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Flags:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --add-search-path append [search_path] section with default schemas = [&amp;#34;public&amp;#34;] when missing (upgrade path for configs written before search_path; idempotent)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --config string destination retrofit.toml path; a relative path anchors to the current directory, not to --dir (default: &amp;lt;repo-root&amp;gt;/retrofit.toml)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --dir string working directory for .git discovery only; does not anchor a relative --config&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --engine postgres engine identifier (only postgres accepted) (default &amp;#34;postgres&amp;#34;)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --engine-version &amp;lt;15|16|17|18&amp;gt; supported major &amp;lt;15|16|17|18&amp;gt; (overrides build-time default) (default &amp;#34;17&amp;#34;)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --force overwrite an existing retrofit.toml (init is otherwise idempotent: a second run leaves retrofit.toml alone but still finishes the .gitattributes step)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -h, --help help for init&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --help-all show extended help (vocabulary, semantics, caveats)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --no-gitattributes skip .gitattributes mutation entirely&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Global Flags:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --as string output mode: text | json (default &amp;#34;text&amp;#34;)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -C, --chdir string treat &amp;lt;dir&amp;gt; as the working directory for the entire run&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -f, --file string oplog file path; selects a registered [[schema]] path (overrides discovery)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --no-consolidate render every advisory occurrence instead of collapsing repeats&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -q, --quiet count suppress the advisory tier on stderr; stack (-qq) to drop it whole (errors and results still print)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -v, --verbose reveal info-tier advisories on stderr&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Docs: https://docs.retrofit.sh/current/commands/retrofit-init/&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description></item><item><title>retrofit migrate</title><link>https://docs.retrofit.sh/current/commands/retrofit-migrate/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.retrofit.sh/current/commands/retrofit-migrate/</guid><description>&lt;h1 id="retrofit-migrate"&gt;&lt;code&gt;retrofit migrate&lt;/code&gt;&lt;a class="anchor" href="#retrofit-migrate" aria-label="Link"&gt;&lt;/a&gt;&lt;/h1&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Emit a one-way migration script between two cuts&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Usage:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; retrofit migrate [flags]&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Flags:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --allow-external-atomicity [apply context] attest that the apply context owns transaction atomicity: the no-wrapper advisory is not raised where a non-own envelope suppressed the wrapper&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --allow-reading-replace-body downgrade the replace-body-reads-relation refusal to a warning; emit the body verbatim under a WARNING comment, and render its table&amp;#39;s prologue as a whole-table clear&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --allow-stale-dml downgrade every stale-DML-reference refusal to a warning; emit the body under a stale-reference WARNING comment. It does NOT cover chain-collision, which is not attestable: two live chains for one element is a fork to resolve by retiring one, and exit 2 stands&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --allow-unclassified-dml downgrade every unclassified-DML refusal to a warning; emit each unclassified body as a trailing unclassified-DML WARNING block&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --allow-unnamed-label stringArray attest that the dataset carrying this exact label is deliberately left unnamed in this run (repeatable; byte-exact, never trimmed); every other unnamed dataset still warns&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --allow-unreached-dml downgrade the dml-anchor-unresolved refusal for a record anchored AFTER --to to a warning; the record is omitted from this script, never emitted out of position. It does NOT cover an anchor the oplog does not hold, which is not attestable: that file needs a re-pin (retrofit data repin), and exit 2 stands&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --allow-unscreened-dml attest set-aside DML whose body carries transaction control or psql meta-command lines (or which retrofit cannot parse): emit it anyway and report the window&amp;#39;s segment count as a lower bound rather than an exact number&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --at string requires --down: the cut the database is at, an opid prefix or anchor (default: last); --to beside it rolls back the slice (--from, --to] and keeps the ops after it&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --data-root data_root root that overrides the schema&amp;#39;s data_root&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --down emit the reverse of the migration window: each touched element&amp;#39;s net transition back to --from, rendered by the forward renderer&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --envelope own transactional context the emitted file is applied in: own (retrofit wraps it in one transaction; apply outside any open transaction) | caller (you open the transaction; retrofit emits no wrapper) | independent (each statement applies in its own implicit transaction); default: own&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --extra-seed-path seed_paths root that appends to the declared seed_paths&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --from root from-opid prefix or anchor (root/`last`/`seal`, optional `^`/`~N`); default: latest Seal, or `root` when no Seal exists&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --from-dump string identify the cut the database is at from a pg_dump --schema-only file; it fills --from (forward) or --at (under --down)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -h, --help help for migrate&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --help-all show extended help (vocabulary, semantics, caveats)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --into-schema string emit a copy script into &amp;lt;schema&amp;gt;; absence = in-place&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --label stringArray apply the dataset carrying this exact label (repeatable; argv order is layer order; byte-exact, never trimmed; never cuts ref data)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --lock-timeout string bound each lock wait (per lock acquisition, row locks included): emit SET LOCAL lock_timeout = &amp;#39;&amp;lt;duration&amp;gt;&amp;#39; at the head of every transaction the file opens (a positive integer with ms, s, min or h, e.g. 2s; off = unset); overrides [project] lock_timeout; refused where the file has no transaction to scope it into&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --no-header suppress engine-version banner&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --schema &amp;lt;name&amp;gt; registered schema &amp;lt;name&amp;gt; (resolves via the chain when omitted)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --seed-path seed_paths root that replaces the declared seed_paths&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --to root to-opid prefix or anchor (root/`last`/`seal`, optional `^`/`~N`); default: last&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --using string one-shot emit-target override (format: &amp;lt;engine&amp;gt;:&amp;lt;major&amp;gt;)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Global Flags:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --as string output mode: text | json (default &amp;#34;text&amp;#34;)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -C, --chdir string treat &amp;lt;dir&amp;gt; as the working directory for the entire run&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --config string retrofit.toml path (overrides discovery; also accepts $RETROFIT_CONFIG)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -f, --file string oplog file path; selects a registered [[schema]] path (overrides discovery)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --no-consolidate render every advisory occurrence instead of collapsing repeats&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -q, --quiet count suppress the advisory tier on stderr; stack (-qq) to drop it whole (errors and results still print)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -v, --verbose reveal info-tier advisories on stderr&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Docs: https://docs.retrofit.sh/current/commands/retrofit-migrate/&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;&lt;code&gt;retrofit migrate --help-all&lt;/code&gt; adds:&lt;/p&gt;</description></item><item><title>retrofit op</title><link>https://docs.retrofit.sh/current/commands/retrofit-op/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.retrofit.sh/current/commands/retrofit-op/</guid><description>&lt;h1 id="retrofit-op"&gt;&lt;code&gt;retrofit op&lt;/code&gt;&lt;a class="anchor" href="#retrofit-op" aria-label="Link"&gt;&lt;/a&gt;&lt;/h1&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Edit the oplog&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Usage:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; retrofit op&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; retrofit op [command]&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Available Commands:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; add Append a new operator instance to the active oplog&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; compact Drop the oplog&amp;#39;s traces (tombstones, replaces=) to a bound&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; info Print an operator&amp;#39;s reference entry, or the whole catalog with --dump&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; remove Drop one or more unsealed ops from the oplog&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; revise Patch bound parameters on an unsealed op&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; seal Seal the unsealed tail of the oplog&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; show Render ops from the oplog&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; truncate Rewind the oplog to a checkpoint by removing a suffix of ops&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; unseal Demote the most-recent N Seal record(s), keeping their ops as unsealed tail&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Flags:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -h, --help help for op&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --help-all show extended help (vocabulary, semantics, caveats)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --schema &amp;lt;name&amp;gt; registered schema &amp;lt;name&amp;gt; (resolves via the chain when omitted)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Global Flags:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --as string output mode: text | json (default &amp;#34;text&amp;#34;)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -C, --chdir string treat &amp;lt;dir&amp;gt; as the working directory for the entire run&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --config string retrofit.toml path (overrides discovery; also accepts $RETROFIT_CONFIG)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -f, --file string oplog file path; selects a registered [[schema]] path (overrides discovery)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --no-consolidate render every advisory occurrence instead of collapsing repeats&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -q, --quiet count suppress the advisory tier on stderr; stack (-qq) to drop it whole (errors and results still print)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -v, --verbose reveal info-tier advisories on stderr&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Use &amp;#34;retrofit op [command] --help&amp;#34; for more information about a command.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Docs: https://docs.retrofit.sh/current/commands/retrofit-op/&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description></item><item><title>retrofit op add</title><link>https://docs.retrofit.sh/current/commands/retrofit-op-add/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.retrofit.sh/current/commands/retrofit-op-add/</guid><description>&lt;h1 id="retrofit-op-add"&gt;&lt;code&gt;retrofit op add&lt;/code&gt;&lt;a class="anchor" href="#retrofit-op-add" aria-label="Link"&gt;&lt;/a&gt;&lt;/h1&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Append a new operator instance to the active oplog.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Each call records one operation (a `DropUnique`, `DropPrimaryKey` or&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;`ChangePrimaryKey` that retires a `USING INDEX` constraint also records&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;its companion `DropIndex`).&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;The full set of appendable operators is enumerated below; pass&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;`retrofit op add &amp;lt;Operator&amp;gt; --help` for the parameter detail of any&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;one of them, or `retrofit op add --examples` for a worked CREATE TABLE&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;recipe.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;CreateSchema and Seal are not listed: `retrofit schema create` writes&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;CreateSchema with its registry entry, and `retrofit op seal` computes&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;a Seal&amp;#39;s range and digest from the unsealed tail.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;AddUnique, AddForeignKey, AddPrimaryKey, and AddCheck each require a&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;non-empty `name=` (the constraint&amp;#39;s name); e.g.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;`op add AddUnique &amp;lt;table&amp;gt; --column &amp;lt;t.col&amp;gt; name=t_a_b_key`.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;`--` ends the verb&amp;#39;s own flags (--as, --dry-run, -q, ...); every token&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;after it is passed to the operator verbatim, so a payload value that&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;is spelled like a flag can be given as `-- --&amp;lt;param&amp;gt; &amp;lt;value&amp;gt;`.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;OPERATORS&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; Table operators&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; AttachPartition Subordinate a free-standing table as a partition of a partitioned parent (its columns end into the parent&amp;#39;s).&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; CopyTable Create a new table that is an independent copy of source.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; CreatePartition Create a partition under a partitioned parent (columns inherited).&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; CreateTable Create a new table inside the target schema.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; DepartitionTable Flatten a partitioned parent back to a plain heap, tombstoning its partition-children.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; DetachPartition Detach a partition into a free-standing table (rows kept).&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; DropTable Consume the target table element.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; ExtractTable Extract columns into new related tables (column-axis split; normalizes a wide table). A child copies the source&amp;#39;s primary key, keeping every row&amp;#39;s data, or designates `key` columns it shares with the source (the lookup: one child row per distinct key, the source rows with a NULL key component losing their moved values). With a remainder the source survives in place holding the unassigned columns; with every live column assigned the source is consumed.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; InlineTable Inline one or more child tables back into a live table along their primary keys (keyed column fold, folding an extracted child back into its survivor). The survivor keeps its identity; each inlined source&amp;#39;s columns reparent onto it and the source is consumed. A survivor row with no inlined row is padded with NULL or the column&amp;#39;s default.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; JoinTable Join two tables&amp;#39; columns into one (denormalize; column-axis join along a recorded key pairing). Identity-preserving at the column level: each source column is reparented to the new target with its existing ElementID. Rejects on column-name collision across sources (resolve via prior RenameColumn). The key_pairs are the ordered column pairs the sources are joined on (each side&amp;#39;s columns a PRIMARY KEY or UNIQUE of that source); kind picks the JOIN flavor (inner/left/right/full).&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; MergeTable Move the rows of several tables into a live table of their shape, one predicate recorded per source (row-axis merge).&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; MoveColumn Move a column to another table along a recorded key pairing, keeping its identity and carrying each value to its partner row. The column&amp;#39;s ElementID survives the move; only the parent table changes. Renames are a separate SMO.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; PartitionTable Convert a plain table to a partitioned parent in place, minting N partitions atomically. (partition_by ∈ {range, list, hash})&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; RenameTable Rename the target table to a new name in its schema.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; SetReferenceData Declare or undeclare the target table as reference data.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; SetReplicaIdentity Set the table&amp;#39;s REPLICA IDENTITY mode. mode=using_index requires index=&amp;lt;index&amp;gt;, a unique, immediate, non-partial, column-only index on this table over NOT NULL columns. (mode ∈ {default, nothing, full, using_index})&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; SetTableComment Set or clear a table comment. Empty text clears (mirrors PG `COMMENT ON TABLE … IS NULL`).&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; SplitTable Move a table&amp;#39;s rows into N new tables of its shape by first-match predicate; the source stays (row-axis split).&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; UnjoinTable Take a join apart along the keys its sides hold into two new related tables (keyed table unjoin, undoing a join of any kind). Every live column of the source is assigned to exactly one child and the source is consumed; each child keeps its columns&amp;#39; identities. (kind ∈ {inner, left, right, full})&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; Column operators&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; AddColumn Add a column to an existing table.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; AddIdentity Promote an existing column to GENERATED { BY DEFAULT | ALWAYS } AS IDENTITY. PG mints a fresh backing sequence starting at 1 and does NOT advance it past the column&amp;#39;s existing values, so migrate emits a realignment statement after the ALTER; without it the migration applies cleanly and the next insert collides. (generation ∈ {by_default, always})&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; AddNotNull Set the column&amp;#39;s NOT NULL bit on the column vertex.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; CastColumn Change a column&amp;#39;s SQL type in place.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; CopyColumn Duplicate a column on the same parent table: mint a fresh column whose initial values are seeded from an existing source column. Type/default/nullability are inherited from the source unless overridden. The new column is born unconstrained; re-attach PK/FK/UNIQUE/CHECK/index against the new ElementID via separate ops.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; DropColumn Consume the target column element.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; DropDefault Clear a column&amp;#39;s DEFAULT expression. Replay rejects against a column with no current default.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; DropGeneratedExpression Clear a stored generated column&amp;#39;s expression, converting it to a base column. Replay rejects against a column with no current generated expression or a virtual generated column.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; DropIdentity Remove the identity property from a column. The implicit NOT NULL is preserved; use DropNotNull to clear it.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; DropNotNull Clear the column-vertex NOT NULL bit.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; RenameColumn Rename the target column inside its containing table.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; RenameOwnedSequence Rename the sequence a column owns (its serial or identity sequence) without touching the column.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; SetColumnComment Set or clear a column comment. Empty text clears.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; SetDefault Set or replace a column&amp;#39;s DEFAULT expression. Single-slot semantics; overwrites whatever default is in effect.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; SetIdentityGeneration Swap an identity column&amp;#39;s generation mode between BY DEFAULT and ALWAYS without dropping the underlying sequence. (generation ∈ {by_default, always})&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; Constraint operators&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; AddCheck Declare a CHECK constraint enforcing a row-level predicate.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; AddForeignKey Declare a foreign-key constraint to referenced_columns in referenced_table.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; AddPrimaryKey Declare a primary-key constraint over the listed columns.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; AddUnique Declare a UNIQUE constraint over the listed columns.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; ChangePrimaryKey Replace a table&amp;#39;s primary key with a new column set; preserves the cascade genealogy across the PK and every dependent FK constraint via N+1 EdgeKindCrossElement edges minted at replay.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; DropCheck Consume the target CHECK constraint.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; DropForeignKey Consume the target foreign-key constraint.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; DropPrimaryKey Consume the target primary-key constraint.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; DropUnique Consume the target UNIQUE constraint.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; RenameConstraint Rename a constraint without dropping it. Element identity is preserved; the first rename of a PG-default-named constraint assigns the first explicit name.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; SetConstraintComment Set or clear a constraint comment. Empty text clears (mirrors PG `COMMENT ON CONSTRAINT … ON … IS NULL`).&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; SetConstraintDeferrable Toggle the DEFERRABLE bit on an FK constraint (PG&amp;#39;s ALTER CONSTRAINT is FK-only; UNIQUE / PK can be born deferrable via AddUnique / AddPrimaryKey but not toggled post-birth). Replay rejects no-op writes.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; SetConstraintEnforced Toggle the ENFORCED bit on a foreign-key (FK) constraint (PG18+; PostgreSQL alters the enforceability of foreign keys only).&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; SetConstraintInherit Toggle the NO INHERIT bit on a NOT NULL constraint (PG18+; PG 18&amp;#39;s per-constraint INHERIT / NO INHERIT applies to NOT NULL only). Records lineage only: it emits no DDL, sets no bit and does not check the constraint kind.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; SetConstraintInitiallyDeferred Toggle the INITIALLY DEFERRED bit on an FK constraint (PG&amp;#39;s ALTER CONSTRAINT is FK-only; UNIQUE / PK can be born initially-deferred via AddUnique / AddPrimaryKey but not toggled post-birth). Requires the constraint to already be DEFERRABLE; replay rejects no-op writes.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; ValidateConstraint Promote a NOT VALID foreign-key or CHECK constraint to validated.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; Index operators&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; CreateIndex Create a physical index over the listed columns.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; DropIndex Consume the target index element.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; RenameIndex Rename the target index inside its containing table.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; View operators&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; CreateMaterializedView Create a new materialized view inside the target schema.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; CreateView Create a new view inside the target schema.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; DropMaterializedView Consume the target materialized view element.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; DropView Consume the target view element.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; RenameMaterializedView Rename the target materialized view to a new name in its schema.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; RenameView Rename the target view to a new name in its schema.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; ReplaceMaterializedView Replace the body of an existing materialized view (DROP CASCADE + CREATE realization).&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; ReplaceView Replace the body of an existing view (PG superset-only column rule).&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; Type operators&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; AddEnumValue Append a new value to an existing enum type.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; CreateType Create a user-defined type (enum or composite) in the target schema. (kind ∈ {enum, composite})&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; DropType Consume a user-defined type element. Refused at op-add when any live column binds to it.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; RenameEnumValue Rename an existing enum value in place.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; RenameType Rename a user-defined type. Element identity (typeRef) is preserved across the rename.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; Policy operators&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; CreatePolicy Create a row-level-security policy on a table. Identity is (table, name).&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; DropPolicy Consume the target policy element.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; RenamePolicy Rename a policy within its owning table.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; ReplacePolicy Replace a policy&amp;#39;s TO / USING / WITH CHECK. Cannot change permissive or command (those are identity-fixed; use Drop+Create).&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; SetRowLevelSecurity Set a table&amp;#39;s ROW LEVEL SECURITY enabled/forced facets (absolute {enabled, forced} payload).&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; Function operators&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; CreateFunction Create a new function inside the target schema. Identity is (schema, composite-name).&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; DropFunction Consume the target function element.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; RenameFunction Rename the target function to a new name in its schema.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; ReplaceFunction Replace a function&amp;#39;s body and mutable attributes. Signature is identity-fixed by on= and cannot change.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; SetFunctionComment Set or clear a function comment. Empty text clears (mirrors PG `COMMENT ON FUNCTION … IS NULL`).&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; Trigger operators&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; CreateTrigger Create a trigger on a table or view. Identity is (table, name). (timing ∈ {before, after, instead_of})&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; DisableTrigger Disable an enabled trigger.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; DropTrigger Consume the target trigger element.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; EnableTrigger Enable a disabled trigger.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; RenameTrigger Rename the target trigger.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; Raw / escape-hatch operators&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; RunRawScript Run-once raw statement sequence with no catalog identity (a DO $$ … $$; anonymous block). Body emitted verbatim at migrate time; an optional reverse_body is what migrate --down emits, verbatim and unchecked; no structural diff target; drift has no synthesis path. The escape hatch below the Structural/Definitional partition.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Usage:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; retrofit op add &amp;lt;operator&amp;gt; [&amp;lt;args&amp;gt;...] [flags]&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Flags:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --dry-run preview the proposed op without writing&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --examples print a worked CREATE TABLE recipe of op add calls&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --explain with --dry-run, accept partial input and report bound vs. missing params&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -h, --help help for add&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --help-all show extended help (vocabulary, semantics, caveats)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --no-prompt force non-TTY behavior; never prompt&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Global Flags:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --as string output mode: text | json (default &amp;#34;text&amp;#34;)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -C, --chdir string treat &amp;lt;dir&amp;gt; as the working directory for the entire run&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --config string retrofit.toml path (overrides discovery; also accepts $RETROFIT_CONFIG)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -f, --file string oplog file path; selects a registered [[schema]] path (overrides discovery)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --no-consolidate render every advisory occurrence instead of collapsing repeats&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -q, --quiet count suppress the advisory tier on stderr; stack (-qq) to drop it whole (errors and results still print)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --schema &amp;lt;name&amp;gt; registered schema &amp;lt;name&amp;gt; (resolves via the chain when omitted)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -v, --verbose reveal info-tier advisories on stderr&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Docs: https://docs.retrofit.sh/current/commands/retrofit-op-add/&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description></item><item><title>retrofit op compact</title><link>https://docs.retrofit.sh/current/commands/retrofit-op-compact/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.retrofit.sh/current/commands/retrofit-op-compact/</guid><description>&lt;h1 id="retrofit-op-compact"&gt;&lt;code&gt;retrofit op compact&lt;/code&gt;&lt;a class="anchor" href="#retrofit-op-compact" aria-label="Link"&gt;&lt;/a&gt;&lt;/h1&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Drop the oplog&amp;#39;s traces (tombstoned lines and replaces= entries) to&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;exactly one bound, rewiring each prev= to its effective value; the render&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;every verb reads is unchanged.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --frontier &amp;lt;file&amp;gt; a trace drops only when &amp;lt;file&amp;gt; holds the same trace&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --unshared &amp;lt;file&amp;gt; a trace drops only when &amp;lt;file&amp;gt; holds no line,&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; tombstone or replacement of its opid&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --all every trace outside sealed ranges drops&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;A sealed range compacts only when --seal &amp;lt;opid&amp;gt; names its Seal, to the&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;bound, without resealing. A file holding no trace to drop is not written.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Usage:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; retrofit op compact [flags]&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Flags:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --all drop every trace outside sealed ranges (the flag is the attestation no open branch holds them)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --frontier string drop a trace only when this file holds the same trace&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -h, --help help for compact&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --help-all show extended help (vocabulary, semantics, caveats)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --seal strings also compact the sealed range of each named live Seal, to the bound&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --unshared string drop a trace only when this file holds no line, tombstone or replacement of its opid&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Global Flags:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --as string output mode: text | json (default &amp;#34;text&amp;#34;)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -C, --chdir string treat &amp;lt;dir&amp;gt; as the working directory for the entire run&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --config string retrofit.toml path (overrides discovery; also accepts $RETROFIT_CONFIG)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -f, --file string oplog file path; selects a registered [[schema]] path (overrides discovery)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --no-consolidate render every advisory occurrence instead of collapsing repeats&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -q, --quiet count suppress the advisory tier on stderr; stack (-qq) to drop it whole (errors and results still print)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --schema &amp;lt;name&amp;gt; registered schema &amp;lt;name&amp;gt; (resolves via the chain when omitted)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -v, --verbose reveal info-tier advisories on stderr&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Docs: https://docs.retrofit.sh/current/commands/retrofit-op-compact/&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description></item><item><title>retrofit op info</title><link>https://docs.retrofit.sh/current/commands/retrofit-op-info/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.retrofit.sh/current/commands/retrofit-op-info/</guid><description>&lt;h1 id="retrofit-op-info"&gt;&lt;code&gt;retrofit op info&lt;/code&gt;&lt;a class="anchor" href="#retrofit-op-info" aria-label="Link"&gt;&lt;/a&gt;&lt;/h1&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Reasoned reference documentation for a schema modification operator (SMO).&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; retrofit op info &amp;lt;Operator&amp;gt; one operator&amp;#39;s reference view&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; retrofit op info &amp;lt;Operator&amp;gt; --as json that operator&amp;#39;s descriptor as JSON&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; retrofit op info --dump human roll-up of all operators&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; retrofit op info --dump --as json the {&amp;#34;operators&amp;#34;:[...]} document for tooling&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;For an operator&amp;#39;s syntax (usage and positional order), run&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;`op add &amp;lt;Operator&amp;gt; --help`. The output is plain stdout; pipe it:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; retrofit op info CreateTable | less&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; retrofit op info --dump --as json | jq &amp;#39;.operators[].name&amp;#39;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Usage:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; retrofit op info [&amp;lt;operator&amp;gt;] [flags]&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Flags:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --dump marshal every registered operator (bulk / machine path)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -h, --help help for info&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --help-all show extended help (vocabulary, semantics, caveats)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Global Flags:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --as string output mode: text | json (default &amp;#34;text&amp;#34;)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -C, --chdir string treat &amp;lt;dir&amp;gt; as the working directory for the entire run&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --config string retrofit.toml path (overrides discovery; also accepts $RETROFIT_CONFIG)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -f, --file string oplog file path; selects a registered [[schema]] path (overrides discovery)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --no-consolidate render every advisory occurrence instead of collapsing repeats&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -q, --quiet count suppress the advisory tier on stderr; stack (-qq) to drop it whole (errors and results still print)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --schema &amp;lt;name&amp;gt; registered schema &amp;lt;name&amp;gt; (resolves via the chain when omitted)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -v, --verbose reveal info-tier advisories on stderr&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Docs: https://docs.retrofit.sh/current/commands/retrofit-op-info/&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description></item><item><title>retrofit op remove</title><link>https://docs.retrofit.sh/current/commands/retrofit-op-remove/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.retrofit.sh/current/commands/retrofit-op-remove/</guid><description>&lt;h1 id="retrofit-op-remove"&gt;&lt;code&gt;retrofit op remove&lt;/code&gt;&lt;a class="anchor" href="#retrofit-op-remove" aria-label="Link"&gt;&lt;/a&gt;&lt;/h1&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Drop one or more unsealed ops from the oplog&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Usage:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; retrofit op remove &amp;lt;selector&amp;gt; [flags]&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Flags:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --dry-run preview the opids that would be removed without writing&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -h, --help help for remove&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --help-all show extended help (vocabulary, semantics, caveats)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Global Flags:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --as string output mode: text | json (default &amp;#34;text&amp;#34;)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -C, --chdir string treat &amp;lt;dir&amp;gt; as the working directory for the entire run&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --config string retrofit.toml path (overrides discovery; also accepts $RETROFIT_CONFIG)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -f, --file string oplog file path; selects a registered [[schema]] path (overrides discovery)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --no-consolidate render every advisory occurrence instead of collapsing repeats&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -q, --quiet count suppress the advisory tier on stderr; stack (-qq) to drop it whole (errors and results still print)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --schema &amp;lt;name&amp;gt; registered schema &amp;lt;name&amp;gt; (resolves via the chain when omitted)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -v, --verbose reveal info-tier advisories on stderr&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Docs: https://docs.retrofit.sh/current/commands/retrofit-op-remove/&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;&lt;code&gt;retrofit op remove --help-all&lt;/code&gt; adds:&lt;/p&gt;</description></item><item><title>retrofit op revise</title><link>https://docs.retrofit.sh/current/commands/retrofit-op-revise/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.retrofit.sh/current/commands/retrofit-op-revise/</guid><description>&lt;h1 id="retrofit-op-revise"&gt;&lt;code&gt;retrofit op revise&lt;/code&gt;&lt;a class="anchor" href="#retrofit-op-revise" aria-label="Link"&gt;&lt;/a&gt;&lt;/h1&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Patch bound parameters on an unsealed op&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Usage:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; retrofit op revise &amp;lt;opid&amp;gt; [&amp;lt;key&amp;gt;=&amp;lt;value&amp;gt;...] [flags]&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Flags:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --batch read newline-separated revise commands from stdin (transactional)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --dry-run preview the proposed tail without writing&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -h, --help help for revise&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --help-all show extended help (vocabulary, semantics, caveats)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -i, --interactive open an editor on the selector&amp;#39;s ops&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Global Flags:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --as string output mode: text | json (default &amp;#34;text&amp;#34;)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -C, --chdir string treat &amp;lt;dir&amp;gt; as the working directory for the entire run&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --config string retrofit.toml path (overrides discovery; also accepts $RETROFIT_CONFIG)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -f, --file string oplog file path; selects a registered [[schema]] path (overrides discovery)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --no-consolidate render every advisory occurrence instead of collapsing repeats&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -q, --quiet count suppress the advisory tier on stderr; stack (-qq) to drop it whole (errors and results still print)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --schema &amp;lt;name&amp;gt; registered schema &amp;lt;name&amp;gt; (resolves via the chain when omitted)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -v, --verbose reveal info-tier advisories on stderr&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Docs: https://docs.retrofit.sh/current/commands/retrofit-op-revise/&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;&lt;code&gt;retrofit op revise --help-all&lt;/code&gt; adds:&lt;/p&gt;</description></item><item><title>retrofit op seal</title><link>https://docs.retrofit.sh/current/commands/retrofit-op-seal/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.retrofit.sh/current/commands/retrofit-op-seal/</guid><description>&lt;h1 id="retrofit-op-seal"&gt;&lt;code&gt;retrofit op seal&lt;/code&gt;&lt;a class="anchor" href="#retrofit-op-seal" aria-label="Link"&gt;&lt;/a&gt;&lt;/h1&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Seal the unsealed tail of the oplog. The Seal covers every op from&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;the first unsealed op through the current tail; subsequent edits to&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;those ops are detected by `retrofit validate`.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Tail-append only: sealing a sub-range of the unsealed tail is out&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;of scope.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;A range that declares reference data seals only when every reference&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;record it covers is witnessed, and only when every ExtractTable&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;child or CopyTable clone of a declared table born in it has a record&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;of its own (reference-rows-uncaptured): the op moves the source&amp;#39;s&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;rows into the product in every migrated database, so a fresh build&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;needs them captured.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Run with --help-all for recovery guidance (e.g. removing a Seal&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;authored on the wrong branch).&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Usage:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; retrofit op seal [flags]&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Flags:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --compact string compact the tail to this frontier file, then seal it, in one write&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -h, --help help for seal&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --help-all show extended help (vocabulary, semantics, caveats)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --reason string optional reason text recorded on the Seal&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Global Flags:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --as string output mode: text | json (default &amp;#34;text&amp;#34;)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -C, --chdir string treat &amp;lt;dir&amp;gt; as the working directory for the entire run&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --config string retrofit.toml path (overrides discovery; also accepts $RETROFIT_CONFIG)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -f, --file string oplog file path; selects a registered [[schema]] path (overrides discovery)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --no-consolidate render every advisory occurrence instead of collapsing repeats&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -q, --quiet count suppress the advisory tier on stderr; stack (-qq) to drop it whole (errors and results still print)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --schema &amp;lt;name&amp;gt; registered schema &amp;lt;name&amp;gt; (resolves via the chain when omitted)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -v, --verbose reveal info-tier advisories on stderr&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Docs: https://docs.retrofit.sh/current/commands/retrofit-op-seal/&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;&lt;code&gt;retrofit op seal --help-all&lt;/code&gt; adds:&lt;/p&gt;</description></item><item><title>retrofit op show</title><link>https://docs.retrofit.sh/current/commands/retrofit-op-show/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.retrofit.sh/current/commands/retrofit-op-show/</guid><description>&lt;h1 id="retrofit-op-show"&gt;&lt;code&gt;retrofit op show&lt;/code&gt;&lt;a class="anchor" href="#retrofit-op-show" aria-label="Link"&gt;&lt;/a&gt;&lt;/h1&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Render ops from the oplog&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Usage:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; retrofit op show [&amp;lt;selector&amp;gt;] [flags]&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Flags:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --annotate annotate every param with kind/enum metadata&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --filter key=value scalar equality predicate key=value; repeat for AND&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --findings after each op, print body-bearing Findings&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --framing string grammar shape in text mode: log | add | revise (default log: on-disk record) (default &amp;#34;log&amp;#34;)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --head int keep the first N ops after filtering (N &amp;gt; 0)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -h, --help help for show&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --help-all show extended help (vocabulary, semantics, caveats)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --include-sealed widen scope to include sealed ops&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -k, --keys strings project only these editable keys (comma-separated; repeatable)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --long one param per line with shell line-continuation&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --raw print one fixed-shape key=value record per AddColumn op (op, name, typ, typeRef); ignores --keys/--framing/--filter/--touching/--tail/--head&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --tail int keep the last N ops after filtering (N &amp;gt; 0)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --touching stringArray match ops referencing this element; repeat for OR&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Global Flags:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --as string output mode: text | json (default &amp;#34;text&amp;#34;)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -C, --chdir string treat &amp;lt;dir&amp;gt; as the working directory for the entire run&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --config string retrofit.toml path (overrides discovery; also accepts $RETROFIT_CONFIG)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -f, --file string oplog file path; selects a registered [[schema]] path (overrides discovery)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --no-consolidate render every advisory occurrence instead of collapsing repeats&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -q, --quiet count suppress the advisory tier on stderr; stack (-qq) to drop it whole (errors and results still print)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --schema &amp;lt;name&amp;gt; registered schema &amp;lt;name&amp;gt; (resolves via the chain when omitted)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -v, --verbose reveal info-tier advisories on stderr&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Docs: https://docs.retrofit.sh/current/commands/retrofit-op-show/&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;&lt;code&gt;retrofit op show --help-all&lt;/code&gt; adds:&lt;/p&gt;</description></item><item><title>retrofit op truncate</title><link>https://docs.retrofit.sh/current/commands/retrofit-op-truncate/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.retrofit.sh/current/commands/retrofit-op-truncate/</guid><description>&lt;h1 id="retrofit-op-truncate"&gt;&lt;code&gt;retrofit op truncate&lt;/code&gt;&lt;a class="anchor" href="#retrofit-op-truncate" aria-label="Link"&gt;&lt;/a&gt;&lt;/h1&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Rewind the oplog to a checkpoint by removing a suffix of ops&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Usage:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; retrofit op truncate [flags]&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Flags:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --drop-seals int also peel back this many Seal records (and everything each covers); the flag is the attestation, and each Seal removed is reported&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --dry-run preview the opids that would be removed without writing&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -h, --help help for truncate&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --help-all show extended help (vocabulary, semantics, caveats)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Global Flags:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --as string output mode: text | json (default &amp;#34;text&amp;#34;)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -C, --chdir string treat &amp;lt;dir&amp;gt; as the working directory for the entire run&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --config string retrofit.toml path (overrides discovery; also accepts $RETROFIT_CONFIG)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -f, --file string oplog file path; selects a registered [[schema]] path (overrides discovery)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --no-consolidate render every advisory occurrence instead of collapsing repeats&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -q, --quiet count suppress the advisory tier on stderr; stack (-qq) to drop it whole (errors and results still print)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --schema &amp;lt;name&amp;gt; registered schema &amp;lt;name&amp;gt; (resolves via the chain when omitted)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -v, --verbose reveal info-tier advisories on stderr&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Docs: https://docs.retrofit.sh/current/commands/retrofit-op-truncate/&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;&lt;code&gt;retrofit op truncate --help-all&lt;/code&gt; adds:&lt;/p&gt;</description></item><item><title>retrofit op unseal</title><link>https://docs.retrofit.sh/current/commands/retrofit-op-unseal/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.retrofit.sh/current/commands/retrofit-op-unseal/</guid><description>&lt;h1 id="retrofit-op-unseal"&gt;&lt;code&gt;retrofit op unseal&lt;/code&gt;&lt;a class="anchor" href="#retrofit-op-unseal" aria-label="Link"&gt;&lt;/a&gt;&lt;/h1&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Demote the most-recent N Seal record(s), keeping their ops as unsealed tail&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Usage:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; retrofit op unseal [N] [flags]&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Flags:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --dry-run preview the Seal opids that would be removed without writing&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -h, --help help for unseal&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --help-all show extended help (vocabulary, semantics, caveats)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Global Flags:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --as string output mode: text | json (default &amp;#34;text&amp;#34;)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -C, --chdir string treat &amp;lt;dir&amp;gt; as the working directory for the entire run&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --config string retrofit.toml path (overrides discovery; also accepts $RETROFIT_CONFIG)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -f, --file string oplog file path; selects a registered [[schema]] path (overrides discovery)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --no-consolidate render every advisory occurrence instead of collapsing repeats&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -q, --quiet count suppress the advisory tier on stderr; stack (-qq) to drop it whole (errors and results still print)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --schema &amp;lt;name&amp;gt; registered schema &amp;lt;name&amp;gt; (resolves via the chain when omitted)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -v, --verbose reveal info-tier advisories on stderr&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Docs: https://docs.retrofit.sh/current/commands/retrofit-op-unseal/&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;&lt;code&gt;retrofit op unseal --help-all&lt;/code&gt; adds:&lt;/p&gt;</description></item><item><title>retrofit ops</title><link>https://docs.retrofit.sh/current/commands/retrofit-ops/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.retrofit.sh/current/commands/retrofit-ops/</guid><description>&lt;h1 id="retrofit-ops"&gt;&lt;code&gt;retrofit ops&lt;/code&gt;&lt;a class="anchor" href="#retrofit-ops" aria-label="Link"&gt;&lt;/a&gt;&lt;/h1&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Run bulk maintenance over the oplog&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Usage:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; retrofit ops&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; retrofit ops [command]&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Available Commands:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; upgrade-sql-bodies Upgrade LANGUAGE sql opaque function bodies to BEGIN ATOMIC&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Flags:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -h, --help help for ops&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --help-all show extended help (vocabulary, semantics, caveats)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Global Flags:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --as string output mode: text | json (default &amp;#34;text&amp;#34;)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -C, --chdir string treat &amp;lt;dir&amp;gt; as the working directory for the entire run&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --config string retrofit.toml path (overrides discovery; also accepts $RETROFIT_CONFIG)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -f, --file string oplog file path; selects a registered [[schema]] path (overrides discovery)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --no-consolidate render every advisory occurrence instead of collapsing repeats&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -q, --quiet count suppress the advisory tier on stderr; stack (-qq) to drop it whole (errors and results still print)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -v, --verbose reveal info-tier advisories on stderr&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Use &amp;#34;retrofit ops [command] --help&amp;#34; for more information about a command.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Docs: https://docs.retrofit.sh/current/commands/retrofit-ops/&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description></item><item><title>retrofit ops upgrade-sql-bodies</title><link>https://docs.retrofit.sh/current/commands/retrofit-ops-upgrade-sql-bodies/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.retrofit.sh/current/commands/retrofit-ops-upgrade-sql-bodies/</guid><description>&lt;h1 id="retrofit-ops-upgrade-sql-bodies"&gt;&lt;code&gt;retrofit ops upgrade-sql-bodies&lt;/code&gt;&lt;a class="anchor" href="#retrofit-ops-upgrade-sql-bodies" aria-label="Link"&gt;&lt;/a&gt;&lt;/h1&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Upgrade LANGUAGE sql opaque function bodies to BEGIN ATOMIC&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Usage:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; retrofit ops upgrade-sql-bodies [flags]&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Flags:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --dry-run preview without writing&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -h, --help help for upgrade-sql-bodies&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --help-all show extended help (vocabulary, semantics, caveats)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --schema &amp;lt;name&amp;gt; registered schema &amp;lt;name&amp;gt; (resolves via the chain when omitted)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Global Flags:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --as string output mode: text | json (default &amp;#34;text&amp;#34;)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -C, --chdir string treat &amp;lt;dir&amp;gt; as the working directory for the entire run&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --config string retrofit.toml path (overrides discovery; also accepts $RETROFIT_CONFIG)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -f, --file string oplog file path; selects a registered [[schema]] path (overrides discovery)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --no-consolidate render every advisory occurrence instead of collapsing repeats&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -q, --quiet count suppress the advisory tier on stderr; stack (-qq) to drop it whole (errors and results still print)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -v, --verbose reveal info-tier advisories on stderr&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Docs: https://docs.retrofit.sh/current/commands/retrofit-ops-upgrade-sql-bodies/&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description></item><item><title>retrofit reconcile</title><link>https://docs.retrofit.sh/current/commands/retrofit-reconcile/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.retrofit.sh/current/commands/retrofit-reconcile/</guid><description>&lt;h1 id="retrofit-reconcile"&gt;&lt;code&gt;retrofit reconcile&lt;/code&gt;&lt;a class="anchor" href="#retrofit-reconcile" aria-label="Link"&gt;&lt;/a&gt;&lt;/h1&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Close concurrent forks in the oplog by rebasing onto a linear tail&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Usage:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; retrofit reconcile [&amp;lt;fork-selector&amp;gt;] [flags]&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Flags:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --accept-dirty write the requested order even when no clean order exists (dirty tail; resolve with op revise)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --all reconcile every leaf fork in line order (per-leaf atomic write); with --clean, refuses fork-nested (exit 1) on oplogs containing multiple truly-independent forks; run reconcile &amp;lt;fork-selector&amp;gt; --clean per fork in that case&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --allow-sealed-rewrite opid [sealed history] attest each Seal this run would demote or replace, by its full opid (repeatable, comma-separated); a value attests the Seal it names and selects nothing, and a Seal left unnamed refuses seal-removal-refused&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --clean write only if a clean order exists; refuse otherwise&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -h, --help help for reconcile&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --help-all show extended help (vocabulary, semantics, caveats)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --keep bias: prefer the first-seen block order (default when bias is meaningful)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --schema &amp;lt;name&amp;gt; registered schema &amp;lt;name&amp;gt; (resolves via the chain when omitted)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --swap bias: prefer the second-seen block order&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Global Flags:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --as string output mode: text | json (default &amp;#34;text&amp;#34;)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -C, --chdir string treat &amp;lt;dir&amp;gt; as the working directory for the entire run&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --config string retrofit.toml path (overrides discovery; also accepts $RETROFIT_CONFIG)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -f, --file string oplog file path; selects a registered [[schema]] path (overrides discovery)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --no-consolidate render every advisory occurrence instead of collapsing repeats&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -q, --quiet count suppress the advisory tier on stderr; stack (-qq) to drop it whole (errors and results still print)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -v, --verbose reveal info-tier advisories on stderr&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Docs: https://docs.retrofit.sh/current/commands/retrofit-reconcile/&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;&lt;code&gt;retrofit reconcile --help-all&lt;/code&gt; adds:&lt;/p&gt;</description></item><item><title>retrofit schema</title><link>https://docs.retrofit.sh/current/commands/retrofit-schema/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.retrofit.sh/current/commands/retrofit-schema/</guid><description>&lt;h1 id="retrofit-schema"&gt;&lt;code&gt;retrofit schema&lt;/code&gt;&lt;a class="anchor" href="#retrofit-schema" aria-label="Link"&gt;&lt;/a&gt;&lt;/h1&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Manage registered schemas&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Usage:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; retrofit schema&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; retrofit schema [command]&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Available Commands:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; create Create a new oplog and register the schema&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; engine Read or set a schema&amp;#39;s engine version (production pin + emit target)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; form Print or switch the oplog&amp;#39;s form line (merge or compact)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; list List registered schemas (name, path, engine version, default marker)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; move Move a schema&amp;#39;s oplog to another directory&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; ref-tables Read or edit a schema&amp;#39;s reference-data capture policy&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; remove Remove a registered schema (deletes the oplog file by default)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; scope Manage [directory_scope] entries&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; set-default Set or clear default_schema in retrofit.toml&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Flags:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -h, --help help for schema&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --help-all show extended help (vocabulary, semantics, caveats)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Global Flags:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --as string output mode: text | json (default &amp;#34;text&amp;#34;)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -C, --chdir string treat &amp;lt;dir&amp;gt; as the working directory for the entire run&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --config string retrofit.toml path (overrides discovery; also accepts $RETROFIT_CONFIG)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -f, --file string oplog file path; selects a registered [[schema]] path (overrides discovery)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --no-consolidate render every advisory occurrence instead of collapsing repeats&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -q, --quiet count suppress the advisory tier on stderr; stack (-qq) to drop it whole (errors and results still print)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -v, --verbose reveal info-tier advisories on stderr&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Use &amp;#34;retrofit schema [command] --help&amp;#34; for more information about a command.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Docs: https://docs.retrofit.sh/current/commands/retrofit-schema/&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description></item><item><title>retrofit schema create</title><link>https://docs.retrofit.sh/current/commands/retrofit-schema-create/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.retrofit.sh/current/commands/retrofit-schema-create/</guid><description>&lt;h1 id="retrofit-schema-create"&gt;&lt;code&gt;retrofit schema create&lt;/code&gt;&lt;a class="anchor" href="#retrofit-schema-create" aria-label="Link"&gt;&lt;/a&gt;&lt;/h1&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Create a new oplog and register the schema in retrofit.toml.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&amp;lt;name&amp;gt; schema identifier (SQL-identifier shape).&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&amp;lt;location&amp;gt; optional target DIRECTORY (an existing dir, or a&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; trailing-/ path to be created); the oplog file is&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; derived as &amp;lt;name&amp;gt;.oplog.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Run with --help-all for the name-charset rules.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Usage:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; retrofit schema create &amp;lt;name&amp;gt; [&amp;lt;location&amp;gt;] [flags]&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Flags:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --engine-version &amp;lt;15|16|17|18&amp;gt; supported major &amp;lt;15|16|17|18&amp;gt; for the new schema (default: project engine_version)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --form merge the new oplog&amp;#39;s form: merge or `compact` (default &amp;#34;merge&amp;#34;)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -h, --help help for create&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --help-all show extended help (vocabulary, semantics, caveats)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --is-default pin this schema as default_schema&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --scope stringArray directory to scope to this schema (repeatable)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Global Flags:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --as string output mode: text | json (default &amp;#34;text&amp;#34;)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -C, --chdir string treat &amp;lt;dir&amp;gt; as the working directory for the entire run&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --config string retrofit.toml path (overrides discovery; also accepts $RETROFIT_CONFIG)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -f, --file string oplog file path; selects a registered [[schema]] path (overrides discovery)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --no-consolidate render every advisory occurrence instead of collapsing repeats&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -q, --quiet count suppress the advisory tier on stderr; stack (-qq) to drop it whole (errors and results still print)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -v, --verbose reveal info-tier advisories on stderr&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Docs: https://docs.retrofit.sh/current/commands/retrofit-schema-create/&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;&lt;code&gt;retrofit schema create --help-all&lt;/code&gt; adds:&lt;/p&gt;</description></item><item><title>retrofit schema engine</title><link>https://docs.retrofit.sh/current/commands/retrofit-schema-engine/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.retrofit.sh/current/commands/retrofit-schema-engine/</guid><description>&lt;h1 id="retrofit-schema-engine"&gt;&lt;code&gt;retrofit schema engine&lt;/code&gt;&lt;a class="anchor" href="#retrofit-schema-engine" aria-label="Link"&gt;&lt;/a&gt;&lt;/h1&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Read (no &amp;lt;version&amp;gt;) or set (with &amp;lt;version&amp;gt;) a schema&amp;#39;s two&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;engine-version axes: the production pin (oplog header) and&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;the emit target ([[schema]] engine_version). Default form&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sets both axes. Selects schema via --schema or resolver chain.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Usage:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; retrofit schema engine [&amp;lt;version&amp;gt;] [flags]&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Flags:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --config-only set only the toml target axis (oplog header untouched)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --dry-run report the would-action without writing&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -h, --help help for engine&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --help-all show extended help (vocabulary, semantics, caveats)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --schema &amp;lt;name&amp;gt; registered schema &amp;lt;name&amp;gt; (resolves via the chain when omitted)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Global Flags:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --as string output mode: text | json (default &amp;#34;text&amp;#34;)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -C, --chdir string treat &amp;lt;dir&amp;gt; as the working directory for the entire run&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --config string retrofit.toml path (overrides discovery; also accepts $RETROFIT_CONFIG)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -f, --file string oplog file path; selects a registered [[schema]] path (overrides discovery)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --no-consolidate render every advisory occurrence instead of collapsing repeats&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -q, --quiet count suppress the advisory tier on stderr; stack (-qq) to drop it whole (errors and results still print)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -v, --verbose reveal info-tier advisories on stderr&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Docs: https://docs.retrofit.sh/current/commands/retrofit-schema-engine/&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;&lt;code&gt;retrofit schema engine --help-all&lt;/code&gt; adds:&lt;/p&gt;</description></item><item><title>retrofit schema form</title><link>https://docs.retrofit.sh/current/commands/retrofit-schema-form/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.retrofit.sh/current/commands/retrofit-schema-form/</guid><description>&lt;h1 id="retrofit-schema-form"&gt;&lt;code&gt;retrofit schema form&lt;/code&gt;&lt;a class="anchor" href="#retrofit-schema-form" aria-label="Link"&gt;&lt;/a&gt;&lt;/h1&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Print (no argument) or switch a schema&amp;#39;s oplog form. compact to merge&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;changes the form line; merge to compact compacts every range, sealed&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;ones included, the switch being the attestation. Naming the form the&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;file holds changes no line. Selects schema via --schema or resolver chain.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Usage:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; retrofit schema form [merge|compact] [flags]&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Flags:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -h, --help help for form&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --help-all show extended help (vocabulary, semantics, caveats)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --schema &amp;lt;name&amp;gt; registered schema &amp;lt;name&amp;gt; (resolves via chain if omitted)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Global Flags:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --as string output mode: text | json (default &amp;#34;text&amp;#34;)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -C, --chdir string treat &amp;lt;dir&amp;gt; as the working directory for the entire run&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --config string retrofit.toml path (overrides discovery; also accepts $RETROFIT_CONFIG)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -f, --file string oplog file path; selects a registered [[schema]] path (overrides discovery)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --no-consolidate render every advisory occurrence instead of collapsing repeats&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -q, --quiet count suppress the advisory tier on stderr; stack (-qq) to drop it whole (errors and results still print)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -v, --verbose reveal info-tier advisories on stderr&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Docs: https://docs.retrofit.sh/current/commands/retrofit-schema-form/&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description></item><item><title>retrofit schema list</title><link>https://docs.retrofit.sh/current/commands/retrofit-schema-list/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.retrofit.sh/current/commands/retrofit-schema-list/</guid><description>&lt;h1 id="retrofit-schema-list"&gt;&lt;code&gt;retrofit schema list&lt;/code&gt;&lt;a class="anchor" href="#retrofit-schema-list" aria-label="Link"&gt;&lt;/a&gt;&lt;/h1&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Enumerate the [[schema]] entries in retrofit.toml: name, oplog&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;path, resolved engine version, and which one is the default_schema&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;pin. An empty registry succeeds with zero rows.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Usage:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; retrofit schema list [flags]&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Flags:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -h, --help help for list&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --help-all show extended help (vocabulary, semantics, caveats)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Global Flags:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --as string output mode: text | json (default &amp;#34;text&amp;#34;)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -C, --chdir string treat &amp;lt;dir&amp;gt; as the working directory for the entire run&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --config string retrofit.toml path (overrides discovery; also accepts $RETROFIT_CONFIG)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -f, --file string oplog file path; selects a registered [[schema]] path (overrides discovery)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --no-consolidate render every advisory occurrence instead of collapsing repeats&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -q, --quiet count suppress the advisory tier on stderr; stack (-qq) to drop it whole (errors and results still print)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -v, --verbose reveal info-tier advisories on stderr&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Docs: https://docs.retrofit.sh/current/commands/retrofit-schema-list/&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description></item><item><title>retrofit schema move</title><link>https://docs.retrofit.sh/current/commands/retrofit-schema-move/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.retrofit.sh/current/commands/retrofit-schema-move/</guid><description>&lt;h1 id="retrofit-schema-move"&gt;&lt;code&gt;retrofit schema move&lt;/code&gt;&lt;a class="anchor" href="#retrofit-schema-move" aria-label="Link"&gt;&lt;/a&gt;&lt;/h1&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Move a schema&amp;#39;s oplog to another directory&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Usage:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; retrofit schema move &amp;lt;directory&amp;gt; [--schema &amp;lt;name&amp;gt;] [flags]&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Flags:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -h, --help help for move&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --help-all show extended help (vocabulary, semantics, caveats)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --schema &amp;lt;name&amp;gt; registered schema &amp;lt;name&amp;gt; (resolves via the chain when omitted)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Global Flags:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --as string output mode: text | json (default &amp;#34;text&amp;#34;)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -C, --chdir string treat &amp;lt;dir&amp;gt; as the working directory for the entire run&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --config string retrofit.toml path (overrides discovery; also accepts $RETROFIT_CONFIG)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -f, --file string oplog file path; selects a registered [[schema]] path (overrides discovery)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --no-consolidate render every advisory occurrence instead of collapsing repeats&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -q, --quiet count suppress the advisory tier on stderr; stack (-qq) to drop it whole (errors and results still print)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -v, --verbose reveal info-tier advisories on stderr&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Docs: https://docs.retrofit.sh/current/commands/retrofit-schema-move/&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description></item><item><title>retrofit schema ref-tables</title><link>https://docs.retrofit.sh/current/commands/retrofit-schema-ref-tables/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.retrofit.sh/current/commands/retrofit-schema-ref-tables/</guid><description>&lt;h1 id="retrofit-schema-ref-tables"&gt;&lt;code&gt;retrofit schema ref-tables&lt;/code&gt;&lt;a class="anchor" href="#retrofit-schema-ref-tables" aria-label="Link"&gt;&lt;/a&gt;&lt;/h1&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Read or edit a schema&amp;#39;s reference-data capture policy.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;A table declared as reference data holds the rows the application reads but&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;never writes, such as currency codes, country lists and status enumerations.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Rows the application writes are seed or transition data and are not declared&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;here.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;The declaration is an attribute of the table&amp;#39;s element, carried in the oplog:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;add and remove append one SetReferenceData op per resolved table. Nothing is&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;stored in retrofit.toml, and the declaration survives a rename because it&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;lives on the element rather than on its name.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;The declared set is the reference capture scope of every producer run: import,&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;data capture, drift and data scaffold each read the set at their own minting&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;cut and capture a declared table&amp;#39;s rows as reference data.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;The bare parent reads and reports the declared set. add and remove edit it and&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;then report the whole result; there is deliberately no list subcommand.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Each argument is an exact relname or a filepath.Match glob, resolved against&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;the live tables of the read cut: HEAD unless --at &amp;lt;opid&amp;gt; names one. A name&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;that resolves to nothing is refused: a declaration names a live element, so&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;the table must exist before it can be declared. A glob is never stored; the&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;resolved table names are what the oplog carries.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Usage:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; retrofit schema ref-tables [flags]&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; retrofit schema ref-tables [command]&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Available Commands:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; add Declare one or more tables as the schema&amp;#39;s reference data&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; remove Undeclare one or more of the schema&amp;#39;s reference-data tables&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Flags:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --at &amp;lt;opid&amp;gt; read cut &amp;lt;opid&amp;gt; (HEAD when omitted)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --data-root data_root root that overrides the schema&amp;#39;s data_root&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -h, --help help for ref-tables&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --help-all show extended help (vocabulary, semantics, caveats)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --schema &amp;lt;name&amp;gt; registered schema &amp;lt;name&amp;gt; (resolves via the chain when omitted)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Global Flags:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --as string output mode: text | json (default &amp;#34;text&amp;#34;)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -C, --chdir string treat &amp;lt;dir&amp;gt; as the working directory for the entire run&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --config string retrofit.toml path (overrides discovery; also accepts $RETROFIT_CONFIG)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -f, --file string oplog file path; selects a registered [[schema]] path (overrides discovery)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --no-consolidate render every advisory occurrence instead of collapsing repeats&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -q, --quiet count suppress the advisory tier on stderr; stack (-qq) to drop it whole (errors and results still print)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -v, --verbose reveal info-tier advisories on stderr&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Use &amp;#34;retrofit schema ref-tables [command] --help&amp;#34; for more information about a command.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Docs: https://docs.retrofit.sh/current/commands/retrofit-schema-ref-tables/&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description></item><item><title>retrofit schema ref-tables add</title><link>https://docs.retrofit.sh/current/commands/retrofit-schema-ref-tables-add/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.retrofit.sh/current/commands/retrofit-schema-ref-tables-add/</guid><description>&lt;h1 id="retrofit-schema-ref-tables-add"&gt;&lt;code&gt;retrofit schema ref-tables add&lt;/code&gt;&lt;a class="anchor" href="#retrofit-schema-ref-tables-add" aria-label="Link"&gt;&lt;/a&gt;&lt;/h1&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Declare one or more tables as the schema&amp;#39;s reference data&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Usage:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; retrofit schema ref-tables add &amp;lt;table&amp;gt;... [flags]&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Flags:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --dry-run report the would-be oplog entries without minting&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -h, --help help for add&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --help-all show extended help (vocabulary, semantics, caveats)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Global Flags:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --as string output mode: text | json (default &amp;#34;text&amp;#34;)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --at &amp;lt;opid&amp;gt; read cut &amp;lt;opid&amp;gt; (HEAD when omitted)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -C, --chdir string treat &amp;lt;dir&amp;gt; as the working directory for the entire run&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --config string retrofit.toml path (overrides discovery; also accepts $RETROFIT_CONFIG)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --data-root data_root root that overrides the schema&amp;#39;s data_root&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -f, --file string oplog file path; selects a registered [[schema]] path (overrides discovery)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --no-consolidate render every advisory occurrence instead of collapsing repeats&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -q, --quiet count suppress the advisory tier on stderr; stack (-qq) to drop it whole (errors and results still print)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --schema &amp;lt;name&amp;gt; registered schema &amp;lt;name&amp;gt; (resolves via the chain when omitted)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -v, --verbose reveal info-tier advisories on stderr&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Docs: https://docs.retrofit.sh/current/commands/retrofit-schema-ref-tables-add/&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description></item><item><title>retrofit schema ref-tables remove</title><link>https://docs.retrofit.sh/current/commands/retrofit-schema-ref-tables-remove/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.retrofit.sh/current/commands/retrofit-schema-ref-tables-remove/</guid><description>&lt;h1 id="retrofit-schema-ref-tables-remove"&gt;&lt;code&gt;retrofit schema ref-tables remove&lt;/code&gt;&lt;a class="anchor" href="#retrofit-schema-ref-tables-remove" aria-label="Link"&gt;&lt;/a&gt;&lt;/h1&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Undeclare one or more of the schema&amp;#39;s reference-data tables&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Usage:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; retrofit schema ref-tables remove &amp;lt;table&amp;gt;... [flags]&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Flags:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --dry-run report the would-be oplog entries without minting&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -h, --help help for remove&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --help-all show extended help (vocabulary, semantics, caveats)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Global Flags:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --as string output mode: text | json (default &amp;#34;text&amp;#34;)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --at &amp;lt;opid&amp;gt; read cut &amp;lt;opid&amp;gt; (HEAD when omitted)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -C, --chdir string treat &amp;lt;dir&amp;gt; as the working directory for the entire run&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --config string retrofit.toml path (overrides discovery; also accepts $RETROFIT_CONFIG)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --data-root data_root root that overrides the schema&amp;#39;s data_root&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -f, --file string oplog file path; selects a registered [[schema]] path (overrides discovery)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --no-consolidate render every advisory occurrence instead of collapsing repeats&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -q, --quiet count suppress the advisory tier on stderr; stack (-qq) to drop it whole (errors and results still print)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --schema &amp;lt;name&amp;gt; registered schema &amp;lt;name&amp;gt; (resolves via the chain when omitted)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -v, --verbose reveal info-tier advisories on stderr&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Docs: https://docs.retrofit.sh/current/commands/retrofit-schema-ref-tables-remove/&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description></item><item><title>retrofit schema remove</title><link>https://docs.retrofit.sh/current/commands/retrofit-schema-remove/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.retrofit.sh/current/commands/retrofit-schema-remove/</guid><description>&lt;h1 id="retrofit-schema-remove"&gt;&lt;code&gt;retrofit schema remove&lt;/code&gt;&lt;a class="anchor" href="#retrofit-schema-remove" aria-label="Link"&gt;&lt;/a&gt;&lt;/h1&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Remove a schema&amp;#39;s [[schema]] entry from retrofit.toml and delete&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;its oplog file, whatever it holds, sealed ops included (pass&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;--keep-oplog to keep it). A committed oplog can be restored from git.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Usage:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; retrofit schema remove &amp;lt;name&amp;gt; [flags]&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Flags:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -h, --help help for remove&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --help-all show extended help (vocabulary, semantics, caveats)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --keep-oplog unregister the schema but leave the oplog file on disk&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Global Flags:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --as string output mode: text | json (default &amp;#34;text&amp;#34;)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -C, --chdir string treat &amp;lt;dir&amp;gt; as the working directory for the entire run&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --config string retrofit.toml path (overrides discovery; also accepts $RETROFIT_CONFIG)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -f, --file string oplog file path; selects a registered [[schema]] path (overrides discovery)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --no-consolidate render every advisory occurrence instead of collapsing repeats&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -q, --quiet count suppress the advisory tier on stderr; stack (-qq) to drop it whole (errors and results still print)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -v, --verbose reveal info-tier advisories on stderr&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Docs: https://docs.retrofit.sh/current/commands/retrofit-schema-remove/&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description></item><item><title>retrofit schema scope</title><link>https://docs.retrofit.sh/current/commands/retrofit-schema-scope/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.retrofit.sh/current/commands/retrofit-schema-scope/</guid><description>&lt;h1 id="retrofit-schema-scope"&gt;&lt;code&gt;retrofit schema scope&lt;/code&gt;&lt;a class="anchor" href="#retrofit-schema-scope" aria-label="Link"&gt;&lt;/a&gt;&lt;/h1&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Manage [directory_scope] entries&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Usage:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; retrofit schema scope&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; retrofit schema scope [command]&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Available Commands:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; add Add a [directory_scope] entry&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; remove Remove a [directory_scope] entry&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Flags:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -h, --help help for scope&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --help-all show extended help (vocabulary, semantics, caveats)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Global Flags:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --as string output mode: text | json (default &amp;#34;text&amp;#34;)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -C, --chdir string treat &amp;lt;dir&amp;gt; as the working directory for the entire run&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --config string retrofit.toml path (overrides discovery; also accepts $RETROFIT_CONFIG)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -f, --file string oplog file path; selects a registered [[schema]] path (overrides discovery)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --no-consolidate render every advisory occurrence instead of collapsing repeats&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -q, --quiet count suppress the advisory tier on stderr; stack (-qq) to drop it whole (errors and results still print)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -v, --verbose reveal info-tier advisories on stderr&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Use &amp;#34;retrofit schema scope [command] --help&amp;#34; for more information about a command.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Docs: https://docs.retrofit.sh/current/commands/retrofit-schema-scope/&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description></item><item><title>retrofit schema scope add</title><link>https://docs.retrofit.sh/current/commands/retrofit-schema-scope-add/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.retrofit.sh/current/commands/retrofit-schema-scope-add/</guid><description>&lt;h1 id="retrofit-schema-scope-add"&gt;&lt;code&gt;retrofit schema scope add&lt;/code&gt;&lt;a class="anchor" href="#retrofit-schema-scope-add" aria-label="Link"&gt;&lt;/a&gt;&lt;/h1&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Add a [directory_scope] entry&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Usage:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; retrofit schema scope add &amp;lt;dir&amp;gt; [--schema &amp;lt;name&amp;gt;] [flags]&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Flags:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -h, --help help for add&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --help-all show extended help (vocabulary, semantics, caveats)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --schema &amp;lt;name&amp;gt; registered schema &amp;lt;name&amp;gt; (resolves via the chain when omitted)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Global Flags:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --as string output mode: text | json (default &amp;#34;text&amp;#34;)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -C, --chdir string treat &amp;lt;dir&amp;gt; as the working directory for the entire run&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --config string retrofit.toml path (overrides discovery; also accepts $RETROFIT_CONFIG)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -f, --file string oplog file path; selects a registered [[schema]] path (overrides discovery)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --no-consolidate render every advisory occurrence instead of collapsing repeats&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -q, --quiet count suppress the advisory tier on stderr; stack (-qq) to drop it whole (errors and results still print)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -v, --verbose reveal info-tier advisories on stderr&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Docs: https://docs.retrofit.sh/current/commands/retrofit-schema-scope-add/&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description></item><item><title>retrofit schema scope remove</title><link>https://docs.retrofit.sh/current/commands/retrofit-schema-scope-remove/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.retrofit.sh/current/commands/retrofit-schema-scope-remove/</guid><description>&lt;h1 id="retrofit-schema-scope-remove"&gt;&lt;code&gt;retrofit schema scope remove&lt;/code&gt;&lt;a class="anchor" href="#retrofit-schema-scope-remove" aria-label="Link"&gt;&lt;/a&gt;&lt;/h1&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Remove a [directory_scope] entry&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Usage:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; retrofit schema scope remove &amp;lt;dir&amp;gt; [flags]&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Flags:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -h, --help help for remove&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --help-all show extended help (vocabulary, semantics, caveats)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Global Flags:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --as string output mode: text | json (default &amp;#34;text&amp;#34;)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -C, --chdir string treat &amp;lt;dir&amp;gt; as the working directory for the entire run&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --config string retrofit.toml path (overrides discovery; also accepts $RETROFIT_CONFIG)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -f, --file string oplog file path; selects a registered [[schema]] path (overrides discovery)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --no-consolidate render every advisory occurrence instead of collapsing repeats&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -q, --quiet count suppress the advisory tier on stderr; stack (-qq) to drop it whole (errors and results still print)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -v, --verbose reveal info-tier advisories on stderr&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Docs: https://docs.retrofit.sh/current/commands/retrofit-schema-scope-remove/&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description></item><item><title>retrofit schema set-default</title><link>https://docs.retrofit.sh/current/commands/retrofit-schema-set-default/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.retrofit.sh/current/commands/retrofit-schema-set-default/</guid><description>&lt;h1 id="retrofit-schema-set-default"&gt;&lt;code&gt;retrofit schema set-default&lt;/code&gt;&lt;a class="anchor" href="#retrofit-schema-set-default" aria-label="Link"&gt;&lt;/a&gt;&lt;/h1&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Set or clear default_schema in retrofit.toml&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Usage:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; retrofit schema set-default &amp;lt;name&amp;gt; | --unset [flags]&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Flags:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -h, --help help for set-default&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --help-all show extended help (vocabulary, semantics, caveats)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --unset remove default_schema from retrofit.toml&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Global Flags:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --as string output mode: text | json (default &amp;#34;text&amp;#34;)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -C, --chdir string treat &amp;lt;dir&amp;gt; as the working directory for the entire run&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --config string retrofit.toml path (overrides discovery; also accepts $RETROFIT_CONFIG)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -f, --file string oplog file path; selects a registered [[schema]] path (overrides discovery)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --no-consolidate render every advisory occurrence instead of collapsing repeats&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -q, --quiet count suppress the advisory tier on stderr; stack (-qq) to drop it whole (errors and results still print)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -v, --verbose reveal info-tier advisories on stderr&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Docs: https://docs.retrofit.sh/current/commands/retrofit-schema-set-default/&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description></item><item><title>retrofit snapshot</title><link>https://docs.retrofit.sh/current/commands/retrofit-snapshot/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.retrofit.sh/current/commands/retrofit-snapshot/</guid><description>&lt;h1 id="retrofit-snapshot"&gt;&lt;code&gt;retrofit snapshot&lt;/code&gt;&lt;a class="anchor" href="#retrofit-snapshot" aria-label="Link"&gt;&lt;/a&gt;&lt;/h1&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Emit canonical DDL for the materialized schema, shaped like&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;`pg_dump --schema-only` (docs/pg_dump-parity.md lists the differences).&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Run with --help-all for the full --include-drop / --using semantics.&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Usage:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; retrofit snapshot [flags]&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Flags:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --allow-reading-replace-body downgrade the replace-body-reads-relation refusal to a warning; emit the body verbatim under a WARNING comment, and render its table&amp;#39;s prologue as a whole-table clear&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --allow-stale-dml downgrade every stale-DML-reference refusal to a warning; emit the body under a stale-reference WARNING comment. It does NOT cover chain-collision, which is not attestable: two live chains for one element is a fork to resolve by retiring one, and exit 2 stands&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --allow-unnamed-label stringArray attest that the dataset carrying this exact label is deliberately left unnamed in this run (repeatable; byte-exact, never trimmed); every other unnamed dataset still warns&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --at root emit DDL for the cut at &amp;lt;opid&amp;gt; prefix or anchor (root/`last`/`seal`, optional `^`/`~N`) (default: last)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --data-only emit the data band only: the banner (unless --no-header), then the band as snapshot emits it; no DDL&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --data-root data_root root that overrides the schema&amp;#39;s data_root&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --exclude-schema strings drop schemas matching &amp;lt;name&amp;gt; from emission (repeatable; pg_dump -N)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --exclude-table strings drop tables matching &amp;lt;name&amp;gt; or &amp;lt;schema&amp;gt;.&amp;lt;name&amp;gt; from emission (repeatable; pg_dump -T)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --extra-seed-path seed_paths root that appends to the declared seed_paths&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -h, --help help for snapshot&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --help-all show extended help (vocabulary, semantics, caveats)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --include-drop string[=&amp;#34;scoped&amp;#34;] DROP prologue before the CREATEs: none | scoped | schema (default &amp;#34;none&amp;#34;)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --label stringArray apply the dataset carrying this exact label (repeatable; argv order is layer order; byte-exact, never trimmed; never cuts ref data)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --no-comments suppress every COMMENT ON statement (pg_dump --no-comments)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --no-header suppress the canonical banner line&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --over string with --data-only: emit only the tables the LAST-named --label&amp;#39;s layer contributed to (a projection, never a diff)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --schema &amp;lt;name&amp;gt; registered schema &amp;lt;name&amp;gt; (resolves via the chain when omitted)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --seed-path seed_paths root that replaces the declared seed_paths&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --skip-manifest string write skipped view-render records (JSONL) to &amp;lt;path&amp;gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --table strings restrict emission to tables matching &amp;lt;name&amp;gt; or &amp;lt;schema&amp;gt;.&amp;lt;name&amp;gt; (repeatable; pg_dump -t)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --using string one-shot emit target override (format: &amp;lt;engine&amp;gt;:&amp;lt;major&amp;gt;; read-only)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Global Flags:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --as string output mode: text | json (default &amp;#34;text&amp;#34;)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -C, --chdir string treat &amp;lt;dir&amp;gt; as the working directory for the entire run&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --config string retrofit.toml path (overrides discovery; also accepts $RETROFIT_CONFIG)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -f, --file string oplog file path; selects a registered [[schema]] path (overrides discovery)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --no-consolidate render every advisory occurrence instead of collapsing repeats&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -q, --quiet count suppress the advisory tier on stderr; stack (-qq) to drop it whole (errors and results still print)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -v, --verbose reveal info-tier advisories on stderr&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Docs: https://docs.retrofit.sh/current/commands/retrofit-snapshot/&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;&lt;code&gt;retrofit snapshot --help-all&lt;/code&gt; adds:&lt;/p&gt;</description></item><item><title>retrofit validate</title><link>https://docs.retrofit.sh/current/commands/retrofit-validate/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.retrofit.sh/current/commands/retrofit-validate/</guid><description>&lt;h1 id="retrofit-validate"&gt;&lt;code&gt;retrofit validate&lt;/code&gt;&lt;a class="anchor" href="#retrofit-validate" aria-label="Link"&gt;&lt;/a&gt;&lt;/h1&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Validate retrofit.toml, project layout, and the oplog&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Usage:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; retrofit validate [flags]&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Flags:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --allow-unmerged-fork report an unmerged fork as an advisory and exit 0; apply-risk hazards, seal-integrity refusals and standing violations still fail the run&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --every-commit with --history, validate every commit of the PR in the bundle, not only the candidate&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --fail-on-apply-risk fail (exit 2) on the apply-risk hazards in the migration window since the latest Seal: validating-fk, validating-check and add-not-null on a table that may hold rows; add-unique stays advisory&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -h, --help help for validate&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --help-all show extended help (vocabulary, semantics, caveats)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --history string check the history bundle at &amp;lt;dir&amp;gt; (written by the CI snippet; retrofit runs no git)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Global Flags:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --as string output mode: text | json (default &amp;#34;text&amp;#34;)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -C, --chdir string treat &amp;lt;dir&amp;gt; as the working directory for the entire run&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --config string retrofit.toml path (overrides discovery; also accepts $RETROFIT_CONFIG)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -f, --file string oplog file path; selects a registered [[schema]] path (overrides discovery)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --no-consolidate render every advisory occurrence instead of collapsing repeats&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -q, --quiet count suppress the advisory tier on stderr; stack (-qq) to drop it whole (errors and results still print)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -v, --verbose reveal info-tier advisories on stderr&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Docs: https://docs.retrofit.sh/current/commands/retrofit-validate/&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;&lt;code&gt;retrofit validate --help-all&lt;/code&gt; adds:&lt;/p&gt;</description></item><item><title>Operators</title><link>https://docs.retrofit.sh/current/smo-catalog/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.retrofit.sh/current/smo-catalog/</guid><description>&lt;h1 id="smo-catalog-and-status"&gt;SMO Catalog and Status&lt;a class="anchor" href="#smo-catalog-and-status" aria-label="Link"&gt;&lt;/a&gt;&lt;/h1&gt;&#10;&lt;p&gt;Every Schema Modification Operator (SMO) against PostgreSQL&amp;rsquo;s DDL surface, and whether its descriptor is registered in &lt;code&gt;internal/oplog/catalog/operators.go&lt;/code&gt;, the source of truth. &lt;code&gt;op info &amp;lt;Op&amp;gt;&lt;/code&gt; prints an operator&amp;rsquo;s catalog entry: its inverse, its tier and what it preserves. Which verbs author, recognize, render or refuse each SMO is in the per-verb references: &lt;a href="https://docs.retrofit.sh/current/import/"&gt;&lt;code&gt;import.md&lt;/code&gt;&lt;/a&gt;, &lt;a href="https://docs.retrofit.sh/current/drift/"&gt;&lt;code&gt;drift.md&lt;/code&gt;&lt;/a&gt;, &lt;a href="https://docs.retrofit.sh/current/snapshot/"&gt;&lt;code&gt;snapshot.md&lt;/code&gt;&lt;/a&gt;, &lt;a href="https://docs.retrofit.sh/current/migrate/"&gt;&lt;code&gt;migrate.md&lt;/code&gt;&lt;/a&gt;.&lt;/p&gt;&#10;&lt;h2 id="status"&gt;Status&lt;a class="anchor" href="#status" aria-label="Link"&gt;&lt;/a&gt;&lt;/h2&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 style="text-align: center"&gt;Code&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th style="text-align: left"&gt;Meaning&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 style="text-align: center"&gt;&lt;strong&gt;✓&lt;/strong&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td style="text-align: left"&gt;Implemented in &lt;code&gt;internal/oplog/catalog/operators.go&lt;/code&gt;.&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 style="text-align: center"&gt;&lt;strong&gt;not registered&lt;/strong&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td style="text-align: left"&gt;No descriptor in &lt;code&gt;operators.go&lt;/code&gt;. The Notes column says what is not available and why.&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 style="text-align: center"&gt;&lt;strong&gt;N/A:reason&lt;/strong&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td style="text-align: left"&gt;Out of scope by construction (&lt;code&gt;:no-pg-primitive&lt;/code&gt;; &lt;code&gt;:no-relational-analog&lt;/code&gt; for NoSQL/JSONB; &lt;code&gt;:physical-surface&lt;/code&gt; for cluster/storage). The &lt;code&gt;reason&lt;/code&gt; token is bare; any qualifying prose belongs in the Notes column.&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/tbody&gt;&#10;&lt;/table&gt;&#10;&lt;p&gt;In the Local name column, &amp;ldquo;none&amp;rdquo; means no registered operator carries the SMO.&lt;/p&gt;</description></item><item><title>Output contract</title><link>https://docs.retrofit.sh/current/cli-output-contract/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.retrofit.sh/current/cli-output-contract/</guid><description>&lt;h1 id="cli-output-contract"&gt;CLI output contract&lt;a class="anchor" href="#cli-output-contract" aria-label="Link"&gt;&lt;/a&gt;&lt;/h1&gt;&#10;&lt;p&gt;This document is the canonical reference for what the retrofit CLI&#10;prints, where, and in what shape. It is the contract you script&#10;against.&lt;/p&gt;&#10;&lt;p&gt;The persistent root flag &lt;code&gt;--as=text|json&lt;/code&gt; selects the output mode.&#10;Stdout carries the disposition (a terminal envelope under JSON mode);&#10;stderr carries advisories. Errors normally land on stdout under JSON so&#10;a single &lt;code&gt;jq&lt;/code&gt; filter handles both ok and error paths.&#10;&lt;a href="#channel-exceptions"&gt;Channel exceptions&lt;/a&gt; lists the records that depart&#10;from this rule.&lt;/p&gt;</description></item><item><title>Advisory codes</title><link>https://docs.retrofit.sh/current/advisory-codes/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.retrofit.sh/current/advisory-codes/</guid><description>&lt;h1 id="advisory-codes"&gt;Advisory codes&lt;a class="anchor" href="#advisory-codes" aria-label="Link"&gt;&lt;/a&gt;&lt;/h1&gt;&#10;&lt;p&gt;Every advisory retrofit prints, by code. The register is the word a text line opens with and&#10;the JSON &lt;code&gt;level&lt;/code&gt;: &lt;code&gt;warning&lt;/code&gt; or &lt;code&gt;note&lt;/code&gt;. A braced name such as &lt;code&gt;{table}&lt;/code&gt; is a value the printed&#10;line fills in. A message that varies with a field shows each form on its own line, led by the&#10;field&amp;rsquo;s value. Where the message is only such a value, its detail and hint lines follow it.&lt;/p&gt;</description></item><item><title>pg_dump parity</title><link>https://docs.retrofit.sh/current/pg_dump-parity/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.retrofit.sh/current/pg_dump-parity/</guid><description>&lt;h1 id="pg_dump---schema-only-parity"&gt;pg_dump &lt;code&gt;--schema-only&lt;/code&gt; parity&lt;a class="anchor" href="#pg_dump---schema-only-parity" aria-label="Link"&gt;&lt;/a&gt;&lt;/h1&gt;&#10;&lt;p&gt;&lt;code&gt;snapshot&lt;/code&gt; emits DDL shaped like &lt;code&gt;pg_dump --schema-only&lt;/code&gt;. This page audits&#10;that claim option by option: for each &lt;code&gt;pg_dump&lt;/code&gt; option that affects a&#10;schema-only dump, what &lt;code&gt;snapshot&lt;/code&gt; does, whether the name is discoverable&#10;from &lt;code&gt;pg_dump&lt;/code&gt;, and whether &lt;code&gt;import&lt;/code&gt; accepts the option&amp;rsquo;s effect on output.&lt;/p&gt;&#10;&lt;p&gt;Options are from the PostgreSQL 18 &lt;code&gt;pg_dump&lt;/code&gt; reference:&#10;&lt;a href="https://www.postgresql.org/docs/18/app-pgdump.html"&gt;https://www.postgresql.org/docs/18/app-pgdump.html&lt;/a&gt;.&lt;/p&gt;&#10;&lt;h2 id="status-legend"&gt;Status legend&lt;a class="anchor" href="#status-legend" aria-label="Link"&gt;&lt;/a&gt;&lt;/h2&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;strong&gt;covered&lt;/strong&gt;: retrofit has an explicit flag or a fixed behavior&#10;matching &lt;code&gt;pg_dump&lt;/code&gt;&amp;rsquo;s contract.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;implicit&lt;/strong&gt;: retrofit never emits the relevant DDL, so the&#10;&lt;code&gt;pg_dump&lt;/code&gt; flag&amp;rsquo;s &amp;ldquo;do not emit X&amp;rdquo; semantics hold trivially.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;gap&lt;/strong&gt;: &lt;code&gt;pg_dump&lt;/code&gt; has it and &lt;code&gt;snapshot&lt;/code&gt; has no counterpart.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;out-of-scope&lt;/strong&gt;: the option does not fit an oplog-in, one-stream-out&#10;emitter.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;h2 id="snapshot-side-retrofit-snapshot-vs-pg_dump---schema-only"&gt;Snapshot side (&lt;code&gt;retrofit snapshot&lt;/code&gt; vs &lt;code&gt;pg_dump --schema-only&lt;/code&gt;)&lt;a class="anchor" href="#snapshot-side-retrofit-snapshot-vs-pg_dump---schema-only" aria-label="Link"&gt;&lt;/a&gt;&lt;/h2&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;code&gt;pg_dump&lt;/code&gt;&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;&lt;code&gt;snapshot&lt;/code&gt; today&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;status&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;round-trip via &lt;code&gt;import&lt;/code&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;code&gt;-s, --schema-only&lt;/code&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;always (no data)&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;covered&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;n/a (input shape)&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;code&gt;-c, --clean&lt;/code&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&lt;code&gt;--include-drop=scoped|schema&lt;/code&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;covered (no alias)&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;DROP statements skipped (gap below)&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;code&gt;--if-exists&lt;/code&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;folded into &lt;code&gt;--include-drop=scoped|schema&lt;/code&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;covered (contract)&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;n/a (DROPs skipped)&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;code&gt;-C, --create&lt;/code&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;none (schema-scoped, never &lt;code&gt;CREATE DATABASE&lt;/code&gt;)&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;out-of-scope&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;n/a&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;code&gt;-O, --no-owner&lt;/code&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;implicit (no owner concept in vocab)&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;implicit&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;n/a (OWNER TO is skipped)&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;code&gt;-x, --no-privileges&lt;/code&gt; / &lt;code&gt;--no-acl&lt;/code&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;implicit (no GRANT/REVOKE)&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;implicit&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;n/a (GRANT/REVOKE is skipped)&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;code&gt;--no-comments&lt;/code&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&lt;code&gt;--no-comments&lt;/code&gt; suppresses &lt;code&gt;COMMENT ON&lt;/code&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;covered&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;tolerant (in vocab)&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;code&gt;--no-tablespaces&lt;/code&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;implicit (no &lt;code&gt;TABLESPACE …&lt;/code&gt;)&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;implicit&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;n/a&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;code&gt;--no-table-access-method&lt;/code&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;implicit (no &lt;code&gt;USING &amp;lt;method&amp;gt;&lt;/code&gt; on CREATE TABLE)&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;implicit&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;n/a&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;code&gt;--quote-all-identifiers&lt;/code&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;always quotes (&lt;code&gt;quoteIdent&lt;/code&gt; in &lt;code&gt;internal/ddl/postgres/helpers.go&lt;/code&gt;)&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;covered (contract)&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;tolerant (parser is quote-agnostic)&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;code&gt;-n, --schema=&amp;lt;pattern&amp;gt;&lt;/code&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&lt;code&gt;--schema &amp;lt;registered-name&amp;gt;&lt;/code&gt; (single, not pattern)&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;covered (different shape)&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;n/a&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;code&gt;-N, --exclude-schema&lt;/code&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&lt;code&gt;--exclude-schema=&amp;lt;name&amp;gt;&lt;/code&gt; (repeatable, exact-match)&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;covered (exact-match)&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;n/a&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;code&gt;-t, --table&lt;/code&gt; / &lt;code&gt;-T, --exclude-table&lt;/code&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&lt;code&gt;--table=&amp;lt;name&amp;gt;&lt;/code&gt; / &lt;code&gt;--exclude-table=&amp;lt;name&amp;gt;&lt;/code&gt; (repeatable, exact-match)&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;covered (exact-match)&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;tolerant (output is a strict subset)&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;code&gt;--section=pre-data|post-data&lt;/code&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;none (single-stream emit)&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;gap&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;tolerant either way&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;code&gt;--no-statistics&lt;/code&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;implicit (no &lt;code&gt;ANALYZE&lt;/code&gt; or stats emission)&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;implicit&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;n/a&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;code&gt;-f, --file=&amp;lt;path&amp;gt;&lt;/code&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;none (stdout only)&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;out-of-scope (pipe-only)&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;n/a&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;code&gt;--no-policies&lt;/code&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;none (&lt;code&gt;CREATE POLICY&lt;/code&gt; is emitted; no suppression flag)&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;gap&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;tolerant (in vocab)&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;code&gt;--no-publications&lt;/code&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;implicit (no &lt;code&gt;CREATE PUBLICATION&lt;/code&gt;)&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;implicit&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;n/a&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;code&gt;--no-subscriptions&lt;/code&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;implicit (no &lt;code&gt;CREATE SUBSCRIPTION&lt;/code&gt;)&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;implicit&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;n/a&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;code&gt;--no-security-labels&lt;/code&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;implicit (no &lt;code&gt;SECURITY LABEL&lt;/code&gt;)&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;implicit&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;n/a&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;code&gt;--use-set-session-authorization&lt;/code&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;implicit (no owner concept)&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;implicit&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;n/a&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;code&gt;-e, --extension&lt;/code&gt; / &lt;code&gt;--exclude-extension&lt;/code&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;none (&lt;code&gt;CREATE EXTENSION&lt;/code&gt; is emitted; no include/exclude filter)&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;gap&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;extensions in vocab on import&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;code&gt;--strict-names&lt;/code&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;n/a (single-name lookup, no pattern matching)&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;out-of-scope&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;n/a&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;code&gt;--filter=&amp;lt;file&amp;gt;&lt;/code&gt;, &lt;code&gt;--table-and-children&lt;/code&gt;, &lt;code&gt;--exclude-table-and-children&lt;/code&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;none (filtering machinery)&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;out-of-scope&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;n/a&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;code&gt;-F, --format&lt;/code&gt;, &lt;code&gt;-Z, --compress&lt;/code&gt;, &lt;code&gt;--no-sync&lt;/code&gt;, &lt;code&gt;--sync-method&lt;/code&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;plain stream only&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;out-of-scope&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;n/a&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;code&gt;--binary-upgrade&lt;/code&gt;, &lt;code&gt;--snapshot&lt;/code&gt;, &lt;code&gt;--serializable-deferrable&lt;/code&gt;, &lt;code&gt;--lock-wait-timeout&lt;/code&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;live-DB-only knobs&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;out-of-scope (retrofit emits from the oplog, not a live DB)&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;n/a&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/tbody&gt;&#10;&lt;/table&gt;&#10;&lt;h3 id="notes-on-individual-rows"&gt;Notes on individual rows&lt;a class="anchor" href="#notes-on-individual-rows" aria-label="Link"&gt;&lt;/a&gt;&lt;/h3&gt;&#10;&lt;p&gt;&lt;strong&gt;&lt;code&gt;-c, --clean&lt;/code&gt; (no alias).&lt;/strong&gt; The &lt;code&gt;--include-drop=none|scoped|schema&lt;/code&gt; flag&#10;encodes a blast-radius choice that &lt;code&gt;pg_dump&lt;/code&gt;&amp;rsquo;s single &lt;code&gt;--clean&lt;/code&gt; switch&#10;does not. Aliasing &lt;code&gt;--clean&lt;/code&gt; to one of the three modes (most naturally&#10;&lt;code&gt;scoped&lt;/code&gt;) would let a user paste muscle memory from &lt;code&gt;pg_dump&lt;/code&gt; and silently&#10;pick the wrong radius. &lt;code&gt;--include-drop=scoped&lt;/code&gt; is the nearest match for&#10;&lt;code&gt;pg_dump --clean --if-exists&lt;/code&gt;; there is no &lt;code&gt;--clean&lt;/code&gt; alias.&lt;/p&gt;</description></item><item><title>PostgreSQL versions</title><link>https://docs.retrofit.sh/current/postgresql-versions/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.retrofit.sh/current/postgresql-versions/</guid><description>&lt;h1 id="postgresql-versions"&gt;PostgreSQL versions&lt;a class="anchor" href="#postgresql-versions" aria-label="Link"&gt;&lt;/a&gt;&lt;/h1&gt;&#10;&lt;p&gt;This page says which PostgreSQL majors this build accepts, what each verb&#10;does at each one, and what the engine version governs. Only the major is&#10;modeled. Each guide states its own verb&amp;rsquo;s row and links here.&lt;/p&gt;&#10;&lt;h2 id="levels"&gt;Levels&lt;a class="anchor" href="#levels" aria-label="Link"&gt;&lt;/a&gt;&lt;/h2&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;Major&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Level&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;What it means&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;17&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Default, supported&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;The value &lt;code&gt;init&lt;/code&gt; writes to &lt;code&gt;[project] engine_version&lt;/code&gt;, and the one a schema resolves to when nothing names another.&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;15, 16&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Supported&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Every verb works at the pin, and &lt;code&gt;snapshot&lt;/code&gt; and &lt;code&gt;migrate&lt;/code&gt; emit the same SQL as at 17. The &lt;a href="#known-gaps"&gt;known gaps&lt;/a&gt; apply.&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;18&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Accepted, not supported&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Taken only as an explicit pin. &lt;code&gt;op add&lt;/code&gt;, &lt;code&gt;validate&lt;/code&gt;, &lt;code&gt;snapshot&lt;/code&gt; and &lt;code&gt;migrate&lt;/code&gt; honor it; &lt;code&gt;import&lt;/code&gt; and &lt;code&gt;drift&lt;/code&gt; read PostgreSQL 17 syntax only, and several PostgreSQL 18 surfaces refuse or do not render.&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;Any other value&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Refused&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&lt;code&gt;unknown-engine-version&lt;/code&gt;. The value is a bare major: &lt;code&gt;14&lt;/code&gt;, &lt;code&gt;19&lt;/code&gt;, &lt;code&gt;18.1&lt;/code&gt;, &lt;code&gt;018&lt;/code&gt;, &lt;code&gt;v18&lt;/code&gt; and &lt;code&gt; 18&lt;/code&gt; all refuse.&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/tbody&gt;&#10;&lt;/table&gt;&#10;&lt;p&gt;An explicit pin is any of:&lt;/p&gt;</description></item><item><title>Release notes</title><link>https://docs.retrofit.sh/current/release-notes/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.retrofit.sh/current/release-notes/</guid><description>&lt;h1 id="changelog"&gt;Changelog&lt;a class="anchor" href="#changelog" aria-label="Link"&gt;&lt;/a&gt;&lt;/h1&gt;&#10;&lt;p&gt;All notable changes to retrofit are recorded here, newest first, in the&#10;categories of &lt;a href="https://keepachangelog.com/en/1.1.0/"&gt;Keep a Changelog&lt;/a&gt;.&#10;Before 1.0 retrofit promises no compatibility: a change is disclosed here,&#10;not prevented.&lt;/p&gt;&#10;&lt;p&gt;&lt;code&gt;[Unreleased]&lt;/code&gt; records what the builds since the last release changed; a&#10;release renames it to its version. Its fixed &lt;strong&gt;Log format&lt;/strong&gt; heading records&#10;every change to the oplog&amp;rsquo;s vocabulary, parameters, headers or seal bytes:&#10;what changed and what a user does, usually regenerating the log. CI fails a&#10;commit that changes &lt;code&gt;internal/oplog/catalog/*.golden.json&lt;/code&gt;,&#10;&lt;code&gt;internal/oplog/serialize/&lt;/code&gt; outside its tests, or&#10;&lt;code&gt;internal/seal/testdata/leafbytes_*.golden&lt;/code&gt; but adds no item under that&#10;heading itself (&lt;code&gt;make logformat-check&lt;/code&gt;); with &lt;code&gt;make hooks&lt;/code&gt;, the&#10;commit-msg hook refuses it at &lt;code&gt;git commit&lt;/code&gt;. A commit whose serializer edit&#10;changes none of the vocabulary, parameters, headers or seal bytes may&#10;instead end its message with a &lt;code&gt;Log-format: unchanged&lt;/code&gt; trailer; a reader&#10;refusing a log it used to accept is a format change. A change to either set&#10;of goldens always needs the item.&lt;/p&gt;</description></item></channel></rss>