Repository navigation
merge(api): inspect shows MCP config, catalog snapshots go - #76
Closed
LittleCoinCoin wants to merge 18 commits into
Closed
LittleCoinCoin wants to merge 18 commits into
LittleCoinCoin wants to merge 18 commits into
Conversation
The guard launches one declared server through candler run and reads the run back through inspect, as JSON and as text. It fails on this commit: inspect shows only a catalog that says servers: []. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Removes tool-catalog-snapshot/1 and its generated schema. inspect-run no longer carries catalog; it carries mcp, the resolved mcp.* values by path. A cell leaves comparable.snapshots out of its record and its hash when it lists none, so a cell without snapshots hashes under a new digest; a cell that lists them hashes as before. BREAKING CHANGE: catalog-snapshot.schema.json and inspect-run's catalog are removed, inspect-run requires mcp, and a cell without snapshots has a new digest. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Deletes the constant catalog program, its capture, the resolve-time catalog step, the provider seam, the fake docker's constant and the blob plumbing that carried the catalog text to the seal. inspect shows the resolved mcp.* values from the cell. The cell digest oracle gains vectors for cells without snapshots; the vectors that list them stay for stores that hold such manifests. The refusal codes only the removed code emitted leave codes.toml, and the contract pages are regenerated. The README purpose paragraph and AGENTS.md name the tool census. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
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. No existing manifest's digest moves, so the version marker stays run-manifest/1. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The importer is the only writer of comparable.snapshots. The oracle vector invented-1 returns to its first body and digest; invented-4 is the shape of a new cell, without the key. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Nothing that makes a new run may set comparable.snapshots, so the path leaves the configuration. An experiment that names it is refused as an unknown path; drop the setting. BREAKING CHANGE: an experiment or --set naming snapshots is refused. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The README, CONTRIBUTING and the architecture design name a run's tools only by the resolved mcp.* values, the census and the trace; the comparable.snapshots rule is described as the imported old shape. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The recorded comparable cells and the hand-built manifests no longer carry a snapshots key, as a resolved cell has none, and the cells keep the order the planner now gives them. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
A stream ingested before snapshots became optional was keyed with an empty list. Raw ingest wrote none, so a second ingest found the held run keyed by another cell and refused it as a conflict. Both importers now write the list, as an imported run's cell carries it. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
An experiment that names snapshots is refused at resolve, as the new guard shows, so no run Candler makes holds a source for that root. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
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>
Member
Author
|
Replaced by #77: the same tree, with the schemas commit kept to its own crate so the commit job passes. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
inspectshowed a tool catalog that a constant shell command printed: every run saidservers: [], whatever MCP servers the run declared. The record of what Candler installed already exists as the resolvedmcp.*values the cell digest hashes, so the constant producer, its resolve step and the surface that showed them are removed, andinspectshows the resolved values.tool-catalog-snapshot/1has no Candler producer or reader left, so it leaves too.Changes
candler runand reads the run back throughinspect, as JSON and as text. It fails on the base commit and passes on the tip; with themcpvalues dropped from whatinspectshows, it fails again.inspect-runcarriesmcp(the resolvedmcp.*values by path) in place ofcatalog.catalog_spec, the fake docker's catalog output, the blob plumbing that carried the catalog text to the seal,tool-catalog-snapshot/1with its generated schema, fixtures and digest vectors, and the refusal codes only that code emitted. Contract pages are regenerated.comparable.snapshotsis 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 runscandler runand finds nosnapshotskey in the stored cell, with the run key equal to the digest of the cell as stored. The cell digest oracle gainsinvented-4(no key); the vectors that carrysnapshotsstay and say why.--setthat namessnapshotsis refused as an unknown path, and a guard asserts the refusal.context.snapshotsas 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.AGENTS.mdand the live candler-v1 goal name the per-run tool census.Hard parts
comparable.snapshotsstays 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 staysrun-manifest/1.needs.snapshotsandcontext.snapshotsare kept: the released Python helper readscontext["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.feat(schemas)!) touches onlycrates/candler-schemas/, as the commit job requires, so the workspace does not build at that commit alone; the next commit restores it.snapshots.Not covered
container-e2eis read from this PR's CI.catalog-snapshot.schema.jsonnow skips; the schema file needs to move into that repository.snapshotskey, 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.Observations
inspect-run/1losecatalogand gain a requiredmcp. A run key for the same experiment differs from before, because the cell hash no longer holds an empty snapshot list.inspectfor it.🤖 Generated with Claude Code