Skip to content

[Epic] 0.9.2 release fixes: MCP server and CLI - #3625

Merged
integry merged 9 commits into
mainfrom
3595-epic-0-9-h9l
Nov 17, 2026
Merged

integry merged 9 commits into
mainfrom
3595-epic-0-9-h9l

Conversation

@propr-dev

@propr-dev propr-dev Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

0.9.2 release fixes: MCP server and CLI

This Epic PR aggregates all changes for the plan: 0.9.2 release fixes: MCP server and CLI

Issues in this Epic

Auto-close

When this PR is merged, the following issues will be automatically closed:

Fixes #3595
Fixes #3596
Fixes #3597
Fixes #3598
Fixes #3599
Fixes #3600
Fixes #3601


Created automatically by ProPR

…from cost data and hides the token-alert settings (#3611)

The change (`packages/api/mcp/adapter.ts`): the old single key filter is split in two.
- Other key classes (`secret`, `password`, `credential`, private key, API key, access key, `cookie`, `authorization`, worktree/stored path, `job_data`, `container_env`): still always dropped, whatever the value. That rule is unchanged.
- `token`-named keys: kept only if the value can't hold a credential: a number, boolean or null, or a plain object or array made only of those. A string, or a container with any string inside, is still dropped. That covers access, bearer, instance and refresh tokens and `tokenHash`, and also number-looking strings like `"1200"` and JSON-encoded strings.
- Buffers, typed arrays and dates under a `token` key are also dropped, because a byte array could be a token's raw bytes.
- Old exemption removed: the one-off `pr_review_max_context_tokens` exemption is gone; the general rule covers it.
- No allow-list of setting names to maintain.

Effect on the two tools in the issue:
- `get_cost_breakdown` rows and totals now include `input_tokens`, `output_tokens`, `cache_creation_input_tokens` and `cache_read_input_tokens`, the same as `GET /api/stats/cost`.
- `get_execution_settings` now includes all five `token_outlier_*` settings.

Tests:
- New `packages/api/test/mcpResultRedaction.test.ts`: a table of keys and values that must be kept and must be removed. Each one is checked at the top level, nested in an object, inside an array, as a JSON-encoded string, and as a JSON string inside an object. It also checks that a kept token container is still redacted inside.
- `costExport.test.ts`: a new test runs redaction on the `get_cost_breakdown` output and checks it matches the `GET /api/stats/cost` response.
- `mcpReviewerConcurrency.test.ts`: the settings round-trip now writes and reads back the `token_outlier_*` values through the real MCP call path.

Against the original adapter, the new tests and the settings round-trip fail.

I didn't create a visual preview because this change only affects API data.

Co-authored-by: propr-dev[bot] <1316198+propr-dev[bot]@users.noreply.github.com>
@propr-dev

propr-dev Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor Author

Epic progress: 0.9.2 release fixes: MCP server and CLI

7 out of 7 PRs merged ✅

██████████ 100%

Merged child PRs: #3611, #3613, #3623, #3633, #3637, #3640, #3646

✅ This epic PR has been merged into main.


This comment is updated automatically by ProPR as child PRs open, change and merge.

@propr-dev propr-dev Bot added the AI label Nov 17, 2026
…tivity silently cover only the first 20 repositories (#3613)

Activity tools (`toolsActivity.ts`, `activityDigest.ts`)
- The cap went from 20 to 100. Running, queued and failed work was already read with one query across the whole repository set, so the old cap only limited the per-repository access check. That check now runs at most 8 at a time instead of one after another.
- Each result has a new `repositoriesNotScanned` count. `repositoriesTruncated` is true only when that count is above zero.
- When repositories were skipped, the text summary ends with "N granted repositories were not scanned; work there may be missing."

`list_pull_requests` (`pullRequestInventory.ts`, `toolsPullRequests.ts`)
- Each scanned repository costs its own GitHub requests, so I kept the 20-per-call window rather than add more GitHub traffic per call.
- Call again with `repositoryOffset` set to the returned `nextRepositoryOffset`, and `offset` back to 0, to get the next batch. `offset` still pages within the current batch.
- The repository list is now filtered by the grant first, so repositories outside the grant no longer count toward the 20.
- The result has `repositoriesNotScanned` and `nextRepositoryOffset`. It also has its own summary line, which names the next `repositoryOffset`. The old generic summary counted the repository list instead of the pull requests.

Tests (`mcpActivity.test.ts`)
- The issue's case: a grant of 24 repositories where the only running task is in the last one. The task is reported, the summary reads "Across 24 repositories: 1 running tasks…", and each repository is access-checked exactly once.
- 103 configured repositories: 100 are read, and the summary says 3 were not scanned.
- `list_pull_requests` with 24 repositories, one of them forbidden: the first window and the `repositoryOffset` continuation together cover all of them, and the summary text is checked.

I also updated `docs/mcp.md` and `docs/mcp-coverage.md` to describe the new fields and the continuation. Nothing here is visible in the UI, so there are no previews.

Co-authored-by: propr-dev[bot] <1316198+propr-dev[bot]@users.noreply.github.com>
@propr-dev propr-dev Bot changed the title ◔ 1/7 [Epic] 0.9.2 release fixes: MCP server and CLI ◔ 2/7 [Epic] 0.9.2 release fixes: MCP server and CLI Nov 17, 2026
… summaries count the wrong thing, and links.ui points at the API host (#3623)

Co-authored-by: propr-dev[bot] <1316198+propr-dev[bot]@users.noreply.github.com>
@propr-dev propr-dev Bot changed the title ◔ 2/7 [Epic] 0.9.2 release fixes: MCP server and CLI ◔ 3/7 [Epic] 0.9.2 release fixes: MCP server and CLI Nov 17, 2026
… new 0.9.2 settings and the CLI cannot read or set two keys it lists (#3633)

* That stopped task was a leftover wait loop from earlier, and it doesn't change any result. It most likely never ended because its own command line contained the text it was searching for, so it kept finding itself. I had already re-run the tests separately, and all 47 passed. Nothing needs restarting.

* feat(ai): I fixed the failing check. It was the docs site build that broke, not the code.

I fixed the failing check. It was the docs site build that broke, not the code.

**Cause:** `docs/docs/operations/settings-locations.md` had four links on this branch written as `./agents.md` and `./agent-extensions.md`. Those pages live in `docs/docs/features/`, not in `operations/`, so the links pointed at pages that don't exist. The docs build rejects broken links, so it failed with "Docusaurus found broken links!". The CI job log hid this, because that step writes its output to a log file. The full error is only in the uploaded `build-check-output` artifact. The other stages in that step (CLI lint, API build and lint, OpenAPI spec and client contract) all passed.

**Fix:** I pointed all four links at `../features/agents.md` and `../features/agent-extensions.md`, which is how other pages under `operations/` already link there. No other files changed.

**Verification:** I ran `npm run build` in `docs/` locally. It now succeeds with no broken-link warnings. I also ran the API lint with CI's zero-warnings setting, and it passes.

The cancelled CLI and Connect jobs in that run aren't a separate problem. They are cancelled, not failed, and no tests failed. I didn't make a preview because the change only corrects link targets and nothing looks different.

PR: #3633
Comment by: @propr-dev[bot] (ID: 6936283216)
Model: Claude Opus 5.5

* feat(ai): I fixed the Shard 3/4 failure. All 9 tests in `packages/api/test/settingsCatalog.test.ts` now pass locally, including the one that failed in CI.

I fixed the Shard 3/4 failure. All 9 tests in `packages/api/test/settingsCatalog.test.ts` now pass locally, including the one that failed in CI.

**Cause:** `docs/docs/operations/settings-locations.md` is built by `npm run docs:settings`, and a test checks that the committed page matches what the script would produce. The previous commit fixed four broken links (`./agents.md` and `./agent-extensions.md` should have pointed into `features/`) by editing that page directly. The script still wrote the old links, so the page no longer matched and the test "generated settings locations page is current" failed.

**Fix:** The bug was in the script, `scripts/generate-settings-docs.mjs`. It dropped the folder from every doc path and always wrote `./<name>.md`. It now writes links relative to `operations/`: pages in that folder stay `./<name>.md`, and pages elsewhere become `../<folder>/<name>.md`. When I re-ran `npm run docs:settings`, the page came out exactly the same as the hand-fixed version. The page is byte-for-byte what the previous commit's docs build passed with, so I didn't rebuild the docs site.

That script is the only file I changed. I made no preview because nothing on the page looks different.

PR: #3633
Comment by: @propr-dev[bot] (ID: 6936829614)
Model: Claude Opus 5.5

---------

Co-authored-by: propr-dev[bot] <1316198+propr-dev[bot]@users.noreply.github.com>
@propr-dev propr-dev Bot changed the title ◔ 3/7 [Epic] 0.9.2 release fixes: MCP server and CLI ◑ 4/7 [Epic] 0.9.2 release fixes: MCP server and CLI Nov 17, 2026
…imestamp formats in results (#3637)

* I've fixed all five points from issue #3598. Every `packages/api/test/mcp*` and `goal*` suite passes when run from the repo root. Lint and the API typecheck are clean.

1. Goal artifacts agree with the goal's pull requests (`services/goalProjection.ts`)
- The goal projection that `get_goal` and the REST goal routes both use now checks the stored artifact list against recorded merges.
- A pull request whose merge ProPR has seen is reported as `merged` with `draft: false`, and `artifactStats.openPullRequests` drops by one for it.
- The REST response shape is unchanged; only these values are corrected. Nothing stored is rewritten.

2. Submission state matches the task (`mcp/toolsTaskSubmissions.ts`)
- The stored submission row stops at `queued` once dispatched. `get_task_submission` and `list_task_submissions` now report `state` and `submissionState` from the task's stage once it is running, completed, failed or cancelled.
- The `create_task` receipt and operation polling are unchanged, so operation tracking behaves as before.

3. One timestamp format (`mcp/resultTimestamps.ts`, wired into `mcp/toolExecution.ts`)
- One recursive pass runs on every tool result. It rewrites fields whose names mark a time (`*_at`, `*At`, `timestamp`, `*Time`, `since`, `until`) to ISO 8601 UTC with `Z`.
- That covers SQLite `YYYY-MM-DD HH:MM:SS` text, ISO strings with no zone or with an offset, and epoch milliseconds.
- Values that are already UTC ISO strings are left exactly as they are. Durations, cursors, free text and other fields are not touched, and field names stay the same.

4. Plans and tasks
- `list_plans` rows now have `pull_requests_truncated`, which is true when the short `pull_requests` list leaves some out.
- In `list_tasks`, a missing `agent_alias` is filled from the agent recorded during execution, using the same source as the REST task status the CLI reads (`loadTaskModelIdentities`). A task with no such record still shows `null`.

5. `list_followup_handoffs` (`mcp/toolsMaintenance.ts`)
- By default it returns only handoffs that are held for an operator or in automatic recovery.
- New inputs: `includeReleased` (default false), `offset`, and `limit` (default 20, max 100). The result has a `nextOffset` for the next page.

Tests and docs
- New tests cover each point:
  - goal artifacts: `goalProjection.test.ts`
  - submission state: `mcpTaskSubmissions.test.ts`
  - timestamps (unit and through `executeTool`): `mcpResultTimestamps.test.ts`
  - plan truncation: `mcpPresentation.test.ts`
  - task agent: `mcpTaskLineage.test.ts`
  - handoff filter and paging: `mcpMaintenance.test.ts`
- I changed the expected values in `mcpGoalTaskDepth` and `mcpTaskLineage`, which asserted the old zone-less timestamps in MCP results.
- I added the new field names that `docs/mcp.md` now mentions to the doc-word allowlist in `mcpObservableSurface`.
- `docs/mcp.md` describes the timestamp rule, the agreeing state fields, the truncation flag, the agent fallback and the handoff options.

`mcpResultTimestamps.test.ts` exits normally when run from the repo root, as CI runs it. Run from inside `packages/api`, importing the tool catalog opens a second database connection that is never closed, so the process doesn't exit. That also happens on unchanged HEAD.

This changes MCP results only, nothing in the UI, so there are no previews.

* feat(ai): I fixed F1. When `list_tasks` fills in a missing agent from what the execution recorded, it now takes the model from that same record, so a task can't show an agent paired with a model it never ran.

I fixed F1. When `list_tasks` fills in a missing agent from what the execution recorded, it now takes the model from that same record, so a task can't show an agent paired with a model it never ran.

**What changed**
- **`packages/api/mcp/taskListing.ts` (`fillExecutionAgents`)**: when the execution record supplies `agentAlias`, `model_name` is now set from that record's `modelName` too, with the same 100-character limit. In your example the task now reports `codex`/`gpt-5.6` instead of `codex`/`opus`. Tasks that already had an agent from submission are unchanged.
- **`packages/api/mcp/listSummaries.ts`**: `MODEL_LIMIT` is now exported so the fill uses the same limit as `summarizeTask`.
- **Test** (`packages/api/test/mcpTaskLineage.test.ts`): a new case where submission recorded only `opus` and execution ran `gpt-5.6` with `codex`. It asserts the pair `['codex', 'gpt-5.6']`. With the old code put back, it fails with `['codex', 'opus']`.
- **`docs/mcp.md`**: the fallback sentence now says the task reports the model that agent ran. A docs test rejects the literal `model_name` there, so I reworded rather than adding it to that test's allowed-word list.

**Other callers:** `fillExecutionAgents` is the only place in the PR's changes that copies an agent out of the execution record. The REST task status path in `routes/taskHelpers.ts` reads agent and model from the same record together, so it doesn't have this bug.

**Checks:** `mcpTaskLineage`, `mcpPresentation` and `mcpObservableSurface` pass (18 tests). Lint (zero warnings) and the API typecheck are clean.

**Disk ran out:** the workspace disk filled to 100% partway through, and the failed write left `packages/api/mcp/listSummaries.ts` empty. I restored it from HEAD and checked it matched before editing again. To make room I deleted `/tmp/node-compile-cache`, which is only a cache. Free space then rose to about 20G, more than that deletion accounts for, so something else also released space. Most of the disk is in `/tmp/git-processor` (93G), so it may fill up again.

PR: #3637
Comment by: @propr-ultrafix (ID: 0)
Model: Claude Opus 5.5

---------

Co-authored-by: propr-dev[bot] <1316198+propr-dev[bot]@users.noreply.github.com>
@propr-dev propr-dev Bot changed the title ◑ 4/7 [Epic] 0.9.2 release fixes: MCP server and CLI ◑ 5/7 [Epic] 0.9.2 release fixes: MCP server and CLI Nov 17, 2026
…imeout 0`, unknown task shown as Pending, and HTML responses treated as data (#3640)

* I've fixed all seven points from issue #3600 in `packages/cli`. The full CLI suite passes (755 tests, 0 failures), including 13 new tests in `src/commands/cliResponseHardening.test.ts` that cover each point. Typecheck also passes. I also pointed the CLI at a local server that serves an HTML page, and every backend command named in point 3 now prints one line and exits 1.

1. `events wait --follow`: consecutive waits now start at least 1 second apart, and Ctrl-C still stops at once. In the test, a stub that answers immediately gets 2–3 requests in 2.5 s instead of more than 1000.
2. `task get <unknown>`: when the server returns an empty record (no history, no task info), it prints "Error: Task not found: <id>" and exits 1, with or without `--json`. This uses the same check `task inspect` already had.
3. HTML or non-JSON responses: the check lives in one place, the shared API client (`src/api/client.ts`).
   - It rejects HTML pages, non-JSON bodies and malformed JSON, including HTML error pages such as a 404 or 502.
   - The message is: "Error: The remote did not return a ProPR API response. Check the URL with `propr remote`." and the exit code is 1.
   - `stats cost --csv` now accepts only a `text/csv` response.
   - Empty 204 responses and JSON error bodies behave as before.
   - I checked the server routes: the endpoints that send plain text are not ones the CLI calls.
4. `plan list`: now accepts `-l, --limit` (max 100, the server's limit) and `--offset`, and shows "Showing 1-10 of 197 plan(s)" with the exact command for the next page. Status uses the same labels as `plan get` ("PR Created", "Merged"). The server only pages by page number, so an offset that isn't a multiple of the limit fetches two pages and trims them. In that case `--json` keeps the same shape plus an `offset` field.
5. `repo list`: there's a new "PR title status" column (`on`/`off`), and "Visual previews" shows `image`, `image+video` or `off`. The long attachment-limit explanation now sits in a short list under the table, one line per repo with previews on. I kept it there because an existing test checks for that text and there is no `repo get` command to show it otherwise. It's still complete in `--json`.
6. `handoffs list`: prints a count line, a blank line between entries, states in words ("Agent exited", "Released by operator force") and an "Updated:" time in local time. `--json` still has the raw values. `handoffs inspect` uses the same formatting.
7. `remote-status`, durations and `login`:
   - `remote-status`: shows an Indexing line, and reports "Some components require attention." when indexing is `failed` or `disconnected` or the server sends warnings. A partial or odd response no longer crashes with the `toLowerCase` TypeError.
   - Durations: history durations read like "5m 40s", and steps under a second keep milliseconds.
   - `login`: when a remote is configured, it now checks the token with the server's `/api/auth/user` endpoint.
     - If the remote rejects the token (401), it isn't saved and the command exits 1.
     - If the remote can't be reached or isn't a ProPR API, the token is saved and the CLI says it couldn't be verified.
     - With no remote configured, it says the token wasn't verified.

Two behaviour choices you may want to revisit:
- Warnings in `remote-status`: any server warning now blocks "All systems operational." If some warnings are routine on your instances, that will show as degraded.
- `login` on a 403: the token is saved, exit code 0, and the CLI says the instance denied access to this account.

I also added short notes on login verification, the non-API error, plan paging and the follow spacing to `docs/docs/features/propr-cli.md`. I didn't create preview images: the changes are terminal text only, and the tests check that output directly.

* feat(ai): I fixed both findings. The full CLI suite passes (787 tests, 785 passed, 0 failed) and typecheck passes. A first full-suite run reported 17 failures, but those two files need the `--experimental-test-module-mocks` flag. With the flag they pass (52/52), and the full run above used it.

I fixed both findings. The full CLI suite passes (787 tests, 785 passed, 0 failed) and typecheck passes. A first full-suite run reported 17 failures, but those two files need the `--experimental-test-module-mocks` flag. With the flag they pass (52/52), and the full run above used it.

**F1 – interactive login no longer saves a rejected token**
- `loginWithGithubCli` (`packages/cli/src/auth/githubLogin.ts`) has a new `persist` option, on by default. With it off, the function returns the token from `gh` without saving it. That covers all four places it used to save.
- A new `completeLogin` in `verifyToken.ts` checks the token against the remote, saves it only if the check allows, and then prints the success lines and "Token saved to:".
- `propr login` now uses `completeLogin` for both the explicit-token path and the interactive path, and the interactive path passes `persist: false`. If the remote rejects the token (401), nothing is written, the previously saved token stays, and the command exits 1 with "…rejected this token. It was not saved."
- I removed the `alreadySaved` option, since nothing saves before the check any more.
- The other callers of `loginWithGithubCli`, in `setupCommand.ts` and `setup/hostActions.ts`, still save straight away as before.

**F2 – error bodies that aren't JSON are rejected**
- In `packages/cli/src/api/client.ts`, `readErrorBody` now treats an empty body as before and passes a JSON object through as a normal API error.
- Any other body (HTML, plain text, broken JSON, or a bare JSON value that isn't an object) now gets the "The remote did not return a ProPR API response" error. Before this change, plain text and broken JSON were silently turned into ordinary not-found or authentication errors.

**New tests** are in `packages/cli/src/auth/loginPersistence.test.ts`:
- Interactive login, both with an existing `gh` session and after `gh auth login`: on a rejection nothing is saved and the old token survives; on success the token is saved and the success lines print after the check.
- Setup still saves by default.
- The explicit-token path saves nothing on a rejection, and still saves when the remote can't be reached.
- A plain-text 404, a broken-JSON 401 and a bare JSON string on a 500 all get the non-API error.
- Empty error bodies and JSON error bodies still come back as ordinary API errors.

The docs note added earlier on this branch already says a rejected token is not saved, which is now true for both login paths.

**Separate finding, not changed:** `propr setup` still saves the token from `gh` without checking it against a remote. That code wasn't changed in this PR, so I left it alone.

PR: #3640
Comment by: @propr-ultrafix (ID: 0)
Model: Claude Opus 5.5

---------

Co-authored-by: propr-dev[bot] <1316198+propr-dev[bot]@users.noreply.github.com>
@propr-dev propr-dev Bot changed the title ◑ 5/7 [Epic] 0.9.2 release fixes: MCP server and CLI ◕ 6/7 [Epic] 0.9.2 release fixes: MCP server and CLI Nov 17, 2026
@propr-dev propr-dev Bot changed the title ◕ 6/7 [Epic] 0.9.2 release fixes: MCP server and CLI ⚠️ 6/7 [Epic] 0.9.2 release fixes: MCP server and CLI Nov 17, 2026
Help fixes
- Command Groups footer: it is now built from the registered commands (new `packages/cli/src/rootHelp.ts`). The small group table there only decides which group a command goes in. The subcommand lists come from the live command tree, so all the missing items now show up: `stats`, `pr`, `events`, `setup`, `github-app`, `connect`, `goal attention|continue|wait`, `plan generate|finalize|issues`, `automation templates`, `todo move|category`, `agent login` and `repo validate`. A command with no group is still shown under "Other", and the new test fails until it gets one. Long lines wrap at 100 columns.
- `propr help task list` now prints the `task list` help. Commander's built-in help command only looks one level deep, so I replaced it with `help [command...]`, which follows the full path. An unknown path exits 1 with `unknown command 'task nope'`.
- Smaller text fixes:
  - `plan create -b` shows its default once.
  - `goal wait`: the Conditions table now explains `blocked`, and the examples have the `$ ` prefix.
  - Retired model ids are replaced with current ones (`claude-sonnet-5-5`, `claude-opus-5-5`, `claude-haiku-5-5`).
  - `integry/gitfix` is now `myorg/myrepo`.
  - `task delete --force` now says it skips the confirmation prompt.
  - `propr admission` text output now points to `propr tank` instead of the MCP tool name.
  - `propr stats` help states that the default period is all time, unlike the MCP tool's 30 days.
- Flags: `-j` now works everywhere `--json` does. That covers the commands in the issue plus `relay list`, `check`, `status` and `github-app create|manifest`, which had the same gap. `events` also gets `-l` for `--limit`. Both `stats` subcommands accept `-p, --project` as an alias of `--repository`, and the long flags still work.

Decisions for you
- `--group-by ""` still means `day`. The issue says no behaviour changes, so I documented it in the flag's help rather than making it an error. Rejecting an empty list would be a one-line change if you'd rather have that.
- The global `-p` now reaches `stats`. Because of the new alias, `propr -p owner/repo stats cost` limits the report to that repository. Before, `stats` ignored it. The configured default project is still not applied to `stats`.
- Two additions you didn't ask for: `propr completion --help` now has setup examples for bash, zsh and fish. The CLI README's System section said `propr status` checks the backend, but it shows the local stack, so I fixed that.

Tests (new `packages/cli/src/rootHelp.test.ts`)
- Fails when a top-level command or subcommand is missing from the footer.
- Fails when any help text, including examples, names a model id that isn't in the current model definitions.
- Fails when a `--json`, `--limit` or `--project` flag lacks its short form. `config profile set --project` is exempt, because it stores a profile's default project rather than choosing a target.
- Also checks `propr help task list` end to end.

I confirmed the first two catch regressions: putting an old model id back into `log` help and dropping `stats` from the group table each made them fail.

Docs
- `docs/docs/features/propr-cli.md` has short sections for config profiles, shell completion, follow-up handoffs, `agent login`, `setting reindex-summaries` and `backend`. The settings table gains `max_provider_replacements`, `ultrafix_escalation_*`, `ultrafix_ci_wait_timeout_ms`, `agent_network_*`, `token_outlier_*`, and two keys that were also missing: `agent_run_usage_pause_percent` and `automation_unproductive_run_threshold`.
- `packages/cli/README.md` documents goals, automations, stats, pr, events, admission, handoffs, config and `agent pool`. I also corrected a stale model id and added `vibe` to the agent types.
- `docs/mcp-coverage.md` has rows for `close_pull_request`, `approve_pull_request_workflow_runs` and `update_pull_request_labels`.

I didn't create a visual preview because the changes are terminal help text and docs. The docs site wasn't rebuilt, so the new anchor links are checked by hand only.

Co-authored-by: propr-dev[bot] <1316198+propr-dev[bot]@users.noreply.github.com>
@propr-dev

propr-dev Bot commented Nov 17, 2026

Copy link
Copy Markdown
Contributor Author

✅ Epic ready for final merge: 0.9.2 release fixes: MCP server and CLI

All 7 child PRs have been merged into this epic branch. This epic PR is ready for final review and merge.


Posted automatically by ProPR

@propr-dev propr-dev Bot changed the title ⚠️ 6/7 [Epic] 0.9.2 release fixes: MCP server and CLI ◕ 7/7 [Epic] 0.9.2 release fixes: MCP server and CLI Nov 17, 2026
@propr-dev propr-dev Bot changed the title ◕ 7/7 [Epic] 0.9.2 release fixes: MCP server and CLI ✅ 7/7 [Epic] 0.9.2 release fixes: MCP server and CLI Nov 17, 2026
@integry
integry marked this pull request as ready for review November 17, 2026 06:29
@propr-dev propr-dev Bot changed the title ✅ 7/7 [Epic] 0.9.2 release fixes: MCP server and CLI ◕ 7/7 [Epic] 0.9.2 release fixes: MCP server and CLI Nov 17, 2026

integry commented Nov 17, 2026

Copy link
Copy Markdown
Owner

/ultrafix goal=8 max=10

@propr-dev propr-dev Bot added the ultrafix label Nov 17, 2026
@propr-dev

propr-dev Bot commented Nov 17, 2026

Copy link
Copy Markdown
Contributor Author

🔄 Ultrafix loop started (goal: 8/10, max cycles: 10)

First action: /review

💡 Tip: Remove the ultrafix label from this PR to stop further ultrafix cycles.

@propr-dev

propr-dev Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ AI Code Review Complete requested by @propr-ultrafix

Posted 1 review:

View Task Details

@propr-dev

propr-dev Bot commented Nov 17, 2026

Copy link
Copy Markdown
Contributor Author

🔍 AI Code Review — codex:gpt-6-astra

Overall Evaluation

Ready to merge within the visible scope. The changes address MCP result accuracy, repository coverage, settings discovery, and CLI behavior with focused regression coverage. The supplied current-head checks show 38 passed and no failures or pending checks.

✅ Repository coverage — Activity digests scan up to 100 repositories, disclose omitted repositories, and PR inventory exposes repository-window continuation.

✅ Targeted result handling — Summaries count explicit entities, token counts survive redaction, and malformed discussion cursors receive a validation error.

✅ CLI regression coverage — Tests cover throttled event following, unknown tasks, HTML responses, and arbitrary plan offsets.

This was a static review; no commands were run. The linked issue bodies contain truncation notices, so requirement validation is limited to their visible portions.

Merge blockers

No merge blockers.

Suggestions

These are optional follow-ups and are not sent to /fix.

S1: 🟢 Report success after persistence

In packages/cli/src/auth/verifyToken.ts, completeLogin calls reportLoginVerification before awaiting setGithubToken. Consequently, “Authentication successful” or “Token saved” can print before persistence fails. Consider collecting the outcome first and printing successful-save messages after persistence. This is an optional reporting improvement: the failed save still propagates an error.

S2: 🟢 Clarify repository pagination completion

In docs/mcp.md, the inventory guidance says to continue whenever repositoriesNotScanned is positive. However, inventoryRepositories counts repositories outside the current window, including earlier windows; the final window can therefore have a positive count and nextRepositoryOffset: null. Describe continuation as conditional on a non-null nextRepositoryOffset, and explain that omission counts are per call. The executable continuation is correct; this is a documentation clarification.

Score

The supplied diff has substantial targeted coverage, and static tracing identified no verified merge blockers. Current-head checks are green; the remaining observations are non-blocking clarity improvements.

Score: 8/10


🤖 Review Details

  • Model: GPT-6 Astra
  • Time: 1m 2s
  • Tokens: 131,187 (130,323 in / 864 out)
  • Cost: $1.24

View Task


💡 Next step: Comment /fix to address every F# merge blocker, /fix all for every pending blocker and suggestion, or name records explicitly, as in /fix F3 S5.
F# and S# IDs increment across review comments and remain permanent, so selectors such as /fix F3 F5 stay unambiguous across cycles. S# suggestions stay optional: they are implemented only when you name them or request /fix all, and they never relax a merge blocker.

Copy and edit to choose records from this review:

/fix S1 S2

🤖 Review by ProPR

@propr-dev propr-dev Bot removed the ultrafix label Nov 17, 2026
@propr-dev propr-dev Bot changed the title ◕ 7/7 [Epic] 0.9.2 release fixes: MCP server and CLI ✅ 7/7 [Epic] 0.9.2 release fixes: MCP server and CLI Nov 17, 2026

integry commented Nov 17, 2026

Copy link
Copy Markdown
Owner

/fix S1 S2

@propr-dev propr-dev Bot changed the title ✅ 7/7 [Epic] 0.9.2 release fixes: MCP server and CLI ◕ 7/7 [Epic] 0.9.2 release fixes: MCP server and CLI Nov 17, 2026
@propr-dev

propr-dev Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ Applied the requested follow-up changes in commit f2d7442

Addressed 1 AI review comment (IDs: 6941074964)

Addressed suggestions S1, S2

Summary of Changes

I made both fixes, S1 and S2.

S1: success is reported only after the token is saved (packages/cli/src/auth/verifyToken.ts)

  • A new pure function, describeLoginVerification, works out the exit code, whether to save, and the lines to print, without printing anything.
  • completeLogin now prints a rejection error at once (nothing gets saved in that case). It holds back "Authentication successful! Verified against…", "Token saved…" and the gh-flow summary until setGithubToken has finished. If the save fails, the error is the only thing the user sees.
  • reportLoginVerification still prints straight away for its existing callers.
  • I checked the related code: loginWithGithubCli (used by propr setup) already saves before it returns its success message, so it needed no change.
  • New regression test in loginPersistence.test.ts: the save is made to fail for each remote answer that allows saving (verified, forbidden, unverified, no remote), in both the plain-token and gh flows. It checks that nothing is printed and the earlier token is kept. It fails against the old verifyToken.ts and passes now.

S2: repository paging docs

  • docs/mcp.md: callers should keep going while nextRepositoryOffset is not null, and null means the last window has been read. repositoriesNotScanned is per call and counts every repository outside that call's window, earlier windows included. So the last window can show a positive count, and the count shouldn't be used to decide whether to continue.
  • The same wrong guidance ("counts the rest … reaches them") was also in two other places, so I fixed those too:
    • the list_pull_requests tool description in packages/api/mcp/toolsPullRequests.ts
    • the bounded-scans note in docs/mcp-coverage.md
  • The summary text in presentation.ts already offers a next offset only when nextRepositoryOffset is set, so I left it alone.

Checks

  • CLI: the login and CLI-response test files pass (22 of 22), and npm run typecheck is clean.
  • API: the MCP pull-request, operator-surface, presentation and activity tests passed with no failures. The run doesn't exit cleanly afterwards (exit 124), which is a known hang in these API suites rather than a test failure.
  • ESLint is clean on toolsPullRequests.ts. The CLI auth files aren't covered by any ESLint config, so they weren't linted.

Nothing here changes what users see on screen, so I made no previews.

Review digest

Risk-tiered paths

  • High risk (1 file)
    • packages/cli/src/auth/verifyToken.ts (+45/−24): auth-looking path
  • Normal risk (1 file)
    • packages/api/mcp/toolsPullRequests.ts (+1/−1)
  • Low risk (3 files)
    • docs/mcp-coverage.md (+3/−1)
    • docs/mcp.md (+7/−3)
    • packages/cli/src/auth/loginPersistence.test.ts (+24/−0)

Validation evidence

  • No repository validation commands ran.

Diff size: 5 files changed, +80/−29 lines


🤖 Implementation Details

  • Model: Claude Opus 5.5 (medium)
  • Requested By: @integry
  • Time: 22m 7s
  • Tokens: 1,629,127 (1,620,013 in / 9,114 out)
  • Cost: $0.79
  • Subscription usage: Weekly +1%

Undo Changes • View Task Execution


💡 ProPR Slash Commands
Command Description Example
/merge Merge target branch into this PR and resolve conflicts /merge
/review Request an AI code review /review or /review claude-sonnet
/fix Address review blockers, or blockers and suggestions with /fix all /fix, /fix all, or /fix F3 S5
/switch Change the AI model for this PR /switch claude-opus
/use Override the model for a single follow-up run /use claude-sonnet
/ultrafix Loop review→fix cycles until score goal is met /ultrafix or /ultrafix goal=8 max=10

🤖 Generated by ProPR
Processing comment ID: 6941291148✓

I made both fixes, S1 and S2.

**S1: success is reported only after the token is saved** (`packages/cli/src/auth/verifyToken.ts`)
- A new pure function, `describeLoginVerification`, works out the exit code, whether to save, and the lines to print, without printing anything.
- `completeLogin` now prints a rejection error at once (nothing gets saved in that case). It holds back "Authentication successful! Verified against…", "Token saved…" and the gh-flow summary until `setGithubToken` has finished. If the save fails, the error is the only thing the user sees.
- `reportLoginVerification` still prints straight away for its existing callers.
- I checked the related code: `loginWithGithubCli` (used by `propr setup`) already saves before it returns its success message, so it needed no change.
- New regression test in `loginPersistence.test.ts`: the save is made to fail for each remote answer that allows saving (verified, forbidden, unverified, no remote), in both the plain-token and gh flows. It checks that nothing is printed and the earlier token is kept. It fails against the old `verifyToken.ts` and passes now.

**S2: repository paging docs**
- `docs/mcp.md`: callers should keep going while `nextRepositoryOffset` is not null, and null means the last window has been read. `repositoriesNotScanned` is per call and counts every repository outside that call's window, earlier windows included. So the last window can show a positive count, and the count shouldn't be used to decide whether to continue.
- The same wrong guidance ("counts the rest … reaches them") was also in two other places, so I fixed those too:
  - the `list_pull_requests` tool description in `packages/api/mcp/toolsPullRequests.ts`
  - the bounded-scans note in `docs/mcp-coverage.md`
- The summary text in `presentation.ts` already offers a next offset only when `nextRepositoryOffset` is set, so I left it alone.

**Checks**
- CLI: the login and CLI-response test files pass (22 of 22), and `npm run typecheck` is clean.
- API: the MCP pull-request, operator-surface, presentation and activity tests passed with no failures. The run doesn't exit cleanly afterwards (exit 124), which is a known hang in these API suites rather than a test failure.
- ESLint is clean on `toolsPullRequests.ts`. The CLI auth files aren't covered by any ESLint config, so they weren't linted.

Nothing here changes what users see on screen, so I made no previews.

PR: #3625
Comment by: @integry (ID: 6941291148)
Model: Claude Opus 5.5
@propr-dev propr-dev Bot changed the title ◕ 7/7 [Epic] 0.9.2 release fixes: MCP server and CLI ⚠️ 7/7 [Epic] 0.9.2 release fixes: MCP server and CLI Nov 17, 2026
@propr-dev

propr-dev Bot commented Nov 17, 2026

Copy link
Copy Markdown
Contributor Author

CI failed: Run Full Test Suite

Please investigate and fix this CI failure.

Failure evidence

.github:67
Process completed with exit code 1.

.github:66
Full test suite shards finished with result 'failure'.

.github:4
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@11d5960, actions/download-artifact@018cc2c. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/

@github-actions

Copy link
Copy Markdown

Full Test Suite Results

Validation failed during: Test shard (shard 2).

  • Dependency install: success
  • Workspace build: success
  • Docs validation: success
  • Shard coverage verification: success
  • Hosted native Electron units: success
  • Shard 1/4: passed in 871.7s on GitHub Actions 1000124964
  • Shard 2/4: failed during Test shard in 909.2s on GitHub Actions 1000124962
    • propr-ui#1/4 (workspace): exit 1
  • Shard 3/4: passed in 1258.1s on GitHub Actions 1000124963
  • Shard 4/4: passed in 999.2s on GitHub Actions 1000124961
View shard 2/4 output
...(truncated)

22m�[39m
�[90mstdout�[2m | src/pages/PlanStudioPage.freshGenerate.test.tsx�[2m > �[22m�[2mfresh plan generation becomes the displayed draft (desktop=false)�[2m > �[22m�[2mafter the user leaves a pending fresh plan�[2m > �[22m�[2mkeeps another opened draft untouched when the acknowledgement arrives
�[22m�[39m[useDraft] Received draft update via WebSocket: {
  draftId: �[32m'draft-1'�[39m,
  timestamp: �[32m'2026-11-17T07:46:18.349Z'�[39m,
  runId: �[32m'run-1'�[39m,
  draftStatus: �[32m'review'�[39m
}

�[90mstderr�[2m | src/pages/PlanStudioPage.freshGenerate.test.tsx�[2m > �[22m�[2mfresh plan generation becomes the displayed draft (desktop=false)�[2m > �[22m�[2mafter the user leaves a pending fresh plan�[2m > �[22m�[2mkeeps another opened draft untouched when the acknowledgement arrives
�[22m�[39mAn update to PlanStudioPage inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act
An update to PlanStudioPage inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act

 �[32m✓�[39m src/desktop/nativeCommands.integration.test.tsx �[2m(�[22m�[2m14 tests�[22m�[2m)�[22m�[32m 174�[2mms�[22m�[39m
�[90mstdout�[2m | src/pages/PlanStudioPage.freshGenerate.test.tsx�[2m > �[22m�[2mfresh plan generation becomes the displayed draft (desktop=false)�[2m > �[22m�[2mafter the user leaves a pending fresh plan�[2m > �[22m�[2mdoes not rewrite the plans entry when the draft is created after Back
�[22m�[39m[useDraft] Received draft update via WebSocket: {
  draftId: �[32m'draft-1'�[39m,
  timestamp: �[32m'2026-11-17T07:46:19.756Z'�[39m,
  runId: �[32m'run-1'�[39m,
  draftStatus: �[32m'review'�[39m
}

�[90mstderr�[2m | src/pages/PlanStudioPage.freshGenerate.test.tsx�[2m > �[22m�[2mfresh plan generation becomes the displayed draft (desktop=false)�[2m > �[22m�[2mafter the user leaves a pending fresh plan�[2m > �[22m�[2mdoes not rewrite the plans entry when the draft is created after Back
�[22m�[39mAn update to PlanStudioPage inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act
An update to PlanStudioPage inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act

�[90mstderr�[2m | src/pages/PlanStudioPage.freshGenerate.test.tsx�[2m > �[22m�[2mfresh plan generation becomes the displayed draft (desktop=true)�[2m > �[22m�[2mshows Generating then Review when Generate races the autosave debounce (stale read before the acknowledgement)
�[22m�[39mFailed to save planner settings to localStorage

�[90mstderr�[2m | src/pages/PlanStudioPage.freshGenerate.test.tsx�[2m > �[22m�[2mfresh plan generation becomes the displayed draft (desktop=true)�[2m > �[22m�[2mshows Generating then Review when Generate races the autosave debounce (stale read before the acknowledgement)
�[22m�[39mFailed to save planner settings to localStorage

�[90mstderr�[2m | src/pages/PlanStudioPage.freshGenerate.test.tsx�[2m > �[22m�[2mfresh plan generation becomes the displayed draft (desktop=true)�[2m > �[22m�[2mshows Generating then Review when Generate races the autosave debounce (stale read before the acknowledgement)
�[22m�[39mFailed to save planner settings to localStorage

�[90mstdout�[2m | src/pages/PlanStudioPage.freshGenerate.test.tsx�[2m > �[22m�[2mfresh plan generation becomes the displayed draft (desktop=true)�[2m > �[22m�[2mshows Generating then Review when Generate races the autosave debounce (stale read before the acknowledgement)
�[22m�[39m[useDraft] Received draft update via WebSocket: {
  draftId: �[32m'draft-1'�[39m,
  timestamp: �[32m'2026-11-17T07:46:19.867Z'�[39m,
  runId: �[32m'run-1'�[39m,
  draftStatus: �[32m'review'�[39m
}

�[90mstderr�[2m | src/pages/PlanStudioPage.freshGenerate.test.tsx�[2m > �[22m�[2mfresh plan generation becomes the displayed draft (desktop=true)�[2m > �[22m�[2mshows Generating then Review when Generate races the autosave debounce (stale read before the acknowledgement)
�[22m�[39mAn update to PlanStudioPage inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act
An update to PlanStudioPage inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act

 �[32m✓�[39m src/components/AssigneeList.test.tsx �[2m(�[22m�[2m25 tests�[22m�[2m)�[22m�[33m 408�[2mms�[22m�[39m
�[90mstderr�[2m | src/pages/PlanStudioPage.freshGenerate.test.tsx�[2m > �[22m�[2mfresh plan generation becomes the displayed draft (desktop=true)�[2m > �[22m�[2mshows Generating then Review when Generate races the autosave debounce (stale read after the acknowledgement)
�[22m�[39mFailed to save planner settings to localStorage

�[90mstderr�[2m | src/pages/PlanStudioPage.freshGenerate.test.tsx�[2m > �[22m�[2mfresh plan generation becomes the displayed draft (desktop=true)�[2m > �[22m�[2mshows Generating then Review when Generate races the autosave debounce (stale read after the acknowledgement)
�[22m�[39mFailed to save planner settings to localStorage

�[90mstderr�[2m | src/pages/PlanStudioPage.freshGenerate.test.tsx�[2m > �[22m�[2mfresh plan generation becomes the displayed draft (desktop=true)�[2m > �[22m�[2mshows Generating then Review when Generate races the autosave debounce (stale read after the acknowledgement)
�[22m�[39mFailed to save planner settings to localStorage

�[90mstdout�[2m | src/pages/PlanStudioPage.freshGenerate.test.tsx�[2m > �[22m�[2mfresh plan generation becomes the displayed draft (desktop=true)�[2m > �[22m�[2mshows Generating then Review when Generate races the autosave debounce (stale read after the acknowledgement)
�[22m�[39m[useDraft] Received draft update via WebSocket: {
  draftId: �[32m'draft-1'�[39m,
  timestamp: �[32m'2026-11-17T07:46:21.299Z'�[39m,
  runId: �[32m'run-1'�[39m,
  draftStatus: �[32m'review'�[39m
}

�[90mstderr�[2m | src/pages/PlanStudioPage.freshGenerate.test.tsx�[2m > �[22m�[2mfresh plan generation becomes the displayed draft (desktop=true)�[2m > �[22m�[2mshows Generating then Review when Generate races the autosave debounce (stale read after the acknowledgement)
�[22m�[39mAn update to PlanStudioPage inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act
An update to PlanStudioPage inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act

�[90mstderr�[2m | src/components/QuickAddTodo.test.tsx�[2m > �[22m�[2mEscape in the toolbar popover�[2m > �[22m�[2mdismisses the popover opened by the native New To-do shortcut
�[22m�[39mAn update to QuickAddTodo inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act
An update to QuickAddTodo inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act

�[90mstderr�[2m | src/components/QuickAddTodo.test.tsx�[2m > �[22m�[2mEscape in the toolbar popover�[2m > �[22m�[2mdismisses with nothing focused, but ignores Escape from controls outside it
�[22m�[39mAn update to QuickAddTodo inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act
An update to QuickAddTodo inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act

�[90mstderr�[2m | src/pages/PlanStudioPage.freshGenerate.test.tsx�[2m > �[22m�[2mfresh plan generation becomes the displayed draft (desktop=true)�[2m > �[22m�[2mshows Generating then Review when Generate follows an in-place autosave
�[22m�[39mFailed to save planner settings to localStorage

�[90mstderr�[2m | src/pages/PlanStudioPage.freshGenerate.test.tsx�[2m > �[22m�[2mfresh plan generation becomes the displayed draft (desktop=true)�[2m > �[22m�[2mshows Generating then Review when Generate follows an in-place autosave
�[22m�[39mFailed to save planner settings to localStorage

 �[32m✓�[39m src/components/QuickAddTodo.test.tsx �[2m(�[22m�[2m17 tests�[22m�[2m)�[22m�[33m 2282�[2mms�[22m�[39m
�[90mstderr�[2m | src/pages/PlanStudioPage.freshGenerate.test.tsx�[2m > �[22m�[2mfresh plan generation becomes the displayed draft (desktop=true)�[2m > �[22m�[2mshows Generating then Review when Generate follows an in-place autosave
�[22m�[39mFailed to save planner settings to localStorage

�[90mstdout�[2m | src/pages/PlanStudioPage.freshGenerate.test.tsx�[2m > �[22m�[2mfresh plan generation becomes the displayed draft (desktop=true)�[2m > �[22m�[2mshows Generating then Review when Generate follows an in-place autosave
�[22m�[39m[useDraft] Received draft update via WebSocket: {
  draftId: �[32m'draft-1'�[39m,
  timestamp: �[32m'2026-11-17T07:46:24.043Z'�[39m,
  runId: �[32m'run-1'�[39m,
  draftStatus: �[32m'review'�[39m
}

�[90mstderr�[2m | src/pages/PlanStudioPage.freshGenerate.test.tsx�[2m > �[22m�[2mfresh plan generation becomes the displayed draft (desktop=true)�[2m > �[22m�[2mshows Generating then Review when Generate follows an in-place autosave
�[22m�[39mAn update to PlanStudioPage inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act
An update to PlanStudioPage inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act

�[90mstderr�[2m | src/pages/PlanStudioPage.freshGenerate.test.tsx�[2m > �[22m�[2mfresh plan generation becomes the displayed draft (desktop=true)�[2m > �[22m�[2mkeeps the prompt for a retry when generation fails to start
�[22m�[39mFailed to save planner settings to localStorage

�[90mstderr�[2m | src/pages/PlanStudioPage.freshGenerate.test.tsx�[2m > �[22m�[2mfresh plan generation becomes the displayed draft (desktop=true)�[2m > �[22m�[2mkeeps the prompt for a retry when generation fails to start
�[22m�[39mFailed to save planner settings to localStorage

�[90mstderr�[2m | src/pages/PlanStudioPage.freshGenerate.test.tsx�[2m > �[22m�[2mfresh plan generation becomes the displayed draft (desktop=true)�[2m > �[22m�[2mkeeps the prompt for a retry when generation fails to start
�[22m�[39mFailed to save planner settings to localStorage

�[90mstderr�[2m | src/pages/PlanStudioPage.freshGenerate.test.tsx�[2m > �[22m�[2mfresh plan generation becomes the displayed draft (desktop=true)�[2m > �[22m�[2mafter the user leaves a pending fresh plan�[2m > �[22m�[2mkeeps the plans list when the acknowledgement arrives after Back
�[22m�[39mFailed to save planner settings to localStorage

�[90mstderr�[2m | src/pages/PlanStudioPage.freshGenerate.test.tsx�[2m > �[22m�[2mfresh plan generation becomes the displayed draft (desktop=true)�[2m > �[22m�[2mafter the user leaves a pending fresh plan�[2m > �[22m�[2mkeeps the plans list when the acknowledgement arrives after Back
�[22m�[39mFailed to save planner settings to localStorage

�[90mstderr�[2m | src/pages/PlanStudioPage.freshGenerate.test.tsx�[2m > �[22m�[2mfresh plan generation becomes the displayed draft (desktop=true)�[2m > �[22m�[2mafter the user leaves a pending fresh plan�[2m > �[22m�[2mkeeps the plans list when the acknowledgement arrives after Back
�[22m�[39mFailed to save planner settings to localStorage

 �[32m✓�[39m src/components/TaskDetails/useTaskAssignment.test.tsx �[2m(�[22m�[2m11 tests�[22m�[2m)�[22m�[33m 689�[2mms�[22m�[39m
�[90mstdout�[2m | src/pages/PlanStudioPage.freshGenerate.test.tsx�[2m > �[22m�[2mfresh plan generation becomes the displayed draft (desktop=true)�[2m > �[22m�[2mafter the user leaves a pending fresh plan�[2m > �[22m�[2mkeeps the plans list when the acknowledgement arrives after Back
�[22m�[39m[useDraft] Received draft update via WebSocket: {
  draftId: �[32m'draft-1'�[39m,
  timestamp: �[32m'2026-11-17T07:46:25.515Z'�[39m,
  runId: �[32m'run-1'�[39m,
  draftStatus: �[32m'review'�[39m
}

�[90mstderr�[2m | src/pages/PlanStudioPage.freshGenerate.test.tsx�[2m > �[22m�[2mfresh plan generation becomes the displayed draft (desktop=true)�[2m > �[22m�[2mafter the user leaves a pending fresh plan�[2m > �[22m�[2mkeeps the plans list when the acknowledgement arrives after Back
�[22m�[39mAn update to PlanStudioPage inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act
An update to PlanStudioPage inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act

�[90mstderr�[2m | src/pages/PlanStudioPage.freshGenerate.test.tsx�[2m > �[22m�[2mfresh plan generation becomes the displayed draft (desktop=true)�[2m > �[22m�[2mafter the user leaves a pending fresh plan�[2m > �[22m�[2mkeeps another opened draft untouched when the acknowledgement arrives
�[22m�[39mFailed to save planner settings to localStorage

�[90mstderr�[2m | src/pages/PlanStudioPage.freshGenerate.test.tsx�[2m > �[22m�[2mfresh plan generation becomes the displayed draft (desktop=true)�[2m > �[22m�[2mafter the user leaves a pending fresh plan�[2m > �[22m�[2mkeeps another opened draft untouched when the acknowledgement arrives
�[22m�[39mFailed to save planner settings to localStorage

�[90mstderr�[2m | src/pages/PlanStudioPage.freshGenerate.test.tsx�[2m > �[22m�[2mfresh plan generation becomes the displayed draft (desktop=true)�[2m > �[22m�[2mafter the user leaves a pending fresh plan�[2m > �[22m�[2mkeeps another opened draft untouched when the acknowledgement arrives
�[22m�[39mFailed to save planner settings to localStorage

�[90mstderr�[2m | src/pages/PlanStudioPage.freshGenerate.test.tsx�[2m > �[22m�[2mfresh plan generation becomes the displayed draft (desktop=true)�[2m > �[22m�[2mafter the user leaves a pending fresh plan�[2m > �[22m�[2mkeeps another opened draft untouched when the acknowledgement arrives
�[22m�[39mFailed to save planner settings to localStorage
Failed to save planner settings to localStorage

�[90mstderr�[2m | src/pages/PlanStudioPage.freshGenerate.test.tsx�[2m > �[22m�[2mfresh plan generation becomes the displayed draft (desktop=true)�[2m > �[22m�[2mafter the user leaves a pending fresh plan�[2m > �[22m�[2mkeeps another opened draft untouched when the acknowledgement arrives
�[22m�[39mFailed to save planner settings to localStorage

�[90mstderr�[2m | src/pages/SettingsPage/AgentConfigModal.test.tsx�[2m > �[22m�[2mAgentConfigModal�[2m > �[22m�[2mpreserves distinct migrated effort labels when editing and saving an Antigravity agent
�[22m�[39mAn update to AgentConfigModal inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act
An update to AgentConfigModal inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act
An update to AgentConfigModal inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act
An update to AgentConfigModal inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act

�[90mstderr�[2m | src/pages/SettingsPage/AgentConfigModal.test.tsx�[2m > �[22m�[2mAgentConfigModal�[2m > �[22m�[2madds a loginable agent with an isolated managed credential path and requests login
�[22m�[39mAn update to AgentConfigModal inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act
An update to AgentConfigModal inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act
An update to AgentConfigModal inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act
An update to AgentConfigModal inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act
An update to AgentConfigModal inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act

�[90mstderr�[2m | src/pages/SettingsPage/AgentConfigModal.test.tsx�[2m > �[22m�[2mAgentConfigModal�[2m > �[22m�[2mallows a new agent to reuse an existing config directory instead of logging in
�[22m�[39mAn update to AgentConfigModal inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act
An update to AgentConfigModal inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act

�[90mstderr�[2m | src/pages/SettingsPage/AgentConfigModal.test.tsx�[2m > �[22m�[2mAgentConfigModal�[2m > �[22m�[2muses the agent alias in long model labels
�[22m�[39mAn update to AgentConfigModal inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act
An update to AgentConfigModal inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act
An update to AgentConfigModal inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act
An update to AgentConfigModal inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act

�[90mstderr�[2m | src/pages/SettingsPage/AgentConfigModal.test.tsx�[2m > �[22m�[2mAgentConfigModal�[2m > �[22m�[2msaves a model-specific reasoning level for Codex agents
�[22m�[39mAn update to AgentConfigModal inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act
An update to AgentConfigModal inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act
An update to AgentConfigModal inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act
An update to AgentConfigModal inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act

�[90mstderr�[2m | src/pages/SettingsPage/AgentConfigModal.test.tsx�[2m > �[22m�[2mAgentConfigModal�[2m > �[22m�[2mmarks a legacy cross-agent reasoning value as unsupported
�[22m�[39mAn update to AgentConfigModal inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act
An update to AgentConfigModal inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act
An update to AgentConfigModal inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act
An update to AgentConfigModal inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act

�[90mstderr�[2m | src/pages/SettingsPage/AgentConfigModal.test.tsx�[2m > �[22m�[2moffers one Antigravity entry per model with model-specific reasoning choices
�[22m�[39mAn update to AgentConfigModal inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act
An update to AgentConfigModal inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act
An update to AgentConfigModal inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act
An update to AgentConfigModal inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act

 �[32m✓�[39m src/pages/SettingsPage/AgentConfigModal.test.tsx �[2m(�[22m�[2m9 tests�[22m�[2m)�[22m�[33m 852�[2mms�[22m�[39m
�[90mstdout�[2m | src/pages/PlanStudioPage.freshGenerate.test.tsx�[2m > �[22m�[2mfresh plan generation becomes the displayed draft (desktop=true)�[2m > �[22m�[2mafter the user leaves a pending fresh plan�[2m > �[22m�[2mkeeps another opened draft untouched when the acknowledgement arrives
�[22m�[39m[useDraft] Received draft update via WebSocket: {
  draftId: �[32m'draft-1'�[39m,
  timestamp: �[32m'2026-11-17T07:46:26.957Z'�[39m,
  runId: �[32m'run-1'�[39m,
  draftStatus: �[32m'review'�[39m
}

�[90mstderr�[2m | src/pages/PlanStudioPage.freshGenerate.test.tsx�[2m > �[22m�[2mfresh plan generation becomes the displayed draft (desktop=true)�[2m > �[22m�[2mafter the user leaves a pending fresh plan�[2m > �[22m�[2mkeeps another opened draft untouched when the acknowledgement arrives
�[22m�[39mAn update to PlanStudioPage inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act
An update to PlanStudioPage inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act

�[90mstderr�[2m | src/pages/PlanStudioPage.freshGenerate.test.tsx�[2m > �[22m�[2mfresh plan generation becomes the displayed draft (desktop=true)�[2m > �[22m�[2mafter the user leaves a pending fresh plan�[2m > �[22m�[2mdoes not rewrite the plans entry when the draft is created after Back
�[22m�[39mFailed to save planner settings to localStorage

�[90mstderr�[2m | src/pages/PlanStudioPage.freshGenerate.test.tsx�[2m > �[22m�[2mfresh plan generation becomes the displayed draft (desktop=true)�[2m > �[22m�[2mafter the user leaves a pending fresh plan�[2m > �[22m�[2mdoes not rewrite the plans entry when the draft is created after Back
�[22m�[39mFailed to save planner settings to localStorage

 �[32m✓�[39m src/components/TaskDetails/ContextStrip.test.tsx �[2m(�[22m�[2m17 tests�[22m�[2m)�[22m�[33m 313�[2mms�[22m�[39m
�[90mstdout�[2m | src/pages/PlanStudioPage.freshGenerate.test.tsx�[2m > �[22m�[2mfresh plan generation becomes the displayed draft (desktop=true)�[2m > �[22m�[2mafter the user leaves a pending fresh plan�[2m > �[22m�[2mdoes not rewrite the plans entry when the draft is created after Back
�[22m�[39m[useDraft] Received draft update via WebSocket: {
  draftId: �[32m'draft-1'�[39m,
  timestamp: �[32m'2026-11-17T07:46:28.352Z'�[39m,
  runId: �[32m'run-1'�[39m,
  draftStatus: �[32m'review'�[39m
}

�[90mstderr�[2m | src/pages/PlanStudioPage.freshGenerate.test.tsx�[2m > �[22m�[2mfresh plan generation becomes the displayed draft (desktop=true)�[2m > �[22m�[2mafter the user leaves a pending fresh plan�[2m > �[22m�[2mdoes not rewrite the plans entry when the draft is created after Back
�[22m�[39mAn update to PlanStudioPage inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act
An update to PlanStudioPage inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act

 �[32m✓�[39m src/pages/PlanStudioPage.freshGenerate.test.tsx �[2m(�[22m�[2m14 tests�[22m�[2m)�[22m�[33m 17711�[2mms�[22m�[39m
   �[32m✓�[39m fresh plan generation becomes the displayed draft (desktop=false) �[2m(7)�[22m
     �[33m�[2m✓�[22m�[39m shows Generating then Review when Generate races the autosave debounce (stale read before the acknowledgement)�[33m 1682�[2mms�[22m�[39m
     �[33m�[2m✓�[22m�[39m shows Generating then Review when Generate races the autosave debounce (stale read after the acknowledgement)�[33m 1502�[2mms�[22m�[39m
     �[33m�[2m✓�[22m�[39m shows Generating then Review when Generate follows an in-place autosave�[33m 1456�[2mms�[22m�[39m
     �[32m✓�[39m after the user leaves a pending fresh plan �[2m(3)�[22m
       �[33m�[2m✓�[22m�[39m keeps the plans list when the acknowledgement arrives after Back�[33m 1454�[2mms�[22m�[39m
       �[33m�[2m✓�[22m�[39m keeps another opened draft untouched when the acknowledgement arrives�[33m 1473�[2mms�[22m�[39m
       �[33m�[2m✓�[22m�[39m does not rewrite the plans entry when the draft is created after Back�[33m 1407�[2mms�[22m�[39m
   �[32m✓�[39m fresh plan generation becomes the displayed draft (desktop=true) �[2m(7)�[22m
     �[33m�[2m✓�[22m�[39m shows Generating then Review when Generate races the autosave debounce (stale read before the acknowledgement)�[33m 1435�[2mms�[22m�[39m
     �[33m�[2m✓�[22m�[39m shows Generating then Review when Generate races the autosave debounce (stale read after the acknowledgement)�[33m 1425�[2mms�[22m�[39m
     �[33m�[2m✓�[22m�[39m shows Generating then Review when Generate follows an in-place autosave�[33m 1425�[2mms�[22m�[39m
     �[32m✓�[39m after the user leaves a pending fresh plan �[2m(3)�[22m
       �[33m�[2m✓�[22m�[39m keeps the plans list when the acknowledgement arrives after Back�[33m 1394�[2mms�[22m�[39m
       �[33m�[2m✓�[22m�[39m keeps another opened draft untouched when the acknowledgement arrives�[33m 1442�[2mms�[22m�[39m
       �[33m�[2m✓�[22m�[39m does not rewrite the plans entry when the draft is created after Back�[33m 1394�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskDetails/TaskVisualPreviews.test.tsx �[2m(�[22m�[2m8 tests�[22m�[2m)�[22m�[33m 406�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskDetails/LogFilesModal.test.tsx �[2m(�[22m�[2m5 tests�[22m�[2m)�[22m�[33m 492�[2mms�[22m�[39m
   �[32m✓�[39m LogFilesModal �[2m(3)�[22m
     �[33m�[2m✓�[22m�[39m searches literal metacharacters, counts what it highlights, and steps through matches�[33m 368�[2mms�[22m�[39m
�[90mstderr�[2m | src/components/TaskDetails/ReviewScoreHistory.test.tsx�[2m > �[22m�[2musePullRequestScores�[2m > �[22m�[2mnever returns a previous PR's history for a new PR, while loading or after a failed read
�[22m�[39mAn update to TestComponent inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act

 �[32m✓�[39m src/components/TaskDetails/ReviewScoreHistory.test.tsx �[2m(�[22m�[2m10 tests�[22m�[2m)�[22m�[33m 309�[2mms�[22m�[39m
�[90mstderr�[2m | src/components/TaskDetails/LatestRunCommands.projection.test.tsx�[2m > �[22m�[2mfollow-up commands read from the API task projection�[2m > �[22m�[2mthe task header keeps /fix for findings and sends it only after the projection is read again
�[22m�[39mAn update to FollowupCommands inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act

 �[32m✓�[39m src/components/TaskDetails/LatestRunCommands.projection.test.tsx �[2m(�[22m�[2m13 tests�[22m�[2m)�[22m�[32m 216�[2mms�[22m�[39m
 �[32m✓�[39m src/pages/PlanStudioPage.inPlaceDraft.test.tsx �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[32m 183�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskDetails/index.followupTarget.test.tsx �[2m(�[22m�[2m7 tests�[22m�[2m)�[22m�[33m 516�[2mms�[22m�[39m
 �[32m✓�[39m src/components/ApplicationShell.idle.test.tsx �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[32m 62�[2mms�[22m�[39m
 �[32m✓�[39m src/components/ui/Skeleton.test.tsx �[2m(�[22m�[2m12 tests�[22m�[2m)�[22m�[32m 215�[2mms�[22m�[39m
 �[32m✓�[39m src/components/globalSearchModel.test.ts �[2m(�[22m�[2m11 tests�[22m�[2m)�[22m�[32m 8�[2mms�[22m�[39m
 �[32m✓�[39m src/desktop-deep-link.test.ts �[2m(�[22m�[2m9 tests�[22m�[2m)�[22m�[32m 10�[2mms�[22m�[39m
 �[32m✓�[39m src/pages/SettingsPage/AgentRuntimePackagesSection.test.tsx �[2m(�[22m�[2m7 tests�[22m�[2m)�[22m�[33m 665�[2mms�[22m�[39m
   �[32m✓�[39m AgentRuntimePackagesSection �[2m(7)�[22m
     �[33m�[2m✓�[22m�[39m offers catalog suggestions and validates a selected package�[33m 336�[2mms�[22m�[39m
 �[32m✓�[39m src/components/Goals/GoalAttentionPanel.test.tsx �[2m(�[22m�[2m5 tests�[22m�[2m)�[22m�[32m 300�[2mms�[22m�[39m
 �[32m✓�[39m src/pages/SettingsPage/NotificationSettingsSection.test.tsx �[2m(�[22m�[2m7 tests�[22m�[2m)�[22m�[33m 798�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskDetails/FollowupModal.test.tsx �[2m(�[22m�[2m5 tests�[22m�[2m)�[22m�[33m 303�[2mms�[22m�[39m
 �[32m✓�[39m src/pages/SettingsPage/AgentNetworkSettingsSection.test.tsx �[2m(�[22m�[2m4 tests�[22m�[2m)�[22m�[32m 278�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskPlanner/planDisplayName.test.ts �[2m(�[22m�[2m17 tests�[22m�[2m)�[22m�[32m 10�[2mms�[22m�[39m
 �[32m✓�[39m src/api/currentUserResponse.test.ts �[2m(�[22m�[2m5 tests�[22m�[2m)�[22m�[32m 13�[2mms�[22m�[39m
�[90mstdout�[2m | src/components/TaskDetails/LiveFileChips.test.tsx�[2m > �[22m�[2mLiveFileChips live refreshes�[2m > �[22m�[2mturns the fixture baseline of three burst invalidations into one additional file-changes request
�[22m�[39m[LiveFileChips] Received task update, refreshing file changes: { taskId: �[32m'task-1'�[39m }
[LiveFileChips] Received task update, refreshing file changes: { taskId: �[32m'task-1'�[39m }
[LiveFileChips] Received task update, refreshing file changes: { taskId: �[32m'task-1'�[39m }

 �[32m✓�[39m src/components/TaskDetails/LiveFileChips.test.tsx �[2m(�[22m�[2m3 tests�[22m�[2m)�[22m�[33m 309�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskPlanner/PlanIssuesManager.notificationIntent.test.tsx �[2m(�[22m�[2m3 tests�[22m�[2m)�[22m�[33m 579�[2mms�[22m�[39m
   �[32m✓�[39m PlanIssuesManager execution intent �[2m(3)�[22m
     �[33m�[2m✓�[22m�[39m cancel closes without starting implementation�[33m 364�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskList/hooks.lazyRoute.test.tsx �[2m(�[22m�[2m8 tests�[22m�[2m)�[22m�[33m 353�[2mms�[22m�[39m
 �[32m✓�[39m src/hooks/useCurrentUserBootstrap.mainProxy.test.tsx �[2m(�[22m�[2m1 test�[22m�[2m)�[22m�[32m 72�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskPlanner/PlanEditor.notificationIntent.test.tsx �[2m(�[22m�[2m4 tests�[22m�[2m)�[22m�[33m 530�[2mms�[22m�[39m
   �[32m✓�[39m PlanEditor notification intents �[2m(4)�[22m
     �[33m�[2m✓�[22m�[39m never approves from navigation and cancel leaves the plan unchanged�[33m 482�[2mms�[22m�[39m
 �[32m✓�[39m src/components/RepositoryAutoAssignControl.test.tsx �[2m(�[22m�[2m6 tests�[22m�[2m)�[22m�[32m 242�[2mms�[22m�[39m
 �[32m✓�[39m src/desktop/packagedAcceptanceRendererLifecycle.test.ts �[2m(�[22m�[2m3 tests�[22m�[2m)�[22m�[32m 9�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskPlanner/TaskCard.test.tsx �[2m(�[22m�[2m6 tests�[22m�[2m)�[22m�[33m 447�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskPlanner/planIssueDefaultSelection.test.ts �[2m(�[22m�[2m5 tests�[22m�[2m)�[22m�[32m 7�[2mms�[22m�[39m
 �[32m✓�[39m src/pages/SettingsPage/AgentWatchdogSettingsSection.test.tsx �[2m(�[22m�[2m4 tests�[22m�[2m)�[22m�[32m 75�[2mms�[22m�[39m
�[90mstdout�[2m | src/components/TaskDetails/useTaskData.completion.test.ts�[2m > �[22m�[2mreplaces the live view of a subscribed client with persisted details when the task completes
�[22m�[39m[useTaskData] Received task update via WebSocket: { taskId: �[32m'task'�[39m, state: �[32m'COMPLETED'�[39m }

 �[32m✓�[39m src/components/TaskDetails/useTaskData.completion.test.ts �[2m(�[22m�[2m1 test�[22m�[2m)�[22m�[32m 20�[2mms�[22m�[39m
 �[32m✓�[39m src/api/dashboardApi.test.ts �[2m(�[22m�[2m3 tests�[22m�[2m)�[22m�[32m 11�[2mms�[22m�[39m
 �[32m✓�[39m src/pages/SettingsPage/VoiceSettingsSection.test.tsx �[2m(�[22m�[2m4 tests�[22m�[2m)�[22m�[32m 261�[2mms�[22m�[39m
 �[32m✓�[39m src/desktop/DesktopExperience.accounts.test.tsx �[2m(�[22m�[2m3 tests�[22m�[2m)�[22m�[33m 306�[2mms�[22m�[39m
 �[32m✓�[39m src/components/Agents/AgentEditor.eventTrigger.test.tsx �[2m(�[22m�[2m1 test�[22m�[2m)�[22m�[32m 68�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskPlanner/generationTelemetryUtils.test.ts �[2m(�[22m�[2m4 tests�[22m�[2m)�[22m�[32m 7�[2mms�[22m�[39m
 �[32m✓�[39m src/components/UserAvatar.test.tsx �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[32m 162�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskDetails/PromptModal.test.tsx �[2m(�[22m�[2m1 test�[22m�[2m)�[22m�[32m 178�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskPlanner/setupWizardHooks.editMode.test.tsx �[2m(�[22m�[2m1 test�[22m�[2m)�[22m�[32m 17�[2mms�[22m�[39m
�[90mstderr�[2m | src/components/RepositoryAutoResolveConflictsControl.test.tsx�[2m > �[22m�[2mRepositoryAutoResolveConflictsControl�[2m > �[22m�[2mreflects a stored override
�[22m�[39mAn update to RepositoryAutoResolveConflictsControl inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act

�[90mstderr�[2m | src/components/RepositoryAutoResolveConflictsControl.test.tsx�[2m > �[22m�[2mRepositoryAutoResolveConflictsControl�[2m > �[22m�[2msets always, never, and inherit (null)
�[22m�[39mAn update to RepositoryAutoResolveConflictsControl inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act

 �[32m✓�[39m src/components/RepositoryAutoResolveConflictsControl.test.tsx �[2m(�[22m�[2m3 tests�[22m�[2m)�[22m�[32m 174�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskPlanner/ContextLevelSlider.test.tsx �[2m(�[22m�[2m4 tests�[22m�[2m)�[22m�[32m 49�[2mms�[22m�[39m
 �[32m✓�[39m src/components/modalShells.test.tsx �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[32m 181�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskList/durations.test.ts �[2m(�[22m�[2m4 tests�[22m�[2m)�[22m�[32m 4�[2mms�[22m�[39m
 �[32m✓�[39m src/components/RouteChunkErrorBoundary.test.tsx �[2m(�[22m�[2m3 tests�[22m�[2m)�[22m�[32m 157�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskPlanner/PlanEditorDesktopLayout.assistant.test.tsx �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[32m 191�[2mms�[22m�[39m
 �[32m✓�[39m src/hooks/repositoryPrTitleStatus.test.ts �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[32m 4�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskPlanner/useSelectedModelMaxTokens.test.ts �[2m(�[22m�[2m5 tests�[22m�[2m)�[22m�[32m 75�[2mms�[22m�[39m
 �[32m✓�[39m src/desktop/scopedTaskEvents.test.ts �[2m(�[22m�[2m3 tests�[22m�[2m)�[22m�[32m 6�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskPlanner/setupWizardDraftConfig.test.ts �[2m(�[22m�[2m9 tests�[22m�[2m)�[22m�[32m 9�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskList/Pagination.test.tsx �[2m(�[22m�[2m6 tests�[22m�[2m)�[22m�[32m 166�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskPlanner/TaskCardList.breakpoint.test.tsx �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[32m 172�[2mms�[22m�[39m
 �[32m✓�[39m src/hooks/repositoryNonBlockingChecks.test.ts �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[32m 4�[2mms�[22m�[39m
 �[32m✓�[39m src/api/automationRunTrigger.test.ts �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[32m 10�[2mms�[22m�[39m
 �[32m✓�[39m src/components/Agents/AgentAutonomySection.test.tsx �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[32m 172�[2mms�[22m�[39m
 �[32m✓�[39m src/pages/InboxPageComponents.test.tsx �[2m(�[22m�[2m4 tests�[22m�[2m)�[22m�[32m 153�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskDetails/syntaxHighlighter.test.ts �[2m(�[22m�[2m3 tests�[22m�[2m)�[22m�[32m 9�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskDetails/taskKind.test.ts �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[32m 3�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskDetails/AssignmentControl.test.tsx �[2m(�[22m�[2m1 test�[22m�[2m)�[22m�[32m 163�[2mms�[22m�[39m
 �[32m✓�[39m src/api/proprApi.instanceCatalog.test.ts �[2m(�[22m�[2m1 test�[22m�[2m)�[22m�[32m 7�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskPlanner/executionConfigSummary.test.ts �[2m(�[22m�[2m3 tests�[22m�[2m)�[22m�[32m 4�[2mms�[22m�[39m
 �[32m✓�[39m src/components/Dashboard/KPICard.test.tsx �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[32m 36�[2mms�[22m�[39m
 �[32m✓�[39m src/components/Repositories/RepoBrowsePanel.test.tsx �[2m(�[22m�[2m1 test�[22m�[2m)�[22m�[32m 21�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskPlanner/RefinementChat.focus.test.tsx �[2m(�[22m�[2m1 test�[22m�[2m)�[22m�[32m 132�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskDetails/ExecutionEventUtils.test.ts �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[32m 4�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskPlanner/tokenFormat.test.ts �[2m(�[22m�[2m1 test�[22m�[2m)�[22m�[32m 3�[2mms�[22m�[39m

�[31m⎯⎯⎯⎯⎯⎯⎯�[39m�[1m�[41m Failed Tests 1 �[49m�[22m�[31m⎯⎯⎯⎯⎯⎯⎯�[39m

�[41m�[1m FAIL �[22m�[49m src/pages/SettingsPage/AgentExtensionsOAuth.test.tsx�[2m > �[22mOAuth MCP servers in Skills & MCP servers�[2m > �[22mReconnect keeps refreshing after a return to Settings before consent, until the new connection is shown
�[31m�[1mAssertionError�[22m�[39m: expected 1 to be 2 // Object.is equality

Ignored nodes: comments, script, style
�[36m<html>�[39m
  �[36m<head />�[39m
  �[36m<body>�[39m
    �[36m<div>�[39m
      �[36m<section�[39m
        �[33maria-labelledby�[39m=�[32m"_r_2_"�[39m
      �[36m>�[39m
        �[36m<div�[39m
          �[33mclass�[39m=�[32m"mb-4 flex items-center justify-between gap-3 border-b border-slate-200 pb-2"�[39m
        �[36m>�[39m
          �[36m<h4�[39m
            �[33mclass�[39m=�[32m"flex items-center gap-2 text-[11px] font-bold uppercase tracking-widest text-slate-500"�[39m
            �[33mid�[39m=�[32m"_r_2_"�[39m
          �[36m>�[39m
            �[0mSkills & MCP servers�[0m
          �[36m</h4>�[39m
        �[36m</div>�[39m
        �[36m<p�[39m
          �[33mclass�[39m=�[32m"mb-5 max-w-2xl text-[12px] leading-5 text-slate-500"�[39m
        �[36m>�[39m
          �[0mGive agents extra tools for a task. An MCP server is a service the agent can call while it works, such as a documentation search or an issue tracker. A skill is a folder of instructions, with a�[0m
          �[0m �[0m
          �[36m<code�[39m
            �[33mclass�[39m=�[32m"text-[11px]"�[39m
          �[36m>�[39m
            �[0mSKILL.md�[0m
          �[36m</code>�[39m
          �[0m and optional scripts, that the agent reads when it is relevant. Only Claude and Codex runs can use extensions.�[0m
          �[0m �[0m
          �[36m<a�[39m
            �[33mclass�[39m=�[32m"font-medium text-primary-600 underline hover:text-primary-700"�[39m
            �[33mhref�[39m=�[32m"https://docs.propr.dev/docs/features/agent-extensions"�[39m
            �[33mrel�[39m=�[32m"noopener noreferrer"�[39m
            �[33mtarget�[39m=�[32m"_blank"�[39m
          �[36m>�[39m
            �[0mSkills & MCP servers docs�[0m
          �[36m</a>�[39m
        �[36m</p>�[39m
        �[36m<div�[39m
          �[33mclass�[39m=�[32m"max-w-4xl space-y-5"�[39m
        �[36m>�[39m
          �[36m<p�[39m
            �[33mclass�[39m=�[32m"text-sm text-teal-800"�[39m
            �[33mrole�[39m=�[32m"status"�[39m
          �[36m>�[39m
            �[0mFinish signing in to notion in the new tab. This list refreshes when you come back.�[0m
          �[36m</p>�[39m
          �[36m<div�[39m
            �[33mclass�[39m=�[32m"space-y-6 rounded-lg border border-slate-200 bg-slate-50/50 p-3 sm:p-5"�[39m
          �[36m>�[39m
            �[36m<div�[39m
              �[33mclass�[39m=�[32m"space-y-2"�[39m
            �[36m>�[39m
              �[36m<ul�[39m
                �[33maria-label�[39m=�[32m"How extensions apply"�[39m
                �[33mclass�[39m=�[32m"list-disc space-y-1 pl-5 text-sm text-slate-700"�[39m
              �[36m>�[39m
                �[36m<li>�[39m
                  �[0mItems apply automatically to issue tasks, pull request follow-ups and automations in matching repositories.�[0m
                �[36m</li>�[39m
                �[36m<li>�[39m
                  �[0mUntick an item to switch it off everywhere without losing its settings or stored secret; tick it to switch it back on.�[0m
                �[36m</li>�[39m
                �[36m<li>�[39m
                  �[0mWrite servers need the write opt-in on New Task, or an automation action phase that allows writes.�[0m
                �[36m</li>�[39m
                �[36m<li>�[39m
                  �[0mThe labels �[0m
                  �[36m<code�[39m
                    �[33mclass�[39m=�[32m"text-[11px]"�[39m
                  �[36m>�[39m
                    �[0mdisable-mcps�[0m
                  �[36m</code>�[39m
                  �[0m, �[0m
                  �[36m<code�[39m
                    �[33mclass�[39m=�[32m"text-[11px]"�[39m
                  �[36m>�[39m
                    �[0mdisable-skills�[0m
                  �[36m</code>�[39m
                  �[0m and�[0m
                  �[0m �[0m
                  �[36m<code�[39m
                    �[33mclass�[39m=�[32m"text-[11px]"�[39m
                  �[36m>�[39m
                    �[0mdisable-extensions�[0m
                  �[36m</code>�[39m
                  �[0m turn them off for one issue or pull request.�[0m
                �[36m</li>�[39m
                �[36m<li>�[39m
                  �[0mAn item with Apply automatically turned off is used only by automations that add it.�[0m
                �[36m</li>�[39m
              �[36m</ul>�[39m
              �[36m<p�[39m
                �[33mclass�[39m=�[32m"text-xs text-slate-500"�[39m
              �[36m>�[39m
                �[0mRevision 5 · updated 1/1/1970, 12:00:00 AM.�[0m
                �[0m �[0m
                �[0mChanges apply to new runs at once; running tasks keep the items they started with.�[0m
              �[36m</p>�[39m
            �[36m</div>�[39m
            �[36m<section�[39m
              �[33maria-labelledby�[39m=�[32m"extension-servers-heading"�[39m
              �[33mclass�[39m=�[32m"space-y-3"�[39m
            �[36m>�[39m
              �[36m<div�[39m
                �[33mclass�[39m=�[32m"flex flex-wrap items-center justify-between gap-2"�[39m
              �[36m>�[39m
                �[36m<h4�[39m
                  �[33mclass�[39m=�[32m"text-sm font-semibold"�[39m
                  �[33mid�[39m=�[32m"extension-servers-heading"�[39m
                �[36m>�[39m
                  �[0mMCP servers�[0m
                �[36m</h4>�[39m
                �[36m<button�[39m
                  �[33mclass�[39m=�[32m"min-h-11 rounded-md border px-3 py-2 text-sm font-medium disabled:opacity-50 sm:min-h-0 border-slate-300 bg-white hover:bg-slate-50"�[39m
                  �[33mtype�[39m=�[32m"button"�[39m
                �[36m>�[39m
                  �[0mAdd server�[0m
                �[36m</button>�[39m
              �[36m</div>�[39m
              �[36m<ul�[39m
                �[33mclass�[39m=�[32m"space-y-2"�[39m
              �[36m>�[39m
                �[36m<li�[39m
                  �[33mclass�[39m=�[32m"rounded-md border p-3 text-sm border-slate-200 bg-white"�[39m
                  �[33mdata-enabled�[39m=�[32m"true"�[39m
                  �[33mdata-testid�[39m=�[32m"extension-server"�[39m
                �[36m>�[39m
                  �[36m<div�[39m
                    �[33mclass�[39m=�[32m"flex items-start gap-3"�[39m
                  �[36m>�[39m
                    �[36m<input�[39m
                      �[33maria-label�[39m=�[32m"Enabled: linear"�[39m
                      �[33mchecked�[39m=�[32m""�[39m
                      �[33mclass�[39m=�[32m"mt-1 h-4 w-4 shrink-0"�[39m
                      �[33mtype�[39m=�[32m"checkbox"�[39m
                    �[36m/>�[39m
                    �[36m<div�[39m
                      �[33mclass�[39m=�[32m"min-w-0 flex-1 "�[39m
                    �[36m>�[39m
                      �[36m<p�[39m
                        �[33mclass�[39m=�[32m"flex flex-wrap items-center gap-2"�[39m
                      �[36m>�[39m
                        �[36m<span�[39m
                          �[33mclass�[39m=�[32m"break-all font-semibold text-slate-900"�[39m
                        �[36m>�[39m
                          �[0mlinear�[0m...

�[32m- Expected�[39m
�[31m+ Received�[39m

�[32m- 2�[39m
�[31m+ 1�[39m

�[36m �[2m❯�[22m src/pages/SettingsPage/AgentExtensionsOAuth.test.tsx:�[2m89:82�[22m�[39m
    �[90m 87|�[39m     const reads = vi.mocked(getExtensionLibrary).mock.calls.length;
    �[90m 88|�[39m     await act(async () => { window.dispatchEvent(new Event('focus')); …
    �[90m 89|�[39m     await waitFor(() => expect(vi.mocked(getExtensionLibrary).mock.cal…
    �[90m   |�[39m                                                                                  �[31m^�[39m
    �[90m 90|�[39m     expect(within(rowOf(view, 'notion')).getByTestId('extension-oauth-…
    �[90m 91|�[39m     // Consent finished with other scopes and another account: the nex…
�[90m �[2m❯�[22m runWithExpensiveErrorDiagnosticsDisabled ../node_modules/@testing-library/dom/dist/config.js:�[2m47:12�[22m�[39m
�[90m �[2m❯�[22m checkCallback ../node_modules/@testing-library/dom/dist/wait-for.js:�[2m124:77�[22m�[39m
�[90m �[2m❯�[22m Timeout.checkRealTimersCallback ../node_modules/@testing-library/dom/dist/wait-for.js:�[2m118:16�[22m�[39m

�[31m�[2m⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/1]⎯�[22m�[39m


�[2m Test Files �[22m �[1m�[31m1 failed�[39m�[22m�[2m | �[22m�[1m�[32m88 passed�[39m�[22m�[90m (89)�[39m
�[2m      Tests �[22m �[1m�[31m1 failed�[39m�[22m�[2m | �[22m�[1m�[32m761 passed�[39m�[22m�[90m (762)�[39m
�[2m   Start at �[22m 07:45:50
�[2m   Duration �[22m 70.89s�[2m (tests 42%, environment 32%, import 14%, setup 6%, transform 5%)�[22m

�[2mEnvironment �[22m �[33mjsdom was created 89 times�[39m�[2m · 42.96s total, 32% of tracked time�[22m
�[2m            �[22m �[2mcreate it once per worker with �[22m�[33mpool: 'vmThreads'�[39m�[2m (keeps per-file isolation) or �[22m�[33misolate: false�[39m�[2m (shares it across files)�[22m
�[2m            �[22m �[2mlearn more: https://vitest.dev/guide/improving-performance#test-environments�[22m


::error file=/home/runner/work/propr/propr/propr-ui/src/pages/SettingsPage/AgentExtensionsOAuth.test.tsx,title=src/pages/SettingsPage/AgentExtensionsOAuth.test.tsx > OAuth MCP servers in Skills & MCP servers > Reconnect keeps refreshing after a return to Settings before consent%2C until the new connection is shown,line=89,column=82::AssertionError: expected 1 to be 2 // Object.is equality%0A%0AIgnored nodes: comments, script, style%0A<html>%0A  <head />%0A  <body>%0A    <div>%0A      <section%0A        aria-labelledby="_r_2_"%0A      >%0A        <div%0A          class="mb-4 flex items-center justify-between gap-3 border-b border-slate-200 pb-2"%0A        >%0A          <h4%0A            class="flex items-center gap-2 text-[11px] font-bold uppercase tracking-widest text-slate-500"%0A            id="_r_2_"%0A          >%0A            Skills & MCP servers%0A          </h4>%0A        </div>%0A        <p%0A          class="mb-5 max-w-2xl text-[12px] leading-5 text-slate-500"%0A        >%0A          Give agents extra tools for a task. An MCP server is a service the agent can call while it works, such as a documentation search or an issue tracker. A skill is a folder of instructions, with a%0A           %0A          <code%0A            class="text-[11px]"%0A          >%0A            SKILL.md%0A          </code>%0A           and optional scripts, that the agent reads when it is relevant. Only Claude and Codex runs can use extensions.%0A           %0A          <a%0A            class="font-medium text-primary-600 underline hover:text-primary-700"%0A            href="https://docs.propr.dev/docs/features/agent-extensions"%0A            rel="noopener noreferrer"%0A            target="_blank"%0A          >%0A            Skills & MCP servers docs%0A          </a>%0A        </p>%0A        <div%0A          class="max-w-4xl space-y-5"%0A        >%0A          <p%0A            class="text-sm text-teal-800"%0A            role="status"%0A          >%0A            Finish signing in to notion in the new tab. This list refreshes when you come back.%0A          </p>%0A          <div%0A            class="space-y-6 rounded-lg border border-slate-200 bg-slate-50/50 p-3 sm:p-5"%0A          >%0A            <div%0A              class="space-y-2"%0A            >%0A              <ul%0A                aria-label="How extensions apply"%0A                class="list-disc space-y-1 pl-5 text-sm text-slate-700"%0A              >%0A                <li>%0A                  Items apply automatically to issue tasks, pull request follow-ups and automations in matching repositories.%0A                </li>%0A                <li>%0A                  Untick an item to switch it off everywhere without losing its settings or stored secret; tick it to switch it back on.%0A                </li>%0A                <li>%0A                  Write servers need the write opt-in on New Task, or an automation action phase that allows writes.%0A                </li>%0A                <li>%0A                  The labels %0A                  <code%0A                    class="text-[11px]"%0A                  >%0A                    disable-mcps%0A                  </code>%0A                  , %0A                  <code%0A                    class="text-[11px]"%0A                  >%0A                    disable-skills%0A                  </code>%0A                   and%0A                   %0A                  <code%0A                    class="text-[11px]"%0A                  >%0A                    disable-extensions%0A                  </code>%0A                   turn them off for one issue or pull request.%0A                </li>%0A                <li>%0A                  An item with Apply automatically turned off is used only by automations that add it.%0A                </li>%0A              </ul>%0A              <p%0A                class="text-xs text-slate-500"%0A              >%0A                Revision 5 · updated 1/1/1970, 12:00:00 AM.%0A                 %0A                Changes apply to new runs at once; running tasks keep the items they started with.%0A              </p>%0A            </div>%0A            <section%0A              aria-labelledby="extension-servers-heading"%0A              class="space-y-3"%0A            >%0A              <div%0A                class="flex flex-wrap items-center justify-between gap-2"%0A              >%0A                <h4%0A                  class="text-sm font-semibold"%0A                  id="extension-servers-heading"%0A                >%0A                  MCP servers%0A                </h4>%0A                <button%0A                  class="min-h-11 rounded-md border px-3 py-2 text-sm font-medium disabled:opacity-50 sm:min-h-0 border-slate-300 bg-white hover:bg-slate-50"%0A                  type="button"%0A                >%0A                  Add server%0A                </button>%0A              </div>%0A              <ul%0A                class="space-y-2"%0A              >%0A                <li%0A                  class="rounded-md border p-3 text-sm border-slate-200 bg-white"%0A                  data-enabled="true"%0A                  data-testid="extension-server"%0A                >%0A                  <div%0A                    class="flex items-start gap-3"%0A                  >%0A                    <input%0A                      aria-label="Enabled: linear"%0A                      checked=""%0A                      class="mt-1 h-4 w-4 shrink-0"%0A                      type="checkbox"%0A                    />%0A                    <div%0A                      class="min-w-0 flex-1 "%0A                    >%0A                      <p%0A                        class="flex flex-wrap items-center gap-2"%0A                      >%0A                        <span%0A                          class="break-all font-semibold text-slate-900"%0A                        >%0A                          linear...%0A%0A- Expected%0A+ Received%0A%0A- 2%0A+ 1%0A%0A ❯ src/pages/SettingsPage/AgentExtensionsOAuth.test.tsx:89:82%0A ❯ runWithExpensiveErrorDiagnosticsDisabled ../node_modules/@testing-library/dom/dist/config.js:47:12%0A ❯ checkCallback ../node_modules/@testing-library/dom/dist/wait-for.js:124:77%0A ❯ Timeout.checkRealTimersCallback ../node_modules/@testing-library/dom/dist/wait-for.js:118:16%0A%0A
npm error Lifecycle script `test` failed with error:
npm error code 1
npm error path /home/runner/work/propr/propr/propr-ui
npm error workspace [email protected]
npm error location /home/runner/work/propr/propr/propr-ui
npm error command failed
npm error command sh -c vitest run --shard=1/4
[272/272] FAILED propr-ui#1/4 (workspace test script) in 71.3s

### Shard 2/4: 271/272 passed in 909.2s

Assigned 272 of 1089 discovered units.

| Duration | Status | Unit |
| ---: | --- | --- |
| 71.3s | failed | `propr-ui#1/4` (workspace) |
| 66.1s | passed | `test/agentRunScheduler.test.ts` |
| 37.7s | passed | `apps/desktop/scripts/rpm-signing.test.mjs` |
| 36.8s | passed | `packages/core/test/pullRequestStatusSync.test.ts` |
| 33.7s | passed | `test/agentRunEventTriggers.test.ts` |
| 32.4s | passed | `apps/desktop/scripts/signing-key-verification.test.mjs` |
| 26.8s | passed | `apps/desktop/scripts/desktop-native-menu.test.mjs` |
| 25.9s | passed | `packages/api/test/planItemDependencies.test.ts` |
| 22.4s | passed | `packages/api/test/mcpBrowser.test.ts` |
| 21.1s | passed | `test/dockerExecutorWatchdog.test.ts` |
| 18.4s | passed | `test/agentRunTrigger.test.ts` |
| 16.6s | passed | `packages/api/test/goalBlockerNotifications.test.ts` |
| 15.9s | passed | `packages/core/test/managedDiagnosticsBatching.test.ts` |
| 15.7s | passed | `packages/api/test/planProvenanceUpdates.test.ts` |
| 15.7s | passed | `packages/api/test/openapiResponseConformance.test.ts` |


1/272 test runs failed in shard 2/4 after 909.2s:
- propr-ui#1/4 (workspace test script): exit 1

Details truncated; see the uploaded artifacts for complete failure rows and logs.

View Workflow
View uploaded artifacts

@propr-dev propr-dev Bot changed the title ⚠️ 7/7 [Epic] 0.9.2 release fixes: MCP server and CLI ◕ 7/7 [Epic] 0.9.2 release fixes: MCP server and CLI Nov 17, 2026
@propr-dev

propr-dev Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ Applied the requested follow-up changes in commit d861a30

Processed 2 comments:

  • Comment 1 by @propr-dev[bot] (ID: 6942138100✓)
  • Comment 2 by @github-actions[bot] (ID: 6942138682✓)

Summary of Changes

I fixed the most likely cause of the shard 2 failure, but I couldn't reproduce the failure itself. The test passes locally with and without the change, so I can't prove this was it.

What failed: shard 2 had a single failing test, AgentExtensionsOAuth.test.tsx › "Reconnect keeps refreshing after a return to Settings before consent…". After the "Finish signing in" notice appeared, the test sent a focus event and expected a second library read, but no read happened (expected 1 to be 2). The latest commit (S1/S2) didn't touch anything in propr-ui. The same test passed on the other runs, so this was an intermittent failure, not a regression from that commit.

Likely cause: in useExtensionLibrary.ts, the focus, visibilitychange and BroadcastChannel listeners were added in a useEffect. React can run that effect some time after the screen updates. The notice and the sign-in state change render together, so a slow CI runner could show the notice before the listeners were in place. The test's focus event then reached no listener and nothing refreshed. The same gap could in principle drop a real user's return to the tab.

Fix: propr-ui/src/pages/SettingsPage/extensions/useExtensionLibrary.ts now adds those listeners in a useLayoutEffect. That runs in the same update that shows the notice, so once the notice is visible a return to the tab always refreshes. I added a short comment saying why.

Checks:

  • The two AgentExtensions* test files pass (24 tests).
  • I ran AgentExtensionsOAuth.test.tsx five times in a row and it passed 9 of 9 each time.
  • The whole src/pages/SettingsPage folder passes: 34 files, 297 tests.
  • ESLint with zero warnings and tsc --noEmit are clean.

The real confirmation is the next CI run.

Nothing changes on screen, so I made no previews.

Review digest

Risk-tiered paths

  • High risk: none
  • Normal risk (1 file)
    • propr-ui/src/pages/SettingsPage/extensions/useExtensionLibrary.ts (+5/−2)
  • Low risk: none

Validation evidence

  • No repository validation commands ran.

Diff size: 1 file changed, +5/−2 lines


🤖 Implementation Details

  • Model: Claude Opus 5.5 (medium)
  • Requested By: @propr-dev[bot], @github-actions[bot]
  • Time: 5m 31s
  • Tokens: 640,425 (636,914 in / 3,511 out)
  • Cost: $0.54
  • Subscription usage: Weekly +1%

Undo Changes • View Task Execution


💡 ProPR Slash Commands
Command Description Example
/merge Merge target branch into this PR and resolve conflicts /merge
/review Request an AI code review /review or /review claude-sonnet
/fix Address review blockers, or blockers and suggestions with /fix all /fix, /fix all, or /fix F3 S5
/switch Change the AI model for this PR /switch claude-opus
/use Override the model for a single follow-up run /use claude-sonnet
/ultrafix Loop review→fix cycles until score goal is met /ultrafix or /ultrafix goal=8 max=10

🤖 Generated by ProPR
Processing comment IDs: 6942138100✓, 6942138682✓

… couldn't reproduce the failure itself. The test passes locally with and without the change, so I can't prove this was it.

I fixed the most likely cause of the shard 2 failure, but I couldn't reproduce the failure itself. The test passes locally with and without the change, so I can't prove this was it.

**What failed:** shard 2 had a single failing test, `AgentExtensionsOAuth.test.tsx` › "Reconnect keeps refreshing after a return to Settings before consent…". After the "Finish signing in" notice appeared, the test sent a focus event and expected a second library read, but no read happened (`expected 1 to be 2`). The latest commit (S1/S2) didn't touch anything in `propr-ui`. The same test passed on the other runs, so this was an intermittent failure, not a regression from that commit.

**Likely cause:** in `useExtensionLibrary.ts`, the focus, `visibilitychange` and `BroadcastChannel` listeners were added in a `useEffect`. React can run that effect some time after the screen updates. The notice and the sign-in state change render together, so a slow CI runner could show the notice before the listeners were in place. The test's focus event then reached no listener and nothing refreshed. The same gap could in principle drop a real user's return to the tab.

**Fix:** `propr-ui/src/pages/SettingsPage/extensions/useExtensionLibrary.ts` now adds those listeners in a `useLayoutEffect`. That runs in the same update that shows the notice, so once the notice is visible a return to the tab always refreshes. I added a short comment saying why.

**Checks:**
- The two `AgentExtensions*` test files pass (24 tests).
- I ran `AgentExtensionsOAuth.test.tsx` five times in a row and it passed 9 of 9 each time.
- The whole `src/pages/SettingsPage` folder passes: 34 files, 297 tests.
- ESLint with zero warnings and `tsc --noEmit` are clean.

The real confirmation is the next CI run.

Nothing changes on screen, so I made no previews.

PR: #3625
Comment by: @propr-dev[bot] (ID: 6942138100)
Comment by: @github-actions[bot] (ID: 6942138682)
Model: Claude Opus 5.5
@propr-dev propr-dev Bot changed the title ◕ 7/7 [Epic] 0.9.2 release fixes: MCP server and CLI ✅ 7/7 [Epic] 0.9.2 release fixes: MCP server and CLI Nov 17, 2026
@integry

integry commented Nov 17, 2026

Copy link
Copy Markdown
Owner

/review

@propr-dev propr-dev Bot changed the title ✅ 7/7 [Epic] 0.9.2 release fixes: MCP server and CLI ◕ 7/7 [Epic] 0.9.2 release fixes: MCP server and CLI Nov 17, 2026
@propr-dev

propr-dev Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ AI Code Review Complete requested by @integry

Posted 1 review:

View Task Details

@propr-dev

propr-dev Bot commented Nov 17, 2026

Copy link
Copy Markdown
Contributor Author

🔍 AI Code Review — codex:gpt-6-astra

Overall Evaluation

Merge-ready within the supplied scope. The PR addresses MCP result consistency, repository coverage, settings discovery, and CLI usability with focused regression coverage.

✅ Careful redaction — Numeric token metrics survive, while string-bearing token fields and sensitive credential keys remain filtered; tests cover nested and JSON-encoded values.

✅ Reachable repository coverage — Activity scans expand to 100 repositories, while PR inventory exposes repository-window continuation and explicitly reports incomplete coverage.

✅ CLI failure handling — Followed event waits are throttled and abortable; malformed responses and unknown tasks produce explicit failures.

Current-head checks report 38 passed, none failed or pending. This was a static review; no commands were run. The issue specifications contain truncation notices, so acceptance details beyond the visible excerpts could not be assessed.

Merge blockers

No merge blockers.

Suggestions

These are optional follow-ups and are not sent to /fix.

S3: 🟢 Measure execution-identity query cost

packages/api/mcp/taskListing.ts, through fillExecutionAgents, now loads execution evidence for tasks missing submission-time agents. The reused loadTaskModelIdentities helper fetches their complete histories and execution rows. Consider measuring this on long-lived tasks before optimizing the queries. This is an optional performance follow-up: the supplied code establishes correct identity fallback, and no material performance regression was demonstrated.

Score

The visible implementation has substantial regression coverage, passing current-head checks, and no verified merge blockers. The remaining observation is an optional performance investigation.

Score: 9/10


🤖 Review Details

  • Model: GPT-6 Astra
  • Time: 3m 38s
  • Tokens: 155,297 (154,546 in / 751 out)
  • Cost: $1.47

View Task


💡 Next step: Comment /fix to address every F# merge blocker, /fix all for every pending blocker and suggestion, or name records explicitly, as in /fix F3 S5.
F# and S# IDs increment across review comments and remain permanent, so selectors such as /fix F3 F5 stay unambiguous across cycles. S# suggestions stay optional: they are implemented only when you name them or request /fix all, and they never relax a merge blocker.

Copy and edit to choose records from this review:

/fix S3

🤖 Review by ProPR

@propr-dev propr-dev Bot changed the title ◕ 7/7 [Epic] 0.9.2 release fixes: MCP server and CLI ✅ 7/7 [Epic] 0.9.2 release fixes: MCP server and CLI Nov 17, 2026
@integry
integry merged commit 87b34f4 into main Nov 17, 2026
50 checks passed
@integry
integry deleted the 3595-epic-0-9-h9l branch November 17, 2026 09:16
@propr-dev propr-dev Bot changed the title ✅ 7/7 [Epic] 0.9.2 release fixes: MCP server and CLI [Epic] 0.9.2 release fixes: MCP server and CLI Nov 17, 2026
@propr-dev

propr-dev Bot commented Nov 17, 2026

Copy link
Copy Markdown
Contributor Author

✅ Epic merged: 0.9.2 release fixes: MCP server and CLI

Epic PR #3625 has been merged into main.

7 out of 7 PRs merged into main through this epic PR.

All planned epic work is now merged.

Posted automatically by ProPR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment