Skip to content

fix(planning): interview lets a session overrule an assumption-sweep decision item and still pass the gate #8293

Closed

Description

@kyle-sexton

The interview's assumption sweep caught an undecided owner decision, and the interviewing session settled it itself with a claim no source supports. The Step 3 gate passed anyway. The gap then reached a build: three size: labels were deployed that the owner never chose.

What happened

Owner interview, 2026-10-18, Automation Lanes (session 614bb603). Ledger: .work/automation-lanes-alignment/interview-checklist.md (gitignored, local).

  1. The interview decided "Turn caps by size from config (small 75, medium 150); large issues are split during planning" (Q22-Q24). It never decided where an issue's size is recorded (label, issue field, issue type or project field), or who sets it.
  2. 19:39:31Z: the fresh-context assumption sweep ran as the skill requires (plugins/planning/skills/interview/SKILL.md:368: "the loop ends with a fresh-context assumption sweep ... dispatch a non-fork sub-agent").
  3. 19:40:33Z: the sweep returned the exact gap: "S10 | undecided | decision | Q22 | ... blocking: yes | hidden-default: yes. Nothing says who or what classifies an issue as small, medium or large, or from what signal."
  4. 19:41:39Z: the session dispositioned S10 as "Settled from facts ... the triage lane already sets each issue's size (decided 2026-10-17)." No source supports that claim. The session's own earlier code research found the opposite ("Does it vary by size? No.").
  5. A decision item must become "a register row at the next contiguous Q<N>, written open and asked in the next round with a recommendation" (context/assumption-sweep.md:80-82). No row or F-line was written, and the checklist still shows - [ ] Step 2 exit: Assumption sweep (line 12).
  6. The gate check-open-questions.sh --procedure passed clean. It checks round numbering and Brief headings, not how sweep items were dispositioned.
  7. Downstream, a second miss: the build planner flagged it ("No size signal exists"; open decision "Who applies the size label"). The orchestrating session (aba912eb, 20:21Z) then went ahead on the planner's recommendation without asking the owner. Result: github-iac#705 (deployed labels), feat(work-items): triage sets the Size, Complexity and Uncertainty issue fields #8280 and feat(pr-pipeline): budget issue runs by issue fields and resume capped runs #8281 (held unmerged pending the owner's decision).

Root causes

  • The sweep's decision disposition can be overridden in the main loop by an uncited "settled from facts" claim. A fact-settled disposition needs a quoted source that is checked.
  • The gate does not verify that every sweep item ends as a register row, a sourced F-line, or a deferral. The unchecked "Step 2 exit" box does not fail the gate either.
  • Interview output carries no record of which sweep items were settled without the owner, so a later session cannot see what was decided.

Fix wanted

  1. The gate fails unless every sweep item has a disposition: a Q<N> row, an F-line quoting a source with file:line or a URL, or a named deferral.
  2. A fact-settled disposition carries the quoted source, and a fresh-context check confirms the quote exists, as /planning:audit-answers does for answers.
  3. The gate fails while any Step-exit checkbox is unchecked.
  4. An eval case: a sweep returns an undecided decision item, and the session tries to settle it with an unsupported fact. It must instead write a row and ask.

Audit with full quotes and transcript line numbers: kept locally at .work/automation-lanes-alignment/AUDIT-size-carrier-gap.md in the owner's checkout.

Refs: #4423 (the fix that introduced the sweep), #8280, #8281

Activity

  1. added
    needs-triage
    on Oct 18, 2026
  2. github-actions commented on Oct 18, 2026

    @github-actions
    Contributor

    Proposed work class: work-class: scoped
    Basis: automated intake triage; the lanes App applied this class.

    Size: Medium
    Complexity: Medium
    Uncertainty: Known
    Flags: none
    Blocked by: none

    I understood this as a gap in the planning interview gate. An assumption-sweep decision item can be settled without the owner, and check-open-questions.sh still passes. The four fixes in the body are the work.

    Decision recorded.

    The gate gap is still open at origin/main: plugins/planning/scripts/check-open-questions.sh has no match for "sweep", "disposition" or "Step N exit", so it does not check how sweep items were settled. The body's four fixes are the criteria. Agents decided this on evidence under standing direction §1.

    Done when

    • check-open-questions.sh fails unless every assumption-sweep item has a disposition: a Q<N> register row, an F-line quoting a source with file:line or a URL, or a named deferral. check-open-questions.test.sh has a failing and a passing case.
    • A fact-settled disposition carries its quoted source, and the interview runs a fresh-context check that the quote exists, as /planning:audit-answers does for answers; plugins/planning/skills/interview/context/assumption-sweep.md states it.
    • The gate fails while any Step-exit checkbox in the ledger is unchecked, with a test case.
    • An eval case (written, not run) in the interview's evals: a sweep returns an undecided decision item, the session tries to settle it with an unsupported fact, and the expected output writes a register row and asks instead. plugins/skill-quality/scripts/check-evals-quality.sh passes.
    • scripts/check-changelog-fragments.sh --check passes with a planning fragment.

    #8293 (comment)

    This decision settles the open questions. I found no likely duplicate among the open issues.

    Automated triage, applied by the lanes App.

  3. added
    needs-human
    and removed
    needs-triage
    on Oct 18, 2026
  4. added
    status: confirmed
    and removed
    needs-human
    on Oct 19, 2026
  5. kyle-sexton commented on Oct 31, 2026

    @kyle-sexton
    MemberAuthor

    Decision recorded.

    The gate gap is still open at origin/main: plugins/planning/scripts/check-open-questions.sh has no match for "sweep", "disposition" or "Step N exit", so it does not check how sweep items were settled. The body's four fixes are the criteria. Agents decided this on evidence under standing direction §1.

    Done when

    • check-open-questions.sh fails unless every assumption-sweep item has a disposition: a Q<N> register row, an F-line quoting a source with file:line or a URL, or a named deferral. check-open-questions.test.sh has a failing and a passing case.
    • A fact-settled disposition carries its quoted source, and the interview runs a fresh-context check that the quote exists, as /planning:audit-answers does for answers; plugins/planning/skills/interview/context/assumption-sweep.md states it.
    • The gate fails while any Step-exit checkbox in the ledger is unchecked, with a test case.
    • An eval case (written, not run) in the interview's evals: a sweep returns an undecided decision item, the session tries to settle it with an unsupported fact, and the expected output writes a register row and asks instead. plugins/skill-quality/scripts/check-evals-quality.sh passes.
    • scripts/check-changelog-fragments.sh --check passes with a planning fragment.
  6. removed
    status: confirmed
    on Oct 31, 2026
  7. added
    status: ready
    admission-deferred
    agent-ready
    and removed
    admission-deferred
    on Oct 31, 2026
  8. melodic-automation-lanes commented on Oct 31, 2026

    @melodic-automation-lanes
    Contributor

    Refinement. A read-only run explored this repository, searched its issues and pull requests, and read the allowed docs to draft what follows. On an issue a listed human filed, it counts as the issue's spec once posted, while unedited; it is still model text, so check it.

    Intended outcome: The interview gate fails when an assumption-sweep item has no sourced disposition or a Step-exit box is unchecked, and the interview docs and evals require a quoted, checked source for any fact-settled item.

    Acceptance criteria

    • plugins/planning/skills/interview/context/assumption-sweep.md Disposition section defines a ledger record for each S<N> item (for example a ## Sweep dispositions section) with exactly one of: a Q&lt;N> register row, an F-line quoting a source with file:line or a URL, or a named deferral.
    • plugins/planning/scripts/check-open-questions.sh with --procedure exits 1 and names the item on stderr when a recorded sweep item has no disposition, or its F-line has no quoted source with file:line or URL.
    • check-open-questions.sh --procedure accepts a Q<N> row disposition only when that row exists in the register, and a deferral only when it is named.
    • plugins/planning/scripts/check-open-questions.test.sh has one failing case (undecided sweep item) and one passing case (all items dispositioned), and the file passes when run.
    • assumption-sweep.md states that a fact-settled disposition carries its quoted source and that a fresh-context non-fork sub-agent checks the quote exists, as /planning:audit-answers does for answers.
    • The interview procedure (SKILL.md or context/loop.md) runs that quote check before the Step 3 gate, and a sweep item of class decision cannot be fact-settled without a checked quote; the docs say so.
    • check-open-questions.sh --procedure exits 1 and names the line when any Step-exit checkbox (- \[ \] Step N exit: ...) in the ledger is unchecked, and passes when all are checked.
    • check-open-questions.test.sh has a failing case (unchecked Step exit box) and a passing case (all checked) for the Step-exit rule.
    • plugins/planning/skills/interview/templates/checklist.md is updated so the ledger template has the sweep-disposition section and the Step-exit checkbox shape the gate reads.
    • plugins/planning/skills/interview/evals/evals.json has a new case (written, not run): the sweep returns an undecided decision item, the session is tempted to settle it with an unsupported fact, and the expected output writes a register row and asks.
    • plugins/skill-quality/scripts/check-evals-quality.sh passes.
    • scripts/check-changelog-fragments.sh --check passes with a planning changelog fragment.

    External state: none

    Related work

    Sources read

    • plugins/planning/skills/interview/context/assumption-sweep.md:80-105: Disposition says a decision item becomes an open register row at the next Q<N>; S<N> never reaches the register, so the ledger has no sweep-disposition record yet.
    • plugins/planning/scripts/check-open-questions.sh:74: --procedure is opt-in and checks only what a script can derive from the ledger; it has no sweep or Step-exit check.
    • plugins/planning/scripts/check-open-questions.test.sh: exists, so the test cases go here.
    • plugins/planning/skills/interview/evals/evals.json: existing interview evals file, where the new case goes.
    • context.json comment by kyle-sexton: Decision recorded; the five Done-when items are the criteria.

    Automated refinement by the lanes App. Admission counts only criteria a listed human wrote: to confirm these, post them as your own comment whose first line is **Decision recorded.**, which sends the issue back through intake.

  9. github-actions commented on Oct 31, 2026

    @github-actions
    Contributor
    No description provided.
  10. github-actions commented on Oct 31, 2026

    @github-actions
    Contributor
    No description provided.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    agent-readystatus: ready

    Type

    Fields

    No fields configured for Bug.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions