project_resolve_manifest
Resolves item references to file components and writes a merge-ready manifest, ensuring assembly merges remain valid when files are renamed or moved.
Instructions
Resolve a project's item-ref components to file components and write a merge-
ready manifest (issue #143 / D1, the deferred #140 seam). Each component naming an
item (items.json identity, not a bare path) is lowered to a {file} component
with the CAD artifact resolved from the registry, so merge_assembly consumes the
result unchanged — renaming/moving a file updates the item's files[] in one place
without breaking any reference.
project: path to the project.json container. out: output manifest path (defaults to .resolved.json next to it).
Returns {path, lowered} — the written path and the lowered manifest object; a dangling item-ref fails loudly.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| out | No | ||
| project | Yes |