Skip to content

merge(api): one producer, one reader, harness parity (M6c) - #81

Merged
LittleCoinCoin merged 175 commits into
mainfrom
feat/integrity
Nov 25, 2026
Merged

LittleCoinCoin merged 175 commits into
mainfrom
feat/integrity

Conversation

@LittleCoinCoin

Copy link
Copy Markdown
Member

Why

Candler's purpose is to run and grade "LLM-based agents under controlled conditions". A review of
how it was built found the defects had common causes:

  • stored state with a second producer in tests and fakes;
  • inputs read in several places;
  • per-harness facts that each driver stated in its own way.

The visible symptoms:

  • an OpenCode run named no MCP server;
  • the tool-catalog snapshot came from a constant;
  • a setting a harness could not honour could pass without a word.

This campaign removes those causes instead of patching the symptoms. Each kind of stored state now
has one producer. Each experiment input has one reader. Every fact about a harness is stated in one
shape that each driver must answer. As a result, one cell run on either harness installs the same
MCP servers and records each MCP call in the same form.

Changes

Levels 1 and 2: one producer, one reader (#59–#69)

Level 3: harness parity (#70–#80)

Breaking changes

  • catalog-snapshot.schema.json and inspect-run's catalog are removed. inspect-run/1 now
    requires mcp.
  • An experiment or --set naming snapshots is refused.
  • MCP servers are typed: a malformed server is refused, and so is a name with a . or a trailing
    _.
  • Inputs that used to be ignored silently are refused, and replicates are read once.
  • codemode now defaults to false and is filled at resolve, so cell digests change. New cells
    omit snapshots, which also changes their digests. Old manifests and imports still read.
  • A stored cell whose effort or permission-mode text names no known value is refused on replay.

Hard parts

  • Claude Code defers MCP tools behind ToolSearch. So the parity test's scripted model has to
    search before it calls, and Claude Code's census comes from its system/init line, not from the
    first model request.
  • OpenCode 2.2.7 has no endpoint that lists tools. Its census stays with the gateway's record of
    what the model was offered.
  • When no permission mode is set, the two harnesses behave differently. OpenCode always allows
    every tool. Claude Code run headless denies calls that need approval. This is now declared as a
    per-driver fact instead of being hidden.

Not covered

  • Which default to use for a cell that sets no permission mode. On a cell with MCP servers, Claude
    Code denies the calls and OpenCode allows them. The capability page states it, but no default
    is chosen yet.
  • The capability pages do not yet say when a call reads other or builtin: an ingested run
    without a cell, an undeclared server, or an unknown non-MCP tool.
  • The evaluator protocol's context.snapshots key stays until the next helper release. Removing
    it breaks plug-ins that read it unconditionally.
  • catalog-snapshot.schema.json belongs in htn-creator-eval now; the matching test is skipped
    until it moves.
  • Hooks and instruction files (CLAUDE.md, AGENTS.md) are not part of the declared settings.

Observations

  • Every merge into the branch that touched the paths container-e2e watches waited for it to be
    green. That was 16 of 19 PRs; the other three and the direct roadmap and report commits touched
    none.
  • Spend was measured from transcripts. Levels 1 and 2 cost $90.93, or at most about $99
    counting container runs, against a $127 ceiling. Level 3 cost $61.78 against $70.
  • A cost trial had a RiVault model (Reasoning-Medium, DeepSeek-V4-Flash) implement the
    capability pages. At a 32k output limit it ran out without editing; at 64k it finished. In one
    review round it renamed a table so that a grep gate stopped matching while the defect stayed.
    A review that judges the structure behind a gate caught it.
  • The record of the campaign is in __reports__/diet/06-knowledge_transfer_integrity_v0.md
    and __roadmap__/integrity/.

🤖 Generated with Claude Code

LittleCoinCoin and others added 30 commits November 24, 2026 12:23
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Plan v2 gives each seam review the milestone's whole diff since the base.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
## Why
The next milestone should be cut by concept and gated by observations. AGENTS.md said what to avoid; it did not say what sane work means for a tool that records what agents did. The campaign also named a target dir that no longer exists, and one shared target dir would let a build in one worktree link another worktree's code.

## Changes
- AGENTS.md: the section "Sustainable, scalable, efficient" becomes "What sane work means in Candler" (the approved paragraph, words unchanged); §Where things are written down links the leaf template.
- `__roadmap__/leaf_template.md`: the leaf shape with six conventions, each with its reason. The container-e2e convention binds the merges that touch the paths the workflow watches; a merge that touches none says so.
- Campaign README and leaves: builds use one target dir per leaf under `integrity-target/`, with sccache sharing compiled dependencies; leaves point to the README instead of restating the path; leaves a fresh reader showed breaking the template gained cleanup and stop-action sentences; seam review 2 gets the whole diff since the base, as plan v2 says.
- `__reports__/diet/leaves/conventions_v0.md`: gates and the reader's findings.

## Hard parts
The reader found gates that are structural or process checks rather than consumer observations; they stand beside observation gates and are left as written.

## Not covered
The gates are file-content checks on documents, so none can be shown failing on a base. This PR touches none of the paths `container-e2e` watches, so that check does not run; `Gates` is skipped by CI's path filter for documents.

## Observations
`dirtree-rdm` validates the campaign. It has no command for the Progress tables, so branches and commit counts are recorded in the leaf and level reports.

🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Off a terminal and without -y, kill prompts on stdout and then reads a
stdin no one answers, so the refusal lands after the plan and the prompt
have already been emitted. Refuse on the existing KillNotConfirmed path
before locking stdin, when stdin is not a terminal and -y is absent. On a
terminal, and with -y, behaviour is unchanged.

Guard B42 runs the real binary with stdin not a terminal and no -y and
asserts empty stdout, a stderr naming the confirm flag, and no docker
call; it fails on the base with the prompt on stdout. The b41 live dry-run
assertion is updated to match the off-terminal empty stdout. The leaf
report is alongside.

Co-Authored-By: OpenCode on RiVault <noreply@r-ccs.riken.jp>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
b40 still read the off-terminal dry run of `kill --all` as a listing of
the jobs it would stop. Off a terminal without -y the refusal now comes
before anything is printed, so b40 asserts an empty stdout, exit 2 and
no docker call. That b40 sees only its own three jobs is kept on the -y
run, which prints one line per job it selects.

Seen red on container-e2e for 974ed5e at guard_cli_e2e.rs:504.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The shared case used to take what a driver must collect from the
driver's own fixture (`Case::with_collect`), so a driver whose `collect`
named no real files could pass the suite (B1). `Case` now carries
`agent_wrote`: the files the scripted agent wrote, an oracle that comes
from outside the driver. `check_collect_oracle` feeds them to the
driver's `collect` and asserts that every one is kept by its file globs,
naming the ones the driver leaves out. Both harness drivers and the
shape suite run the case; the driver fixtures that still pin an export
command keep their `with_collect`, because the shared case does not
check them.

Co-Authored-By: OpenCode on RiVault <noreply@r-ccs.riken.jp>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The shared case now checks every driver's collect against the files the
scripted agent wrote. On the tip with B1's fix reverted, the OpenCode
case fails naming notes.md and outputs/answer.txt, and Claude Code still
passes; on the base the same revert passes. No Case::with_collect was
removed: each still checks an export command or a session-specific glob
the shared case does not. The verifier section is left for the lead.

Co-Authored-By: OpenCode on RiVault <noreply@r-ccs.riken.jp>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
## Why

Off a terminal and without `--yes`, `candler kill` printed its plan and a `stop them? [y/N]` prompt on stdout, then read a stdin nobody answers and refused. A script or agent got a question on its output stream and no hint of how to confirm. The command now refuses before printing anything, through the existing `KillNotConfirmed` refusal, so stderr names the confirm flag and stdout stays empty.

## Changes

- `crates/candler/src/commands/kill.rs`: `run` checks `stdin.is_terminal()` and refuses when stdin is not a terminal and `--yes` is absent, before locking stdin or writing anything. Behaviour on a terminal, and with `--yes`, is unchanged.
- `crates/candler/tests/it/guard_cli_kill.rs`: a guard runs the real binary with stdin not a terminal and no `--yes`, and checks three things: stdout is empty, stderr names the confirm flag, and no docker call is made. On the base it fails on the stdout prompt.
- `crates/candler/tests/it/guard_cli_kill_live.rs`: the b41 dry run now expects an empty stdout off a terminal instead of the `would stop: …` line.
- `crates/candler/tests/it/guard_cli_e2e.rs`: b40, the real-Docker kill guard, expects the off-terminal refusal to leave stdout empty. Its check that it sees only its own three jobs moves to the `-y` run, which prints one line per job it selects. Seen red on `container-e2e` before the change, at `guard_cli_e2e.rs:504`.
- `crates/candler/src/commands/refusal.rs`: the `config.kill_not_confirmed` refusal says that nothing was stopped, that `-y` confirms, and that `candler ps` lists the jobs that would be stopped. That replaces the listing the old prompt gave. `docs/contract/index.md` is regenerated from the table. The code is unchanged.
- `__reports__/diet/leaves/kill_off_tty_v0.md`: the leaf report.

## Hard parts

b40 and b41 both relied on the off-terminal dry run listing the jobs it would stop. b41 runs locally with a stub docker. b40 needs a real daemon and runs only in `container-e2e`, so the local run reported it green although it never ran. A skipped gate was counted as passed, and `container-e2e` caught it.

## Not covered

- The interactive prompt on a real terminal is not exercised by a test. It is the unchanged code path.
- The real-container path is covered by `container-e2e` on this pull request.

## Observations

- The first commit was made by OpenCode on RiVault (Agentic-Medium) in one attempt. The b40 fix and the refusal wording followed review.
- Consumer-visible: off a terminal, `kill` without `--yes` no longer prints the jobs it would stop. The refusal points to `candler ps` instead.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Guards that read outputs and file rules take their runs from the real runner; a seeder through seal_run covers .claude/ and the exec bit.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Conformance checks each driver collect against what the real collector stores from a workspace the agent wrote.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: OpenCode on RiVault <noreply@r-ccs.riken.jp>
Co-Authored-By: OpenCode on RiVault <noreply@r-ccs.riken.jp>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
LittleCoinCoin and others added 26 commits November 25, 2026 06:00
The cell's snapshots key is absent for a run Candler made and present,
possibly empty, only for an imported run. The evaluator protocol's
needs.snapshots and context.snapshots are always empty for runs Candler
makes; they are kept so a released helper and stored grading contexts
stay valid, and go once a helper that treats them as optional is out.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
## Why

`inspect` showed a tool catalog that a constant shell command printed: every run said `servers: []`, whatever MCP servers the run declared. The record of what Candler installed already exists as the resolved `mcp.*` values the cell digest hashes, so the constant producer, its resolve step and the surface that showed them are removed, and `inspect` shows the resolved values. `tool-catalog-snapshot/1` has no Candler producer or reader left, so it leaves too.

## Changes

- A guard launches one declared MCP server through `candler run` and reads the run back through `inspect`, as JSON and as text. It fails on the base commit and passes on the tip; with the `mcp` values dropped from what `inspect` shows, it fails again.
- `inspect-run` carries `mcp` (the resolved `mcp.*` values by path) in place of `catalog`.
- Removed: the catalog program and its provider seam, the catalog resolve step, `catalog_spec`, the fake docker's catalog output, the blob plumbing that carried the catalog text to the seal, `tool-catalog-snapshot/1` with its generated schema, fixtures and digest vectors, and the refusal codes only that code emitted. Contract pages are regenerated.
- `comparable.snapshots` is optional: a cell without the key hashes without it, and a cell that carries it, even as an empty list, is written and hashed as before. Only the two importers write it (manifest import and raw ingest), so a run imported before this change keeps its key. A guard runs `candler run` and finds no `snapshots` key in the stored cell, with the run key equal to the digest of the cell as stored. The cell digest oracle gains `invented-4` (no key); the vectors that carry `snapshots` stay and say why.
- An experiment or `--set` that names `snapshots` is refused as an unknown path, and a guard asserts the refusal.
- The Python evaluator helper reads `context.snapshots` as optional. The evaluator schema descriptions and the design doc say the field is always empty for runs Candler makes, and is kept for the released helper and stored grading contexts until a helper that treats it as optional is released.
- README, `AGENTS.md` and the live candler-v1 goal name the per-run tool census.

## Hard parts

- `comparable.snapshots` stays as an optional field, because manifests of the maintainer's golden and imported runs list it and their digests are read from it. No existing manifest's digest moves, so the marker stays `run-manifest/1`.
- The evaluator protocol's `needs.snapshots` and `context.snapshots` are kept: the released Python helper reads `context["snapshots"]` unconditionally and imported grading fills it, so removing them now would break plug-ins built on the released helper and move grading-context digests. The helper now reads it as optional, so the removal becomes one small step once that helper is released.
- The schemas commit (`feat(schemas)!`) touches only `crates/candler-schemas/`, as the commit job requires, so the workspace does not build at that commit alone; the next commit restores it.
- Tests that pinned digests, cell order, or recorded cells of planner-built cells were re-taken from the producer, because new cells hash without `snapshots`.

## Not covered

- `container-e2e` is read from this PR's CI.
- htn-creator-eval keeps grading, but its test that validates against `catalog-snapshot.schema.json` now skips; the schema file needs to move into that repository.
- Removing the evaluator-protocol `snapshots` key, after the next helper release: Candler stops sending it, and every grading-context digest moves, so stored grades no longer match a re-imported context.
- The field's descriptions say "always empty for runs Candler makes"; an imported run that recorded a catalog still carries a non-empty list, and that exception is not stated where the field is described.

## Observations

- This replaces an earlier pull request with the same tree: there, the schemas commit also deleted a core digest vector, which the commit job refuses. Here that deletion moves to the runner commit that removes its producer.

- Consumers of `inspect-run/1` lose `catalog` and gain a required `mcp`. A run key for the same experiment differs from before, because the cell hash no longer holds an empty snapshot list.
- A declared stdio server makes the runner start a probe container; the fake docker needed a top-level `inspect` for it.

🤖 Generated with [Claude Code](https://claude.com/claude-code)
The configuration page is regenerated from the merged code, so it loses the snapshots row.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
## Why

The capability and configuration contract pages were partly hand-written: a table of labels and function pointers decided each capability row, a census row wrote one driver's answer by hand, and the configuration page showed one sample setting per path. A page could therefore disagree with what a driver answers, and the page test would not notice a changed answer. Every per-harness statement on the pages is now read from the drivers' declarations.

## Changes

- The capability page walks `AgentSetting::ALL` and `DriverFact::ALL` for each registered driver; each cell is the driver's `answer` or `fact`, in one wording function shared by both pages. Two rows that only a driver's typed spec holds (gateway route, authoritative trace) render that spec.
- The configuration page writes one column per driver. For a path an agent setting reaches, it shows the answer to every setting of that family, each labelled, so OpenCode's `bypassPermissions` mapping and its `ultracode` and `sse` refusals are visible. Candler-only paths are marked as such.
- The census row reads each driver's `Census` fact. The facts now say Claude Code's census is its `system/init` event, and OpenCode's is the tools the gateway offered the model in its first request.
- One `settle` compares each generated page with the committed one and names the first differing row. With an OpenCode answer changed, the base passes and the tip fails naming the `cost cap` row.
- The pages are regenerated.

## Hard parts

- A path's reach holds one sample setting, so a page that asked only that sample hid answers. The page expands the sample to its whole variant family instead of changing the reach table.
- Spec rows that repeated a fact or a setting (`stop`, `skills layout`) were deleted, so each statement appears once.

## Not covered

- `container-e2e` is read from this pull request's CI.
- The pages describe what the drivers declare; whether a live run behaves as declared is the next leaf's parity run.

## Observations

- Implemented by OpenCode on RiVault (`Reasoning-Medium`, DeepSeek-V4-Flash), with a Sonnet review from the diff; the leaf report records the five runs. One review round caught a rename that satisfied gate 1's grep while the table it stands for remained.

🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
## Why

An MCP server declared once in a cell must be installed and traced the same way on every harness.
The readers and renderers each have their own tests, but nothing ran both real harnesses on one
cell and read what the product stored. A harness could drift (a renderer skipping the server, a
reader losing the server from the origin) with every unit test green.

## Changes

- `parity_one_installed_server_one_traced_call` (`guard_cli_e2e`, in the `container-e2e` group): the
  real `candler run`, real Claude Code and real OpenCode in their agent base images, the production
  gateway, and the scripted fake model reached through `[gateway] upstream_ca`. One experiment file;
  only the `[harness]` name differs. Per harness it asserts the server among the resolved `mcp.*`
  values (`candler inspect`), the server in the MCP file the driver rendered, and the stored trace
  holding the scripted call as the MCP origin of server `parity`, tool `stamp`. It reads no server
  census or status.
- The fixture server `tests/fixtures/parity/parity_mcp.py`: stdio, standard library only; both agent
  base images carry `python3`.
- The fake model's script `p1`: calls `stamp` under the name the request offers (`parity_stamp` for
  OpenCode), or through `ToolSearch` first for Claude Code, which defers MCP tools.
- The workflow's expected-guard list names the new guard. `Made`, `must` and `fake_host` of the i8
  guard are shared instead of copied.
- The live parity runs on RiVault and their record: `__reports__/diet/leaves/parity_run_v0.md`.

## Hard parts

- The guard lives in the `candler` crate's tests, not `candler-core`'s: the product's own binary is
  the producer of the run, the resolved values and the trace, so nothing is assembled by hand.
- Claude Code defers MCP tools behind `ToolSearch`; the fake model has to search before it calls.
- The permission mode is set to `bypassPermissions` in the experiment (OpenCode refuses `default`).

## Not covered

- Permission defaults: with no mode the two harnesses differ by design, and that choice is open.
  This change proves MCP install and trace parity only.
- Code mode: it stays at its default, `false`; the guard has no code-mode case.

## Observations

- On the merge of the MCP renderers (`29573006`) the guard, with only its oracle adapted to the
  origin that had no `tool`, fails on OpenCode (`origin: other`).
- On this tip the guard passes in about 22 s locally for both harnesses.

🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The seam review found two one-line passthroughs to `candler_harness::mcp::servers`, one in each driver. Both are deleted and every caller reads the library directly, so one reader is left.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
A stored cell replays without going through resolve, and `Cell::effort` and `Cell::permission_mode` read unknown text as unset or the default mode. One function per field now turns the text into the type and refuses with `cell_value_invalid` at the field; resolve and both accessors call it.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
## Why

Seam review 3 checked whether any level-3 change added where it should have replaced. It found two places that did.

- Both drivers kept a one-line `mcp_servers` passthrough to `candler_harness::mcp::servers`, while the core called the library directly.
- Effort and permission-mode text had two readers.
  - Resolve refused text that names no level or mode.
  - `Cell::effort` and `Cell::permission_mode` parsed the same text again, and fell back silently to unset or `Default`.
  - A stored cell replays without resolve. So a cell holding text the enums do not know ran as `Default`, and nothing said so.

## Changes

- The two `mcp_servers` wrappers are deleted. Their callers in both drivers call `candler_harness::mcp::servers`.
- `Cell::effort_at` and `Cell::mode_at` in `candler-harness` are now the only place where text becomes an `EffortLevel` or a `PermissionMode`. They refuse unknown text with `InvalidValue` at the field path.
  - Resolve's `settings_set_by` calls them, and its own copies in `candler-core/src/resolve/paths.rs` are gone.
  - `Cell::effort` and `Cell::permission_mode` are fallible and call them too. Their callers (Claude Code's `argv`, OpenCode's `effort_variant`) pass the error on.
  - A replayed cell is refused with the same code and path as a fresh one.
- The accessors' doc comments no longer describe a silent fallback.
- New guard, `a_stored_cell_with_an_unnamed_mode_or_effort_is_refused_at_its_field`, in `guard_claude_code_driver.rs`.
  - It plans a raw `Cell` holding `permission_mode = "nonsense"`, and one holding an unnamed effort.
  - Before the change it failed: the cell planned.
  - Now it is refused at the field.

## Hard parts

- The refusal had to be one function that both resolve and `Cell` reach. Replacing `unwrap_or` with an error inside each accessor would still have left two readers.
- The function moved from `candler-core` into `candler-harness`, where `Cell` lives, and resolve became a caller.

## Not covered

- The guard enters through `driver.plan` on a raw `Cell`, where a replayed cell meets the accessors. It does not go through the core's replay path end to end.
- A run stored before this change with such text is now refused on resume, where it used to run as `Default`. That is intended.

## Observations

- No published schema or vector changes.

🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@LittleCoinCoin
LittleCoinCoin merged commit 80405b5 into main Nov 25, 2026
8 checks passed
@LittleCoinCoin
LittleCoinCoin deleted the feat/integrity branch November 25, 2026 02:12
LittleCoinCoin added a commit that referenced this pull request Dec 1, 2026
M6c (Integrity) landed on `main` in #81 but its roadmap leaf still read as an open amendment. The golden-parity guard and the engine's `regrade` entry point it was written for were also left behind: the guard can no longer pass, and `regrade` has no caller.

What lands:
- The M6c leaf is marked done, with each success gate pointing at its evidence: the PR, report or measurement that met it.
- `guard_golden_parity` is retired. It regraded the golden corpus with htn-creator-eval 0.5.2, whose import rules lack the `entry_params` field that Candler's importer has required since `7872a22d`. No 0.5.x of the plug-in will add it, and the plug-in's next line makes no parity claim, so the guard could never pass again. The M6c gate that relied on it records the deviation: 15 of 18 golden covers passed, and the other 3 are this cross-repo gap.
- `candler_core::evaluation::engine::regrade` and its pool constants are removed. The parity comparison went through `candler evaluate`, so nothing called it. This breaks the API: callers use `evaluate` with an `EvaluateRequest` instead.

Verification:
- On the rebased tip: `cargo fmt --check`, clippy with `-D warnings`, `RUSTDOCFLAGS=-D warnings cargo doc` and `cargo nextest run --workspace` pass (772 tests passed, 35 skipped), and `cog check` passes on the range.
- `git grep` finds no other reference to `regrade(` or `guard_golden_parity` on `main`.

Not covered:
- Golden parity against htn-creator-eval's next line. That line makes no parity claim, so there is nothing to guard yet.

🤖 Generated with [Claude Code](https://claude.com/claude-code)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant