<?xml version="1.0" encoding="UTF-8"?><database name="compactrhythm" schema="public" type="PostgreSQL - 18.4 (Ubuntu 18.4-1.pgdg24.04+1)">
   <sequences>
      <sequence increment="1" name="bench_runs_id_seq" startValue="1"/>
   </sequences>
   <tables>
      <table name="bench_runs" remarks="{&quot;what&quot;:&quot;One benchmark execution: fixture, token counts, compression, timing, and quality scores.&quot;,&quot;why&quot;:&quot;Without it, benchmark results are not persisted, so regression tracking is impossible.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:17:14.807839409+00:00&quot;}" schema="public" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('bench_runs_id_seq'::regclass)" digits="0" id="0" name="id" nullable="false" remarks="{&quot;what&quot;:&quot;Unique numeric identifier for the run; auto-incremented.&quot;,&quot;why&quot;:&quot;Without it, rows cannot be uniquely identified or updated.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:17:14.824078299+00:00&quot;}" size="19" type="bigserial" typeCode="-5"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="fixture" nullable="false" remarks="{&quot;what&quot;:&quot;Name or path of the benchmark fixture used for this run.&quot;,&quot;why&quot;:&quot;Without it, results cannot be attributed to a specific test case.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:17:14.877553257+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="input_tokens" nullable="true" remarks="{&quot;what&quot;:&quot;Count of tokens in the input text for the run.&quot;,&quot;why&quot;:&quot;Without it, token usage and compression ratio cannot be computed.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:17:14.888543107+00:00&quot;}" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="summary_tokens" nullable="true" remarks="{&quot;what&quot;:&quot;Count of tokens in the generated summary.&quot;,&quot;why&quot;:&quot;Without it, summary length and compression ratio are unknown.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:17:14.902177803+00:00&quot;}" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="4" name="compression_ratio" nullable="true" remarks="{&quot;what&quot;:&quot;Ratio of summary tokens to input tokens; unitless.&quot;,&quot;why&quot;:&quot;Without it, runs cannot be sorted by compression efficiency without recomputing.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:17:14.921412877+00:00&quot;}" size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="seal_ms" nullable="true" remarks="{&quot;what&quot;:&quot;Time taken to seal the run, in milliseconds.&quot;,&quot;why&quot;:&quot;Without it, performance of the sealing step cannot be measured.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:17:14.939488569+00:00&quot;}" size="19" type="int8" typeCode="-5"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="6" name="fact_retention_pct" nullable="true" remarks="{&quot;what&quot;:&quot;Percentage of facts from the input retained in the summary, 0-100.&quot;,&quot;why&quot;:&quot;Without it, factual completeness of summaries is unknown.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:17:14.990945145+00:00&quot;}" size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="7" name="judge_fidelity" nullable="true" remarks="{&quot;what&quot;:&quot;Judge-assigned quality score for the summary.&quot;,&quot;why&quot;:&quot;Without it, summary quality cannot be compared across runs.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:17:15.016180733+00:00&quot;}" size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="now()" digits="6" id="8" name="created_at" nullable="true" remarks="{&quot;what&quot;:&quot;Timestamp when the run was recorded, in UTC.&quot;,&quot;why&quot;:&quot;Without it, the chronological order of runs is unknown.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:17:15.032678482+00:00&quot;}" size="35" type="timestamptz" typeCode="93"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="bench_runs_pkey" unique="true">
            <column ascending="true" name="id"/>
         </index>
      </table>
      <table name="compaction_history" remarks="{&quot;what&quot;:&quot;History of compaction runs, each row one operation.&quot;,&quot;why&quot;:&quot;Without it, no audit trail of when and how compaction changed data.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:17:12.099248647+00:00&quot;}" schema="public" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="{&quot;what&quot;:&quot;UUID that uniquely identifies this history row.&quot;,&quot;why&quot;:&quot;Without it, duplicate or ambiguous history entries cannot be distinguished.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:17:12.130911887+00:00&quot;}" size="2147483647" type="uuid" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="job_id" nullable="false" remarks="{&quot;what&quot;:&quot;UUID of the compaction job that produced this history entry.&quot;,&quot;why&quot;:&quot;Without it, cannot associate history with the originating job or filter by job.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:17:12.144629563+00:00&quot;}" size="2147483647" type="uuid" typeCode="1111">
            <parent column="id" foreignKey="compaction_history_job_id_fkey" implied="false" onDeleteCascade="false" schema="public" table="compaction_jobs"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="input_snapshot" nullable="false" remarks="{&quot;what&quot;:&quot;JSON document capturing the pre-compaction state of the affected data.&quot;,&quot;why&quot;:&quot;Without it, cannot compare before/after or roll back to previous state.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:17:12.155524617+00:00&quot;}" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="output_snapshot" nullable="false" remarks="{&quot;what&quot;:&quot;JSON document capturing the post-compaction state of the affected data.&quot;,&quot;why&quot;:&quot;Without it, cannot verify compaction result or audit changes.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:17:12.170582260+00:00&quot;}" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="pinned_content" nullable="true" remarks="{&quot;what&quot;:&quot;JSON document listing content explicitly kept unchanged during compaction.&quot;,&quot;why&quot;:&quot;Without it, cannot know which items were protected from compaction or reproduce the same pinning.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:17:12.181216665+00:00&quot;}" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="outcome" nullable="true" remarks="{&quot;what&quot;:&quot;Text describing the result of the compaction, such as success or failure reason.&quot;,&quot;why&quot;:&quot;Without it, cannot tell if compaction succeeded or failed, or diagnose errors.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:17:12.213712484+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="now()" digits="6" id="6" name="created_at" nullable="false" remarks="{&quot;what&quot;:&quot;UTC timestamp of when the compaction history entry was recorded.&quot;,&quot;why&quot;:&quot;Without it, cannot order events or know when compaction occurred.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:17:12.223910358+00:00&quot;}" size="35" type="timestamptz" typeCode="93"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="compaction_history_pkey" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="idx_history_job" unique="false">
            <column ascending="true" name="job_id"/>
         </index>
      </table>
      <table name="compaction_jobs" remarks="{&quot;what&quot;:&quot;A record of a single compaction job execution attempt.&quot;,&quot;why&quot;:&quot;Tracks each compaction run to monitor progress, results, and failures.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:17:26.738565619+00:00&quot;}" schema="public" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="{&quot;what&quot;:&quot;Unique identifier for the job, UUID format.&quot;,&quot;why&quot;:&quot;Uniquely references a job for updates, retries, and audit.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:17:26.753922561+00:00&quot;}" size="2147483647" type="uuid" typeCode="1111">
            <child column="job_id" foreignKey="compaction_history_job_id_fkey" implied="false" onDeleteCascade="false" schema="public" table="compaction_history"/>
            <child column="job_id" foreignKey="validation_verdicts_job_id_fkey" implied="false" onDeleteCascade="false" schema="public" table="validation_verdicts"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="session_id" nullable="false" remarks="{&quot;what&quot;:&quot;Identifier of the session that submitted the job.&quot;,&quot;why&quot;:&quot;Groups jobs by originating session for per-session tracking.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:17:26.774947039+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="'parallel_block'::text" digits="0" id="2" name="strategy" nullable="false" remarks="{&quot;what&quot;:&quot;Compaction strategy name, e.g., 'parallel_block'.&quot;,&quot;why&quot;:&quot;Determines which algorithm to run; missing it would make job execution ambiguous.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:17:26.811950527+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="'pending'::text" digits="0" id="3" name="status" nullable="false" remarks="{&quot;what&quot;:&quot;Current job state: pending, running, completed, failed, etc.&quot;,&quot;why&quot;:&quot;Drives job scheduler and retry logic; without it, job progress is unknown.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:17:26.835103632+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="input_tokens" nullable="false" remarks="{&quot;what&quot;:&quot;Number of tokens in the input data for this job.&quot;,&quot;why&quot;:&quot;Used to compute compression ratio and estimate resource usage.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:17:26.860347736+00:00&quot;}" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="output_tokens" nullable="true" remarks="{&quot;what&quot;:&quot;Number of tokens after compaction, set on completion.&quot;,&quot;why&quot;:&quot;Needed to calculate compression ratio and validate output size.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:17:26.873431922+00:00&quot;}" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="block_count" nullable="true" remarks="{&quot;what&quot;:&quot;Number of blocks processed in the compaction.&quot;,&quot;why&quot;:&quot;Provides granularity on job size and helps debug performance.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:17:26.892758138+00:00&quot;}" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="8" id="7" name="compression_ratio" nullable="true" remarks="{&quot;what&quot;:&quot;Ratio of input to output tokens (input/output).&quot;,&quot;why&quot;:&quot;Summarizes effectiveness of compaction; missing it hides job quality.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:17:26.907708673+00:00&quot;}" size="8" type="float4" typeCode="7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="8" name="latency_ms" nullable="true" remarks="{&quot;what&quot;:&quot;Duration of the job in milliseconds.&quot;,&quot;why&quot;:&quot;Used for performance monitoring and SLA tracking.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:17:26.929670890+00:00&quot;}" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="9" name="validation_status" nullable="true" remarks="{&quot;what&quot;:&quot;Outcome of post-compaction validation, e.g., passed/failed.&quot;,&quot;why&quot;:&quot;Ensures output integrity; without it, corrupt results go undetected.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:17:26.944302600+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="10" name="error" nullable="true" remarks="{&quot;what&quot;:&quot;Error message if the job failed.&quot;,&quot;why&quot;:&quot;Provides failure reason for debugging and alerting.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:17:26.957827534+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="now()" digits="6" id="11" name="created_at" nullable="false" remarks="{&quot;what&quot;:&quot;Timestamp when the job was created.&quot;,&quot;why&quot;:&quot;Enables time-based ordering and retention policies.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:17:26.976914455+00:00&quot;}" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="12" name="completed_at" nullable="true" remarks="{&quot;what&quot;:&quot;Timestamp when the job finished.&quot;,&quot;why&quot;:&quot;Measures job duration and identifies stuck jobs.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:17:26.987581464+00:00&quot;}" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="13" name="device_id" nullable="true" remarks="{&quot;what&quot;:&quot;Identifier of the device that executed the job.&quot;,&quot;why&quot;:&quot;Tracks which hardware ran the job for capacity planning.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:17:27.009520241+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="14" name="origin" nullable="true" remarks="{&quot;what&quot;:&quot;Source of the job, e.g., API, scheduler.&quot;,&quot;why&quot;:&quot;Distinguishes job sources for auditing and throttling.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:17:27.021557104+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="15" name="window_tokens" nullable="true" remarks="{&quot;what&quot;:&quot;Token count of the compaction window.&quot;,&quot;why&quot;:&quot;Defines the data window size; missing it makes job parameters unclear.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:17:27.035891028+00:00&quot;}" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="16" name="threshold_tokens" nullable="true" remarks="{&quot;what&quot;:&quot;Token threshold that triggers compaction.&quot;,&quot;why&quot;:&quot;Records the trigger condition to interpret job necessity.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:17:27.047605751+00:00&quot;}" size="10" type="int4" typeCode="4"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="compaction_jobs_pkey" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="idx_jobs_created" unique="false">
            <column ascending="false" name="created_at"/>
         </index>
         <index name="idx_jobs_origin" unique="false">
            <column ascending="true" name="origin"/>
         </index>
         <index name="idx_jobs_session" unique="false">
            <column ascending="true" name="session_id"/>
         </index>
         <index name="idx_jobs_session_status" unique="false">
            <column ascending="true" name="session_id"/>
            <column ascending="true" name="status"/>
            <column ascending="false" name="created_at"/>
         </index>
      </table>
      <table name="guidelines" remarks="{&quot;what&quot;:&quot;A set of versioned guideline rules, each with a domain, content, and activation status.&quot;,&quot;why&quot;:&quot;Without it, there is no central place to store and retrieve guidelines for enforcement or reference.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:26:47.566487368+00:00&quot;}" schema="public" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="{&quot;what&quot;:&quot;UUID value; primary key of the row.&quot;,&quot;why&quot;:&quot;Without it, duplicate guidelines cannot be distinguished and updates/deletes become ambiguous.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:26:47.635687032+00:00&quot;}" size="2147483647" type="uuid" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="1" digits="0" id="1" name="version" nullable="false" remarks="{&quot;what&quot;:&quot;Integer version number; default 1, used to distinguish revisions.&quot;,&quot;why&quot;:&quot;Without it, multiple revisions of the same guideline cannot be ordered or compared.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:26:47.735609403+00:00&quot;}" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="'general'::text" digits="0" id="2" name="domain" nullable="false" remarks="{&quot;what&quot;:&quot;Text label for the domain or area the guideline applies to; default 'general'.&quot;,&quot;why&quot;:&quot;Without it, guidelines cannot be filtered by domain, and mixed-scope rules become ambiguous.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:26:47.890673909+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="content" nullable="false" remarks="{&quot;what&quot;:&quot;The body text of the guideline; the rule or instruction itself.&quot;,&quot;why&quot;:&quot;Without it, the guideline has no substance and cannot be enforced or displayed.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:26:47.990136890+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="'manual'::text" digits="0" id="4" name="source" nullable="false" remarks="{&quot;what&quot;:&quot;Text label for the origin of the guideline, e.g., 'manual' or 'imported'; default 'manual'.&quot;,&quot;why&quot;:&quot;Without it, the provenance of a guideline is unknown, making audits and trust decisions impossible.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:26:48.036185905+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="true" digits="0" id="5" name="active" nullable="false" remarks="{&quot;what&quot;:&quot;Boolean flag; true means the guideline is currently enforced, false means it should be ignored.&quot;,&quot;why&quot;:&quot;Without it, inactive guidelines would still be applied, causing incorrect behavior.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:26:48.066623282+00:00&quot;}" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="now()" digits="6" id="6" name="created_at" nullable="false" remarks="{&quot;what&quot;:&quot;Timestamp with time zone; the moment the guideline row was created.&quot;,&quot;why&quot;:&quot;Without it, the age of a guideline is unknown, and audit trails or ordering by creation time become impossible.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:26:48.087423574+00:00&quot;}" size="35" type="timestamptz" typeCode="93"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="guidelines_pkey" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="idx_guidelines_active" unique="false">
            <column ascending="true" name="domain"/>
            <column ascending="true" name="active"/>
         </index>
      </table>
      <table name="pinned_constraints" remarks="{&quot;what&quot;:&quot;Pinned constraint definitions with metadata for categorization, priority, and activation.&quot;,&quot;why&quot;:&quot;Without it, the system cannot know which constraints are pinned and their priority for enforcement.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:17:36.623629579+00:00&quot;}" schema="public" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="{&quot;what&quot;:&quot;UUID unique identifier for the constraint row.&quot;,&quot;why&quot;:&quot;Without it, rows cannot be uniquely referenced for updates or deletion.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:17:36.635541530+00:00&quot;}" size="2147483647" type="uuid" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="label" nullable="false" remarks="{&quot;what&quot;:&quot;Short human-readable name for the constraint, used in UI and logs.&quot;,&quot;why&quot;:&quot;Without it, there is no concise way to refer to the constraint in user-facing messages.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:17:36.649009834+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="content" nullable="false" remarks="{&quot;what&quot;:&quot;The constraint rule or expression in the system's constraint language.&quot;,&quot;why&quot;:&quot;Without it, the constraint cannot be evaluated or enforced.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:17:36.665585911+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="'safety'::text" digits="0" id="3" name="category" nullable="false" remarks="{&quot;what&quot;:&quot;Categorization of the constraint, defaulting to 'safety'.&quot;,&quot;why&quot;:&quot;Without it, constraints cannot be grouped or filtered by domain, making it hard to apply selective policies.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:17:36.697428022+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="100" digits="0" id="4" name="priority" nullable="false" remarks="{&quot;what&quot;:&quot;Numeric priority for ordering or conflict resolution; default 100.&quot;,&quot;why&quot;:&quot;Without it, the order of enforcement among conflicting constraints is ambiguous.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:17:36.713273857+00:00&quot;}" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="true" digits="0" id="5" name="active" nullable="false" remarks="{&quot;what&quot;:&quot;Flag indicating whether the constraint is currently enforced; default true.&quot;,&quot;why&quot;:&quot;Without it, there is no way to disable a constraint without deleting it, losing its configuration.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:17:36.733727521+00:00&quot;}" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="now()" digits="6" id="6" name="created_at" nullable="false" remarks="{&quot;what&quot;:&quot;Timestamp of row creation, with timezone.&quot;,&quot;why&quot;:&quot;Without it, audit trails and ordering by creation time are impossible.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:17:36.751333858+00:00&quot;}" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="now()" digits="6" id="7" name="updated_at" nullable="false" remarks="{&quot;what&quot;:&quot;Timestamp of last update to the row, with timezone.&quot;,&quot;why&quot;:&quot;Without it, there is no way to detect stale or recently modified constraints.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:17:36.764566702+00:00&quot;}" size="35" type="timestamptz" typeCode="93"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="pinned_constraints_pkey" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="idx_pins_active" unique="false">
            <column ascending="true" name="active"/>
         </index>
      </table>
      <table name="sealed_blocks" remarks="{&quot;what&quot;:&quot;Immutable content blocks grouped by session; each row is one sealed block.&quot;,&quot;why&quot;:&quot;Preserves a tamper-evident record of session content for later replay or verification.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:26:39.152025471+00:00&quot;}" schema="public" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="session_key" nullable="false" remarks="{&quot;what&quot;:&quot;Text identifier of the session that owns this block.&quot;,&quot;why&quot;:&quot;Groups blocks per session; without it, blocks from different sessions are indistinguishable.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:26:39.304640009+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="block_index" nullable="false" remarks="{&quot;what&quot;:&quot;Integer position of the block within its session, starting at 0.&quot;,&quot;why&quot;:&quot;Defines order and uniqueness per session; without it, blocks cannot be sequenced or referenced.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:26:39.591531957+00:00&quot;}" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="content" nullable="false" remarks="{&quot;what&quot;:&quot;Full text payload of the block, as originally sealed.&quot;,&quot;why&quot;:&quot;Holds the actual data; without it, the block is empty and useless.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:26:39.605436190+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="token_estimate" nullable="false" remarks="{&quot;what&quot;:&quot;Estimated token count of the content, used for cost or limit checks.&quot;,&quot;why&quot;:&quot;Enables budgeting and rate limiting; without it, usage cannot be predicted.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:26:39.765592010+00:00&quot;}" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="now()" digits="6" id="4" name="created_at" nullable="false" remarks="{&quot;what&quot;:&quot;UTC timestamp when the block was inserted, set by default.&quot;,&quot;why&quot;:&quot;Provides creation time for auditing and ordering; without it, block age is unknown.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:26:39.799371210+00:00&quot;}" size="35" type="timestamptz" typeCode="93"/>
         <primaryKey column="session_key" sequenceNumberInPK="1"/>
         <primaryKey column="block_index" sequenceNumberInPK="2"/>
         <index name="sealed_blocks_pkey" unique="true">
            <column ascending="true" name="session_key"/>
            <column ascending="true" name="block_index"/>
         </index>
      </table>
      <table name="validation_verdicts" remarks="{&quot;what&quot;:&quot;One row per validation run, capturing whether intent, facts, and constraints were preserved, plus a drift score.&quot;,&quot;why&quot;:&quot;Without it, there is no history of validation outcomes, so regressions in output quality cannot be detected.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:19:22.127260991+00:00&quot;}" schema="public" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="{&quot;what&quot;:&quot;Unique identifier for a validation verdict; UUID format.&quot;,&quot;why&quot;:&quot;Without it, individual verdicts cannot be referenced or joined to other tables.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:19:22.145173055+00:00&quot;}" size="2147483647" type="uuid" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="job_id" nullable="false" remarks="{&quot;what&quot;:&quot;UUID of the job that this validation verdict belongs to.&quot;,&quot;why&quot;:&quot;Without it, verdicts cannot be linked to the specific job they validate, so per-job analysis is impossible.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:19:22.157951959+00:00&quot;}" size="2147483647" type="uuid" typeCode="1111">
            <parent column="id" foreignKey="validation_verdicts_job_id_fkey" implied="false" onDeleteCascade="false" schema="public" table="compaction_jobs"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="intent_preserved" nullable="true" remarks="{&quot;what&quot;:&quot;Boolean flag: true if intent was preserved, false if not, null if not evaluated.&quot;,&quot;why&quot;:&quot;Without it, we cannot know whether the output deviated from the intended meaning, so quality checks fail.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:19:22.169451763+00:00&quot;}" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="facts_preserved" nullable="true" remarks="{&quot;what&quot;:&quot;Boolean flag: true if factual claims were preserved, false if not, null if not evaluated.&quot;,&quot;why&quot;:&quot;Without it, factual accuracy of the output cannot be verified, so misinformation goes undetected.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:19:22.184442204+00:00&quot;}" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="constraints_preserved" nullable="true" remarks="{&quot;what&quot;:&quot;Boolean flag: true if all constraints were respected, false if not, null if not evaluated.&quot;,&quot;why&quot;:&quot;Without it, compliance with specified constraints is unknown, so rule violations are missed.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:19:22.216486461+00:00&quot;}" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="8" id="5" name="drift_score" nullable="true" remarks="{&quot;what&quot;:&quot;Floating-point score quantifying overall deviation from the original; higher values mean more drift.&quot;,&quot;why&quot;:&quot;Without it, there is no quantitative measure to compare verdicts or set thresholds for acceptance.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:19:22.266112516+00:00&quot;}" size="8" type="float4" typeCode="7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="judge_rationale" nullable="true" remarks="{&quot;what&quot;:&quot;Free-text explanation from the judge model justifying the verdict flags and score.&quot;,&quot;why&quot;:&quot;Without it, the reasoning behind a verdict is opaque, so debugging false positives/negatives is impossible.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:19:22.290233328+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="latency_ms" nullable="true" remarks="{&quot;what&quot;:&quot;Time taken to produce the verdict, in milliseconds.&quot;,&quot;why&quot;:&quot;Without it, performance of the validation step cannot be monitored or optimized.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:19:22.301135619+00:00&quot;}" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="now()" digits="6" id="8" name="created_at" nullable="false" remarks="{&quot;what&quot;:&quot;Timestamp (with timezone) when the verdict was recorded; defaults to current time.&quot;,&quot;why&quot;:&quot;Without it, the temporal order of verdicts is unknown, so time-based analysis or auditing is impossible.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:19:22.313643133+00:00&quot;}" size="35" type="timestamptz" typeCode="93"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="validation_verdicts_pkey" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="idx_verdicts_job" unique="false">
            <column ascending="true" name="job_id"/>
         </index>
      </table>
   </tables>
</database>
