@squadrules/mcp 5.4.0 → 5.4.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/dist/.tsbuildinfo +1 -1
- package/dist/embed-docs/mem/README.md +10 -0
- package/dist/embed-docs/mem/adapter-migration.md +1 -1
- package/dist/embed-docs/mem/bulk-insert-adapters-via-cli.md +1 -1
- package/dist/embed-docs/mem/challenge-type-guide.md +1 -1
- package/dist/embed-docs/mem/create-new-protocol.md +1 -1
- package/dist/embed-docs/mem/critic-loop-guide.md +1 -1
- package/dist/embed-docs/mem/critic-loop.md +1 -1
- package/dist/embed-docs/mem/phase-critic-guide.md +42 -0
- package/dist/embed-docs/mem/phase-critic.md +45 -0
- package/dist/embed-docs/mem/protocol-linking-guide.md +1 -1
- package/dist/embed-docs/mem/refine-search.md +1 -1
- package/dist/embed-docs/mem/skill-format-guide.md +1 -1
- package/dist/resources/embedded-mcp-resources.d.ts +2 -0
- package/dist/resources/embedded-mcp-resources.d.ts.map +1 -1
- package/dist/resources/embedded-mcp-resources.js +11 -9
- package/dist/resources/embedded-mcp-resources.js.map +1 -1
- package/dist/ui/assets/{AccountPage-r5IOzWyQ.js → AccountPage-DlzuVTtp.js} +1 -1
- package/dist/ui/assets/{index-B80vBrUV.js → index-C77BzNbG.js} +2 -2
- package/dist/ui/index.html +1 -1
- package/package.json +1 -1
|
@@ -49,6 +49,16 @@ create-new-protocol (Author) → forward(squadrules://adapter/critic-loop) → c
|
|
|
49
49
|
| [protocol-linking-guide.md](protocol-linking-guide.md) | `protocol-linking-guide` | Layers vs chains, `activate` vs `forward` + slug, chaining back/forward, multi-layer conductor vs extension URI, chain-root collapsing, MCP argument validation |
|
|
50
50
|
| [critic-loop-guide.md](critic-loop-guide.md) | `critic-loop-guide` | Critic-loop integration rules, mutation gates, solution check vs critic decision table |
|
|
51
51
|
|
|
52
|
+
## Redirect tombstones
|
|
53
|
+
|
|
54
|
+
Retired slugs kept as thin one-layer redirects so stored adapters that still
|
|
55
|
+
reference them resolve instead of dangling (see ADR 0012):
|
|
56
|
+
|
|
57
|
+
| File | Slug | Redirects to |
|
|
58
|
+
|------|------|--------------|
|
|
59
|
+
| [phase-critic.md](phase-critic.md) | `phase-critic` | `critic-loop` |
|
|
60
|
+
| [phase-critic-guide.md](phase-critic-guide.md) | `phase-critic-guide` | `critic-loop-guide` |
|
|
61
|
+
|
|
52
62
|
## Cross-Protocol Linking
|
|
53
63
|
|
|
54
64
|
### Layers vs chains
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
---
|
|
2
|
+
version: "5.4.2"
|
|
3
|
+
slug: phase-critic-guide
|
|
4
|
+
title: Phase Critic Guide (Redirect to Critic Loop Guide)
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Phase Critic Guide (Redirect to Critic Loop Guide)
|
|
8
|
+
|
|
9
|
+
`phase-critic-guide` was renamed to **`critic-loop-guide`** in 5.4.0. This is a
|
|
10
|
+
redirect tombstone kept so the retired slug still resolves. It carries no rules
|
|
11
|
+
of its own — read **`squadrules://adapter/critic-loop-guide`** for the current
|
|
12
|
+
critic-loop integration, the solution-check-vs-critic decision table, and the
|
|
13
|
+
proof-splitting rules. Do not author against this slug.
|
|
14
|
+
|
|
15
|
+
## Activation Patterns
|
|
16
|
+
|
|
17
|
+
**Typically invoked by:** an agent or adapter that still references the retired
|
|
18
|
+
`phase-critic-guide` slug.
|
|
19
|
+
|
|
20
|
+
**Can be invoked directly when agent needs:**
|
|
21
|
+
- "phase critic guide" — the retired name for the critic-loop guide
|
|
22
|
+
|
|
23
|
+
**Must Never:**
|
|
24
|
+
- Restate the integration rules here; they live in `critic-loop-guide`.
|
|
25
|
+
|
|
26
|
+
**Must Always:**
|
|
27
|
+
- Point the reader to `squadrules://adapter/critic-loop-guide`.
|
|
28
|
+
|
|
29
|
+
## Redirect
|
|
30
|
+
|
|
31
|
+
`critic-loop-guide` is the single home for critic-loop integration and mutation
|
|
32
|
+
gate placement. Activate `squadrules://adapter/critic-loop-guide` and read it
|
|
33
|
+
there. See ADR 0010 (the rename) and ADR 0012 (why the tombstone is kept).
|
|
34
|
+
|
|
35
|
+
```json
|
|
36
|
+
{"contract":{"type":"comment","comment":{"min_length":40},"required":true}}
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
## Reward Signal
|
|
40
|
+
|
|
41
|
+
The reader was directed to `squadrules://adapter/critic-loop-guide`, so the
|
|
42
|
+
retired slug resolved instead of dangling.
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
---
|
|
2
|
+
version: "5.4.2"
|
|
3
|
+
slug: phase-critic
|
|
4
|
+
title: Phase Critic (Redirect to Critic Loop)
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Phase Critic (Redirect to Critic Loop)
|
|
8
|
+
|
|
9
|
+
`phase-critic` was renamed to **`critic-loop`** in 5.4.0. This adapter is a
|
|
10
|
+
redirect tombstone: it exists only so a stored adapter that still chains to
|
|
11
|
+
`squadrules://adapter/phase-critic` resolves and is sent to the replacement
|
|
12
|
+
instead of dangling. It carries no review logic. Do not author new adapters
|
|
13
|
+
against this slug — use `squadrules://adapter/critic-loop`.
|
|
14
|
+
|
|
15
|
+
## Activation Patterns
|
|
16
|
+
|
|
17
|
+
**Typically invoked by:** a stored adapter that still forwards to the retired
|
|
18
|
+
`phase-critic` slug.
|
|
19
|
+
|
|
20
|
+
**Can be invoked directly when agent needs:**
|
|
21
|
+
- "phase critic" — the retired name for the critic loop
|
|
22
|
+
|
|
23
|
+
**Must Never:**
|
|
24
|
+
- Perform a review itself; this tombstone only redirects.
|
|
25
|
+
- Be used as the target of a new adapter chain.
|
|
26
|
+
|
|
27
|
+
**Must Always:**
|
|
28
|
+
- Send the caller to `squadrules://adapter/critic-loop`, forwarding the same
|
|
29
|
+
`input_file`, `requirements`, and `context` it received.
|
|
30
|
+
|
|
31
|
+
## Redirect
|
|
32
|
+
|
|
33
|
+
Forward to the replacement and continue the run there. `critic-loop` is the
|
|
34
|
+
bounded, requirement-aware review that replaced `phase-critic`; its integration
|
|
35
|
+
rules live in `critic-loop-guide`. See ADR 0010 (the rename) and ADR 0012 (why
|
|
36
|
+
the tombstone is kept).
|
|
37
|
+
|
|
38
|
+
```json
|
|
39
|
+
{"contract":{"type":"mcp","mcp":{"tool_name":"forward","arguments":{"uri":"squadrules://adapter/critic-loop"}},"required":true}}
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
## Reward Signal
|
|
43
|
+
|
|
44
|
+
The caller reached `squadrules://adapter/critic-loop`, so the retired slug
|
|
45
|
+
resolved and redirected instead of dangling.
|
|
@@ -29,6 +29,8 @@ export declare const mcpResources: {
|
|
|
29
29
|
"create-new-protocol": string;
|
|
30
30
|
"critic-loop-guide": string;
|
|
31
31
|
"critic-loop": string;
|
|
32
|
+
"phase-critic-guide": string;
|
|
33
|
+
"phase-critic": string;
|
|
32
34
|
"protocol-linking-guide": string;
|
|
33
35
|
"refine-search": string;
|
|
34
36
|
"skill-format-guide": string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"embedded-mcp-resources.d.ts","sourceRoot":"","sources":["../../src/resources/embedded-mcp-resources.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"embedded-mcp-resources.d.ts","sourceRoot":"","sources":["../../src/resources/embedded-mcp-resources.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4BxB,CAAC;AAEF;;GAEG;AACH,wBAAgB,UAAU,IAAI,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAEhD;AAED;;GAEG;AACH,wBAAgB,YAAY,IAAI,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAElD;AAED;;GAEG;AACH,wBAAgB,YAAY,IAAI,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAElD;AAED;;GAE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