You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(proof): add consumer-side checks for product surfaces #580
Product proof currently verifies that registered products generate proof subjects, but it does not verify that expected consumers exist. This lets registry additions look proof-covered even when readiness/status, API, CLI, MCP, export, or scenario consumers lag behind.
polylogue/proof/subjects.py:178 builds product.surface subjects directly from PRODUCT_REGISTRY.items().
polylogue/proof/catalog.py:786 defines product.surface.registered as "Every registered product type has a corresponding proof subject."
polylogue/proof/catalog.py:933 binds these claims to product-surface-static-contract.
This construction cannot catch product consumer drift because the registry is both the declaration source and the proof-subject source.
Acceptance criteria
Product surface proof includes consumer-side claims, not only registry-subject construction.
At minimum, expected product consumers are checked or explicitly classified: operations method, CLI command, API/sync API where applicable, MCP tool where applicable, export bundle/readiness where applicable, and test/scenario evidence.
A registered product missing an expected consumer fails a proof/devtools check.
The check catches the current session_costs / cost_rollups / archive_debt readiness drift before that drift is fixed.
Superseded by #624. I consolidated this finding into the composite issue so the work can be handled as one coherent slice instead of as a tiny standalone ticket. The original evidence remains available in this issue history.
Activity
Sinity commentedon May 1, 2026
Superseded by #624. I consolidated this finding into the composite issue so the work can be handled as one coherent slice instead of as a tiny standalone ticket. The original evidence remains available in this issue history.