Continue the conversation on refusal, and give the claude lane its descriptions

The first SDK-backed seeded runs. Run 1 refused both seed sessions: the
sidecar's schema conversion dropped every field description, `due` was an
undescribed integer against a clock the model never saw, and the subject
tool did not say a grant is required. Run 2 seeded six people in one round
and ticked three times.

A refusal used to reopen the session with an empty draft and a prompt that
named sites from a draft the model could no longer see. It now continues
the same conversation: `Refusal { after_round, mismatches }` on both
authoring checkpoints (controller_work.v12), the refusal as the next user
turn, and the draft rebuilt by one DraftFold shared by evaluator and oracle
from the calls after it. The harness takes the connector only when its
address is set, so an all-claude run needs none.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
Meta Vens 2026-09-10 23:50:28 +02:00
commit 936aa71b8d
12 changed files with 546 additions and 235 deletions

View file

@ -610,6 +610,23 @@ pass-through; the decoder reports it as missing. The result-subtype mapping
(`error_max_turns` is an output; every error subtype a named fault) is
tested in the sidecar without a credential.
Road follow-ups, 2026-09-10, from the first two SDK-backed seeded runs
(`notes/local-live-smoke.md`, "Claude SDK route"): the sidecar's schema
conversion now carries every field `description` through to the advertised
tool schema (it dropped all of them, so the `claude` lane saw bare types);
`due` describes itself as a clock reading and both authoring prompts print
the clock, because the model wrote twelve commitments due at or before a
clock it was never shown; `declare_subject` states the grant rule at the
point of use; `apply_tool_call` logs each raw tool call at debug so a refused
patch is diagnosed from what the model sent. A kernel refusal now continues
the same conversation instead of opening a fresh draft: `Refusal { after_round,
mismatches }` rows on both authoring checkpoints (`controller_work.v12`;
prior rows refused, not migrated), the refusal rendered as the next user turn
after the rounds that earned it, and the draft rebuilt by one `DraftFold`
shared by the evaluator and the oracle from the calls after it. The harness
takes the connector binding only when `GHOSTLIGHT_CONTROLLER_CONNECTOR` is
set, so an all-`claude` run needs no connector.
## Subtraction budget
Prefer deletion, collapse, or reuse before adding surfaces. The replacement

View file

@ -194,10 +194,27 @@ vault plus either a running CodexConnector or a built Claude SDK sidecar
with an ambient Claude Code login; see `GHOSTLIGHT_SMOKE_*` and
`GHOSTLIGHT_SDK_*` environment."
This route has not been run. This machine has neither the Claude Code CLI on
PATH nor a stored credential, so nothing beyond the scripted-link unit tests
in `world/sdk_inference.rs` and the checked-in schema/frame fixtures has
exercised it.
### SDK runs, 2026-09-10
Every lane on `claude-sonnet-5`, Kalsa `Public`, Low Sere, target six, two
seed sessions, three ticks. The operator installed the CLI and logged in
interactively; the sidecar inherited the login. No connector variables were
set.
| Run | Seed | Ticks | Result |
|---|---|---|---|
| 1 | both sessions refused: subjects with no grant, twelve commitments due at or before the clock | 3 committed, 2 cells each, Persona spoke | harness failed on the empty seed; the transport itself worked end to end |
| 2 | one session, one round, 89 s: six qualified persons, deficit 6 to 0 | 456 s, 395 s, 326 s; 8 singleton cells each; revision 3 to 24 | passed; tick 3 quarantined one cell |
Rules run 1 imposed are in the implementation plan under step 11 (descriptions
carried through the sidecar, `due` described and the clock printed, the grant
rule on the subject tool, raw tool calls logged, refusal continues the
conversation). Run 2's two findings: three of eight speech captures were cut
mid-word ("just t", "a?\" I") because the Interpreter cited byte spans the
model counted wrong, and the tick-3 quarantine was a mis-spanned utterance
failing the canonical-text rule at invocation, which is a translation gap
wearing an infrastructure fault's coat. Ticks are slow because eight singleton
cells run in sequence at roughly 50 s per cell on this lane.
## Interrupted cell