@wipcomputer/wip-ldm-os 0.4.85-alpha.23 → 0.4.85-alpha.25
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 -1
- package/SKILL.md +10 -3
- package/package.json +1 -1
- package/scripts/test-install-prompt-policy.mjs +19 -6
- package/shared/templates/install-prompt.md +3 -1
package/README.md
CHANGED
|
@@ -22,7 +22,9 @@ Open your AI and paste this:
|
|
|
22
22
|
```
|
|
23
23
|
Read https://wip.computer/install/wip-ldm-os.txt
|
|
24
24
|
|
|
25
|
-
Use the install document and live local checks as the source of truth.
|
|
25
|
+
Use the install document and live local checks as the source of truth.
|
|
26
|
+
Do not search memory or prior notes for this install. Do not pre-load context from `MEMORY.md`, `crystal_search`, local skill dev guides, or other local memory before fetching the install document.
|
|
27
|
+
Do not run GitHub commands during this install flow. Do not run or request approval for `gh release`, `gh api`, or `gh search`. If release notes are not available from local or npm metadata, say that and do not fetch them from GitHub.
|
|
26
28
|
|
|
27
29
|
Check if LDM OS is installed (`which ldm && ldm --version`). Branch.
|
|
28
30
|
|
package/SKILL.md
CHANGED
|
@@ -29,11 +29,11 @@ metadata:
|
|
|
29
29
|
|
|
30
30
|
## Source of truth
|
|
31
31
|
|
|
32
|
-
Memory policy for install flows:
|
|
32
|
+
Memory policy for install flows: do not consult `MEMORY.md`, do not run `crystal_search`, and do not search prior notes when this skill is invoked, including in any parallel or batched exploration step. The only context sources for this install flow are `https://wip.computer/install/wip-ldm-os.txt` and the live local commands that document prescribes. Read that document and run those commands. Do not pre-load other context.
|
|
33
33
|
|
|
34
34
|
Use this install document and live local checks as the source of truth. Do not search memory or prior notes for this install.
|
|
35
35
|
|
|
36
|
-
Do not run GitHub
|
|
36
|
+
Do not run GitHub commands during the install-state flow. Do not run or request approval for `gh release list`, `gh release view`, `gh api repos/*`, `gh search`, or any other GitHub query unless the user explicitly asks for release notes. Install-state answers should come from local commands, `ldm status`, and npm package metadata.
|
|
37
37
|
|
|
38
38
|
## Step 1: Check if installed
|
|
39
39
|
|
|
@@ -70,7 +70,14 @@ Always a table. Every component with an update gets its own row.
|
|
|
70
70
|
|
|
71
71
|
**Do NOT skip this step.**
|
|
72
72
|
|
|
73
|
-
Use the output of `ldm status`, installed package metadata, and npm metadata. Do not use GitHub
|
|
73
|
+
Use the output of `ldm status`, installed package metadata, and npm metadata. Do not use GitHub commands here.
|
|
74
|
+
|
|
75
|
+
If npm metadata for a package does not include release notes:
|
|
76
|
+
- Show the version difference, for example `wip-repos v1.9.69 -> v1.9.70`.
|
|
77
|
+
- Say "release notes not available from local metadata."
|
|
78
|
+
- Do not fetch from GitHub. Do not run `gh release`, `gh api`, `gh search`, or any other GitHub query.
|
|
79
|
+
- Do not infer release-note content from package descriptions, commit messages, or repo READMEs.
|
|
80
|
+
- If the user wants release-note details, wait for an explicit request in plain language. An approval dialog is not a user request.
|
|
74
81
|
|
|
75
82
|
Translate available update information to user language. Every bullet answers "what changed for ME?" If the status output does not include enough detail for a component, say that clearly and do not invent release notes.
|
|
76
83
|
|
package/package.json
CHANGED
|
@@ -19,7 +19,10 @@ const failures = [];
|
|
|
19
19
|
for (const file of ["README.md", "shared/templates/install-prompt.md"]) {
|
|
20
20
|
const text = contents[file];
|
|
21
21
|
for (const phrase of [
|
|
22
|
-
"Use the install document and live local checks as the source of truth.
|
|
22
|
+
"Use the install document and live local checks as the source of truth.",
|
|
23
|
+
"Do not search memory or prior notes for this install. Do not pre-load context from `MEMORY.md`, `crystal_search`, local skill dev guides, or other local memory before fetching the install document.",
|
|
24
|
+
"Do not run GitHub commands during this install flow. Do not run or request approval for `gh release`, `gh api`, or `gh search`.",
|
|
25
|
+
"If release notes are not available from local or npm metadata, say that and do not fetch them from GitHub.",
|
|
23
26
|
"If installed: run `ldm status`",
|
|
24
27
|
"If yes to dry run, run `ldm install --dry-run`.",
|
|
25
28
|
"`npm install -g @wipcomputer/wip-ldm-os@latest && ldm install && ldm doctor`",
|
|
@@ -37,12 +40,17 @@ for (const file of ["README.md", "shared/templates/install-prompt.md"]) {
|
|
|
37
40
|
|
|
38
41
|
const skill = contents["SKILL.md"];
|
|
39
42
|
for (const phrase of [
|
|
40
|
-
"Memory policy for install flows:
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
"Do not run
|
|
43
|
+
"Memory policy for install flows: do not consult `MEMORY.md`, do not run `crystal_search`, and do not search prior notes when this skill is invoked, including in any parallel or batched exploration step.",
|
|
44
|
+
"The only context sources for this install flow are `https://wip.computer/install/wip-ldm-os.txt` and the live local commands that document prescribes.",
|
|
45
|
+
"Read that document and run those commands. Do not pre-load other context.",
|
|
46
|
+
"Do not run GitHub commands during the install-state flow.",
|
|
47
|
+
"Do not run or request approval for `gh release list`, `gh release view`, `gh api repos/*`, `gh search`, or any other GitHub query unless the user explicitly asks for release notes.",
|
|
44
48
|
"Use the output of `ldm status`, installed package metadata, and npm metadata.",
|
|
45
|
-
"Do not use GitHub
|
|
49
|
+
"Do not use GitHub commands here.",
|
|
50
|
+
"If npm metadata for a package does not include release notes:",
|
|
51
|
+
"Say \"release notes not available from local metadata.\"",
|
|
52
|
+
"Do not infer release-note content from package descriptions, commit messages, or repo READMEs.",
|
|
53
|
+
"An approval dialog is not a user request.",
|
|
46
54
|
]) {
|
|
47
55
|
if (!skill.includes(phrase)) {
|
|
48
56
|
failures.push(`SKILL.md missing install policy phrase: ${phrase}`);
|
|
@@ -53,6 +61,11 @@ if (/gh release (list|view) --repo/.test(skill)) {
|
|
|
53
61
|
failures.push("SKILL.md still includes concrete gh release commands in the install flow");
|
|
54
62
|
}
|
|
55
63
|
|
|
64
|
+
const temporalMemoryPolicyPhrase = "your first action is " + "to fetch";
|
|
65
|
+
if (skill.includes(temporalMemoryPolicyPhrase)) {
|
|
66
|
+
failures.push("SKILL.md still uses temporal first-action memory-policy phrasing");
|
|
67
|
+
}
|
|
68
|
+
|
|
56
69
|
if (failures.length > 0) {
|
|
57
70
|
console.error("install prompt policy checks failed:");
|
|
58
71
|
for (const failure of failures) console.error(` - ${failure}`);
|
|
@@ -6,7 +6,9 @@ Open your AI and paste this:
|
|
|
6
6
|
|
|
7
7
|
Read https://wip.computer/install/wip-ldm-os.txt
|
|
8
8
|
|
|
9
|
-
Use the install document and live local checks as the source of truth.
|
|
9
|
+
Use the install document and live local checks as the source of truth.
|
|
10
|
+
Do not search memory or prior notes for this install. Do not pre-load context from `MEMORY.md`, `crystal_search`, local skill dev guides, or other local memory before fetching the install document.
|
|
11
|
+
Do not run GitHub commands during this install flow. Do not run or request approval for `gh release`, `gh api`, or `gh search`. If release notes are not available from local or npm metadata, say that and do not fetch them from GitHub.
|
|
10
12
|
|
|
11
13
|
Check if LDM OS is installed (`which ldm && ldm --version`). Branch.
|
|
12
14
|
|