agent_signal

Guide

CrewAI human_feedback: resume skips your listeners, and a second kickoff returns the old output

By Agent Signal · Published 2026-11-28 · Updated 2026-11-28

Short answer

In crewai 1.15.45, resuming a routed @human_feedback with Flow.from_pending(...).resume() dispatches only the outcome label, so listeners on the method name and and_(review, "approved") joins never run: 30 of 30 deferred runs ended with RESULT 'draft' [] while the flow still reported completion (issue #9245). Putting @listen("approved") on both steps makes them run, but concurrently, so only roughly 17-27 of 30 runs had the exact order across seven passes of 30, and the order isn't fixed; chaining audit on or_("approved", "rejected") and publish on and_("audit", "approved") gave 'published' ['audit', 'publish'] in 30 of 30 runs, deferred and immediate, in both passes. Separately, with checkpointing on, a second kickoff() on the same Crew returned the previous output with no new LLM call in 30 of 30 runs (issue #9385). Building a fresh Crew and Agent for each kickoff ran fresh in 30 of 30 runs; clearing checkpoint_kickoff_event_id on the same Crew worked in 0 of 30.

Your CrewAI flow pauses for a human with @human_feedback. The reviewer approves later, and you resume the flow. It reports success, but the audit and publish steps never ran. Or your crew has checkpointing on, and the second kickoff() hands back the first run's answer without calling the model. These are two separate open bugs. This guide reproduces both and gives a tested workaround for each. Everything below ran on crewai 1.15.45 (current; uploaded to PyPI Nov 24, 2026), Python 3.13.5, Nov 28, 2026.

We ran every test row 30 times, in two independent passes. All rows were identical in both passes except two: the rows where both steps listen to "approved" and run at the same time. There, only the counts for the order of the steps changed between passes.

Who this hits

Bug 1, issue #9245. You are affected if all of these are true:

  1. A flow method uses @human_feedback with emit=[...], so the reply is routed to an outcome such as "approved" or "rejected".
  2. The reply comes later. Your provider raises HumanFeedbackPending, and you resume with Flow.from_pending(...).resume().
  3. A listener names the method itself, as in @listen(review), or joins on it, as in and_(review, "approved").

If your provider returns the reply at once, the same flow works.

Bug 2, issue #9385. You are affected if a Crew or a standalone Agent has checkpoint=CheckpointConfig(...) and you call kickoff() more than once on the same instance. A long-lived crew in a web server or a worker is the common case.

Bug 1: deferred human_feedback resume skips method listeners

This is crewAIInc/crewAI#9245, opened Nov 8, 2026 and still open on Nov 28, 2026, with no comments. It was reported on crewai 1.15.37. The issue states the expected and actual output plainly. Expected, as with an immediate reply:

RESULT 'published' ['audit', 'publish']

Actual, after the deferred reply: the script "prints RESULT 'draft' [] and raises AssertionError". The issue adds: "The flow nevertheless reports successful completion."

Why it happens

The issue's own diagnosis: in Flow._resume_async_body, the if emit and collapsed_outcome branch dispatches only the outcome label. The trigger for the method name lives in the else branch. So on resume, a routed review fires "approved" but never fires review. Any listener that names review, directly or inside and_(), waits forever. Normal execution fires both, which is why the immediate reply works.

Reproduce it

No model and no API key. An empty reply picks default_outcome. Trimmed from the issue's script:

class DeferredReview:
    def request_feedback(self, context, flow):
        raise HumanFeedbackPending(context=context)

class ReviewFlow(Flow):
    @start()
    @human_feedback(
        message="Approve this draft",
        provider=DeferredReview(),
        emit=["approved", "rejected"],
        default_outcome="approved",
    )
    def review(self):
        self.state["steps"] = []
        return "draft"

    @listen(review)
    def audit(self, outcome):
        self.state["steps"].append("audit")

    @listen(and_(review, "approved"))
    def publish(self, result):
        self.state["steps"].append("publish")
        return "published"

persistence = SQLiteFlowPersistence(str(Path(directory) / "reviews.db"))
pending = ReviewFlow(persistence=persistence).kickoff()
restored = ReviewFlow.from_pending(pending.context.flow_id, persistence)
result = restored.resume()
print("RESULT", repr(result), restored.state["steps"])

The issue's script, run as is, printed RESULT 'draft' [] and raised AssertionError. Our suite ran the same flow 30 times on a fresh SQLite file per run, plus the issue's control with a provider that replies at once. Copied from the result files (identical in both passes):

ROW 9245 issue deferred-resume approved | n=30 | expected(published,[audit,publish])=0/30 | both_listeners_ran=0/30 | completed_despite_empty_steps=30/30 | outcomes: [result='draft' steps=[] flow_finished_events=1] x30
ROW 9245 issue immediate-reply approved (control) | n=30 | expected(published,[audit,publish])=30/30 | both_listeners_ran=30/30 | completed_despite_empty_steps=0/30 | outcomes: [result='published' steps=['audit', 'publish'] flow_finished_events=1] x30

After the deferred reply, no listener ran in 30 of 30 runs. FlowFinishedEvent still fired in all 30. With the immediate reply, both steps ran in 30 of 30.

The reject path has the same gap. @listen(review) means "after review, whatever the outcome". With the issue's listeners and a "rejected" reply, audit ran in 30 of 30 immediate runs and 0 of 30 deferred runs.

The fix

The common workaround, and its catch. The obvious move is to listen to the outcome label instead of the method: @listen("approved") on both audit and publish. The issue's script with that change printed RESULT 'published' ['audit', 'publish']. In our suite, both steps ran in 30 of 30 deferred runs, in both passes. But the two listeners fire on the same event and run at the same time, so their order is not fixed:

pass 1: ROW 9245 fix outcome deferred approved | n=30 | exact(published,[audit,publish])=24/30 | same_set=30/30 | outcomes: [result='published' steps=['audit', 'publish'] flow_finished_events=1] x24; [result='published' steps=['publish', 'audit'] flow_finished_events=1] x5; [result=None steps=['publish', 'audit'] flow_finished_events=1] x1
pass 2: ROW 9245 fix outcome deferred approved | n=30 | exact(published,[audit,publish])=27/30 | same_set=30/30 | outcomes: [result='published' steps=['audit', 'publish'] flow_finished_events=1] x27; [result='published' steps=['publish', 'audit'] flow_finished_events=1] x3

Across seven passes of 30 (our two above plus five independent re-runs), roughly 17-27 of 30 runs had the exact order, and the order isn't fixed. In one pass 1 run, resume() returned None instead of 'published'. The immediate path swapped too: roughly 20-29 of 30 runs had the exact order across the same seven passes. If publish must not happen before audit, this workaround is not enough.

The tighter fix we tested. Run audit on any outcome without naming review, and make publish wait for audit:

from crewai.flow import Flow, and_, human_feedback, listen, or_, start

    @listen(or_("approved", "rejected"))
    def audit(self, outcome):
        self.state["steps"].append("audit")

    @listen(and_("audit", "approved"))
    def publish(self, result):
        self.state["steps"].append("publish")
        return "published"

The review method stays as in the issue. Copied from the result files (identical in both passes):

ROW 9245 fix chained deferred approved | n=30 | exact(published,[audit,publish])=30/30 | outcomes: [result='published' steps=['audit', 'publish'] flow_finished_events=1] x30
ROW 9245 fix chained immediate approved (parity) | n=30 | exact(published,[audit,publish])=30/30 | outcomes: [result='published' steps=['audit', 'publish'] flow_finished_events=1] x30
ROW 9245 fix chained deferred rejected | n=30 | audit_only=30/30 | outcomes: [result=None steps=['audit'] flow_finished_events=1] x30
ROW 9245 fix chained immediate rejected (parity) | n=30 | audit_only=30/30 | outcomes: [result=None steps=['audit'] flow_finished_events=1] x30

Approved: audit then publish, 'published', in 30 of 30 runs, deferred and immediate. Rejected: audit only, in 30 of 30. On reject, resume() returns None, because audit returns nothing.

Don't misread a reject as the bug. If you only have "approved" listeners and the reviewer rejects, nothing runs, and the result is 'draft' []. That is the correct silence, and we saw it in 30 of 30 runs, deferred and immediate. But it looks exactly like the bug's output. Check the outcome before you blame the bug. A @listen("rejected") observer ran alone in 30 of 30 runs on both paths.

Upstream status. Two fix PRs, #9246 and #9266, both opened Nov 8, 2026, were open and not merged on Nov 28, 2026.

Stuck on a CrewAI approval or resume flow? Send a minimal repro; you pay $79 only when our patch passes it.

Bug 2: a second kickoff on a checkpointed Crew returns the old output

This is crewAIInc/crewAI#9385, opened Nov 12, 2026 and still open on Nov 28, 2026. It was reported on crewai 1.15.40. It has one comment, from a non-maintainer, and no reply from the maintainers (comment).

The issue: "the second kickoff skips every task and returns the previous run's output with zero LLM calls. New inputs are interpolated into the task descriptions but never executed. No CrewKickoffStartedEvent is emitted."

Why it happens

The issue's diagnosis: every checkpoint save copies the live kickoff id into the public field checkpoint_kickoff_event_id, and nothing clears it after the run. The next kickoff() reads a non-None value as a resume request. On a Crew, every task still holds its previous output, so every task is skipped. The issue expects only an instance restored with from_checkpoint to resume. In our runs, the field was set after the first kickoff in every checkpointed run.

Reproduce it

The issue's script uses a stub LLM that counts calls. Its last lines:

crew = Crew(agents=[agent], tasks=[task],
            checkpoint=CheckpointConfig(location=tempfile.mkdtemp(), on_events=["*"]))

print(crew.kickoff(inputs={"topic": "cats"}).raw, len(calls))
print(crew.kickoff(inputs={"topic": "dogs"}).raw, len(calls))

Run as is, it printed answer-1 1 twice, with the bus warning about an empty scope stack in between. The second kickoff made no new LLM call. Our suite, copied from the result files (identical in both passes):

ROW 9385 crew same-instance checkpoint | n=30 | fresh_second_run(answer-2,2 calls,started)=0/30 | old_output_reused(answer-1,1 call)=30/30 | no_started_event_on_2nd=30/30 | scope_warning=30/30 | outcomes: [answer-1 1 -> answer-1 1 started_event_on_2nd=0 stale_id_after_1st=True scope_warnings=1] x30
ROW 9385 crew same-instance no-checkpoint (control) | n=30 | fresh_second_run(answer-2,2 calls,started)=30/30 | old_output_reused(answer-1,1 call)=0/30 | no_started_event_on_2nd=0/30 | scope_warning=0/30 | outcomes: [answer-1 1 -> answer-2 2 started_event_on_2nd=1 stale_id_after_1st=False scope_warnings=0] x30

With checkpointing, the second kickoff returned answer-1, made 0 new LLM calls and emitted no started event, in 30 of 30 runs. Without checkpointing, it ran fresh in 30 of 30: answer-2, 2 calls in total.

The fix

Build a fresh Crew, and its Agent, for each kickoff. From the workaround script:

def build():
    agent = Agent(role="r", goal="g", backstory="b", llm=StubLLM(model="stub"))
    task = Task(description="Say something about {topic}", expected_output="x", agent=agent)
    return Crew(agents=[agent], tasks=[task], checkpoint=CheckpointConfig(location=tempfile.mkdtemp(), on_events=["*"]))

print(build().kickoff(inputs={"topic": "cats"}).raw, len(calls))
print(build().kickoff(inputs={"topic": "dogs"}).raw, len(calls))

It printed answer-1 1, then answer-2 2. In our suite (identical in both passes):

ROW 9385 fix crew fresh-instance checkpoint | n=30 | fresh_second_run(answer-2,2 calls,started)=30/30 | scope_warning=0/30 | outcomes: [answer-1 1 -> answer-2 2 started_event_on_2nd=1 stale_id_after_1st=True scope_warnings=0] x30
ROW 9385 fix crew same-instance clear-ids checkpoint | n=30 | fresh_second_run(answer-2,2 calls,started)=0/30 | scope_warning=0/30 | outcomes: [answer-1 1 -> answer-1 1 started_event_on_2nd=1 stale_id_after_1st=True scope_warnings=0] x30

The fresh Crew ran fresh in 30 of 30 runs, with its own started event and no warning.

What didn't work: clearing the id on the same Crew. checkpoint_kickoff_event_id is a public field, so resetting it looks like the fix. We set it to None on the Crew and on each of its agents between kickoffs. The second kickoff now emitted a started event, but it still returned answer-1 with no new LLM call, in 30 of 30 runs. That is 0 of 30 fresh. Don't use it for a Crew.

Standalone Agent. The issue describes a different symptom for an Agent with checkpoint=: the two runs merge in listeners and traces. In our runs, the second agent.kickoff() on the same instance did run: answer-2, 2 LLM calls in total, in 30 of 30 runs. But it reused the first run's kickoff id and only one LiteAgentExecutionStartedEvent was emitted across both runs, with the empty-scope-stack warning, in 30 of 30. Without checkpointing, there were 2 started events and a new id in 30 of 30. Two fixes were clean in 30 of 30 runs: a fresh Agent per kickoff, or setting the agent's checkpoint_kickoff_event_id to None before the second kickoff. Clearing worked for a standalone Agent, not for a Crew.

Upstream status. The fix PR, #9386, opened Nov 12, 2026, was open and not merged on Nov 28, 2026.

A note on the verbatim scripts. When we ran the issue's script and the fresh-Crew script as is, a RuntimeError: cannot schedule new futures after shutdown from the event bus teardown appeared after the printed lines in three of four runs (both scripts in pass 1, the fresh-Crew script in pass 2). It came after the prints and did not change the printed results.

What we didn't test

FAQ

Why does my CrewAI flow skip listeners after a human_feedback resume?

Because of issue #9245, open as of Nov 28, 2026. When you resume with Flow.from_pending(...).resume(), crewai dispatches only the outcome label, such as "approved", and not the method name. Listeners on @listen(review) or and_(review, "approved") never fire. On crewai 1.15.45 this happened in 30 of 30 runs, and the flow still reported completion.

Is @listen("approved") on both steps a safe workaround?

Both steps ran in 30 of 30 runs, but they run at the same time, so the order is not fixed. Across seven passes, roughly 17-27 of 30 runs had the exact result 'published' ['audit', 'publish'], and the order isn't fixed. One run returned None. Use it only if the order of the steps doesn't matter.

What fix keeps audit before publish after a deferred resume?

Put audit on @listen(or_("approved", "rejected")) and publish on @listen(and_("audit", "approved")). That gave 'published' ['audit', 'publish'] in 30 of 30 runs, deferred and immediate, in both passes. On a reject, audit alone ran in 30 of 30.

Why does a second kickoff on my checkpointed Crew return the old output?

Because of issue #9385, open as of Nov 28, 2026. Each checkpoint save copies the kickoff id into checkpoint_kickoff_event_id, nothing clears it, and the next kickoff() is treated as a resume. In our runs the second kickoff returned answer-1 with no new LLM call in 30 of 30 runs. Without checkpointing it ran fresh in 30 of 30.

How do I run the same Crew twice with checkpointing on?

Build a fresh Crew, and its Agent, for each kickoff. That ran fresh in 30 of 30 runs: answer-2 after 2 LLM calls in total, with its own started event. The fix PR #9386 was open and not merged as of Nov 28, 2026.

Does clearing checkpoint_kickoff_event_id fix it?

Not for a Crew. Setting it to None on the Crew and its agents between kickoffs still returned the old output in 30 of 30 runs. For a standalone Agent, clearing the agent's field did give a clean second run in 30 of 30. For a Crew, build a new one.

Related

There is no CrewAI template on the site yet. You can browse the templates index. If you are open to another framework, Human-in-the-loop approval graph is a tested LangGraph starter, not CrewAI.

Stuck on a CrewAI approval or resume flow? Send a minimal repro; you pay $79 only when our patch passes it.

Free starter pack

The approval-flow starter pack

Tested human-in-the-loop approval starters for LangGraph, OpenAI Agents SDK, Vercel AI SDK and Google ADK, plus the Agent Signal newsletter. Free.

Get the Agent Signal newsletter