Some checks are pending
CI / lint-and-test (push) Waiting to run
- Compose prepared KB packets in production dependency order with rollback order - Prove full disposable clone apply/rollback while production stays unchanged - Retain missing packet SQL, integrated manifest, state image, and tests `docs/reports/leo-working-state-20260709/current-truth-index.md` `docs/reports/leo-working-state-20260709/helmer-7powers-production-apply-packet-summary.json` `docs/reports/leo-working-state-20260709/helmer-7powers-production-apply-rollback-rehearsal.sql` `docs/reports/leo-working-state-20260709/helmer-7powers-production-postflight.sql` `docs/reports/leo-working-state-20260709/helmer-7powers-production-preflight.sql` `docs/reports/leo-working-state-20260709/leo-db-state-25-integrated-apply-rehearsal.svg` `docs/reports/leo-working-state-20260709/production-apply-authorized-commit.sql` `docs/reports/leo-working-state-20260709/production-apply-packet-summary.json` `docs/reports/leo-working-state-20260709/production-apply-packet.json` `docs/reports/leo-working-state-20260709/production-apply-rollback-rehearsal.sql` `docs/reports/leo-working-state-20260709/production-delete-rollback.sql` `docs/reports/leo-working-state-20260709/production-postflight.sql` `docs/reports/leo-working-state-20260709/production-preflight.sql` `docs/reports/leo-working-state-20260709/working-leo-current-state-20260709.md` `docs/reports/leo-working-state-20260709/working-leo-execution-plan-current.md` `docs/reports/leo-working-state-20260709/working-leo-integrated-clone-rehearsal-current.log` `docs/reports/leo-working-state-20260709/working-leo-integrated-packet-current.md` `docs/reports/leo-working-state-20260709/working-leo-integrated-packet.json` `docs/reports/leo-working-state-20260709/working-leo-integrated-packet.md` `scripts/working_leo_integrated_packet.py` `tests/test_working_leo_integrated_packet.py`
82 lines
3.5 KiB
JSON
82 lines
3.5 KiB
JSON
{
|
|
"apply_order": [
|
|
"mapped-rich-base",
|
|
"cross-surface-anchor",
|
|
"rio-strategy-context",
|
|
"governance-concept-schema",
|
|
"helmer-7powers"
|
|
],
|
|
"dependency_notes": [
|
|
"mapped-rich-base must precede cross-surface-anchor, rio-strategy-context, and governance-concept-schema.",
|
|
"cross-surface-anchor must roll back before mapped-rich-base so Claim D still exists while the anchor is restored.",
|
|
"rio-strategy-context and governance-concept-schema must roll back before mapped-rich-base because their rows reference mapped base claims.",
|
|
"helmer-7powers is independent but included in the integrated rehearsal because it is an approved full-coverage KB packet."
|
|
],
|
|
"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
|
|
},
|
|
"manifest_version": 1,
|
|
"not_done_conditions": [
|
|
"Production canonical rows/schema remain unapplied until explicit production apply authorization.",
|
|
"GCP parity remains unproven until account auth allows read-only GCP service/DB readback.",
|
|
"Live Telegram canaries remain regression proof for current VPS behavior and should be rerun after any production apply."
|
|
],
|
|
"packets": [
|
|
{
|
|
"apply_sql": "production-apply-authorized-commit.sql",
|
|
"id": "mapped-rich-base",
|
|
"packet_json": "production-apply-packet.json",
|
|
"reason": "Creates the base claim/source/evidence/claim-edge rows required by cross-surface, Rio, and governance/concept packets.",
|
|
"rollback_sql": "production-delete-rollback.sql"
|
|
},
|
|
{
|
|
"apply_sql": "cross-surface-apply-authorized-commit.sql",
|
|
"id": "cross-surface-anchor",
|
|
"packet_json": "cross-surface-packet.json",
|
|
"reason": "Moves the active Leo policy anchor from the retired compressed internet-finance claim to Claim D.",
|
|
"rollback_sql": "cross-surface-delete-rollback.sql"
|
|
},
|
|
{
|
|
"apply_sql": "rio-strategy-apply-authorized-commit.sql",
|
|
"id": "rio-strategy-context",
|
|
"packet_json": "rio-strategy-packet.json",
|
|
"reason": "Creates Rio strategy nodes and anchors that depend on mapped base claims A/C/D.",
|
|
"rollback_sql": "rio-strategy-delete-rollback.sql"
|
|
},
|
|
{
|
|
"apply_sql": "governance-concept-apply-authorized-commit.sql",
|
|
"id": "governance-concept-schema",
|
|
"packet_json": "governance-concept-packet.json",
|
|
"reason": "Creates minimal concept-map and governance-link schema/rows that depend on mapped base claims.",
|
|
"rollback_sql": "governance-concept-delete-rollback.sql"
|
|
},
|
|
{
|
|
"apply_sql": "helmer-7powers-production-apply-authorized-commit.sql",
|
|
"id": "helmer-7powers",
|
|
"packet_json": "helmer-7powers-production-apply-packet.json",
|
|
"reason": "Applies the independent full-coverage Helmer 7 Powers proposal and ledger flip.",
|
|
"rollback_sql": "helmer-7powers-production-delete-rollback.sql"
|
|
}
|
|
],
|
|
"production_apply_status": "not_executed",
|
|
"purpose": "Integrated production-order rehearsal manifest for Working Leo DB packets.",
|
|
"report_dir": "docs/reports/leo-working-state-20260709",
|
|
"rollback_order": [
|
|
"helmer-7powers",
|
|
"governance-concept-schema",
|
|
"rio-strategy-context",
|
|
"cross-surface-anchor",
|
|
"mapped-rich-base"
|
|
]
|
|
}
|