teleo-infrastructure/docs/reports/leo-working-state-20260709/working-leo-authorized-apply-runbook-current.json
twentyOne2x 23b1c87ac0
Some checks are pending
CI / lint-and-test (push) Waiting to run
Add Working Leo direct-claim benchmark and apply runbook
Generate ready-not-executed operator runbook for the integrated apply packet set.

Extend Cory-style benchmark with no-context direct-claim prompts and expected follow-ups.

Refresh retained reports and tests for the 20-prompt mixed-evidence score.
2026-07-10 01:14:39 +02:00

298 lines
14 KiB
JSON

{
"checks": {
"all_apply_and_rollback_sql_have_transactions": true,
"all_phase_files_exist": true,
"all_phase_files_non_empty": true,
"apply_order_matches_manifest": true,
"readiness_passes": true,
"readiness_says_not_authorized": true,
"readiness_says_not_executed": true,
"rollback_order_matches_manifest": true
},
"claim_ceiling": "This runbook is proof that the authorized apply sequence is explicit and ordered. It does not execute SQL, does not mutate production, and does not replace explicit production apply authorization.",
"expected_after_apply_counts": {
"claim_concept_map_links": 1,
"claim_edges": 18,
"claim_evidence": 34,
"claim_governance_gate_links": 2,
"claims": 12,
"concept_maps": 1,
"cross_surface_anchor_updates": 1,
"helmer_ledger_rows_marked_applied": 1,
"reasoning_tools": 1,
"rio_strategy_anchors": 5,
"rio_strategy_nodes": 2,
"sources": 28
},
"generated_at_utc": "2026-07-09T23:12:00.028604+00:00",
"mode": "operator_runbook_generation_only",
"operator_environment": {
"operator_commands_run_sql_if_executed": true,
"required_env": [
"TELEO_DATABASE_URL"
],
"runbook_generation_runs_sql": false,
"runbook_only": true
},
"phases": {
"apply_order": [
{
"bytes": 38892,
"command_template": "psql \"$TELEO_DATABASE_URL\" -v ON_ERROR_STOP=1 -f docs/reports/leo-working-state-20260709/production-apply-authorized-commit.sql",
"exists": true,
"file": "production-apply-authorized-commit.sql",
"has_transaction_boundary": true,
"ok": true,
"packet_id": "mapped-rich-base",
"path": "docs/reports/leo-working-state-20260709/production-apply-authorized-commit.sql",
"phase": "apply",
"sha256": "d7c9d06e77571b9751a94fdf49715c9997421f071dc840e65247ea1a0d5c8088"
},
{
"bytes": 1366,
"command_template": "psql \"$TELEO_DATABASE_URL\" -v ON_ERROR_STOP=1 -f docs/reports/leo-working-state-20260709/cross-surface-apply-authorized-commit.sql",
"exists": true,
"file": "cross-surface-apply-authorized-commit.sql",
"has_transaction_boundary": true,
"ok": true,
"packet_id": "cross-surface-anchor",
"path": "docs/reports/leo-working-state-20260709/cross-surface-apply-authorized-commit.sql",
"phase": "apply",
"sha256": "381c6dcf178a419cb588d3e57bb63a1f794a03e9d5ff4a9ff3c2d9735a1bdf3f"
},
{
"bytes": 6579,
"command_template": "psql \"$TELEO_DATABASE_URL\" -v ON_ERROR_STOP=1 -f docs/reports/leo-working-state-20260709/rio-strategy-apply-authorized-commit.sql",
"exists": true,
"file": "rio-strategy-apply-authorized-commit.sql",
"has_transaction_boundary": true,
"ok": true,
"packet_id": "rio-strategy-context",
"path": "docs/reports/leo-working-state-20260709/rio-strategy-apply-authorized-commit.sql",
"phase": "apply",
"sha256": "0a219df35db7ea3379c8b232449b5a6b8bd3a0164dd26ee393e55fa997b31463"
},
{
"bytes": 6822,
"command_template": "psql \"$TELEO_DATABASE_URL\" -v ON_ERROR_STOP=1 -f docs/reports/leo-working-state-20260709/governance-concept-apply-authorized-commit.sql",
"exists": true,
"file": "governance-concept-apply-authorized-commit.sql",
"has_transaction_boundary": true,
"ok": true,
"packet_id": "governance-concept-schema",
"path": "docs/reports/leo-working-state-20260709/governance-concept-apply-authorized-commit.sql",
"phase": "apply",
"sha256": "63b1ea56180ddd2308d4a4ca0e2d229ba3fe6cce494d5339339a6f62f1962bba"
},
{
"bytes": 42770,
"command_template": "psql \"$TELEO_DATABASE_URL\" -v ON_ERROR_STOP=1 -f docs/reports/leo-working-state-20260709/helmer-7powers-production-apply-authorized-commit.sql",
"exists": true,
"file": "helmer-7powers-production-apply-authorized-commit.sql",
"has_transaction_boundary": true,
"ok": true,
"packet_id": "helmer-7powers",
"path": "docs/reports/leo-working-state-20260709/helmer-7powers-production-apply-authorized-commit.sql",
"phase": "apply",
"sha256": "9264baa4249432dcdc96510e67cc694bb5f2b2e485b63a3bfee959d31a89104d"
}
],
"postflight_order": [
{
"bytes": 11147,
"command_template": "psql \"$TELEO_DATABASE_URL\" -v ON_ERROR_STOP=1 -f docs/reports/leo-working-state-20260709/production-postflight.sql",
"exists": true,
"file": "production-postflight.sql",
"has_transaction_boundary": false,
"ok": true,
"packet_id": "mapped-rich-base",
"path": "docs/reports/leo-working-state-20260709/production-postflight.sql",
"phase": "postflight",
"sha256": "4dec76f0502b08ea2ee3be934f86c6e3557800eda26095d470c7333655ac2287"
},
{
"bytes": 802,
"command_template": "psql \"$TELEO_DATABASE_URL\" -v ON_ERROR_STOP=1 -f docs/reports/leo-working-state-20260709/cross-surface-postflight.sql",
"exists": true,
"file": "cross-surface-postflight.sql",
"has_transaction_boundary": false,
"ok": true,
"packet_id": "cross-surface-anchor",
"path": "docs/reports/leo-working-state-20260709/cross-surface-postflight.sql",
"phase": "postflight",
"sha256": "4d9a8adafe5be6777badb714aafdaaa1b502e80695bbe786eff20854d3ae0856"
},
{
"bytes": 2062,
"command_template": "psql \"$TELEO_DATABASE_URL\" -v ON_ERROR_STOP=1 -f docs/reports/leo-working-state-20260709/rio-strategy-postflight.sql",
"exists": true,
"file": "rio-strategy-postflight.sql",
"has_transaction_boundary": false,
"ok": true,
"packet_id": "rio-strategy-context",
"path": "docs/reports/leo-working-state-20260709/rio-strategy-postflight.sql",
"phase": "postflight",
"sha256": "135fc640bdf7e6f7239a383be0512449817e0f14d84e8078ef0e0e313112d446"
},
{
"bytes": 1408,
"command_template": "psql \"$TELEO_DATABASE_URL\" -v ON_ERROR_STOP=1 -f docs/reports/leo-working-state-20260709/governance-concept-postflight.sql",
"exists": true,
"file": "governance-concept-postflight.sql",
"has_transaction_boundary": false,
"ok": true,
"packet_id": "governance-concept-schema",
"path": "docs/reports/leo-working-state-20260709/governance-concept-postflight.sql",
"phase": "postflight",
"sha256": "166a78048433a95e1d5a09dba795b4ec1a1ecfc3f1a50fc1af1d3ba87c50dfcc"
},
{
"bytes": 10217,
"command_template": "psql \"$TELEO_DATABASE_URL\" -v ON_ERROR_STOP=1 -f docs/reports/leo-working-state-20260709/helmer-7powers-production-postflight.sql",
"exists": true,
"file": "helmer-7powers-production-postflight.sql",
"has_transaction_boundary": false,
"ok": true,
"packet_id": "helmer-7powers",
"path": "docs/reports/leo-working-state-20260709/helmer-7powers-production-postflight.sql",
"phase": "postflight",
"sha256": "dff8164c75f5465f77f931dc3e956935fb7fd4f621e1983ccaf464e9aa366593"
}
],
"preflight_order": [
{
"bytes": 6263,
"command_template": "psql \"$TELEO_DATABASE_URL\" -v ON_ERROR_STOP=1 -f docs/reports/leo-working-state-20260709/production-preflight.sql",
"exists": true,
"file": "production-preflight.sql",
"has_transaction_boundary": false,
"ok": true,
"packet_id": "mapped-rich-base",
"path": "docs/reports/leo-working-state-20260709/production-preflight.sql",
"phase": "preflight",
"sha256": "2d1eb113b1ea2f4c16096f432cca254c5edc259c9c5c27fcec01a98fe54014ff"
},
{
"bytes": 1456,
"command_template": "psql \"$TELEO_DATABASE_URL\" -v ON_ERROR_STOP=1 -f docs/reports/leo-working-state-20260709/cross-surface-preflight.sql",
"exists": true,
"file": "cross-surface-preflight.sql",
"has_transaction_boundary": false,
"ok": true,
"packet_id": "cross-surface-anchor",
"path": "docs/reports/leo-working-state-20260709/cross-surface-preflight.sql",
"phase": "preflight",
"sha256": "dde19cddf80819145f755a028ed1b7a0c975b8e59a055e274843e21109dfff55"
},
{
"bytes": 2202,
"command_template": "psql \"$TELEO_DATABASE_URL\" -v ON_ERROR_STOP=1 -f docs/reports/leo-working-state-20260709/rio-strategy-preflight.sql",
"exists": true,
"file": "rio-strategy-preflight.sql",
"has_transaction_boundary": false,
"ok": true,
"packet_id": "rio-strategy-context",
"path": "docs/reports/leo-working-state-20260709/rio-strategy-preflight.sql",
"phase": "preflight",
"sha256": "5ca341ac6cd599736d79718cc8c8de0ae064197159b361a46f5df2174aa713c9"
},
{
"bytes": 1015,
"command_template": "psql \"$TELEO_DATABASE_URL\" -v ON_ERROR_STOP=1 -f docs/reports/leo-working-state-20260709/governance-concept-preflight.sql",
"exists": true,
"file": "governance-concept-preflight.sql",
"has_transaction_boundary": false,
"ok": true,
"packet_id": "governance-concept-schema",
"path": "docs/reports/leo-working-state-20260709/governance-concept-preflight.sql",
"phase": "preflight",
"sha256": "05a08080dc80bc7e131b8ee225cd5e58079bcd8fc5bcb5d85b0884077423718f"
},
{
"bytes": 5870,
"command_template": "psql \"$TELEO_DATABASE_URL\" -v ON_ERROR_STOP=1 -f docs/reports/leo-working-state-20260709/helmer-7powers-production-preflight.sql",
"exists": true,
"file": "helmer-7powers-production-preflight.sql",
"has_transaction_boundary": false,
"ok": true,
"packet_id": "helmer-7powers",
"path": "docs/reports/leo-working-state-20260709/helmer-7powers-production-preflight.sql",
"phase": "preflight",
"sha256": "415b73ffe0453325a289c7128cd461509536406a32bbea6a75c6e6386b4840d4"
}
],
"rollback_order": [
{
"bytes": 5702,
"command_template": "psql \"$TELEO_DATABASE_URL\" -v ON_ERROR_STOP=1 -f docs/reports/leo-working-state-20260709/helmer-7powers-production-delete-rollback.sql",
"exists": true,
"file": "helmer-7powers-production-delete-rollback.sql",
"has_transaction_boundary": true,
"ok": true,
"packet_id": "helmer-7powers",
"path": "docs/reports/leo-working-state-20260709/helmer-7powers-production-delete-rollback.sql",
"phase": "rollback",
"sha256": "77579ea3efbb3f3a06666f645a2bc662a501c8a3e92d9b389fca044dfef06a2d"
},
{
"bytes": 1160,
"command_template": "psql \"$TELEO_DATABASE_URL\" -v ON_ERROR_STOP=1 -f docs/reports/leo-working-state-20260709/governance-concept-delete-rollback.sql",
"exists": true,
"file": "governance-concept-delete-rollback.sql",
"has_transaction_boundary": true,
"ok": true,
"packet_id": "governance-concept-schema",
"path": "docs/reports/leo-working-state-20260709/governance-concept-delete-rollback.sql",
"phase": "rollback",
"sha256": "786e107134a7c502130af9d92f19109184ac936399ac90d62b3b8c07f3e90f65"
},
{
"bytes": 1185,
"command_template": "psql \"$TELEO_DATABASE_URL\" -v ON_ERROR_STOP=1 -f docs/reports/leo-working-state-20260709/rio-strategy-delete-rollback.sql",
"exists": true,
"file": "rio-strategy-delete-rollback.sql",
"has_transaction_boundary": true,
"ok": true,
"packet_id": "rio-strategy-context",
"path": "docs/reports/leo-working-state-20260709/rio-strategy-delete-rollback.sql",
"phase": "rollback",
"sha256": "f7c6896018ac785fe8214bb4dfbdbf936cb3f91d92dcf877aee80b682dae2d93"
},
{
"bytes": 823,
"command_template": "psql \"$TELEO_DATABASE_URL\" -v ON_ERROR_STOP=1 -f docs/reports/leo-working-state-20260709/cross-surface-delete-rollback.sql",
"exists": true,
"file": "cross-surface-delete-rollback.sql",
"has_transaction_boundary": true,
"ok": true,
"packet_id": "cross-surface-anchor",
"path": "docs/reports/leo-working-state-20260709/cross-surface-delete-rollback.sql",
"phase": "rollback",
"sha256": "41d10138e6d668426f8601ea5f528d70335ed4d30aae23830a55c0f068f046a8"
},
{
"bytes": 5803,
"command_template": "psql \"$TELEO_DATABASE_URL\" -v ON_ERROR_STOP=1 -f docs/reports/leo-working-state-20260709/production-delete-rollback.sql",
"exists": true,
"file": "production-delete-rollback.sql",
"has_transaction_boundary": true,
"ok": true,
"packet_id": "mapped-rich-base",
"path": "docs/reports/leo-working-state-20260709/production-delete-rollback.sql",
"phase": "rollback",
"sha256": "297bd9e8b5246e6d9cb4883b15ad9e11e745b220508305f223985be38506bc36"
}
]
},
"post_apply_required_actions": [
"Run every postflight SQL file and retain output.",
"Rerun live Telegram regression canaries after production postflight.",
"Record production apply receipt, row counts, service MainPID/NRestarts, and cleanup readback."
],
"production_apply_authorization_present": false,
"production_apply_executed": false,
"ready_for_authorized_operator": true,
"report_dir": "docs/reports/leo-working-state-20260709",
"required_authorization_boundary": "Do not run apply commands unless the operator explicitly authorizes production DB apply for the integrated Working Leo packet set in dependency order.",
"status": "ready_not_executed"
}