Skip to content

fix(adaptive): gate the author's own inputs both ways - #58

Merged
sanil-23 merged 1 commit into
tinyhumansai:mainfrom
sanil-23:fix/adaptive-authored-inputs
Aug 17, 2026
Merged

fix(adaptive): gate the author's own inputs both ways#58
sanil-23 merged 1 commit into
tinyhumansai:mainfrom
sanil-23:fix/adaptive-authored-inputs

Conversation

@sanil-23

Copy link
Copy Markdown
Contributor

Field finding from driving the loop on a medulla host: an authored graph declared a required topic input, the reply's inputs supplied no value, and the attempt died at the engine's undeclared/unfilled-input door — a whole attempt (harness session included) spent on a slip the intake could have caught.

bind() already checks a selection in both directions (#56). The author's reply now gets the same treatment, inside the existing feedback loop:

  • a required declared input with no supplied value is refused back to the model with the remedy (supply one / make it optional / drop the declaration);
  • undeclared keys are trimmed, since the engine rejects them before any node executes.

New test: a model that forgets the value first time supplies it when the refusal comes back, and extraneous keys are trimmed from the accepted attempt.

🤖 Generated with Claude Code

A model that declares a required input and supplies no value has written
a graph that dies at the engine's door — the failure cost a whole
attempt (harness sessions included) every time it slipped through, as an
'input topic was not supplied' run refusal. bind() already checks a
selection in both directions; the author's reply now gets the same
treatment inside the feedback loop: a missing required value is refused
back to the model, undeclared keys are trimmed.

Observed in the field driving the loop from a medulla host.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

@tinysweeper tinysweeper Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tinysweeper found nothing blocking. Approving.

$0.0000 · 0 in / 0 out · 245 embedded · openrouter/openai/text-embedding-3-small

@tinysweeper tinysweeper Bot added the priority: p3 Whenever. Cosmetic, a nicety, or a cleanup with no user visible effect. label Aug 17, 2026
@sanil-23
sanil-23 merged commit 5387659 into tinyhumansai:main Aug 17, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

priority: p3 Whenever. Cosmetic, a nicety, or a cleanup with no user visible effect.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant