mdkg 0.4.0 → 0.4.2

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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "schema_version": 1,
3
3
  "tool": "mdkg",
4
- "mdkg_version": "0.4.0",
4
+ "mdkg_version": "0.4.2",
5
5
  "files": [
6
6
  {
7
7
  "path": ".mdkg/config.json",
@@ -66,12 +66,12 @@
66
66
  {
67
67
  "path": ".mdkg/README.md",
68
68
  "category": "mdkg_doc",
69
- "sha256": "faaf4bb697eded7c6baf6cb44a2a6c04feabfc250cac3bcb4be6b95e7a3bb02a"
69
+ "sha256": "44e8030ee0642fe9c95589c2f4ece6ab7336d0c6691107bfdf59cebdba5de2ae"
70
70
  },
71
71
  {
72
72
  "path": ".mdkg/skills/author-mdkg-skill/SKILL.md",
73
73
  "category": "default_skill",
74
- "sha256": "9ea196cb778e6a777c945b3bba9d51c7574602f413e9a1d5e01e2b95918c0873"
74
+ "sha256": "ffacd8b8412ab5453b53d91a192f27e0458da4591f80d82d4933805a6fb5a05d"
75
75
  },
76
76
  {
77
77
  "path": ".mdkg/skills/build-pack-and-execute-task/SKILL.md",
@@ -146,7 +146,7 @@
146
146
  {
147
147
  "path": ".mdkg/templates/default/manifest.md",
148
148
  "category": "template",
149
- "sha256": "2ff2af58cae6a0381a66949d7d9e997fac6486da85171b09096c43663889da95"
149
+ "sha256": "a7d758cbe2a51c4889fef39bf91d67f67895f55bcd851d1e02e52f8b2a5a6f2c"
150
150
  },
151
151
  {
152
152
  "path": ".mdkg/templates/default/prd.md",
@@ -166,7 +166,7 @@
166
166
  {
167
167
  "path": ".mdkg/templates/default/receipt.md",
168
168
  "category": "template",
169
- "sha256": "516faf98abe421f154d162b18006c7875f1a0025ac4d35cc16df744c13548d9d"
169
+ "sha256": "5ffbba7d9ad11193bf65830e4be5b3c04c0fe3aa81a4e473a849cd321644a383"
170
170
  },
171
171
  {
172
172
  "path": ".mdkg/templates/default/rule.md",
@@ -176,7 +176,7 @@
176
176
  {
177
177
  "path": ".mdkg/templates/default/spec.md",
178
178
  "category": "template",
179
- "sha256": "8c96e0b6dafa65acb83a2d84519e05a7354896aec8991c148650e9ec58196c77"
179
+ "sha256": "2f00af67cf357f6a15a97bf175e6422d8c84d1fcf0e21977b1134e898378677e"
180
180
  },
181
181
  {
182
182
  "path": ".mdkg/templates/default/spike.md",
@@ -196,12 +196,12 @@
196
196
  {
197
197
  "path": ".mdkg/templates/default/work_order.md",
198
198
  "category": "template",
199
- "sha256": "5fe376413035f2afe406d13491a597f103a2fce29d137951fe55ae042a1082f5"
199
+ "sha256": "d42460ae996f5f309d8666019c24d7b236947bc8a64cff6d4eff61b1d6e46216"
200
200
  },
201
201
  {
202
202
  "path": ".mdkg/templates/default/work.md",
203
203
  "category": "template",
204
- "sha256": "cfc53d3be1d2c31576448d071a579bc3d5d2f6851755e29c20825f6b6764c0aa"
204
+ "sha256": "1ab3c4c79ecdaff2b76007bfbb9844bf581da592f70ac2a2475594b9c279d7cd"
205
205
  },
206
206
  {
207
207
  "path": ".mdkg/templates/skills/base.SKILL.md",
@@ -231,12 +231,12 @@
231
231
  {
232
232
  "path": ".mdkg/templates/specs/base.MANIFEST.md",
233
233
  "category": "template",
234
- "sha256": "056c4ccf8285db72c8befdc6acd165d625dbe892d70e89ce586f081db8e250fc"
234
+ "sha256": "4d5fe98b388e9183c9577438e49c375e86d58314130c668be4695f124ea8c37c"
235
235
  },
236
236
  {
237
237
  "path": ".mdkg/templates/specs/base.SPEC.md",
238
238
  "category": "template",
239
- "sha256": "6d4171fac00c2f3d8f2a2ac746b8a47c59aaecebe224c3a0046dd6e6974a1d08"
239
+ "sha256": "43d8b7726560c6245b2927ed5242dc872c394f16fb3dc9c3e58076766270ff5d"
240
240
  },
241
241
  {
242
242
  "path": ".mdkg/templates/specs/capability.MANIFEST.md",
@@ -311,7 +311,7 @@
311
311
  {
312
312
  "path": "AGENT_START.md",
313
313
  "category": "startup_doc",
314
- "sha256": "91e31ae818b29f62ebe77ac24f7e1a2bd10a4fedfc1684da935f0849aaf6d200"
314
+ "sha256": "c387ce4fee55eafca09bcd30f32e4d7dc8ee7f9cc9811c1adffa0756c9423a35"
315
315
  },
316
316
  {
317
317
  "path": "AGENTS.md",
@@ -326,7 +326,7 @@
326
326
  {
327
327
  "path": "CLI_COMMAND_MATRIX.md",
328
328
  "category": "startup_doc",
329
- "sha256": "82c509b91498131304ff2bc94bb7eb2f29c3c207a00bc8bcaf8a6ab52ff9e689"
329
+ "sha256": "7a71fa553e38395caae5f18ecb9650911c56a019b25e793addc20701e5df5a9e"
330
330
  },
331
331
  {
332
332
  "path": "llms.txt",
@@ -62,6 +62,8 @@ For MANIFEST.md output, include:
62
62
  - Source mdkg nodes
63
63
  - Resource URIs
64
64
  - Capabilities
65
+ - Contract profile, validation policy refs, and evidence policy refs when a
66
+ downstream runtime or workflow profile needs generic semantic mirrors
65
67
  - Inputs
66
68
  - Outputs
67
69
  - Dependencies
@@ -94,14 +96,17 @@ For MANIFEST.md output, include:
94
96
  10. Distinguish durable source from projection:
95
97
  mdkg/MANIFEST/SKILL is source; `.codex/agents`, future runtime manifests, and
96
98
  protocol resources are projections.
97
- 11. Add validation checks and closeout evidence to every authored or revised
99
+ 11. Treat contract-profile fields as generic mdkg validation mirrors only.
100
+ Downstream runtimes own execution semantics, queue state, provider state, and
101
+ final receipt authority.
102
+ 12. Add validation checks and closeout evidence to every authored or revised
98
103
  SKILL/MANIFEST.
99
- 12. If input is incomplete, create repair tasks instead of guessing.
100
- 13. Validate the new or updated skill with `mdkg skill validate <slug>`.
101
- 14. If the skill changes the public workflow, update `AGENT_START.md`,
104
+ 13. If input is incomplete, create repair tasks instead of guessing.
105
+ 14. Validate the new or updated skill with `mdkg skill validate <slug>`.
106
+ 15. If the skill changes the public workflow, update `AGENT_START.md`,
102
107
  `CLI_COMMAND_MATRIX.md`, root onboarding docs, and the skill registry in the
103
108
  same pass.
104
- 15. When mirrored skill folders are enabled, run `mdkg skill sync` after broad
109
+ 16. When mirrored skill folders are enabled, run `mdkg skill sync` after broad
105
110
  manual changes so every configured `.mdkg/config.json`
106
111
  `customization.skill_mirrors.targets` path stays current. The default
107
112
  targets are `.agents/skills/` and `.claude/skills/`; other agent-local
@@ -7,6 +7,9 @@ spec_kind: capability
7
7
  role: tool_service
8
8
  runtime_mode: tool_service
9
9
  work_contracts: []
10
+ contract_profile: generic
11
+ validation_policy_ref: policy.validation.default
12
+ evidence_policy_ref: policy.evidence.default
10
13
  requested_capabilities: []
11
14
  skill_refs: []
12
15
  tool_refs: []
@@ -8,6 +8,11 @@ receipt_status: recorded
8
8
  outcome: success
9
9
  cost_ref: cost.redacted
10
10
  redaction_policy: refs_and_hashes_only
11
+ contract_profile: generic
12
+ receipt_kind: worker
13
+ redaction_class: internal
14
+ validation_policy_ref: policy.validation.default
15
+ evidence_policy_ref: policy.evidence.default
11
16
  proof_refs: []
12
17
  attestation_refs: []
13
18
  evidence_hashes: []
@@ -7,6 +7,9 @@ spec_kind: capability
7
7
  role: tool_service
8
8
  runtime_mode: tool_service
9
9
  work_contracts: []
10
+ contract_profile: generic
11
+ validation_policy_ref: policy.validation.default
12
+ evidence_policy_ref: policy.evidence.default
10
13
  requested_capabilities: []
11
14
  skill_refs: []
12
15
  tool_refs: []
@@ -5,6 +5,7 @@ title: {{title}}
5
5
  version: 0.1.0
6
6
  agent_id: agent.example
7
7
  kind: generic
8
+ contract_profile: generic
8
9
  pricing_model: quoted
9
10
  required_capabilities: [capability.example]
10
11
  skill_refs: []
@@ -10,6 +10,9 @@ order_status: submitted
10
10
  request_ref: request.example
11
11
  trigger_ref: trigger.manual
12
12
  payload_hash: sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
13
+ contract_profile: generic
14
+ validation_policy_ref: policy.validation.default
15
+ evidence_policy_ref: policy.evidence.default
13
16
  input_refs: []
14
17
  queue_refs: []
15
18
  requested_outputs: [result:text:required]
@@ -7,6 +7,9 @@ spec_kind: capability
7
7
  role: {{role}}
8
8
  runtime_mode: {{runtime_mode}}
9
9
  work_contracts: []
10
+ contract_profile: generic
11
+ validation_policy_ref: policy.validation.default
12
+ evidence_policy_ref: policy.evidence.default
10
13
  requested_capabilities: []
11
14
  skill_refs: []
12
15
  tool_refs: []
@@ -7,6 +7,9 @@ spec_kind: capability
7
7
  role: {{role}}
8
8
  runtime_mode: {{runtime_mode}}
9
9
  work_contracts: []
10
+ contract_profile: generic
11
+ validation_policy_ref: policy.validation.default
12
+ evidence_policy_ref: policy.evidence.default
10
13
  requested_capabilities: []
11
14
  skill_refs: []
12
15
  tool_refs: []
@@ -92,7 +92,11 @@ const VALUE_FLAGS = new Set([
92
92
  "--visibility",
93
93
  "--source-path",
94
94
  "--source-repo",
95
+ "--remote",
96
+ "--branch",
97
+ "--message",
95
98
  "--max-stale-seconds",
99
+ "--queue-policy",
96
100
  "--requires",
97
101
  "--target",
98
102
  "--snapshot",
@@ -138,6 +142,7 @@ const BOOLEAN_FLAGS = new Set([
138
142
  "--clean",
139
143
  "--gitignore",
140
144
  "--select-goal",
145
+ "--stage-all",
141
146
  "--stdio",
142
147
  ]);
143
148
  const FLAG_ALIASES = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mdkg",
3
- "version": "0.4.0",
3
+ "version": "0.4.2",
4
4
  "description": "Git-native project memory for AI coding agents",
5
5
  "license": "MIT",
6
6
  "bin": {