﻿# CrewAI stops kickoff when AMP reports declared apps as unresolved

Return an explicit unresolved-app result from AMP and assert zero model calls; keep missing-token and unreachable-service cases separate from this targeted fix.

Author: Retrivium team
Updated: 2026-11-15
Canonical URL: https://retrivium.ai/journal/week46-agent-crewai-unresolved-platform-app-stop/
Language: en

The November 11 CrewAI 1.15.40 release stops an agent when CrewAI AMP explicitly cannot resolve its declared apps. Previously that path could continue without the intended tools. The implementation distinguishes unresolved apps from other resolution failures, so teams should test the exact condition rather than assume every integration outage now stops before a model call.

## A declared app is an execution dependency

Configure a synthetic agent that must read a harmless record through one declared platform app. Make AMP return that app as unresolvable. Instrument the LLM and tool boundaries and assert kickoff stops before generation. This checks the failure mode where an apparently useful answer could otherwise be invented without the required evidence. Do not evaluate success by whether the model produces plausible text about the requested record.

## Exercise agent and crew entry points

The PR names synchronous and asynchronous kickoff paths for both Agent and Crew. Use the paths actually exposed by the application, with the same unresolved dependency in each. Capture the exception type and named apps. A passing standalone-agent fixture does not establish a crew wrapper handles failure correctly; a caller may swallow the exception and start another model path unless its behavior is checked explicitly.

## Resolution failures have different contracts

Include a missing token and an unreachable AMP service as separate controls. The implementation explicitly leaves other resolution failures on their existing warning paths. A product should not present the targeted unresolved-app fix as universal fail-closed behavior. Document which conditions stop and which continue, then decide whether the application needs additional dependency checks before it permits evidence-dependent work to run.

## Recovery needs evidence of reconnection

Connect the synthetic app through its supported flow, rerun kickoff and verify the tool is discovered and the known record is actually read. Clear the prior failure state only when the dependency is available, not simply after waiting. The release prevents one category of tool-less continuation. A reviewable migration shows explicit failure before resolution and evidence-backed success afterward, while keeping the documented out-of-scope paths visible.

## Sources

- [CrewAI 1.15.40 release notes](https://github.com/crewAIInc/crewAI/releases/tag/1.15.40)
- [CrewAI implementation and review #9285](https://github.com/crewAIInc/crewAI/pull/9285)

## Related reading

- [Flyte 2 traces: a successful helper checkpoint is different from a failed external attempt](/journal/fg2-flyte-two-trace-success-checkpoint-replay-boundary/)
- [Retrying generation POSTs: idempotency must be explicit](/journal/provider-post-retry-idempotency-ledger/)
