mdkg 0.3.7 → 0.3.9

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 (53) hide show
  1. package/CHANGELOG.md +50 -0
  2. package/CLI_COMMAND_MATRIX.md +85 -24
  3. package/README.md +51 -26
  4. package/dist/cli.js +72 -35
  5. package/dist/command-contract.json +354 -9
  6. package/dist/commands/capability.js +1 -0
  7. package/dist/commands/doctor.js +7 -7
  8. package/dist/commands/format.js +40 -1
  9. package/dist/commands/handoff.js +6 -0
  10. package/dist/commands/init.js +84 -3
  11. package/dist/commands/new.js +12 -3
  12. package/dist/commands/skill.js +1 -1
  13. package/dist/commands/skill_mirror.js +22 -17
  14. package/dist/commands/skill_support.js +1 -1
  15. package/dist/commands/spec.js +76 -17
  16. package/dist/commands/subgraph.js +7 -4
  17. package/dist/commands/upgrade.js +137 -30
  18. package/dist/commands/validate.js +106 -3
  19. package/dist/commands/work.js +12 -5
  20. package/dist/core/config.js +132 -0
  21. package/dist/graph/agent_file_types.js +59 -20
  22. package/dist/graph/capabilities_indexer.js +45 -3
  23. package/dist/graph/indexer.js +5 -0
  24. package/dist/graph/template_schema.js +37 -17
  25. package/dist/graph/validate_graph.js +11 -5
  26. package/dist/init/AGENT_START.md +10 -9
  27. package/dist/init/CLI_COMMAND_MATRIX.md +30 -17
  28. package/dist/init/README.md +11 -9
  29. package/dist/init/config.json +15 -0
  30. package/dist/init/core/COLLABORATION.md +45 -0
  31. package/dist/init/core/HUMAN.md +7 -1
  32. package/dist/init/core/core.md +1 -0
  33. package/dist/init/core/rule-1-mdkg-conventions.md +3 -0
  34. package/dist/init/core/rule-3-cli-contract.md +5 -5
  35. package/dist/init/init-manifest.json +78 -13
  36. package/dist/init/llms.txt +2 -1
  37. package/dist/init/skills/default/author-mdkg-skill/SKILL.md +211 -0
  38. package/dist/init/skills/default/pursue-mdkg-goal/SKILL.md +10 -0
  39. package/dist/init/skills/default/select-work-and-ground-context/SKILL.md +8 -0
  40. package/dist/init/skills/default/verify-close-and-checkpoint/SKILL.md +73 -9
  41. package/dist/init/templates/default/manifest.md +45 -0
  42. package/dist/init/templates/specs/agent.MANIFEST.md +80 -0
  43. package/dist/init/templates/specs/api.MANIFEST.md +33 -0
  44. package/dist/init/templates/specs/base.MANIFEST.md +120 -0
  45. package/dist/init/templates/specs/capability.MANIFEST.md +45 -0
  46. package/dist/init/templates/specs/integration.MANIFEST.md +25 -0
  47. package/dist/init/templates/specs/model.MANIFEST.md +21 -0
  48. package/dist/init/templates/specs/project.MANIFEST.md +39 -0
  49. package/dist/init/templates/specs/runtime-agent.MANIFEST.md +49 -0
  50. package/dist/init/templates/specs/runtime-image.MANIFEST.md +21 -0
  51. package/dist/init/templates/specs/tool.MANIFEST.md +25 -0
  52. package/dist/util/argparse.js +3 -0
  53. package/package.json +19 -3
@@ -6,8 +6,9 @@ Verify live help with:
6
6
  - `mdkg --help`
7
7
  - `mdkg help <command>`
8
8
 
9
- Optional reusable SPEC capability records are accessed through `mdkg spec ...`.
10
- Repos without SPEC files remain valid.
9
+ Optional reusable manifest capability records are accessed through `mdkg manifest ...`.
10
+ Repos without MANIFEST/SPEC files remain valid. `mdkg spec ...` remains a
11
+ legacy alias for one compatibility release.
11
12
 
12
13
  Primary commands:
13
14
  - `mdkg init`
@@ -20,6 +21,7 @@ Primary commands:
20
21
  - `mdkg handoff create <id-or-qid> [--ws <alias>] [--depth <n>] [--out <path>] [--json]`
21
22
  - `mdkg skill`
22
23
  - `mdkg capability`
24
+ - `mdkg manifest`
23
25
  - `mdkg spec`
24
26
  - `mdkg archive`
25
27
  - `mdkg bundle`
@@ -118,9 +120,11 @@ Project database commands:
118
120
  - active `.mdkg/db/runtime/` files and `.mdkg/db` WAL/SHM/journal/lock/temp files are ignored by default
119
121
 
120
122
  Validation commands:
121
- - `mdkg validate [--out <path>] [--quiet] [--changed-only] [--json]`
123
+ - `mdkg validate [--out <path>] [--json-out <path>] [--quiet] [--changed-only] [--summary] [--limit <n>] [--json]`
122
124
  - `--changed-only` filters warning presentation to changed `.mdkg` files while full graph errors still run
123
- - JSON receipts include `warning_diagnostics` with warning ids, categories, severity, paths, refs, and remediation text
125
+ - `--summary` emits bounded warning samples for agent/CI logs; `--limit <n>` controls the sample size
126
+ - `--out <path>` writes the compatibility text report; `--json-out <path>` writes a clean full JSON receipt
127
+ - JSON receipts include `warning_summary` and `warning_diagnostics` with warning ids, categories, severity, paths, refs, and remediation text
124
128
 
125
129
  Node creation commands:
126
130
  - `mdkg new <type> "<title>" [options] [--json]`
@@ -128,19 +132,21 @@ Node creation commands:
128
132
  - `mdkg new spike "<research question>" [options] [--json]`
129
133
 
130
134
  Agent workflow file type creation:
131
- - `mdkg new spec "<title>" [options] [--json]`
135
+ - `mdkg new manifest "<title>" [options] [--json]`
132
136
  - `mdkg new work "<title>" [options] [--json]`
133
137
  - `mdkg new work_order "<title>" [options] [--json]`
134
138
  - `mdkg new receipt "<title>" [options] [--json]`
135
139
  - `mdkg new feedback "<title>" [options] [--json]`
136
140
  - `mdkg new dispute "<title>" [options] [--json]`
137
141
  - `mdkg new proposal "<title>" [options] [--json]`
138
- - `mdkg new spec "image worker" --id agent.image-worker`
142
+ - `mdkg new spec "<title>" [options] [--json]` is a deprecated alias for
143
+ `mdkg new manifest` and creates `MANIFEST.md` with `type: manifest`
144
+ - `mdkg new manifest "image worker" --id agent.image-worker`
139
145
  - `mdkg new work "generate image" --id work.generate-image`
140
146
 
141
147
  Agent workflow notes:
142
148
  - `--id <portable-id>` is only for agent workflow file types.
143
- - `spec` and `work` scaffold as validation-clean standalone docs.
149
+ - `manifest` and `work` scaffold as validation-clean standalone docs.
144
150
  - `work_order`, `receipt`, `feedback`, `dispute`, and `proposal` need real refs before strict `mdkg validate` passes.
145
151
  - `goal` nodes capture recursive objective state and required checks, but normal `mdkg next` does not select them.
146
152
  - `spike` nodes are actionable research/planning work under `.mdkg/work/`; use `mdkg task start|update|done` for lifecycle state.
@@ -171,7 +177,7 @@ Checkpoint commands:
171
177
  Agent bootstrap:
172
178
  - `mdkg init --agent`
173
179
  - published bootstrap config is root-only by default
174
- - `mdkg init --agent` creates the complete startup docs, wrapper docs, default mdkg skills, event log, registry, and skill mirrors
180
+ - `mdkg init --agent` creates the complete startup docs, wrapper docs, `SOUL.md` / `COLLABORATION.md` core docs, legacy `HUMAN.md`, default mdkg skills, event log, registry, and configured skill mirrors
175
181
  - removed flags `--llm`, `--agents`, `--claude`, and `--omni` fail before mutation with guidance to use `mdkg init --agent`
176
182
 
177
183
  Upgrade:
@@ -195,18 +201,25 @@ Capability discovery:
195
201
  - `mdkg capability resolve [query] [--requires <capability>] [--fresh-only] [--json]`
196
202
  - capability records are deterministic cache projections from Markdown
197
203
  - records include source hash, headings, refs, and `indexed_at`
198
- - SPEC and WORK capability records include read-only `linkage` arrays for related SPECs, work contracts, work orders, and receipts when those graph mirrors exist
204
+ - MANIFEST/SPEC and WORK capability records include read-only `linkage` arrays for related manifests, work contracts, work orders, and receipts when those graph mirrors exist
199
205
  - normal task, epic, feat, bug, test, spike, and checkpoint nodes are intentionally excluded
200
206
 
201
- Spec capability records:
207
+ Manifest capability records:
208
+ - `mdkg manifest list [--json]`
209
+ - `mdkg manifest show <id-or-qid-or-alias> [--json]`
210
+ - `mdkg manifest validate [<id-or-qid-or-alias>] [--json]`
211
+ - `MANIFEST.md` is optional; repos with no manifest files still validate
212
+ - manifest records describe reusable capability surfaces, not general planning notes
213
+ - `mdkg manifest validate` with no ref validates the graph and all optional manifest records
214
+ - `mdkg manifest validate <ref>` also checks that the target manifest reference exists
215
+ - `mdkg manifest ...` is the focused manifest command family; `mdkg capability ...` remains broader skill/manifest/work/core/design discovery
216
+
217
+ Legacy spec capability records:
202
218
  - `mdkg spec list [--json]`
203
219
  - `mdkg spec show <id-or-qid-or-alias> [--json]`
204
220
  - `mdkg spec validate [<id-or-qid-or-alias>] [--json]`
205
- - `SPEC.md` is optional; repos with no SPEC files still validate
206
- - SPEC records describe reusable capability surfaces, not general planning notes
207
- - `mdkg spec validate` with no ref validates the graph and all optional SPEC records
208
- - `mdkg spec validate <ref>` also checks that the target SPEC reference exists
209
- - `mdkg spec ...` is the focused SPEC command family; `mdkg capability ...` remains broader skill/spec/work/core/design discovery
221
+ - `mdkg spec ...` is a deprecated alias for `mdkg manifest ...` during the compatibility bridge
222
+ - legacy `SPEC.md` files remain valid for one compatibility release
210
223
 
211
224
  Archive sidecars:
212
225
  - `mdkg archive add <file> [--id <archive.id>] [--kind source|artifact] [--visibility private|internal|public] [--title <title>] [--refs <...>] [--relates <...>] [--json]`
@@ -281,8 +294,8 @@ Work semantic mirrors:
281
294
  - `mdkg work receipt verify <id-or-qid> [--json]`
282
295
  - `mdkg work receipt update <id-or-qid> [--receipt-status <status>] [--add-artifacts <...>] [--add-proof-refs <...>] [--add-attestation-refs <...>] [--json]`
283
296
  - `mdkg work artifact add <order-or-receipt-id-or-qid> <file> [--id <archive.id>] [--kind source|artifact] [--json]`
284
- - `mdkg work validate [<id-or-qid>] [--type spec|work|work_order|receipt|feedback|dispute|proposal] [--json]`
285
- - `work trigger` accepts a `WORK.md` ref directly or a `SPEC.md` capability ref with exactly one resolvable work contract; it creates a submitted order mirror and never executes work
297
+ - `mdkg work validate [<id-or-qid>] [--type manifest|spec|work|work_order|receipt|feedback|dispute|proposal] [--json]`
298
+ - `work trigger` accepts a `WORK.md` ref directly or a `MANIFEST.md` / legacy `SPEC.md` capability ref with exactly one resolvable work contract; it creates a submitted order mirror and never executes work
286
299
  - example: `mdkg work trigger work.example --id order.example-1 --requester user://example --json`
287
300
  - `work trigger --enqueue <queue>` requires a valid project DB plus an explicitly created active queue, creates a submitted order mirror, and enqueues a local delivery message without executing work
288
301
  - `work order status` is read-only and reports deterministic order state plus linked receipts
@@ -27,7 +27,7 @@ mdkg show <id>
27
27
  mdkg pack <id>
28
28
  mdkg handoff create <id-or-qid> --json
29
29
  mdkg capability search "..."
30
- mdkg spec list --json
30
+ mdkg manifest list --json
31
31
  mdkg archive list
32
32
  mdkg bundle create --profile private
33
33
  mdkg graph clone .mdkg/bundles/private/all.mdkg.zip --target demos/demo-1 --json
@@ -37,14 +37,14 @@ mdkg fix plan --json
37
37
  mdkg validate
38
38
  ```
39
39
 
40
- This repo is already initialized. Use `mdkg upgrade` to preview safe scaffold updates, `mdkg index` to create or refresh generated graph/skill/capability/subgraph and SQLite caches after init, `mdkg new` to create work, `mdkg new goal "..."` plus `mdkg goal activate/current/next/claim/evaluate` for recursive long-running objectives, `mdkg search`/`mdkg show` to inspect graph state, `mdkg capability ...` to inspect cached skill/spec/work/core/design capabilities, `mdkg spec ...` for focused optional SPEC records, `mdkg capability resolve ...` to rank local and subgraph capabilities, `mdkg archive ...` to register source/artifact sidecars, `mdkg work ...` to create work contract/order/receipt semantic mirrors and deterministic trigger/verification records, `mdkg bundle ...` to create full graph snapshot bundles, `mdkg graph ...` to clone/fork/import authored graph templates, `mdkg subgraph ...` to register read-only child graph planning views, `mdkg pack <id>` to build deterministic context, `mdkg handoff create <id-or-qid> --json` to create a sanitized copy-ready agent handoff prompt, and `mdkg validate` before closeout.
40
+ This repo is already initialized. Use `mdkg upgrade` to preview safe scaffold updates, `mdkg index` to create or refresh generated graph/skill/capability/subgraph and SQLite caches after init, `mdkg new` to create work, `mdkg new goal "..."` plus `mdkg goal activate/current/next/claim/evaluate` for recursive long-running objectives, `mdkg search`/`mdkg show` to inspect graph state, `mdkg capability ...` to inspect cached skill/manifest/spec/work/core/design capabilities, `mdkg manifest ...` for focused optional manifest records, `mdkg capability resolve ...` to rank local and subgraph capabilities, `mdkg archive ...` to register source/artifact sidecars, `mdkg work ...` to create work contract/order/receipt semantic mirrors and deterministic trigger/verification records, `mdkg bundle ...` to create full graph snapshot bundles, `mdkg graph ...` to clone/fork/import authored graph templates, `mdkg subgraph ...` to register read-only child graph planning views, `mdkg pack <id>` to build deterministic context, `mdkg handoff create <id-or-qid> --json` to create a sanitized copy-ready agent handoff prompt, and `mdkg validate` before closeout.
41
41
 
42
42
  `mdkg handoff create` summarizes goal/work state, included pack nodes, latest
43
43
  checkpoint, boundaries, required checks, next actions, and raw-content marker
44
44
  warnings without copying raw node bodies into the prompt. Use `--out` to write
45
45
  the handoff artifact inside the repo root.
46
46
 
47
- For large historical graphs, `mdkg validate --changed-only --json` keeps warning review focused on changed `.mdkg` files while full graph errors still run. `mdkg format --headings --dry-run --json` previews missing recommended heading additions before `--apply`.
47
+ For large historical graphs, `mdkg validate --changed-only --json` keeps warning review focused on changed `.mdkg` files while full graph errors still run. `mdkg validate --summary --json --limit 20` keeps agent and CI logs bounded, and `--json-out <path>` writes a clean full JSON receipt artifact. `mdkg format --headings --dry-run --summary --json --limit 20` previews missing recommended heading additions with bounded output before `--apply`.
48
48
 
49
49
  Use `mdkg status --json` for a read-only operator summary of Git, graph,
50
50
  selected-goal, project DB, and generated-cache health before mutating work. Use
@@ -80,15 +80,17 @@ intentionally with `mdkg new task ...` or `mdkg new test ...`.
80
80
  Agent workflow docs can use semantic ids:
81
81
 
82
82
  ```bash
83
- mdkg new spec "image worker" --id agent.image-worker
83
+ mdkg new manifest "image worker" --id agent.image-worker
84
84
  mdkg new work "generate image" --id work.generate-image
85
85
  ```
86
86
 
87
- `SPEC.md` is optional. Repos without SPEC files still validate. When present,
88
- SPEC records describe reusable capability surfaces rather than general planning
89
- notes. `mdkg spec list/show/validate` is the focused SPEC command family, while
90
- `mdkg capability ...` remains the broader read-only discovery surface for
91
- skills, SPECs, WORK contracts, core docs, and design docs.
87
+ `MANIFEST.md` is optional. Repos without manifest files still validate. When
88
+ present, manifest records describe reusable capability surfaces rather than
89
+ general planning notes. `SPEC.md` remains a legacy alias for one compatibility
90
+ release, and `mdkg spec list/show/validate` remains a deprecated alias for
91
+ `mdkg manifest list/show/validate`. `mdkg capability ...` remains the broader
92
+ read-only discovery surface for skills, manifests, WORK contracts, core docs,
93
+ and design docs.
92
94
 
93
95
  Read `AGENT_START.md` first when this repo includes it.
94
96
 
@@ -32,6 +32,21 @@
32
32
  "receipts_path": ".mdkg/db/receipts",
33
33
  "migration_table": "mdkg_schema_migration"
34
34
  },
35
+ "customization": {
36
+ "standards": {
37
+ "profile": "default",
38
+ "refs": []
39
+ },
40
+ "core_docs": {
41
+ "custom_paths": []
42
+ },
43
+ "skill_mirrors": {
44
+ "targets": [
45
+ ".agents/skills",
46
+ ".claude/skills"
47
+ ]
48
+ }
49
+ },
35
50
  "subgraphs": {},
36
51
  "pack": {
37
52
  "default_depth": 2,
@@ -0,0 +1,45 @@
1
+ ---
2
+ id: rule-7
3
+ type: rule
4
+ title: collaboration profile and operator preferences
5
+ tags: [collaboration, preferences, operator]
6
+ owners: []
7
+ links: []
8
+ artifacts: []
9
+ relates: [rule-human]
10
+ refs: [dec-53]
11
+ aliases: [collaboration, operator-profile]
12
+ created: 2026-06-27
13
+ updated: 2026-06-27
14
+ ---
15
+
16
+ # Purpose
17
+
18
+ Capture stable collaboration preferences, operating boundaries, and repo-specific
19
+ human expectations so agents can work with less ambiguity.
20
+
21
+ # Scope
22
+
23
+ Applies to planning, implementation, review, release, and handoff interactions in
24
+ this repository.
25
+
26
+ # Compatibility
27
+
28
+ `COLLABORATION.md` is canonical. `HUMAN.md` remains a one-release legacy alias for
29
+ repos and agent prompts that still reference it; read `COLLABORATION.md` first and
30
+ then use `HUMAN.md` only for compatibility notes not yet migrated.
31
+
32
+ # Requirements
33
+
34
+ - Keep top goals, boundaries, and style preferences current.
35
+ - Include ask-before-doing constraints for risky or high-impact actions.
36
+ - Record preferred environment assumptions and validation commands.
37
+ - Preserve local operator customizations during `mdkg upgrade --apply`.
38
+
39
+ # Notes
40
+
41
+ Suggested prompts:
42
+ - What are your top 3 goals in this repo right now?
43
+ - What should never happen without confirmation?
44
+ - What coding/review style should the agent prefer?
45
+ - What OS/runtime/test commands should be assumed?
@@ -10,9 +10,15 @@ relates: []
10
10
  refs: []
11
11
  aliases: [human]
12
12
  created: 2026-03-10
13
- updated: 2026-03-10
13
+ updated: 2026-06-27
14
14
  ---
15
15
 
16
+ # Compatibility
17
+
18
+ `HUMAN.md` is a one-release legacy alias. Read
19
+ `.mdkg/core/COLLABORATION.md` first when it exists, then use this file only for
20
+ older local notes that have not yet moved to the canonical collaboration profile.
21
+
16
22
  # Purpose
17
23
 
18
24
  Capture stable collaboration preferences and boundaries so agents can work with less ambiguity.
@@ -4,6 +4,7 @@
4
4
  # This list is included by `mdkg pack --verbose`.
5
5
 
6
6
  rule-soul
7
+ rule-7
7
8
  rule-human
8
9
  rule-1
9
10
  rule-2
@@ -92,6 +92,9 @@ Reserved rule IDs allowed by contract:
92
92
  - `rule-soul`
93
93
  - `rule-human`
94
94
 
95
+ `rule-7` is the current canonical collaboration profile. `rule-human` remains a
96
+ one-release legacy alias through `HUMAN.md`.
97
+
95
98
  Examples:
96
99
  - `task-183`
97
100
  - `edd-14`
@@ -114,20 +114,20 @@ If a user provides an unqualified ID and it is ambiguous globally:
114
114
  - `llms.txt`
115
115
  - `CLI_COMMAND_MATRIX.md`
116
116
  - `.mdkg/core/SOUL.md` (`id: rule-soul`)
117
- - `.mdkg/core/HUMAN.md` (`id: rule-human`)
117
+ - `.mdkg/core/COLLABORATION.md` (`id: rule-7`)
118
+ - `.mdkg/core/HUMAN.md` (`id: rule-human`, one-release legacy alias)
118
119
  - seeded canonical skills:
119
120
  - `.mdkg/skills/select-work-and-ground-context/SKILL.md`
120
121
  - `.mdkg/skills/build-pack-and-execute-task/SKILL.md`
121
122
  - `.mdkg/skills/verify-close-and-checkpoint/SKILL.md`
122
123
  - `.mdkg/skills/registry.md`
123
124
  - `.mdkg/work/events/events.jsonl`
124
- - `.agents/skills/`
125
- - `.claude/skills/`
126
- - deterministic `core.md` pin insertion (`rule-soul`, then `rule-human`)
125
+ - configured skill mirror targets, defaulting to `.agents/skills/` and `.claude/skills/`
126
+ - deterministic `core.md` pin insertion (`rule-soul`, then `rule-7`, then `rule-human`)
127
127
  - ignore policy for generated JSON index/temp/lock files, `.mdkg/pack/`, and raw archive source copies under `.mdkg/archive/**/source/`
128
128
  - mirrored skills are append-focused outputs:
129
129
  - `.mdkg/skills/` remains canonical
130
- - unrelated existing folders under `.agents/skills/` and `.claude/skills/` are preserved
130
+ - unrelated existing folders under configured mirror targets are preserved
131
131
  - same-slug collisions fail by default unless explicitly forced through `mdkg skill sync --force`
132
132
 
133
133
  ### Guide
@@ -1,17 +1,22 @@
1
1
  {
2
2
  "schema_version": 1,
3
3
  "tool": "mdkg",
4
- "mdkg_version": "0.3.7",
4
+ "mdkg_version": "0.3.9",
5
5
  "files": [
6
6
  {
7
7
  "path": ".mdkg/config.json",
8
8
  "category": "config",
9
- "sha256": "8055c72aa3c55f8a49d532a735bc29e3baa2e2bf478e9d092b83bec9e46fa78c"
9
+ "sha256": "715e2f55843dc31f66d4b7d333b5f89ea2aeeacc30f5dfaf7d3fd9f2c41e5fb0"
10
+ },
11
+ {
12
+ "path": ".mdkg/core/COLLABORATION.md",
13
+ "category": "core",
14
+ "sha256": "ef60b65b54a57ed54984a49f5ed14453cb4e47170a5660be94eceec26b92b01f"
10
15
  },
11
16
  {
12
17
  "path": ".mdkg/core/core.md",
13
18
  "category": "core",
14
- "sha256": "d87beecf4229535c0d0feea7deae28b97d0681105a1c282d9961e97918f0bbe8"
19
+ "sha256": "7d8a5ee16433ac8057234c84c2603a9d568d538f17f0488572da15f59603ca0f"
15
20
  },
16
21
  {
17
22
  "path": ".mdkg/core/guide.md",
@@ -21,12 +26,12 @@
21
26
  {
22
27
  "path": ".mdkg/core/HUMAN.md",
23
28
  "category": "core",
24
- "sha256": "75d2e015cd5ba61062cb84246017ee4f4221610d4a56e4a0b332271b90694965"
29
+ "sha256": "945fb5cb47945735b9529f2b0a322630b3e8aef1c3e69c4ce85dd2db3e905cca"
25
30
  },
26
31
  {
27
32
  "path": ".mdkg/core/rule-1-mdkg-conventions.md",
28
33
  "category": "core",
29
- "sha256": "15f886e6661046de45ad798c292d74cc1ff3cc14c8cfcc82ed0b8c35635d0477"
34
+ "sha256": "03db1635d170331517efb0ac24351b477a8020a96e51edf5bd67910a49bb5db7"
30
35
  },
31
36
  {
32
37
  "path": ".mdkg/core/rule-2-context-pack-rules.md",
@@ -36,7 +41,7 @@
36
41
  {
37
42
  "path": ".mdkg/core/rule-3-cli-contract.md",
38
43
  "category": "core",
39
- "sha256": "f61b84ff6e5abae91365c4f623ccbd78f25dfcfef09822fefb3abf0119d65739"
44
+ "sha256": "362fb8f22525f51c15ef54d81f63ebef4ab4b1dbaf37bd1415462a204ab78e45"
40
45
  },
41
46
  {
42
47
  "path": ".mdkg/core/rule-4-repo-safety-and-ignores.md",
@@ -61,7 +66,12 @@
61
66
  {
62
67
  "path": ".mdkg/README.md",
63
68
  "category": "mdkg_doc",
64
- "sha256": "5a03de7c4602936e6108b3e8f2916ead8320a4020c335ea9cfd083d59eabf083"
69
+ "sha256": "e876acfbf3e9de411cd45eb86e7e9bff821f8a5dd6dc933bd6da4ac88a9686e6"
70
+ },
71
+ {
72
+ "path": ".mdkg/skills/author-mdkg-skill/SKILL.md",
73
+ "category": "default_skill",
74
+ "sha256": "9ea196cb778e6a777c945b3bba9d51c7574602f413e9a1d5e01e2b95918c0873"
65
75
  },
66
76
  {
67
77
  "path": ".mdkg/skills/build-pack-and-execute-task/SKILL.md",
@@ -71,17 +81,17 @@
71
81
  {
72
82
  "path": ".mdkg/skills/pursue-mdkg-goal/SKILL.md",
73
83
  "category": "default_skill",
74
- "sha256": "2bc888092d95b362e402494af4dbe6909204bd5578613d6159753a84efaae16d"
84
+ "sha256": "0545b011232d6924d84d80ad4b33153e591249d440c55481f125b37923c298d5"
75
85
  },
76
86
  {
77
87
  "path": ".mdkg/skills/select-work-and-ground-context/SKILL.md",
78
88
  "category": "default_skill",
79
- "sha256": "e50fc3b1a2c79a9a3544ca9df1bf4ca9c312e7c3a51d5e4c6f3314341eca268b"
89
+ "sha256": "95faee88875233dd2ed2039e941fbe879e3ccf619e1f9f18e3f2313ac5033409"
80
90
  },
81
91
  {
82
92
  "path": ".mdkg/skills/verify-close-and-checkpoint/SKILL.md",
83
93
  "category": "default_skill",
84
- "sha256": "3e4137b7b6a71f088dee79b5ee2f4743aefa3b43adae07337307db89a24416b6"
94
+ "sha256": "1e3982ad80a0a8b94d43a80e2b7143a938f6e01aa898b86d0410911f61361107"
85
95
  },
86
96
  {
87
97
  "path": ".mdkg/templates/default/archive.md",
@@ -133,6 +143,11 @@
133
143
  "category": "template",
134
144
  "sha256": "8f984580aefd02b34639fa7f5d2a834662656bbf2e12f14a285f5ae31aff74ce"
135
145
  },
146
+ {
147
+ "path": ".mdkg/templates/default/manifest.md",
148
+ "category": "template",
149
+ "sha256": "2ff2af58cae6a0381a66949d7d9e997fac6486da85171b09096c43663889da95"
150
+ },
136
151
  {
137
152
  "path": ".mdkg/templates/default/prd.md",
138
153
  "category": "template",
@@ -193,51 +208,101 @@
193
208
  "category": "template",
194
209
  "sha256": "08a1bd65297173a1dc9df95776775d406337a419d4bc51863593b6f28777ebdb"
195
210
  },
211
+ {
212
+ "path": ".mdkg/templates/specs/agent.MANIFEST.md",
213
+ "category": "template",
214
+ "sha256": "79fb755c95747d3f673e1333ec3f039d08f76488ba268b7fa32f457d8638ee64"
215
+ },
196
216
  {
197
217
  "path": ".mdkg/templates/specs/agent.SPEC.md",
198
218
  "category": "template",
199
219
  "sha256": "dab10c0ed12aa10a752ee3bd61f263065644826eb950c71a9e3458673edb0ca5"
200
220
  },
221
+ {
222
+ "path": ".mdkg/templates/specs/api.MANIFEST.md",
223
+ "category": "template",
224
+ "sha256": "dd342ab2bd331b716e4b7de9f8c7cfa503703422a4cc88c21fe90ff49b11aa83"
225
+ },
201
226
  {
202
227
  "path": ".mdkg/templates/specs/api.SPEC.md",
203
228
  "category": "template",
204
229
  "sha256": "aee86cadcca31a5a015d7e15ad7503c4aa30f2af0079ec03f857b82b3ecbae59"
205
230
  },
231
+ {
232
+ "path": ".mdkg/templates/specs/base.MANIFEST.md",
233
+ "category": "template",
234
+ "sha256": "056c4ccf8285db72c8befdc6acd165d625dbe892d70e89ce586f081db8e250fc"
235
+ },
206
236
  {
207
237
  "path": ".mdkg/templates/specs/base.SPEC.md",
208
238
  "category": "template",
209
239
  "sha256": "6d4171fac00c2f3d8f2a2ac746b8a47c59aaecebe224c3a0046dd6e6974a1d08"
210
240
  },
241
+ {
242
+ "path": ".mdkg/templates/specs/capability.MANIFEST.md",
243
+ "category": "template",
244
+ "sha256": "0ab2c2f90c6bdcddaafd77ac6cc36422d6ee10cc935942d8f80728f5b184d5cc"
245
+ },
211
246
  {
212
247
  "path": ".mdkg/templates/specs/capability.SPEC.md",
213
248
  "category": "template",
214
249
  "sha256": "68a91e8bbd80d1ff1972e4c31e29f26451d5a1be1d25d414170fdd670010066f"
215
250
  },
251
+ {
252
+ "path": ".mdkg/templates/specs/integration.MANIFEST.md",
253
+ "category": "template",
254
+ "sha256": "7af890bdac5515600661c241dd488c2bc270248ae6fba9afb0307d7a643022a4"
255
+ },
216
256
  {
217
257
  "path": ".mdkg/templates/specs/integration.SPEC.md",
218
258
  "category": "template",
219
259
  "sha256": "e907ce6ebc1fa5a455e31e39036e3f8699dccb3d9e45288c8ea025eaec4ca4a2"
220
260
  },
261
+ {
262
+ "path": ".mdkg/templates/specs/model.MANIFEST.md",
263
+ "category": "template",
264
+ "sha256": "3fe36a424b6eba8542bd08d3e2728ffd7f35d2c72037f2e565757cea15da2e1f"
265
+ },
221
266
  {
222
267
  "path": ".mdkg/templates/specs/model.SPEC.md",
223
268
  "category": "template",
224
269
  "sha256": "56061a241819dfda4d3022c075f744cf6650f5f52c58cd15b0af9d1f613af4f2"
225
270
  },
271
+ {
272
+ "path": ".mdkg/templates/specs/project.MANIFEST.md",
273
+ "category": "template",
274
+ "sha256": "e1f68306a9cff3d73e65a2fea38d52b49dd76921b5d7c7ea9710eb2c23cb6f89"
275
+ },
226
276
  {
227
277
  "path": ".mdkg/templates/specs/project.SPEC.md",
228
278
  "category": "template",
229
279
  "sha256": "386c41852cbb46e7a6ba583a7b0c4126262a56618d8e214aaa601b68d55818b9"
230
280
  },
281
+ {
282
+ "path": ".mdkg/templates/specs/runtime-agent.MANIFEST.md",
283
+ "category": "template",
284
+ "sha256": "4ba2013362597f101fb225bc6a3369a47a0c1cac3de78220efea4e53d42f0393"
285
+ },
231
286
  {
232
287
  "path": ".mdkg/templates/specs/runtime-agent.SPEC.md",
233
288
  "category": "template",
234
289
  "sha256": "53af7c3e172f5ed1297f340aca0be5e53302613d2e6bb9145915067d7b0004c8"
235
290
  },
291
+ {
292
+ "path": ".mdkg/templates/specs/runtime-image.MANIFEST.md",
293
+ "category": "template",
294
+ "sha256": "098debed22f274c9f408defcf330ef27c760e1a3166876f2a6e16cb28cfb4757"
295
+ },
236
296
  {
237
297
  "path": ".mdkg/templates/specs/runtime-image.SPEC.md",
238
298
  "category": "template",
239
299
  "sha256": "37416b045cd7733d1f5e1cc629ac9b6616024d5fa52f2bdcd90110267151e593"
240
300
  },
301
+ {
302
+ "path": ".mdkg/templates/specs/tool.MANIFEST.md",
303
+ "category": "template",
304
+ "sha256": "79e45600a3b83d70e2791cbdff0138b57018a30b7e277d9017b7ba142deccb91"
305
+ },
241
306
  {
242
307
  "path": ".mdkg/templates/specs/tool.SPEC.md",
243
308
  "category": "template",
@@ -246,7 +311,7 @@
246
311
  {
247
312
  "path": "AGENT_START.md",
248
313
  "category": "startup_doc",
249
- "sha256": "d305f0e61c2401814bc51067c8129a3ad131c6217692038bc7ffad012c305451"
314
+ "sha256": "91e31ae818b29f62ebe77ac24f7e1a2bd10a4fedfc1684da935f0849aaf6d200"
250
315
  },
251
316
  {
252
317
  "path": "AGENTS.md",
@@ -261,12 +326,12 @@
261
326
  {
262
327
  "path": "CLI_COMMAND_MATRIX.md",
263
328
  "category": "startup_doc",
264
- "sha256": "84de4e06dd4d6d2b316e17c37bebcec373f1a9500d7107c8dd0ce5ca15048b7d"
329
+ "sha256": "82c509b91498131304ff2bc94bb7eb2f29c3c207a00bc8bcaf8a6ab52ff9e689"
265
330
  },
266
331
  {
267
332
  "path": "llms.txt",
268
333
  "category": "startup_doc",
269
- "sha256": "8316bb8f634c6fb290ef1591e9c5b9786a2ddc06d25ab7d448fce8f4aebf65b8"
334
+ "sha256": "108ac1feb3e11824c9cfc5116aaa83355cb461ad9b0ec5c4bb244f6a70276f31"
270
335
  }
271
336
  ]
272
337
  }
@@ -4,7 +4,8 @@ Read `AGENT_START.md` first.
4
4
 
5
5
  Key files:
6
6
  - `.mdkg/core/SOUL.md`
7
- - `.mdkg/core/HUMAN.md`
7
+ - `.mdkg/core/COLLABORATION.md`
8
+ - `.mdkg/core/HUMAN.md` (legacy alias for one release)
8
9
  - `.mdkg/README.md`
9
10
  - `CLI_COMMAND_MATRIX.md`
10
11