LCA Publish Executor
Overview
- Accept one JSON request that points at
publish-bundle.jsonfiles, direct dataset payloads, orprocess_from_flowrun ids. - Forward that request shape to
tiangong publish run. - Keep relation metadata local when the publish mode says
local_manifest_only. - Reuse publish bundles prepared by upstream CLI-backed builders instead of inventing a second publish contract here.
When To Use
- Use after
lifecyclemodel-recursive-orchestrator publish. - Use after
lifecyclemodel-resulting-process-builder publish. - Use when a caller wants one standard publish manifest for multiple skills.
- Use when another caller should know only one publish request shape.
Commands
node scripts/run-lca-publish-executor.mjs publish \
--request assets/example-request.json \
--dry-run \
--jsonRequest Contract
- Read
assets/request.schema.jsonfor the stable manifest shape. - Read
references/publish-contract.mdfor bundle ingestion rules and relation handling. inputs.bundle_paths[]: one or more upstreampublish-bundle.jsonfiles.inputs.lifecyclemodels[]/processes[]/sources[]: direct dataset payloads or file references.inputs.process_build_runs[]: delegatedprocess_from_flowpublish targets; each item needsrun_id.publish.commit=falsemeans dry-run preparation only.publish.relation_mode=local_manifest_onlyis currently the only supported relation mode.
Outputs
- whatever
tiangong publish runemits for the request shape - at minimum expect
publish-report.json - when relation mode stays local, also expect a local relation manifest in the publish output bundle
Notes
- This wrapper is CLI-only; there is no Python or MCP fallback path.
- Keep this skill as a stable request façade only. Do not add publish internals here.