You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(orchestrator): treat a refused Approved board move on live-chat approval as blocking #1264
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).
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.
Activity
dnyw4l3n13 commentedon Nov 24, 2026
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 failedcfwf 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
cfwfrefuses it (exit 10, only a human can move to Approved) or the call fails, do not continue to implementation: leaveBlockedin 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, removeBlockedand 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-approvalskill 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 Approvedcall 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.credfeto commentedon Nov 25, 2026
q1 yes
docs(orchestrator): block live-chat approval when the Approved board …