Skip to content

[chore] V3 drops the V2 switches and the V2 corpus - #42

Merged
Thibaut-Fatus merged 2 commits into
mainfrom
chore/drop-v2-switches
Oct 8, 2026
Merged

Thibaut-Fatus merged 2 commits into
mainfrom
chore/drop-v2-switches

Conversation

@Thibaut-Fatus

Copy link
Copy Markdown
Collaborator

Latest runs one edition. V2 is tag 2.2.0, which kora-infra now vendors beside V3 (korabench/infra#225), so the switches that kept V2 requests byte-identical on latest can go.

Removed

  • Judge length caps. One contract: the caps are prose to the provider and only a post-parse safety net. The judge schemas now carry {lengthCaps: "prose"}; previously the V2 schemas carried "provider". A harness serving several editions strips the caps of a marked schema and sends an unmarked one as is, which is how V2@2.2.0's judges must be sent. The CLI strips every schema.
  • Maturity. childMaturity on the scenario and childCognitiveMaturity / childEmotionalMaturity on the seed leave the strict schemas, the four prompts that rendered them when present, and the description tables.
  • Legacy taxonomy. risks.legacy.json, Packs.legacyTaxonomy and --taxonomy kora-legacy are gone. Flavor tests use a fixture taxonomy instead.
  • V2 corpus. data/scenarioSeeds.jsonl, data/scenarios.jsonl and data/104-scenario-apps.strict.jsonl no longer parse, so they leave main and stay at 2.2.0. No V3 corpus ships yet, and the commands keep their data/ defaults.

The prompts fingerprint keeps version 3 and gets a new hash. The 3.0.0 tag moves to the merge of this PR.

Not removed: use, refusalBehavior, memory and childSES stay optional on the seed, along with their "absent" fallbacks in the prompts.

Checks: yarn tsbuild passes and yarn test passes (562 tests). Lint errors only come from an untracked data/ script, as on main.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Cc7Mwmr6LGLyHu31hDJrYe

Latest runs one edition; V2 is tag 2.2.0, which kora-infra vendors beside it.
So the switches that kept V2 requests byte-identical on latest go:

- Judge length caps: one contract. The rationale caps are prose to the
  provider and a post-parse net only. The judge schemas carry
  `{lengthCaps: "prose"}` (was: V2 ones carried "provider"), for a harness
  serving several editions: it strips the caps of a marked schema and sends
  an unmarked one, such as V2@2.2.0's, as is. The CLI strips every schema.
- Maturity: `childMaturity` on the scenario and the two maturity levels on
  the seed leave the schemas, the four prompts and the description tables.
- `risks.legacy.json`, `Packs.legacyTaxonomy` and `--taxonomy kora-legacy`.
  Flavor tests use a fixture taxonomy instead.

The V2 corpus (data/scenarioSeeds.jsonl, data/scenarios.jsonl,
data/104-scenario-apps.strict.jsonl) no longer parses, so it leaves main and
stays at 2.2.0. No V3 corpus ships yet; commands keep their data/ defaults.

Prompts fingerprint: same version ("3"), new hash.

Claude-Session: https://claude.ai/code/session_01Cc7Mwmr6LGLyHu31hDJrYe
@Thibaut-Fatus
Thibaut-Fatus merged commit d12bc5e into main Oct 8, 2026
4 checks passed
@Thibaut-Fatus
Thibaut-Fatus deleted the chore/drop-v2-switches branch October 8, 2026 19:40
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