Skip to main content

Module parity

Module parity 

Source
Expand description

Behavior-parity ledger: the product’s own gap count, for the cc-parity and cx-parity presets and for the orchestration harnesses.

Two embedded ledgers, one report shape:

  • parity/ledger.json — one row per capability in docs/composable-harness/CAPABILITY-CATALOG.md (263 rows, ids derived from the capability name), columns cc / cx.
  • parity/orchestration.json — one row per (orchestration concept × verb group) from docs/composable-harness/inventory/orchestration.md, columns hermes / openclaw.

Each row records which harness has the capability and supercode’s audited status, with EVIDENCE that the test suite resolves mechanically against the real preset resolver, module registry, tool registry, runtime backends, the committed harness --help fixtures and the source tree — an “implemented” claim that cites nothing checkable does not parse as implemented. The ledger is the denominator for the parity program: supercode harness parity --preset cc-parity|cx-parity|hermes|openclaw prints the headline count, and only zero is done.

The embedded JSON is the single source; the catalog’s “supercode today” column is a snapshot of the survey and is NOT consulted at runtime.

Structs§

GapRow
A gap row as printed: enough to act on without opening the ledger.
OrchestrationRow
One (orchestration concept × verb group) row with its audited status.
PresetReport
The parity report for one preset.
PresetSummary
Per-status counts plus the headline gap number for one preset.
Row
One catalog row with its audited status.

Enums§

Cost
Adoption cost class for an absent row (the catalog’s §4 split).
Evidence
A mechanically checkable citation. Every variant is resolved by check_evidence against the applicable preset(s) or the source tree.
Has
Whether a harness has a capability (the catalog’s per-harness column).
OrchestrationLane
Which side of an orchestration row an evidence item backs.
Status
supercode’s audited status for a row.

Constants§

LEDGER_JSON
Raw ledger rows, embedded at build time.
ORCHESTRATION_DOMAIN
Catalog domain the orchestration rows belong to (Domain 11, “Orchestration & automation”). The orchestration ledger is the same domain seen through the two orchestration-level harnesses’ own doors.
ORCHESTRATION_JSON
Raw orchestration ledger rows, embedded at build time.
ORCHESTRATION_PRESETS
Orchestration harnesses the orchestration ledger reports on. The preset name IS the column name (there is no *-parity config preset behind these: supercode does not emulate a gateway, it reports on one).
ORCHESTRATOR_PRESET
ORC-7: supercode’s OWN orchestrator, graded on the same 17 rows through its own column.
PARITY_PRESETS
Presets the ledger reports on, keyed by the catalog column they mirror.

Functions§

check_evidence
Check one evidence item for one row. Returns Err(reason) when the citation does not resolve under every applicable preset / harness.
check_orchestration_evidence
Check one evidence item on an orchestration row.
check_source_evidence
Check one evidence item whose resolution does not depend on a preset: code against the source tree, cli_verb against the pinned help fixture, store against the workspace’s loaders.
help_fixture
The committed --help fixture for a pinned orchestration harness CLI.
ledger
Parse the embedded ledger.
orchestration_ledger
Parse the embedded orchestration ledger.
preset_names
Every preset name report accepts, in product order.
render
Render the headline plus the gap list, grouped by domain.
report
Build the report for preset: a capability preset (cc-parity / cx-parity) or an orchestration harness (hermes / openclaw).
resolve_preset
Resolve a built-in preset through the real resolver (strict mode).