Fission-AI/OpenSpec · error · Error
Artifact '${artifactId}' not found in schema '${context.sche
Error message
Artifact '${artifactId}' not found in schema '${context.schemaName}'. Valid artifacts:
${validIds.join('\n ')} What it means
Error "Artifact '${artifactId}' not found in schema '${context.schemaName}'. Valid artifacts: ${validIds.join('\n ')}" thrown in Fission-AI/OpenSpec.
Source
Thrown at src/commands/workflow/instructions.ts:158
changeDir: getChangeDir(planningHome, changeName),
planningHome,
projectConfig,
});
if (!artifactId) {
spinner?.stop();
const validIds = context.graph.getAllArtifacts().map((a) => a.id);
throw new Error(
`Missing required argument <artifact>. Valid artifacts:\n ${validIds.join('\n ')}`
);
}
const artifact = context.graph.getArtifact(artifactId);
if (!artifact) {
spinner?.stop();
const validIds = context.graph.getAllArtifacts().map((a) => a.id);
throw new Error(
`Artifact '${artifactId}' not found in schema '${context.schemaName}'. Valid artifacts:\n ${validIds.join('\n ')}`
);
}
const instructions = generateInstructions(context, artifactId, projectRoot, {
projectConfig,
references,
});
const isBlocked = instructions.dependencies.some((d) => !d.done);
spinner?.stop();
if (options.json) {
console.log(JSON.stringify({ ...instructions, root: toRootOutput(root) }, null, 2));
return;
}
printInstructionsText(instructions, isBlocked);View on GitHub (pinned to 6926ccb18a)
When it happens
Trigger: Thrown at src/commands/workflow/instructions.ts:158 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of Fission-AI/OpenSpec@6926ccb18a (2026-08-25).
Data as JSON: /api/errors/6d0935c1ba205817.
Report an issue: GitHub.