refactor(schema): rename commission_certified to commission_certifiable
The flag is a susceptibility marker, not an absolute state — Commission certification only applies when trading in TRACTUS_PRIMARY zones. Compact-internal trade ignores it entirely. Renamed across all TOML source files, schema docs, workshop outputs, and D-184. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
# unit tonnes | units | contracts
|
||||
# production_ubiquity ubiquitous | common | regional | concentrated | monopolistic
|
||||
# demand_model market | utility | compliance
|
||||
# commission_certified Requires Commission certification for formal sale
|
||||
# commission_certifiable Requires Commission certification for formal sale
|
||||
# compact_contested Compact contests Commission authority over this
|
||||
# shadow_viable Shadow market routinely exists
|
||||
# panic_threshold_weeks Stockpile level (in weeks) triggering panic hoarding; 0 = no panic
|
||||
@@ -35,7 +35,7 @@ bulk_class = "bulk"
|
||||
unit = "tonnes"
|
||||
production_ubiquity = "common"
|
||||
demand_model = "market"
|
||||
commission_certified = false
|
||||
commission_certifiable = false
|
||||
compact_contested = false
|
||||
shadow_viable = false
|
||||
panic_threshold_weeks = 0
|
||||
@@ -50,7 +50,7 @@ bulk_class = "precision"
|
||||
unit = "tonnes"
|
||||
production_ubiquity = "concentrated"
|
||||
demand_model = "market"
|
||||
commission_certified = false
|
||||
commission_certifiable = false
|
||||
compact_contested = false
|
||||
shadow_viable = false
|
||||
panic_threshold_weeks = 0
|
||||
@@ -65,7 +65,7 @@ bulk_class = "precision"
|
||||
unit = "tonnes"
|
||||
production_ubiquity = "monopolistic"
|
||||
demand_model = "market"
|
||||
commission_certified = true
|
||||
commission_certifiable = true
|
||||
compact_contested = false
|
||||
shadow_viable = true
|
||||
panic_threshold_weeks = 0
|
||||
@@ -80,7 +80,7 @@ bulk_class = "bulk"
|
||||
unit = "tonnes"
|
||||
production_ubiquity = "regional"
|
||||
demand_model = "market"
|
||||
commission_certified = false
|
||||
commission_certifiable = false
|
||||
compact_contested = false
|
||||
shadow_viable = false
|
||||
panic_threshold_weeks = 0
|
||||
@@ -95,7 +95,7 @@ bulk_class = "perishable"
|
||||
unit = "tonnes"
|
||||
production_ubiquity = "ubiquitous"
|
||||
demand_model = "utility"
|
||||
commission_certified = false
|
||||
commission_certifiable = false
|
||||
compact_contested = false
|
||||
shadow_viable = false
|
||||
panic_threshold_weeks = 0
|
||||
@@ -110,7 +110,7 @@ bulk_class = "liquid"
|
||||
unit = "tonnes"
|
||||
production_ubiquity = "ubiquitous"
|
||||
demand_model = "utility"
|
||||
commission_certified = false
|
||||
commission_certifiable = false
|
||||
compact_contested = false
|
||||
shadow_viable = false
|
||||
panic_threshold_weeks = 1
|
||||
@@ -125,7 +125,7 @@ bulk_class = "standard"
|
||||
unit = "tonnes"
|
||||
production_ubiquity = "regional"
|
||||
demand_model = "market"
|
||||
commission_certified = false
|
||||
commission_certifiable = false
|
||||
compact_contested = false
|
||||
shadow_viable = false
|
||||
panic_threshold_weeks = 0
|
||||
@@ -140,7 +140,7 @@ bulk_class = "bulk"
|
||||
unit = "tonnes"
|
||||
production_ubiquity = "common"
|
||||
demand_model = "market"
|
||||
commission_certified = false
|
||||
commission_certifiable = false
|
||||
compact_contested = false
|
||||
shadow_viable = false
|
||||
panic_threshold_weeks = 0
|
||||
@@ -155,7 +155,7 @@ bulk_class = "liquid"
|
||||
unit = "tonnes"
|
||||
production_ubiquity = "common"
|
||||
demand_model = "market"
|
||||
commission_certified = true
|
||||
commission_certifiable = true
|
||||
compact_contested = true
|
||||
shadow_viable = true
|
||||
panic_threshold_weeks = 0
|
||||
@@ -176,7 +176,7 @@ bulk_class = "standard"
|
||||
unit = "tonnes"
|
||||
production_ubiquity = "common"
|
||||
demand_model = "market"
|
||||
commission_certified = false
|
||||
commission_certifiable = false
|
||||
compact_contested = false
|
||||
shadow_viable = false
|
||||
panic_threshold_weeks = 0
|
||||
@@ -191,7 +191,7 @@ bulk_class = "standard"
|
||||
unit = "tonnes"
|
||||
production_ubiquity = "regional"
|
||||
demand_model = "market"
|
||||
commission_certified = false
|
||||
commission_certifiable = false
|
||||
compact_contested = false
|
||||
shadow_viable = false
|
||||
panic_threshold_weeks = 0
|
||||
@@ -206,7 +206,7 @@ bulk_class = "liquid"
|
||||
unit = "tonnes"
|
||||
production_ubiquity = "common"
|
||||
demand_model = "utility"
|
||||
commission_certified = true
|
||||
commission_certifiable = true
|
||||
compact_contested = true
|
||||
shadow_viable = true
|
||||
panic_threshold_weeks = 2
|
||||
@@ -221,7 +221,7 @@ bulk_class = "standard"
|
||||
unit = "tonnes"
|
||||
production_ubiquity = "ubiquitous"
|
||||
demand_model = "utility"
|
||||
commission_certified = false
|
||||
commission_certifiable = false
|
||||
compact_contested = false
|
||||
shadow_viable = false
|
||||
panic_threshold_weeks = 2
|
||||
@@ -236,7 +236,7 @@ bulk_class = "compact"
|
||||
unit = "units"
|
||||
production_ubiquity = "regional"
|
||||
demand_model = "market"
|
||||
commission_certified = false
|
||||
commission_certifiable = false
|
||||
compact_contested = false
|
||||
shadow_viable = false
|
||||
panic_threshold_weeks = 0
|
||||
@@ -251,7 +251,7 @@ bulk_class = "standard"
|
||||
unit = "tonnes"
|
||||
production_ubiquity = "regional"
|
||||
demand_model = "market"
|
||||
commission_certified = true
|
||||
commission_certifiable = true
|
||||
compact_contested = true
|
||||
shadow_viable = true
|
||||
panic_threshold_weeks = 3
|
||||
@@ -266,7 +266,7 @@ bulk_class = "standard"
|
||||
unit = "tonnes"
|
||||
production_ubiquity = "regional"
|
||||
demand_model = "market"
|
||||
commission_certified = false
|
||||
commission_certifiable = false
|
||||
compact_contested = false
|
||||
shadow_viable = false
|
||||
panic_threshold_weeks = 0
|
||||
@@ -281,7 +281,7 @@ bulk_class = "standard"
|
||||
unit = "units"
|
||||
production_ubiquity = "regional"
|
||||
demand_model = "market"
|
||||
commission_certified = false
|
||||
commission_certifiable = false
|
||||
compact_contested = false
|
||||
shadow_viable = false
|
||||
panic_threshold_weeks = 0
|
||||
@@ -296,7 +296,7 @@ bulk_class = "compact"
|
||||
unit = "units"
|
||||
production_ubiquity = "concentrated"
|
||||
demand_model = "market"
|
||||
commission_certified = false
|
||||
commission_certifiable = false
|
||||
compact_contested = false
|
||||
shadow_viable = false
|
||||
panic_threshold_weeks = 0
|
||||
@@ -311,7 +311,7 @@ bulk_class = "compact"
|
||||
unit = "units"
|
||||
production_ubiquity = "concentrated"
|
||||
demand_model = "market"
|
||||
commission_certified = true
|
||||
commission_certifiable = true
|
||||
compact_contested = false
|
||||
shadow_viable = true
|
||||
panic_threshold_weeks = 0
|
||||
@@ -332,7 +332,7 @@ bulk_class = "oversized"
|
||||
unit = "units"
|
||||
production_ubiquity = "regional"
|
||||
demand_model = "market"
|
||||
commission_certified = false
|
||||
commission_certifiable = false
|
||||
compact_contested = false
|
||||
shadow_viable = false
|
||||
panic_threshold_weeks = 0
|
||||
@@ -347,7 +347,7 @@ bulk_class = "oversized"
|
||||
unit = "units"
|
||||
production_ubiquity = "regional"
|
||||
demand_model = "market"
|
||||
commission_certified = true
|
||||
commission_certifiable = true
|
||||
compact_contested = true
|
||||
shadow_viable = false
|
||||
panic_threshold_weeks = 0
|
||||
@@ -362,7 +362,7 @@ bulk_class = "oversized"
|
||||
unit = "units"
|
||||
production_ubiquity = "concentrated"
|
||||
demand_model = "market"
|
||||
commission_certified = true
|
||||
commission_certifiable = true
|
||||
compact_contested = true
|
||||
shadow_viable = false
|
||||
panic_threshold_weeks = 0
|
||||
@@ -377,7 +377,7 @@ bulk_class = "compact"
|
||||
unit = "units"
|
||||
production_ubiquity = "ubiquitous"
|
||||
demand_model = "market"
|
||||
commission_certified = false
|
||||
commission_certifiable = false
|
||||
compact_contested = false
|
||||
shadow_viable = false
|
||||
panic_threshold_weeks = 0
|
||||
@@ -392,7 +392,7 @@ bulk_class = "precision"
|
||||
unit = "units"
|
||||
production_ubiquity = "concentrated"
|
||||
demand_model = "market"
|
||||
commission_certified = true
|
||||
commission_certifiable = true
|
||||
compact_contested = true
|
||||
shadow_viable = true
|
||||
panic_threshold_weeks = 0
|
||||
@@ -407,7 +407,7 @@ bulk_class = "compact"
|
||||
unit = "units"
|
||||
production_ubiquity = "regional"
|
||||
demand_model = "market"
|
||||
commission_certified = true
|
||||
commission_certifiable = true
|
||||
compact_contested = true
|
||||
shadow_viable = true
|
||||
panic_threshold_weeks = 0
|
||||
@@ -422,7 +422,7 @@ bulk_class = "oversized"
|
||||
unit = "units"
|
||||
production_ubiquity = "monopolistic"
|
||||
demand_model = "market"
|
||||
commission_certified = true
|
||||
commission_certifiable = true
|
||||
compact_contested = true
|
||||
shadow_viable = true
|
||||
panic_threshold_weeks = 0
|
||||
@@ -437,7 +437,7 @@ bulk_class = "oversized"
|
||||
unit = "units"
|
||||
production_ubiquity = "regional"
|
||||
demand_model = "market"
|
||||
commission_certified = false
|
||||
commission_certifiable = false
|
||||
compact_contested = false
|
||||
shadow_viable = false
|
||||
panic_threshold_weeks = 0
|
||||
@@ -452,7 +452,7 @@ bulk_class = "oversized"
|
||||
unit = "units"
|
||||
production_ubiquity = "regional"
|
||||
demand_model = "market"
|
||||
commission_certified = false
|
||||
commission_certifiable = false
|
||||
compact_contested = false
|
||||
shadow_viable = false
|
||||
panic_threshold_weeks = 0
|
||||
@@ -473,7 +473,7 @@ bulk_class = "non_physical"
|
||||
unit = "contracts"
|
||||
production_ubiquity = "common"
|
||||
demand_model = "market"
|
||||
commission_certified = false
|
||||
commission_certifiable = false
|
||||
compact_contested = false
|
||||
shadow_viable = false
|
||||
panic_threshold_weeks = 0
|
||||
@@ -488,7 +488,7 @@ bulk_class = "non_physical"
|
||||
unit = "contracts"
|
||||
production_ubiquity = "common"
|
||||
demand_model = "market"
|
||||
commission_certified = false
|
||||
commission_certifiable = false
|
||||
compact_contested = false
|
||||
shadow_viable = false
|
||||
panic_threshold_weeks = 0
|
||||
@@ -503,7 +503,7 @@ bulk_class = "non_physical"
|
||||
unit = "contracts"
|
||||
production_ubiquity = "regional"
|
||||
demand_model = "market"
|
||||
commission_certified = true
|
||||
commission_certifiable = true
|
||||
compact_contested = true
|
||||
shadow_viable = true
|
||||
panic_threshold_weeks = 0
|
||||
@@ -518,7 +518,7 @@ bulk_class = "non_physical"
|
||||
unit = "contracts"
|
||||
production_ubiquity = "regional"
|
||||
demand_model = "market"
|
||||
commission_certified = false
|
||||
commission_certifiable = false
|
||||
compact_contested = false
|
||||
shadow_viable = false
|
||||
panic_threshold_weeks = 0
|
||||
@@ -533,7 +533,7 @@ bulk_class = "non_physical"
|
||||
unit = "contracts"
|
||||
production_ubiquity = "concentrated"
|
||||
demand_model = "compliance"
|
||||
commission_certified = true
|
||||
commission_certifiable = true
|
||||
compact_contested = true
|
||||
shadow_viable = false
|
||||
panic_threshold_weeks = 0
|
||||
@@ -554,7 +554,7 @@ bulk_class = "non_physical"
|
||||
unit = "contracts"
|
||||
production_ubiquity = "concentrated"
|
||||
demand_model = "market"
|
||||
commission_certified = false
|
||||
commission_certifiable = false
|
||||
compact_contested = false
|
||||
shadow_viable = false
|
||||
panic_threshold_weeks = 0
|
||||
@@ -569,7 +569,7 @@ bulk_class = "non_physical"
|
||||
unit = "contracts"
|
||||
production_ubiquity = "common"
|
||||
demand_model = "market"
|
||||
commission_certified = false
|
||||
commission_certifiable = false
|
||||
compact_contested = false
|
||||
shadow_viable = false
|
||||
panic_threshold_weeks = 0
|
||||
@@ -584,7 +584,7 @@ bulk_class = "non_physical"
|
||||
unit = "contracts"
|
||||
production_ubiquity = "regional"
|
||||
demand_model = "market"
|
||||
commission_certified = false
|
||||
commission_certifiable = false
|
||||
compact_contested = false
|
||||
shadow_viable = false
|
||||
panic_threshold_weeks = 0
|
||||
|
||||
@@ -35,7 +35,7 @@ CREATE TABLE commodities (
|
||||
demand_model TEXT NOT NULL CHECK(demand_model IN (
|
||||
'market', 'utility', 'compliance'
|
||||
)),
|
||||
commission_certified INTEGER NOT NULL DEFAULT 0,
|
||||
commission_certifiable INTEGER NOT NULL DEFAULT 0,
|
||||
compact_contested INTEGER NOT NULL DEFAULT 0,
|
||||
shadow_viable INTEGER NOT NULL DEFAULT 0,
|
||||
panic_threshold_weeks INTEGER NOT NULL DEFAULT 0 CHECK(panic_threshold_weeks >= 0),
|
||||
@@ -97,7 +97,7 @@ CREATE INDEX idx_chain_inputs_commodity ON chain_inputs(commodity_id);
|
||||
| `unit` | enum | yes | `tonnes`, `units`, `contracts` | quantity basis |
|
||||
| `production_ubiquity` | enum | yes | `ubiquitous`, `common`, `regional`, `concentrated`, `monopolistic` | B-S init guidance |
|
||||
| `demand_model` | enum | yes | `market`, `utility`, `compliance` | B-S demand floors |
|
||||
| `commission_certified` | bool | yes | true/false | Gestalt political |
|
||||
| `commission_certifiable` | bool | yes | true/false | Gestalt political |
|
||||
| `compact_contested` | bool | yes | true/false | Gestalt political |
|
||||
| `shadow_viable` | bool | yes | true/false | Gestalt political |
|
||||
| `panic_threshold_weeks` | int | yes | ≥ 0 | B-S panic mechanism |
|
||||
@@ -151,7 +151,7 @@ CREATE INDEX idx_chain_inputs_commodity ON chain_inputs(commodity_id);
|
||||
| V-10 | Services (`tier = service_*`) must NOT appear as chain inputs or outputs | D-173: services outside production chain |
|
||||
| V-11 | `panic_threshold_weeks >= 0` | Schema constraint |
|
||||
| V-12 | `demand_model = "utility"` requires `elasticity` ∈ {perfectly_inelastic, inelastic} | Utility demand can't be highly deferrable |
|
||||
| V-13 | `demand_model = "compliance"` requires `commission_certified = true` | Compliance demand requires a certifying authority |
|
||||
| V-13 | `demand_model = "compliance"` requires `commission_certifiable = true` | Compliance demand requires a certifying authority |
|
||||
| V-14 | Services must have `bulk_class = "non_physical"` | Services can't be transported |
|
||||
| V-15 | Services must have `unit = "contracts"` | Service unit convention |
|
||||
| V-16 | Commodity IDs must match pattern `[a-z][a-z0-9_]*` | Slug format for Rust/SQL |
|
||||
@@ -163,7 +163,7 @@ CREATE INDEX idx_chain_inputs_commodity ON chain_inputs(commodity_id);
|
||||
| W-01 | Every non-service physical commodity SHOULD appear as chain input or chain output | Orphan detection |
|
||||
| W-02 | Raw tier commodities SHOULD NOT appear as chain outputs | Raws are extracted, not produced |
|
||||
| W-03 | Final tier commodities SHOULD NOT appear as chain inputs | Finals are end-of-chain |
|
||||
| W-04 | `shadow_viable = true` SHOULD have `commission_certified = true` OR `compact_contested = true` | Shadow markets arise from regulatory friction |
|
||||
| W-04 | `shadow_viable = true` SHOULD have `commission_certifiable = true` OR `compact_contested = true` | Shadow markets arise from regulatory friction |
|
||||
| W-05 | `production_ubiquity = "monopolistic"` commodities with `elasticity = "inelastic"` SHOULD be reviewed | Monopoly + inelastic = potential runaway pricing |
|
||||
|
||||
### Coverage warnings (future — gated by corp data)
|
||||
|
||||
Reference in New Issue
Block a user