release-skill 0.4.1 → 0.5.0

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 (100) hide show
  1. package/.claude-plugin/marketplace.json +1 -1
  2. package/.claude-plugin/plugin.json +1 -1
  3. package/.codebuddy-plugin/plugin.json +1 -1
  4. package/.codex-plugin/plugin.json +2 -2
  5. package/.kimi-plugin/plugin.json +1 -1
  6. package/CHANGELOG.md +41 -0
  7. package/INSTALL.md +2 -2
  8. package/INSTALL.zh-CN.md +2 -2
  9. package/README.md +27 -9
  10. package/README.zh-CN.md +23 -8
  11. package/adapters/claude/.claude-plugin/marketplace.json +1 -1
  12. package/adapters/claude/.claude-plugin/plugin.json +1 -1
  13. package/adapters/claude/bin/error-codes.json +154 -0
  14. package/adapters/claude/bin/kernel-protocol.json +60 -0
  15. package/adapters/claude/bin/registry.json +165 -0
  16. package/adapters/claude/bin/release-skill.bundle.mjs +3918 -1462
  17. package/adapters/claude/bin/rules.json +104 -0
  18. package/adapters/claude/schemas/release-plan.schema.json +5 -0
  19. package/adapters/claude/schemas/release-project.schema.json +5 -0
  20. package/adapters/claude/skills/release-assess/SKILL.md +2 -0
  21. package/adapters/claude/skills/release-help/SKILL.md +3 -1
  22. package/adapters/claude/skills/release-prepare/SKILL.md +2 -2
  23. package/adapters/claude/skills/release-verify/SKILL.md +2 -0
  24. package/adapters/codex/.codex-plugin/plugin.json +2 -2
  25. package/adapters/codex/bin/error-codes.json +154 -0
  26. package/adapters/codex/bin/kernel-protocol.json +60 -0
  27. package/adapters/codex/bin/registry.json +165 -0
  28. package/adapters/codex/bin/release-skill.bundle.mjs +3918 -1462
  29. package/adapters/codex/bin/rules.json +104 -0
  30. package/adapters/codex/schemas/release-plan.schema.json +5 -0
  31. package/adapters/codex/schemas/release-project.schema.json +5 -0
  32. package/adapters/codex/skills/release-assess/SKILL.md +2 -0
  33. package/adapters/codex/skills/release-help/SKILL.md +3 -1
  34. package/adapters/codex/skills/release-prepare/SKILL.md +2 -2
  35. package/adapters/codex/skills/release-verify/SKILL.md +2 -0
  36. package/adapters/kimi/.kimi-plugin/plugin.json +1 -1
  37. package/adapters/kimi/bin/error-codes.json +154 -0
  38. package/adapters/kimi/bin/kernel-protocol.json +60 -0
  39. package/adapters/kimi/bin/registry.json +165 -0
  40. package/adapters/kimi/bin/release-skill.bundle.mjs +3918 -1462
  41. package/adapters/kimi/bin/rules.json +104 -0
  42. package/adapters/kimi/schemas/release-plan.schema.json +5 -0
  43. package/adapters/kimi/schemas/release-project.schema.json +5 -0
  44. package/adapters/kimi/skills/release-assess/SKILL.md +2 -0
  45. package/adapters/kimi/skills/release-help/SKILL.md +3 -1
  46. package/adapters/kimi/skills/release-prepare/SKILL.md +2 -2
  47. package/adapters/kimi/skills/release-verify/SKILL.md +2 -0
  48. package/adapters/workbuddy/.codebuddy-plugin/plugin.json +1 -1
  49. package/adapters/workbuddy/bin/error-codes.json +154 -0
  50. package/adapters/workbuddy/bin/kernel-protocol.json +60 -0
  51. package/adapters/workbuddy/bin/registry.json +165 -0
  52. package/adapters/workbuddy/bin/release-skill.bundle.mjs +3918 -1462
  53. package/adapters/workbuddy/bin/rules.json +104 -0
  54. package/adapters/workbuddy/schemas/release-plan.schema.json +5 -0
  55. package/adapters/workbuddy/schemas/release-project.schema.json +5 -0
  56. package/adapters/workbuddy/skills/release-assess/SKILL.md +2 -0
  57. package/adapters/workbuddy/skills/release-help/SKILL.md +3 -1
  58. package/adapters/workbuddy/skills/release-prepare/SKILL.md +2 -2
  59. package/adapters/workbuddy/skills/release-verify/SKILL.md +2 -0
  60. package/bin/error-codes.json +154 -0
  61. package/bin/kernel-protocol.json +60 -0
  62. package/bin/registry.json +165 -0
  63. package/bin/release-skill.bundle.mjs +3918 -1462
  64. package/bin/rules.json +104 -0
  65. package/package.json +3 -1
  66. package/schemas/release-plan.schema.json +5 -0
  67. package/schemas/release-project.schema.json +5 -0
  68. package/scripts/build-bundle.mjs +159 -5
  69. package/scripts/sync-public-files.mjs +5 -0
  70. package/skills/release-assess/SKILL.md +2 -0
  71. package/skills/release-help/SKILL.md +3 -1
  72. package/skills/release-prepare/SKILL.md +2 -2
  73. package/skills/release-verify/SKILL.md +2 -0
  74. package/skills-src/release-assess/SKILL.md +2 -0
  75. package/skills-src/release-help/SKILL.md +3 -1
  76. package/skills-src/release-prepare/SKILL.md +2 -2
  77. package/skills-src/release-verify/SKILL.md +2 -0
  78. package/src/adapters/contract.mjs +10 -10
  79. package/src/adapters/plugin-marketplace.mjs +21 -5
  80. package/src/artifacts/entry.mjs +4 -1
  81. package/src/artifacts/producer-registry.mjs +9 -6
  82. package/src/artifacts/project-lock.mjs +324 -214
  83. package/src/commands/assess.mjs +60 -2
  84. package/src/commands/attest.mjs +11 -0
  85. package/src/commands/prepare.mjs +19 -13
  86. package/src/core/approval.mjs +5 -2
  87. package/src/core/digest.mjs +47 -12
  88. package/src/core/foundation-inflight.mjs +39 -0
  89. package/src/core/hook-cache.mjs +3 -0
  90. package/src/core/installation-contract.mjs +4 -2
  91. package/src/core/plan.mjs +34 -30
  92. package/src/core/run.mjs +22 -36
  93. package/src/core/skill-resource-closure.mjs +6 -4
  94. package/src/core/trusted-resource.mjs +64 -15
  95. package/src/platforms/codebuddy.mjs +92 -10
  96. package/src/platforms/registry.mjs +4 -3
  97. package/src/producers/build-adapters.mjs +27 -9
  98. package/src/producers/render-public-assets.mjs +12 -7
  99. package/src/producers/sync-skills.mjs +12 -7
  100. package/src/snapshot/public-map.mjs +10 -2
@@ -0,0 +1,165 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "kind": "skill-family.contracts.registry",
4
+ "contractsVersion": "1.4.0",
5
+ "note": "Protocol-name and schema-$id registry. Registration mechanically rejects duplicate protocol name/version (SFC1004) and duplicate $id (SFC1003). This file is the single registration surface; adding an entry is a contracts change.",
6
+ "protocols": [
7
+ {
8
+ "name": "skill-family.kernel.operation",
9
+ "version": 1,
10
+ "status": "stable",
11
+ "definition": "src/kernel-protocol.json",
12
+ "description": "Kernel request/result envelope protocol for mechanism operations."
13
+ }
14
+ ],
15
+ "schemas": [
16
+ {
17
+ "$id": "https://contracts.skill-family.example/v1/project-manifest.json",
18
+ "object": "project-manifest",
19
+ "dialect": "2020-12",
20
+ "status": "stable",
21
+ "file": "src/schemas/project-manifest.schema.json"
22
+ },
23
+ {
24
+ "$id": "https://contracts.skill-family.example/v1/profile-descriptor.json",
25
+ "object": "profile-descriptor",
26
+ "dialect": "2020-12",
27
+ "status": "stable",
28
+ "file": "src/schemas/profile-descriptor.schema.json"
29
+ },
30
+ {
31
+ "$id": "https://contracts.skill-family.example/v1/managed-file-lock.json",
32
+ "object": "managed-file-lock",
33
+ "dialect": "2020-12",
34
+ "status": "stable",
35
+ "file": "src/schemas/managed-file-lock.schema.json"
36
+ },
37
+ {
38
+ "$id": "https://contracts.skill-family.example/v1/operation-request.json",
39
+ "object": "operation-request",
40
+ "dialect": "2020-12",
41
+ "status": "stable",
42
+ "file": "src/schemas/operation-request.schema.json"
43
+ },
44
+ {
45
+ "$id": "https://contracts.skill-family.example/v1/operation-result.json",
46
+ "object": "operation-result",
47
+ "dialect": "2020-12",
48
+ "status": "stable",
49
+ "file": "src/schemas/operation-result.schema.json"
50
+ },
51
+ {
52
+ "$id": "https://contracts.skill-family.example/v1/migration-manifest.json",
53
+ "object": "migration-manifest",
54
+ "dialect": "2020-12",
55
+ "status": "stable",
56
+ "file": "src/schemas/migration-manifest.schema.json"
57
+ },
58
+ {
59
+ "$id": "https://contracts.skill-family.example/v1/report-model.json",
60
+ "object": "report-model",
61
+ "dialect": "2020-12",
62
+ "status": "stable",
63
+ "file": "src/schemas/report-model.schema.json"
64
+ },
65
+ {
66
+ "$id": "https://contracts.skill-family.example/v1/report-binding.json",
67
+ "object": "report-binding",
68
+ "dialect": "2020-12",
69
+ "status": "stable",
70
+ "file": "src/schemas/report-binding.schema.json"
71
+ },
72
+ {
73
+ "$id": "https://contracts.skill-family.example/v1/host-descriptor.json",
74
+ "object": "host-descriptor",
75
+ "dialect": "2020-12",
76
+ "status": "stable",
77
+ "file": "src/schemas/host-descriptor.schema.json"
78
+ },
79
+ {
80
+ "$id": "https://contracts.skill-family.example/v1/host-registry.json",
81
+ "object": "host-registry",
82
+ "dialect": "2020-12",
83
+ "status": "stable",
84
+ "file": "src/schemas/host-registry.schema.json"
85
+ },
86
+ {
87
+ "$id": "https://contracts.skill-family.example/v1/adapter-source.json",
88
+ "object": "adapter-source",
89
+ "dialect": "2020-12",
90
+ "status": "stable",
91
+ "file": "src/schemas/adapter-source.schema.json"
92
+ },
93
+ {
94
+ "$id": "https://contracts.skill-family.example/v1/host-capability-fact.json",
95
+ "object": "host-capability-fact",
96
+ "dialect": "2020-12",
97
+ "status": "stable",
98
+ "file": "src/schemas/host-capability-fact.schema.json"
99
+ },
100
+ {
101
+ "$id": "https://contracts.skill-family.example/v1/host-probe-result.json",
102
+ "object": "host-probe-result",
103
+ "dialect": "2020-12",
104
+ "status": "stable",
105
+ "file": "src/schemas/host-probe-result.schema.json"
106
+ },
107
+ {
108
+ "$id": "https://contracts.skill-family.example/v1/adapter-build-manifest.json",
109
+ "object": "adapter-build-manifest",
110
+ "dialect": "2020-12",
111
+ "status": "stable",
112
+ "file": "src/schemas/adapter-build-manifest.schema.json"
113
+ },
114
+ {
115
+ "$id": "https://contracts.skill-family.example/v1/host-operation-plan.json",
116
+ "object": "host-operation-plan",
117
+ "dialect": "2020-12",
118
+ "status": "stable",
119
+ "file": "src/schemas/host-operation-plan.schema.json"
120
+ },
121
+ {
122
+ "$id": "https://contracts.skill-family.example/v1/host-operation-receipt.json",
123
+ "object": "host-operation-receipt",
124
+ "dialect": "2020-12",
125
+ "status": "stable",
126
+ "file": "src/schemas/host-operation-receipt.schema.json"
127
+ },
128
+ {
129
+ "$id": "https://contracts.skill-family.example/v1/state-event-envelope.json",
130
+ "object": "state-event-envelope",
131
+ "dialect": "2020-12",
132
+ "status": "stable",
133
+ "file": "src/schemas/state-event-envelope.schema.json"
134
+ },
135
+ {
136
+ "$id": "https://contracts.skill-family.example/v1/state-snapshot-metadata.json",
137
+ "object": "state-snapshot-metadata",
138
+ "dialect": "2020-12",
139
+ "status": "stable",
140
+ "file": "src/schemas/state-snapshot-metadata.schema.json"
141
+ },
142
+ {
143
+ "$id": "https://contracts.skill-family.example/v1/token-estimate-result.json",
144
+ "object": "token-estimate-result",
145
+ "dialect": "2020-12",
146
+ "status": "stable",
147
+ "file": "src/schemas/token-estimate-result.schema.json"
148
+ },
149
+ {
150
+ "$id": "https://contracts.skill-family.example/v1/surface-scan-policy.json",
151
+ "object": "surface-scan-policy",
152
+ "dialect": "2020-12",
153
+ "status": "stable",
154
+ "file": "src/schemas/surface-scan-policy.schema.json"
155
+ }
156
+ ],
157
+ "dialects": {
158
+ "supported": ["draft-07", "2020-12"],
159
+ "metaSchemaUris": {
160
+ "draft-07": "http://json-schema.org/draft-07/schema#",
161
+ "2020-12": "https://json-schema.org/draft/2020-12/schema"
162
+ },
163
+ "note": "Draft detection maps a schema $schema URI to a dialect name via metaSchemaUris; validation is routed to the matching Ajv class."
164
+ }
165
+ }