Skip to content

A governance question's first Yes approves its draft: no forced re-ask - #972

Merged
hhff merged 24 commits into
mainfrom
operator/governance-ask-approves
Dec 5, 2026
Merged

hhff merged 24 commits into
mainfrom
operator/governance-ask-approves

Conversation

@hhff

@hhff hhff commented Dec 4, 2026 •

Copy link
Copy Markdown
Member

The case

Mothership's case is below. Stacksbot was the third fleet this bug hit: q-20261205-001753858 asked again to merge its north-star PR after the owner had already said yes.

In mothership, the supervisor asked the owner q-20261203-212647170-supervisor, class strategy-change: "Add this North star and Values to mothership's strategy…? Yes adds them as drafted; Edit with your changes." It had the options "Yes, add as drafted" and "Edit", and no --recommendation. The owner picked "Yes, add as drafted".

The merge still refused. worldFileFails says the strategy is the owner's and asks for --recommendation, and ownerAnswer takes an answer only when it matches the question's recommendation (matched). This one had none, so it approved nothing. The supervisor had to ask again (q-20261203-230724792-supervisor): "You said yes to this draft earlier, but the merge needs a question that carries a recommendation." The owner reads being asked twice as malicious compliance. The kit forced the re-ask: ask accepted a question that --approved could never use.

The fix

  1. ask refuses an approval question that has no --recommendation (askApprovalRecommendation). These eight classes now require a recommendation at ask time (their --approved answers count only as recommended; so do others, such as ticket and plan merges, recurring-edit, production-remediation, goal-met and registry-attest, whose asks already carry one): strategy-change, self-change, exterior-change, governance-edit (the constitution), process-edit, gate-change, goal-change and merge-chore. The refusal names --recommendation, and for a question with no choices it suggests --kind clarification. It comes late in ask: after the check that the owner already decided this, the change a goal-change proposes and --from, so those say their own words first. Some later checks, such as the recommendation's length, still run after it. When there are choices, the recommendation must be one of them by its label; otherwise every pick would approve nothing. The supervisor then gives --recommendation, as on main, and the owner's first pick of it approves. This stops the kit from accepting a question that --approved could never use.

    The kit never picks a recommendation itself. Earlier versions of this PR did, from a "Yes…" choice, and carried old recommendation-less answers forward. Five rounds of review showed that no label check is safe: "as drafted", "this version", "it", "them" and a bare "Yes" all take their meaning from the question and its context ("Yes adds only the North star"), which the kit can't read. Both were dropped (review K). A scan of the five fleets found no answered old-style question the carry-over would have landed: mothership's draft changed after the answer, and stacksbot's label uses "it".

  2. An older question asked with no recommendation stays decided, as on main, and the refusal no longer points at --approved (approvesNothing, reaskWords). Every answered question is still "the owner already decided this", whatever the answer was and however it came (the card, the terminal, a chat or thread relay, with files or a note). The kit doesn't classify old answers any more: four rounds of review (O, P, Q, R) found answers that a label or field check misread. What changes is the refusal's text when the earlier question is an owner-decision in one of the eight classes with no recommendation. On main it said to cite the answer with --approved, which merge then refused (the loop review N found). Now it says that answer approves nothing at merge, and that if the supervisor believes the owner meant yes, it may ask again with --new-because "<why>", quoting the old answer to the owner. A No or an Edit is theirs and stands. --new-because is main's existing, logged way to ask again, so nothing is widened. The warning for a similar, different decision says the same: it approves nothing at merge, use it in your recommendation, never --approved.

  3. Hints and docs:

    • The strategy-unwritten next step (with --links as JSON), the goal set hint, the re-plan-or-change-measure command and the remediations hint now include --recommendation. So do supervisor.md's governance-edit remediation example and its merge-chore example.
    • ask's help text names the eight classes.
    • supervisor.md §6 states the rule: ask refuses an approval-class owner-decision without a valid --recommendation; old recommendation-less answers stay decided; the refusal points to --new-because, not --approved.
  4. Unchanged from main, stated for clarity:

    • On a chore, any --approved answer also approves the PR's non-kit files outside project/, as on main.
    • A note beside a pick keeps main's rule. For example, "Yes, add as drafted — but drop V9": a note beside the recommended choice keeps the answer matched, exactly as on main. This PR doesn't change that, and it no longer adds any path where a pick approves without an explicit recommendation.

Tests

test/world-approval.first-yes.test.mjs (main split world-approval.test.mjs into parts, kit-1204):

  • FY1:
    • These strategy-change asks with no recommendation are refused, naming --recommendation, and none is taken: no choices, one "Yes, add as drafted", the same beside a narrowing context, and a bare Yes.
    • Governance-edit, merge-chore and goal-change asks with no recommendation are refused too. A clarification is not.
    • A recommendation that is none of the choices is refused.
    • With --recommendation "Yes, add as drafted", the owner's pick lands the draft at merge and passes check-pr.
  • FY2:
    • A hand-written old-style question answered "Yes, add as drafted" lands nothing at merge or check-pr.
    • Asked again with no --new-because (mothership's case), it is refused as decided; the refusal says the answer approves nothing at merge, names --new-because "<why>", and never --approved. With --new-because it is accepted, the reason is recorded, and the owner's pick of the new recommendation lands.
    • Still refused as decided, with the same text: an Edit, a chat relay (--from-chat --said "yes but drop V9", Q1), a pick with the owner's edited draft attached as files (Q2), and a bare Yes to "Keep asking the owner before adopting each kit release?" (governance-edit, R1).
  • FY3: a different decision worded alike names the old question, says it approves nothing at merge, and never says --approved.

test/search.test.mjs: two governance-edit asks now give --recommendation.

Run locally, one file at a time: world-approval.first-yes (2/2), search (7/7), world-approval.asks (5/5, the rules-say-it test).

Mutants were applied one at a time; each fails the new part:

  • K1: ask never refuses (FY1)
  • K2: a single "Yes…" choice passes without a recommendation (FY1)
  • K5: every kind refused, a clarification too (FY1)
  • Na / Nb: merge-chore / goal-change dropped from the list (FY1)
  • M3: a recommendation that is none of the choices allowed (FY1)
  • S1: the refusal cites --approved again, as on main (FY2)
  • S2 / S3 / S4: a chat relay / a pick with files / a bare Yes lets the re-ask through (FY2 Q1 / Q2 / R1)
  • S5: an old plain "Yes, add as drafted" lets the re-ask through without --new-because (FY2, the old unusableYes)
  • S6: the similar-question warning says to cite it with --approved (FY3)
  • S7: --new-because dropped on the re-ask (FY2)

What wasn't tested

  • Known gap, unchanged from main: --kind proposal and --kind clarification questions in these eight classes are still asked without a recommendation, and their Yes approves nothing. A proposal (operator.md lists strategy-change proposals) can therefore still lead to a second question. The rule here covers owner-decisions only.
  • Not exercised: a dashboard pick end to end, goal-change and merge-chore asks beyond their refusal, a thread relay, and a real fleet merge.

Opened by the box operator.

🤖 Generated with Claude Code

hhff and others added 2 commits December 4, 2026 00:54
ask: an owner-decision in a class whose --approved answer approves only as
recommended (strategy-change, self-change, exterior-change, governance-edit,
process-edit, gate-change, goal-change, merge-chore) with no --recommendation
takes its one "Yes..." choice as the recommendation and says so; with none
or several, it is refused naming --recommendation (after the check for a
decision the owner already made).

merge/check-pr: an answer from before that rule (the owner's own pick of a
world-file question's one "Yes..." choice, no words beside it, no
recommendation) approves the draft the question pinned when that exact
blob is what lands. Any edit since, a provenance note included, is refused.

ask's "answered a similar question before" warning names both cases.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… (goal-change's change, --from); the search test's governance-edit ask recommends in words that keep the standing rule close

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@hhff

hhff commented Dec 4, 2026

Copy link
Copy Markdown
Member Author

PR #972 review b1: the first Yes approves its draft, but "Yes" is read by prefix alone, and a legacy Yes outlives the owner's later answer

  • Reviewer: operator-review-b1 (fresh subagent, claude-fable-5-2), not the author
  • Head: a573d15
  • Date: 2026-12-04 UTC

What I ran vs only read

Read: the whole diff (git diff origin/main...HEAD), worldFileFails, ownerAnswer, questionView, doorPick/ownerSaysYes, askLine from the draft pin to appendLog, cmdMerge's --approved paths, check-pr's call, the other askLine callers, quality.md §1/§3, constitution.md authority rows, supervisor.md §6.

Ran (scratch clone, hub env pointed away, through testslot):

  • test/world-approval.test.mjs whole: timed out at 600 s under box load ("last test finished: none"), so no local result for the whole file. The PR's two new tests, copied unchanged beside the file's helpers into a scratch file: 2 pass, 0 fail at the head.
  • test/search.test.mjs: not run locally (one-line change; CI ran it).
  • Mutations, each alone against the two new tests:
Mutant Result
ask never refuses (refusal: null) red (FY1)
ask never auto-takes the Yes red (FY1)
legacyYesLands without the head-blob check red (FY2 changed draft)
legacyYes allows words beside the pick red (FY2 note)
legacyYes carries any class red (FY2 governance-edit)
legacyYes takes any pick red (FY2 Edit)
ownerAnswer never takes the legacy path red (FY2)
the re-ask warning not named red (FY3)
legacyYesLands without the merge-base check (return true) green: survives
  • Probes (a scratch test on the same fixture, merge --chore … --dry-run --approved); results under Findings.
  • CI at the head: test success, box-image success.

Regression check for questions that carry --recommendation: the only change on that path is the early return in ownerAnswer, which needs legacyYes, which needs an empty recommendation; askApprovalRecommendation returns the given recommendation untouched. I found no regression there.

Byte-for-byte matching: it compares git blob ids at the pinned commit and at the head (no working-tree filters), so whitespace, line endings and a draft edited after the ask all change the blob and are refused. I could not fool it.

Findings

Id Severity Rule Where Finding
F1 Important constitution.md §1 (the strategy, the Self and the exterior are the owner's; merge lands only what the owner's answer approves); the PR's own claim "approves only the draft" devteam.mjs YES_LABEL (/^\s*yes\b/i), used by askApprovalRecommendation and legacyYes A label that starts with "Yes" but says less than the draft is taken as a yes to the whole pinned draft. Probe, legacy path: options Both as drafted / Yes, but only the North star / Neither, owner picks Yes, but only the North star: merge --approved prints "it approves that draft" and would merge the full draft (North star and Values). Probe, new ask: the same options with no --recommendation: ask takes "Yes, but only the North star" as the recommendation, and the owner's pick of it lands the full draft. On the legacy path nobody recommended anything and the owner saw no recommended mark, so the kit alone decides the owner approved more than they picked. Wanted: take only an unqualified yes (for example "Yes", "Yes, add/approve/adopt … as drafted"; refuse a label with "but", "only", "except", "if", "after", "later", "not" and the like), on both paths, with a test.
F2 Important constitution.md §1; the kit's own rule elsewhere that only the owner's latest word counts (doorPickUndone, recurringRegistry.superseded) legacyYesLands / ownerAnswer A legacy Yes still lands after the owner answered the forced re-ask otherwise. Probe: legacy question answered Yes, add as drafted; the same draft asked again (with a recommendation, same pin); owner answers the re-ask Edit — drop the values; merge --approved <first q> still says "it approves that draft" and would merge. The legacy path exists for fleets where the kit already forced that re-ask, so an answered or open re-ask is the expected state there, and the owner's later, more specific answer is overridden by the earlier one. (An ordinary recommended answer has no such check either, but ask refuses re-asking it; here the kit made the re-ask.) Wanted: legacyYesLands is false once a later question of the same class pinning the same file is open, or answered other than its recommendation; with a test.
F3 Minor PR body and the legacyYes comment: "the owner's own pick" legacyYes, the unkeyed branch An answer the supervisor typed from chat counts. Probe: answer <q> "Yes, add as drafted" --from-chat --said "sure go ahead" run as the supervisor (channel chat, in_words: null) lands the draft. doorPick and ownerSaysYes exclude chat/thread for exactly this reason. A recommended question accepts the same answer today, so this widens nothing, but the words and the engine disagree; for a retroactive approval, excluding chat/thread would be the stricter and simpler rule.
F4 Minor quality.md §3 (a missing test) legacyYesLands, last line The merge-base check has no test: replacing it with return true leaves both new tests green.
F5 Minor docs agree with code supervisor.md §6 The new ask rule (refused without a recommendation in eight classes; the one "Yes…" choice taken as it) is in no doc; §6 still only says "always a recommendation". Nothing contradicts the engine, but a supervisor learns the rule only from the refusal.

Notes

  • A taken recommendation counts as trust evidence (trustEvidence reads q.recommendation): an owner's pick of the kit-chosen "Yes…" now counts as agreement with the supervisor's recommendation. Same as if the supervisor had given it; noted only.
  • merge's two earlier ownerAnswer calls (owner settings, kit files) pass no sha, so a legacy answer dies there with "not its recommendation (it has none)": fail closed, fine.
  • Not checked: a dashboard pick end to end, goal-change/merge-chore asks, a real fleet merge, the whole world-approval file locally (timeout under load; CI green).

Opened by the box operator.

Verdict: CHANGES a573d15

@hhff

hhff commented Dec 4, 2026

Copy link
Copy Markdown
Member Author

PR #972 review a1: a governance question's first Yes approves its draft

  • Reviewer: operator-review-a1 (fresh subagent, claude-opus-5-5), not the author
  • Head: a573d15
  • Date: 2026-12-04 03:00 UTC

What I ran vs only read

  • Read: the whole diff; ownerAnswer, questionView (label/labels/matched/in_words/hash), worldFileFails, askLine around the new call, the merge --approved one-use check, exteriorBase, linkAnswerCovers.yes, DECLINING_LABEL.
  • test/world-approval.test.mjs at the head: 24 pass, 0 fail (an earlier run at --file-timeout 600 timed out under box load with no test finished; rerun at 1500 s passed).
  • Mutation: ownerAnswer's legacy branch disabled (if (false && !v.matched && legacyYesLands(...))), run against the new tests: red (FY2/FY3 test fails, 7 pass / 1 fail). Restored after.
  • Probe (scratch test file in my clone, not committed): a hand-written legacy strategy-change question, options ["Yes, keep the current strategy", "Adopt the draft"], draft pinned; the owner picks "Yes, keep the current strategy"; merge --approved exits 0 and lands the draft, saying "the owner picked its one yes ... it approves that draft".
  • node -e check: DECLINING_LABEL never matches a label that YES_LABEL matches ("Yes, keep it as is", "Yes, hold off", "Yes — but don't add the values" all yes=true, declining=false).
  • CI at the head: test success, box-image success.
  • Not run: test/search.test.mjs (one-line test change, read only).

Findings

Id Severity Rule Where Finding
F1 Important constitution.md §1 (strategy, Self and exterior are owner_only: only the owner's yes to the draft approves it); quality.md §3 (real defect, plausible failure path) devteam.mjs askApprovalRecommendation and legacyYes: yes = labels.filter((l) => YES_LABEL.test(l) && !DECLINING_LABEL.test(l)) The declining exclusion is dead code: both regexes are anchored at the label's start, so any label starting "Yes" passes, whatever follows. A "Yes" that declines the draft ("Yes, keep the current strategy", "Yes, hold off", "Yes, leave it as is") is taken as the yes. On the legacy path an old answer like that now approves and lands the pinned draft the owner turned down (shown by the probe above). Before this PR it approved nothing. On the ask path the same label becomes the recommendation automatically, so the owner's "keep" pick is matched and lands the draft. The PR claims that a declining label is excluded, so the code doesn't do what the PR says. Fix: test what follows "Yes" (for example strip ^\s*yes\b[\s,.:;—–-]* and run DECLINING_LABEL and keep/leave/as-is words on the rest), or carry and auto-take only a bare "Yes" or "Yes, add/adopt/approve…". Add a test where a "Yes, keep the current …" pick is refused on both paths.

Notes

  • Minor: exteriorBase counts only matched === true exterior answers, so an exterior draft landed under a legacy Yes falls back to "the last commit that changed it on main" for its staleness base. That base is probably the same commit, but nothing says so.
  • Minor: the docs (process/supervisor.md §6, the ask section) don't mention that ask takes the one "Yes…" choice as the recommendation, or that it now refuses a world-file, governance or gate question that has no recommendation.
  • Minor: on the auto path, "Yes, … — " still matches (an existing rule: a note beside the recommendation keeps it matched), but the legacy path refuses a note. The two paths are inconsistent, though the auto path's behaviour is unchanged from an explicit --recommendation.
  • Checked and found sound: a draft changed after asking is refused (head blob must equal the pin, the pin must verify, and the question hash voids a rewritten question); two "Yes" choices are refused or not carried; a default never counts (answered_by owner only); a reading or in-words answer is excluded; other classes and goal set/goal order aren't carried (no sha is passed); the one-use check after ownerAnswer in merge is unchanged.
  • Not checked: the dashboard pick end to end, and chat --from-chat answers on legacy questions (by reading, an unkeyed answer must equal the label exactly).

Opened by the box operator.

Verdict: CHANGES a573d15

hhff and others added 3 commits December 4, 2026 03:02
main split test/world-approval.test.mjs into parts (kit-1204); this PR's two tests move to their own part, test/world-approval.first-yes.test.mjs, unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…atest word wins

- a1 F1 / b1 F1: a "Yes" label counts only when it approves the whole draft (approvingYes): a plain
  "Yes" or "Yes, add/adopt/land/approve/... as drafted" with no word that keeps, narrows or qualifies
  it. "Yes, keep the current strategy" and "Yes, but only the North star" are never taken as the
  recommendation by ask, and never carried as an earlier yes. ask refuses when any second choice
  starts with yes.
- b1 F2: an earlier yes approves nothing once a later question of its class about the same file is
  open or answered (legacyYesWhy names it), so the owner's latest word counts.
- b1 F3: a relay from chat or a thread is not the owner's own pick, so it carries nothing.
- b1 F4: a test for the merge-base check (main already has the draft).
- b1 F5 / a1 minor: supervisor.md §6 says the rule; exteriorBase counts a carried yes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@hhff

hhff commented Dec 5, 2026

Copy link
Copy Markdown
Member Author

a1 F1 / b1 F1 (Important): a "Yes" read by its prefix alone. Fixed in 01adf37.

The dead DECLINING_LABEL filter is gone. In its place, approvingYes(label) takes a label as a yes to the draft only when it is a plain "Yes", or "Yes, <add|adopt|land|approve|apply|accept|merge|use|take> …" with no word that keeps, narrows or qualifies it (YES_QUALIFIED: but, only, except, keep, leave, hold, later, not, don't, some, part, edit, drop, and the like). Both paths use it:

  • ask: a qualified "Yes…" is never taken as the recommendation, and ask refuses, naming --recommendation. When any second choice starts with yes, ask refuses too, even when only one of them is a whole-draft yes.
  • legacy: legacyYes requires the one yes-led choice to be approvingYes, so a pick of "Yes, keep the current strategy" or "Yes, but only the North star" approves nothing.

Tests: in test/world-approval.first-yes.test.mjs, FY1 covers keep, but only, and a plain yes beside a qualified one, and FY2 covers keep and but only. Mutations: M8 (any yes-led label approves) fails FY1 and FY2. M9 (ask ignores a second yes-led choice) fails FY1. M10 (the legacy path skips approvingYes) fails FY2.

Opened by the box operator.

@hhff

hhff commented Dec 5, 2026

Copy link
Copy Markdown
Member Author

b1 F2 (Important): a legacy Yes outlived the owner's later answer. Fixed in 01adf37.

legacyYesLands is now legacyYesWhy. An earlier yes approves nothing once a later question of its class that links the same file exists, open or answered, unless it was withdrawn. merge and check-pr refuse, naming the later question and its state, and say to cite it once the owner answers it as recommended. The owner's latest word wins, as with doorPickUndone.

Test FY4: the earlier Yes lands, then is refused while the re-ask is open, and stays refused after the owner answers the re-ask "Edit". Mutation M11 (no later-question check) fails FY4.

Opened by the box operator.

@hhff

hhff commented Dec 5, 2026

Copy link
Copy Markdown
Member Author

b1 F3 (Minor): a chat relay counted as the owner's pick. Fixed in 01adf37.

legacyYes now excludes answers on channel chat or thread, as doorPick and ownerSaysYes do. Test FY4: answer --from-chat --said on a legacy question carries nothing. Mutation M12 (chat counts) fails FY4.

Opened by the box operator.

@hhff

hhff commented Dec 5, 2026

Copy link
Copy Markdown
Member Author

b1 F4 (Minor): the merge-base check had no test. Fixed in 01adf37.

FY4 now covers it: main already has the pinned draft, and an earlier Yes on a chore carrying the same blob is refused. Mutation M13 (the check removed) fails FY4.

Opened by the box operator.

@hhff

hhff commented Dec 5, 2026

Copy link
Copy Markdown
Member Author

b1 F5 / a1 minors. Addressed in 01adf37.

  • Docs: process/supervisor.md §6 Rules now names the eight classes, ask's refusal without --recommendation, the whole-draft yes it takes, and how an older Yes is carried until a later question about the file.
  • exteriorBase: it now counts a carried yes (matched === true || legacyYes(v)), so an exterior draft landed under one keeps its own staleness base. There is no dedicated test; the PR body lists it under what wasn't tested.
  • A note beside the auto-taken Yes: unchanged. It still matches, exactly as a note beside an explicit --recommendation does today, so this PR adds nothing there. Refusing notes on every world-file answer would change the existing recommended path and could force new re-asks, so it is left for its own PR if wanted.

Also in this push: origin/main is merged in (no rebase). main split world-approval.test.mjs into parts, so this PR's tests now live in test/world-approval.first-yes.test.mjs.

Opened by the box operator.

@hhff

hhff commented Dec 5, 2026

Copy link
Copy Markdown
Member Author

PR #972 review c: approvingYes is a deny-list, and a qualified Yes outside it lands the whole draft

  • Reviewer: operator-review-c (fresh subagent, claude-opus-5-5), not the author
  • Head: 01adf37
  • Date: 2026-12-05T01:41Z

What I ran vs only read

  • Read the PR body, git diff origin/main...HEAD, and the code around it: ownerAnswer, worldFileFails (the pin and approves checks after ownerAnswer), cmdMerge's three ownerAnswer calls (only 11056 and worldFileFails pass sha, so goal set, goal order, link, recurring and the kit-file path never take a legacy yes), questionView (label, in_words, words, channel, matched, agreed_by_owner), askLine's world-file link pinning, exteriorBase, doorPick/doorPickUndone (the earlier rule this copies), and constitution §1 and quality.md §1 and §3.
  • approvingYes probe (I lifted the function and YES_QUALIFIED verbatim from the head into a scratch script). Each of these returns true, so it counts as a whole-draft yes: "Yes, add the North star", "Yes, adopt the North star, reject the Values", "Yes, accept the North star, discard the rest", "Yes, take the Values out", "Yes, adopt it provisionally", "Yes, add as a trial", "Yes, merge it next week", "Yes, use the older draft", "Yes, add as drafted (Values pending)". "Yes, add as drafted" is true, as it should be. "Yes, ádd" is false, a harmless miss.
  • Tests, one file at a time, through testslot with DEVTEAM_HUB_PORT pointed at a throwaway port and DEVTEAM_IMAGE_HUB unset: test/world-approval.first-yes.test.mjs 3/3 pass at the head.
  • Mutations, each run alone against the first-yes file and restored afterwards (git status clean apart from my scratch dir):
    • later-question rule counts only open questions (x.status === 'open'): red (FY4)
    • the chat/thread channel exclusion dropped from legacyYes: red (FY4)
    • the "pick is that yes" check (norm(v.label) !== norm(yes[0])) dropped: red (FY2)
  • CI at the head: test success, box-image success.

Findings

Id Severity Rule Where Finding
F1 Important constitution §1 (strategy row: merge lands a change only with the owner's strategy-change answer; the answer approves what it said yes to), quality.md §3 devteam.mjs approvingYes / YES_QUALIFIED, used by askApprovalRecommendation and legacyYes defect: approvingYes is a deny-list of qualifier words, and the PR's safety claim rests on it ("a choice that approves the whole draft … with no word that keeps, narrows or qualifies it"). Partial or conditional yeses that use words outside the list pass. Examples: "Yes, adopt the North star, reject the Values", "Yes, add the North star" (on a North star + Values draft, which is exactly mothership's shape), "Yes, take the Values out", "Yes, add as a trial". Two paths follow. (a) Legacy: an old recommendation-less pick of such a label used to approve nothing. Now merge --approved and check-pr --approved land the whole pinned blob, Values included, which the owner rejected in the very label they picked. That is an answer the owner never gave landing a change, on an owner-only file. (b) ask: the same label is auto-taken as the recommendation, and stderr tells the supervisor it approves "the draft this question links, and only that text". The kit is minting the binding, where before the supervisor had to write it. The existing DECLINING_LABEL gets away with a word list because the plan reviewer is a second check (its comment says so). Nothing reviews a world-file pick against its blob, so here the list is the only guard. Fix: make it an allow-list. Accept only a plain "Yes", or "Yes, <add/adopt/land/approve/apply/accept/merge/use/take> [it/them/this/these/the draft] [as drafted/as written/as is]" anchored to the end, and refuse everything else (ask names --recommendation; legacy carries nothing). Add FY1/FY2 cases for "reject" or "take … out" and "Yes, add the North star", plus a mutant that loosens the anchor.

Notes

  • Minor: the later-question rule orders by asked_at, not answered_at. Suppose question Q2 about the same file was asked before the legacy question Q1 but answered after it (say "Edit" or "No"). The owner's latest word is then Q2's answer, but Q1 still lands. It is the same ordering as doorPickUndone, and it still needs the head blob to equal Q1's pin, so it is narrow. It also only looks at same-class questions that link the file. A later clarification or chat correction about the strategy is not seen.
  • Minor: legacyYes accepts any channel except chat and thread, including null on old unstamped owner lines and channels the kit never writes. The job-change check at ~37765 refuses those (cli/dashboard/thread only). It matches doorPick, but an allow-list (cli, dashboard) would be tighter.
  • Minor: the askLikeWarnings legacy branch tells the supervisor to "withdraw this and cite it" without running legacyYesWhy. If a later question already exists, merge will refuse the cited one, so the advice is wrong in that case.
  • Minor: auto-taken recommendations count as the owner agreeing with the supervisor (agreed_by_owner) in the weekly "trusted" figures, though the supervisor recommended nothing. The ladder classes are unaffected: these are owner_only, or merge-chore, which is constitutional.
  • Minor: exteriorBase takes legacyYes(v) without the later-question check. It is bounded because the blob must equal main's.
  • Not checked: the dashboard pick end to end, unkeyed terminal answers on legacy questions, the goal-change and merge-chore auto path, and search.test.mjs / world-approval.asks (not run).

Opened by the box operator.

Verdict: CHANGES 01adf37

@hhff

hhff commented Dec 5, 2026

Copy link
Copy Markdown
Member Author

PR #972 review d: a "Yes…" that keeps the current text still counts as approving the draft

  • Reviewer: operator-review-d (fresh subagent, claude-opus-5-5), not the author
  • Head: 01adf37
  • Date: 2026-12-05 UTC

What I ran vs only read

  • Read: the PR body, git diff origin/main...HEAD, ownerAnswer, questionView (labels/label/in_words/channel), worldFileFails, cmdMerge's three ownerAnswer calls (only 8599 and 11056 pass sha; 10965 and 11030 still refuse a legacy answer, which is right), exteriorBase, askLine's recommendation handling, askLikeWarnings, goalChangeProblem, doorPick/ownerSaysYes (the precedents), supervisor.md §6 against the engine, constitution.md's strategy row.
  • test/world-approval.first-yes.test.mjs: 3/3 pass. test/search.test.mjs: 7/7 pass. (testslot, nice 19, hub port pointed away.)
  • Probe (a scratch copy of the new test, deleted afterwards): 'Yes, keep the current strategy' replaced with 'Yes, use the current strategy'. 2 of 3 fail: FY1 (ask is not refused; it takes "Yes, use the current strategy" as the recommendation) and FY2 (merge lands the draft on the owner's pick of "Yes, use the current strategy"). This is F1 below.
  • approvingYes on its own (the regexes copied out): true for "Yes, use the current strategy", "Yes, take the old version", "Yes, use the existing values", "Yes, apply the previous draft", "Yes, adopt the earlier version", "Yes, accept, revert the values". False for "Yes please", "Yes, apply these changes", "Yes, merge once CI passes".
  • Mutations, each run against the new file, then restored with git checkout:
    • MA, the chat/thread exclusion dropped from legacyYes: red (FY4, chat relay).
    • MB, the later check disabled: red (FY4, later open question).
    • MC, yesish.length === 1 dropped from askApprovalRecommendation: red (FY1, two yes choices).
  • CI at the head: test success, box-image success.

Findings

Id Severity Rule Where Finding
F1 Important constitution.md (the strategy, the Self and the exterior are the owner's: they land only with the owner's answer approving them); supervisor.md §6 as this PR words it ("approves the whole draft … with nothing that keeps, narrows or qualifies it") devteam.mjs approvingYes / YES_QUALIFIED, used by askApprovalRecommendation and legacyYes defect: the "keeps" guard is a blocklist of words, so a synonym gets past it. keep is caught, but "use the current", "take the old", "apply the previous", "adopt the earlier" and "accept, revert …" all count as approving. Ask path: --options "Yes, use the current strategy" "Adopt the draft" with no --recommendation makes the decline the recommendation (only a stderr line says so). The owner's pick of it then matches, and merge lands the draft they declined. Legacy path (existing fleets): an old answered question whose one yes-led choice was such a decline now lands its pinned draft. Before this PR, both approved nothing. Shown by the probe above. Fix: accept only a closed set (a plain "Yes", or a yes-led label that names the draft, e.g. "as drafted", "the draft", "this version"), or for the auto-take, refuse anything but a plain "Yes" / "Yes, … as drafted". Either way, add the probe's labels as FY1/FY2 cases.

Notes

  • Minor: the kit still prints ask commands that ask now refuses. strategy-unwritten's next step (devteam.mjs ~22596) is ask --class strategy-change --from <id>, and re-plan-or-change-measure (~23821) is ask --class goal-change … --question "…"; neither has --recommendation. A supervisor who follows them hits the new refusal. Add --recommendation to both.
  • Minor: false negatives still force re-asks, which is what the PR is meant to stop. "Yes please", "Yes, apply these changes" and "Yes, merge once CI passes" are not carried. legacyYesWhy also voids an earlier yes once there is any later question of the same class that links the file, even one about another chore's draft. Both err safe, but §6 says only "until a later question about the file".
  • Minor, docs vs engine in §6: the new sentence doesn't say that the legacy carry covers only the strategy, the Self and the exterior (it reads as covering all eight classes it lists), or that it stops once main's merge base has the draft. Also, askApprovalRecommendation skips whenever --secrets is given (flags.secrets !== undefined, so '[]' too), and §6 doesn't say so. I did not check whether ask accepts --secrets '[]' on a strategy-change.
  • Minor: ask's check that refuses "approves": true on the recommendation's own choice (~12035) reads flagStr('recommendation') before the auto-take. So a "Yes…" choice marked approves:true that then becomes the auto-recommendation is not refused.
  • Not checked: exteriorBase taking legacyYes without legacyYesWhy's later-question and landed-blob checks (the PR also says it is untested). The full suite (CI is green). Real fleet logs for legacy questions whose single yes-led choice is a decline (I did not read ~/code/*).

Opened by the box operator.

Verdict: CHANGES 01adf37

hhff and others added 2 commits December 5, 2026 01:46
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…owner's latest word by answer time

- c F1 / d F1: approvingYes is an allowlist, not a list of words to refuse: a plain "Yes", or
  "Yes, <add|adopt|land|approve|apply|merge> [it|them|the draft|this version] [as drafted]" with
  nothing after it. "Yes, use the current strategy", "Yes, take the old version", "Yes, adopt the
  North star, reject the Values", "Yes, add the North star", "Yes, add as a trial" and "Yes, merge it
  next week" are refused by ask and carried by nothing (FY1, FY2).
- The later-question rule orders by when the owner answered (asked, while open): ownerWordAt.
- exteriorBase counts an earlier yes only while legacyYesLater finds nothing and its pin verifies
  (new part test/world-approval.first-yes-exterior.test.mjs).
- ask's "approves": true check compares against the recommendation ask will take (autoApprovalYes).
- The strategy-unwritten and re-plan-or-change-measure hints carry --recommendation.
- supervisor.md §6: carry-over only for the strategy, the Self and the exterior; it ends once main's
  merge base has the draft; the --secrets skip.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@hhff

hhff commented Dec 5, 2026

Copy link
Copy Markdown
Member Author

Reviews c and d at 01adf37: answered in 04e9969.

c F1 / d F1 (Important): approvingYes was a list of words to refuse.
It is now a closed allowlist (YES_WHOLE): a plain "Yes", or "Yes, <add|adopt|land|approve|apply|merge> [it|them|the draft|this version] [as drafted]", anchored at the end. Every other label is refused: ask names --recommendation, and the legacy path carries nothing.

  • FY1 and FY2 now cover all six labels from the reviews: "Yes, use the current strategy", "Yes, take the old version", "Yes, adopt the North star, reject the Values", "Yes, add the North star", "Yes, add as a trial", "Yes, merge it next week".
  • FY1 also checks that "Yes", "Yes, land it as drafted" and "Yes — adopt the draft" are still taken.
  • Mutations:
    • N1, any yes-led label approves: fails FY1 and FY2.
    • N2, the end anchor dropped: fails FY1 and FY2.
    • N3, the legacy path skips the allowlist: fails FY2.

Minors

  • Hints (d): the strategy-unwritten next step now reads ask --class strategy-change --from <id> --links <the draft> --options "Yes, add as drafted" "Edit" --recommendation "Yes, add as drafted", and the re-plan-or-change-measure command carries --recommendation "…". No test pins either string.
  • supervisor.md §6 (d): it now says that the carry-over covers only the strategy, the Self and the exterior, and that the other five classes ask again and tell the owner why. It says an earlier yes stops once a later question supersedes it or main's merge base has the draft. It also says ask doesn't require a recommendation on a --secrets question.
  • "approves": true (d): the check now compares against the recommendation ask will take (autoApprovalYes, the auto-take with no side effects). It can't be reached today, because ask refuses "approves" on any question that isn't a one-way door and the auto-take covers only owner-decisions, so it can't be mutation-tested.
  • exteriorBase (c, d): it counts an earlier yes only while legacyYesLater finds nothing and its pin verifies here. The pin's blob is main's by construction, so the landed check holds by definition. New part test/world-approval.first-yes-exterior.test.mjs (FYX). Mutations: N6, no later check, fails FYX; N7, no carry at all, fails FYX.
  • Ordering (c): the later-question rule orders by ownerWordAt (answered_at, or asked_at while open). FY4 now covers a question asked before the Yes and answered "Edit" after it. Mutations: N4, ordering by asked_at, fails FY4; N5, no later rule, fails FY4.

Not taken, from c's notes: an allowlist of channels (it matches doorPick today), running legacyYesWhy in the warning for similar questions, and the effect on agreed_by_owner trust counts.

Local, one file at a time: first-yes 3/3, first-yes-exterior 1/1, world-approval.asks 5/5. origin/main is merged in (6a4f37c), with no rebase.

Opened by the box operator.

@hhff

hhff commented Dec 5, 2026

Copy link
Copy Markdown
Member Author

PR #972 review e: a "Yes" choice whose detail narrows the draft still approves the whole draft

  • Reviewer: operator-review-e (fresh subagent, claude-opus-5-5), not the author
  • Head: 04e9969
  • Date: 2026-12-05T03:08Z

What I ran vs only read

  • Read the diff and the code around it: worldFileFails, ownerAnswer (all six callers, including the three that pass no sha), questionView (labels, keyed and unkeyed answers, in_words), askLine (where the world-file links are pinned, --secrets, the order of the refusal), askLikeWarnings, exteriorBase, cmdMerge, and the channel enum in log.schema.json.
  • Ran YES_WHOLE in node against about 30 labels. Every label it accepts is a plain whole-draft yes: "Yes", "yes.", "YES!", "Yes, merge it.", "Yes — adopt the draft", "Yes – add", "Yes - add", "Yes, Merge It", "yes,merge". The only oddity is "Yesadd", which is harmless. It refuses "Yes, merge it next week", "Yes, merge it?", "Yes…", "Yes...", "Yes!!", "Yes, add “as drafted”", "Yes, add as-drafted", "Yes, add it as drafted, later", a label with a trailing U+200B, and "Yes, "merge it"". /i without /u lets no non-ASCII letter fold into y, e or s. The ^ and $ anchors leave room only for whitespace around the label, so no hidden text can ride along with it.
  • test/world-approval.first-yes.test.mjs via testslot (600 s file timeout): timed out before its first test ended, with the box's CPU 70% busy. This is box load, not a red result.
  • A probe test of my own (test/zz-probe-972e.test.mjs in my clone, now deleted), using the PR's fixture lib: 1/1 ran, and the output is quoted under F1.
  • Mutations: none of my own. The box was too loaded, since one file run already timed out. I did not repeat the author's M1-M13 and N1-N7.
  • CI at the head: test success, box-image success.

Findings

Id Severity Rule Where Finding
F1 Critical constitution.md §1 (the strategy, Self and exterior are the owner's; merge lands a change only with the owner's answer); PR body fix 1/2 ("that choice approves the whole draft") devteam.mjs legacyYes, autoApprovalYes/askApprovalRecommendation defect: the whole-draft check reads only the choice's label and never its detail, which questions shows beside it (devteam.mjs:17956). So {"label":"Yes","detail":"adds only the North star; the Values stay out"} passes as a whole-draft yes. Legacy path (the widening): I hand-wrote a recommendation-less strategy-change question with that choice and a pinned draft holding both the North star and a Value, and the owner picked Yes. merge --chore ns --approved <q> --dry-run printed "carries no recommendation … it approves that draft" and "ok: chore-ns … would merge". On main the same answer approves nothing. With this PR it lands the Value the owner was told stays out. That is a change the owner never approved. Ask path: the same choices given to ask with no --recommendation print ""Yes" is taken as it … approves the draft this question links". The owner's pick then merges (dry run ok). A re-ask also tells the supervisor to "withdraw this and cite" the legacy answer. This is the "Yes, but only the North star" case with the qualifier moved into detail, which the allowlist was meant to stop. Fix: the Yes choice qualifies only when it has no detail (and no effect), or when that text also passes a closed check. Apply this in legacyYes and autoApprovalYes, and add FY1/FY2 cases.

Notes

  • Minor: the "(unless it gathers --secrets)" skip in autoApprovalYes/askApprovalRecommendation can never run. ask refuses --secrets on any kind but owner-action, and the rule covers only owner-decision. Harmless, but supervisor.md now describes an exception that can't happen.
  • Minor: legacyYesLater counts only later questions of the same class that link the file. A later strategy-class question, or one that doesn't link the file, doesn't void an earlier yes. ask forces a link on a world-file question of any kind in these classes, so this is narrow.
  • Minor (not new): the question text or a pronoun ("Yes, add it", where the question says "it" is only the North star) can narrow a whole-draft label in the same way. That is equally true of an explicit --recommendation on main, because the pinned blob decides what lands. The legacy path applies it after the fact, though.
  • Later-question ordering checked by reading: ownerWordAt is answered_at, else asked_at. ISO-ms strings compare in time order, and withdrawn questions are left out. A question asked before the yes and still open doesn't void it, and that matches the PR body. exteriorBase accepts an earlier yes only when its pin verifies on mainRoot and legacyYesLater is null. The three ownerAnswer callers that pass no sha (owner settings, kit files, goal set/order) never take a legacy yes, so a legacy answer can't approve kit files or settings.
  • Channel: the ['chat','thread'] denylist is complete, because the schema enum is closed (cli, dashboard, chat, thread).
  • I couldn't check: the PR's own test files on this box, since the first-yes file timed out from load (CI is green). I applied no mutations.

Opened by the box operator.

Verdict: CHANGES 04e9969

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@hhff

hhff commented Dec 5, 2026

Copy link
Copy Markdown
Member Author

PR #972 review f: a governance question's first Yes approves its draft

  • Reviewer: operator-review-f (fresh subagent, claude-opus-5-5), not the author
  • Head: 04e9969
  • Date: 2026-12-05T03:45Z

What I ran vs only read

  • Read: the PR body; git diff origin/main...HEAD in full; ownerAnswer, questionView (labels, label, in_words, words, channel, matched), askLine (kind default, the order of its checks, --link-change, --order, --remediations, ownCall/silenceNeverYes/wantsDefault), askLikeWarnings, worldFileFails, exteriorBase, cmdMerge's --approved path, and cmdAnswer's writer guards. I also grepped every ask --class … hint in devteam.mjs and every example in docs/ for the eight classes that now need a recommendation.
  • Box load was about 78 on 32 cores. Every run went through testslot with the hub env pointed away (DEVTEAM_HUB_PORT=59731, DEVTEAM_IMAGE_HUB unset).
    • world-approval.first-yes-exterior: 1/1 ok.
    • world-approval.first-yes: the first run timed out at the 600 s file timeout while two copies ran at once (mine and another reviewer's), with no test finished, so it says nothing about the code. The mutation run below (with --file-timeout 1400) passed tests 1 and 3 unchanged.
  • Probe, a throwaway test file in my clone that has since been removed:
    • P1, the new strategy-unwritten hint filled in (--links, --options "Yes, add as drafted" "Edit" --recommendation "Yes, add as drafted", plus a --question): ask accepts it, exit 0.
    • P3, the refusal's suggestion --kind clarification with no recommendation: accepted for governance-edit (with and without --reasons owner-only) and for process-edit, exit 0. The suggestion is real.
    • P4, a governance-edit owner-decision with no choices and no recommendation: refused, exit 1, naming --recommendation.
    • P6, auto-take: "Yes, add as drafted" is taken as the recommendation and said on stderr.
  • Mutations, each restored afterwards. The clone was verified clean against the head.
    • M-a: exteriorBase counts only matched (drops carried(v)). first-yes-exterior went red at FYX, "the owner's earlier Yes … is the base".
    • M-b: legacyYes drops the approvingYes(yes[0]) check. first-yes went red at test 2, FY2 "Yes, keep the current strategy" approves nothing. Tests 1 and 3 still passed (2 pass, 1 fail).
  • CI at the head: test success, box-image success.

Findings

Id Severity Rule Where Finding
F1 Minor supervisor.md §6 (tell the owner why you ask again) devteam.mjs askLikeWarnings, the new third branch other: the warning "this question asks again only for that reason, so tell the owner so" fires for any similar earlier recommendation-less answer in these classes, whatever the owner answered. When they answered "Edit" or a no, that reason is false, and the supervisor is told to word a re-ask of a declined call as a mere formality. Condition it on the earlier answer starting with yes (YES_LABEL.test(c.d.q.label ?? '')).
F2 Minor supervisor.md §6 (always a recommendation) devteam.mjs:7403; supervisor.md:105, :271 other: three abbreviated ask --class governance-edit --remediations … and ask --class merge-chore --approves chore-<slug> … commands still show no --recommendation. ask now refuses those classes without one unless a whole-draft Yes choice is present. They are elided with … (not complete commands), so this is wording, but adding --recommendation "Yes" would match the two hints this PR fixed.
F3 Minor docs agree with code (brief) supervisor.md §6, the legacy sentence contradicts: the engine's legacyYesLater ignores a withdrawn later question, and voids the earlier yes on a question asked before the yes but answered after it. §6 says "a later question" that the owner "answers, or is asked". That is close, but it doesn't say that withdrawn questions don't count or that answer time decides. One clause would make it exact.

Notes

  • Regressions for existing fleets:
    • No approval that passes on main fails here. The legacy path runs only when !v.matched, and only adds acceptance. Its new later refusal fires only on answers that main already refused.
    • exteriorBase only adds pins (checked by M-a).
    • The new ask refusal happens at ask time, before the owner sees anything, so it forces no re-ask on the owner. It makes the supervisor add a flag, and the refusal names the flag.
    • Open recommendation-less questions in the five non-world classes still approve nothing once answered. That is unchanged from main, and the new warning makes the supervisor say why it asks again.
    • As the PR says, the exact mothership case (draft edited after the ask) is not carried.
  • §6 against the engine: the class list (8), the owner-decision-only scope, the --secrets exemption, the closed Yes list, "exactly one choice starts with Yes", the chat/thread exclusion, no words beside the pick, byte-for-byte pin, and the merge-base condition all match. F3 is the only gap.
  • Hints: the strategy-unwritten hint has no --reasons owner-only and no --question, and its <the draft> stands for a JSON link. With a --question added, ask accepts it (P1). The goal-change hint is read, not run.
  • Governance: no authority widened beyond the claim. The owner still picks. A recommendation-less pick is carried only for the strategy, the Self and the exterior, only for their own pick, and only for the pinned blob. A note beside an auto-taken recommendation still matches, as it does for any recommendation today. That isn't new.
  • Not checked: search.test.mjs and world-approval.asks locally (CI green); a dashboard pick end to end; a clean local run of first-yes (CI green, and tests 1 and 3 passed under M-b).

Opened by the box operator.

Verdict: APPROVE 04e9969

hhff and others added 2 commits December 5, 2026 05:16
- E F1 (Critical): a choice is a yes to the whole draft only when its label passes the closed list
  and its detail and effect are empty or say only "adds it as drafted" and the like
  (wholeDraftYes, YES_WHOLE_DETAIL), on both paths: ask's auto-recommendation (autoApprovalYes)
  and an earlier answer (legacyYes). FY1/FY2 cover a narrowing detail, a narrowing effect and a
  detail that puts it off; a detail that only restates the draft is still taken.
- E minor: the --secrets skip could never run (ask takes --secrets only on owner-action): removed,
  with its words in supervisor.md §6.
- F F1: askLikeWarnings' "asks again only for that reason" fires only after a yes (FY3).
- F F2: the remediations hint and supervisor.md's governance-edit and merge-chore examples carry
  --recommendation.
- F F3: supervisor.md §6 says a withdrawn later question is ignored, and one asked before the yes but
  answered after it voids it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@hhff

hhff commented Dec 5, 2026

Copy link
Copy Markdown
Member Author

Final E (04e9969) and final F's Minors: answered in b348fec. Head f5d1d72, with origin/main merged in and no rebase.

E F1 (Critical): only the label was checked.
A choice now counts as a yes to the whole draft only if two things hold:

  • its label passes the closed list;
  • its detail and effect are empty, or pass the same kind of closed check: "[adds|adopts|lands|approves|applies|merges] [it|them|the draft|this version] [as drafted]" with nothing after it (wholeDraftYes, YES_WHOLE_DETAIL).

Both paths use it: ask's auto-recommendation (autoApprovalYes) and an earlier answer (legacyYes). When ask refuses for this reason, it says the detail or effect says more than a yes to the whole draft.

  • FY1 and FY2 cover three choices:
    • {"label":"Yes","detail":"adds only the North star; the Values stay out"}
    • {"label":"Yes, add as drafted","effect":"users see the North star only"}
    • {"label":"Yes","detail":"adds it as drafted, next week"}
  • Both paths refuse all three. A "Yes" whose detail is "Adds them as drafted." is still taken by ask, and its earlier answer still lands.
  • Mutations:
    • D1, detail and effect ignored: fails FY1 and FY2.
    • D2, the legacy path checks the label only: fails FY2.
    • D3, ask's auto-take checks the label only: fails FY1.
    • D4, the effect ignored: fails FY1 and FY2.

E Minor, the --secrets skip: removed from autoApprovalYes and askApprovalRecommendation, together with its words in supervisor.md §6.

F F1: the warning's "this question asks again only for that reason" branch now fires only when the earlier answer starts with yes. FY3 has a governance-edit question with no recommendation: after a Yes the warning says it, and after an Edit the earlier question is still named but the sentence never appears. Mutation D5, the branch firing after any answer, fails FY3.

F F2: --recommendation is added to the remediations hint in devteam.mjs, and to supervisor.md's governance-edit remediation example and merge-chore example.

F F3: supervisor.md §6 now says a withdrawn later question is ignored, and a question asked before the yes but answered after it voids the yes.

Local, one file at a time: first-yes 3/3, first-yes-exterior 1/1 (before the merge with main; legacyYes changed only by the detail check), world-approval.asks 5/5.

Opened by the box operator.

@hhff

hhff commented Dec 5, 2026

Copy link
Copy Markdown
Member Author

PR #972 review h: a bare "Yes" is read as a yes to the draft whatever the question asked

  • Reviewer: operator-review-h (fresh subagent, claude-opus-5-5), not the author
  • Head: f5d1d72
  • Date: 2026-12-05T06:28Z

What I ran vs only read

  • Read: the PR body, git diff origin/main...HEAD, questionView, ownerAnswer, worldFileFails, exteriorBase, cmdAnswer's set line, the dashboard answer action, doorPick, the choices schema, quality.md §1/§3 and constitution.md §1.
  • Probe (a scratch test in my clone using test/lib/kit-1204-world-approval.mjs; hub port pointed away; deleted afterwards), run through testslot. Results:
    • P1 legacy question "Keep the current strategy rather than the linked draft?", options Yes / No, adopt the draft, owner picks Yes on the card: merge --dry-run passes ("…the owner picked its one yes, "Yes"… it approves that draft", "would merge").
    • P2 legacy question with context "Yes adds only the North star; the Values stay out until next quarter.", options Yes / Edit, owner picks Yes: lands the whole draft.
    • P3 a new ask of the P1 question with no --recommendation: ask auto-takes "Yes" (stderr only), owner picks Yes: merge passes.
    • P4 choices plus options on one question (card draws only choices): lands, as expected.
    • P5 unkeyed terminal yes : lands, as expected. P6 pick Yes plus --rule "only ever add the North star, never the Values": lands (see Notes).
    • P7 detail adds it as drafted (NBSP): lands, harmless. P8 detail with a zero-width space: refused. P9 choices Yes and yes (with a narrowing detail): refused.
  • test/world-approval.first-yes.test.mjs at the head: 3/3 pass (--file-timeout 1500; other runs of this file on the box took 615–760 s).
  • Mutation: legacyYes's relay exclusion ['chat', 'thread'] → ['chat'] (a thread relay counts as the owner's own pick): first-yes stays green, 3/3. Restored and confirmed with git status.
  • CI at the head: test success, box-image success.

Findings

Id Severity Rule Where Finding
F1 Critical constitution.md §1, "The strategy" row (lands only with the owner's strategy-change answer); also the Self and the exterior rows devteam.mjs YES_WHOLE / approvingYes, used by autoApprovalYes and legacyYes defect: a bare "Yes" (and the verb forms with no object) is accepted as "a yes to the whole draft", but a bare Yes means only "yes to the question as worded". The closed lists check the label, detail and effect, never the question or its context. Probes P1 and P3: on "Keep the current strategy rather than the linked draft?" (options Yes / No, adopt the draft), the owner's Yes, which keeps the current strategy, lands the draft through both the legacy path and ask's auto-take. P2: a context that narrows the Yes is ignored as well. Before this PR such an answer approved nothing. Suggested fix: never auto-take or carry a bare "Yes" (or a verb with no object). Take only a label that itself names the act on the draft ("Yes, add as drafted", "Yes, adopt the draft"…). A bare Yes then needs an explicit --recommendation, which is the supervisor's own assertion. The mothership case ("Yes, add as drafted") is still carried.
F2 Minor quality.md §3 (mutate; a test must go red) devteam.mjs legacyYes; test/world-approval.first-yes.test.mjs FY4 coverage: only a chat relay is tested. Dropping 'thread' from the exclusion leaves the file green, so a thread relay counted as the owner's own pick would go unnoticed.

Notes

  • No new forced re-ask: ask refuses at ask time, before the owner sees anything. Open recommendation-less world-file questions answered after the upgrade are still carried. The other classes behave as on main. Gap that remains (pre-existing, Minor): --kind proposal or clarification in these eight classes is still accepted without a recommendation, and its Yes approves nothing. operator.md lists proposal questions of class strategy-change, so that re-ask source is still open.
  • owner_said is the owner's earlier words that prompted the question, not part of the answer. The pick is checked on its own, so no hole there.
  • Dashboard pick path: a pick plus a note goes as --choice with words after --, so words is non-empty and it is refused. An older page without a choice key needs the exact label. Both are fine.
  • P6: a --rule beside the Yes pick isn't treated as words beside it. The rule is a separate preference record (it authorises only owner_rules classes), so this is Minor at most, and the same as the matched path on main.
  • Not checked: check-pr for P1/P3 (merge only); a real dashboard POST end to end; the exterior-staleness path with an inverted question (exteriorBase uses the same legacyYes, so F1 applies there too).

Opened by the box operator.

Verdict: CHANGES f5d1d72

hhff and others added 3 commits December 5, 2026 06:30
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…roves it

- H F1 (Critical): a bare "Yes" (or "Yes, add", "Yes, add it") answers the question as worded, which
  may be "keep the current strategy rather than the draft?", so it is never taken as a yes to the
  draft: YES_WHOLE now takes only "Yes, <add|adopt|land|approve|apply|merge> [it|them] as drafted"
  or "Yes, <verb> the draft|this version [as drafted]". A bare Yes needs the supervisor's own
  --recommendation, as on main. Mothership's "Yes, add as drafted" still carries. Both paths and the
  exterior staleness base: FY1 (inverted question, narrowing context, verb alone, pronoun alone), FY2
  (inverted question), FYX (inverted exterior question). search.test's bare-Yes governance-edit ask
  gives --recommendation.
- H F2: FY4 covers a thread relay (--from-turn), not only chat.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@hhff

hhff commented Dec 5, 2026

Copy link
Copy Markdown
Member Author

Final H (f5d1d72): answered in b6e743e. Head 04235e9, with origin/main merged in and no rebase.

H F1 (Critical): a bare "Yes" never read the question.
YES_WHOLE now takes only a label that names the act on the draft:

  • "Yes, <add|adopt|land|approve|apply|merge> [it|them] as drafted", or
  • "Yes, the draft|this version [as drafted]",

with nothing after it, and with detail and effect checked as before. A bare "Yes", or a verb alone ("Yes, add", "Yes, add it"), answers the question as worded. So it is never auto-taken by ask, never carried as an earlier answer, and never an exterior staleness base. A bare Yes needs the supervisor's own --recommendation, as on main. Mothership's "Yes, add as drafted" still carries (FY2).

Tests:

  • FY1 refuses each of these:
    • "Keep the current strategy rather than the linked draft?" with Yes / "No, adopt the draft";
    • a bare Yes with --context "Yes adds only the North star; the Values stay out.";
    • "Yes, add";
    • "Yes, add it".
  • FY2: the inverted question's bare Yes lands nothing at merge.
  • FYX: a bare Yes to "Keep the earlier exterior rather than the linked draft?" is no staleness base.
  • search.test.mjs: its governance-edit ask with Yes/No choices now gives --recommendation Yes.

Mutations:

  • H1, a bare Yes counts as approving: fails FY1 and FY2 on the inverted question, and FYX.
  • H2, a verb with no object counts: fails FY1.

H F2 (Minor): FY4 now relays the owner's thread turn (answer --from-turn, after the supervisor names the question in the thread) and checks that merge refuses it. Mutation H3, dropping 'thread' from the exclusion, fails FY4.

Minor, --kind proposal/clarification: listed in the PR body as a known gap, unchanged from main. Requiring a recommendation on those kinds would change how proposals are asked, which belongs in its own PR.

Local, one file at a time: first-yes 3/3, first-yes-exterior 1/1, search 7/7.

Opened by the box operator.

@hhff

hhff commented Dec 5, 2026

Copy link
Copy Markdown
Member Author

PR #972 review j: "Yes, approve this version" is on the allowlist, but "this version" means whatever the question calls it

  • Reviewer: operator-review-j (fresh subagent, claude-opus-5-5), not the author
  • Head: 04235e9
  • Date: 2026-12-05 UTC

What I ran vs only read

  • Read: the PR body and every comment (reviews a1, b1, c, d, e, f, h and the author's replies), git diff origin/main...HEAD, YES_WHOLE/YES_WHOLE_DETAIL/wholeDraftYes/autoApprovalYes/askApprovalRecommendation/legacyYes/legacyYesLater/legacyYesWhy, ownerAnswer and its callers (cmdMerge's kit and --approved paths, worldFileFails), exteriorBase, questionView, the choices schema (label/detail/effect/approves only), the answer channels (chat, thread, dashboard, terminal), supervisor.md §6, quality.md §1/§3.
  • test/world-approval.first-yes.test.mjs at the head (testslot, --file-timeout 1500, hub port pointed away): 3/3 pass (1000 s).
  • Probe (a scratch test in my clone on test/lib/kit-1204-world-approval.mjs; deleted after): a strategy-change question with no recommendation, the owner's own answer --choice pick, merge --dry-run --approved and check-pr --approved:
    • P1 legacy: "Keep this version of the strategy (the one on main today) rather than the linked draft?", options "Yes, approve this version" / "No, adopt the draft". The owner's "Yes, approve this version" (keep main's) lands the draft: merge 0, check-pr 0, merge says "it approves that draft".
    • P1 ask path: the same question through ask with no --recommendation: ask auto-takes "Yes, approve this version" as the recommendation; the owner's pick of it lands the draft (merge 0, check-pr 0).
    • P2 "Yes, approve it as drafted" on "The strategy on main was drafted by you in March. Keep it rather than the linked draft?": lands (0/0).
    • P3 "Yes, add them as drafted" on "Add these two Values to the strategy? The North star change in the same draft waits for its own question." (the pin holds the whole file): lands the whole file (0/0).
    • P4 mothership, "Yes, add as drafted" / "Edit", question "Add this North star and Values to the strategy? Yes adds them as drafted; Edit with your changes.": lands (0/0). The mothership case still carries (FY1/FY2 cover it too).
  • Mutation: approvingYes also accepts a bare "Yes" (H1 restated): first-yes red, 2 fail (FY1 and FY2 on the inverted question). Restored, git status clean of tracked changes.
  • CI at the head: test success, box-image success.

Findings

Id Severity Rule Where Finding
F1 Critical constitution.md §1, "The strategy" row (lands only with the owner's strategy-change answer to that text); the Self and exterior rows the same devteam.mjs YES_WHOLE (\s+(?:the draft|this version)), used by autoApprovalYes, legacyYes and so exteriorBase defect: the allowlist takes "Yes, this version" as naming the act on the draft, but "this version" is deictic: the question sets what it points at, exactly as a bare "Yes" answers the question as worded (h F1). Probe P1: on "Keep this version (the one on main today) rather than the linked draft?", the owner's "Yes, approve this version", which keeps main's strategy, lands the draft through the legacy path at merge and check-pr, and ask auto-takes it as the recommendation so a new question does the same. On main both approve nothing. This is the fifth way: a label the owner did not give as a yes to the draft still lands it. Fix: drop this version from YES_WHOLE (keep only forms that name the draft: "as drafted", "the draft"), and turn FY1's "Yes, land this version" from taken into refused, with the inverted "this version" question in FY1/FY2. Note supervisor.md's own idiom "Approve this version of the Self?" uses "this version" for the draft, which is why it looks safe, but nothing ties it to the draft in the label.

Notes

  • Minor (same family, weaker): the pronouns "it"/"them" also take their referent from the question. "as drafted" mostly pins them to the draft, so P2 needs a contrived question; P3 shows a question that scopes "them" to part of the draft while the pin, and so the merge, is the whole file. That narrowing-by-question-text is the same on main's matched path, so I don't count it against this PR, but the PR body's "names the act on the draft" holds only for "as drafted"/"the draft". Consider requiring "as drafted" or "the draft" in every taken label.
  • The mothership case ("Yes, add as drafted", no detail, owner's own pick, unchanged draft) carries at merge and check-pr; I confirmed it in P4 and in FY1/FY2.
  • Checked and found sound: the channel exclusion (only chat/thread relay; dashboard and terminal are the owner's own), words beside the pick, the detail/effect closed list (choices carry no other shown field), more than one yes-led label, the later-word rule, the merge-base check, ownerAnswer without sha (kit files, goal set) never taking the legacy path.
  • Pre-existing, not this PR: an --approved strategy-change answer also covers non-kit files outside project/ in the same chore (legacy and matched alike).
  • Not run: world-approval.first-yes-exterior, search (CI green on both); a dashboard pick end to end.

Opened by the box operator.

Verdict: CHANGES 04235e9

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
hhff and others added 2 commits December 5, 2026 08:47
- J F1 (Critical): "this version", "it" and "them" take their meaning from the question ("Keep this
  version of the strategy (main's) rather than the linked draft?"), so YES_WHOLE takes only "Yes,
  <add|adopt|land|approve|apply|merge> as drafted" or "Yes, <verb> the draft [as drafted]";
  YES_WHOLE_DETAIL the same. Mothership's "Yes, add as drafted" still carries. FY1, FY2 and FYX
  refuse the inverted "this version" question; FY1/FY2 refuse "Yes, land this version" and
  "Yes, add them as drafted".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@hhff

hhff commented Dec 5, 2026

Copy link
Copy Markdown
Member Author

Final J (04235e9): answered in 18cbe7f. Head 00d66c8, with origin/main merged in and no rebase.

J F1 (Critical): "this version", "it" and "them" take their meaning from the question.
YES_WHOLE now takes only words that name the draft itself:

  • "Yes, <add|adopt|land|approve|apply|merge> as drafted", or
  • "Yes, the draft [as drafted]",

with nothing after it. YES_WHOLE_DETAIL is narrowed the same way: "[adds|…|merges] [the draft] [as drafted]". "This version", "it" and "them" never count. A supervisor who means them gives --recommendation. Mothership's "Yes, add as drafted" still carries.

Tests:

  • FY1 refuses each of these:
    • "Yes, approve this version" / "No, adopt the draft" on "Keep this version of the strategy (main's) rather than the linked draft?";
    • "Yes, land this version";
    • "Yes, add them as drafted";
    • "Yes, land it as drafted".
  • FY1 still takes "Yes, merge the draft as drafted", "Yes, land as drafted" and "Yes — adopt the draft".
  • FY2 lands nothing for "Yes, approve this version" on the inverted question, or for "Yes, add them as drafted" on "Add the two Values (not the North star) to the strategy?".
  • FYX: "Yes, approve this version" on "Keep this version of the exterior (main's) rather than the linked draft?" is no staleness base.

Mutations:

  • J1, "this version" allowed again: fails FY1 and FY2.
  • J1x, the same against the exterior part: fails FYX.
  • J2, "it"/"them" allowed again: fails FY1 and FY2.

supervisor.md §6 and ask's refusal now say that a bare Yes, "this version", "it" or "them" take their meaning from the question.

Local, one file at a time: first-yes 3/3, first-yes-exterior 1/1.

Opened by the box operator.

@hhff

hhff commented Dec 5, 2026

Copy link
Copy Markdown
Member Author

PR #972 review K: a "Yes, add as drafted" pick lands the whole draft even when the question says Yes adds only part of it

  • Reviewer: operator-review-K (fresh subagent, claude-opus-5-5), not the author
  • Head: 00d66c8
  • Date: 2026-12-05T09:50Z

What I ran vs only read

  • Read the full diff, ownerAnswer, questionView (how matched, label, in_words, words and channel are built), worldFileFails, exteriorBase, ask's link pinning, ownerWriter/ownerChannel, the owner_only and ladder lists in constitution.md, quality.md §1/§3, and the supervisor.md §6 text. Read earlier reviews a1, b1, c, d, e, f, h and j for context.
  • test/world-approval.first-yes.test.mjs at the head: 3/3 pass (394 s).
  • A probe test of my own (a scratch file in my clone, now removed), in the same fixture (world() from test/lib/kit-1204-world-approval.mjs, merge --dry-run, hub port pointed away). The draft holds North star N1: revenue grows. and Value V9: we sell user data.:
    • P1 (old-style question): a hand-written strategy-change owner-decision with no recommendation. Question: "Add only the North star from the linked draft (the Values stay out)? Yes adds the North star only." Options Yes, add as drafted and Edit. The owner's own answer --choice "Yes, add as drafted", then merge --chore ns --approved <q>: exit 0. The whole draft lands, V9 included. On main this answer approves nothing.
    • P2 (ask): ask with --context "Yes adds only the North star; the Values stay out." and options Yes, add as drafted and Edit, no recommendation: exit 0, and stderr says "Yes, add as drafted" is taken as it ... approves the draft this question links, and only that text.
    • P3: the owner's pick of P2's yes with a note, answer <q> "but drop V9, keep only the North star" --choice "Yes, add as drafted": matched: true, and the merge exits 0.
  • Mutations, one at a time, restored after each (git status clean except .scratch/):
    • MK1, legacyYes stops requiring kind === 'owner-decision': inconclusive. The run timed out at 600 s under box load (the clean run took 394 s), so I can't say whether a test covers it.
    • MK2, YES_WHOLE_DETAIL loses its end anchor (\s*[.!]?\s*$): red, first-yes 1 pass / 2 fail.
    • MK3, exteriorBase's carried drops !legacyYesLater(v): red, first-yes-exterior 0 pass / 2 fail.
  • Live fleet logs: a read-only scan of the main checkouts' project/log in devteam-dev, mothership, stacks, stacksbot and website. I found no answered old-style question that the new legacy path would carry. Stacksbot's q-20261203-212645367 is labelled "Yes, add it as drafted", which J2 refuses, and is unanswered on main. Mothership's question isn't on its main log.
  • CI at the head: test success, box-image success.

Findings

Id Severity Rule Where Finding
K1 Critical constitution.md §1, "The strategy", Self and exterior rows (they land only with the owner's answer approving that text); the PR's own premise that "words that take their meaning from the question never count" devteam.mjs legacyYes → ownerAnswer (legacy path) and autoApprovalYes/askApprovalRecommendation defect: the whole-draft check reads the label, detail and effect, but never the question or its context. Yet in the motivating mothership case the question text itself said what Yes does ("Yes adds them as drafted"). "As drafted" doesn't name what is drafted: on "Add only the North star from the linked draft (the Values stay out)? Yes adds the North star only", the owner's "Yes, add as drafted" means the North star as drafted. P1 shows that pick landing the whole pinned blob, Values included, at merge. main refuses that same answer, so the legacy path newly approves owner-only text the question told the owner was excluded. Nothing in the PR says so. P2 shows ask taking the same label as the recommendation over a context that narrows it, and saying it approves "only that text". The label allowlist can't fix this on its own. Options: drop the legacy path (the fleet scan above finds nothing it carries today: mothership's draft changed and stacksbot's label uses "it"), and make ask refuse rather than auto-take, so the supervisor states --recommendation and owns its consistency with the question, as on main. Or carry legacy answers only by an explicit owner-attested list of question ids.

Notes

  • Minor (P3): through the auto-taken recommendation, a pick with a note ("Yes, add as drafted — but drop V9, keep only the North star") is matched and lands the whole draft. That is main's existing rule for any recommendation, so it isn't new. But the PR refuses notes on the legacy path because "a note beside it may change what the yes is to", and the auto path now carries that exposure onto questions that could never approve before. Worth one line in §6, or the same no-note rule for an auto-taken recommendation.
  • Minor: the askLikeWarnings legacy branch tells the supervisor "don't ask again: withdraw this and cite it" without checking legacyYesLater. Once a later question exists, that citation will be refused.
  • Checked and fine: chat and thread relays are excluded. Both channels predate the strategy-change class, so no old relay line lacks a channel. Old unkeyed lines need an exact label match. Pronouns, "this version", a bare Yes and trailing words are refused by the closed YES_WHOLE regex. Duplicate yes labels are refused. A later same-class question about the file voids the yes, and every world-file question must link the file. Every class in the list is owner_only (merge-chore is constitutional), so the auto-taken recommendation feeds no trust ladder. exteriorBase only sets the staleness base. Legitimate "Yes, add as drafted" picks still land (FY1/FY2 green).
  • Not checked: MK1 (timed out), a dashboard pick end to end, the full suite (CI is green).

Opened by the box operator.

Verdict: CHANGES 00d66c8

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@hhff

hhff commented Dec 5, 2026

Copy link
Copy Markdown
Member Author

PR #972 review L: docs vs engine for the first-yes rule; one untested owner-approval boundary

  • Reviewer: operator-review-L (fresh subagent, claude-opus-5-5), not the author
  • Head: 00d66c8
  • Date: 2026-12-05T10:10Z

What I ran vs only read

  • Read: the full diff; ownerAnswer, legacyYes/legacyYesWhy/legacyYesLater, askApprovalRecommendation/autoApprovalYes, worldFileFails, exteriorBase, the whole --approved path in cmdMerge (owner settings, kit files, outside-project, one-answer-per-act), questionView (labels/label/in_words/words/channel), the answer writer (which channels exist: only chat/thread are relays, the rest are ownerChannel()), goalChangeProblem/goalOrderProblem/goalMetProblem, askAcks, and every kit-worded ask --class … hint in the engine and in docs/devteam/**/*.md for the eight classes.
  • Callers of the approval check: only worldFileFails (merge, check-pr) and cmdMerge's final ownerAnswer(…, { sha }) take the legacy path. The owner-settings call and the kit-files call (ownerAnswer(approved, 'merge --approved') with no sha) still require matched, so a legacy answer can't land settings or kit files. goal set/goal order/goal-met and decide/act --approved still check matched and are untouched. exteriorBase is the one other place, and it applies legacyYesLater too. I found no path that takes a recommendation-less answer outside these.
  • Docs: supervisor.md §6 matches the engine: the class list, the closed Yes list, detail/effect, no relays, no words, later question voids (withdrawn ignored, asked-before/answered-after voids), merge-base check, and other five classes not carried. Every kit-worded ask in these classes in the docs and hints carries --recommendation (strategy §1 "Approve it", Self/exterior "Yes", remediation, merge-chore, link proposal, --acks which already required Yes/No), so I found no place where the narrowed ask refuses a question the kit itself tells the supervisor to ask.
  • Tests (testslot, nice 19, hub port pointed away, one at a time): world-approval.first-yes 1/1 file ok (400.9 s); world-approval.first-yes-exterior ok (75.2 s); split-dist-docs 4 pass / 0 fail / 0 skipped (no manifest or patch drift: the supervisor.md edits don't touch the - **Find.** patch paragraph).
  • Mutations (mine, each restored with git checkout, the diff clean after every one):
    • MA: legacyYes drops v.kind !== 'owner-decision' (a proposal's or clarification's "Yes, add as drafted" would land a draft). first-yes: stays green (554 s, 0 fail).
    • MB: legacyYesLater drops x.status !== 'withdrawn' (a withdrawn later question voids the earlier yes, so a forced re-ask comes back). first-yes: stays green (854.9 s, 0 fail; a first run timed out at 600 s under box load and was rerun with a 1200 s file timeout).
    • MD: exteriorBase's carried drops the check that the pin's ref:exterior.md is blob in mainRoot. first-yes-exterior: stays green (91.5 s).
    • I did not run a mutant that drops kind !== 'owner-decision' from ask's auto-take/refusal. ask-within-authority, kit.approvals, plain-questions and search ask proposals/clarifications in these classes, and CI runs them.
  • CI at the head: test success, box-image success. I couldn't download the log (gh run view --log returned nothing), so I can't say whether any file skipped there.
  • Not run: the G1 golden (dashboard tests fail on this box for box reasons; CI is green), the full suite, or a real fleet.

Findings

Id Severity Rule Where Finding
L1 Important quality.md §3 (Important: missing test with a plausible failure path); constitution.md owner_only (strategy-change, self-change, exterior-change) legacyYes, devteam.mjs ~10508 weak-check: the one guard that keeps the new legacy path to owner-decisions (v.kind !== 'owner-decision') has no test. Mutant MA removes it and both first-yes parts stay green. Without it, a recommendation-less --kind proposal or --kind clarification strategy/Self/exterior question whose owner pick was "Yes, add as drafted" lands its pinned draft at merge --approved and check-pr. The PR body names those kinds as approving nothing ("Known gap… their Yes approves nothing"), and operator.md lists strategy-change proposals, so such questions exist in fleets. This PR is the one that widens which owner answers approve, so the boundary of that widening needs a test that goes red. Fix: in FY2, add a hand-written kind: 'proposal' (and ideally clarification) question, same shape, answered with the Yes pick, and assert merge refuses it.

Notes

  • Minor (weak-check): MB. supervisor.md §6 promises that "a withdrawn one is ignored", but no test withdraws a later question. Regressing that line silently brings back the forced re-ask this PR exists to remove. One FY4 step (ask a later question, withdraw it, the earlier Yes still lands) would cover it.
  • Minor (weak-check): MD. The PR body says exteriorBase "counts the earlier yes only for a pin that verifies", but nothing tests the verify. matched pins aren't verified there either, so it's defence in depth, but the claim is untested.
  • Minor (help text): for a bare "Yes", ask's refusal reads "Yes" starts with yes but says more than a yes to the whole draft. A bare Yes says less, not more; the parenthetical explains it, but the sentence is wrong for that case. The same text also speaks of "the whole draft" on a governance-edit/process-edit/gate-change question that has no draft.
  • Minor (hint): goal set on a goal past draft (devteam.mjs ~20271) still says "ask a goal-change question with --goal " with no --recommendation. ask now refuses that as written; the refusal names the flag, so it costs one retry.
  • Note (pre-existing, inherited): on a chore, any --approved answer that passes ownerAnswer satisfies "touches files outside project/" for non-kit files (outside.length && !approved). A carried legacy strategy yes therefore approves those too, exactly as a matched strategy answer already does on main. So "it approves that draft, and nothing else" in the merge message and the docs is slightly broader in practice. This PR doesn't introduce it.
  • Note: legacyYes reads only the label, detail and effect, never context or the question text. A recommendation-less question whose context narrows "Yes, add as drafted" would still carry. The pin binds what lands to what the owner saw, and the label says "as drafted", so I don't rate this.

Opened by the box operator.

Verdict: CHANGES 00d66c8

…ommendation, no carry-over

- K1 (Critical): "as drafted" names no draft, and the question or its context may ("Yes adds only
  the North star"), which the kit can't read. So the old-answer carry-over (legacyYes and its
  helpers, ownerAnswer's legacy path, exteriorBase's carry) and ask's auto-taken recommendation are
  gone: ask refuses an owner-decision in the eight classes with no --recommendation, and the
  supervisor gives one, as on main. A scan of the five fleets found no answer the carry-over landed.
- K minor: the re-ask warning never says to cite an old yes; it says the question asks again only
  for that reason, and only after a yes.
- L (c): the refusal names no label and no draft: "the one whose pick approves what the question and
  its context say it does". L (d): the goal set hint carries --recommendation.
- supervisor.md §6 and ask's help text say the narrower rule. test/world-approval.first-yes-exterior
  is gone with the exterior carry; first-yes is rewritten to the rule.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@hhff

hhff commented Dec 5, 2026

Copy link
Copy Markdown
Member Author

Reviews K and L (00d66c8): answered in fa0c45e. origin/main is merged in (7c84b7b), with no rebase.

K1 (Critical): "as drafted" says no draft. I took K's fix and narrowed the PR:

  • The old-answer carry-over is gone: legacyYes, legacyYesWhy/legacyYesLater, ownerAnswer's legacy path, exteriorBase's carry, and the warning branch that cited an old yes.
  • ask's auto-taken recommendation is gone: approvingYes, YES_WHOLE, wholeDraftYes and autoApprovalYes.
  • ask now refuses an owner-decision in the eight classes with no --recommendation. The kit never picks one, so the supervisor gives it, as on main, and owns its consistency with the question.
  • K's scan of the five fleets found no answer the carry-over would have landed (mothership's draft changed; stacksbot's label uses "it").
  • Test FY1: no choices, one "Yes, add as drafted", the same beside a narrowing context, and a bare Yes are each refused, and none is taken. A governance-edit ask with none is refused, and a clarification is not. With an explicit recommendation, the owner's pick lands at merge and passes check-pr.
  • Test FY2: an old-style "Yes, add as drafted" answer lands nothing at merge or check-pr.
  • Mutations:
    • K1, ask never refuses: fails FY1.
    • K2, a single "Yes…" choice passes without a recommendation: fails FY1.
    • K5, every kind refused: fails FY1.

K minor (the re-ask warning cited a voided yes): the citing branch is gone. Asking again after a recommendation-less yes warns that the question "asks again only for that reason, so tell the owner so", and never says to cite it. Test FY3. Mutations: K3, the cite-it warning back, fails FY3; K4, the warning after an Edit too, fails FY3.

K minor (a note on a pick): the PR body now says that "— but drop V9" beside the recommended choice keeps main's rule, unchanged.

L1 (Important), the untested owner-decision guard in legacyYes: gone with the old-answer path, so there is nothing left to test.

L minors

  • (a) A withdrawn later question voiding an earlier yes: that rule belonged to the carry-over, which is gone. supervisor.md §6 no longer states it.
  • (b) The exterior pin claim: gone with the carry-over, and removed from the PR body. test/world-approval.first-yes-exterior.test.mjs is deleted, and exteriorBase is as on main.
  • (c) The refusal names no label and no draft. It now reads "Give --recommendation "", the one whose pick approves what the question and its context say it does", which fits governance-edit, process-edit and gate-change too.
  • (d) The goal set hint now reads "ask a goal-change question with --goal --change '' --recommendation "", then goal set --approved ".
  • (e) The PR body now notes that on a chore, any --approved answer also approves the PR's non-kit files outside project/, as on main.

supervisor.md §6 and ask's help text now state the narrower rule. The PR body is rewritten to the narrower scope, and the proposal/clarification gap is still listed.

Local, one file at a time: first-yes 2/2, search 7/7, world-approval.asks 5/5.

Opened by the box operator.

@hhff

hhff commented Dec 5, 2026

Copy link
Copy Markdown
Member Author

PR #972 review N: ask's own re-ask refusal still says to cite an old recommendation-less Yes, so the forced re-ask loops

  • Reviewer: operator-review-N (fresh subagent, claude-opus-5-5), not the author
  • Head: fa0c45e
  • Date: 2026-12-05T10:58Z

What I ran vs only read

  • Read: the whole git diff origin/main...HEAD (devteam.mjs, supervisor.md, search.test, first-yes test). Also askLine (the default kind is owner-decision, and where the refusal sits), askLikeWarnings, reaskWords, answerSpent, sameWork, ownerAnswer and every .matched check, worldFileFails, merge's --approved paths, authorise, and the four askLine callers (cmdAsk, thread ask, recurring propose sets recommendation "Yes", and browser handover, which is an owner-action). I grepped every kit hint and doc line that says ask --class <one of the eight>. All of them carry --recommendation, apart from supervisor.md:456, which only describes a kit command that does carry one (link-proposal, --recommendation yes).
  • Reviews K and L at this head:
    • K1 is resolved. legacyYes, legacyYesWhy, legacyYesLater, approvingYes, YES_WHOLE, wholeDraftYes and autoApprovalYes are all gone (grep finds none). exteriorBase is as on main, and first-yes-exterior.test.mjs is deleted.
    • K's minor about the warning that cited an old yes is resolved in askLikeWarnings, but not in the refusal path. See N1.
    • L1 is moot (the code is gone).
    • L minor (c), the refusal text, is fixed, and so is (d), the goal set hint.
  • Tests (testslot, nice 19, DEVTEAM_HUB_PORT set to a throwaway port, DEVTEAM_IMAGE_HUB unset):
    • world-approval.first-yes: ok (139.8 s).
    • search: ok (186.8 s).
  • Probe (a scratch test file in my clone, since removed), in the first-yes fixture. It hand-writes the mothership-shaped question q-20261203-212647170-supervisor (strategy-change, owner-decision, options "Yes, add as drafted"/"Edit", no recommendation, the draft pinned), and the owner picks "Yes, add as drafted". Then:
    • (a) ask the same question again, with --recommendation "Yes, add as drafted" and no --new-because: exit 1, the owner already decided this: q-… Never ask the owner a decision they have made: cite the answer instead (--approved q-… on decide or act).
    • (b) merge --chore ns --approved q-…: exit 1, not its recommendation (it has none): that approves nothing; ask again for what the owner wants.
    • (c) the same ask with no recommendation: the re-ask refusal again (it comes before the new check, by design).
  • Mutations (each restored with git checkout; the clone is clean after each):
    • M1, askApprovalRecommendation never refuses: red.
    • M2, every kind refused (the kind !== 'owner-decision' guard dropped): red.
    • M3, the "asks again only for that reason" warning shown after any answer (the YES_LABEL test dropped): red.
    • M4, merge-chore removed from APPROVED_NEEDS_RECOMMENDATION: stays green (no test covers that class; see Notes).
    • M5, the die(approvalRec.refusal) call dropped: red.
  • CI at the head: test success, box-image success (the sharded full run).

Findings

Id Severity Rule Where Finding
N1 Important quality.md §3 (a real defect with a plausible failure path); the PR's own claim, item 2 ("Asking one again warns… It never tells the supervisor to cite the old yes"), and supervisor.md §6 ("ask again, with a recommendation, and tell the owner it is asked again only for that reason") devteam.mjs askLikeWarnings → like/reaskWords (~11622, ~11606) defect: the new warning branch is reached only when the re-ask isn't the "same" decision. FY3 always passes --new-because, so it never meets the refusal. The likeliest re-ask is the same question about the same unchanged draft. There, like matches: the pin blob is the same, the question is nearly the same, and the answer is unused, because merge refused it. So ask dies with reaskWords, which tells the supervisor to "cite the answer instead (--approved )". Merge then refuses that answer and says to ask again (probe, steps a to c). That is the forced loop this PR exists to end, and its body promises the opposite wording. The escape, --new-because, is offered only "if something material changed", and neither §6 nor the warning says to use it here. The bug is on main too, but the PR claims to cover this path. Fix: in like (or reaskWords), treat an answered question in APPROVED_NEEDS_RECOMMENDATION that has no recommendation as not settling the decision, so that the new warning runs. Or have reaskWords say "asked with no recommendation, it approves nothing: ask again with --new-because 'the earlier question had no recommendation'". Add a test with no --new-because.

Notes

  • Minor (coverage), M4: no test asks a goal-change or merge-chore owner-decision without a recommendation. Removing either from the list stays green. The PR body says so under "Not exercised"; one refusal assertion per class would close it.

  • Minor (contradicts, wording): the code comment and supervisor.md §6 call the eight "the classes whose answer --approved takes only as recommended". Other --approved paths also require matched:

    • merge --approved on a ticket or plan (merge-word, approve-feature-plan, through ownerAnswer)
    • recurring apply (recurring-edit, which the kit sets to "Yes")
    • production-remediation decide
    • goal-met
    • registry-attest

    Most of these are kit-worded or carry a recommendation already. Still, the list isn't "the" set. Say "these classes" rather than implying it is exhaustive, or extend the list.

  • Minor: supervisor.md:139 ("Names in public") asks "an ordinary question that … recommends none". A supervisor that files it as --class strategy-change is now refused. The refusal's --kind clarification hint fits it (it has no choices), so this costs one retry. Naming the kind in that line would avoid even that.

  • Minor: the strategy-unwritten hint writes --links <the draft>, but --links takes JSON ('[{"title","path","ref"}]').

  • Live fleets: nothing already in a log changes meaning. Open recommendation-less questions approve nothing, as on main. A supervisor mid-flow whose ask is now refused gets a refusal that names the flag. The dashboard writes no questions through ask. No golden or split patch holds the changed help text. CI is green across the full sharded run.

  • Not checked: a dashboard pick end to end, a real fleet merge, the full suite locally.

Opened by the box operator.

Verdict: CHANGES fa0c45e

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@hhff

hhff commented Dec 5, 2026

Copy link
Copy Markdown
Member Author

PR #972 review M: governance and correctness of the recommendation refusal

  • Reviewer: operator-review-M (fresh subagent, Claude Opus 5.5), not the author
  • Head: fa0c45e
  • Date: 2026-12-05 (UTC)

What I ran vs only read

  • Read: git diff origin/main...HEAD (4 files), askLine in full around the new refusal, askLikeWarnings, ownerAnswer and every --approved consumer (worldFileFails, merge settings/kit/chore paths, link --approved, goalChangeProblem, goalOrderProblem, authorise), every caller of askLine (cmdAsk, thread ask, recurring propose, browser handover), the kit-written questions (link add repo, fix-regressed), OWNER_SETTINGS/KIT_CLASSES, supervisor.md §6, quality.md §1/§3.
  • Tests (testslot, one file at a time): world-approval.first-yes 2/2 pass; search 7/7 pass; world-approval.asks 5/5 pass.
  • Mutations on world-approval.first-yes (each restored after):
    • M1 drop if (approvalRec.refusal) die(...): red (1 fail)
    • M2 refuse every kind (drop kind !== 'owner-decision'): red (1 fail)
    • M3 remove governance-edit from APPROVED_NEEDS_RECOMMENDATION: red (2 fail)
    • M4 drop the YES_LABEL condition (warning after any answer): red (1 fail)
  • Probe (a throwaway test file in the clone, hub port moved, removed after): a hand-written old-style strategy-change question answered "Yes, add as drafted", then a different decision asked with a recommendation ("Add this new refusal R4 to the strategy? …"). ask accepted it (status 0, no --new-because, so the kit itself didn't treat it as the same decision), and printed: "the owner answered a similar question before: q-…100 … this question asks again only for that reason, so tell the owner so in its words, with the answer they gave". Also: --kind Owner-Decision is refused by the schema, so case can't slip past the refusal.
  • CI at the head: test success, box-image success.

Governance answers to the brief's angle

  • No path counts an answer as approving without matching a supervisor-given recommendation: ownerAnswer, questionView's matched and the goal consumers are unchanged from main; the diff adds no acceptance path. The kit never fills in a recommendation itself.
  • No deadlock: in all eight classes an owner-decision may carry --recommendation (no combination forbids one: --link-change requires yes, --acks requires Yes/No, a review is not an owner-decision). The kit's own hints in these classes all carry it now (the two remaining ask --class governance-edit hits are the orient proposal, which has --recommendation yes, and prose). Kit-written questions (link add repo, recurring propose, fix-regressed) set their own recommendation or don't go through the refusal.
  • Clarifications/proposals untouched (kind !== 'owner-decision' returns no refusal; M2 proves the test pins it).
  • Old path removal is complete: the net diff is 4 files; no schema, golden (test/fixtures/g1/dashboard-data.txt has no changed hint text), split patch (supervisor.md's patch is on the - **Find.** paragraph, untouched) or leftover helper. YES_LABEL is used only by the new warning.

Findings

Id Severity Rule Where Finding
M-1 Important quality.md §3 (a real defect with a plausible failure path); supervisor.md §6 (never ask again what the owner declined / tell the owner why) devteam.mjs askLikeWarnings, the new else if The new warning fires for any similar (close: coverage ≥ 0.6, ratio ≥ 0.3) answered yes in the eight classes with no recommendation, and tells the supervisor unconditionally "this question asks again only for that reason, so tell the owner so". It drops the "If it was this very call" condition the generic branch keeps, and it never checks that the old yes is still unused or unsuperseded. Strategy/governance questions are templated and read alike, so after one old recommendation-less yes, every later different strategy-change question gets an instruction to tell the owner a false reason (probe above: a new refusal R4 vs the old North star/Values draft). The owner reads unexplained re-asks badly; this makes the kit script one. Fix: condition it ("If it was this very call…, this question asks again only for that reason…; otherwise it approves nothing here") and/or skip an old question a later answered question of the same class superseded; add the different-decision case to FY3.
M-2 Important brief: docs agree with code; supervisor.md §6 "never ask again what the owner declined" supervisor.md §6 (line 364), the new sentence "An older question in these classes asked with no recommendation approves nothing, whatever the owner picked: ask again, with a recommendation, and tell the owner it is asked again only for that reason." Read literally this covers an owner's No or Edit too: it tells the supervisor to re-ask a declined decision and give a false reason, which contradicts §6 and the code (the warning is deliberately only after a yes: "after an Edit or a No, the owner's own answer is the reason, so this is never said then"). Fix: "…approves nothing; when the owner said yes to it, ask again with a recommendation and tell the owner…".

Notes

  • Minor: ask doesn't check that --recommendation is one of the drawn choices. With --options "Yes, add as drafted" "Edit" --recommendation "Yes" the card adds "Yes" as its own choice beside "Yes, add as drafted"; the owner's pick of the latter approves nothing, so a forced re-ask is still reachable (main's behaviour, but it's the case this PR sets out to close). Suggest: in these eight classes, refuse a recommendation that isn't one of --choices/--options labels when choices are given.
  • Minor: APPROVED_NEEDS_RECOMMENDATION is a hand list. ownerAnswer is class-agnostic, so any other class used with merge --approved (e.g. a ticket merge citing a new-feature answer) still needs matched. The settings and kit classes are subsets of the list today; nothing ties the two together if a class is added. A small drift test would hold it.
  • Minor: YES_LABEL (/^\s*yes\b/i) reads "Yes, but drop V9 …" or a yes-prefixed qualifying label as a yes; harmless once M-1 is conditioned.
  • Not checked: a dashboard pick end to end, a real fleet merge, the goal-change and merge-chore asks against a live fleet.

Opened by the box operator.

Verdict: CHANGES fa0c45e

… nothing, only for its own decision

- N1 (Important): the owner's yes to an older question in the eight classes with no recommendation
  approves nothing, so it settles nothing either (unusableYes): ask lets the same decision through
  again without --new-because, never pointing at --approved, and the owner's pick of the new
  recommendation lands. A No or an Edit still settles it.
- M-1 (Important): the "asks again only for that reason" warning fires only for the same decision
  (alike: nearly the same question, same work, settling this class), says "If it was this very call",
  and skips an old yes a later question replaced.
- M-2 (Important): supervisor.md §6 says only an earlier yes is asked again; a No or Edit stands.
- M minors: ask refuses a --recommendation that is none of the given choices; "Yes, but…" is no yes.
- N minors: tests for merge-chore and goal-change refusals; the comment and §6 say these eight
  classes now require a recommendation at ask time (others approve only as recommended too); the
  strategy-unwritten hint's --links is JSON.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@hhff

hhff commented Dec 5, 2026

Copy link
Copy Markdown
Member Author

Reviews N and M (fa0c45e): answered in 10dce23. origin/main is merged in (0d82876), with no rebase.

N1 (Important): the forced re-ask loop. The owner's Yes to an older question in the eight classes with no recommendation approves nothing, so it now settles nothing either (unusableYes). ask's re-ask check (like) skips it, so the same decision asked again without --new-because goes through, and reaskWords never points at --approved for it. A No, an Edit or a "Yes, but…" still settles the decision.

  • Test FY2:
    • the mothership shape (an old strategy-change question with no recommendation, answered "Yes, add as drafted", draft unchanged) is asked again with no --new-because and is not refused;
    • the owner's pick of the new recommendation lands at merge;
    • an old question answered "Edit" is still refused as decided.
  • Mutation N1, the old Yes settling the decision again: fails FY2.

M-1 (Important): the warning fired for any similar question. It now fires only for the same decision (alike: nearly the same question, about the same work, settling this class), says "If it was this very call, this question asks again only for that reason", and skips an old Yes that a later question has replaced (unusableYesReplaced).

  • Test FY3:
    • "Add this new refusal R4 to the strategy? …" names the old North star/Values question but gets no such warning;
    • a further ask after the re-ask gets none for the replaced Yes.
  • Mutations: M1, the warning for any similar question, fails FY3; M1b, replaced Yeses not skipped, fails FY3.

M-2 (Important): §6 contradicted "never ask again what the owner declined". It now says that only an earlier Yes is asked again (without --new-because, telling the owner why), and that a No or an Edit is the owner's decision and stands.

M minors

  • A --recommendation that is none of the given choices is refused: "… is none of the choices …; recommend one of them by its label". Test FY1; mutation M3 fails FY1.
  • "Yes, but…" is not a Yes for the re-ask rule. Test FY3; mutation M4 fails FY3.
  • I didn't tie the eight-class list to ownerAnswer, because they aren't the same set (see N-b). Instead, the Na/Nb tests fail if merge-chore or goal-change is dropped.

N minors

  • (a) FY1 now refuses a merge-chore ask (a chore adding .github/workflows/extra.yml) and a goal-change ask with no recommendation. Mutations Na and Nb, each dropping one class from the list, fail FY1.
  • (b) The code comment, §6 and the PR body now say "these eight classes now require a recommendation at ask time", and name the other classes that approve only as recommended.
  • (c) The strategy-unwritten hint now gives --links as JSON: '[{"title":"The strategy","path":"<strategy.md>","ref":"chore-<slug>"}]'.
  • (d) No change, as you said.

Local, one file at a time: first-yes 2/2, search 7/7, world-approval.asks 5/5.

Opened by the box operator.

@hhff

hhff commented Dec 5, 2026

Copy link
Copy Markdown
Member Author

PR #972 review O: an old "Yes…" stops settling even when the owner's answer narrowed or declined the decision

  • Reviewer: operator-review-O (fresh subagent, Claude Opus 5.5), not the author
  • Head: 10dce23
  • Date: 2026-12-05T11:50Z

What I ran vs only read

  • Read the diff, ownerAnswer, questionView (how label and matched are derived), askLikeWarnings, REASK_EXEMPT, settlesClass, sameWork, answerSpent, reaskWords, and the doors' doorAgreed/ask rules.

  • test/world-approval.first-yes.test.mjs: 2/2 pass. test/search.test.mjs: 7/7 pass (test/run.mjs, hub port pointed away).

  • Mutants, applied one at a time to world-approval.first-yes. All five went red:

    • M-a: drop if (approvalRec.refusal) die(...). Red, FY1.
    • M-b: unusableYes always returns false. Red, FY2.
    • M-c: drop the "yes, but" exclusion. Red, FY3.
    • M-d: allow a recommendation that is none of the choices. Red, FY1.
    • M-e: like = alike (an old Yes settles again). Red, FY2.
  • Probe (a scratch test, not committed): four old-style strategy-change questions with no recommendation and the draft pinned. Each owner answer narrows or declines. Then the same question is asked again with --recommendation and no --new-because:

    • P1: a pick with a note, answer <q> "but drop V9" --choice "Yes, add as drafted", stored as "Yes, add as drafted — but drop V9".
    • P2: in the owner's own words, "Yes, only the North star, not the Values".
    • P3: a decline whose label starts with Yes, "Yes, keep the current one", against "No, adopt the draft".
    • P4: typed, "Yes, add as drafted — except V9".

    At this head, all four asks went through (exit 0, not refused as decided), and each gave the "asks again only for that reason" warning. With origin/main's devteam.mjs in the same clone, all four were refused with "the owner already decided this".

  • CI at the head: test success, box-image success.

Findings

Id Severity Rule Where Finding
O1 Important supervisor.md §6 ("A decision the owner has made is never put to them again"; the PR's own text: "A No or an Edit there is the owner's decision and stands: never ask again what they declined"); quality.md §1 (a claim the code doesn't hold) devteam.mjs:10455 unusableYes, used at :11645 like unusableYes decides that the owner's answer was a plain yes because its leading label matches /^yes\b/ and does not start "yes, but". It reads v.label ?? v.answer. For the dashboard's normal " — " form, label is the label only, so the note is never looked at. Effect: an old answer that narrowed the decision ("Yes, add as drafted — but drop V9", or "— except V9"), narrowed it in the owner's own words ("Yes, only the North star"), or declined under a Yes-label ("Yes, keep the current one") no longer settles it. The supervisor can put the same pinned draft (V9 included, or the change the owner declined) back to the owner without --new-because, and gets only a warning. This is exactly the "re-ask what the owner declined" path. The PR says "A No, an Edit or a 'Yes, but…' still settles", and it even gives "Yes, add as drafted — but drop V9" as its example, but that example does not settle at this head (probe P1). It regresses main, where all four were refused. The PR's own reasoning for dropping the carry-over ("as drafted", "it" and a bare "Yes" take their meaning from context the kit can't read) applies equally to reading a Yes-label as "the owner approved". Fix: count an old answer as an unusable Yes only when it is a keyed pick with no words beside it (v.choice set, v.words === '') and the label is the only Yes-like choice. Otherwise keep the old refusal: the supervisor uses --new-because, saying the earlier answer approved nothing. Add P1 to P3 as tests (refused as decided).

Notes

  • Approval itself is not widened. ownerAnswer is unchanged: every merge, goal set and --approved path still needs matched against a recommendation the supervisor gave. A recommendation must equal a choice label (trimmed, case ignored), which is the same normalisation questionView's agrees uses, so a recommendation can't be accepted at ask time and then never match. I found no path that approves without a matching recommendation.
  • No "re-ask until yes" loop. Once the question has been asked again with a recommendation, a No, an Edit or any other non-matching answer settles it (reaskWords' "answered other than your recommendation" branch). unusableYes is false once a recommendation exists, and new owner-decisions in the eight classes can't be asked without one. So the open window covers only questions already in the logs, which is still where O1 bites (Minor in size, but the rule matters).
  • No deadlock found. The one kit-internal question in these classes (the link change at :44807) carries recommendation: 'yes' and doesn't go through askLine. The kit's hints that print commands for these classes now include --recommendation.
  • Minor: unusableYes doesn't check the question's kind. An older one-way door asked in one of these classes with no recommendation (from before ask required one for doors) is usable: doorAgreed is true with no recommendation. Its Yes would still stop it being refused as decided. The door warning still prints first, so the risk is small.
  • Known gap, as the PR itself states: proposals and clarifications in these classes still go out without a recommendation.
  • Not checked: a dashboard pick end to end, or a real fleet log.

Opened by the box operator.

Verdict: CHANGES 10dce23

@hhff

hhff commented Dec 5, 2026

Copy link
Copy Markdown
Member Author

PR #972 review P: a Yes with a note, or a Yes that declines, settles nothing, so ask lets the decided question through and scripts a false reason

  • Reviewer: operator-review-P (fresh subagent, claude-opus-5-5), not the author
  • Head: 10dce23
  • Date: 2026-12-05T11:52Z

What I ran vs only read

  • Read the whole git diff origin/main...HEAD (devteam.mjs, supervisor.md, search.test, first-yes test) and the PR body. Also read askLine around the new refusal, askLikeWarnings, reaskWords, answerSpent, sameWork, nearlySameQuestion, settlesClass, REASK_EXEMPT, questionView (label, choice, matched, norm), ownerAnswer, doorAgreed/isDoorQuestion, the askLine callers (cmdAsk, thread ask, recurring propose, browser handover), and every kit hint or doc line that writes ask --class <one of the eight>. Apart from those that already carry --recommendation, the only hit is prose at supervisor.md:456.
  • Reviews K, L, M and N at this head:
    • K1 is resolved. The legacy carry-over and the auto-taken recommendation are gone. The kit never picks a recommendation.
    • L1 is moot, because the code it was about is gone. L's minors (c), (d) and (e) are fixed.
    • N1 is resolved for its own case. A clean recommendation-less "Yes, add as drafted" no longer triggers the re-ask refusal or reaskWords' "cite it" (FY2; mutation A below goes red). N's minors are fixed: merge-chore and goal-change are tested, the list is no longer called exhaustive, and --links is shown as JSON.
    • M-1 is resolved. The warning needs alike, carries "If it was this very call", and skips a replaced Yes (mutation C goes red).
    • M-2 is resolved in §6: a No or an Edit stands.
    • M's minor (a recommendation that is none of the choices) is fixed (mutation D goes red).
    • Not resolved: the "A 'Yes, but…' still settles it" half of the N1/M answer holds only for a "Yes, but" label. See P-1.
  • Tests. All ran through testslot at nice 19, with DEVTEAM_HUB_PORT set to a throwaway port and DEVTEAM_IMAGE_HUB unset, one file at a time:
    • world-approval.first-yes: 2 pass / 0 fail.
    • search: 7 pass / 0 fail.
  • Mutations (each restored with git checkout; the clone stayed clean after each):
    • A, like = alike (an old recommendation-less Yes settles again): red, first-yes 1/1 fail.
    • B, drop !stale (--new-because dropped on a stale re-ask): stays green. Nothing asserts that new_because is kept there. Minor.
    • C, drop !unusableYesReplaced from the warning: red, first-yes 1/1.
    • I, drop the "no recommendation" condition in unusableYes: first-yes stays green, search red (6 pass / 1 fail). It is covered.
    • D, the recommendation-is-a-choice check turned off: red, first-yes 1/1.
  • Probe: a scratch test file in my clone, using the first-yes fixture with the hub port moved; the file was removed afterwards. The draft has North star N1 and Value V9. Each case is an old-style strategy-change owner-decision with no recommendation, the draft pinned, then asked again with --recommendation and no --new-because:
    • P1 (dashboard pick with a note). answer <q> "but drop V9, keep only the North star" --choice "Yes, add as drafted" gives label: "Yes, add as drafted" and answer "Yes, add as drafted — but drop V9, keep only the North star". Asking the same question about the same draft again: exit 0, not refused. The warning says "If it was this very call, this question asks again only for that reason, so tell the owner so".
    • P3 (a Yes that declines). Question "Keep the current strategy rather than add the drafted Values?", options "Yes, keep the current one" / "No, add the Values"; the owner picks "Yes, keep the current one". Asking it again: exit 0, not refused, with the same "asks again only for that reason" warning.
    • P4 (typed "Yes but only after the launch"). Refused as decided, which is correct.
    • P2 (an old one-way door in governance-edit with no recommendation, answered Yes). The re-ask is not refused, although doorAgreed counts that Yes (!v.recommendation). ask refuses a door with no recommendation today, so only doors already in a log can be in this shape. Minor.
  • CI at the head: test success, box-image success.

Findings

Id Severity Rule Where Finding
P-1 Important supervisor.md §6 ("A No or an Edit there is the owner's decision and stands: never ask again what they declined"; "never ask the owner a decision they have made"); quality.md §3 (a real defect with a plausible failure path); the PR body, item 2: "A No, an Edit or a 'Yes, but…' still settles it" devteam.mjs unusableYes (~10454), which feeds like/stale and the new warning in askLikeWarnings defect: unusableYes decides whether the owner decided by the first word of the label (v.label ?? v.answer, /^\s*yes\b/). The PR's own review history (K) showed that a "Yes…" label takes its meaning from the question. P1: the dashboard's usual way to qualify a pick is " — ". The label stays "Yes, add as drafted", so a Yes with "but drop V9" counts as an unusable Yes. Asking the identical question about the identical draft is then no longer refused (main refuses it), and the kit tells the supervisor to tell the owner it asks again "only for that reason", which is false: the owner asked for an edit. The FY3 "Yes, but" test only covers a label "Yes, but shorter", which is not how owners qualify a pick. P3: a Yes label that declines the change ("Yes, keep the current one") is likewise treated as settling nothing, so a declined decision is re-askable with the same scripted false reason. The owner reads repeat asks as malicious compliance, which is the harm this PR exists to remove. Fix: count as unusable only an owner's own keyed pick with no note (v.choice set and norm(v.answer) === norm(v.label)), and keep the main refusal for anything else. For P3, either stop treating label wording as the decision (e.g. treat as unusable only a pick the question itself drew as approving, or the choice that was later recommended), or say in §6 that the escape is for a Yes that approves the asked change only. Add FY tests for the note path (and P3).

Notes

  • Minor (weak-check), B: keeping --new-because on a stale same-decision re-ask (!stale) has no test.
  • Minor (P2): unusableYes doesn't exclude one-way doors, whose recommendation-less Yes does count (doorAgreed), so an old such door is re-askable without --new-because. The door warning still says never to ask it again. Adding !isDoorQuestion(v) (or kind === 'owner-decision') to unusableYes would close it. Only doors written before ask required their recommendation are affected.
  • Minor (docs): the new §6 sentence has a broken join: "…say it does. and when there are choices, the recommendation is one of them by its label." It should be ", and when…".
  • Minor (PR body): "It comes after every other check ask makes" is a little broad. The pickLineBytes check still follows it, which is harmless.
  • Checked and fine: the refusal's place (after askLikeWarnings, --from and the goal-change check), the case-insensitive recommendation-vs-label match (the same norm as questionView.matched), and --choices beside --options (labels taken from --choices, as ask's own choice checks do). The help text and §6 list the same eight classes as the code. No G1 golden or split patch holds the changed text. Live fleets: nothing already logged changes meaning for merge, and a mid-flow supervisor's ask in the eight classes without a recommendation is refused with a message naming the flag.
  • Not checked: a dashboard pick end to end, a real fleet merge, the full suite locally (CI is green).

Opened by the box operator.

Verdict: CHANGES 10dce23

hhff and others added 2 commits December 5, 2026 11:52
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…les nothing

- O1 / P-1 (Important): an old answer is an unusable yes only when it is the owner's pick of the
  question's only choice starting with Yes, with no note or words beside it, that choice a plain
  "Yes" or "Yes, <verb> as drafted / the draft", on an owner-decision with no one-way-door reason
  (why_asked.reasons). A note ("— but drop V9"), the owner's own words, "Yes, keep the current one",
  a typed "— except V9" and a door's yes stay decided, as on main. FY2 covers P1-P4 and the door.
- P minors: --new-because is kept when re-asking an old plain yes (FY2); §6's broken join fixed;
  the code comment says where the refusal sits.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@hhff

hhff commented Dec 5, 2026

Copy link
Copy Markdown
Member Author

Reviews O and P (10dce23): answered in 98daf21. origin/main is merged in (579ff67), with no rebase.

O1 / P-1 (Important, a regression from main): unusableYes read only the label's first word. An old answer now counts as an unusable Yes, so the decision can be re-asked without --new-because, only when all of these hold:

  • it is the owner's pick of the question's only choice starting with Yes;
  • there is no note or words beside it (keyed with empty words, or unkeyed and exactly the label);
  • that choice is a plain "Yes" or "Yes, <add|adopt|land|approve|apply|merge> as drafted / the draft";
  • the question is an owner-decision with no one-way-door reason (why_asked.reasons, and not a door question).

Every other answer stays decided, as on main.

Test FY2: each of these is re-asked without --new-because and refused as "the owner already decided this":

  • P1, "Yes, add as drafted" picked with the note "but drop V9";
  • P2, the owner's own words "Yes, only the North star, not the Values";
  • P3, a pick of "Yes, keep the current one";
  • P4, typed "Yes, add as drafted — except V9";
  • a one-way door's plain "Yes, add as drafted" pick.

Mutations:

  • O1, the note ignored: fails FY2 P1.
  • O3, any Yes-led label: fails FY2 P3.
  • O4, the door reason ignored: fails FY2 on the door case.

P minors

  • Mutant B: a new FY2 case re-asks an old plain Yes with --new-because. It is recorded on the question, with no "left off" warning. Mutation B, dropping !stale, now fails FY2.
  • The door case: in FY2 (above).
  • §6: "…say it does. and when there are choices…" now reads "…say it does; when there are choices…".
  • "After every other check": the PR body now says the refusal comes after the already-decided check, the change a goal-change proposes and --from, and that some later checks (such as the recommendation's length) still run after it. The code comment says the same.

Local, one file at a time: first-yes 2/2, search 7/7, world-approval.asks 5/5.

Opened by the box operator.

@hhff

hhff commented Dec 5, 2026

Copy link
Copy Markdown
Member Author

PR #972 review Q: unusableYes counts a relayed chat/thread answer, and a pick with a dropped file, as a plain Yes, so a narrowed decision gets re-asked

  • Reviewer: operator-review-Q (fresh subagent, Opus 5.5), not the author
  • Head: 98daf21
  • Date: 2026-12-05T12:27Z

What I ran vs only read

  • Read: the PR body; git diff origin/main...HEAD; questionView (keyed and unkeyed answers, choice, words, in_words, channel, said, files, answered_by), ownerAnswer and its callers (worldFileFails, the merge --approved paths, link, recurring apply), doorPick, cmdAnswer (--from-chat, --from-turn, --files, how a pick plus words is written), chatAnswer, turnAnswer, askLikeWarnings, askLine (where the refusal sits), the kit-written question lines (none in the eight classes lacks a recommendation), constitution.md and supervisor.md §6.
  • Tests, one file at a time through testslot, hub port pointed away: world-approval.first-yes 2/2 pass, search 7/7 pass, world-approval.asks 5/5 pass.
  • Mutations against world-approval.first-yes (each restored after): M1 drop if (approvalRec.refusal) die(...) -> red (1 fail); M2 unusableYes ignores words beside the pick (return true) -> red; M3 door / one-way-door reason ignored -> red; M4 like = alike (an old plain Yes settles again) -> red.
  • Probe (a scratch test using the PR's own fixture kit-1204-world-approval.mjs, run at the head and at origin/main in the same clone). Each case: an old-style strategy-change owner-decision, options "Yes, add as drafted" / "Edit", no recommendation; then ask the same question again with --recommendation "Yes, add as drafted" and no --new-because:
    1. The owner said "yes but drop V9" in the supervisor's session. The supervisor recorded answer <q> "Yes, add as drafted" --from-chat --said "yes but drop V9". Head: the ask goes through (exit 0) with the warning "this question asks again only for that reason ... with the answer they gave (answer: "Yes, add as drafted")". main: refused, "the owner already decided this".
    2. The owner picked "Yes, add as drafted" with a dropped file beside it (an owner line with choice and files: [my-edits.md], the shape the dashboard's pick-plus-drop writes through answer --choice --files). Head: goes through, same warning. main: refused as decided.
    3. Control: a typed yes, add as drafted (double space) is still refused as decided at the head, as on main.
  • CI at the head: test success, box-image success.

Findings

Id Severity Rule Where Finding
Q1 Important supervisor.md §6 "Never ask the owner a decision they have already made: cite the answer ... If they have answered it (in the inbox, on the dashboard, or in chat, recorded with answer --from-chat), use that answer"; the brief's (b) unusableYes, devteam.mjs ~L10488-10498 unusableYes reads only answer/choice/words. It never looks at channel or said. For a --from-chat or --from-turn answer, the owner's own words are in said, and answer is the label the supervisor typed. So when the owner narrowed in chat or a thread ("yes but drop V9", "yes, only the North star") and the supervisor recorded the bare label, the kit calls it a plain Yes. The decision then stops settling: the full draft is re-asked with no --new-because, and the warning tells the supervisor to say it asks again "only for that reason", quoting the recorded label instead of the owner's words. On main this is refused as decided (probe 1). The PR body says only "the owner's pick" counts. A relay is not the owner's pick: doorPick excludes ['chat','thread'] for exactly this reason. Earlier rounds of this PR had that exclusion, and the current version dropped it. Fix: return false when ['chat','thread'].includes(v.channel) (or allowlist cli/dashboard), and add a test with a --from-chat answer.
Q2 Important same; the brief's (b) "edited" unusableYes A pick with dropped files beside it (v.files non-empty) counts as a plain Yes, because words is '' when only files are attached. The owner who picked "Yes, add as drafted" and dropped their edited draft beside it is re-asked the draft with no --new-because. main refuses that (probe 2). A file beside a pick is the owner adding something, like a note. Fix: return false when (v.files ?? []).length, and add a test.

Notes

  • Minor: v.answered_by !== 'owner' in unusableYes is always false for an answered question: questionView sets answered_by: 'owner' whenever an owner line exists. Who wrote the answer is told only by channel, which is why Q1 slips through.
  • Minor: a pick with --rule (a standing rule) or --autonomy beside it also passes as a plain Yes. Both are the owner saying more than Yes. I didn't probe these.
  • Checked and sound: (a) no new approval path. ownerAnswer/matched is unchanged, every --approved path for the eight classes still needs matched, and askApprovalRecommendation only adds refusals. A recommendation must equal a choice label case-insensitively, the same normalization matched uses. (c) no re-ask-until-yes loop. Re-asks must carry a recommendation, so a non-recommended pick on the re-ask has a recommendation, isn't "unusable", and settles. More than one Yes-led label, notes after " — ", in-words answers, readings, typed text beyond the exact label, unicode dashes in the label, a one-way door (by kind, class or why_asked.reasons), "Yes, keep the current one", and a rewritten question (status reopens) all keep the decision settled. Older kits' unkeyed lines need an exact label match.
  • Not checked: a real dashboard pick end to end (I simulated its owner line), and a live --from-turn answer (it writes the same channel/said shape as chat, read from code).

Opened by the box operator.

Verdict: CHANGES 98daf21

@hhff

hhff commented Dec 5, 2026

Copy link
Copy Markdown
Member Author

PR #972 review R: a bare "Yes" that kept the status quo becomes re-askable, and real fleet Yes labels still hit the cite-it loop that §6 says is gone

  • Reviewer: operator-review-R (fresh subagent, claude-opus-5-5), not the author
  • Head: 98daf21
  • Date: 2026-12-05T12:30Z

What I ran vs only read

  • Read the whole git diff origin/main...HEAD, the PR body, and every review and author reply (a1 to P). Also read questionView (how label, choice, words, in_words and matched are built), unusableYes and unusableYesReplaced, askApprovalRecommendation, askLikeWarnings, reaskWords, isDoorQuestion/doorAgreed, and all four askLine callers (cmdAsk, thread ask, recurring propose with recommendation "Yes", browser handover as an owner-action). I grepped every kit hint and doc line that writes ask --class <one of the eight>. Each carries --recommendation (registry 19738 yes with no options, planning.md:41, remediations, strategy-unwritten, goal set, G18b), or is prose (supervisor.md:456).
  • Tests, run through testslot at nice 19 with DEVTEAM_HUB_PORT set to a throwaway port and DEVTEAM_IMAGE_HUB unset, one file at a time:
    • world-approval.first-yes: 2 pass / 0 fail
    • search: 7 pass / 0 fail
    • world-approval.asks: 5 pass / 0 fail
    • split-dist-docs: 4 pass / 0 fail / 0 skipped
  • Mutations on world-approval.first-yes, one at a time, each restored with git checkout:
    • MR2, unusableYes drops norm(v.label) !== norm(yes[0]): red (FY2).
    • MR1, unusableYes drops yes.length !== 1 (a question with two Yes-like choices): stays green.
    • MR3, the "one of the choices" check drops labels.length &&, so every recommendation on a question with no choices is refused, including the kit's own registry hint --recommendation yes: stays green.
    • MR6, unusableYes drops kind !== 'owner-decision': stays green.
  • Probe: a scratch test in my clone, using the first-yes fixture, removed afterwards. Each case is a hand-written old-style owner-decision with no recommendation, answered by the owner's plain --choice, then asked again with --recommendation and no --new-because. I ran it on this head and with origin/main's devteam.mjs swapped in.
    • A. governance-edit "Keep asking the owner before adopting each new kit release?", options Yes/No. The owner picks "Yes", which keeps things as they are. It is asked again recommending "No".
      • Head: exit 0, with the warning "If it was this very call, this question asks again only for that reason, so tell the owner so".
      • Main: refused, "the owner already decided this".
    • B. devteam-dev's real label, "Yes, adopt the three tiers as proposed" (governance-edit).
      • Head and main: refused as decided. The refusal says "cite the answer instead (--approved q-…)".
    • C. stacksbot's real label, "Yes, add it as drafted" (strategy-change, draft pinned).
      • Head and main: the same refusal, "cite the answer instead (--approved …)".
  • Live fleets: a read-only scan of the main checkouts' project/log in devteam-dev, mothership, stacks, stacksbot and website. It lists every owner-decision in the eight classes that has no recommendation.
    • Answered with a yes: devteam-dev q-20261203-154756375-supervisor, "Yes, adopt the three tiers as proposed", keyed with no words.
    • Unanswered on main: stacksbot q-20261203-212645367-supervisor, "Yes, add it as drafted".
    • YES_PLAIN matches neither.
  • Earlier findings at this head:
    • K1: resolved. No carry-over or auto-taken recommendation is left; legacyYes, approvingYes, YES_WHOLE and autoApprovalYes have 0 hits.
    • L1: moot, because the code it was about is gone.
    • M-1: resolved (alike, "If it was this very call", unusableYesReplaced; FY3).
    • M-2: resolved in so far as a No or an Edit stands. §6's Yes sentence is still broader than the engine (R2).
    • N1: resolved only for labels YES_PLAIN matches (R2).
    • O1/P-1: resolved for a note, the owner's own words, "Yes, keep the current one", a typed suffix and a door (FY2). It is not resolved for a bare "Yes" that keeps the status quo (R1).
    • P minors (mutant B, the §6 join, the order claim): fixed.
  • CI at the head: test success, box-image success.

Findings

Id Severity Rule Where Finding
R1 Important supervisor.md §6 ("A No or an Edit there is the owner's decision and stands: never ask again what they declined"; "never ask the owner a decision they have made"); quality.md §3 (a real defect with a plausible failure path, a regression from main) devteam.mjs YES_PLAIN (the bare ^\s*yes\s*[.!]?\s*$ branch) → unusableYes → like and the warning in askLikeWarnings defect: this is O1/P-1's P3 again, with a bare "Yes" in place of "Yes, keep the current one". The PR's own K reasoning says a bare "Yes" takes its meaning from the question. On a question worded so that Yes keeps the status quo or declines the change (probe A), the owner's "Yes" counts as an unusable Yes. The same question can then be put back to the owner, now recommending the change they declined, with no --new-because. The kit even scripts the false reason "asks again only for that reason". main refuses the same ask. FY2's P3 covers only the "keep the current one" label, and no test has a bare Yes on a negatively worded question. Fix: drop the bare "Yes" from YES_PLAIN. With R2's fix, those re-asks then go through --new-because, which the owner reads first. Alternatively, count a bare Yes only when the question pins a draft. Add probe A as a test that is refused as decided.
R2 Important quality.md §1/§3 (a claim the code doesn't hold; docs agree with code); the PR body item 2 ("This closes the loop review N found") and its opening case (stacksbot, the third fleet) supervisor.md §6 line 364 ("if the owner answered it Yes, that yes settles nothing either, so ask that same decision again … (ask lets it through without --new-because)"); devteam.mjs reaskWords (11667) contradicts / defect: §6 says any Yes. The engine lets only YES_PLAIN labels through. Both real recommendation-less Yes labels in the fleets, devteam-dev's answered "Yes, adopt the three tiers as proposed" and stacksbot's "Yes, add it as drafted", are refused as decided (probes B, C). reaskWords then still tells the supervisor to "cite the answer instead (--approved …)", which merge refuses ("not its recommendation (it has none)"). That is N1's loop, unchanged for every non-plain label, including a pick with an approving note ("— looks good"). A supervisor following §6 is refused, and the refusal sends it to a citation that can't work. Fix, without reopening O/P: in reaskWords, for an answered question in APPROVED_NEEDS_RECOMMENDATION with no recommendation, never offer --approved. Say that it approves nothing, and that if the owner's answer was a yes to this very text, the supervisor asks again with --new-because "the earlier question carried no recommendation". Narrow §6 to what the engine does (a plain pick of the only plain Yes passes; any other answer needs --new-because and stands as the owner's decision). Test B or C: the refusal names --new-because and not --approved.

Notes

  • Minor (weak-check): MR1, MR3 and MR6 stay green in first-yes.
    • MR3 matters most. A regression that refuses every no-choice recommendation in the eight classes would break the kit's own registry hint (ask --class governance-edit … --recommendation yes). I didn't check whether another CI file covers it.
    • MR6 (a proposal's plain Yes made re-askable) is arguably harmless.
  • Minor: unusableYes doesn't look at channel. A plain "Yes" relayed from chat or a thread counts the same as a dashboard pick. That only allows a re-ask, so it widens nothing.
  • Checked and fine: no path approves without a supervisor-given recommendation. ownerAnswer and matched are unchanged, and the diff adds no acceptance path. The refusal sits after the decided check, --from and the goal-change check, and thread ask dies before any line is written. recurring propose (recurring-edit) and browser handover (an owner-action) are outside the rule. The help text and §6 list the same eight classes as the code. No G1 golden or split patch holds the changed text (split-dist-docs green).
  • Not checked: a dashboard pick end to end, a real fleet merge, the full suite locally (CI is green).

Opened by the box operator.

Verdict: CHANGES 98daf21

… at --new-because (review Q, R)

Drop unusableYes, YES_PLAIN and the re-ask-without-new-because path: every
answered question is "already decided" again, as on main. When the earlier
question is an owner-decision in one of the eight approval classes with no
recommendation, the refusal no longer says to cite it with --approved (merge
refuses it, review N's loop); it says the answer approves nothing at merge and
to ask again with --new-because "<why>", quoting the old answer, if the
supervisor believes the owner meant yes. The similar-question warning says the
same, never --approved. supervisor.md §6 matches.

Tests: mothership's re-ask refused with the new text, accepted with
--new-because and lands; a chat relay, a pick with files and a bare Yes to a
keep-as-is question stay decided. Mutation-checked.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@hhff

hhff commented Dec 5, 2026

Copy link
Copy Markdown
Member Author

Reviews Q and R at 98daf21, answered at 2df1361 with the simpler design the operator asked for: no more classifying old answers.

  • Q1 (chat and thread relays counted as a plain Yes), Q2 (a pick with files counted as a plain Yes), R1 (a bare "Yes" to a keep-as-is question counted as settling nothing), R2 (real fleet labels missed YES_PLAIN, so N's loop stayed for them; §6 overstated): unusableYes, YES_PLAIN, YES_LABEL, unusableYesReplaced and the re-ask-without---new-because path are deleted. Every answered question is "the owner already decided this" again, exactly as on main, whatever the answer and however it came.
  • N's loop, fixed in the refusal text only: when the earlier question is an owner-decision in one of the eight classes with no recommendation (approvesNothing; doors keep their own text), reaskWords no longer says to cite it with --approved. It says that answer approves nothing at merge, and that if the supervisor believes the owner meant yes, it may ask again with --new-because "<why>", quoting the old answer to the owner; a No or an Edit stands. --new-because is main's existing, logged re-ask, so nothing is widened.
  • M-1's warning: replaced. For a similar (not the same) decision it now says the old answer approves nothing at merge and to use it in the recommendation, never --approved.
  • §6 and the PR body now say: ask refuses an approval-class owner-decision without a valid --recommendation; old recommendation-less answers stay decided; the refusal points to --new-because, not --approved.
  • Kept: the recommendation refusal, the recommendation-must-be-a-choice check, the hints.

Tests (test/world-approval.first-yes.test.mjs, FY2/FY3):

  • Mothership's case: the re-ask without --new-because is refused as decided; the text says the answer approves nothing at merge, names --new-because "<why>", and never --approved. With --new-because it is accepted, the reason recorded, and the owner's pick lands at merge.
  • Still refused as decided, with the same text: an Edit; a chat relay (--from-chat --said "yes but drop V9"); a pick with the edited draft attached as files; a bare Yes to "Keep asking the owner before adopting each kit release?" (governance-edit).
  • A different decision worded alike: the old one is named, "approves nothing at merge", no --approved.

Mutants, one at a time, each killed by the named assertion:

  • S1 refusal cites --approved again: "the refusal points at --new-because"
  • S2 a chat relay lets the re-ask through: "Q1 a chat relay: refused as decided"
  • S3 a pick with files lets it through: "Q2 a pick with files: refused as decided"
  • S4 a bare Yes lets it through: "R1 a bare Yes to keep as is: refused as decided"
  • S5 a plain "Yes, add as drafted" lets it through (the old unusableYes): "the same decision: refused as decided"
  • S6 the similar warning cites --approved: "FY3 a different decision, worded alike"
  • S7 --new-because dropped: "--new-because kept"

Run locally, one file at a time: world-approval.first-yes 2/2, search 7/7, world-approval.asks 5/5. origin/main merged (no new commits).

Opened by the box operator.

@hhff

hhff commented Dec 5, 2026

Copy link
Copy Markdown
Member Author

PR #972 review S: approval-class asks need a recommendation; old recommendation-less answers point to --new-because

  • Reviewer: operator-review-S (fresh subagent, claude-opus-5-5), not the author
  • Head: 2df1361
  • Date: 2026-12-05T13:10Z

What I ran vs only read

Read: the whole diff against origin/main; ownerAnswer, questionView (how matched and the drawn labels work), authorise (decide/act --approved), worldFileFails, the merge --approved paths, askLikeWarnings/reaskWords/answerSpent, the order of checks in askLine, every internal appendLog of a question and every flow that fills flags before calling askLine (recurring propose, browser handover, link --approved), and the constitution's owner_only list. Grepped kit code, process docs and tests for any ask … --class <one of the eight> hint with no recommendation.

Ran, with the hub pointed at a throwaway port and DEVTEAM_IMAGE_HUB unset:

  • test/world-approval.first-yes.test.mjs 2/2 pass; test/search.test.mjs 7/7; test/world-approval.asks.test.mjs 5/5.
  • Mutations, one at a time on first-yes, each restored afterwards (git status clean):
    • M1 if (approvalRec.refusal) die(...) dropped: FY1 red.
    • M2 the approvesNothing branch in reaskWords disabled, so main's text comes back: FY2 red.
    • M3 the approvesNothing branch in the similar-question warning disabled: FY2/FY3 test red.
    • M4 the "none of the choices" check disabled: FY1 red.
  • Probe, the same fixture on origin/main and on the head: a strategy-change ask with --options "Approve" "Edit" --recommendation "Approve it as drafted". On main it is accepted, the card draws the recommendation as a third choice (questionView: "the recommendation when no label is it"), the owner's --choice "Approve it as drafted" is matched: true, and merge passes. On the head it is refused (F1).
  • CI at the head: test success, box-image success.

Against the four questions:

  • (a) Approval without a matching, supervisor-given recommendation: none. ownerAnswer, questionView's matched, goalChangeProblem and authorise are unchanged. The PR only adds a refusal and changes text. The kit never fills in a recommendation.
  • (b) Re-asking more easily than on main: none. The already-decided check (same, nearlySameQuestion, answerSpent, REASK_EXEMPT) is unchanged, and the only way past it is still main's --new-because. Door questions are excluded from approvesNothing, so their cite text is unchanged.
  • (c) Deadlock: none found. Every hint that tells the supervisor to ask in one of the eight classes either carries --recommendation now (strategy-unwritten, goal set, G18b, remediations, link proposal --recommendation yes) or is prose ("ask self-change"), where the refusal names the flag. Kit-written questions (link --approved, fix-regressed) don't go through askLine and carry a recommendation anyway. --acks, --link-change and kit-written choices leave flags.choices/flags.options empty, so the label check passes. review, one-way-door, proposal and clarification kinds are exempt. The goal-change --order flow gets the refusal and adds the recommendation.
  • (d) Misleading the supervisor into telling the owner something false: none. "approves nothing at merge" is true: ownerAnswer needs matched, which is false whenever a question has no recommendation. The text also says a No or an Edit stands.

Findings

Id Severity Rule Where Finding
F1 Minor quality.md §1 (correct but worse than it should be) devteam.mjs askApprovalRecommendation, the "none of the choices" branch It refuses a recommendation that is none of the --options/--choices and says "the owner's pick of any of them would approve nothing and they would be asked again". The card draws such a recommendation as its own choice, and the owner's pick of it matches and lands. Probe: on main it is accepted, matched: true, and merge passes. The refusal is stricter, not looser, and the supervisor can comply by adding the recommendation to the choices, so no approval or owner protection is weakened. The rationale is false, though, and so is the PR body's "otherwise every pick would approve nothing". Either word it as a style rule ("make the recommendation one of the choices") or allow it as main does.

Notes

  • Suggestion: the new similar-question warning for an approvesNothing question drops main's "if it was this very call…" line. A near-duplicate that slips past nearlySameQuestion goes to the owner with no --new-because header, the same as on main. The warning could say "if it was this very decision, tell the owner so, quoting their answer".
  • Not covered by tests: the four hint texts that gained --recommendation (strategy-unwritten, goal set, G18b, remediations). Reverting any of them leaves every test green. They are text only.
  • decide/act --approved (authorise) still accept a recommendation-less owner-only answer, as on main. This PR neither widens nor narrows that. The new refusal text says "at merge", which stays accurate.
  • I did not exercise a dashboard pick end to end, a thread ask, or a live fleet.

Opened by the box operator.

Verdict: APPROVE 2df1361

@hhff

hhff commented Dec 5, 2026

Copy link
Copy Markdown
Member Author

PR #972 review T: completeness vs main, docs vs engine, prior findings K to R, mutations

  • Reviewer: operator-review-T (fresh subagent, claude-opus-5-5), not the author
  • Head: 2df1361
  • Date: 2026-12-05T13:23Z

What I ran vs only read

Read: the PR body, all review comments (a1 to j, then K, L, M, N, O, P, Q, R and the author's replies), git diff origin/main...HEAD (merge-base = origin/main 37ce3e9), quality.md §1 and §3, constitution.md's owner_only list. I also read the code around the change: askLine (default kind, ordering of the new die), ownerAnswer, questionView's matched/drawn labels, reaskWords, askLikeWarnings/like/REASK_EXEMPT/settlesClass, authorise, goalChangeProblem, worldFileFails, the merge settings, kit-file and chore paths, and the kit's own question writers (link, recurring propose, browser handover, fix-regressed).

Leftovers from the removed designs: grep for unusableYes, YES_PLAIN, YES_LABEL, unusableYesReplaced, legacyYes, autoApprovalYes, carry-over and auto-recommendation finds nothing in docs/ or the PR's tests. ownerAnswer and goalChangeProblem are byte-identical to main. The diff is 4 files: devteam.mjs, supervisor.md, search.test.mjs and the new test.

Hints and docs: I scanned every backticked ask … --class <one of the eight> in devteam.mjs and docs/**/*.md. Each one carries --recommendation: the strategy-unwritten, goal set, G18b, remediations and registry link-edit hints, and supervisor.md's Self/Exterior, governance-edit and merge-chore examples. The only ones without it are prose mentions with no command. The help text, §6 and the PR body agree with the engine on all of these:

  • the refusal comes after the already-decided check, the goal-change --change check and --from;
  • the label check is trim plus lower-case, the same norm that matched uses;
  • a clarification passes;
  • old answers stay decided;
  • the refusal points at --new-because, never at --approved.

Kit-written questions in the eight classes all carry a recommendation, or pass through askLine with one (the link edit uses 'yes'). --acks and --link-change asks already require one. Proposals and clarifications are REASK_EXEMPT, so the gap the PR states can't loop back through reaskWords.

Tests run (testslot, nice 19, hub env pointed away), at the head:

  • world-approval.first-yes 2/2 pass
  • search 7/7
  • world-approval.asks 5/5
  • next-step.strategy 6/6

Mutations (one at a time, restored after each, tree clean at the end):

Mutant Change Result
T1 drop if (approvalRec.refusal) die(…) RED, FY1
T2 refuse every kind (drop the kind !== 'owner-decision' guard) RED, FY1 (clarification)
T3 recommendation need not be a choice RED, FY1
T4 approvesNothing always false RED, FY2
T5 drop merge-chore from the list RED, FY1
T6 drop goal-change from the list RED, FY1
T7 drop the askLikeWarnings approvesNothing branch RED, FY2/FY3
T12 approvesNothing ignores whether a recommendation exists first-yes green; RED in search test 5 (a recommended governance-edit answer must still say "cite the answer instead")
T8 list cut to strategy/governance/goal/merge (drop self-, exterior-change, process-edit, gate-change) green (first-yes)
T9 approvesNothing drops the class-in-list condition green (first-yes, asks, search)
T10 approvesNothing drops the owner-decision kind condition green (asks, search)
T11 strategy-unwritten hint drops --recommendation green (next-step.strategy)

CI at the head: test success, box-image success.

Prior findings at this head:

  • K1 (legacy carry-over lands the whole draft): moot. The carry-over is deleted, and FY2 shows an old "Yes, add as drafted" landing nothing at merge or check-pr.
  • L1 (untested kind guard on the legacy path): moot, since the path is gone. The analogous guard in the new refusal is tested (T2 goes red).
  • N1 (reaskWords loop): resolved. The approvesNothing branch names --new-because, never --approved; T4 goes red.
  • M-1 (warning scripts a false reason): resolved. The new warning says only "approves nothing at merge; use it in your recommendation"; T7 goes red.
  • M-2 (§6 re-ask after a No): resolved. §6 says "A No or an Edit there is the owner's decision and stands".
  • O1, P-1, Q1, Q2, R1 (answers misread by label or field): moot. No classification of old answers remains, and every answered question stays decided as on main. FY2 covers the Edit, the chat relay, the pick with files and the bare Yes.
  • R2 (§6 overstated; non-plain labels still looped): resolved. §6 now matches the engine, and the loop text is gone for every answer in the eight classes, whatever its label.

Findings

Findings: none (no Critical or Important).

Notes

Minor items. None blocks: the code at the head is correct in each case.

  • T8 survives. FY1 covers 4 of the 8 classes. self-change, exterior-change, process-edit and gate-change are in the list but no test sees their refusal. A one-line loop over the remaining four classes in FY1 would pin the whole list.
  • T9 and T10 survive. Nothing pins approvesNothing's scope to owner-decisions in the eight classes. If it widened, a recommendation-less answer in a ladder class would be told it "approves nothing at merge" and to re-ask. In fact decide/act --approved (authorise) takes such an answer without checking matched. A re-ask test on a classless or ladder-class owner-decision with no recommendation, asserting "cite the answer instead", would catch it.
  • T11 survives. None of the four updated hint commands (strategy-unwritten, goal set, G18b, remediations) is asserted by a test.
  • approvesNothing's !isDoorQuestion(v) is dead code. kind === 'owner-decision' plus a class from the list already excludes doors.
  • Comment and refusal wording on the label check. The comment says "every pick would approve nothing". That isn't quite right: the dashboard also draws a recommendation that isn't a label as an extra choice (questionView's drawn), and picking that one matches. The refusal is still the right call, since a near-duplicate choice invites a mismatched pick, but the stated reason is slightly off.
  • The approvesNothing refusal quotes v.answer. For a --from-chat/thread relay that is the label the supervisor recorded, not the owner's said words. Quoting said when it exists would show the supervisor what the owner actually said before it decides whether they "meant yes".
  • Hints not updated. The goal order refusal hints ("ask one goal-change --order question") don't mention --recommendation. The ask refusal names it, so a supervisor still gets there.
  • Dated wording. "now require one at ask time" in supervisor.md §6 will read oddly once the change is old.

Not checked: a dashboard pick end to end, a thread relay, and a real fleet merge (as the PR body says). I didn't rerun the full suite; CI's test job is green at the head.

Opened by the box operator.

Verdict: APPROVE 2df1361

@hhff

hhff commented Dec 5, 2026

Copy link
Copy Markdown
Member Author

PR #972 review d1: delta since APPROVE at 2df1361

  • Reviewer: operator-review-d1 (fresh subagent, claude-opus-5-5), not the author
  • Head: 8a170e3
  • Date: 2026-12-05 14:14 UTC

Delta confirm only: the last approvals were reviews S and T, both APPROVE 2df136116e7847d1c5f491fd8272cedde152fa11. The new head is a plain merge of origin/main (2161a59) into 2df1361.

What I ran vs only read

Findings

Findings: none.

Notes

  • This review covers only the merge delta. The substance of the PR stands on reviews S and T at 2df1361.

Opened by the box operator.

Verdict: APPROVE 8a170e3

@hhff
hhff merged commit 9bddad5 into main Dec 5, 2026
46 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant