=== service before ===
MainPID=3252143
NRestarts=0
ActiveState=active
SubState=running
=== production schema/counts before ===
 prod_concept_maps | prod_claim_concept_map_links | prod_claim_governance_gate_links | prod_base_claims
-------------------+------------------------------+----------------------------------+------------------
                   |                              |                                  |                0
(1 row)

=== create disposable clone ===
=== clone apply mapped base packet ===
BEGIN
SET
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
COMMIT
BEGIN
SET
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
COMMIT
=== clone base generated counts after base apply ===
 clone_base_claims | clone_concept_maps | clone_claim_concept_map_links | clone_claim_governance_gate_links
-------------------+--------------------+-------------------------------+-----------------------------------
                 7 |                    |                               |
(1 row)

=== clone governance/concept preflight after base apply ===
  check_name  |                name                | regclass
--------------+------------------------------------+----------
 schema_table | public.concept_maps                |
 schema_table | public.claim_concept_map_links     |
 schema_table | public.claim_governance_gate_links |
(3 rows)

     check_name      |                  id                  | status |                                              text
---------------------+--------------------------------------+--------+-------------------------------------------------------------------------------------------------
 required_base_claim | 9bcf7e6b-4e98-52b1-91ef-96cfc15e3df0 | open   | KB claim nodes need explanatory bodies, not only one-sentence headlines.
 required_base_claim | d009dfc4-9755-58a7-affb-80e3e842a775 | open   | Capital allocation depends on distributed knowledge, incentives, liquidity, and feedback loops.
(2 rows)

        check_name        |                  id                  |     name     |                                                  criteria                                                  |            evidence_bar
--------------------------+--------------------------------------+--------------+------------------------------------------------------------------------------------------------------------+-------------------------------------
 required_governance_gate | 45695897-2a9c-4279-ac25-e59f166dec6a | evidence-bar | likely needs empirical data; experimental = coherent argument, limited validation; speculative = untested. | likely > experimental > speculative
 required_governance_gate | fa88e31b-6fca-4801-bf72-f5db81950a11 | quality-gate | Specific enough to disagree with; evidence traceable; not a duplicate; right domain reviewers.             |
(2 rows)

=== clone apply governance/concept packet ===
BEGIN
CREATE TABLE
CREATE TABLE
CREATE TABLE
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE INDEX
DO
COMMIT
=== clone governance/concept postflight after apply ===
 generated_concept_map_rows | generated_concept_link_rows | generated_governance_link_rows
----------------------------+-----------------------------+--------------------------------
                          1 |                           1 |                              2
(1 row)

                  id                  |               key               |              title              | status |                                source_ref                                 |                                                                                                                                  metadata
--------------------------------------+---------------------------------+---------------------------------+--------+---------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 f013126c-0937-5bc8-b021-9697e59057d0 | distributed_market_intelligence | Distributed market intelligence | active | mapped-rich-proposal-14fa5ecc:concept_map:distributed_market_intelligence | {"proposal_id": "14fa5ecc-ac7a-41c1-807d-a2e85b936617", "source_fragment": "capital_allocation_depends_on_distributed_market_intelligence draws_from concept_map:distributed_market_intelligence", "base_packet_required_first": "production-apply-packet-mapped-20260709"}
(1 row)

                  id                  |               claim_id               |            concept_map_id            |   relation   | weight |                                                                rationale                                                                 |                                source_ref
--------------------------------------+--------------------------------------+--------------------------------------+--------------+--------+------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------
 af4ce1b9-db03-5bde-a21b-0e16ca0f48b8 | d009dfc4-9755-58a7-affb-80e3e842a775 | f013126c-0937-5bc8-b021-9697e59057d0 | derives_from |   0.75 | Mapped proposal 14fa5ecc: the capital-allocation distributed-knowledge claim draws from the distributed market intelligence concept map. | mapped-rich-proposal-14fa5ecc:concept_map:distributed_market_intelligence
(1 row)

                  id                  |               claim_id               |          governance_gate_id          | relation | weight |                                            rationale                                            |                         source_ref
--------------------------------------+--------------------------------------+--------------------------------------+----------+--------+-------------------------------------------------------------------------------------------------+------------------------------------------------------------
 af04a87e-c1da-57e9-b11c-60d79daa5648 | 9bcf7e6b-4e98-52b1-91ef-96cfc15e3df0 | 45695897-2a9c-4279-ac25-e59f166dec6a | supports |   0.85 | Bodies can state the true evidence tier and scope limits.                                       | mapped-rich-proposal-ac036c9d:governance_gate:evidence-bar
 1f81e105-af5e-5db8-a7be-08cc6cc4e13a | 9bcf7e6b-4e98-52b1-91ef-96cfc15e3df0 | fa88e31b-6fca-4801-bf72-f5db81950a11 | supports |   0.85 | Specific enough to disagree with requires more than a compressed headline for ambiguous claims. | mapped-rich-proposal-ac036c9d:governance_gate:quality-gate
(2 rows)

=== clone generated counts after governance/concept apply ===
 clone_base_claims | clone_concept_maps | clone_concept_links | clone_governance_links
-------------------+--------------------+---------------------+------------------------
                 7 |                  1 |                   1 |                      2
(1 row)

=== clone delete rollback governance/concept packet ===
BEGIN
DELETE 2
DELETE 1
DELETE 1
DO
COMMIT
=== clone schema readback after governance/concept rollback ===
 clone_concept_maps | clone_claim_concept_map_links | clone_claim_governance_gate_links
--------------------+-------------------------------+-----------------------------------
                    |                               |
(1 row)

=== clone delete rollback mapped base packet ===
BEGIN
DELETE 17
DELETE 11
UPDATE 2
DELETE 15
DELETE 7
COMMIT
=== clone generated counts after all rollbacks ===
 clone_base_claims | clone_concept_maps | clone_claim_concept_map_links | clone_claim_governance_gate_links
-------------------+--------------------+-------------------------------+-----------------------------------
                 0 |                    |                               |
(1 row)

=== production schema/counts after clone proof ===
 prod_concept_maps | prod_claim_concept_map_links | prod_claim_governance_gate_links | prod_base_claims
-------------------+------------------------------+----------------------------------+------------------
                   |                              |                                  |                0
(1 row)

=== cleanup disposable clone and temp files ===
=== cleanup readback ===
 disposable_db_exists
----------------------
                    0
(1 row)

host_tmp_removed=yes
container_tmp_removed=yes
=== service after ===
MainPID=3252143
NRestarts=0
ActiveState=active
SubState=running
