TIDAS Contract Context
Use this skill when an agent needs the authoritative TIDAS contract for AI data import, conversion repair, or source-document authoring.
Boundaries
- This skill is a thin wrapper over
tiangong-lca dataset context-packandtiangong-lca dataset contract get. - Public rule definitions are sourced from released TIDAS spec assets; profile policy and runtime-ruleset projection belong to the CLI. Published SDK 0.3.0 no longer imports or packages the retired mixed ruleset file; the active CLI 0.1.18 context pack uses the public contract API.
- Do not copy schema, methodology YAML, or ruleset files into this skill.
- Do not generate or mutate TIDAS rows here. Authoring and conversion should use CLI or Foundry workflows after the context pack exists.
Required Inputs
- Target TIDAS type:
process,flow,source,contact,unitgroup,flowproperty,lifecyclemodel, orlciamethod. - Output directory under the current task workspace.
- Include list when narrower context is needed:
schema,methodology,ruleset.
Commands
Create an AI-ready context pack:
tiangong-lca dataset context-pack \
--type process \
--profile ai-import \
--include schema,methodology,ruleset \
--out-dir .foundry/workspaces/<task-id>/context/process \
--json
Create a raw contract artifact pack:
tiangong-lca dataset contract get \
--type flow \
--include schema,methodology,ruleset \
--out-dir .foundry/workspaces/<task-id>/contract/flow \
--json
Verification
After the command completes, verify these artifacts before using the context:
outputs/contract-report.jsonoutputs/contract-manifest.jsonoutputs/schema.jsonwhenschemawas requestedoutputs/methodology.yamlwhenmethodologyis available for the target typeoutputs/runtime-ruleset.jsonwhen rules exist for the target typeoutputs/ai-context.jsonandoutputs/ai-context.mdforcontext-pack
The manifest hash values are the durable proof of which contract version the AI saw.