Lifecycle Model Recursive Orchestrator
Use this skill when one request needs more than a single builder call. The orchestrator validates a request, resolves each node to reuse/build/cutoff, invokes the native tiangong-lca lifecyclemodel orchestrate actions, and writes a full local run directory.
What The Implementation Does
- validates
assets/request.schema.json - normalizes
root, optional extranodes, and dependencyedges - chooses per-node resolution in this order:
- reuse existing resulting process
- reuse existing process
- reuse existing lifecycle model
- build with
lifecyclemodel-automated-builder - build with
process-automated-builder - unresolved / cutoff
- records invocation results for native CLI builder slices
- emits:
assembly-plan.jsongraph-manifest.jsonlineage-manifest.jsonboundary-report.jsonpublish-bundle.jsonviapublish
Request Shape
Required top-level fields:
goalrootorchestrationpublish
Optional top-level fields:
candidate_sourcesnodesedgesnotes
The root block may directly carry:
- candidate lists
process_buildersubmodel_builderprojector
Supported process_builder fields are intentionally narrow:
flow_fileflow_jsonrun_id
Removed legacy fields such as mode=langgraph and python_bin are not part of the supported request surface anymore.
Use extra nodes only for additional dependencies or subsystems beyond the root node.
Downstream Builders
process_builderreuses the same native slice astiangong-lca process auto-buildsubmodel_builderreuses the same native slice astiangong-lca lifecyclemodel auto-buildprojectorreuses the same native slice astiangong-lca lifecyclemodel build-resulting-process
The wrapper does not call other skills directly. It delegates to tiangong-lca lifecyclemodel orchestrate, and the CLI orchestrator owns request normalization, node resolution, invocation ordering, and final manifests.
Current limitation:
- candidate discovery must already be resolved into the request or into local artifacts upstream
- the submodel builder path only covers the CLI-backed
auto-buildslice validate-buildandpublish-buildfor lifecyclemodels now exist in the CLI, but this orchestrator does not invoke them yet
Typical Workflow
- Read
assets/request.schema.jsonand prepare a manifest. - Run
planand inspect the generatedassembly-plan.json. - Run
executeto invoke native CLI builder slices and persist invocation logs. - Run
publishonly to prepare a local handoff bundle. Remote writes remain outside this skill and should later go throughtiangong-lca publish run.
Commands
node scripts/run-lifecyclemodel-recursive-orchestrator.mjs plan \
--request assets/example-request.json \
--out-dir /abs/path/run-001 \
--json
node scripts/run-lifecyclemodel-recursive-orchestrator.mjs execute \
--request assets/example-request.json \
--out-dir /abs/path/run-001 \
--allow-process-build \
--allow-submodel-build \
--json
node scripts/run-lifecyclemodel-recursive-orchestrator.mjs publish \
--run-dir /abs/path/run-001 \
--publish-lifecyclemodels \
--publish-resulting-process-relations \
--json
Load References On Demand
references/workflow.md: stage-level orchestration flow and policy knobsreferences/data-model.md: graph/lineage fields and version contractreferences/invocation-contracts.md: exact handoff contract to each downstream skillreferences/minimal-relation-fields.md: minimum relation tuple to preserve