mdkg 0.3.0 → 0.3.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.
- package/CHANGELOG.md +90 -1
- package/CLI_COMMAND_MATRIX.md +1188 -0
- package/README.md +86 -5
- package/dist/cli.js +130 -10
- package/dist/command-contract.json +7473 -0
- package/dist/commands/doctor.js +370 -86
- package/dist/commands/fix.js +934 -0
- package/dist/commands/format.js +8 -2
- package/dist/commands/goal.js +1 -1
- package/dist/commands/next.js +2 -2
- package/dist/commands/skill.js +13 -3
- package/dist/commands/skill_support.js +3 -3
- package/dist/commands/status.js +270 -0
- package/dist/commands/subgraph.js +300 -0
- package/dist/commands/task.js +2 -2
- package/dist/commands/validate.js +12 -1
- package/dist/commands/workspace.js +19 -7
- package/dist/graph/goal_scope.js +1 -1
- package/dist/graph/node.js +2 -1
- package/dist/init/CLI_COMMAND_MATRIX.md +20 -2
- package/dist/init/README.md +35 -2
- package/dist/init/core/rule-5-release-and-versioning.md +13 -4
- package/dist/init/init-manifest.json +9 -4
- package/dist/init/templates/default/spike.md +81 -0
- package/dist/pack/order.js +3 -2
- package/dist/util/argparse.js +1 -0
- package/package.json +11 -3
package/CHANGELOG.md
CHANGED
|
@@ -6,7 +6,96 @@ This project follows a pragmatic changelog style inspired by Keep a Changelog. V
|
|
|
6
6
|
|
|
7
7
|
mdkg is pre-v1 public alpha software. Command, graph, cache, bundle, and DAL contracts may change quickly while the project converges on a stable v1 surface.
|
|
8
8
|
|
|
9
|
-
##
|
|
9
|
+
## Unreleased
|
|
10
|
+
|
|
11
|
+
### Planned
|
|
12
|
+
|
|
13
|
+
- No changes yet.
|
|
14
|
+
|
|
15
|
+
## 0.3.2 - 2026-06-16
|
|
16
|
+
|
|
17
|
+
### Added
|
|
18
|
+
|
|
19
|
+
- Added first-class research spike work-node support with `mdkg new spike`,
|
|
20
|
+
`spike-#` ids, `.mdkg/work/` storage, and compatibility with existing
|
|
21
|
+
`mdkg task start/update/done` lifecycle commands.
|
|
22
|
+
- Added spike participation in `mdkg next`, `mdkg goal next`, `mdkg goal claim`,
|
|
23
|
+
list/search/show structured exports, deterministic packs, goal-root pack
|
|
24
|
+
closure, and generated command contract metadata.
|
|
25
|
+
- Added a default spike template for research question, context, search plan,
|
|
26
|
+
findings, options/tradeoffs, recommendation, follow-up nodes, skill
|
|
27
|
+
candidates, domain notes, mdkg.dev launch implications, and evidence/sources.
|
|
28
|
+
- Added packed `smoke:spike` coverage that installs mdkg from a tarball in a
|
|
29
|
+
temp prefix, creates a fresh repo, exercises spike lifecycle and goal routing,
|
|
30
|
+
verifies structured exports and pack formats, creates follow-up task/test
|
|
31
|
+
nodes, and confirms no automatic skill generation occurs.
|
|
32
|
+
- Added mdkg.dev dogfood research spike nodes and follow-up roadmap nodes so
|
|
33
|
+
launch planning can proceed from evidence-backed spikes after this release.
|
|
34
|
+
|
|
35
|
+
### Changed
|
|
36
|
+
|
|
37
|
+
- Updated README, `CLI_COMMAND_MATRIX.md`, init assets, help text, command docs,
|
|
38
|
+
and publish-readiness assertions to describe spikes as actionable research
|
|
39
|
+
work nodes, not autonomous web-search or file-generation agents.
|
|
40
|
+
- Hardened init and upgrade compatibility so fresh and upgraded repos receive
|
|
41
|
+
the bundled spike template while customized spike templates are preserved.
|
|
42
|
+
- Hardened spike pack/export behavior across JSON, Markdown, XML, and toon
|
|
43
|
+
pack formats plus public visibility filtering for spike archive references.
|
|
44
|
+
- Hardened validation and fix-plan UX for malformed spikes: invalid ids,
|
|
45
|
+
statuses, priorities, missing refs, duplicate spike ids, and missing spike
|
|
46
|
+
body sections now have explicit test coverage and read-only repair guidance
|
|
47
|
+
where existing fix-plan families apply.
|
|
48
|
+
- Extended `mdkg fix plan refs` to inspect indexed `links`, `artifacts`, and
|
|
49
|
+
`refs` fields in addition to custom attributes, so missing archive refs in
|
|
50
|
+
normal node metadata appear in repair plans.
|
|
51
|
+
|
|
52
|
+
### Security
|
|
53
|
+
|
|
54
|
+
- Kept spikes as human/agent-authored Markdown work nodes only. This release
|
|
55
|
+
does not add a `mdkg spike ...` namespace, automatic web search, automatic
|
|
56
|
+
follow-up node creation, automatic `SKILL.md` generation, or repair apply
|
|
57
|
+
behavior.
|
|
58
|
+
- Preserved dry-run-only repair planning: spike-related fix guidance remains
|
|
59
|
+
receipt-shaped, non-mutating, and `apply_supported: false`.
|
|
60
|
+
|
|
61
|
+
## 0.3.1 - 2026-06-11
|
|
62
|
+
|
|
63
|
+
### Added
|
|
64
|
+
|
|
65
|
+
- Added `mdkg status --json` as a read-only operator health summary covering
|
|
66
|
+
package/release metadata, Git state, graph/index freshness, selected-goal
|
|
67
|
+
state, project DB verification state, and generated cache health.
|
|
68
|
+
- Added strict typed doctor checks with `mdkg doctor --strict --json`,
|
|
69
|
+
including stable check ids, status/severity fields, remediation text, selected
|
|
70
|
+
goal stale/achieved detection, and enabled project DB verification failures.
|
|
71
|
+
- Added dry-run-only `mdkg fix plan --json` with receipt-shaped repair plans for
|
|
72
|
+
generated index/cache state, missing graph references, and duplicate local ids.
|
|
73
|
+
- Added read-only `mdkg subgraph audit` and `mdkg subgraph upgrade-plan`
|
|
74
|
+
receipts for child graph source-path health, root-owned bundle safety,
|
|
75
|
+
materialized-tree safety, dirty child repo refusal, and downstream sync/verify
|
|
76
|
+
planning.
|
|
77
|
+
- Added generated `dist/command-contract.json` metadata and `npm run
|
|
78
|
+
cli:contract` so command docs can be generated from mdkg-native command
|
|
79
|
+
policy metadata before `mdkg.dev` launch.
|
|
80
|
+
|
|
81
|
+
### Changed
|
|
82
|
+
|
|
83
|
+
- Hardened mutating command paths with mutation locks and atomic writes for
|
|
84
|
+
format, skill, and workspace updates.
|
|
85
|
+
- Extended prepublish readiness with operator-health, fix-plan,
|
|
86
|
+
branch-conflict, and command-docs packed smoke coverage.
|
|
87
|
+
- Updated README, `CLI_COMMAND_MATRIX.md`, init assets, help snapshots, and
|
|
88
|
+
publish-readiness assertions for the new operator-health, fix-planning,
|
|
89
|
+
subgraph safety, branch safety, generated command contract, and docs
|
|
90
|
+
readiness surfaces.
|
|
91
|
+
|
|
92
|
+
### Security
|
|
93
|
+
|
|
94
|
+
- Kept repair planning, subgraph upgrade planning, and operator health commands
|
|
95
|
+
read-only by default; apply behavior, child repo mutation, worker execution,
|
|
96
|
+
and public event/reducer/lease/materializer CLI remain deferred.
|
|
97
|
+
|
|
98
|
+
## 0.3.0 - 2026-06-06
|
|
10
99
|
|
|
11
100
|
### Added
|
|
12
101
|
|