@muggleai/works 4.12.4 → 4.13.1
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/{chunk-JNI7INIO.js → chunk-5G7WI7IY.js} +2 -2
- package/dist/{chunk-CPF6AR2I.js → chunk-YKR2TQ24.js} +53 -37
- package/dist/cli.js +2 -2
- package/dist/index.js +2 -2
- package/dist/plugin/.claude-plugin/plugin.json +1 -1
- package/dist/plugin/.cursor-plugin/plugin.json +1 -1
- package/dist/plugin/skills/_shared/github-cli-recipes/submitted-reviews.md +1 -1
- package/dist/plugin/skills/_shared/github-cli-recipes/unresolved-threads.md +6 -4
- package/dist/plugin/skills/_shared/pr-followup-helpers/allow-list.md +1 -1
- package/dist/plugin/skills/_shared/pr-followup-helpers/classify.md +3 -4
- package/dist/plugin/skills/_shared/pr-followup-helpers/loop-signature.md +22 -0
- package/dist/plugin/skills/_shared/pr-followup-helpers.md +1 -0
- package/dist/plugin/skills/_shared/resolve-e2e-validation-context.md +56 -0
- package/dist/plugin/skills/_shared/telemetry-events/muggle-do-cycle.md +1 -1
- package/dist/plugin/skills/_shared/test-case-chain-readiness.md +41 -0
- package/dist/plugin/skills/do/address-reviews.md +14 -8
- package/dist/plugin/skills/do/e2e-acceptance.md +7 -3
- package/dist/plugin/skills/do/per-comment-replies.md +8 -2
- package/dist/plugin/skills/do/resolve-reminder.md +16 -18
- package/dist/plugin/skills/muggle-pr-followup/CLAUDE.md +5 -3
- package/dist/plugin/skills/muggle-pr-followup/SKILL.md +10 -3
- package/dist/plugin/skills/muggle-pr-followup/auto-track.md +91 -0
- package/dist/plugin/skills/muggle-pr-followup/bootstrap.md +11 -4
- package/dist/plugin/skills/muggle-pr-followup/output-templates/help.md +2 -1
- package/dist/plugin/skills/muggle-pr-followup/output-templates/inline-reply.md +7 -1
- package/dist/plugin/skills/muggle-pr-followup/output-templates/resolve-reminder.md +6 -3
- package/dist/plugin/skills/muggle-pr-followup/state-schemas.md +12 -0
- package/dist/plugin/skills/muggle-preferences/ops/configure.md +1 -1
- package/dist/plugin/skills/muggle-preferences/preference-gates/autoReuseValidationContext.md +11 -0
- package/dist/plugin/skills/muggle-test-feature-local/SKILL.md +7 -0
- package/dist/release-manifest.json +4 -4
- package/dist/{src-YR5UKLPC.js → src-ECRJW2LY.js} +1 -1
- package/package.json +6 -6
- package/plugin/.claude-plugin/plugin.json +1 -1
- package/plugin/.cursor-plugin/plugin.json +1 -1
- package/plugin/skills/_shared/github-cli-recipes/submitted-reviews.md +1 -1
- package/plugin/skills/_shared/github-cli-recipes/unresolved-threads.md +6 -4
- package/plugin/skills/_shared/pr-followup-helpers/allow-list.md +1 -1
- package/plugin/skills/_shared/pr-followup-helpers/classify.md +3 -4
- package/plugin/skills/_shared/pr-followup-helpers/loop-signature.md +22 -0
- package/plugin/skills/_shared/pr-followup-helpers.md +1 -0
- package/plugin/skills/_shared/resolve-e2e-validation-context.md +56 -0
- package/plugin/skills/_shared/telemetry-events/muggle-do-cycle.md +1 -1
- package/plugin/skills/_shared/test-case-chain-readiness.md +41 -0
- package/plugin/skills/do/address-reviews.md +14 -8
- package/plugin/skills/do/e2e-acceptance.md +7 -3
- package/plugin/skills/do/per-comment-replies.md +8 -2
- package/plugin/skills/do/resolve-reminder.md +16 -18
- package/plugin/skills/muggle-pr-followup/CLAUDE.md +5 -3
- package/plugin/skills/muggle-pr-followup/SKILL.md +10 -3
- package/plugin/skills/muggle-pr-followup/auto-track.md +91 -0
- package/plugin/skills/muggle-pr-followup/bootstrap.md +11 -4
- package/plugin/skills/muggle-pr-followup/output-templates/help.md +2 -1
- package/plugin/skills/muggle-pr-followup/output-templates/inline-reply.md +7 -1
- package/plugin/skills/muggle-pr-followup/output-templates/resolve-reminder.md +6 -3
- package/plugin/skills/muggle-pr-followup/state-schemas.md +12 -0
- package/plugin/skills/muggle-preferences/ops/configure.md +1 -1
- package/plugin/skills/muggle-preferences/preference-gates/autoReuseValidationContext.md +11 -0
- package/plugin/skills/muggle-test-feature-local/SKILL.md +7 -0
|
@@ -127,6 +127,12 @@ Gate `autoSelectLocalHost` per `preference-gates/README.md` + `preference-gates/
|
|
|
127
127
|
|
|
128
128
|
Remind them: local URL is only the execution target, not tied to cloud project config.
|
|
129
129
|
|
|
130
|
+
### 4a. Satisfy the test case chain (prerequisite parents)
|
|
131
|
+
|
|
132
|
+
Before deciding the target's script, resolve its prerequisite chain from the backend test-plan graph and ensure every ancestor already has a ready script — generating any that don't, **test-generation only**, root-first. Follow [`_shared/test-case-chain-readiness.md`](../_shared/test-case-chain-readiness.md).
|
|
133
|
+
|
|
134
|
+
`muggle-remote-test-case-ancestors-get` returns the chain; an `orphan` test case has no prerequisites — skip straight to Step 5. Do **not** infer parents from `precondition` text; the graph is authoritative.
|
|
135
|
+
|
|
130
136
|
### 5. Existing scripts vs new generation
|
|
131
137
|
|
|
132
138
|
`muggle-remote-test-script-list` with `testCaseId`.
|
|
@@ -247,6 +253,7 @@ After reporting results:
|
|
|
247
253
|
- No silent auth skip.
|
|
248
254
|
- **Never prompt for Electron launch approval** before execution — invoking this skill is the approval. Just run.
|
|
249
255
|
- **Never diagnose a failed run from `execute`'s response stdout tail.** Always call `muggle-local-run-result-get` first; classify only from its structured fields and (when present) the artifacts it names. The execute tail is an excerpt and routinely truncates the failure cause.
|
|
256
|
+
- Satisfy the prerequisite chain (Step 4a) before generating or replaying the target. Read it from `muggle-remote-test-case-ancestors-get` — never infer parents from `precondition` text. Generate any not-ready ancestor test-generation-only, root-first.
|
|
250
257
|
- If replayable scripts exist, do not default to generation without user choice.
|
|
251
258
|
- No hiding failures: surface errors and artifact paths.
|
|
252
259
|
- **Always offer the agent-guidance reminder after every Electron run** (Step 9b) — pass or fail — unless 9a already routed the user into `muggle-feedback`. Never silently end a run without giving the user a one-click path to flag what was wrong.
|