<?xml version="1.0" encoding="UTF-8"?><database name="birthrhythm" schema="public" type="PostgreSQL - 18.4 (Ubuntu 18.4-1.pgdg24.04+1)">
   <sequences>
      <sequence increment="1" name="birth_steps_id_seq" startValue="1"/>
      <sequence increment="1" name="births_id_seq" startValue="1"/>
      <sequence increment="1" name="compliance_findings_id_seq" startValue="1"/>
      <sequence increment="1" name="status_changes_id_seq" startValue="1"/>
   </sequences>
   <tables>
      <table name="birth_steps" remarks="{&quot;what&quot;:&quot;Steps of a birth process, each row one step.&quot;,&quot;why&quot;:&quot;Without it, no record of which steps were attempted or their outcomes.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:15:10.913072985+00:00&quot;}" schema="public" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('birth_steps_id_seq'::regclass)" digits="0" id="0" name="id" nullable="false" remarks="{&quot;what&quot;:&quot;Surrogate key, unique per step row.&quot;,&quot;why&quot;:&quot;Provides stable identity for updates and joins.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:15:10.930226404+00:00&quot;}" size="19" type="bigserial" typeCode="-5"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="birth_id" nullable="false" remarks="{&quot;what&quot;:&quot;Identifier of the birth process this step belongs to.&quot;,&quot;why&quot;:&quot;Groups steps for a single birth; without it steps are unassignable.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:15:10.941956163+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="step_name" nullable="false" remarks="{&quot;what&quot;:&quot;Name of the step, e.g., 'dilation' or 'pushing'.&quot;,&quot;why&quot;:&quot;Identifies which step is being recorded; without it steps are indistinguishable.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:15:10.962691906+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="passed" nullable="false" remarks="{&quot;what&quot;:&quot;Numeric outcome code; 1=passed, 0=failed, other values may apply.&quot;,&quot;why&quot;:&quot;Determines success/failure of each step; without it outcome is unknown.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:15:10.973173825+00:00&quot;}" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="detail" nullable="false" remarks="{&quot;what&quot;:&quot;Free-text notes about the step execution or result.&quot;,&quot;why&quot;:&quot;Captures context not in numeric fields; without it troubleshooting is limited.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:15:11.014027652+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="step_order" nullable="false" remarks="{&quot;what&quot;:&quot;Sequence number of the step within the birth process.&quot;,&quot;why&quot;:&quot;Preserves intended order; without it steps cannot be replayed in sequence.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:15:11.059643840+00:00&quot;}" size="10" type="int4" typeCode="4"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="birth_steps_pkey" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="idx_steps_birth" unique="false">
            <column ascending="true" name="birth_id"/>
         </index>
      </table>
      <table name="births" remarks="" schema="public" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('births_id_seq'::regclass)" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="bigserial" typeCode="-5"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="birth_id" nullable="false" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="name" nullable="false" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="repo_path" nullable="false" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="kind" nullable="false" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="language" nullable="false" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="port" nullable="true" remarks="" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="success" nullable="false" remarks="" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="8" name="created_at" nullable="false" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="9" name="device" nullable="false" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="10" name="signature" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="11" name="build_artifact_dirs" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="births_pkey" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="births_birth_id_key" unique="true">
            <column ascending="true" name="birth_id"/>
         </index>
         <index name="idx_births_created" unique="false">
            <column ascending="true" name="created_at"/>
         </index>
         <index name="idx_births_name" unique="false">
            <column ascending="true" name="name"/>
         </index>
         <index name="idx_births_success" unique="false">
            <column ascending="true" name="success"/>
         </index>
      </table>
      <table name="compliance_findings" remarks="{&quot;what&quot;:&quot;Rows of compliance scan results for a repo-device pair.&quot;,&quot;why&quot;:&quot;Without it, scan results are lost and cannot be audited or acted on.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:22.828549410+00:00&quot;}" schema="public" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('compliance_findings_id_seq'::regclass)" digits="0" id="0" name="id" nullable="false" remarks="{&quot;what&quot;:&quot;Unique numeric identifier for each finding; primary key.&quot;,&quot;why&quot;:&quot;Without it, rows cannot be referenced or updated reliably.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:22.841483063+00:00&quot;}" size="19" type="bigserial" typeCode="-5"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="repo" nullable="false" remarks="{&quot;what&quot;:&quot;Repository identifier such as 'org/repo'.&quot;,&quot;why&quot;:&quot;Without it, findings cannot be grouped per repository.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:22.859719811+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="device" nullable="false" remarks="{&quot;what&quot;:&quot;Hostname or environment label where the scan executed.&quot;,&quot;why&quot;:&quot;Without it, findings cannot be attributed to a specific device.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:22.876102743+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="kind" nullable="false" remarks="{&quot;what&quot;:&quot;Issue category like 'vulnerability' or 'misconfiguration'.&quot;,&quot;why&quot;:&quot;Without it, issue types cannot be filtered or prioritized.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:22.890303248+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="path" nullable="false" remarks="{&quot;what&quot;:&quot;File path or resource identifier within the repo.&quot;,&quot;why&quot;:&quot;Without it, the exact location of the issue is unknown.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:22.901695585+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="detail" nullable="false" remarks="{&quot;what&quot;:&quot;Free-text explanation of the compliance violation.&quot;,&quot;why&quot;:&quot;Without it, the nature of the issue is unexplained.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:22.921554077+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="scanned_at" nullable="false" remarks="{&quot;what&quot;:&quot;Timestamp in ISO 8601 format (e.g., 2025-01-01T00:00:00Z).&quot;,&quot;why&quot;:&quot;Without it, the recency of the finding cannot be assessed.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:22.935848773+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="compliance_findings_pkey" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="idx_compliance_repo" unique="false">
            <column ascending="true" name="repo"/>
         </index>
      </table>
      <table name="status_changes" remarks="{&quot;what&quot;:&quot;Chronological log of status updates for birth records; each row is one change.&quot;,&quot;why&quot;:&quot;Without it, the history of status changes is lost, so audits and current status cannot be reconstructed.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:14.827584534+00:00&quot;}" schema="public" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('status_changes_id_seq'::regclass)" digits="0" id="0" name="id" nullable="false" remarks="{&quot;what&quot;:&quot;Unique numeric identifier for each change event; auto-incremented.&quot;,&quot;why&quot;:&quot;Without it, rows cannot be uniquely referenced or updated.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:14.842591883+00:00&quot;}" size="19" type="bigserial" typeCode="-5"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="birth_id" nullable="false" remarks="{&quot;what&quot;:&quot;Identifier of the birth record whose status changed; matches an external system.&quot;,&quot;why&quot;:&quot;Without it, changes cannot be linked to the correct birth record.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:14.854411017+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="name" nullable="false" remarks="{&quot;what&quot;:&quot;Full name of the person associated with the birth record.&quot;,&quot;why&quot;:&quot;Without it, the record cannot be identified by name for human review.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:14.864606921+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="old_status" nullable="false" remarks="{&quot;what&quot;:&quot;Status value before the change; e.g., pending, approved.&quot;,&quot;why&quot;:&quot;Without it, the previous state is unknown, so the transition cannot be audited.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:14.877301845+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="new_status" nullable="false" remarks="{&quot;what&quot;:&quot;Status value after the change; e.g., approved, rejected.&quot;,&quot;why&quot;:&quot;Without it, the resulting state is unknown, so current status cannot be derived.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:14.886660050+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="reason" nullable="true" remarks="{&quot;what&quot;:&quot;Free-text explanation for the status change; may be empty.&quot;,&quot;why&quot;:&quot;Without it, the justification for the change is missing, making audits incomplete.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:14.906824065+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="changed_at" nullable="false" remarks="{&quot;what&quot;:&quot;Date and time the change occurred; stored as text.&quot;,&quot;why&quot;:&quot;Without it, the order of changes cannot be determined, so the current status is ambiguous.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:14.929471167+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="status_changes_pkey" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="idx_status_changes_name" unique="false">
            <column ascending="true" name="name"/>
         </index>
      </table>
   </tables>
</database>
