mixdog 0.9.113 → 0.9.115
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/package.json +1 -1
- package/src/rules/shared/01-tool.md +11 -10
package/package.json
CHANGED
|
@@ -12,16 +12,16 @@
|
|
|
12
12
|
(`shell.cwd` is call-local and never changes the Project);
|
|
13
13
|
explicit user-requested conversation reset→`session_manage`.
|
|
14
14
|
Use only named tools present in the current tool surface.
|
|
15
|
-
- Act only on verified identities (cwd/project/user/tool-returned) — paths,
|
|
16
|
-
module specifiers, symbols, data/record shapes alike; a guessed
|
|
17
|
-
|
|
18
|
-
it. Within the current project, pass
|
|
15
|
+
- Act only on verified identities (task/cwd/project/user/tool-returned) — paths,
|
|
16
|
+
module specifiers, symbols, data/record shapes alike; verify a guessed
|
|
17
|
+
identity with one lookup or sample before the first call or edit that
|
|
18
|
+
relies on it. Within the current project, pass
|
|
19
19
|
project-relative paths and omit optional scopes equal to its root; explicit
|
|
20
20
|
paths may be outside cwd only for targets outside the project.
|
|
21
21
|
- Plan the fewest dependent rounds, then the fewest calls. A conclusive
|
|
22
|
-
result ends its facet, and known state — task
|
|
23
|
-
returned
|
|
24
|
-
re-
|
|
22
|
+
result ends its facet, and known state — anything the task supplied, a
|
|
23
|
+
tool returned, or a check already proved — is never re-found,
|
|
24
|
+
re-derived, or re-verified. Batch calls iff none needs
|
|
25
25
|
another's output or can change another's inputs/state; otherwise
|
|
26
26
|
serialize. Before each batch, deduplicate the facets still required by the request,
|
|
27
27
|
route each once to the cheapest sufficient tool with all required
|
|
@@ -41,9 +41,10 @@
|
|
|
41
41
|
anchor from `grep`, `code_graph`, or `read`; never infer patch context from
|
|
42
42
|
another file, a sample, or expected text. Then issue `apply_patch` calls
|
|
43
43
|
serially, never in parallel; use one cohesive call with one file section per
|
|
44
|
-
target, all patches first,
|
|
45
|
-
batched verification `shell`
|
|
46
|
-
on every changed file and produced artifact, never
|
|
44
|
+
target, all patches first, and their one
|
|
45
|
+
batched verification `shell` in the same turn, running the real required
|
|
46
|
+
postconditions on every changed file and produced artifact, never echoing
|
|
47
|
+
a claim;
|
|
47
48
|
runtime waits for every patch and skips the shell
|
|
48
49
|
if any fails. Retry only failed envelopes; rerun a failed check only
|
|
49
50
|
after a fix that can change its result, else report it unresolved.
|