fabro/lib
Scott Werner 9bc6bf4227 Surface path-only packaging failures to the tool caller
Every packaging failure collapsed into one generic message, so an LLM
caller that omitted a child workflow, referenced a prompt with the
wrong case, or exceeded the canonical size limit could not tell what to
fix. The collector's error type already separates variants whose
messages carry only paths and counts from the ones whose sources quote
supplied content.

collect_supplied_workflow_versions now returns the typed collector
error, with new variants for a referenced file missing from the
package root, a collected file the caller did not supply, and staging
I/O failures. The bundler reports missing files with their
package-relative path so the collector can recognize them. The packager
renders the full cause chain for path-only variants and stops at the
last path-only level, plus a hint, for graph, TOML, and template
failures whose diagnostics quote source.

The tool-side raw byte total remains a cheap lower bound; the canonical
limit now surfaces with its own message instead of the generic one.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-12 10:15:29 -06:00
..
apps Move the supplied-content packager next to its collector 2026-09-12 10:15:29 -06:00
components Surface path-only packaging failures to the tool caller 2026-09-12 10:15:29 -06:00
foundation Drop the duplicate-key guard that no tool route can reach 2026-09-12 10:15:29 -06:00
packages/fabro-api-client Add content-based workflow version registration tools 2026-09-12 10:15:19 -06:00