@muggleai/works 5.25.0-staging.187 → 5.25.0-staging.189
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/.claude-plugin/marketplace.json +1 -1
- package/dist/plugin/.claude-plugin/plugin.json +1 -1
- package/dist/plugin/.codex-mcp.json +1 -1
- package/dist/plugin/.codex-plugin/plugin.json +1 -1
- package/dist/plugin/.cursor-plugin/plugin.json +1 -1
- package/dist/plugin/.mcp.json +1 -1
- package/dist/plugin/skills/do/cleanup.md +16 -4
- package/dist/plugin/skills/do/next-step.md +6 -2
- package/dist/plugin/skills/muggle-test-import/SKILL.md +0 -1
- package/dist/release-manifest.json +3 -3
- package/package.json +1 -1
- package/plugin/.claude-plugin/plugin.json +1 -1
- package/plugin/.codex-mcp.json +1 -1
- package/plugin/.codex-plugin/plugin.json +1 -1
- package/plugin/.cursor-plugin/plugin.json +1 -1
- package/plugin/.mcp.json +1 -1
- package/plugin/skills/do/cleanup.md +16 -4
- package/plugin/skills/do/next-step.md +6 -2
- package/plugin/skills/muggle-test-import/SKILL.md +0 -1
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"name": "muggleai",
|
|
10
10
|
"source": "./plugin",
|
|
11
11
|
"description": "Real-browser E2E acceptance for your coding agent: test the flows you changed and open the PR with screenshots. Built for flows other tools can't reach: managed test identities with live inboxes (magic links, email OTP and 2FA, verification mail, password resets), an encrypted secret store for login and test credentials, and a test graph that runs prerequisite flows first. Plain-English tests become replayable scripts on localhost or preview URLs.",
|
|
12
|
-
"version": "5.25.0-staging.
|
|
12
|
+
"version": "5.25.0-staging.189"
|
|
13
13
|
}
|
|
14
14
|
]
|
|
15
15
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "muggle",
|
|
3
3
|
"description": "Real-browser E2E acceptance for your coding agent: test the flows you changed and open the PR with screenshots. Built for flows other tools can't reach: managed test identities with live inboxes (magic links, email OTP and 2FA, verification mail, password resets), an encrypted secret store for login and test credentials, and a test graph that runs prerequisite flows first. Plain-English tests become replayable scripts on localhost or preview URLs.",
|
|
4
|
-
"version": "5.25.0-staging.
|
|
4
|
+
"version": "5.25.0-staging.189",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Muggle AI",
|
|
7
7
|
"email": "support@muggle-ai.com"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "muggle",
|
|
3
|
-
"version": "5.25.0-staging.
|
|
3
|
+
"version": "5.25.0-staging.189",
|
|
4
4
|
"description": "Real-browser E2E acceptance for your coding agent: test the flows you changed and open the PR with screenshots. Built for flows other tools can't reach: managed test identities with live inboxes (magic links, email OTP and 2FA, verification mail, password resets), an encrypted secret store for login and test credentials, and a test graph that runs prerequisite flows first. Plain-English tests become replayable scripts on localhost or preview URLs.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Muggle AI",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "muggle",
|
|
3
3
|
"displayName": "Muggle AI",
|
|
4
4
|
"description": "Real-browser E2E acceptance for your coding agent: test the flows you changed and open the PR with screenshots. Built for flows other tools can't reach: managed test identities with live inboxes (magic links, email OTP and 2FA, verification mail, password resets), an encrypted secret store for login and test credentials, and a test graph that runs prerequisite flows first. Plain-English tests become replayable scripts on localhost or preview URLs.",
|
|
5
|
-
"version": "5.25.0-staging.
|
|
5
|
+
"version": "5.25.0-staging.189",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Muggle AI",
|
|
8
8
|
"email": "support@muggle-ai.com"
|
package/dist/plugin/.mcp.json
CHANGED
|
@@ -6,13 +6,25 @@ Invoked by `/muggle-do` when the watcher forwards a PR's terminal state. On `mer
|
|
|
6
6
|
|
|
7
7
|
`$ARGUMENTS` carries `slug=<slug>` and `state=<merged|closed>` (default `merged`). No PR URL, no review ids.
|
|
8
8
|
|
|
9
|
+
## Terminal record
|
|
10
|
+
|
|
11
|
+
The facts [`next-step.md`](next-step.md) reports `<slug>` from. Teardown deletes the slot, so step 4 captures them first:
|
|
12
|
+
|
|
13
|
+
- `pr` — `<owner>/<repo>#<n>` and URL, from `prs.json`.
|
|
14
|
+
- `state` — `merged` or `closed`, from `prs.json`.
|
|
15
|
+
- `title` — from the PR-metadata recipe of `prs.json`'s `provider` ([`github.md`](../_shared/vcs/github.md), [`gitlab.md`](../_shared/vcs/gitlab.md)); the slot does not store it.
|
|
16
|
+
- `e2eFailing` — the title carries `[E2E FAILING]`: the PR shipped on a waived E2E verdict.
|
|
17
|
+
- `escalatedReviewIds` — `result.md`'s `Escalated review ids`; empty on `none` or when `result.md` is absent.
|
|
18
|
+
- `waivers` — `state.md`'s waiver and Blocker lines, verbatim.
|
|
19
|
+
|
|
9
20
|
## Procedure
|
|
10
21
|
|
|
11
22
|
1. Read `~/.muggle-ai/muggle-do/sessions/<slug>/`: `prs.json` (PR `repo`, `number`, observed `state`) and `state.md` (`worktreePath` if a worktree was used, and the target branch `headRefName`).
|
|
12
23
|
2. If `prs.json` shows the PR still open, do nothing and exit — this stage is terminal-only.
|
|
13
24
|
3. **Retire the cases the change replaced or removed (`merged` only).** Read the newest `e2eScope` recorded in the slot's `iterations/` ([`impact-analysis.md`](impact-analysis.md#output-state--e2escope)) — later cycles rescope, so the newest one describes what merged. Soft-delete each `retiredTestCases` entry with `muggle-remote-test-case-delete`, then each `retiredUseCases` entry with `muggle-remote-use-case-delete`, all in one message per kind. Before deleting a use case, confirm with `muggle-remote-test-case-list-by-use-case` that every test case under it is in the retired list: the delete cascades, so a test case added since scoping keeps the use case and its id is reported instead. An id already gone counts as deleted. On `closed` nothing is deleted — the change never landed, so the default branch still exercises those cases.
|
|
14
|
-
4. **
|
|
15
|
-
5.
|
|
16
|
-
6.
|
|
25
|
+
4. **Capture the [terminal record](#terminal-record)** from the slot and the provider. This is the last read of `<slug>`'s slot: teardown may delete it next.
|
|
26
|
+
5. **Teardown (`merged` only).** When the PR is `merged`, run [`../_shared/post-merge-cleanup.md`](../_shared/post-merge-cleanup.md) with `{worktreePath}` and `{branch}`. That file owns the teardown sequence **and its safety rules** — including skipping worktree-remove and local branch deletion when no worktree was used. This stage adds no teardown logic of its own. On `closed`, skip teardown — the branch and any worktree stay intact.
|
|
27
|
+
6. **Log while the slot exists.** When teardown's report marks `Session slot cleared` ✅, write nothing: the slot and its `followup.log` are gone, an append there fails or recreates the directory as a stray slot, and the retirement and teardown reports printed this turn are the record. Otherwise append a cleanup line to the session's `followup.log`, recording the case ids retired and whether teardown ran.
|
|
28
|
+
7. Suggest the next step per [`next-step.md`](next-step.md), passing whether teardown ran and the terminal record. This is the stage's last action.
|
|
17
29
|
|
|
18
|
-
**Teardown never returns a question, and neither does retirement.** Each finishes with its report — every item done, skipped, or blocked-with-a-reason — so steps
|
|
30
|
+
**Teardown never returns a question, and neither does retirement.** Each finishes with its report — every item done, skipped, or blocked-with-a-reason — so steps 6 and 7 always run. A teardown that appears to be waiting on the user has stalled mid-sequence; the stage is not complete until the report and the next-step suggestion are both printed.
|
|
@@ -6,6 +6,7 @@ Closing step of a terminal `/muggle-do` turn (post-merge or post-close). Advance
|
|
|
6
6
|
|
|
7
7
|
- `slug` — the session.
|
|
8
8
|
- `teardownRan` — whether [`cleanup.md`](cleanup.md) already ran teardown (true on `merged` + `autoCleanup: always`; false on `closed` or a skipped gate).
|
|
9
|
+
- `terminalRecord` — `<slug>`'s [terminal record](cleanup.md#terminal-record), captured before teardown could delete its slot.
|
|
9
10
|
|
|
10
11
|
## This chat's work
|
|
11
12
|
|
|
@@ -20,6 +21,8 @@ The sessions directory holds every chat's slots, so a selector drawn from the wh
|
|
|
20
21
|
3. **No pending items** → print the [status block](#status-block), then ask with one `AskUserQuestion` [selector](#selector). The status block always comes first: a selector without it asks the user to decide blind.
|
|
21
22
|
4. Append the chosen outcome to `followup.log`.
|
|
22
23
|
|
|
24
|
+
Both appends target `<slug>`'s `followup.log` and are skipped once teardown's report marks `Session slot cleared` ✅ — the log went with the slot, and an append would recreate the directory.
|
|
25
|
+
|
|
23
26
|
## Status block
|
|
24
27
|
|
|
25
28
|
One line per slot of this chat's work, `<slug>` first, the rest newest first, then the `Left over` line:
|
|
@@ -33,10 +36,11 @@ This chat's work:
|
|
|
33
36
|
Left over: #145 shipped [E2E FAILING]; review 2210 on #142 escalated
|
|
34
37
|
```
|
|
35
38
|
|
|
36
|
-
-
|
|
39
|
+
- **`<slug>`** is built from `terminalRecord`, never from the slot on disk — teardown may have deleted it. The teardown note comes from teardown's report printed this turn: `cleaned up` when no row is `❌`, the first `❌` row's reason otherwise, `branch kept` when `teardownRan` is false.
|
|
40
|
+
- **Other terminal slots** (`merged`, `closed`) read `prs.json` and `result.md`; the teardown note comes from the cleanup line in `followup.log`.
|
|
37
41
|
- **Open slots** refresh live. Resolve the provider per [`detect-vcs.md`](../_shared/vcs/detect-vcs.md) and use its PR-metadata and unresolved-thread recipes ([`github.md`](../_shared/vcs/github.md), [`gitlab.md`](../_shared/vcs/gitlab.md)); CI per [`ci-rollup.md`](../_shared/vcs/common/ci-rollup.md). The watcher reads `live` when [`watch-heartbeat`](../muggle-pr-followup/state-schemas.md#watch-heartbeat) is fresh, `stopped` otherwise.
|
|
38
42
|
- **Blocked** replaces `open` when `last_seen.json` carries `blocked`; the line names the pending act per [`blocked-reminder.md`](../muggle-pr-followup/output-templates/blocked-reminder.md).
|
|
39
|
-
- **`Left over`** lists what this chat's slots recorded as unfinished: a waiver or Blocker in `state.md`, an `[E2E FAILING]` ship, escalated review ids in `result.md`. `nothing` when empty.
|
|
43
|
+
- **`Left over`** lists what this chat's slots recorded as unfinished: a waiver or Blocker in `state.md`, an `[E2E FAILING]` ship, escalated review ids in `result.md` — for `<slug>`, the record's `waivers`, `e2eFailing` and `escalatedReviewIds`. `nothing` when empty.
|
|
40
44
|
|
|
41
45
|
No other chat's slot appears in the block.
|
|
42
46
|
|
|
@@ -234,7 +234,6 @@ these on any tool result and act accordingly:
|
|
|
234
234
|
| Error code / symptom | What happened | What to do |
|
|
235
235
|
|---|---|---|
|
|
236
236
|
| `TOO_MANY_IN_FLIGHT_JOBS` (HTTP 429) | Already 3 in-flight jobs for this project | Tell the user: "There are already 3 bulk-preview jobs in progress for this project. Wait for them to finish, then retry." Stop. |
|
|
237
|
-
| `QUOTA_EXCEEDED_PREFLIGHT` (HTTP 409) | Batch would blow past the account's quota for this resource | Show: "Your quota allows at most `<maxPromptsAllowed>` prompts in this batch (current headroom: `<headroom>`). Please reduce the batch and try again." Stop. |
|
|
238
237
|
| `NOT_FOUND` on submit (HTTP 404) | Project or parent use case does not exist, or this server version doesn't expose bulk-preview yet | Tell the user which — double-check the IDs you passed. If you're confident the IDs are right, ask the user to make sure the prompt-service is up to date. Stop. |
|
|
239
238
|
| `VALIDATION_ERROR` (HTTP 400) | A prompt exceeds limits (e.g. >4000 chars) or the prompt list is empty | Fix the offending prompts and retry. |
|
|
240
239
|
| Payload > 1 MB (HTTP 413) | Body too large | Split into smaller batches. |
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"release": "5.18.0",
|
|
3
|
-
"buildId": "run-
|
|
4
|
-
"commitSha": "
|
|
5
|
-
"buildTime": "2026-10-
|
|
3
|
+
"buildId": "run-189-1",
|
|
4
|
+
"commitSha": "cf778e060c77b7fd4f2db27a4bbf355fe1e6cc24",
|
|
5
|
+
"buildTime": "2026-10-24T02:58:31Z",
|
|
6
6
|
"serviceName": "muggle-ai-works-mcp"
|
|
7
7
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@muggleai/works",
|
|
3
3
|
"mcpName": "io.github.multiplex-ai/muggle",
|
|
4
|
-
"version": "5.25.0-staging.
|
|
4
|
+
"version": "5.25.0-staging.189",
|
|
5
5
|
"description": "13 years of Microsoft hyperscale engineering, packaged as a harness for your AI coding agent.",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "dist/index.js",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "muggle",
|
|
3
3
|
"description": "Real-browser E2E acceptance for your coding agent: test the flows you changed and open the PR with screenshots. Built for flows other tools can't reach: managed test identities with live inboxes (magic links, email OTP and 2FA, verification mail, password resets), an encrypted secret store for login and test credentials, and a test graph that runs prerequisite flows first. Plain-English tests become replayable scripts on localhost or preview URLs.",
|
|
4
|
-
"version": "5.25.0-staging.
|
|
4
|
+
"version": "5.25.0-staging.189",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Muggle AI",
|
|
7
7
|
"email": "support@muggle-ai.com"
|
package/plugin/.codex-mcp.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "muggle",
|
|
3
|
-
"version": "5.25.0-staging.
|
|
3
|
+
"version": "5.25.0-staging.189",
|
|
4
4
|
"description": "Real-browser E2E acceptance for your coding agent: test the flows you changed and open the PR with screenshots. Built for flows other tools can't reach: managed test identities with live inboxes (magic links, email OTP and 2FA, verification mail, password resets), an encrypted secret store for login and test credentials, and a test graph that runs prerequisite flows first. Plain-English tests become replayable scripts on localhost or preview URLs.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Muggle AI",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "muggle",
|
|
3
3
|
"displayName": "Muggle AI",
|
|
4
4
|
"description": "Real-browser E2E acceptance for your coding agent: test the flows you changed and open the PR with screenshots. Built for flows other tools can't reach: managed test identities with live inboxes (magic links, email OTP and 2FA, verification mail, password resets), an encrypted secret store for login and test credentials, and a test graph that runs prerequisite flows first. Plain-English tests become replayable scripts on localhost or preview URLs.",
|
|
5
|
-
"version": "5.25.0-staging.
|
|
5
|
+
"version": "5.25.0-staging.189",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Muggle AI",
|
|
8
8
|
"email": "support@muggle-ai.com"
|
package/plugin/.mcp.json
CHANGED
|
@@ -6,13 +6,25 @@ Invoked by `/muggle-do` when the watcher forwards a PR's terminal state. On `mer
|
|
|
6
6
|
|
|
7
7
|
`$ARGUMENTS` carries `slug=<slug>` and `state=<merged|closed>` (default `merged`). No PR URL, no review ids.
|
|
8
8
|
|
|
9
|
+
## Terminal record
|
|
10
|
+
|
|
11
|
+
The facts [`next-step.md`](next-step.md) reports `<slug>` from. Teardown deletes the slot, so step 4 captures them first:
|
|
12
|
+
|
|
13
|
+
- `pr` — `<owner>/<repo>#<n>` and URL, from `prs.json`.
|
|
14
|
+
- `state` — `merged` or `closed`, from `prs.json`.
|
|
15
|
+
- `title` — from the PR-metadata recipe of `prs.json`'s `provider` ([`github.md`](../_shared/vcs/github.md), [`gitlab.md`](../_shared/vcs/gitlab.md)); the slot does not store it.
|
|
16
|
+
- `e2eFailing` — the title carries `[E2E FAILING]`: the PR shipped on a waived E2E verdict.
|
|
17
|
+
- `escalatedReviewIds` — `result.md`'s `Escalated review ids`; empty on `none` or when `result.md` is absent.
|
|
18
|
+
- `waivers` — `state.md`'s waiver and Blocker lines, verbatim.
|
|
19
|
+
|
|
9
20
|
## Procedure
|
|
10
21
|
|
|
11
22
|
1. Read `~/.muggle-ai/muggle-do/sessions/<slug>/`: `prs.json` (PR `repo`, `number`, observed `state`) and `state.md` (`worktreePath` if a worktree was used, and the target branch `headRefName`).
|
|
12
23
|
2. If `prs.json` shows the PR still open, do nothing and exit — this stage is terminal-only.
|
|
13
24
|
3. **Retire the cases the change replaced or removed (`merged` only).** Read the newest `e2eScope` recorded in the slot's `iterations/` ([`impact-analysis.md`](impact-analysis.md#output-state--e2escope)) — later cycles rescope, so the newest one describes what merged. Soft-delete each `retiredTestCases` entry with `muggle-remote-test-case-delete`, then each `retiredUseCases` entry with `muggle-remote-use-case-delete`, all in one message per kind. Before deleting a use case, confirm with `muggle-remote-test-case-list-by-use-case` that every test case under it is in the retired list: the delete cascades, so a test case added since scoping keeps the use case and its id is reported instead. An id already gone counts as deleted. On `closed` nothing is deleted — the change never landed, so the default branch still exercises those cases.
|
|
14
|
-
4. **
|
|
15
|
-
5.
|
|
16
|
-
6.
|
|
25
|
+
4. **Capture the [terminal record](#terminal-record)** from the slot and the provider. This is the last read of `<slug>`'s slot: teardown may delete it next.
|
|
26
|
+
5. **Teardown (`merged` only).** When the PR is `merged`, run [`../_shared/post-merge-cleanup.md`](../_shared/post-merge-cleanup.md) with `{worktreePath}` and `{branch}`. That file owns the teardown sequence **and its safety rules** — including skipping worktree-remove and local branch deletion when no worktree was used. This stage adds no teardown logic of its own. On `closed`, skip teardown — the branch and any worktree stay intact.
|
|
27
|
+
6. **Log while the slot exists.** When teardown's report marks `Session slot cleared` ✅, write nothing: the slot and its `followup.log` are gone, an append there fails or recreates the directory as a stray slot, and the retirement and teardown reports printed this turn are the record. Otherwise append a cleanup line to the session's `followup.log`, recording the case ids retired and whether teardown ran.
|
|
28
|
+
7. Suggest the next step per [`next-step.md`](next-step.md), passing whether teardown ran and the terminal record. This is the stage's last action.
|
|
17
29
|
|
|
18
|
-
**Teardown never returns a question, and neither does retirement.** Each finishes with its report — every item done, skipped, or blocked-with-a-reason — so steps
|
|
30
|
+
**Teardown never returns a question, and neither does retirement.** Each finishes with its report — every item done, skipped, or blocked-with-a-reason — so steps 6 and 7 always run. A teardown that appears to be waiting on the user has stalled mid-sequence; the stage is not complete until the report and the next-step suggestion are both printed.
|
|
@@ -6,6 +6,7 @@ Closing step of a terminal `/muggle-do` turn (post-merge or post-close). Advance
|
|
|
6
6
|
|
|
7
7
|
- `slug` — the session.
|
|
8
8
|
- `teardownRan` — whether [`cleanup.md`](cleanup.md) already ran teardown (true on `merged` + `autoCleanup: always`; false on `closed` or a skipped gate).
|
|
9
|
+
- `terminalRecord` — `<slug>`'s [terminal record](cleanup.md#terminal-record), captured before teardown could delete its slot.
|
|
9
10
|
|
|
10
11
|
## This chat's work
|
|
11
12
|
|
|
@@ -20,6 +21,8 @@ The sessions directory holds every chat's slots, so a selector drawn from the wh
|
|
|
20
21
|
3. **No pending items** → print the [status block](#status-block), then ask with one `AskUserQuestion` [selector](#selector). The status block always comes first: a selector without it asks the user to decide blind.
|
|
21
22
|
4. Append the chosen outcome to `followup.log`.
|
|
22
23
|
|
|
24
|
+
Both appends target `<slug>`'s `followup.log` and are skipped once teardown's report marks `Session slot cleared` ✅ — the log went with the slot, and an append would recreate the directory.
|
|
25
|
+
|
|
23
26
|
## Status block
|
|
24
27
|
|
|
25
28
|
One line per slot of this chat's work, `<slug>` first, the rest newest first, then the `Left over` line:
|
|
@@ -33,10 +36,11 @@ This chat's work:
|
|
|
33
36
|
Left over: #145 shipped [E2E FAILING]; review 2210 on #142 escalated
|
|
34
37
|
```
|
|
35
38
|
|
|
36
|
-
-
|
|
39
|
+
- **`<slug>`** is built from `terminalRecord`, never from the slot on disk — teardown may have deleted it. The teardown note comes from teardown's report printed this turn: `cleaned up` when no row is `❌`, the first `❌` row's reason otherwise, `branch kept` when `teardownRan` is false.
|
|
40
|
+
- **Other terminal slots** (`merged`, `closed`) read `prs.json` and `result.md`; the teardown note comes from the cleanup line in `followup.log`.
|
|
37
41
|
- **Open slots** refresh live. Resolve the provider per [`detect-vcs.md`](../_shared/vcs/detect-vcs.md) and use its PR-metadata and unresolved-thread recipes ([`github.md`](../_shared/vcs/github.md), [`gitlab.md`](../_shared/vcs/gitlab.md)); CI per [`ci-rollup.md`](../_shared/vcs/common/ci-rollup.md). The watcher reads `live` when [`watch-heartbeat`](../muggle-pr-followup/state-schemas.md#watch-heartbeat) is fresh, `stopped` otherwise.
|
|
38
42
|
- **Blocked** replaces `open` when `last_seen.json` carries `blocked`; the line names the pending act per [`blocked-reminder.md`](../muggle-pr-followup/output-templates/blocked-reminder.md).
|
|
39
|
-
- **`Left over`** lists what this chat's slots recorded as unfinished: a waiver or Blocker in `state.md`, an `[E2E FAILING]` ship, escalated review ids in `result.md`. `nothing` when empty.
|
|
43
|
+
- **`Left over`** lists what this chat's slots recorded as unfinished: a waiver or Blocker in `state.md`, an `[E2E FAILING]` ship, escalated review ids in `result.md` — for `<slug>`, the record's `waivers`, `e2eFailing` and `escalatedReviewIds`. `nothing` when empty.
|
|
40
44
|
|
|
41
45
|
No other chat's slot appears in the block.
|
|
42
46
|
|
|
@@ -234,7 +234,6 @@ these on any tool result and act accordingly:
|
|
|
234
234
|
| Error code / symptom | What happened | What to do |
|
|
235
235
|
|---|---|---|
|
|
236
236
|
| `TOO_MANY_IN_FLIGHT_JOBS` (HTTP 429) | Already 3 in-flight jobs for this project | Tell the user: "There are already 3 bulk-preview jobs in progress for this project. Wait for them to finish, then retry." Stop. |
|
|
237
|
-
| `QUOTA_EXCEEDED_PREFLIGHT` (HTTP 409) | Batch would blow past the account's quota for this resource | Show: "Your quota allows at most `<maxPromptsAllowed>` prompts in this batch (current headroom: `<headroom>`). Please reduce the batch and try again." Stop. |
|
|
238
237
|
| `NOT_FOUND` on submit (HTTP 404) | Project or parent use case does not exist, or this server version doesn't expose bulk-preview yet | Tell the user which — double-check the IDs you passed. If you're confident the IDs are right, ask the user to make sure the prompt-service is up to date. Stop. |
|
|
239
238
|
| `VALIDATION_ERROR` (HTTP 400) | A prompt exceeds limits (e.g. >4000 chars) or the prompt list is empty | Fix the offending prompts and retry. |
|
|
240
239
|
| Payload > 1 MB (HTTP 413) | Body too large | Split into smaller batches. |
|