teleo-infrastructure/docs/reports/leo-working-state-20260709/governance-concept-packet.json
twentyOne2x 394a14660d
Some checks are pending
CI / lint-and-test (push) Waiting to run
Add governance concept schema packet
- Create guarded schema and links for governance gates and concept maps
- Prove clone apply and rollback while production schema stays unchanged
- Retain packet docs, state image, and focused tests for apply review

`docs/reports/leo-working-state-20260709/current-truth-index.md`
`docs/reports/leo-working-state-20260709/governance-concept-apply-authorized-commit.sql`
`docs/reports/leo-working-state-20260709/governance-concept-apply-rollback-rehearsal.sql`
`docs/reports/leo-working-state-20260709/governance-concept-clone-rehearsal-current.log`
`docs/reports/leo-working-state-20260709/governance-concept-current.md`
`docs/reports/leo-working-state-20260709/governance-concept-delete-rollback.sql`
`docs/reports/leo-working-state-20260709/governance-concept-packet.json`
`docs/reports/leo-working-state-20260709/governance-concept-postflight.sql`
`docs/reports/leo-working-state-20260709/governance-concept-preflight.sql`
`docs/reports/leo-working-state-20260709/leo-db-state-24-governance-concept-schema.svg`
`docs/reports/leo-working-state-20260709/working-leo-current-state-20260709.md`
`docs/reports/leo-working-state-20260709/working-leo-execution-plan-current.md`
`scripts/kb_governance_concept_packet.py`
`tests/test_kb_governance_concept_packet.py`
2026-07-10 00:17:38 +02:00

100 lines
3.9 KiB
JSON

{
"base_packet_required_first": "production-apply-packet-mapped-20260709",
"generated_counts": {
"claim_concept_map_links": 1,
"claim_governance_gate_links": 2,
"concept_maps": 1
},
"packet_version": 1,
"production_apply_status": "not_executed",
"purpose": "Companion packet for mapped rich proposal governance-gate and concept-map targets.",
"represented_fragments": [
"capital_allocation_depends_on_distributed_market_intelligence draws_from concept_map:distributed_market_intelligence",
"claim_nodes_need_bodies supports governance_gate:quality-gate",
"claim_nodes_need_bodies supports governance_gate:evidence-bar"
],
"required_existing_rows": {
"public.claims": [
"d009dfc4-9755-58a7-affb-80e3e842a775",
"9bcf7e6b-4e98-52b1-91ef-96cfc15e3df0"
],
"public.governance_gates": [
"fa88e31b-6fca-4801-bf72-f5db81950a11",
"45695897-2a9c-4279-ac25-e59f166dec6a"
]
},
"safe_writes": [
{
"operation": "insert",
"rows": [
{
"body": "A concept map for how capital allocation depends on distributed knowledge, incentives, liquidity, feedback loops, and market signals rather than a single central planner.",
"id": "f013126c-0937-5bc8-b021-9697e59057d0",
"key": "distributed_market_intelligence",
"metadata": {
"base_packet_required_first": "production-apply-packet-mapped-20260709",
"proposal_id": "14fa5ecc-ac7a-41c1-807d-a2e85b936617",
"source_fragment": "capital_allocation_depends_on_distributed_market_intelligence draws_from concept_map:distributed_market_intelligence"
},
"source_ref": "mapped-rich-proposal-14fa5ecc:concept_map:distributed_market_intelligence",
"status": "active",
"title": "Distributed market intelligence"
}
],
"table": "public.concept_maps"
},
{
"operation": "insert",
"rows": [
{
"claim_id": "d009dfc4-9755-58a7-affb-80e3e842a775",
"concept_map_id": "f013126c-0937-5bc8-b021-9697e59057d0",
"id": "af4ce1b9-db03-5bde-a21b-0e16ca0f48b8",
"metadata": {
"proposal_id": "14fa5ecc-ac7a-41c1-807d-a2e85b936617"
},
"rationale": "Mapped proposal 14fa5ecc: the capital-allocation distributed-knowledge claim draws from the distributed market intelligence concept map.",
"relation": "derives_from",
"source_ref": "mapped-rich-proposal-14fa5ecc:concept_map:distributed_market_intelligence",
"weight": 0.75
}
],
"table": "public.claim_concept_map_links"
},
{
"operation": "insert",
"rows": [
{
"claim_id": "9bcf7e6b-4e98-52b1-91ef-96cfc15e3df0",
"governance_gate_id": "fa88e31b-6fca-4801-bf72-f5db81950a11",
"id": "1f81e105-af5e-5db8-a7be-08cc6cc4e13a",
"metadata": {
"proposal_id": "ac036c9d-20a0-4ffe-881f-57d6b7bacf22"
},
"rationale": "Specific enough to disagree with requires more than a compressed headline for ambiguous claims.",
"relation": "supports",
"source_ref": "mapped-rich-proposal-ac036c9d:governance_gate:quality-gate",
"weight": 0.85
},
{
"claim_id": "9bcf7e6b-4e98-52b1-91ef-96cfc15e3df0",
"governance_gate_id": "45695897-2a9c-4279-ac25-e59f166dec6a",
"id": "af04a87e-c1da-57e9-b11c-60d79daa5648",
"metadata": {
"proposal_id": "ac036c9d-20a0-4ffe-881f-57d6b7bacf22"
},
"rationale": "Bodies can state the true evidence tier and scope limits.",
"relation": "supports",
"source_ref": "mapped-rich-proposal-ac036c9d:governance_gate:evidence-bar",
"weight": 0.85
}
],
"table": "public.claim_governance_gate_links"
}
],
"schema_writes": [
"public.concept_maps",
"public.claim_concept_map_links",
"public.claim_governance_gate_links"
]
}