Repository navigation
Describe every field of .cairn/config.json - #478
Merged
Merged
Conversation
The file reference page for config.json showed "—" for all 79 fields. Each field's schema now carries a description, written from the spec, so the generated JSON Schema and the docs page explain every setting. A description on a schema with checks is set before the checks: Effect puts an annotation on the last check, and a check with no JSON Schema form drops it. A docs test fails when a config field has none. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Owner
Author
This stack of pull requests is managed by Graphite. Learn more about stacking. |
This was referenced Dec 1, 2026
Owner
Author
benschac
added a commit
that referenced
this pull request
Dec 1, 2026
From the Codex review of #478: ceilingUsd filters recommendations and caps no spending, a deny-list match outside a string value stops the session being stored, conflicts.high also stacks or orders tasks at plan time, prefer.faster changes no choice yet, subscriptionsFirst orders by cost only for recommendations from past results, minTasks and window count per model ID, reasoning level and harness, explore changes a model only with adaptive on, and the last of maxRounds only reports. The file reference now walks a map's values, so the per-task limits under attempts.tasks are documented and the test covers them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
benschac
added a commit
that referenced
this pull request
Dec 1, 2026
From the Codex review of #478: ceilingUsd filters recommendations and caps no spending, a deny-list match outside a string value stops the session being stored, conflicts.high also stacks or orders tasks at plan time, prefer.faster changes no choice yet, subscriptionsFirst orders by cost only for recommendations from past results, minTasks and window count per model ID, reasoning level and harness, explore changes a model only with adaptive on, and the last of maxRounds only reports. The file reference now walks a map's values, so the per-task limits under attempts.tasks are documented and the test covers them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.

The
.cairn/config.jsonreference page showed "—" for all 79 fields. Each field inpackages/contract/src/config.tsnow has a description, written from the spec's config, catalog, routing, attempts and redaction sections and checked against the code that reads it. The descriptions reach the committedpackages/contract/schema/config.schema.json, which the docs page is built from.judge.pass > judge.flagor the calendar-date check oneffective, is left out of the generated JSON Schema, and its description goes with it. Forjudge,plannerandprices[].effectivethe description is set before the checks, with a comment saying why.apps/docs/test/reference.test.tsbuilds the config page from the live schema and expects no field without a description. I renamed onedescriptiontotitleand watched it fail namingjudge.model, then restored it.manifest.json,spec.jsonandevents.jsonlare about to be split up, andtrace.jsonandjudgments.jsonwere left for later. The three CLI flags with no description (admin backup --out,admin restore --in,connect agent --actions) are also left.Codex reviewed it twice. The fixes are stacked on top: #479 (round 1) and #480 (round 2).
Checks: the contract typecheck,
config.test.ts, the 23 docs tests, the full docs build with no config warnings,generate-schema.ts --check, and the pre-commit hook pass. I didn't run the fullpnpm checklocally.🤖 Generated with Claude Code