floop: typed EXPERT confidence + ANSWER bool input #13

Merged
onibot merged 1 commits from feature/typed-expert into main 2026-10-22 15:04:56 +02:00
Owner

The last floop signatures migrate to the typed-output law:

  • ExpertSignature.confidence: Confidence(str, Enum) high|medium|low, with guidance in the desc — out-of-set values are schema violations
  • AnswerSignature.unverified: real bool InputField (callers already passed bools; the old signature stringified them)
  • expert_draft/synthesize consume the typed values directly

Verified: suite 14/14 green (new tests/typed_expert.py: enum parses through the real adapter path, bad confidence raises, bool renders). The floop side of the typed migration is COMPLETE — knowledge signatures are the next (last) block.

(Committed via branch+PR this time — the previous push landed on main directly by mistake; main was reset to 66e8bd4 before this PR.)

The last floop signatures migrate to the typed-output law: - `ExpertSignature.confidence`: `Confidence(str, Enum)` high|medium|low, with guidance in the desc — out-of-set values are schema violations - `AnswerSignature.unverified`: real bool InputField (callers already passed bools; the old signature stringified them) - `expert_draft`/`synthesize` consume the typed values directly **Verified:** suite 14/14 green (new `tests/typed_expert.py`: enum parses through the real adapter path, bad confidence raises, bool renders). The floop side of the typed migration is COMPLETE — knowledge signatures are the next (last) block. (Committed via branch+PR this time — the previous push landed on main directly by mistake; main was reset to 66e8bd4 before this PR.)
onibot added 1 commit 2026-10-22 15:04:55 +02:00
The last floop signatures migrate to the typed-output law:
- ExpertSignature.confidence: Confidence(str, Enum) high|medium|low,
  with guidance in the desc — out-of-set values are schema violations
- AnswerSignature.unverified: real bool InputField (callers already
  passed bools; the old signature stringified them)
- expert_draft/synthesize consume the typed values directly

VERIFIED: suite 14/14 green (new tests/typed_expert.py: enum parses
through the real adapter path, bad confidence raises, bool renders).
The floop side of the typed migration is COMPLETE — knowledge
signatures are the next (last) block.
onibot merged commit ce028b6973 into main 2026-10-22 15:04:56 +02:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: onibot/floop#13