@namewta/skills-hub 0.1.41 → 0.1.42

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (63) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
  3. package/scripts/persistence/deploy.md +3 -3
  4. package/scripts/persistence/dev.md +2 -2
  5. package/scripts/persistence/ops.md +6 -6
  6. package/skills/dev/dev-archive/SKILL.md +1 -1
  7. package/skills/dev/dev-archive/references/knowledge.md +1 -1
  8. package/skills/dev/dev-archive/references/notes-guide.md +1 -1
  9. package/skills/dev/dev-build/SKILL.md +1 -1
  10. package/skills/dev/dev-help/references/capabilities.md +1 -1
  11. package/skills/dev/dev-help/references/help-method.md +2 -2
  12. package/skills/dev/dev-plan/SKILL.md +1 -1
  13. package/skills/dev/dev-plan/references/multiphase-plan.md +1 -1
  14. package/skills/dev/dev-pr/SKILL.md +1 -1
  15. package/skills/dev/dev-workflow/SKILL.md +2 -2
  16. package/skills/dev/dev-workflow/references/method-handoffs.md +4 -2
  17. package/skills/dev/dev-workflow/references/workflow-routing.md +1 -1
  18. package/skills/dev/dev-worktree/SKILL.md +1 -1
  19. package/skills/{dev/dev-deploy → ops/ops-deploy}/SKILL.md +10 -7
  20. package/skills/{dev/dev-deploy → ops/ops-deploy}/agents/openai.yaml +1 -1
  21. package/skills/{dev/dev-deploy → ops/ops-deploy}/assets/release.md +2 -0
  22. package/skills/{dev/dev-deploy → ops/ops-deploy}/assets/runbook.md +1 -1
  23. package/skills/{dev/dev-deploy → ops/ops-deploy}/references/project-deployment.md +2 -2
  24. package/skills/{dev/dev-deploy → ops/ops-deploy}/references/secrets-recovery.md +1 -1
  25. package/skills/ops/ops-diagnose/SKILL.md +2 -2
  26. package/skills/ops/ops-diagnose/references/failure-classes.md +3 -3
  27. package/skills/ops/ops-diagnose/references/investigation-method.md +1 -1
  28. package/skills/ops/ops-execute/SKILL.md +5 -3
  29. package/skills/ops/ops-execute/assets/summary.md +1 -0
  30. package/skills/ops/ops-execute/references/backends.md +1 -1
  31. package/skills/ops/ops-execute/references/execution-method.md +1 -1
  32. package/skills/ops/ops-execute/references/record-tool.md +12 -0
  33. package/skills/ops/ops-execute/scripts/ops-record.mjs +86 -11
  34. package/skills/ops/ops-history/SKILL.md +1 -1
  35. package/skills/ops/ops-history/assets/handoff.md +1 -1
  36. package/skills/ops/ops-history/references/history-query.md +1 -1
  37. package/skills/ops/ops-inventory/SKILL.md +3 -3
  38. package/skills/ops/ops-inventory/assets/host-registration.md +6 -2
  39. package/skills/ops/ops-inventory/assets/registry-index.md +8 -0
  40. package/skills/ops/ops-inventory/assets/registry.md +3 -3
  41. package/skills/ops/ops-inventory/references/host-alias.md +8 -7
  42. package/skills/ops/ops-inventory/references/method-index.md +2 -1
  43. package/skills/ops/ops-inventory/references/runtime-model.md +4 -2
  44. package/skills/ops/ops-maintain/SKILL.md +2 -2
  45. package/skills/ops/ops-maintain/references/examples.md +1 -1
  46. package/skills/ops/ops-maintain/references/host-maintenance.md +1 -1
  47. package/skills/ops/ops-maintain/references/maintenance-method.md +1 -1
  48. package/skills/ops/ops-maintain/references/service-maintenance.md +3 -3
  49. package/skills/ops/ops-recover/SKILL.md +2 -2
  50. package/skills/ops/ops-recover/references/data-recovery.md +1 -1
  51. package/skills/ops/ops-recover/references/examples.md +1 -1
  52. package/skills/ops/ops-recover/references/runtime-recovery.md +1 -1
  53. package/skills/ops/ops-runbook/SKILL.md +2 -2
  54. package/skills/ops/ops-runbook/references/knowledge-lifecycle.md +1 -1
  55. package/skills/ops/ops-runbook/references/maintenance.md +1 -1
  56. package/skills/ops/ops-runbook/references/project-skill-authoring.md +1 -1
  57. package/skills/ops/ops-workflow/SKILL.md +4 -3
  58. package/skills/ops/ops-workflow/references/continuation.md +1 -1
  59. package/skills/ops/ops-workflow/references/coordination.md +1 -1
  60. package/skills/ops/ops-workflow/references/routing.md +5 -4
  61. /package/skills/{dev/dev-deploy → ops/ops-deploy}/assets/host.md +0 -0
  62. /package/skills/{dev/dev-deploy → ops/ops-deploy}/references/environments.md +0 -0
  63. /package/skills/{dev/dev-deploy → ops/ops-deploy}/references/method-index.md +0 -0
@@ -12,7 +12,7 @@
12
12
 
13
13
  | 例子 | 入口 | 何时需要追加其他方法 |
14
14
  | --- | --- | --- |
15
- | “把这台主机登记为 `01`” | inventory | 按用户给出的别名写入登记;不因此取得现场操作授权 |
15
+ | “登记这台主机”或“把这台主机登记为 `01`” | inventory | 核验身份后写入独立档案;保留用户显示名和已确认别名 |
16
16
  | “host-b 上有哪些服务” | inventory | 已有登记与现场有冲突时继续核验来源;没有变更动作 |
17
17
  | “检查 `01`” | inspect | inventory 先按当前工作根解析主别名;解析失败不猜主机或连接 |
18
18
  | “检查 shop/prod” | inspect | 组成不明时补 inventory;用户要求调查异常时交 diagnose |
@@ -21,7 +21,8 @@
21
21
  | “启动已经退出的 worker” | recover | 专门方法核验当前制品、配置、数据和真实启动副作用 |
22
22
  | “昨天 shop 做过什么” | history | 仅为消除对象歧义补关系资料,不自动连接现场 |
23
23
  | “从已有记录形成 shop 技能” | runbook | 证据缺口先标明,不为凑足样本自动生产变更 |
24
- | “升级共享数据库” | 项目交接 | ops 列出当前消费者、证据与复验条件;不执行升级 |
24
+ | “发布指定版本 / 升级共享数据库 / 回退镜像 / 执行应用迁移” | ops-deploy | 核对制品、有效配置、备份、业务验证与迁移,沿用同一 run |
25
+ | “重启后会读取新配置 / 同一 tag 已指向不同 digest” | ops-deploy | 按实际发布效果验证;同制品和有效配置下的运行恢复才走 recover |
25
26
 
26
27
  专门技能的结果可能改变下一步。健康检查发现异常不等于自动获准恢复;故障处理的既有授权足够且实际处置仍在范围内时,继续完成,不每个步骤重新审批。
27
28
 
@@ -31,7 +32,7 @@
31
32
 
32
33
  ## 方法缺失
33
34
 
34
- 按实际安装情况查找所需入口。完整领域包含全部九个技能;安装器不解析域内依赖。只安装 workflow 并不提供其余八种方法,只安装专门技能也不强制安装 workflow。
35
+ 按实际安装情况查找所需入口。完整领域包含全部十个技能,部分安装按显式选择。部署执行选择 ops-deploy 和 ops-execute;workflow 只协调已具备的方法。
35
36
 
36
37
  缺少所需 owner 时,完成已有材料可支持的解释与计划,指出缺少哪个方法、会阻塞什么。不要伪造调用成功、偷偷安装其他领域、临时编写执行器或跳过记录去操作。
37
38
 
@@ -40,5 +41,5 @@
40
41
  - 历史问题被扩大为全网巡检:回到用户时间与对象范围。
41
42
  - 模糊的“处理一下”被解释为生产重启:先确定真实期望和必要授权。
42
43
  - 同一 tag 被当作同一部署:由恢复/执行方法核对 digest、配置和启动行为。
43
- - 项目发布缺少入口便在 ops 加发布步骤:保留能力缺口,形成项目交接。
44
+ - 部署目标缺少实际项目发布入口:完成现有证据与准备,报告缺口,不临时拼通用发布器。
44
45
  - 为了“完成流程”而自动生成项目技能:知识沉淀由用户目标或已授权知识维护任务触发。