Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments |
|---|---|---|---|---|---|---|---|---|
| id | bigserial | 19 | √ | nextval('generated_clis_id_seq'::regclass) |
|
|
{“what”:“自增主键,唯一标识每个生成记录。”,“why”:“没有它无法唯一区分记录,关联外键失效。”,“by”:“fleet-annotator-worker”,“at”:“2026-09-23T00:13:43.267078135+00:00”} |
|
| name | text | 2147483647 | null |
|
|
{“what”:“生成的CLI名称,如’my-cli’,用于标识产物。”,“why”:“没有它无法知道生成的目标名称,影响文件命名和调用。”,“by”:“fleet-annotator-worker”,“at”:“2026-09-23T00:13:43.295051387+00:00”} |
||
| source_ref | text | 2147483647 | null |
|
|
{“what”:“源引用,如Git提交哈希或分支名,指定生成来源。”,“why”:“没有它无法追溯生成所用的代码版本,导致不可复现。”,“by”:“fleet-annotator-worker”,“at”:“2026-09-23T00:13:43.319479637+00:00”} |
||
| kind | text | 2147483647 | null |
|
|
{“what”:“生成类型,如’python’或’go’,决定模板和打包方式。”,“why”:“没有它无法选择正确的生成流程,产物可能错误。”,“by”:“fleet-annotator-worker”,“at”:“2026-09-23T00:13:43.375673724+00:00”} |
||
| skill_md_path | text | 2147483647 | √ | null |
|
|
{“what”:“技能Markdown文件路径,相对于仓库根目录。”,“why”:“没有它无法定位技能定义,影响CLI功能生成。”,“by”:“fleet-annotator-worker”,“at”:“2026-09-23T00:13:43.396888435+00:00”} |
|
| package_path | text | 2147483647 | √ | null |
|
|
{“what”:“生成的包输出路径,如’dist/my-cli’。”,“why”:“没有它无法知道产物位置,部署脚本无法引用。”,“by”:“fleet-annotator-worker”,“at”:“2026-09-23T00:13:43.409019850+00:00”} |
|
| status | text | 2147483647 | 'pending'::text |
|
|
{“what”:“生成状态,如’pending’、‘running’、‘succeeded’、‘failed’。”,“why”:“没有它无法判断生成是否完成,阻塞后续步骤。”,“by”:“fleet-annotator-worker”,“at”:“2026-09-23T00:13:43.432471060+00:00”} |
||
| detail | text | 2147483647 | √ | null |
|
|
{“what”:“状态附加信息,如错误消息或日志摘要。”,“why”:“没有它无法诊断失败原因,排障困难。”,“by”:“fleet-annotator-worker”,“at”:“2026-09-23T00:13:43.447714443+00:00”} |
|
| created_at | timestamptz | 35,6 | now() |
|
|
{“what”:“记录创建时间,ISO 8601带时区。”,“why”:“没有它无法追踪生成时间,审计和排序缺失。”,“by”:“fleet-annotator-worker”,“at”:“2026-09-23T00:13:43.460025160+00:00”} |
||
| updated_at | timestamptz | 35,6 | now() |
|
|
{“what”:“记录最后更新时间,ISO 8601带时区。”,“why”:“没有它无法知道状态变更时间,并发控制失效。”,“by”:“fleet-annotator-worker”,“at”:“2026-09-23T00:13:43.473370002+00:00”} |
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| generated_clis_pkey | Primary key | Asc | id |
| generated_clis_name_key | Must be unique | Asc | name |