cline/cline · error

Outcome "${input.outcomeId}" was not found

Error message

Outcome "${input.outcomeId}" was not found

What it means

Error "Outcome "${input.outcomeId}" was not found" thrown in cline/cline.

Source

Thrown at sdk/packages/core/src/extensions/tools/team/multi-agent.ts:1525

		this.emitEvent({
			type: TeamMessageType.OutcomeCreated,
			outcome: { ...outcome },
		});
		return { ...outcome };
	}

	listOutcomes(): TeamOutcome[] {
		return Array.from(this.outcomes.values()).map((outcome) => ({
			...outcome,
		}));
	}

	attachOutcomeFragment(
		input: AttachTeamOutcomeFragmentInput,
	): TeamOutcomeFragment {
		const outcome = this.outcomes.get(input.outcomeId);
		if (!outcome) {
			throw new Error(`Outcome "${input.outcomeId}" was not found`);
		}
		if (!outcome.requiredSections.includes(input.section)) {
			throw new Error(
				`Section "${input.section}" is not part of outcome "${input.outcomeId}"`,
			);
		}
		const fragment: TeamOutcomeFragment = {
			id: `frag_${String(++this.outcomeFragmentCounter).padStart(5, "0")}`,
			teamId: this.teamId,
			outcomeId: input.outcomeId,
			section: input.section,
			sourceAgentId: input.sourceAgentId,
			sourceRunId: input.sourceRunId,
			content: input.content,
			status: "draft",
			createdAt: new Date(),
		};
		this.outcomeFragments.set(fragment.id, fragment);

View on GitHub (pinned to 491b30b806)

When it happens

Trigger: Thrown at sdk/packages/core/src/extensions/tools/team/multi-agent.ts:1525 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of cline/cline@491b30b806 (2026-08-25). Data as JSON: /api/errors/e8149feaad3576a1. Report an issue: GitHub.