@topy-ai/maggie 0.2.7 → 0.2.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.
- package/README.md +3 -2
- package/bin/maggie.js +20 -7
- package/bundled-skills/maggie-dash/SKILL.md +15 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -57,6 +57,7 @@ maggie init | install | update | remove | list | doctor
|
|
|
57
57
|
maggie cleanup --project . [--confirm]
|
|
58
58
|
maggie bootstrap interview | phase ...
|
|
59
59
|
maggie dash init | status | migrate
|
|
60
|
+
maggie dash transition ... # explicit content approval transition
|
|
60
61
|
maggie clone ... # authorized homepage capture
|
|
61
62
|
maggie design ... # authorized interior-page design
|
|
62
63
|
maggie clone-to-template ... # URL → validated marketplace template
|
|
@@ -79,8 +80,8 @@ with `--confirm`, removes only known retired EmDash artifacts. It preserves
|
|
|
79
80
|
Recommended upgrade sequence for the current release:
|
|
80
81
|
|
|
81
82
|
```bash
|
|
82
|
-
npx @topy-ai/maggie@0.2.
|
|
83
|
-
npx @topy-ai/maggie@0.2.
|
|
83
|
+
npx @topy-ai/maggie@0.2.9 update --project . --force
|
|
84
|
+
npx @topy-ai/maggie@0.2.9 cleanup --project .
|
|
84
85
|
```
|
|
85
86
|
|
|
86
87
|
## MaggieDash lifecycle
|
package/bin/maggie.js
CHANGED
|
@@ -38,6 +38,12 @@ const SKILL_NAMES = [
|
|
|
38
38
|
const RETIRED_PATHS = [
|
|
39
39
|
".agents/skills/maggie-emdash",
|
|
40
40
|
".claude/skills/maggie-emdash",
|
|
41
|
+
".agents/skills/building-emdash-site",
|
|
42
|
+
".claude/skills/building-emdash-site",
|
|
43
|
+
".agents/skills/creating-plugins",
|
|
44
|
+
".claude/skills/creating-plugins",
|
|
45
|
+
".agents/skills/emdash-cli",
|
|
46
|
+
".claude/skills/emdash-cli",
|
|
41
47
|
"contracts/emdash",
|
|
42
48
|
"templates/emdash",
|
|
43
49
|
"references/emdash-integration.md",
|
|
@@ -45,6 +51,7 @@ const RETIRED_PATHS = [
|
|
|
45
51
|
"tools/tests/test_maggie_emdash.py",
|
|
46
52
|
"docs/ai-cmo-emdash",
|
|
47
53
|
];
|
|
54
|
+
const RETIRED_REFERENCE_FILES = ["CLAUDE.md", ".claude/CLAUDE.md", ".agents/AGENTS.md", ".agents/README.md"];
|
|
48
55
|
|
|
49
56
|
function usage() {
|
|
50
57
|
console.log(`Maggie Skills installer
|
|
@@ -313,15 +320,21 @@ function cleanup(args) {
|
|
|
313
320
|
.filter(({ target }) => existsSync(target));
|
|
314
321
|
if (!existing.length) {
|
|
315
322
|
console.log("Maggie cleanup: no retired artifacts found");
|
|
316
|
-
|
|
323
|
+
} else {
|
|
324
|
+
for (const { relativePath, target } of existing) console.log(`${args.includes("--confirm") ? "removing" : "would remove"} ${relativePath}`);
|
|
325
|
+
if (args.includes("--confirm")) {
|
|
326
|
+
for (const { target } of existing) rmSync(target, { recursive: true, force: false });
|
|
327
|
+
console.log(`Maggie cleanup complete: removed ${existing.length} retired artifact(s)`);
|
|
328
|
+
} else {
|
|
329
|
+
console.log("Nothing was deleted. Rerun with --confirm to remove these retired artifacts.");
|
|
330
|
+
}
|
|
317
331
|
}
|
|
318
|
-
for (const
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
332
|
+
for (const relativePath of RETIRED_REFERENCE_FILES) {
|
|
333
|
+
const target = join(root, relativePath);
|
|
334
|
+
if (existsSync(target) && /emdash|em-dash|building-emdash-site|creating-plugins/i.test(readFileSync(target, "utf8"))) {
|
|
335
|
+
console.log(`review required ${relativePath}: contains a retired EmDash reference`);
|
|
336
|
+
}
|
|
322
337
|
}
|
|
323
|
-
for (const { target } of existing) rmSync(target, { recursive: true, force: false });
|
|
324
|
-
console.log(`Maggie cleanup complete: removed ${existing.length} retired artifact(s)`);
|
|
325
338
|
console.log("Migration history under docs/de-emdash-* and marketplace/.maggie were preserved.");
|
|
326
339
|
}
|
|
327
340
|
|
|
@@ -18,6 +18,21 @@ content operations.
|
|
|
18
18
|
4. Keep content in `draft` until a named actor explicitly transitions it
|
|
19
19
|
through review and approval.
|
|
20
20
|
|
|
21
|
+
To move a document through the approval lifecycle, use the explicit
|
|
22
|
+
transition command after checking its current status:
|
|
23
|
+
|
|
24
|
+
```bash
|
|
25
|
+
maggie dash status --project . --project-id local-project
|
|
26
|
+
maggie dash transition --project . \
|
|
27
|
+
--project-id local-project --document-id <document-id> \
|
|
28
|
+
--status review --actor <actor-id> \
|
|
29
|
+
--reason "ready for factual review" --confirm
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
Valid transitions and statuses are owned by the MaggieDash storage contract;
|
|
33
|
+
do not edit the database directly. A transition is an auditable state change,
|
|
34
|
+
not a publish shortcut.
|
|
35
|
+
|
|
21
36
|
All mutating commands require `--confirm`. The default development adapter is
|
|
22
37
|
SQLite; production adapters must satisfy the same versioned contracts.
|
|
23
38
|
|