Skip to content

feat(planning): check draft interview rounds against earlier answers and label sweep rounds #9695

Description

@kyle-sexton

Part of #6052

Problem

Finding I1 (with Q13) of #6052: a round's recommendations are not checked against answers accepted in earlier rounds before the round is shown. Checked against: cites constraint rows only (skills/interview/SKILL.md), and the only contradiction check is the assumption sweep, which runs once the frontier is empty (skills/interview/context/assumption-sweep.md). In the #6049 run the sweeps found 12, then 6, then 4 items, three of them conflicts between earlier answers, and the operator accepted sweep rounds in 12 to 20 seconds with no framing that they reconcile earlier answers.

Chosen approach

Options 1 and 4 from #6052 (the agent's technical choice). Option 2, writing restricting answers as constraint rows with a stored checked-against list and reusing Upstream changed, is owned by #5769 (owner decision D4 there); not repeated here.

  • Option 1: before each add-round after the first, run only the assumption sweep's contradiction category, in a fresh non-fork subagent, over the draft round against the register's answered rows. A contradiction is fixed in the draft (revised recommendation, or a question that names both sides) before the round is posted.
  • Option 4: a round whose questions come from the sweep carries meta.kind: "sweep"; the page labels it Sweep: reconciling earlier answers and shows each conflicting earlier answer beside the question.

Scope

  • skills/interview/SKILL.md and context/assumption-sweep.md: the pre-round contradiction pass (option 1), reusing the contradiction category's text by pointer, not a copy.
  • surface/round.py and the round schema: accept meta.kind: "sweep" and a per-question reconciles list of earlier question ids.
  • surface/index.html: the sweep label and the earlier answers' text beside each question that lists reconciles.
  • An eval case for the pre-round pass (statically valid; this slice runs no paid eval).
  • Tests; version bump and changelog fragment for planning.

Done when

  • grep -n -i 'contradiction' plugins/planning/skills/interview/SKILL.md prints a line in the step that precedes add-round.
  • A new test_round.py test posts a round with meta.kind: "sweep" and a question with reconciles: ["Q1"] and exits 0; a reconciles id that is not in the register is refused with a message naming it.
  • A new page test asserts that round renders Sweep: reconciling earlier answers and Q1's decision text beside the question.
  • python3 -m pytest plugins/planning/surface -q exits 0.
  • bash scripts/affected-tests.sh --run exits 0.

Activity

  1. added
    status: ready
    on Oct 24, 2026
  2. github-actions commented on Oct 24, 2026

    @github-actions
    Contributor

    Proposed work class: work-class: scoped
    Basis: automated intake triage; a maintainer confirms or changes it.

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

    Understood: before each add-round after the first, the interview skill runs the assumption sweep's contradiction category over the draft round. Sweep-derived rounds get meta.kind: "sweep" and a per-question reconciles list. The page labels them and shows the earlier answers beside each question. The change covers the planning plugin's skill docs, round.py and schema, index.html, tests, an eval case, and the version bump and changelog. The approach and done-when items are exact, and I found no open question. The issue carries both priority: high and priority: medium. This triage sets one, medium, because the work doesn't block the pipeline. No likely duplicates found beyond the parent #6052.

    Automated triage. A maintainer reviews it.

  3. added
    needs-owner-decision
    and removed
    status: ready
    on Oct 24, 2026
  4. removed
    needs-owner-decision
    on Oct 25, 2026
  5. kyle-sexton commented on Oct 25, 2026

    @kyle-sexton
    MemberAuthor

    Released for re-triage under the owner's 2026-10-24 rule: an issue stops for a person only for an intent or vision question, a security call, a host or attended run, or spend outside prepaid credit. The hold label came off and intake triage runs again now; it re-applies a hold, with a numbered question, when one of those applies.

    To hold this issue again, add needs-human (or status: needs-decision) and say why in a comment.

  6. added
    status: ready
    agent-ready
    and removed on Oct 25, 2026
  7. melodic-automation-lanes commented on Oct 26, 2026

    @melodic-automation-lanes
    Contributor

    The token broker refused the work-resolve-issue run that agent-ready started because the lanes kill switch was on, so it did no work. work-unblock removed and added agent-ready back to start a fresh run. A kill-switch refusal is no fault in this issue or the lanes, so it never counts against later re-fires; after limits.limit-stops-per-issue of them since a person last added agent-ready or a run last reported, work-unblock waits longer before each one, up to 24 hours.

  8. added
    agent-ready
    and removed
    agent-ready
    on Oct 26, 2026
  9. melodic-automation-lanes commented on Oct 26, 2026

    @melodic-automation-lanes
    Contributor

    The work-resolve-issue run that agent-ready started ended over 3 hours ago with no report and no pull request. work-unblock removed and added agent-ready back to start a fresh run on main's workflow files. If this run ends the same way, it re-fires the issue again, waiting longer each time.

  10. added
    agent-ready
    and removed
    agent-ready
    on Oct 26, 2026
  11. melodic-automation-lanes commented on Oct 27, 2026

    @melodic-automation-lanes
    Contributor

    The work-resolve-issue run that agent-ready started failed or was cancelled before it reported, or it stopped or the token broker refused it because its workflow files differ from main's. work-unblock removed and added agent-ready back to start a fresh run on main's workflow files. If this run ends the same way, it re-fires the issue again, waiting longer each time.

  12. added
    agent-ready
    and removed
    agent-ready
    on Oct 27, 2026
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

    Fields

    No fields configured for Feature.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions