Public-safe SQL proof packet

Show the operator handoff without publishing the scripts.

This checked-in synthetic example makes expected context, prerequisite status, protected handling categories, validation-step presence, stop conditions, gaps, and provenance inspectable before a DBA or operator makes an independent decision.

Public claim level: demo. Derived from sql-operator-runbook-packet/v2 at a public commit with reduced static-analysis coverage. It contains no statement text, protected values, connection details, scheduled command body, or observed database result.

Proof identity

One public fixture, one public commit, one bounded projection.

Repositoryjoefeser/tracemap
Commita522705b3b9f331d65ef4e05e723fc4d2d647f08
Fixturesamples/sql-operator-runbook/setup.sql · synthetic and repo-relative
Packet identitypublic-sql-runbook-proof-v1 · public-safe projection, not raw scan output
Coveragereduced · static analysis only · build not run · runtime observation unavailable

Ordered context checkpoints

Every transition is a reason to verify the active client context.

The example uses categorical server, database, schema, and execution-mode roles. It cannot observe which pgAdmin tab or connection is active.

01 · manual

Admin / admin / extension

Independently verify the active tab, connection, server, and database before extension intent.

02 · manual · transition

Archive target / archive data / archive

Stop on wrong-tab or wrong-database uncertainty before foreign-server, permission, user-mapping, or schema-import intent.

03 · manual · transition

Source / source data / application

Independently verify the source context before publication intent.

04 · scheduled · transition

Archive target / archive data / archive

Require owner review at the pg_cron scheduled-context boundary.

05 · validation-only · transition

Archive target / validation only / archive

Keep validation-step presence separate from any observed result.

06 · manual · transition

Archive target / archive data / archive

Require owner review before a cleanup or rollback-shaped candidate.

PostgreSQL surfaces

The fixture shows some mechanisms and preserves the rest as gaps.

postgres_fdw · illustratedExtension, foreign-server, user-mapping, schema-import, and permission-candidate categories are visible.
dblink · missing-evidenceThis fixture does not illustrate extension or call boundaries; absence from the fixture is not a runtime conclusion.
Logical replication · partialPublication intent is visible. Subscription evidence is not established, and replication health remains outside static proof.
pg_cron · illustratedExtension and scheduled-operation categories are visible; the scheduled command body is omitted and execution is not observed.

Permission prerequisite language

A closed vocabulary keeps checked-in evidence from becoming an authorization claim.

present-in-scriptsCompatible checked-in evidence appears for the illustrated operation; effective permission still requires DBA validation.
missing-evidenceCompatible evidence was not established within coverage; runtime absence is not established.
conflicting-evidenceStatic grant, revoke, ordering, or context evidence disagrees.
unknownIdentity, ordering, parsing, or coverage does not support a stronger status.
needs-owner-reviewAdministrative capability, protected handling, or scheduled context requires a named human owner.

Protected categories

The packet names the boundary and omits the material.

User mappinguser-mapping and credential-option categories; values omitted.
Connection setupconnection-material and credential-option categories; values omitted.
Remote inputremote-query-input category; statement content omitted.
Scheduled operationscheduled-command-body category; command content omitted.

Intent versus validation

Four columns that never collapse into runtime success.

foreign-serverintended-by-script · milestone validation step not established · validation-evidence-not-provided
scheduled-jobintended-by-script · milestone validation step not established · validation-evidence-not-provided
validationvalidation-step-present · no database result is published or observed
cleanup-candidateintended-by-script · completion and reversibility remain unknown

Evidence attachment

Every illustrated row can be traced without exposing source text.

Context and validationdatabase.sql.context.declaration.v1 · Tier2Structural · repo-relative spans · sql-execution-context/0.1.0
Protected handlingdatabase.sql.secret-bearing-step.v1 · Tier2Structural · repo-relative spans · sql-secret-safety/0.1.0
Permission prerequisitesdatabase.postgres.permission.coverage.v1 · Tier2Structural · complete or reduced coverage · postgres-permission-evidence/0.1.0
Archive-link surfacesdatabase.postgres.archive-link.v1 · Tier2Structural; gaps use Tier4Unknown · postgres-archive-link/0.1.0

Stops, gaps, and owners

The packet ends at the point where operator judgment begins.

Public claim boundary

This packet supports review questions, not operator authorization.