@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
33 lines (32 loc) • 1.51 kB
JSON
{
"contract": "CONTRACT-r6",
"section": "B1",
"rulings": [
"RULING-60",
"RULING-61",
"RULING-67",
"RULING-128"
],
"requiredKindsRule": "manifest.requiredKinds is the sorted (code-unit order), de-duplicated list of the catalog families this cut's root requires: its complete families only, partial ones excluded by the engine. The same list is the requiredKinds of the cut's families/families registry component, inside the content checkpointDigest covers.",
"clientRules": [
"Read requiredKinds verbatim; never derive it from a built-in family list.",
"A manifest without requiredKinds (an older engine) is refused as manifest_missing_required_kinds, never opened from a built-in list.",
"A kind the client does not know is refused as manifest_unknown_required_kind, never ignored.",
"A list that differs from the complete families of the digest-verified families/families component is refused as manifest_required_kinds_mismatch."
],
"normalization": "Random epoch ids become 00000000-0000-4000-8000-<n> and every 64-hex digest a stable alias, in order of first appearance; every other byte is the engine's.",
"regenerate": "SENPI_WRITE_RECOVERY_GOLDENS=1 npx vitest run test/suite/regressions/5397-required-kinds-golden.test.ts (packages/coding-agent, senpi repository)",
"cases": [
{
"caseId": "one-partial-family",
"file": "one-partial-family.json",
"kind": "manifest",
"contractIds": [
"R4.B1",
"RULING-61",
"RULING-67",
"RULING-128"
]
}
]
}