meticulous-improve-test-env
When Agent swarm tests a pull request against a live backend (rather than with mocked network responses), it can only verify what the test environment lets it reach. A case it couldn't verify because of the environment — no records to act on, a test user without the right role, a feature flag that's off, a login that fails, a backend that errors — is reported as blocked, and Meticulous records it as a setup blocker with a category, the evidence the agent saw and a suggested fix. This skill turns those records into concrete changes to the project's test environment.
Before starting, run the
meticulous-cli-updateskill to ensure the Meticulous CLI and skills are up to date — unless it has already run earlier in this conversation, in which case skip it.
Setup blockers are only recorded for Agent swarm runs against a live backend. If the project's Agent swarm runs use mocked network responses, there will be none: tell the user, and stop.
Step 1 -- Read the recorded setup blockers
# CLI (default: the last 30 days, newest first, 100 per page)
meticulous agent agent-swarm-setup-blockers [--since=<date>] [--category=<category>] [--runId=<swarmRunId>] [--limit=<n>] [--offset=<n>] [--project=<project>]
# MCP
get_agent_swarm_setup_blockers(since="<date>", category="<category>", runId="<swarmRunId>", limit=<n>, offset=<n>)
The CLI prints each category's count across all matching blockers on stderr, then a TSV table with createdAt, swarmRunId, caseIndex, caseId, commitSha, category, blockedBy, caseTitle, summary, evidence and suggestedFix. --json and MCP return the same data as { since, counts, setupBlockers }. If the response says there are more results, page through them with --offset before drawing conclusions, or narrow with --category.
Start from the counts: the categories with the most blockers are where a fix unblocks the most cases. Then group the rows within each category by root cause — the same missing record type, the same missing role, the same flag — since many blockers usually share a handful of causes. For any blocker whose evidence is too thin to act on, read the full case, including the steps the agent took: