Skip to content

fix(orchestrator): treat a refused Approved board move on live-chat approval as blocking #1264

Done

Description

@credfeto

Original prompt

thats approved in github... that should also be BLOCKING if you can't move the card as you're supposed to be tracking the work against that

Given in live chat while working on funfair-tech/funfair-server-template#1094.

What happened

On a live-chat plan approval in an interactive session, the credfeto-issue-plan-approval skill (P5) says to set the Workflow board status to Approved with cfwf workflow-status --set. cfwf refuses that move ("only a human can move an item to Approved", exit 10). The orchestrator reported this as a non-blocking note and carried on with implementation, leaving the card on Planning while the work proceeded.

Requested behaviour

When the board is configured and the card cannot be moved to Approved on a live-chat approval, the work is blocked: the human must move the card before implementation starts, because the board is what the work is tracked against.

Likely scope

  • ai/global/agent-roles.instructions.md / task-workflow.instructions.md and the credfeto-issue-plan-approval skill (live-chat approval, P5): a refused or failed --set Approved stops the work and goes in the 🛑 NEEDS YOU block, instead of being reported as non-blocking.
  • Consider whether cfwf's refusal and the skill's instruction to set Approved should be reconciled (the skill tells the agent to do something the tool forbids).

Blocked per AI-Initiated Issues / Ad-Hoc Prompt Intake until a plan is approved.

Activity

  1. added
    AI-Work
    High
    Blocked
    and removed
    Blocked
    on Nov 20, 2026
  2. self-assigned this
    on Nov 24, 2026
  3. dnyw4l3n13 commented on Nov 24, 2026

    @dnyw4l3n13
    Collaborator

    Implementation Plan

    Files to change

    • ai/global/agent-roles.instructions.md - Waiting for Approval in an Interactive Session P5: replace the "set Approved" bullet so a refused or failed cfwf workflow-status --set ... --status Approved (board configured) stops the work and is raised in the NEEDS YOU block; implementation must not start until the card reads Approved. Also reconcile with the Blocked Label P4 live-chat mirror text if it describes the board step.
    • ai/global/task-workflow.instructions.md - add or adjust the cross-reference in Plan First P4/P5 so the board move is part of the live-chat approval gate.
    • ai/global/communication.instructions.md - only if its NEEDS YOU block rules need a line naming this blocker.
    • CHANGELOG.md - entry for the change (via the changelog tool).

    Approach

    In P5 (live-chat approval), when a board is configured, attempt the Approved move. If cfwf refuses it (exit 10, only a human can move to Approved) or the call fails, do not continue to implementation: leave Blocked in place (do not remove it), post the mirror comment noting the card could not be moved, list it in the NEEDS YOU block asking the human to move the card to Approved, and keep waiting as in P2. Once the card reads Approved on a live read, remove Blocked and proceed. The skill/instruction no longer treats the refusal as a non-blocking note. For the reconciliation question, document that the agent attempts the move but a refusal is the expected path and means the human must move the card, rather than changing cfwf.

    Test strategy

    Documentation-only change: run the repo's markdown lint / pre-commit checks and the changelog lint; manually re-read the edited sections for consistency with P2/P3/P5 and Blocked Label P4/P6.

    Assumptions

    a. The credfeto-issue-plan-approval skill lives outside this repo (in the rules/skills source), so only the instruction files here are changed.
    b. cfwf's refusal behaviour is intentional and stays as it is.

    Open questions

    Q1. Should the agent still attempt the --set Approved call first (and block only on refusal), or skip the attempt and ask the human to move the card straight away? The plan assumes it attempts first.

  4. added
    Blocked
    on Nov 24, 2026
  5. credfeto commented on Nov 25, 2026

    @credfeto
    OwnerAuthor

    q1 yes

  6. removed
    Blocked
    on Nov 25, 2026
  7. added a commit that references this issue on Nov 25, 2026
    1a0d3d0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

AI-WorkHigh

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions