Repository navigation
feat: check each open question against the turn's own answer - #2484
Merged
Merged
Conversation
The turn-end judgment (context_label.v28) now asks each question for the sentence it quotes, whether only a person can take its step, and whom it waits on, with a strict definition and two examples. The core drops a new question whose sentence is not in the turn's answer, keeps one for the parent agent folded, and keeps the first three new lines instead of refusing the turn.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related: follows #2473. Paired private docs: with-hide/hide-private#882.
Summary
나를 기다리는 것listed things that were not questions for the operator: the agent's own notes and next steps, offers, and in a delegated session questions meant for the parent agent.Hide AI now uses a strict definition of a question (two real examples included) and gives, for each one, the sentence of the answer that asks it and whom it waits on.
Hide drops a question whose sentence is not in the turn's answer, and keeps a question for the parent agent folded under
정리됨, where one press opens it.A step only a person can take (an approval, a sign-in, a permission) stays open whoever it is addressed to, as before.
Measured over 92 real turns, wrong questions fell from about 28% to 6% while as many real questions were found.
No screenshot: no screen changes; a question for the parent uses the existing
정리됨list.Review
hide-core/src/labels/context_label.rs- END prompt v28, the new schema fields, andJudgedWork::checked.hide-core/src/links/ledger_store.rs- a parent's question is inserted asFolded, and asked again in the flow it adds no second line.Tests
context_label.rs), the real ledger store for the folded parent question, and the label worker with a scripted provider for the delegated turn end.Evidence
hide-corefiltered nextest overlabels::,links::and the open-ask, link and backlog runtime tests, 394/394; fmt; clippy with tests.Replay of recent real turns (2 runs, haiku, v28 prompt from this branch)
22 turns from the last 36 hours: 14 where the current judgment recorded a question, 8 where it recorded none, root and delegated sessions.
same_as(the replay gave no open questions); 1 was the child's question to its Conductor; 2 are borderline: an operator step stated as "when ready" and a reviewer saying the operator may decide.