← TDengine IDMPCONTENT HISTORY
WHAT CHANGED
Update to TDengine IDMP
Snapshot Nov 17, 2026 · 06:15 UTC · version 0.1.1
Collection source: downloaded plugin package.
First saved snapshot
No earlier snapshot is available to establish a change.
Save TDengine IDMP and check future changes in Following.
Up to 3 plugins free · no card required.
Compare saved observations
Download comparison JSONFull technical diff · 0 changed fields
Full snapshot data
{
"description": "IDMP attribute skill for reading definitions and values, checking history, evaluating expressions, reserving names, and safely writing test data.",
"included_files": [
{
"relative_path": "references/idmp-attribute-data.md",
"size_in_bytes": 802
},
{
"relative_path": "references/idmp-attribute-evaluate-expression.md",
"size_in_bytes": 1648
},
{
"relative_path": "references/idmp-attribute-get.md",
"size_in_bytes": 423
},
{
"relative_path": "references/idmp-attribute-history.md",
"size_in_bytes": 606
},
{
"relative_path": "references/idmp-attribute-list.md",
"size_in_bytes": 703
}
],
"name": "idmp-attribute",
"skill_md_contents": "---\nname: idmp-attribute\ndescription: \"IDMP attribute skill for reading definitions and values, checking history, evaluating expressions, reserving names, and safely writing test data.\"\nmetadata:\n author: \"TAOS Data\"\n version: \"0.4.1\"\n owner_team: \"AI\"\n requires:\n bins:\n - idmp-cli\n cliHelp: \"idmp-cli attribute --help\"\n---\n\n# attribute\n\n**Read [`../idmp-shared/SKILL.md`](../idmp-shared/SKILL.md) first.**\n\n**Before any write:** Follow the [🛑 Destructive op confirmation protocol](../idmp-shared/SKILL.md#-destructive-op-confirmation-mandatory). Read-only commands stay read-only here, but delete / write / patch flows still require the shared yes-gate.\n\n\n## Recommended shortcuts\n\n| Shortcut | Purpose |\n|----------|---------|\n| [`+list`](references/idmp-attribute-list.md) | Read attribute definitions before value or history work. |\n| [`+get`](references/idmp-attribute-get.md) | Read one attribute's current value. |\n| [`+data`](references/idmp-attribute-data.md) | Read multiple current values in one request. |\n| [`+history`](references/idmp-attribute-history.md) | Read historical data for one attribute. |\n\n## Recommended references\n\n- [`references/idmp-attribute-evaluate-expression.md`](references/idmp-attribute-evaluate-expression.md)\n\n## Product-style workflow\n\n1. Read definitions with `attributes`.\n2. Read current values with `data-get` or `data-post` only when needed.\n3. Run `new-name` without `--ack-risk` before creating an attribute.\n4. Run `attribute evaluate-expression create` before saving a formula or expression.\n5. Use `write-data` only when you need controlled test input on a metric-backed attribute.\n\n## Missing context to resolve first\n\n| Context | Why it must be resolved before create or write |\n| --- | --- |\n| Owner element | You need the final `elementId` before you can reserve names, create the attribute, or reread definitions and values. |\n| Candidate attribute name | `attribute attributes new-name` only works after the owner is fixed. |\n| Attribute type plan | You need the intended `valueType` and whether the attribute is only metadata, expression-backed, or a metric-backed writable reference. |\n| Write target | Decide whether `write-data` should target an existing TDengine metric reference rather than the newly created attribute. |\n| Verification and cleanup target | Decide how you will prove create success, how you will reread written data, and which temporary attribute must be deleted at the end. |\n\n## Constrained live behaviors\n\n- `attribute attributes new-name` only needs the owner scope, but `attributes-post` must use the final reserved name and a real `valueType`.\n- The expression-preview command family is `attribute evaluate-expression create`, and the schema path is `attribute.evaluate-expression.create`; the older guessed `attribute.attributes.evaluate-expression` path is wrong.\n- Older checks may still mention the guessed `attribute.attributes.evaluate-expression` path; use `idmp-cli attribute evaluate-expression create --dry-run --ack-risk --params` for the real request.\n- `attribute evaluate-expression create` needs a request body with at least `dataReferenceType` and `expression`. The live-safe starter is `{\"dataReferenceType\":\"Formula\",\"expression\":\"...\"}`; `attributeId` and `uomId` are optional context helpers, not substitutes for the formula text.\n- A newly created generic attribute is not automatically a TDengine metric reference. `attribute write-data create` can fail with `etda390037` unless the target attribute is backed by writable metric storage.\n- In strict live validation, `attribute historydata list` should use explicit `start` and `end` bounds instead of relying on ambient defaults.\n- Attribute create is not complete until `attributes` reread shows the new definition.\n- Template-derived attributes are not generic scratch objects. If an attribute still has `attrTempId`, the generic `attribute elements attributes-delete` path is expected to reject the delete while the backing template exists.\n- Temporary probe attributes should be deleted after the workflow, even when write-data validation used a different existing metric-backed attribute.\n\n## Evidence of completion\n\n- A create is only complete when `attribute elements attributes --params` rereads the new definition under the same owner.\n- A value probe is only complete when `data-get`, `data-post`, or bounded `historydata list` returns the intended attribute data.\n- A write probe is only complete when the target is known to be metric-backed and the reread reflects the inserted row, not just the CLI success line.\n\n## Key commands\n\n```bash\nidmp-cli schema attribute.elements.attributes\nidmp-cli attribute elements attributes --params '{\"elementId\":1}'\n\nidmp-cli schema attribute.attributes.new-name\n# new-name is read-only (reserves a name); no --ack-risk required\nidmp-cli attribute attributes new-name --params '{\"elementId\":1}'\n\nidmp-cli schema attribute.elements.attributes-post\nidmp-cli attribute elements attributes-post --ack-risk --params '{\"elementId\":1}' --data '{\"name\":\"probe-attribute\",\"valueType\":\"Double\"}'\n\nidmp-cli schema attribute.evaluate-expression.create\nidmp-cli attribute evaluate-expression create --params '{\"elementId\":1}' --data '{...}' --dry-run --ack-risk\n\nidmp-cli schema attribute.attributes.data-get\nidmp-cli attribute attributes data-get --params '{\"elementId\":1,\"attributeId\":2}'\n\nidmp-cli schema attribute.historydata.list\nidmp-cli attribute historydata list --params '{\"elementId\":1,\"attributeId\":2,\"current\":1,\"size\":20,\"start\":1704067200000,\"end\":1704153600000}'\n```\n\n## Exception and failure handling\n\n- If an attribute is not returned by `attributes`, do not guess the ID from older notes or scripts.\n- If the definition exists but the current value is empty, check history before treating it as a product failure.\n- If `new-name` returns a different candidate, use the reserved value instead of forcing the original name.\n- If expression evaluation fails, fix the formula before create or update; do not save a broken expression first.\n- If test writes are rejected with errors such as `etda390037`, switch to a known metric-backed attribute; do not assume the newly created attribute is writable.\n- If delete fails because the attribute came from an attribute template, treat that as a scope boundary; do not keep retrying the generic element-attribute delete path.\n- If the preview differs from the intended payload, stay read-only until the schema and permissions are correct.\n\n## Validation scenarios\n\n1. Read attribute definitions with `idmp-cli schema attribute.elements.attributes` and `idmp-cli attribute elements attributes --params '{\"elementId\":1}'`.\n2. Reserve a create-safe name with `idmp-cli attribute attributes new-name --params '{\"elementId\":1}'`.\n3. Read one live value with `idmp-cli attribute attributes data-get --params '{\"elementId\":1,\"attributeId\":2}'`.\n4. Create a probe attribute only after `idmp-cli attribute attributes new-name --params '{\"elementId\":1}'`, then verify the create path with `idmp-cli attribute elements attributes-post --ack-risk --params '{\"elementId\":1}' --data '{\"name\":\"probe-attribute\",\"valueType\":\"Double\"}'`.\n5. Check history paging with `idmp-cli attribute historydata list --params '{\"elementId\":1,\"attributeId\":2,\"current\":1,\"size\":20,\"start\":1704067200000,\"end\":1704153600000}'`, then use `idmp-cli attribute write-data create --dry-run --ack-risk --params '{\"elementId\":1}' --data '{\"probe\":\"example\"}'` only after confirming the target attribute is a writable metric reference and `idmp-cli attribute evaluate-expression create --params '{\"elementId\":1}' --data '{\"dataReferenceType\":\"Formula\",\"expression\":\"AVG(${attributes['\"'\"'Current'\"'\"']})\"}' --dry-run --ack-risk` already succeeded.\n"
}SHA-256 of public snapshot: d07e0d455ad8d62d78eb3bb9b597c09b5faf5e970fa1b781fe1085a2ae79c75a