AGENT SKILL

data.adopt_timeseries

Adopt a populated plain table into the time-series contract (ADR-189) in place, with the writer running: an estimate that writes nothing (default), a copy by time window verified per window and resumable (apply), a swap in one short transaction (swap), a verification of the old table against the new (verify), the drop of the old table only after that (drop_old), and a rollback at any point before it.

License 许可
Apache-2.0
最近更新
2026-11-14
Stars
★ 2
Forks
0

01 前言 Front Matter

name
data.adopt_timeseries
inputs
[ { "name": "table", "type": "str! — schema.table" }, { "name": "apply", "type": "bool" }, { "name": "swap", "type": "bool" }, { "name": "verify", "type": "bool" }, { "name": "repair", "type": "bool" }, { "name": "drop_old", "type": "bool" }, { "name": "rollback", "type": "bool" }, { "name": "status", "type": "bool" }, { "name": "identity", "type": "str — comma-separated columns that identify a series" }, { "name": "time_column", "type": "str" }, { "name": "rows_per_day", "type": "int" }, { "name": "chunk_interval", "type": "str" }, { "name": "compress_after", "type": "str" }, { "name": "retain", "type": "str" }, { "name": "window", "type": "str" }, { "name": "max_windows", "type": "int" }, { "name": "tablespace", "type": "str" }, { "name": "sample_rows", "type": "int" }, { "name": "disk_path", "type": "path" }, { "name": "dsn", "type": "str" }, { "name": "lock_timeout", "type": "str" }, { "name": "quiet", "type": "bool" }, { "name": "schedule", "type": "bool — run the copy unattended as a job the orchestrator fires" }, { "name": "unschedule", "type": "bool — remove that job (the copy and its ledger are untouched)" }, { "name": "every", "type": "str — the job's interval, e.g. 5m" }, { "name": "batch_seconds", "type": "int" }, { "name": "ready_timeout", "type": "int — seconds to wait for the database before a fire gives up" }, { "name": "ack_mismatch", "type": "bool — acknowledge the raised mismatch for this table, after investigating" } ]
outputs
[ { "kind": "SkillResult" } ]
version
0.3.0
generator
axi-skills-emit-md
description
Adopt a populated plain table into the time-series contract (ADR-189) in place, with the writer running: an estimate that writes nothing (default), a copy by time window verified per window and resumable (apply), a swap in one short transaction (swap), a verification of the old table against the new (verify), the drop of the old table only after that (drop_old), and a rollback at any point before it.
allowed-tools
[]

03 SKILL.md 正文

Skill data.adopt_timeseries — see registration in the providing extension's skills/__init__.py. This SKILL.md is generated by axi skills emit-md (ADR-063); edit the Python SkillSpec to change it.

04 同仓库更多 Skills