{"id":100994,"plugin_id":"plugins_6aed3278a3848191925fc74753ecbe72","kind":"skill","collection_source":"plugin_package","comparison_source":null,"observed_at":"2026-11-17T06:15:21.773Z","digest":"90f7155e26d790c60d9bbb4fb59e5960a4f872a5fe2214d4448dee813da4585f","against":null,"payload":{"description":"IDMP asset bootstrap workflow. Read roots, paths, templates, attribute templates, UOMs, datasources, and record visibility before any modeling or ingestion write.","included_files":[{"relative_path":"references/asset-bootstrap.md","size_in_bytes":3786}],"name":"idmp-workflow-asset-bootstrap","skill_md_contents":"---\nname: idmp-workflow-asset-bootstrap\ndescription: \"IDMP asset bootstrap workflow. Read roots, paths, templates, attribute templates, UOMs, datasources, and record visibility before any modeling or ingestion write.\"\nmetadata:\n  author: \"TAOS Data\"\n  version: \"0.5.1\"\n  owner_team: \"AI\"\n  requires:\n    bins:\n      - idmp-cli\n  cliHelp: \"idmp-cli element --help\"\n---\n\n# workflow: asset bootstrap\n\n**Read [`../idmp-shared/SKILL.md`](../idmp-shared/SKILL.md) first.**\n\n## Recommended references\n\n- [`references/asset-bootstrap.md`](references/asset-bootstrap.md)\n- [`../idmp-element/SKILL.md`](../idmp-element/SKILL.md)\n\n## Missing context to resolve first\n\n- The visible business root or path the operator wants to model against.\n- Whether the goal is leaf-only context, middle-owner context, or source-ingestion context.\n- Whether a reusable template family is already known.\n\n## Constrained live behaviors\n\n- Root discovery must be real-environment evidence, not a guessed `demo` tree.\n- Template and sub-template checks come before any modeling assumption.\n- UOM and datasource checks prove measurement semantics and ingestion visibility, not object mutability.\n- If a downstream workflow temporarily creates a middle-owner hierarchy and the async delete task later lands in `FAILED`, treat that as a backend cleanup boundary after the reread proof instead of a reason to keep retrying destructive cleanup loops.\n\n## Execution flow\n\n1. Use `idmp-cli element elements list --params`, `idmp-cli element elements path --params`, `idmp-cli element fullpath get --params`, and `idmp-cli element by-path list --params` to lock the visible root and chosen owner.\n2. Use `idmp-cli template elements list --params` and `idmp-cli element elements sub-templates --params` to confirm the template family behind that scope.\n3. Use `idmp-cli attr-template elements attributes --params` to inspect measurement-ready attribute templates before proposing analysis or panel work.\n4. Use `idmp-cli uom uomclasses list` and `idmp-cli uom uom search --params` to verify measurement semantics.\n5. Use `idmp-cli datasource connections list`, `idmp-cli data first-level-elements list`, and `idmp-cli data records list` to confirm ingestion visibility.\n\n## Exception paths\n\n- If visible roots are empty, classify the issue as auth, permission, or environment scope before continuing.\n- If the chosen root exposes the wrong template family, stop and pick a different owner instead of forcing later workflows.\n- If ingestion traces are invisible, do not promise downstream import or alert success.\n- If previous temporary hierarchy cleanup tasks failed but the owner is still readable, classify the environment as reusable with a cleanup caveat instead of pretending the root inventory changed.\n\n## Validation scenarios\n\n### 1. Unknown environment bootstrap\nStart with `idmp-cli element elements list --params` and `idmp-cli element elements path --params`. The goal is to prove the current visible root before anything else.\n\n### 2. Model-ready but ingestion-unknown environment\nUse `idmp-cli attr-template elements attributes --params` to prove template readiness, then `idmp-cli datasource connections list` to confirm ingestion visibility separately.\n\n### 3. Root list is empty\nStop after `idmp-cli element elements list --params` returns nothing useful. The next step is auth or permission diagnosis, not a guessed bootstrap answer.\n\n### 4. Template mismatch on the chosen root\nUse `idmp-cli template elements list --params` and `idmp-cli element elements sub-templates --params` to show the mismatch. Switch owners instead of inventing template compatibility.\n\n### 5. Post-write reread\nIf a previous operator already created temporary objects, reread with `idmp-cli data first-level-elements list` and `idmp-cli data records list` before claiming the environment is reusable. If the objects are still readable only because an async delete task previously failed, record that as a backend cleanup caveat instead of retrying destructive cleanup here.\n"},"changes":[],"summary":"First saved snapshot. No earlier version is available for comparison.","summary_kind":"deterministic","summary_metadata":{}}