resource-control/tests
tegwick b8081f6c2d fix: correct the P-row misuse and the basis tier ordering
Both from info-tech-canon's review of the restatement.

STRAIN 1 — credential custody was recorded as one unit of class P consumption.
P is purchased platform capacity, and using security.secrets buys none. Removed
the row; the relationship now sits in provisions[].uses_provisions alongside the
object-store dependency, marked explicitly as a proposed extension because
ITC-CAP declares no provision-to-provision relation. Filed as
info-tech-canon/demand/ProvisionRelationships.md (their commit ce17dc4).

BASIS TIERS — their point about invoiced being a fin-hub fact we name rather
than originate exposed a real bug: a strict list order made weakest(["invoiced",
"measured"]) return "measured", implying an invoice outranks a measurement. It
does not outside its own domain. Strength is now a tier — invoiced and measured
are peers, quoted below both — with ties broken deterministically by catalog
order without implying a difference that does not exist.

Also filed info-tech-canon/demand/EvidenceBasis.md at their request, proposing
ITC-GOV as owner rather than ITC-CAP.

187 tests pass.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-15 19:02:58 +02:00
..
test_basis.py fix: correct the P-row misuse and the basis tier ordering 2026-08-15 19:02:58 +02:00
test_capability.py feat: restate the backup case in ITC-CAP terms; add evidence basis; publish consumption-mode signal 2026-08-15 18:42:06 +02:00
test_control_cycle.py feat(portfolio): fold in RAILIANCE-WP-0016 apps-pg evidence 2026-08-14 09:36:57 +02:00
test_cost_model.py feat(portfolio): complete RESOURCE-WP-0003 T06 optimization cases and T07 reporting 2026-08-14 09:28:44 +02:00
test_entities.py feat: operational resource procurement facility 2026-08-14 13:15:02 +02:00
test_financial_exchange.py feat(portfolio): complete RESOURCE-WP-0003 T06 optimization cases and T07 reporting 2026-08-14 09:28:44 +02:00
test_optimization.py feat(wp-0002): complete T07 — control loop on the live backup resource 2026-08-14 20:53:12 +02:00
test_portfolio.py feat: migrate live inventory to five-facet 0.3 and close WP-0006 2026-08-15 02:47:31 +02:00
test_portfolio_report.py feat(wp-0002): complete T07 — control loop on the live backup resource 2026-08-14 20:53:12 +02:00
test_settlement.py feat: operational resource procurement facility 2026-08-14 13:15:02 +02:00
test_thresholds.py feat(wp-0002): complete T07 — control loop on the live backup resource 2026-08-14 20:53:12 +02:00
test_variance.py feat(portfolio): complete RESOURCE-WP-0003 T06 optimization cases and T07 reporting 2026-08-14 09:28:44 +02:00