gm-qwen 2.0.765 → 2.0.766
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/gm.json +1 -1
- package/package.json +1 -1
- package/skills/gm/SKILL.md +1 -1
- package/skills/planning/SKILL.md +6 -14
package/gm.json
CHANGED
package/package.json
CHANGED
package/skills/gm/SKILL.md
CHANGED
|
@@ -51,7 +51,7 @@ The size of the task, the cost of context, and the duration of CI are never grou
|
|
|
51
51
|
|
|
52
52
|
## MAXIMAL COVER — HARD RULE
|
|
53
53
|
|
|
54
|
-
|
|
54
|
+
When scope exceeds reach, construct a maximal cover of the request — not a refusal, not one slice with the rest deferred to "follow-up."
|
|
55
55
|
|
|
56
56
|
Refusal is forced closure. So is *distributed* refusal — shipping a single bounded subset while other witnessable subsets exist. Both bypass witnessed execution.
|
|
57
57
|
|
package/skills/planning/SKILL.md
CHANGED
|
@@ -51,7 +51,7 @@ Asking is last-resort: destructive-irreversible without PRD coverage, OR user in
|
|
|
51
51
|
|
|
52
52
|
## MAXIMAL COVER — HARD RULE
|
|
53
53
|
|
|
54
|
-
|
|
54
|
+
When scope exceeds reach, expand the cover. Don't refuse. Don't ship one slice with the rest abandoned as "follow-up" — that's distributed refusal: the same failure dressed up as triage.
|
|
55
55
|
|
|
56
56
|
**Required move when scope exceeds reach**: construct a *covering family* — every bounded subset of the request that is witnessable from this session — and write the family into the PRD as separate items, with the dependency graph explicit so independent members parallelize. Execute every member. Single-subset delivery is legitimate only when no other witnessable subset exists. The residual complement is named at end-of-turn, with the reason each excluded piece falls outside the witnessable closure.
|
|
57
57
|
|
|
@@ -71,21 +71,13 @@ The trigger is functional, not a path-list: any change whose effect is observabl
|
|
|
71
71
|
|
|
72
72
|
Propagation: EXECUTE witnesses on edit, EMIT re-witnesses post-write, VERIFY runs the final gate. The plan must encode the rule so all three layers fire.
|
|
73
73
|
|
|
74
|
-
## ORIENT — HARD RULE
|
|
74
|
+
## ORIENT — HARD RULE
|
|
75
75
|
|
|
76
|
-
|
|
76
|
+
Open every plan with a parallel pack of `exec:recall` and `exec:codesearch` against the request's nouns. Hits land as `weak_prior`; misses confirm the unknown is fresh. The pack runs in one message — never serially. The agent that skips orient pays the same cost in fresh probes a turn later, plus the price of disagreeing with its own prior witness.
|
|
77
77
|
|
|
78
|
-
|
|
78
|
+
## PRD — HARD RULE
|
|
79
79
|
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
Exempt only when: literal one-line edit AND user instruction is fully self-contained AND zero recall-able context exists. Tag the exemption explicitly.
|
|
83
|
-
|
|
84
|
-
## PRD MANDATORY — HARD RULE
|
|
85
|
-
|
|
86
|
-
Writing `./.gm/prd.yml` is **non-negotiable** for every task whose scope exceeds a literal single-file single-line edit. The PRD captures the covering family (paper IV §2.3 Maximal Cover), the residual complement, the dependency graph for parallelization, and the acceptance criteria. Skipping the PRD costs the same as writing it (the agent enumerates the work mentally either way) and loses three things that are not free to recover: durable trace across compaction, resumability after reboot, and the cover-maximality check.
|
|
87
|
-
|
|
88
|
-
Exempt only when: literal single-line typo fix OR pure-comment edit OR user-issued one-shot command (e.g., `git status`). Anything multi-step, multi-file, or multi-concern emits a PRD before EXECUTE fires.
|
|
80
|
+
`./.gm/prd.yml` is the authorization. It is written before EXECUTE fires for any task that touches more than one line in one file. The cost of writing it equals the cost of skipping it; what the file buys is durable trace, resumability, and the cover-maximality check.
|
|
89
81
|
|
|
90
82
|
## PLAN PHASE — MUTABLE DISCOVERY
|
|
91
83
|
|
|
@@ -108,7 +100,7 @@ Client: `window.__debug` live registry; modules register on mount.
|
|
|
108
100
|
|
|
109
101
|
`console.log` ≠ observability. Discovery of gap → add .prd item immediately, never deferred.
|
|
110
102
|
|
|
111
|
-
**No parallel observability surfaces.**
|
|
103
|
+
**No parallel observability surfaces.** `window.__debug` is THE in-page registry; `test.js` at project root is the sole out-of-page test asset. Any new file whose purpose is to exercise, smoke-test, demo, or sandbox in-page behavior outside that registry fights the discipline — extend the registry instead.
|
|
112
104
|
|
|
113
105
|
## .PRD FORMAT
|
|
114
106
|
|