AlreadyResolved names the closure in force #22
Loading…
Reference in a new issue
No description provided.
Delete branch "eureka/refusal-names-the-closure"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Finding (follow-up chat-s4377-4379): admission already lets the row's owner correct a closure. Withdraw the resolution (subject kind Resolution), then resolve the subject again at the next sequence; this works in one batch (new test
a_closure_is_corrected_by_withdrawing_it_and_resolving_again_in_one_batch, passes on main). What Nibu and Kiko hit is a different subject: Withdrawn/Fixed aimed at the follow-up itself returnsAlreadyResolved { subject }, which says nothing about what to withdraw. Root's 14 withdrawals went through the resolution rows, which is the difference.Change:
MindRefusal::AlreadyResolvedgainsclosed_by, the in-force resolution's key, taken fromclosing_resolution_unless(already the owner of that fact). Both refusal sites (resolution rule, ruling-answers-question) fill it. Published response schema regenerated. Six existing assertions updated to the new field.Not changed: no owner check on who may withdraw (admission has none for any kind), no new outcome, no supersede-in-place path. The row's owner is the mind's own writer.
Tests:
cargo test -p huginn-mindall green except that one full run flagged my first guess of one key, fixed; focused rerun green. Full-suite rerun after the fix not done. Needs a second reader before merge; not deployed.🤖 Generated with Claude Code