Skip to content

[3618 by Claude Opus 5.5] API: PR readiness answers for repositories the instance does not monitor; repository filters are case-sensitive; goals expose host paths - #3632

Merged
integry merged 7 commits into
3616-epic-0-9-d8bfrom
3618/claude-opus-5-5-api-pr-readiness-answers--20261117-0149-a7q
Nov 17, 2026
Merged

integry merged 7 commits into
3616-epic-0-9-d8bfrom
3618/claude-opus-5-5-api-pr-readiness-answers--20261117-0149-a7q

Conversation

@propr-dev

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

Copy link
Copy Markdown
Contributor

AI Implementation Summary

Closes #3618

Branch: 3618/claude-opus-5-5-api-pr-readiness-answers--20261117-0149-a7q
Commits: ✅ Changes committed (91c19d2)


AI Processing Completed

Execution Details:

Summary:
I've implemented all five points of #3618. The 37 affected API suites pass, along with the new tests, the related core/MCP/root suites, the UI goal tests and the typecheck for API, core, CLI and UI. I did not run the Playwright e2e specs.

One shared helper (packages/api/repositoryScope.ts)
Every repository filter now goes through it. It takes the requested name, matches it to a configured repository ignoring capitalization, and returns the configured spelling. That spelling is used in the queries and echoed in responses; stored names are not rewritten. A repository that isn't configured returns 404 REPOSITORY_NOT_ACCESSIBLE without calling GitHub. A configured one is then checked against the caller's own GitHub read access. all and an absent filter still mean every repository, and repeated or nested parameters are rejected with 400.

Things you might not expect:

  • GitHub check on every scoped read. The dashboard, stats, tasks and other listed endpoints now check the caller's GitHub access, not only readiness. A successful check is remembered per user and repository for 60 seconds, so dashboard polling doesn't make a GitHub call each time.
  • Demo mode skips the GitHub check (there is no GitHub identity) but still requires a configured repository.
  • Disabled repositories still work as filters on the history views. Readiness accepts only enabled ones, as repository-events already did.

Per point

  1. Readiness is only served for an enabled configured repository the caller can read on GitHub. Anything else gets 404 before the App is used, and the response echoes the configured name, which fixes the wrong name you saw ("react/react").
  2. Case-insensitive filters apply to /api/stats/dashboard, /api/stats/cost (and .csv), /api/stats/review-scores (and .csv), /api/pull-requests/:n/scores, /api/dashboard/*, /api/tasks, /api/repos/todos (reads, creates and reorders), /api/repos/media, /api/planner/drafts and /api/goals. Scores, drafts and to-dos also compare stored names with COLLATE NOCASE, so older rows saved in a different capitalization still show up. That includes the to-do service in core.
  3. Unknown repositories return 404 REPOSITORY_NOT_ACCESSIBLE on all those endpoints instead of a 200 with zeros or empty lists.
  4. worktreePath is removed from goal responses. No UI screen used it, so I didn't keep an admin-only version.
  5. Limits: /api/goals now returns 50 by default (maximum 200), and /api/tasks accepts at most 200.
    • The web console's goal list now walks the pages explicitly and sorts by latest update, so it still shows every goal.
    • The CLI's goal list already sent explicit paging. propr task list --limit now rejects values above 200 with a clear message instead of a server error.

Also changed

  • OpenAPI: the docs list the new 404s and the 200 maximum; I regenerated the spec and client types, and the drift check is clean.
  • CHANGELOG: entries under Fixed and Changed.

Tests

  • New tests cover the helper itself and each route group: capitalization, unknown repositories, all, the 200 maximum, readiness refusing unconfigured or disabled repositories, goal paging limits and worktreePath being gone.
  • The UI has a test for the goal page walk.
  • Suites that build these routes now pass in a resolver that accepts any well-formed name, because the real one reads instance configuration they don't have. The demo-mode suite still runs with the real resolver against seeded configuration.

No visual previews: the only UI change is how the goals list is fetched, and the screen looks the same.

Review digest

Risk-tiered paths

  • High risk: none
  • Normal risk (19 files)
    • packages/api/openapi/routeDocsStats.ts (+3/−1)
    • packages/api/openapi/routeDocsTasks.ts (+4/−3)
    • packages/api/openapi/schemas.ts (+2/−2)
    • packages/api/repositoryScope.ts (added, +202/−0)
    • packages/api/routes/costExport.ts (+10/−9)
    • packages/api/routes/dashboardRoutes.ts (+12/−16)
    • packages/api/routes/goalRoutes.ts (+12/−3)
    • packages/api/routes/plannerRoutes.ts (+12/−7)
    • packages/api/routes/pullRequestReadinessRoutes.ts (+18/−46)
    • packages/api/routes/repoTodoRoutes.ts (+34/−9)
    • packages/api/routes/repositoryMediaRoutes.ts (+5/−1)
    • packages/api/routes/reviewScoreStats.ts (+12/−17)
    • packages/api/routes/statsRoutes.ts (+7/−8)
    • packages/api/routes/taskRoutes.ts (+13/−10)
    • packages/api/services/goalProjection.ts (+1/−1)
    • packages/cli/src/commands/taskCommands.ts (+13/−4)
    • packages/client/src/generated/apiTypes.ts (+3/−3)
    • packages/core/src/services/repoTodosService.ts (+6/−6)
    • propr-ui/src/api/goals.ts (+26/−3)
  • Low risk (39 files)
    • CHANGELOG.md (+17/−0)
    • docs/static/openapi/propr-api.yaml (+26/−8)
    • packages/api/test/costExport.test.ts (+4/−3)
    • packages/api/test/creatorProjection.test.ts (+7/−6)
    • packages/api/test/dashboardLiveActivity.test.ts (+2/−1)
    • packages/api/test/dashboardNarrativeStatus.test.ts (+4/−3)
    • packages/api/test/dashboardOutcomeRoutes.test.ts (+3/−2)
    • packages/api/test/dashboardReadService.test.ts (+5/−4)
    • packages/api/test/dashboardRoutes.test.ts (+5/−4)
    • packages/api/test/dashboardStatsRoutes.test.ts (+6/−5)
    • packages/api/test/dashboardTestHarness.ts (+4/−0)
    • packages/api/test/demoMode.test.ts (+2/−0)
    • packages/api/test/goalCliRoutes.test.ts (+18/−0)
    • packages/api/test/openapiResponseConformance.test.ts (+2/−1)
    • packages/api/test/planItemDependencies.test.ts (+2/−1)
    • packages/api/test/planProvenanceUpdates.test.ts (+2/−1)
    • packages/api/test/planRevisions.test.ts (+2/−1)
    • packages/api/test/previewMediaProjection.test.ts (+2/−1)
    • packages/api/test/pullRequestReadinessRoutes.test.ts (+42/−0)
    • packages/api/test/repositoryScope.test.ts (added, +126/−0)
    • packages/api/test/repositoryScopeRoutes.test.ts (added, +143/−0)
    • packages/api/test/repositoryScopeTestHelpers.ts (added, +22/−0)
    • packages/api/test/reviewScoreStats.test.ts (+4/−3)
    • packages/api/test/statsAnalyticsTimeframe.test.ts (+13/−12)
    • packages/api/test/taskAssigneeFilter.test.ts (+2/−1)
    • packages/api/test/taskDeleteRoutes.test.ts (+2/−1)
    • packages/api/test/taskFollowupFixture.ts (+2/−1)
    • packages/api/test/taskReviewRoutes.test.ts (+2/−1)
    • propr-ui/e2e/creator-attribution.pw.ts (+1/−1)
    • propr-ui/e2e/goal-attention.pw.ts (+1/−1)
    • propr-ui/e2e/goal-details-visual-previews.pw.ts (+1/−1)
    • …and 8 more

Validation evidence

  • No repository validation commands ran.

Diff size: 58 files changed, +904/−220 lines

Detailed Logs:

  • Conversation: 264 messages
  • Session: 3c679d01-0b7f-482c-9d15-7e1490711543

Log files stored at:

  • conversation: /usr/src/app/logs/executions/issue-3618-2026-11-17T02-33-47-295Z-conversation.json
  • output: /usr/src/app/logs/executions/issue-3618-2026-11-17T02-33-47-295Z-output.txt
Latest Conversation Messages
ASSISTANT: [content unavailable]

ASSISTANT: I've implemented all five points of #3618. The 37 affected API suites pass, along with the new tests, the related core/MCP/root suites, the UI goal tests and the typecheck for API, core, CLI and UI. I...


This PR was created automatically by ProPR after processing issue #3618.


💡 Need changes?

Comment on this PR to request refinements — the AI agent monitors comments and will update the implementation based on your feedback. Keep iterating until you're satisfied!

… pass, along with the new tests, the related core/MCP/root suites, the UI goal tests and the typecheck for API, core, CLI and UI. I did not run the Playwright e2e specs.

One shared helper (`packages/api/repositoryScope.ts`)
Every repository filter now goes through it. It takes the requested name, matches it to a configured repository ignoring capitalization, and returns the configured spelling. That spelling is used in the queries and echoed in responses; stored names are not rewritten. A repository that isn't configured returns 404 `REPOSITORY_NOT_ACCESSIBLE` without calling GitHub. A configured one is then checked against the caller's own GitHub read access. `all` and an absent filter still mean every repository, and repeated or nested parameters are rejected with 400.

Things you might not expect:
- GitHub check on every scoped read. The dashboard, stats, tasks and other listed endpoints now check the caller's GitHub access, not only readiness. A successful check is remembered per user and repository for 60 seconds, so dashboard polling doesn't make a GitHub call each time.
- Demo mode skips the GitHub check (there is no GitHub identity) but still requires a configured repository.
- Disabled repositories still work as filters on the history views. Readiness accepts only enabled ones, as repository-events already did.

Per point
1. Readiness is only served for an enabled configured repository the caller can read on GitHub. Anything else gets 404 before the App is used, and the response echoes the configured name, which fixes the wrong name you saw (`"react/react"`).
2. Case-insensitive filters apply to `/api/stats/dashboard`, `/api/stats/cost` (and `.csv`), `/api/stats/review-scores` (and `.csv`), `/api/pull-requests/:n/scores`, `/api/dashboard/*`, `/api/tasks`, `/api/repos/todos` (reads, creates and reorders), `/api/repos/media`, `/api/planner/drafts` and `/api/goals`. Scores, drafts and to-dos also compare stored names with `COLLATE NOCASE`, so older rows saved in a different capitalization still show up. That includes the to-do service in core.
3. Unknown repositories return 404 `REPOSITORY_NOT_ACCESSIBLE` on all those endpoints instead of a 200 with zeros or empty lists.
4. `worktreePath` is removed from goal responses. No UI screen used it, so I didn't keep an admin-only version.
5. Limits: `/api/goals` now returns 50 by default (maximum 200), and `/api/tasks` accepts at most 200.
   - The web console's goal list now walks the pages explicitly and sorts by latest update, so it still shows every goal.
   - The CLI's goal list already sent explicit paging. `propr task list --limit` now rejects values above 200 with a clear message instead of a server error.

Also changed
- OpenAPI: the docs list the new 404s and the 200 maximum; I regenerated the spec and client types, and the drift check is clean.
- CHANGELOG: entries under Fixed and Changed.

Tests
- New tests cover the helper itself and each route group: capitalization, unknown repositories, `all`, the 200 maximum, readiness refusing unconfigured or disabled repositories, goal paging limits and `worktreePath` being gone.
- The UI has a test for the goal page walk.
- Suites that build these routes now pass in a resolver that accepts any well-formed name, because the real one reads instance configuration they don't have. The demo-mode suite still runs with the real resolver against seeded configuration.

No visual previews: the only UI change is how the goals list is fetched, and the screen looks the same.
@propr-dev

propr-dev Bot commented Nov 17, 2026

Copy link
Copy Markdown
Contributor Author

/ultrafix goal=8 max=6
Triggered automatically by the requested execution settings.

@propr-dev

propr-dev Bot commented Nov 17, 2026

Copy link
Copy Markdown
Contributor Author

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

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

CI failed: Validate Changes

Please investigate and fix this CI failure.

Failure evidence

.github:8
Process completed with exit code 1.

.github:415
Process completed with exit code 1.

@propr-dev

propr-dev Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ Applied the requested follow-up changes in commit cdaf8f9

Summary of Changes

I fixed the CI failure in packages/api/test/planRevisions.test.ts; lint now passes and all 21 tests in that file pass locally.

Cause: the Validate Changes job failed at the API lint step, which allows no warnings. The previous commit added an import to that file, taking it to 401 lines against the 400-line limit. Nothing else in that run failed: the API build, the CLI lint and the OpenAPI drift checks all passed.

Fix: in the "HTTP update records both the rename and outgoing snapshot…" test, I merged two assertions into one:

assert.deepEqual([snapshot.nameBefore, snapshot.nameAfter], [null, null]);

It checks the same thing and brings the file back to 400 lines. No other files changed.

Verification:

  • eslint . --max-warnings 0 in packages/api passes with no warnings.
  • The run then didn't exit on its own and was stopped by its 100s timeout; that is a known exit hang in the packages/api node tests.
  • When I ran the file in demo mode (PROPR_DEMO_MODE=true), the "HTTP handlers check ownership and input and refuse restoring a busy plan" test failed. It fails the same way on an unchanged copy of the file from the last commit, so my edit didn't cause it. With dummy GitHub relay settings instead of demo mode, it passes.

No previews, since this is a test-only change.

Review digest

Risk-tiered paths

  • High risk: none
  • Normal risk: none
  • Low risk (1 file)
    • packages/api/test/planRevisions.test.ts (+1/−2)

Validation evidence

  • No repository validation commands ran.

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


🤖 Implementation Details

  • Model: Claude Opus 5.5 (medium)
  • Requested By: @propr-dev[bot]
  • Time: 12m 12s
  • Tokens: 1,054,292 (1,050,141 in / 4,151 out)
  • Cost: $0.52
  • 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: 6936293467✓

@github-actions

Copy link
Copy Markdown

Checks Failed

Validation failed during setup, tests, CLI packaging, linting, or build checks.

View Logs
Build check diagnostics for run 44003919276, attempt 1
Checkout outcome: success

--- GitHub Actions workflow lint ---
docker.io/rhysd/actionlint@sha256:b1934ee5f1c509618f2508e6eb47ee0d3520686341fec936f3b79331f9315667: Pulling from rhysd/actionlint
589002ba0eae: Pulling fs layer
c09af8888d6a: Pulling fs layer
4ccd7d76ca98: Pulling fs layer
b6b4b7b0e257: Pulling fs layer
b6b4b7b0e257: Waiting
c09af8888d6a: Verifying Checksum
c09af8888d6a: Download complete
4ccd7d76ca98: Verifying Checksum
4ccd7d76ca98: Download complete
589002ba0eae: Download complete
589002ba0eae: Pull complete
b6b4b7b0e257: Verifying Checksum
b6b4b7b0e257: Download complete
c09af8888d6a: Pull complete
4ccd7d76ca98: Pull complete
b6b4b7b0e257: Pull complete
Digest: sha256:b1934ee5f1c509618f2508e6eb47ee0d3520686341fec936f3b79331f9315667
Status: Downloaded newer image for rhysd/actionlint@sha256:b1934ee5f1c509618f2508e6eb47ee0d3520686341fec936f3b79331f9315667
docker.io/rhysd/actionlint@sha256:b1934ee5f1c509618f2508e6eb47ee0d3520686341fec936f3b79331f9315667

--- Release shell script lint ---

--- Toolchain ---
v22.23.4
10.9.9

--- Dependency installation ---
npm warn deprecated [email protected]: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated [email protected]: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting [email protected]
npm warn deprecated [email protected]: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

added 1112 packages, and audited 1121 packages in 47s

318 packages are looking for funding
  run `npm fund` for details

8 moderate severity vulnerabilities

To address issues that do not require attention, run:
  npm audit fix

To address all issues (including breaking changes), run:
  npm audit fix --force

Run `npm audit` for details.

--- CLI release package ---
Verifying propr-cli release package...

> [email protected] cli:pack
> node packages/cli/scripts/build-publish.mjs


> @propr/[email protected] build
> tsc


> @propr/[email protected] build
> tsc


> @propr/[email protected] build
> tsc && node scripts/copy-assets.mjs

copy-assets: copied 9 file(s) into the CLI package.

Staged [email protected] at /home/runner/work/propr/propr/dist-publish/propr-cli
npm notice
npm notice 📦  [email protected]
npm notice Tarball Contents
npm notice 26.7kB README.md
npm notice 36.3kB dist/agentSkill.js
npm notice 477B dist/api/admission.js
npm notice 754B dist/api/agentRuntime.js
npm notice 7.1kB dist/api/agents.js
npm notice 2.6kB dist/api/agentTank.js
npm notice 4.4kB dist/api/automations.js
npm notice 11.7kB dist/api/client.js
npm notice 5.0kB dist/api/errors.js
npm notice 1.6kB dist/api/followupHandoffs.js
npm notice 16.9kB dist/api/goals.js
npm notice 6.0kB dist/api/implement.js
npm notice 2.8kB dist/api/index.js
npm notice 1.9kB dist/api/logs.js
npm notice 6.2kB dist/api/plans.js
npm notice 586B dist/api/pullRequests.js
npm notice 4.2kB dist/api/relay.js
npm notice 12.4kB dist/api/repos.js
npm notice 2.5kB dist/api/repositoryEvents.js
npm notice 14.9kB dist/api/settings.js
npm notice 2.0kB dist/api/stats.js
npm notice 1.6kB dist/api/syntheticPools.js
npm notice 1.8kB dist/api/system.js
npm notice 5.9kB dist/api/tasks.js
npm notice 2.9kB dist/api/todos.js
npm notice 86B dist/api/types.js
npm notice 313B dist/api/visualPreviewAuth.js
npm notice 32.9kB dist/assets/env.example.txt
npm notice 5.8kB dist/auth/githubLogin.js
npm notice 8.6kB dist/commands/admissionCommands.js
npm notice 19.7kB dist/commands/agentCommands.js
npm notice 4.2kB dist/commands/agentPoolCommands.js
npm notice 4.3kB dist/commands/agentSkillCommands.js
npm notice 30.0kB dist/commands/agentValidation.js
npm notice 31.2kB dist/commands/automationCommands.js
npm notice 72.3kB dist/commands/checkCommands.js
npm notice 8.9kB dist/commands/configCommands.js
npm notice 14.6kB dist/commands/connectCommand.js
npm notice 11.2kB dist/commands/eventCommands.js
npm notice 5.5kB dist/commands/githubAppApi.js
npm notice 27.7kB dist/commands/githubAppCommands.js
npm notice 60.5kB dist/commands/goalCommands.js
npm notice 8.1kB dist/commands/handoffCommands.js
npm notice 2.4kB dist/commands/imageCommands.js
npm notice 8.0kB dist/commands/implementCommands.js
npm notice 2.0kB dist/commands/index.js
npm notice 8.4kB dist/commands/initCommands.js
npm notice 14.1kB dist/commands/initStack.js
npm notice 6.1kB dist/commands/logCommands.js
npm notice 24.9kB dist/commands/planCommands.js
npm notice 3.1kB dist/commands/prCommands.js
npm notice 8.4kB dist/commands/relayCommands.js
npm notice 40.0kB dist/commands/repoCommands.js
npm notice 2.7kB dist/commands/repoValidate.js
npm notice 7.5kB dist/commands/runtimeCommands.js
npm notice 18.7kB dist/commands/settingCommands.js
npm notice 4.6kB dist/commands/setup/agentHostActions.js
npm notice 123B dist/commands/setup/agents.js
npm notice 4.7kB dist/commands/setup/engine.js
npm notice 51B dist/commands/setup/github.js
npm notice 37.3kB dist/commands/setup/hostActions.js
npm notice 3.2kB dist/commands/setup/imagePlatform.js
npm notice 27.3kB dist/commands/setup/sequential.js
npm notice 51B dist/commands/setup/state.js
npm notice 51B dist/commands/setup/types.js
npm notice 10.7kB dist/commands/setupCommand.js
npm notice 4.4kB dist/commands/stackCommands.js
npm notice 1.4kB dist/commands/startCommand.js
npm notice 4.7kB dist/commands/statsCommands.js
npm notice 4.6kB dist/commands/statsCostCommand.js
npm notice 13.5kB dist/commands/systemCommands.js
npm notice 3.5kB dist/commands/tankCommands.js
npm notice 46.6kB dist/commands/taskCommands.js
npm notice 29.7kB dist/commands/todoCommands.js
npm notice 31.0kB dist/commands/tunnelCommand.js
npm notice 2.7kB dist/commands/uiDocsCommands.js
npm notice 8.3kB dist/completion.js
npm notice 27.3kB dist/config/ConfigManager.js
npm notice 276B dist/config/index.js
npm notice 989B dist/config/rootKey.js
npm notice 345B dist/config/types.js
npm notice 46.0kB dist/connectIdentity.js
npm notice 25.0kB dist/connectRootAuthority.js
npm notice 32.5kB dist/connectWindowsAuthority.js
npm notice 2.2kB dist/desktopDiscovery.js
npm notice 13.3kB dist/desktopLocalSetup.js
npm notice 17.4kB dist/index.js
npm notice 4.5kB dist/native/darwin-authority-broker.c
npm notice 8.9kB dist/native/directory-operations.c
npm notice 50.1kB dist/native/prebuilds/darwin-arm64/connect-authority-broker
npm notice 54.2kB dist/native/prebuilds/darwin-arm64/directory-operations.node
npm notice 17.1kB dist/native/prebuilds/darwin-x64/connect-authority-broker
npm notice 24.3kB dist/native/prebuilds/darwin-x64/directory-operations.node
npm notice 28.9kB dist/native/prebuilds/linux-arm64/directory-operations.node
npm notice 17.4kB dist/native/prebuilds/linux-x64/directory-operations.node
npm notice 1.2kB dist/native/README.md
npm notice 3.1kB dist/orchestrator/format.js
npm notice 13.4kB dist/orchestrator/index.js
npm notice 302B dist/orchestrator/manifest.json
npm notice 131.2kB dist/orchestrator/orchestrator.mjs
npm notice 408B dist/orchestrator/types.js
npm notice 237B dist/skill/propr/agents/openai.yaml
npm notice 8.9kB dist/skill/propr/SKILL.md
npm notice 4.5kB dist/tui/AgentTableApp.js
npm notice 4.5kB dist/tui/app.js
npm notice 11.6kB dist/tui/CheckApp.js
npm notice 5.1kB dist/tui/render.js
npm notice 32.5kB dist/tui/SetupApp.js
npm notice 18.4kB dist/tui/SetupApp.test.js
npm notice 8.2kB dist/tui/StartApp.js
npm notice 3.6kB dist/utils/apiErrorPresentation.js
npm notice 12.0kB dist/utils/directoryDescriptor.js
npm notice 739B dist/utils/dockerPort.js
npm notice 5.0kB dist/utils/envFile.js
npm notice 520B dist/utils/index.js
npm notice 5.7kB dist/utils/io.js
npm notice 717B dist/utils/localSetupPlatform.js
npm notice 1.5kB dist/utils/nativeArtifact.js
npm notice 544B dist/utils/parseState.js
npm notice 417B dist/utils/positiveInteger.js
npm notice 4.5kB dist/utils/privateFilesystem.js
npm notice 4.2kB dist/utils/resolveProject.js
npm notice 7.2kB dist/vendor/local-setup/agents.js
npm notice 64.5kB dist/vendor/local-setup/engine.js
npm notice 5.0kB dist/vendor/local-setup/envFile.js
npm notice 11.4kB dist/vendor/local-setup/github.js
npm notice 188B dist/vendor/local-setup/index.js
npm notice 27.5kB dist/vendor/local-setup/publicInstanceIdentity.js
npm notice 14.6kB dist/vendor/local-setup/state.js
npm notice 2.8kB dist/vendor/local-setup/types.js
npm notice 13.2kB dist/vendor/shared/acceptanceCriteria.js
npm notice 1.0kB dist/vendor/shared/accountStatusTimestamp.js
npm notice 7.7kB dist/vendor/shared/activityEvents.js
npm notice 2.8kB dist/vendor/shared/agentConfigRedaction.js
npm notice 4.4kB dist/vendor/shared/agentDefinitions.js
npm notice 2.3kB dist/vendor/shared/agentFailureLine.js
npm notice 3.4kB dist/vendor/shared/agentLogin.js
npm notice 3.1kB dist/vendor/shared/agentTank.js
npm notice 1.2kB dist/vendor/shared/agentTankHistory.js
npm notice 2.8kB dist/vendor/shared/analyticsTimeframe.js
npm notice 4.4kB dist/vendor/shared/antigravityCompatibility.js
npm notice 5.1kB dist/vendor/shared/apiOrigin.js
npm notice 3.5kB dist/vendor/shared/assignment.js
npm notice 17.2kB dist/vendor/shared/automationDefinitions.js
npm notice 2.4kB dist/vendor/shared/automationRunProductivity.js
npm notice 6.4kB dist/vendor/shared/automationTemplateContract.js
npm notice 18.5kB dist/vendor/shared/automationTemplates.catalog.json
npm notice 1.3kB dist/vendor/shared/automationTemplates.js
npm notice 3.4kB dist/vendor/shared/changedFileKinds.js
npm notice 1.4kB dist/vendor/shared/claudeCompatibility.js
npm notice 8.5kB dist/vendor/shared/connectDiscovery.js
npm notice 9.6kB dist/vendor/shared/cronSchedule.js
npm notice 254B dist/vendor/shared/demoMode.js
npm notice 4.3kB dist/vendor/shared/desktopPairing.js
npm notice 481B dist/vendor/shared/desktopTokenRevocation.js
npm notice 8.9kB dist/vendor/shared/events.js
npm notice 13.0kB dist/vendor/shared/extensionLibrary.js
npm notice 703B dist/vendor/shared/extensionOAuth.js
npm notice 4.0kB dist/vendor/shared/extensionPackages.js
npm notice 2.9kB dist/vendor/shared/extensionProfiles.js
npm notice 2.7kB dist/vendor/shared/fleetData.js
npm notice 2.5kB dist/vendor/shared/githubAppManifest.js
npm notice 1.6kB dist/vendor/shared/githubAuthMode.js
npm notice 2.0kB dist/vendor/shared/githubEventIntakeMode.js
npm notice 12.8kB dist/vendor/shared/goalBlockers.js
npm notice 6.0kB dist/vendor/shared/goalCheckpoints.js
npm notice 4.0kB dist/vendor/shared/goalCreation.js
npm notice 5.1kB dist/vendor/shared/goalWait.js
npm notice 14.1kB dist/vendor/shared/index.js
npm notice 214B dist/vendor/shared/instanceAuthorization.js
npm notice 54B dist/vendor/shared/instanceCatalog.js
npm notice 584B dist/vendor/shared/instanceStorage.js
npm notice 4.0kB dist/vendor/shared/intakeModePrerequisites.js
npm notice 2.9kB dist/vendor/shared/labelUtils.js
npm notice 18.7kB dist/vendor/shared/modelDefinitions.js
npm notice 3.5kB dist/vendor/shared/notificationLinks.js
npm notice 51.3kB dist/vendor/shared/notifications.js
npm notice 2.7kB dist/vendor/shared/openCodeCompatibility.js
npm notice 16.9kB dist/vendor/shared/planItemGraph.js
npm notice 7.5kB dist/vendor/shared/previewStorage/v1.js
npm notice 866B dist/vendor/shared/projectSlug.js
npm notice 3.8kB dist/vendor/shared/proprCompatibility.js
npm notice 13.0kB dist/vendor/shared/proprServiceUrls.js
npm notice 17.0kB dist/vendor/shared/prTemplate.js
npm notice 6.7kB dist/vendor/shared/prTitleStatusSlot.js
npm notice 2.2kB dist/vendor/shared/publishedVisualPreviews.js
npm notice 2.7kB dist/vendor/shared/reasoningLevels.js
npm notice 1.8kB dist/vendor/shared/repositoryEvents.js
npm notice 6.7kB dist/vendor/shared/repositoryEventWait.js
npm notice 1.2kB dist/vendor/shared/repositoryIcon.js
npm notice 1.4kB dist/vendor/shared/repositoryIconUrl.js
npm notice 3.9kB dist/vendor/shared/repositoryPresentation.js
npm notice 9.6kB dist/vendor/shared/reviewContextBudget.js
npm notice 5.8kB dist/vendor/shared/reviewFeedbackIds.js
npm notice 2.7kB dist/vendor/shared/reviewPrompt.js
npm notice 907B dist/vendor/shared/runCostCap.js
npm notice 861B dist/vendor/shared/sessionSecret.js
npm notice 392B dist/vendor/shared/sqliteTimestamp.js
npm notice 603B dist/vendor/shared/statusKeys.js
npm notice 7.5kB dist/vendor/shared/syntheticAgents.js
npm notice 2.2kB dist/vendor/shared/taskIdentifiers.js
npm notice 2.0kB dist/vendor/shared/taskLifecycle.js
npm notice 733B dist/vendor/shared/taskReplacement.js
npm notice 957B dist/vendor/shared/text.js
npm notice 2.6kB dist/vendor/shared/tokenOutlierSettings.js
npm notice 9.8kB dist/vendor/shared/usageTips.catalog.json
npm notice 5.0kB dist/vendor/shared/usageTips.js
npm notice 335B dist/vendor/shared/usageTypes.js
npm notice 1.1kB dist/vendor/shared/userWhitelist.js
npm notice 758B dist/vendor/shared/validateRelayUrl.js
npm notice 2.2kB dist/vendor/shared/validateRoutingUrl.js
npm notice 7.1kB dist/vendor/shared/visualPreviewCapacity.js
npm notice 9.3kB dist/vendor/shared/voice.js
npm notice 222B dist/vendor/shared/workEvidence.js
npm notice 828B package.json
npm notice Tarball Details
npm notice name: propr-cli
npm notice version: 0.9.1
npm notice filename: propr-cli-0.9.1.tgz
npm notice package size: 530.9 kB
npm notice unpacked size: 2.1 MB
npm notice shasum: d39c47dc73c7ccf4d58db07b6a27d272399f8bd1
npm notice integrity: sha512-neKRHQgZR+RlQ[...]Nry/EdJQoQGCQ==
npm notice total files: 215
npm notice
propr-cli-0.9.1.tgz

Dry run only. Re-run with --publish to publish to npm.
✅ propr-cli release package verified
Starting changed-area validation process...
Reusing this job's @propr/shared build from CLI packaging.
Reusing this job's @propr/local-setup build from CLI packaging.

--- Core Service: Lint & Build ---
✅ Core Lint passed
✅ Core Source Build passed

--- UI: Typecheck, Lint & Build ---
✅ Client Package validation passed
✅ UI Typecheck passed
✅ UI Lint passed
✅ UI Build passed

--- Docs: Typecheck & Build ---
✅ Docs Typecheck passed
✅ Docs Build passed
✅ Docs Static Serving Check passed

--- Core Package: Build & Lint ---
✅ Core Package Build passed
✅ Core Package Lint passed

--- CLI: Lint ---
✅ CLI Lint passed

--- API: Build & Lint ---
✅ API Build passed
❌ API Lint FAILED

> @propr/[email protected] lint
> eslint . --max-warnings 0


/home/runner/work/propr/propr/packages/api/test/planRevisions.test.ts
  461:1  warning  File has too many lines (401). Maximum allowed is 400  max-lines

✖ 1 problem (0 errors, 1 warning)

ESLint found too many warnings (maximum: 0).
npm error Lifecycle script `lint` failed with error:
npm error code 1
npm error path /home/runner/work/propr/propr/packages/api
npm error workspace @propr/[email protected]
npm error location /home/runner/work/propr/propr/packages/api
npm error command failed
npm error command sh -c eslint . --max-warnings 0

--- API Reference: OpenAPI Spec & Client Contract ---
✅ OpenAPI spec is current and valid
✅ @propr/client matches the OpenAPI spec

--- Stage outcomes ---
Workflow lint: success
Release shell lint: success
Pre-setup gate: skipped
Node setup: success
Toolchain: success
Dependency install: success
Release metadata: success
CLI packaging: success
Change detection: success
Changed-area checks: failure

View Workflow

…test.ts`; lint now passes and all 21 tests in that file pass locally.

I fixed the CI failure in `packages/api/test/planRevisions.test.ts`; lint now passes and all 21 tests in that file pass locally.

**Cause:** the `Validate Changes` job failed at the API lint step, which allows no warnings. The previous commit added an import to that file, taking it to 401 lines against the 400-line limit. Nothing else in that run failed: the API build, the CLI lint and the OpenAPI drift checks all passed.

**Fix:** in the "HTTP update records both the rename and outgoing snapshot…" test, I merged two assertions into one:
```ts
assert.deepEqual([snapshot.nameBefore, snapshot.nameAfter], [null, null]);
```
It checks the same thing and brings the file back to 400 lines. No other files changed.

**Verification:**
- `eslint . --max-warnings 0` in `packages/api` passes with no warnings.
- The run then didn't exit on its own and was stopped by its 100s timeout; that is a known exit hang in the `packages/api` node tests.
- When I ran the file in demo mode (`PROPR_DEMO_MODE=true`), the "HTTP handlers check ownership and input and refuse restoring a busy plan" test failed. It fails the same way on an unchanged copy of the file from the last commit, so my edit didn't cause it. With dummy GitHub relay settings instead of demo mode, it passes.

No previews, since this is a test-only change.

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

propr-dev Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor Author

ℹ️ Analyzed the follow-up request by @github-actions[bot]

Analysis Summary

I made no changes, because the branch already has the fix for this lint failure.

The failing run (44003919276) built commit 91c19d2. The fix is in the next commit, cdaf8f9, which is the PR's current head: it merges two null assertions into one, so packages/api/test/planRevisions.test.ts is back under the 400-line limit. Nothing on main has touched that file since this branch was cut, so merging with main shouldn't bring the warning back.

On cdaf8f9, running npx eslint . --max-warnings 0 in packages/api gives no warnings and exits 0. I couldn't open run 44003919276's job log and I didn't rerun CI. The next CI run on cdaf8f9 should clear the failure.

I didn't make previews, since nothing visible changed.

No code changes were necessary based on the current state of the branch.


🤖 Analysis Details

  • Model: Claude Opus 5.5 (medium)
  • Time: 3m 49s
  • Tokens: 329,596 (328,123 in / 1,473 out)
  • Cost: $0.31

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: 6936306502✓

@github-actions

Copy link
Copy Markdown

Full Test Suite Results

Validation failed during: Test shard (shard 1).

  • Dependency install: success
  • Workspace build: success
  • Docs validation: success
  • Shard coverage verification: success
  • Hosted native Electron units: success
  • Shard 1/4: failed during Test shard in 1315.4s on GitHub Actions 1000123266
    • packages/api/test/mcpWorkflows.test.ts: exit 1
  • Shard 2/4: passed in 1035.1s on GitHub Actions 1000123287
  • Shard 3/4: passed in 940.3s on GitHub Actions 1000123276
  • Shard 4/4: passed in 1215.9s on GitHub Actions 1000123261
View shard 1/4 output
...(truncated)

 uses the runtime-configured apiBaseUrl when present�[33m 921�[2mms�[22m�[39m
 �[32m✓�[39m src/pages/NewTaskPage.test.tsx �[2m(�[22m�[2m21 tests�[22m�[2m)�[22m�[33m 3997�[2mms�[22m�[39m
   �[32m✓�[39m New Task issue launcher �[2m(17)�[22m
     �[33m�[2m✓�[22m�[39m opens a modal with collapsed settings and no promotional cards�[33m 383�[2mms�[22m�[39m
     �[33m�[2m✓�[22m�[39m reopens unresolved work after starting another request and reloading, preserving its key and files�[33m 495�[2mms�[22m�[39m
�[90mstdout�[2m | src/contexts/SocketProvider.test.tsx�[2m > �[22m�[2mSocketProvider�[2m > �[22m�[2mcreates one force-new scoped Manager on null-to-A activation
�[22m�[39m[SocketContext] Cleaning up socket connection

�[90mstdout�[2m | src/contexts/SocketProvider.test.tsx�[2m > �[22m�[2mSocketProvider�[2m > �[22m�[2mfully detaches A before creating a distinct Manager for scope rotation
�[22m�[39m[SocketContext] Cleaning up socket connection

�[90mstdout�[2m | src/contexts/SocketProvider.test.tsx�[2m > �[22m�[2mSocketProvider�[2m > �[22m�[2mfully detaches A before creating a distinct Manager for scope rotation
�[22m�[39m[SocketContext] Cleaning up socket connection

�[90mstdout�[2m | src/contexts/SocketProvider.test.tsx�[2m > �[22m�[2mSocketProvider�[2m > �[22m�[2mfully detaches A before creating a distinct Manager for same-origin A-to-B
�[22m�[39m[SocketContext] Cleaning up socket connection

�[90mstdout�[2m | src/contexts/SocketProvider.test.tsx�[2m > �[22m�[2mSocketProvider�[2m > �[22m�[2mfully detaches A before creating a distinct Manager for same-origin A-to-B
�[22m�[39m[SocketContext] Cleaning up socket connection

�[90mstdout�[2m | src/contexts/SocketProvider.test.tsx�[2m > �[22m�[2mSocketProvider�[2m > �[22m�[2mreports a replacement Manager as disconnected until its own connect event
�[22m�[39m[SocketContext] Connected to WebSocket server
[SocketContext] Cleaning up socket connection
[SocketContext] Connected to WebSocket server

�[90mstderr�[2m | src/contexts/SocketProvider.test.tsx�[2m > �[22m�[2mSocketProvider�[2m > �[22m�[2mreports a replacement Manager as disconnected until its own connect event
�[22m�[39m[SocketContext] Connection error: not connected

�[90mstdout�[2m | src/contexts/SocketProvider.test.tsx�[2m > �[22m�[2mSocketProvider�[2m > �[22m�[2mreports a replacement Manager as disconnected until its own connect event
�[22m�[39m[SocketContext] Cleaning up socket connection

�[90mstdout�[2m | src/contexts/SocketProvider.test.tsx�[2m > �[22m�[2mSocketProvider�[2m > �[22m�[2mrotates the Manager when the effective API origin changes
�[22m�[39m[SocketContext] Cleaning up socket connection

�[90mstdout�[2m | src/contexts/SocketProvider.test.tsx�[2m > �[22m�[2mSocketProvider�[2m > �[22m�[2mrotates the Manager when the effective API origin changes
�[22m�[39m[SocketContext] Cleaning up socket connection

�[90mstdout�[2m | src/contexts/SocketProvider.test.tsx�[2m > �[22m�[2mSocketProvider�[2m > �[22m�[2mdisconnects on deactivate and creates no replacement
�[22m�[39m[SocketContext] Cleaning up socket connection

�[90mstdout�[2m | src/contexts/SocketProvider.test.tsx�[2m > �[22m�[2mSocketProvider�[2m > �[22m�[2mkeeps the hosted browser cookie socket without a desktop marker
�[22m�[39m[SocketContext] Cleaning up socket connection

�[90mstdout�[2m | src/contexts/SocketProvider.test.tsx�[2m > �[22m�[2mSocketProvider�[2m > �[22m�[2mclassifies authentication errors against the immutable activation scope
�[22m�[39m[SocketContext] Cleaning up socket connection

�[90mstdout�[2m | src/contexts/SocketProvider.test.tsx�[2m > �[22m�[2mSocketProvider�[2m > �[22m�[2mreconnects the current Manager when authorization changes without invalidating its token
�[22m�[39m[SocketContext] Cleaning up socket connection

�[90mstdout�[2m | src/contexts/SocketProvider.test.tsx�[2m > �[22m�[2mSocketProvider�[2m > �[22m�[2mnever reconnects a stale same-origin Manager after deferred authorization work resolves
�[22m�[39m[SocketContext] Cleaning up socket connection

�[90mstdout�[2m | src/contexts/SocketProvider.test.tsx�[2m > �[22m�[2mSocketProvider�[2m > �[22m�[2mnever reconnects a stale same-origin Manager after deferred authorization work resolves
�[22m�[39m[SocketContext] Cleaning up socket connection

�[90mstdout�[2m | src/contexts/SocketProvider.test.tsx�[2m > �[22m�[2mSocketProvider�[2m > �[22m�[2mdrops application events delivered by an old desktop scope
�[22m�[39m[SocketContext] Cleaning up socket connection
[SocketContext] Received task update: { eventType: �[32m'task:update'�[39m }

�[90mstdout�[2m | src/contexts/SocketProvider.test.tsx�[2m > �[22m�[2mSocketProvider�[2m > �[22m�[2mdrops application events delivered by an old desktop scope
�[22m�[39m[SocketContext] Cleaning up socket connection

�[90mstdout�[2m | src/contexts/SocketProvider.test.tsx�[2m > �[22m�[2mSocketProvider�[2m > �[22m�[2mdelivers live events without logging their potentially large payload
�[22m�[39m[SocketContext] Cleaning up socket connection

�[90mstdout�[2m | src/contexts/SocketProvider.test.tsx�[2m > �[22m�[2mSocketProvider�[2m > �[22m�[2mreference-counts the activity room and rejoins it after a reconnect
�[22m�[39m[SocketContext] Connected to WebSocket server
[SocketContext] Disconnected from WebSocket server: transport close
[SocketContext] Connected to WebSocket server
[SocketContext] Unsubscribed from activity

�[90mstdout�[2m | src/contexts/SocketProvider.test.tsx�[2m > �[22m�[2mSocketProvider�[2m > �[22m�[2mreference-counts the activity room and rejoins it after a reconnect
�[22m�[39m[SocketContext] Cleaning up socket connection

�[90mstdout�[2m | src/contexts/SocketProvider.test.tsx�[2m > �[22m�[2mSocketProvider�[2m > �[22m�[2mshares task lifecycle ownership and scopes cleanup across reconnect and profile changes
�[22m�[39m[SocketContext] Connected to WebSocket server
[SocketContext] Disconnected from WebSocket server: transport close
[SocketContext] Connected to WebSocket server
[SocketContext] Cleaning up socket connection
[SocketContext] Connected to WebSocket server
[SocketContext] Cleaning up socket connection

�[90mstdout�[2m | src/contexts/SocketProvider.test.tsx�[2m > �[22m�[2mSocketProvider�[2m > �[22m�[2mnegotiates direct snapshots without recreating the connection
�[22m�[39m[SocketContext] Connected to WebSocket server
[SocketContext] Disconnected from WebSocket server: transport close

�[90mstdout�[2m | src/contexts/SocketProvider.test.tsx�[2m > �[22m�[2mSocketProvider�[2m > �[22m�[2mnegotiates direct snapshots without recreating the connection
�[22m�[39m[SocketContext] Cleaning up socket connection

�[90mstdout�[2m | src/contexts/SocketProvider.test.tsx�[2m > �[22m�[2mSocketProvider�[2m > �[22m�[2mrefreshes browser authorization before reconnecting after a permission change
�[22m�[39m[SocketContext] Cleaning up socket connection

�[90mstdout�[2m | src/contexts/SocketProvider.test.tsx�[2m > �[22m�[2mSocketProvider�[2m > �[22m�[2mdelivers activity, goal, notification and usage events without logging their payloads
�[22m�[39m[SocketContext] Cleaning up socket connection

�[90mstdout�[2m | src/contexts/SocketProvider.test.tsx�[2m > �[22m�[2mSocketProvider�[2m > �[22m�[2mdrops activity events delivered by an old desktop scope
�[22m�[39m[SocketContext] Cleaning up socket connection

�[90mstdout�[2m | src/contexts/SocketProvider.test.tsx�[2m > �[22m�[2mSocketProvider�[2m > �[22m�[2mdrops activity events delivered by an old desktop scope
�[22m�[39m[SocketContext] Cleaning up socket connection

�[90mstdout�[2m | src/contexts/SocketProvider.test.tsx�[2m > �[22m�[2mSocketProvider�[2m > �[22m�[2mfully detaches listeners and disconnects on unmount
�[22m�[39m[SocketContext] Cleaning up socket connection

 �[32m✓�[39m src/contexts/SocketProvider.test.tsx �[2m(�[22m�[2m20 tests�[22m�[2m)�[22m�[32m 180�[2mms�[22m�[39m
 �[32m✓�[39m src/api/demoMode.test.ts �[2m(�[22m�[2m25 tests�[22m�[2m)�[22m�[32m 47�[2mms�[22m�[39m
 �[32m✓�[39m src/pages/SettingsPage/SettingsNavigation.test.tsx �[2m(�[22m�[2m26 tests�[22m�[2m)�[22m�[33m 2864�[2mms�[22m�[39m
   �[32m✓�[39m SettingsNavigation �[2m(26)�[22m
     �[33m�[2m✓�[22m�[39m lists the settings domains in a vertical rail beside a constrained reading pane�[33m 550�[2mms�[22m�[39m
     �[33m�[2m✓�[22m�[39m moves between rail items with the arrow keys�[33m 303�[2mms�[22m�[39m
 �[32m✓�[39m src/components/RepositorySelector.test.tsx �[2m(�[22m�[2m26 tests�[22m�[2m)�[22m�[33m 1522�[2mms�[22m�[39m
 �[32m✓�[39m src/serviceWorker.test.ts �[2m(�[22m�[2m24 tests�[22m�[2m)�[22m�[32m 54�[2mms�[22m�[39m
 �[32m✓�[39m src/pages/SettingsPage/extensions/ExtensionPackageServer.test.tsx �[2m(�[22m�[2m14 tests�[22m�[2m)�[22m�[33m 2834�[2mms�[22m�[39m
   �[32m✓�[39m local package servers �[2m(14)�[22m
     �[33m�[2m✓�[22m�[39m offers Local package next to HTTPS endpoint and saves an exact version with arguments and plain variables, without an acknowledgement�[33m 473�[2mms�[22m�[39m
     �[33m�[2m✓�[22m�[39m rejects version ranges and tags and reserved variable names before saving�[33m 450�[2mms�[22m�[39m
 �[32m✓�[39m src/hooks/useBrowserPush.test.tsx �[2m(�[22m�[2m20 tests�[22m�[2m)�[22m�[33m 554�[2mms�[22m�[39m
�[90mstderr�[2m | src/desktop/DesktopExperience.transport.test.tsx�[2m > �[22m�[2mDesktopExperience transport and fencing�[2m > �[22m�[2mignores a delayed access-invalid event from A after B has connected
�[22m�[39mAn update to DesktopExperience 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/DesktopExperience.transport.test.tsx �[2m(�[22m�[2m11 tests�[22m�[2m)�[22m�[33m 866�[2mms�[22m�[39m
   �[32m✓�[39m DesktopExperience transport and fencing �[2m(11)�[22m
     �[33m�[2m✓�[22m�[39m unmounts account UI on scoped logout and waits for explicit sign-in�[33m 318�[2mms�[22m�[39m
�[90mstderr�[2m | src/components/TaskDetails/index.followupHandoff.test.tsx�[2m > �[22m�[2ma handoff never crosses an account or instance switch�[2m > �[22m�[2mkeeps a desktop instance’s handoff on that instance
�[22m�[39mAn update to TaskDetails 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/index.followupHandoff.test.tsx �[2m(�[22m�[2m13 tests�[22m�[2m)�[22m�[33m 1684�[2mms�[22m�[39m
   �[32m✓�[39m an accepted issue follow-up hands off to the run it started �[2m(6)�[22m
     �[33m�[2m✓�[22m�[39m waits through delayed admission, then exposes the distinct fresh run as it runs and completes�[33m 484�[2mms�[22m�[39m
�[90mstderr�[2m | src/components/TaskDetails/index.followupHandoffDesktopReconnect.test.tsx�[2m > �[22m�[2man accepted follow-up stored in session storage survives the Desktop reconnect of the same identity�[2m > �[22m�[2mkeeps the starting banner and continues the read-only lookup without posting again
�[22m�[39mAn update to TaskDetails 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/TaskDetails/index.followupHandoffDesktopReconnect.test.tsx�[2m > �[22m�[2man accepted follow-up stored in session storage survives the Desktop reconnect of the same identity�[2m > �[22m�[2mkeeps the starting banner and continues the read-only lookup without posting again
�[22m�[39mAn update to TaskDetails 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/TaskDetails/index.followupHandoffDesktopReconnect.test.tsx�[2m > �[22m�[2man accepted follow-up stored in session storage survives the Desktop reconnect of the same identity�[2m > �[22m�[2mkeeps the starting banner and continues the read-only lookup without posting again
�[22m�[39mAn update to TaskDetails 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/TaskDetails/index.followupHandoffDesktopReconnect.test.tsx�[2m > �[22m�[2man accepted follow-up stored in session storage survives the Desktop reconnect of the same identity�[2m > �[22m�[2mkeeps the View new run link of a finished run without looking it up again
�[22m�[39mAn update to TaskDetails 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/TaskDetails/index.followupHandoffDesktopReconnect.test.tsx�[2m > �[22m�[2man accepted follow-up stored in session storage survives the Desktop reconnect of the same identity�[2m > �[22m�[2mkeeps the View new run link of a finished run without looking it up again
�[22m�[39mAn update to TaskDetails 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/TaskDetails/index.followupHandoffDesktopReconnect.test.tsx�[2m > �[22m�[2man accepted follow-up stored in session storage survives the Desktop reconnect of the same identity�[2m > �[22m�[2mkeeps the View new run link of a finished run without looking it up again
�[22m�[39mAn update to TaskDetails 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/TaskDetails/index.followupHandoffDesktopReconnect.test.tsx�[2m > �[22m�[2man accepted follow-up stored in session storage survives the Desktop reconnect of the same identity�[2m > �[22m�[2mkeeps it when the same profile is reconnected from the instance manager
�[22m�[39mAn update to TaskDetails 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/TaskDetails/index.followupHandoffDesktopReconnect.test.tsx�[2m > �[22m�[2man accepted follow-up stored in session storage survives the Desktop reconnect of the same identity�[2m > �[22m�[2mkeeps it when the same profile is reconnected from the instance manager
�[22m�[39mAn update to TaskDetails 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/TaskDetails/index.followupHandoffDesktopReconnect.test.tsx�[2m > �[22m�[2man accepted follow-up stored in session storage survives the Desktop reconnect of the same identity�[2m > �[22m�[2mkeeps it when the same profile is reconnected from the instance manager
�[22m�[39mAn update to TaskDetails 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/TaskDetails/index.followupHandoffDesktopReconnect.test.tsx�[2m > �[22m�[2man accepted follow-up held in page memory because storage ref… survives the Desktop reconnect of the same identity�[2m > �[22m�[2mkeeps the starting banner and continues the read-only lookup without posting again
�[22m�[39mAn update to TaskDetails 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/TaskDetails/index.followupHandoffDesktopReconnect.test.tsx�[2m > �[22m�[2man accepted follow-up held in page memory because storage ref… survives the Desktop reconnect of the same identity�[2m > �[22m�[2mkeeps the starting banner and continues the read-only lookup without posting again
�[22m�[39mAn update to TaskDetails 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/TaskDetails/index.followupHandoffDesktopReconnect.test.tsx�[2m > �[22m�[2man accepted follow-up held in page memory because storage ref… survives the Desktop reconnect of the same identity�[2m > �[22m�[2mkeeps the starting banner and continues the read-only lookup without posting again
�[22m�[39mAn update to TaskDetails 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/TaskDetails/index.followupHandoffDesktopReconnect.test.tsx�[2m > �[22m�[2man accepted follow-up held in page memory because storage ref… survives the Desktop reconnect of the same identity�[2m > �[22m�[2mkeeps the View new run link of a finished run without looking it up again
�[22m�[39mAn update to TaskDetails 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/TaskDetails/index.followupHandoffDesktopReconnect.test.tsx�[2m > �[22m�[2man accepted follow-up held in page memory because storage ref… survives the Desktop reconnect of the same identity�[2m > �[22m�[2mkeeps the View new run link of a finished run without looking it up again
�[22m�[39mAn update to TaskDetails 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/TaskDetails/index.followupHandoffDesktopReconnect.test.tsx�[2m > �[22m�[2man accepted follow-up held in page memory because storage ref… survives the Desktop reconnect of the same identity�[2m > �[22m�[2mkeeps the View new run link of a finished run without looking it up again
�[22m�[39mAn update to TaskDetails 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/TaskDetails/index.followupHandoffDesktopReconnect.test.tsx�[2m > �[22m�[2man accepted follow-up held in page memory because storage ref… survives the Desktop reconnect of the same identity�[2m > �[22m�[2mkeeps it when the same profile is reconnected from the instance manager
�[22m�[39mAn update to TaskDetails 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/TaskDetails/index.followupHandoffDesktopReconnect.test.tsx�[2m > �[22m�[2mthe Desktop reconnect fences responses from the connection it replaced�[2m > �[22m�[2mdoes not adopt an acceptance that lands after the reconnect
�[22m�[39mAn update to TaskDetails 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/TaskDetails/index.followupHandoffDesktopReconnect.test.tsx�[2m > �[22m�[2mthe Desktop reconnect fences responses from the connection it replaced�[2m > �[22m�[2mdoes not adopt an acceptance that lands after the reconnect
�[22m�[39mAn update to TaskDetails 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/TaskDetails/index.followupHandoffDesktopReconnect.test.tsx�[2m > �[22m�[2mthe Desktop reconnect fences responses from the connection it replaced�[2m > �[22m�[2mdoes not adopt an acceptance that lands after the reconnect
�[22m�[39mAn update to TaskDetails 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/TaskDetails/index.followupHandoffDesktopReconnect.test.tsx�[2m > �[22m�[2mthe Desktop reconnect fences responses from the connection it replaced�[2m > �[22m�[2mignores a lookup sent before the reconnect and follows the new one
�[22m�[39mAn update to TaskDetails 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/TaskDetails/index.followupHandoffDesktopReconnect.test.tsx�[2m > �[22m�[2man accepted follow-up stored in session storage does not outlive a replaced identity�[2m > �[22m�[2mis dropped when the reconnect finds the same profile with a replaced credential
�[22m�[39mAn update to TaskDetails 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/TaskDetails/index.followupHandoffDesktopReconnect.test.tsx�[2m > �[22m�[2man accepted follow-up stored in session storage does not outlive a replaced identity�[2m > �[22m�[2mis dropped when the reconnect finds the same profile with a replaced credential
�[22m�[39mAn update to TaskDetails 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/TaskDetails/index.followupHandoffDesktopReconnect.test.tsx�[2m > �[22m�[2man accepted follow-up stored in session storage does not outlive a replaced identity�[2m > �[22m�[2mis dropped when the reconnect finds the same profile with a replaced credential
�[22m�[39mAn update to TaskDetails 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/TaskDetails/index.followupHandoffDesktopReconnect.test.tsx�[2m > �[22m�[2man accepted follow-up stored in session storage does not outlive a replaced identity�[2m > �[22m�[2mis dropped on a switch to another profile and stays gone on switching back to the same identity
�[22m�[39mAn update to TaskDetails 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/TaskDetails/index.followupHandoffDesktopReconnect.test.tsx�[2m > �[22m�[2man accepted follow-up stored in session storage does not outlive a replaced identity�[2m > �[22m�[2mis dropped on a switch to another profile and stays gone on switching back to the same identity
�[22m�[39mAn update to TaskDetails 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/TaskDetails/index.followupHandoffDesktopReconnect.test.tsx�[2m > �[22m�[2man accepted follow-up stored in session storage does not outlive a replaced identity�[2m > �[22m�[2mis dropped on a switch to another profile and stays gone on switching back to the same identity
�[22m�[39mAn update to TaskDetails 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/TaskDetails/index.followupHandoffDesktopReconnect.test.tsx�[2m > �[22m�[2man accepted follow-up stored in session storage does not outlive a replaced identity�[2m > �[22m�[2mis dropped when the profile is moved to another endpoint
�[22m�[39mAn update to TaskDetails 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/TaskDetails/index.followupHandoffDesktopReconnect.test.tsx�[2m > �[22m�[2man accepted follow-up stored in session storage does not outlive a replaced identity�[2m > �[22m�[2mis dropped when the profile is moved to another endpoint
�[22m�[39mAn update to TaskDetails 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/TaskDetails/index.followupHandoffDesktopReconnect.test.tsx�[2m > �[22m�[2man accepted follow-up stored in session storage does not outlive a replaced identity�[2m > �[22m�[2mis dropped when the profile is moved to another endpoint
�[22m�[39mAn update to TaskDetails 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/TaskDetails/index.followupHandoffDesktopReconnect.test.tsx�[2m > �[22m�[2man accepted follow-up held in page memory because storage ref… does not outlive a replaced identity�[2m > �[22m�[2mis dropped when the reconnect finds the same profile with a replaced credential
�[22m�[39mAn update to TaskDetails 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

�[90mstdout�[2m | src/desktop/account-switching.integration.test.tsx�[2m > �[22m�[2mpairs two users through the production bridge, fences late A traffic, logs B out offline and preserves identity after reload
�[22m�[39m[SocketContext] Connected to WebSocket server

�[90mstdout�[2m | src/desktop/account-switching.integration.test.tsx�[2m > �[22m�[2mpairs two users through the production bridge, fences late A traffic, logs B out offline and preserves identity after reload
�[22m�[39m[SocketContext] Received task update: { id: �[32m'101'�[39m, username: �[32m'alice'�[39m, avatarUrl: �[1mnull�[22m }

�[90mstderr�[2m | src/components/TaskDetails/index.followupHandoffDesktopReconnect.test.tsx�[2m > �[22m�[2man accepted follow-up held in page memory because storage ref… does not outlive a replaced identity�[2m > �[22m�[2mis dropped on a switch to another profile and stays gone on switching back to the same identity
�[22m�[39mAn update to TaskDetails 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

�[90mstdout�[2m | src/desktop/account-switching.integration.test.tsx�[2m > �[22m�[2mpairs two users through the production bridge, fences late A traffic, logs B out offline and preserves identity after reload
�[22m�[39m[SocketContext] Cleaning up socket connection

�[90mstdout�[2m | src/desktop/account-switching.integration.test.tsx�[2m > �[22m�[2mpairs two users through the production bridge, fences late A traffic, logs B out offline and preserves identity after reload
�[22m�[39m[SocketContext] Connected to WebSocket server

�[90mstderr�[2m | src/desktop/account-switching.integration.test.tsx�[2m > �[22m�[2mpairs two users through the production bridge, fences late A traffic, logs B out offline and preserves identity after reload
�[22m�[39mAn update to SocketProvider 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

�[90mstdout�[2m | src/desktop/account-switching.integration.test.tsx�[2m > �[22m�[2mpairs two users through the production bridge, fences late A traffic, logs B out offline and preserves identity after reload
�[22m�[39m[SocketContext] Received task update: { id: �[32m'202'�[39m, username: �[32m'bob'�[39m, avatarUrl: �[1mnull�[22m }

�[90mstdout�[2m | src/desktop/account-switching.integration.test.tsx�[2m > �[22m�[2mpairs two users through the production bridge, fences late A traffic, logs B out offline and preserves identity after reload
�[22m�[39m[SocketContext] Cleaning up socket connection

�[90mstderr�[2m | src/components/TaskDetails/index.followupHandoffDesktopReconnect.test.tsx�[2m > �[22m�[2man accepted follow-up held in page memory because storage ref… does not outlive a replaced identity�[2m > �[22m�[2mis dropped when the profile is moved to another endpoint
�[22m�[39mAn update to TaskDetails 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/TaskDetails/index.followupHandoffDesktopReconnect.test.tsx�[2m > �[22m�[2man accepted follow-up held in page memory because storage ref… does not outlive a replaced identity�[2m > �[22m�[2mis dropped when the profile is moved to another endpoint
�[22m�[39mAn update to TaskDetails 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/TaskDetails/index.followupHandoffDesktopReconnect.test.tsx�[2m > �[22m�[2man accepted follow-up held in page memory because storage ref… does not outlive a replaced identity�[2m > �[22m�[2mis dropped when the profile is moved to another endpoint
�[22m�[39mAn update to TaskDetails 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/index.followupHandoffDesktopReconnect.test.tsx �[2m(�[22m�[2m14 tests�[22m�[2m)�[22m�[33m 3386�[2mms�[22m�[39m
   �[32m✓�[39m an accepted follow-up stored in session storage survives the Desktop reconnect of the same identity �[2m(3)�[22m
     �[33m�[2m✓�[22m�[39m keeps the starting banner and continues the read-only lookup without posting again�[33m 560�[2mms�[22m�[39m
   �[32m✓�[39m an accepted follow-up held in page memory because storage ref… does not outlive a replaced identity �[2m(3)�[22m
     �[33m�[2m✓�[22m�[39m is dropped on a switch to another profile and stays gone on switching back to the same identity�[33m 307�[2mms�[22m�[39m
 �[32m✓�[39m src/desktop/account-switching.integration.test.tsx �[2m(�[22m�[2m1 test�[22m�[2m)�[22m�[33m 1236�[2mms�[22m�[39m
   �[33m�[2m✓�[22m�[39m pairs two users through the production bridge, fences late A traffic, logs B out offline and preserves identity after reload�[33m 1233�[2mms�[22m�[39m
 �[32m✓�[39m src/hooks/useGenerationPolling.test.tsx �[2m(�[22m�[2m10 tests�[22m�[2m)�[22m�[32m 61�[2mms�[22m�[39m
 �[32m✓�[39m src/pages/inboxUtils.test.ts �[2m(�[22m�[2m26 tests�[22m�[2m)�[22m�[32m 35�[2mms�[22m�[39m
 �[32m✓�[39m src/components/GlobalHeader.desktop.test.tsx �[2m(�[22m�[2m18 tests�[22m�[2m)�[22m�[33m 1934�[2mms�[22m�[39m
   �[32m✓�[39m GlobalHeader desktop toolbar �[2m(18)�[22m
     �[33m�[2m✓�[22m�[39m uses the route action and remaining menu options on /�[33m 460�[2mms�[22m�[39m
 �[32m✓�[39m src/desktop/DesktopExperience.deep-link-presentation.test.tsx �[2m(�[22m�[2m5 tests�[22m�[2m)�[22m�[33m 1086�[2mms�[22m�[39m
   �[33m�[2m✓�[22m�[39m preserves the warm Open account after tunnel presentation with cold delivery after profile loading�[33m 530�[2mms�[22m�[39m
 �[32m✓�[39m src/components/PreviewLightbox.test.tsx �[2m(�[22m�[2m13 tests�[22m�[2m)�[22m�[33m 874�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskList/rowModel.test.ts �[2m(�[22m�[2m19 tests�[22m�[2m)�[22m�[32m 36�[2mms�[22m�[39m
 �[32m✓�[39m src/desktop/DesktopExperience.recovery.test.tsx �[2m(�[22m�[2m16 tests�[22m�[2m)�[22m�[33m 904�[2mms�[22m�[39m
 �[32m✓�[39m src/components/GlobalHeader.nativeSearch.test.tsx �[2m(�[22m�[2m9 tests�[22m�[2m)�[22m�[33m 856�[2mms�[22m�[39m
�[90mstdout�[2m | src/hooks/useHeaderStats.push.test.tsx�[2m > �[22m�[2museHeaderStats pushed changes�[2m > �[22m�[2mdoes not re-read the queue for its subscription snapshot
�[22m�[39m[useHeaderStats] Received changed queue stats, scheduling stats refresh

 �[32m✓�[39m src/components/Layout.desktop.test.tsx �[2m(�[22m�[2m8 tests�[22m�[2m)�[22m�[33m 1165�[2mms�[22m�[39m
   �[32m✓�[39m Layout desktop instance selector �[2m(8)�[22m
     �[33m�[2m✓�[22m�[39m keeps version and copyright on web but out of the desktop sidebar�[33m 416�[2mms�[22m�[39m
 �[32m✓�[39m src/hooks/useHeaderStats.push.test.tsx �[2m(�[22m�[2m6 tests�[22m�[2m)�[22m�[33m 1280�[2mms�[22m�[39m
   �[32m✓�[39m useHeaderStats pushed changes �[2m(6)�[22m
     �[33m�[2m✓�[22m�[39m reads system status when indexing or capacity changes, and nothing else�[33m 362�[2mms�[22m�[39m
     �[33m�[2m✓�[22m�[39m ignores a repeated pushed state for a task it already reconciled�[33m 410�[2mms�[22m�[39m
 �[32m✓�[39m src/desktop/DesktopExperience.discovery.test.tsx �[2m(�[22m�[2m4 tests�[22m�[2m)�[22m�[33m 827�[2mms�[22m�[39m
   �[32m✓�[39m DesktopExperience production Connect discovery pipeline �[2m(4)�[22m
     �[33m�[2m✓�[22m�[39m prefills through main discovery, IPC, preload, and the MacIntel Electron adapter before explicit confirmation�[33m 424�[2mms�[22m�[39m
 �[32m✓�[39m src/desktop/DesktopExperience.authentication.test.tsx �[2m(�[22m�[2m8 tests�[22m�[2m)�[22m�[33m 844�[2mms�[22m�[39m
 �[32m✓�[39m src/hooks/useContextRefresh.test.tsx �[2m(�[22m�[2m8 tests�[22m�[2m)�[22m�[32m 72�[2mms�[22m�[39m
 �[32m✓�[39m src/pages/SettingsPage/AIModelSelectionSection.test.tsx �[2m(�[22m�[2m6 tests�[22m�[2m)�[22m�[33m 634�[2mms�[22m�[39m
   �[32m✓�[39m AIModelSelectionSection �[2m(6)�[22m
     �[33m�[2m✓�[22m�[39m shows the GitHub override label for every reasoning level�[33m 377�[2mms�[22m�[39m
 �[32m✓�[39m src/api/instanceStorageApi.test.ts �[2m(�[22m�[2m9 tests�[22m�[2m)�[22m�[32m 34�[2mms�[22m�[39m
 �[32m✓�[39m src/components/Extensions/AdditionalExtensionsSelector.test.tsx �[2m(�[22m�[2m7 tests�[22m�[2m)�[22m�[33m 546�[2mms�[22m�[39m
   �[32m✓�[39m AdditionalExtensionsSelector �[2m(7)�[22m
     �[33m�[2m✓�[22m�[39m offers matching library items in two lists, marks automatic items, and reports the choice�[33m 301�[2mms�[22m�[39m
 �[32m✓�[39m src/components/Agents/AgentEditor.reloadWhileAttaching.test.tsx �[2m(�[22m�[2m5 tests�[22m�[2m)�[22m�[33m 986�[2mms�[22m�[39m
   �[32m✓�[39m AgentEditor reload while input files change �[2m(5)�[22m
     �[33m�[2m✓�[22m�[39m disables Reload while an input file upload is in flight�[33m 719�[2mms�[22m�[39m
 �[32m✓�[39m src/components/Mcp/McpConnectedAppRow.test.tsx �[2m(�[22m�[2m13 tests�[22m�[2m)�[22m�[33m 807�[2mms�[22m�[39m
 �[32m✓�[39m src/api/voiceApi.test.ts �[2m(�[22m�[2m11 tests�[22m�[2m)�[22m�[32m 217�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskDetails/reviewPromptOverview.test.ts �[2m(�[22m�[2m18 tests�[22m�[2m)�[22m�[32m 42�[2mms�[22m�[39m
 �[32m✓�[39m src/desktop/windowChromeStyles.test.ts �[2m(�[22m�[2m9 tests�[22m�[2m)�[22m�[32m 13�[2mms�[22m�[39m
 �[32m✓�[39m src/pages/SettingsPage/MaintenanceSection.test.tsx �[2m(�[22m�[2m8 tests�[22m�[2m)�[22m�[33m 619�[2mms�[22m�[39m
 �[32m✓�[39m src/pages/LoginPage.oauthUrl.test.tsx �[2m(�[22m�[2m16 tests�[22m�[2m)�[22m�[32m 20�[2mms�[22m�[39m
 �[32m✓�[39m src/components/Agents/AgentEventTriggerSection.test.tsx �[2m(�[22m�[2m8 tests�[22m�[2m)�[22m�[33m 583�[2mms�[22m�[39m
   �[32m✓�[39m automation event trigger �[2m(7)�[22m
     �[33m�[2m✓�[22m�[39m asks for a new filter when the last limited repository was removed�[33m 364�[2mms�[22m�[39m
 �[32m✓�[39m src/components/GlobalHeaderComponents.status.test.tsx �[2m(�[22m�[2m7 tests�[22m�[2m)�[22m�[33m 451�[2mms�[22m�[39m
 �[32m✓�[39m src/components/Dashboard/UsageTipsSection.test.tsx �[2m(�[22m�[2m10 tests�[22m�[2m)�[22m�[33m 1615�[2mms�[22m�[39m
   �[32m✓�[39m usage tips �[2m(10)�[22m
     �[33m�[2m✓�[22m�[39m removes immediately, reuses event ID on bounded retries, and fetches replacements�[33m 326�[2mms�[22m�[39m
     �[33m�[2m✓�[22m�[39m restores a failed dismissal with a retry control using the original event�[33m 843�[2mms�[22m�[39m
�[90mstderr�[2m | src/components/Agents/AgentEditor.templates.test.tsx�[2m > �[22m�[2mAgentEditor templates�[2m > �[22m�[2mopens prefilled from the template named in the link
�[22m�[39mAn update to AgentScopeSection 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 AgentEditor 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 AgentEditor 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/Agents/AgentEditor.templates.test.tsx�[2m > �[22m�[2mAgentEditor templates�[2m > �[22m�[2mopens an empty form for an unknown template
�[22m�[39mAn update to AgentScopeSection 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 AgentEditor 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 AgentEditor 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/Agents/AgentEditor.templates.test.tsx �[2m(�[22m�[2m5 tests�[22m�[2m)�[22m�[33m 1222�[2mms�[22m�[39m
   �[32m✓�[39m AgentEditor templates �[2m(5)�[22m
     �[33m�[2m✓�[22m�[39m prefills the form from a chosen template and creates nothing until the user saves�[33m 891�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskPlanner/PlanIssueQueueNotice.test.tsx �[2m(�[22m�[2m6 tests�[22m�[2m)�[22m�[32m 132�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskPlanner/ExecuteAllBar.test.tsx �[2m(�[22m�[2m14 tests�[22m�[2m)�[22m�[33m 380�[2mms�[22m�[39m
 �[32m✓�[39m src/hooks/useHeaderStats.scope.test.tsx �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[33m 410�[2mms�[22m�[39m
   �[32m✓�[39m useHeaderStats request scope reconciliation �[2m(2)�[22m
     �[33m�[2m✓�[22m�[39m discards an in-flight live read across reconnect and completes the full recovery�[33m 338�[2mms�[22m�[39m
 �[32m✓�[39m src/pages/SettingsPage/ExperimentalSettingsSection.test.tsx �[2m(�[22m�[2m6 tests�[22m�[2m)�[22m�[33m 653�[2mms�[22m�[39m
 �[32m✓�[39m src/pages/LoginPage.hostedOAuthLifecycle.test.tsx �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[33m 437�[2mms�[22m�[39m
�[90mstderr�[2m | src/pages/AgentsPage.breakpoint.test.tsx�[2m > �[22m�[2mAgentsPage across the split breakpoint�[2m > �[22m�[2mkeeps edits to a saved agent when the viewport widens and narrows again without reloading it
�[22m�[39mAn update to AgentScopeSection 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/AgentsPage.breakpoint.test.tsx �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[33m 1154�[2mms�[22m�[39m
   �[32m✓�[39m AgentsPage across the split breakpoint �[2m(2)�[22m
     �[33m�[2m✓�[22m�[39m keeps an unsaved new agent when the viewport narrows and widens again�[33m 917�[2mms�[22m�[39m
 �[32m✓�[39m src/serviceWorkerRegistration.test.ts �[2m(�[22m�[2m11 tests�[22m�[2m)�[22m�[32m 21�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskDetails/TaskHeader.test.tsx �[2m(�[22m�[2m16 tests�[22m�[2m)�[22m�[33m 396�[2mms�[22m�[39m
 �[32m✓�[39m src/api/goals.test.ts �[2m(�[22m�[2m5 tests�[22m�[2m)�[22m�[32m 31�[2mms�[22m�[39m
 �[32m✓�[39m src/hooks/repositoryAutoAssign.test.ts �[2m(�[22m�[2m4 tests�[22m�[2m)�[22m�[32m 10�[2mms�[22m�[39m
�[90mstderr�[2m | src/components/Agents/AgentEditor.fields.test.tsx�[2m > �[22m�[2mAgentEditor fields�[2m > �[22m�[2mpicks autonomy from a segmented control and explains only the chosen mode
�[22m�[39mAn update to AgentScopeSection 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 AgentEditor 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 AgentEditor 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/Repositories/RepoImprovementsReferenceRepo.test.tsx �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[33m 876�[2mms�[22m�[39m
   �[32m✓�[39m Improve tab reference repository �[2m(2)�[22m
     �[33m�[2m✓�[22m�[39m lists other indexed repositories and sends the chosen id with the generate request�[33m 811�[2mms�[22m�[39m
�[90mstderr�[2m | src/components/Agents/AgentEditor.fields.test.tsx�[2m > �[22m�[2mAgentEditor fields�[2m > �[22m�[2mlabels the previous reports checkbox without repeating the field name
�[22m�[39mAn update to AgentScopeSection 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 AgentEditor 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 AgentEditor 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/Agents/AgentEditor.fields.test.tsx �[2m(�[22m�[2m4 tests�[22m�[2m)�[22m�[33m 935�[2mms�[22m�[39m
   �[32m✓�[39m AgentEditor fields �[2m(4)�[22m
     �[33m�[2m✓�[22m�[39m picks autonomy from a segmented control and explains only the chosen mode�[33m 562�[2mms�[22m�[39m
 �[32m✓�[39m src/api/notificationApi.test.ts �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[32m 20�[2mms�[22m�[39m
 �[32m✓�[39m src/api/agentHealthApi.test.ts �[2m(�[22m�[2m4 tests�[22m�[2m)�[22m�[32m 28�[2mms�[22m�[39m
 �[32m✓�[39m src/pages/SettingsPage/SettingsLayout.test.tsx �[2m(�[22m�[2m4 tests�[22m�[2m)�[22m�[33m 313�[2mms�[22m�[39m
 �[32m✓�[39m src/pages/LoginPage.desktopAuthentication.test.tsx �[2m(�[22m�[2m1 test�[22m�[2m)�[22m�[32m 282�[2mms�[22m�[39m
 �[32m✓�[39m src/components/ui/loadingStates.guard.test.ts �[2m(�[22m�[2m40 tests�[22m�[2m)�[22m�[32m 19�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskDetails/useLockTaskScroll.test.tsx �[2m(�[22m�[2m3 tests�[22m�[2m)�[22m�[32m 196�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskDetails/thoughtContent.test.ts �[2m(�[22m�[2m6 tests�[22m�[2m)�[22m�[32m 10�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskPlanner/PlanOverflowMenu.test.tsx �[2m(�[22m�[2m3 tests�[22m�[2m)�[22m�[33m 429�[2mms�[22m�[39m
�[90mstderr�[2m | src/components/TaskPlanner/PlanIssuesManagerToolbar.test.tsx�[2m > �[22m�[2mExecutionOptionsToolbar mobile layout�[2m > �[22m�[2mkeeps the mode switcher and the config button on one non-wrapping row on phones
�[22m�[39mFailed to load the ultrafix defaults: ProprClientError: The ProPR API could not be reached.
    at ProprClient.fetch (/home/runner/work/propr/propr/packages/client/src/client.ts:293:13)
�[90m    at processTicksAndRejections (node:internal/process/task_queues:103:5)�[39m
    at apiFetch �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/api/apiClient.ts:414:34�[90m)�[39m
    at �[90m/home/runner/work/propr/propr/propr-ui/�[39msrc/api/proprApi.ts:120:20 {
  kind: �[32m'network'�[39m,
  status: �[90mundefined�[39m,
  code: �[90mundefined�[39m,
  body: �[90mundefined�[39m,
  cause: TypeError: Failed to parse URL from /api/instance/catalog
  �[90m    at node:internal/deps/undici/undici:15456:13�[39m
  �[90m    at processTicksAndRejections (node:internal/process/task_queues:103:5)�[39m
      at ProprClient.fetch (/home/runner/work/propr/propr/packages/client/src/client.ts:282:14)
      at apiFetch �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/api/apiClient.ts:414:34�[90m)�[39m
      at �[90m/home/runner/work/propr/propr/propr-ui/�[39msrc/api/proprApi.ts:120:20 {
    [cause]: TypeError: Invalid URL
    �[90m    at new URL (node:internal/url:818:25)�[39m
        at new URL (file:///home/runner/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/index.CK-t0WMg.js:1415:2)
    �[90m    at new Request (node:internal/deps/undici/undici:10034:25)�[39m
    �[90m    at fetch (node:internal/deps/undici/undici:10763:25)�[39m
    �[90m    at fetch (node:internal/deps/undici/undici:15454:10)�[39m
    �[90m    at fetch (node:internal/bootstrap/web/exposed-window-or-worker:75:12)�[39m
        at ProprClient.fetchImplementation (/home/runner/work/propr/propr/packages/client/src/client.ts:244:78)
        at ProprClient.fetch (/home/runner/work/propr/propr/packages/client/src/client.ts:282:25)
        at apiFetch �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/api/apiClient.ts:414:54�[90m)�[39m
        at �[90m/home/runner/work/propr/propr/propr-ui/�[39msrc/api/proprApi.ts:120:26 {
      code: �[32m'ERR_INVALID_URL'�[39m,
      input: �[32m'/api/instance/catalog'�[39m
    }
  }
}

�[90mstderr�[2m | src/components/TaskPlanner/PlanIssuesManagerToolbar.test.tsx�[2m > �[22m�[2mExecutionOptionsToolbar mobile layout�[2m > �[22m�[2muses short mode labels and drops the Config label on phones while keeping full accessible names
�[22m�[39mFailed to load the ultrafix defaults: ProprClientError: The ProPR API could not be reached.
    at ProprClient.fetch (/home/runner/work/propr/propr/packages/client/src/client.ts:293:13)
�[90m    at processTicksAndRejections (node:internal/process/task_queues:103:5)�[39m
    at apiFetch �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/api/apiClient.ts:414:34�[90m)�[39m
    at �[90m/home/runner/work/propr/propr/propr-ui/�[39msrc/api/proprApi.ts:120:20 {
  kind: �[32m'network'�[39m,
  status: �[90mundefined�[39m,
  code: �[90mundefined�[39m,
  body: �[90mundefined�[39m,
  cause: TypeError: Failed to parse URL from /api/instance/catalog
  �[90m    at node:internal/deps/undici/undici:15456:13�[39m
  �[90m    at processTicksAndRejections (node:internal/process/task_queues:103:5)�[39m
      at ProprClient.fetch (/home/runner/work/propr/propr/packages/client/src/client.ts:282:14)
      at apiFetch �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/api/apiClient.ts:414:34�[90m)�[39m
      at �[90m/home/runner/work/propr/propr/propr-ui/�[39msrc/api/proprApi.ts:120:20 {
    [cause]: TypeError: Invalid URL
    �[90m    at new URL (node:internal/url:818:25)�[39m
        at new URL (file:///home/runner/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/index.CK-t0WMg.js:1415:2)
    �[90m    at new Request (node:internal/deps/undici/undici:10034:25)�[39m
    �[90m    at fetch (node:internal/deps/undici/undici:10763:25)�[39m
    �[90m    at fetch (node:internal/deps/undici/undici:15454:10)�[39m
    �[90m    at fetch (node:internal/bootstrap/web/exposed-window-or-worker:75:12)�[39m
        at ProprClient.fetchImplementation (/home/runner/work/propr/propr/packages/client/src/client.ts:244:78)
        at ProprClient.fetch (/home/runner/work/propr/propr/packages/client/src/client.ts:282:25)
        at apiFetch �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/api/apiClient.ts:414:54�[90m)�[39m
        at �[90m/home/runner/work/propr/propr/propr-ui/�[39msrc/api/proprApi.ts:120:26 {
      code: �[32m'ERR_INVALID_URL'�[39m,
      input: �[32m'/api/instance/catalog'�[39m
    }
  }
}

 �[32m✓�[39m src/components/TaskPlanner/PlanIssuesManagerToolbar.test.tsx �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[32m 292�[2mms�[22m�[39m
 �[32m✓�[39m src/pages/SettingsPage/ManagedPreviewStorageSection.test.tsx �[2m(�[22m�[2m4 tests�[22m�[2m)�[22m�[32m 281�[2mms�[22m�[39m
 �[32m✓�[39m src/components/AIActivityMonitor.test.tsx �[2m(�[22m�[2m5 tests�[22m�[2m)�[22m�[33m 415�[2mms�[22m�[39m
 �[32m✓�[39m src/desktop/electronAdapters.localSetup.test.ts �[2m(�[22m�[2m3 tests�[22m�[2m)�[22m�[32m 10�[2mms�[22m�[39m
�[90mstderr�[2m | src/components/GlobalSearch.loading.test.tsx�[2m > �[22m�[2mGlobalSearch loading states�[2m > �[22m�[2mrenders a search failure as an error rather than an empty result
�[22m�[39mSearch failed: Error: Search unavailable
    at �[90m/home/runner/work/propr/propr/propr-ui/�[39msrc/components/GlobalSearch.loading.test.tsx:49:44
    at file:///home/runner/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/run.BPv-BBRv.js:1632:35
    at file:///home/runner/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/run.BPv-BBRv.js:2801:26
    at file:///home/runner/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/run.BPv-BBRv.js:3338:20
    at new Promise (<anonymous>)
    at runWithCancel (file:///home/runner/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/run.BPv-BBRv.js:3333:10)
    at file:///home/runner/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/run.BPv-BBRv.js:3318:20
    at new Promise (<anonymous>)
    at runWithTimeout (file:///home/runner/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/run.BPv-BBRv.js:3276:10)
    at file:///home/runner/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/run.BPv-BBRv.js:3904:64

 �[32m✓�[39m src/components/GlobalSearch.loading.test.tsx �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[33m 844�[2mms�[22m�[39m
   �[32m✓�[39m GlobalSearch loading states �[2m(2)�[22m
     �[33m�[2m✓�[22m�[39m waits for successful task and plan reads before showing no results�[33m 496�[2mms�[22m�[39m
     �[33m�[2m✓�[22m�[39m renders a search failure as an error rather than an empty result�[33m 344�[2mms�[22m�[39m
 �[32m✓�[39m src/components/Dashboard/sectionState.visibility.test.tsx �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[32m 35�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskPlanner/ExecutionConfigPopover.test.tsx �[2m(�[22m�[2m4 tests�[22m�[2m)�[22m�[32m 294�[2mms�[22m�[39m
 �[32m✓�[39m src/components/Repositories/RepoTodos/TodoIssueLink.test.tsx �[2m(�[22m�[2m4 tests�[22m�[2m)�[22m�[33m 322�[2mms�[22m�[39m
 �[32m✓�[39m src/config/runtimeMode.test.ts �[2m(�[22m�[2m6 tests�[22m�[2m)�[22m�[32m 21�[2mms�[22m�[39m
 �[32m✓�[39m src/pages/PlanStudioPage.notificationIntent.test.tsx �[2m(�[22m�[2m3 tests�[22m�[2m)�[22m�[32m 70�[2mms�[22m�[39m
 �[32m✓�[39m src/desktop/preloadWindowFrame.test.ts �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[32m 13�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskPlanner/approvedPlanFooterStats.test.ts �[2m(�[22m�[2m6 tests�[22m�[2m)�[22m�[32m 7�[2mms�[22m�[39m
 �[32m✓�[39m src/App.invalidConfiguration.test.tsx �[2m(�[22m�[2m4 tests�[22m�[2m)�[22m�[33m 2079�[2mms�[22m�[39m
   �[32m✓�[39m invalid eager API configuration �[2m(4)�[22m
     �[33m�[2m✓�[22m�[39m renders a bounded safe connection screen without leaking configured input�[33m 1583�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskPlanner/TaskTimeline.test.tsx �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[32m 291�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskList/ReferenceChips.test.tsx �[2m(�[22m�[2m4 tests�[22m�[2m)�[22m�[32m 52�[2mms�[22m�[39m
 �[32m✓�[39m src/components/AgentTankDetectionBanner.test.tsx �[2m(�[22m�[2m3 tests�[22m�[2m)�[22m�[32m 77�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskDetails/logSearch.test.ts �[2m(�[22m�[2m16 tests�[22m�[2m)�[22m�[32m 13�[2mms�[22m�[39m
 �[32m✓�[39m src/api/taskPathEncoding.test.ts �[2m(�[22m�[2m1 test�[22m�[2m)�[22m�[32m 13�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskPlanner/TaskPrerequisites.test.tsx �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[32m 69�[2mms�[22m�[39m
 �[32m✓�[39m src/hooks/headerStatsRequestCoordinator.test.ts �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[32m 7�[2mms�[22m�[39m
 �[32m✓�[39m src/hooks/useDesktopLayout.test.tsx �[2m(�[22m�[2m1 test�[22m�[2m)�[22m�[32m 29�[2mms�[22m�[39m
 �[32m✓�[39m src/api/previewStorageApi.test.ts �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[32m 11�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskPlanner/AgentModelSelectorParts.responsive.test.tsx �[2m(�[22m�[2m1 test�[22m�[2m)�[22m�[32m 62�[2mms�[22m�[39m
 �[32m✓�[39m src/components/ui/SystemAlert.test.tsx �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[32m 185�[2mms�[22m�[39m
 �[32m✓�[39m src/components/creationActions.test.ts �[2m(�[22m�[2m24 tests�[22m�[2m)�[22m�[32m 23�[2mms�[22m�[39m
 �[32m✓�[39m src/pages/SettingsPage/SettingsSaveStatusBar.test.tsx �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[32m 211�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskDetails/apiDataGuards.test.ts �[2m(�[22m�[2m1 test�[22m�[2m)�[22m�[32m 5�[2mms�[22m�[39m
 �[32m✓�[39m src/components/AppViewport.test.tsx �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[32m 25�[2mms�[22m�[39m

�[2m Test Files �[22m �[1m�[32m89 passed�[39m�[22m�[90m (89)�[39m
�[2m      Tests �[22m �[1m�[32m858 passed�[39m�[22m�[90m (858)�[39m
�[2m   Start at �[22m 03:15:58
�[2m   Duration �[22m 105.72s�[2m (environment 41%, tests 29%, import 16%, setup 8%, transform 5%)�[22m

�[2mEnvironment �[22m �[33mjsdom was created 89 times�[39m�[2m · 80.44s total, 41% 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


> [email protected] posttest
> npm run test:docker-context


> [email protected] test:docker-context
> node --test scripts/docker-context-inputs.test.mjs

TAP version 13
# Subtest: focused UI selectors are forwarded only to Vitest
ok 1 - focused UI selectors are forwarded only to Vitest
  ---
  duration_ms: 0.969792
  type: 'test'
  ...
# Subtest: the UI Docker context contains its complete non-type external source import closure
ok 2 - the UI Docker context contains its complete non-type external source import closure
  ---
  duration_ms: 66.859284
  type: 'test'
  ...
1..2
# tests 2
# suites 0
# pass 2
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 128.238779
[272/272] passed propr-ui#2/4 (workspace test script) in 106.6s

### Shard 1/4: 271/272 passed in 1315.4s

Assigned 272 of 1087 discovered units.

| Duration | Status | Unit |
| ---: | --- | --- |
| 106.6s | passed | `propr-ui#2/4` (workspace) |
| 63.2s | passed | `test/worktreeLifecycle.integration.test.ts` |
| 59.3s | passed | `packages/api/test/mcpPublishPlan.test.ts` |
| 55.3s | passed | `packages/api/test/planRevisions.test.ts` |
| 54.7s | passed | `test/agentRunUnproductiveStreakRecovery.test.ts` |
| 52.4s | passed | `test/agentAutonomy.test.ts` |
| 41.4s | passed | `test/agentRunStore.test.ts` |
| 41.4s | passed | `test/agentRunProductivity.test.ts` |
| 40.8s | passed | `packages/api/test/taskFollowupIssueQueueRestarts.test.ts` |
| 32.1s | passed | `packages/core/test/relevanceServiceCommit.test.ts` |
| 24.3s | passed | `packages/api/test/mcpDeletePlan.test.ts` |
| 23.6s | passed | `test/connectCliIntegration.test.ts` |
| 22.0s | passed | `test/prPublicationRecoveryJob.test.ts` |
| 21.9s | passed | `test/daemon.test.ts` |
| 17.9s | passed | `packages/cli/src/projectOptions.cli.test.ts` |


1/272 test runs failed in shard 1/4 after 1315.4s:
- packages/api/test/mcpWorkflows.test.ts: exit 1

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

View Workflow
View uploaded artifacts

@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/

@propr-dev

propr-dev Bot commented Nov 17, 2026

Copy link
Copy Markdown
Contributor Author

CI failed: Full Test Suite Shard 1/4

Please investigate and fix this CI failure.

  • Check: Full Test Suite Shard 1/4
  • Result: failure
  • Commit: cdaf8f9ccf9d (cdaf8f9ccf9d2544413973a852ff7915b7fecd4a)
  • Details: View CI failure

Failure evidence

.github:11
Process completed with exit code 1.

.github:45389
Process completed with exit code 1.

.github:2
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. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/

@propr-dev

propr-dev Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ Applied the requested follow-up changes in commit 602f9a6

Processed 2 comments:

Summary of Changes

I fixed the shard 1 failure, which was the only thing failing. The "Run Full Test Suite" check fails whenever a shard fails, so it should clear too.

Cause: packages/api/test/mcpWorkflows.test.ts failed at create_todo_category with GITHUB_REAUTH_REQUIRED. The MCP TODO tools call the existing TODO route handlers. On this branch those handlers run the new repository-scope resolver, which checks GitHub access a second time with a new client built from the caller's raw token. In the test that token is a placeholder, so the request went to the real GitHub, got rejected, and was reported as an expired sign-in. In production the token would be real, so it would have worked there, just with one extra GitHub call.

Fix (packages/api/mcp/tools.ts): the MCP tool list now gives the TODO routes a resolver made with createRepositoryScopeResolver({ checksGitHubAccess: () => false }). Before any tool runs, MCP dispatch (packages/api/mcp/toolExecution.ts:145) already checks the repository argument against the grant, the configured repositories and GitHub, using the grant's own verified GitHub client. Every TODO tool requires that argument, so this skips only the duplicate GitHub check. The route still matches the name against configured repositories and uses the configured spelling. No other route reached through MCP uses the resolver; the browser routes still use the full check.

Verification:

  • mcpWorkflows.test.ts passes with the fix. With the HEAD version of tools.ts swapped back in, it fails with the same GITHUB_REAUTH_REQUIRED error as CI.
  • All 55 packages/api/test/mcp*.test.ts suites pass. The first full run stopped after 23 because the container's disk was full (a shared cache filled it, not these tests); the other 32 passed once space freed up.
  • Lint (zero warnings) and the packages/api typecheck pass.

I didn't make visual previews because nothing on screen changes.

Review digest

Risk-tiered paths

  • High risk: none
  • Normal risk (1 file)
    • packages/api/mcp/tools.ts (+4/−1)
  • Low risk: none

Validation evidence

  • No repository validation commands ran.

Diff size: 1 file changed, +4/−1 lines


🤖 Implementation Details

  • Model: Claude Opus 5.5 (medium)
  • Requested By: @propr-dev[bot]
  • Time: 17m 59s
  • Tokens: 2,526,076 (2,516,906 in / 9,170 out)
  • Cost: $1.06

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: 6937186531✓, 6937187475✓

…ng. The "Run Full Test Suite" check fails whenever a shard fails, so it should clear too.

I fixed the shard 1 failure, which was the only thing failing. The "Run Full Test Suite" check fails whenever a shard fails, so it should clear too.

**Cause:** `packages/api/test/mcpWorkflows.test.ts` failed at `create_todo_category` with `GITHUB_REAUTH_REQUIRED`. The MCP TODO tools call the existing TODO route handlers. On this branch those handlers run the new repository-scope resolver, which checks GitHub access a second time with a new client built from the caller's raw token. In the test that token is a placeholder, so the request went to the real GitHub, got rejected, and was reported as an expired sign-in. In production the token would be real, so it would have worked there, just with one extra GitHub call.

**Fix (`packages/api/mcp/tools.ts`):** the MCP tool list now gives the TODO routes a resolver made with `createRepositoryScopeResolver({ checksGitHubAccess: () => false })`. Before any tool runs, MCP dispatch (`packages/api/mcp/toolExecution.ts:145`) already checks the `repository` argument against the grant, the configured repositories and GitHub, using the grant's own verified GitHub client. Every TODO tool requires that argument, so this skips only the duplicate GitHub check. The route still matches the name against configured repositories and uses the configured spelling. No other route reached through MCP uses the resolver; the browser routes still use the full check.

**Verification:**
- `mcpWorkflows.test.ts` passes with the fix. With the HEAD version of `tools.ts` swapped back in, it fails with the same `GITHUB_REAUTH_REQUIRED` error as CI.
- All 55 `packages/api/test/mcp*.test.ts` suites pass. The first full run stopped after 23 because the container's disk was full (a shared cache filled it, not these tests); the other 32 passed once space freed up.
- Lint (zero warnings) and the `packages/api` typecheck pass.

I didn't make visual previews because nothing on screen changes.

PR: #3632
Comment by: @propr-dev[bot] (ID: 6937186531)
Comment by: @propr-dev[bot] (ID: 6937187475)
Model: Claude Opus 5.5
@propr-dev

propr-dev Bot commented Nov 17, 2026

Copy link
Copy Markdown
Contributor Author

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

Overall Evaluation

The PR centralizes repository resolution, restricts readiness evaluation, removes goal host paths, and bounds list requests. It needs minor changes before merge: the readiness response does not enforce the promised repository spelling, and the UI silently stops loading goals after 10,000 entries.

✅ Configuration checked first — The resolver rejects unknown and disabled readiness repositories before verifying GitHub access or invoking the evaluator.

✅ Host-path removal — The shared goal projection removes worktreePath, with assertions covering both list and detail responses.

✅ Passing current checks — The authoritative status reports 35 passed checks and no failures or pending checks.

This review uses static analysis of the supplied code; no commands were run.

Merge blockers

Every finding below was introduced by this PR and must be resolved before merging.

F1: 🔴 Readiness does not preserve configured spelling

  • Category: requirement

  • Required behavior: Readiness responses must echo the configured repository name.

  • Evidence: packages/api/routes/pullRequestReadinessRoutes.ts:getReadiness — the response forwards the evaluator result unchanged.

    1. Configure an enabled repository as Acme/App, while GitHub identifies it as acme/app.
    2. Request readiness with valid caller access. The new resolver correctly returns Acme/App and passes that spelling to the evaluator.
    3. The core evaluator reads the pull request and derives its repository identity from GitHub’s returned owner and repository, as shown in pullRequestReadiness.ts:245–249.
    4. The route sends the evaluator result directly, without applying the configured identity to the response. Consequently, the promised configured spelling is not enforced.

    static trace: The route canonicalizes the evaluator’s input but does not canonicalize its output. The added test substitutes an evaluator that simply echoes its inputs, so it does not exercise the production identity replacement.

  • Minimum fix: Preserve the evaluator’s internal GitHub identity handling, but override the returned response’s repository with the resolved configured name. Add a regression where the evaluator returns different capitalization.

F2: 🔴 Goal pagination silently drops remaining goals

  • Category: correctness

  • Required behavior: The web console must continue showing every goal after the API introduces bounded pages.

  • Evidence: propr-ui/src/api/goals.ts:listGoals, GOAL_LIST_MAX_PAGES — the page walk stops after 50 requests and returns an ordinary successful result.

    1. A caller has 10,001 goals, and the server returns valid pages of 200 with advancing nextOffset values.
    2. listGoals fetches 50 pages and collects 10,000 goals.
    3. Although the last response still supplies a continuation offset, the loop exits because page reaches GOAL_LIST_MAX_PAGES.
    4. The function returns the incomplete collection as complete. GoalsPage derives its visible goals, repository options, and counts exclusively from that collection, leaving the remaining goal inaccessible through the list.

    static trace: The fixed loop bound causes this outcome without any server misbehavior. Deduplication and increasing-offset checks do not recover omitted pages, and the added two-page test does not cover exhaustion of the bound.

  • Minimum fix: Continue through valid advancing pages until nextOffset is absent or null. If retaining a request budget, expose and support continuation instead of returning a partial collection as the complete list.

Suggestions

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

S1: 🟢 Exercise mixed repository storage

The route tests configure and store integry/propr, then vary request capitalization. Additional cases with different configured and stored capitalization would strengthen coverage of the shared resolver’s downstream queries, particularly cost, tasks, and dashboard reads that retain direct equality comparisons. This is optional coverage expansion; the supplied context does not establish the relevant database column collations sufficiently to classify those comparisons as defects.

Score

The shared implementation and passing checks provide a solid foundation, but two localized contract failures remain. Correcting them would bring the change substantially closer to merge readiness.

Score: 6/10


🤖 Review Details

  • Model: GPT-6 Astra
  • Time: 58s
  • Tokens: 90,408 (89,139 in / 1,269 out)
  • Cost: $0.85

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 F1 F2 S1

🤖 Review by ProPR

@propr-dev

propr-dev Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ Applied the requested follow-up changes in commit 29b06c0

Addressed 1 AI review comment (IDs: 6937992471)

Addressed findings F1, F2

Summary of Changes

I fixed both findings, and the new tests pass.

F1: Readiness keeps the configured spelling. In packages/api/routes/pullRequestReadinessRoutes.ts, the route now takes the evaluator's result and replaces its repository with the configured name before sending it. The evaluator itself is unchanged, so its internal reads still use GitHub's spelling. In the new test, the repository is configured as Acme/App, requested as acme/APP, and the evaluator reports acme/app, the way the real one does. The response must say Acme/App. That test fails against the previous route and passes now; the whole readiness suite passes (6/6).

F2: The goal list no longer stops at 50 pages. propr-ui/src/api/goals.ts now keeps fetching pages until the server sends no nextOffset, so a page cap can no longer return part of the list. I replaced the cap with a different safeguard: if the server sends a continuation that doesn't move forward, or one that follows an empty page, the read fails with an error instead of returning a partial list as if it were complete. The server only sends a continuation after a full page, so neither case happens in normal use. New tests:

  • 51 pages (10,001 goals) all arrive, in latest-update order.
  • Both bad continuations make the read fail.

The goal tests and the goals page tests pass (73/73). The UI and API typechecks and lint are clean.

Separate from these findings: the MCP tool get_pull_request_readiness (packages/api/mcp/toolsPullRequests.ts) also passes the evaluator's result through unchanged, so it reports GitHub's spelling. This PR didn't change that code and nothing promises the configured name there, so I left it alone.

The UI looks the same, so I made no visual previews.

Review digest

Risk-tiered paths

  • High risk: none
  • Normal risk (2 files)
    • packages/api/routes/pullRequestReadinessRoutes.ts (+3/−1)
    • propr-ui/src/api/goals.ts (+13/−6)
  • Low risk (2 files)
    • packages/api/test/pullRequestReadinessRoutes.test.ts (+17/−0)
    • propr-ui/src/api/goals.test.ts (+28/−0)

Validation evidence

  • No repository validation commands ran.

Diff size: 4 files changed, +61/−7 lines


🤖 Implementation Details

  • Model: Claude Opus 5.5 (medium)
  • Requested By: @propr-ultrafix
  • Time: 5m 58s
  • Tokens: 979,012 (972,845 in / 6,167 out)
  • Cost: $0.59

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

I fixed both findings, and the new tests pass.

**F1: Readiness keeps the configured spelling.** In `packages/api/routes/pullRequestReadinessRoutes.ts`, the route now takes the evaluator's result and replaces its `repository` with the configured name before sending it. The evaluator itself is unchanged, so its internal reads still use GitHub's spelling. In the new test, the repository is configured as `Acme/App`, requested as `acme/APP`, and the evaluator reports `acme/app`, the way the real one does. The response must say `Acme/App`. That test fails against the previous route and passes now; the whole readiness suite passes (6/6).

**F2: The goal list no longer stops at 50 pages.** `propr-ui/src/api/goals.ts` now keeps fetching pages until the server sends no `nextOffset`, so a page cap can no longer return part of the list. I replaced the cap with a different safeguard: if the server sends a continuation that doesn't move forward, or one that follows an empty page, the read fails with an error instead of returning a partial list as if it were complete. The server only sends a continuation after a full page, so neither case happens in normal use. New tests:
- 51 pages (10,001 goals) all arrive, in latest-update order.
- Both bad continuations make the read fail.

The goal tests and the goals page tests pass (73/73). The UI and API typechecks and lint are clean.

**Separate from these findings:** the MCP tool `get_pull_request_readiness` (`packages/api/mcp/toolsPullRequests.ts`) also passes the evaluator's result through unchanged, so it reports GitHub's spelling. This PR didn't change that code and nothing promises the configured name there, so I left it alone.

The UI looks the same, so I made no visual previews.

PR: #3632
Comment by: @propr-ultrafix (ID: 0)
Model: Claude Opus 5.5
@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

The PR centralizes repository validation, restricts readiness evaluation, removes goal host paths, and bounds list requests. It needs a localized correction before merge.

✅ Readiness scope enforcement — Unconfigured and disabled repositories are rejected before access verification or readiness evaluation.

✅ Host-path removal — The shared goal projection removes worktreePath, with list and detail assertions covering the change.

✅ Explicit UI pagination — The goal client follows continuation offsets and rejects nonadvancing or empty-page continuations.

This is a static review of the supplied code; no commands were run. Current checks show no failures and four pending checks.

Merge blockers

Every finding below was introduced by this PR and must be resolved before merging.

F3: 🔴 Use the resolved media repository

  • Category: requirement

  • Required behavior: Repository filters must resolve to the configured spelling and use that resolved identity for downstream queries.

  • Evidence: packages/api/routes/repositoryMediaRoutes.ts:20 — getMedia discards the successful resolution result.

    1. A caller requests a configured repository using different capitalization.
    2. repositoryScopeOrRespond successfully returns the configured spelling.
    3. The added expression checks only whether that result is null; the existing repository variable remains unchanged.
    4. Subsequent media processing still receives the earlier spelling, including reader.enabledRepositories([repository]).

    static trace: Unlike the changed task, cost, planner, and dashboard handlers, this handler uses the resolver only as an access gate. Thus the media route does not implement the promised canonical-identity propagation. Its new route test covers an unknown repository but does not test successful resolution with different capitalization. This finding concerns that explicit implementation gap; it does not assume unseen database collation behavior.

  • Minimum fix: Capture the resolved repository and use it for subsequent media queries and projections. For the preview-policy membership check, use its lowercase form because enabledRepositories returns lowercase keys. Add a successful mixed-capitalization media test.

Suggestions

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

S2: 🟢 Exercise different stored capitalization

The new route fixtures generally use the same spelling for configuration and stored records. Additional cases with mixed-case configuration and differently capitalized historical rows would help verify the intended behavior across cost, task, dashboard, and goal readers. This is optional additional coverage; the supplied excerpts do not establish the underlying column collations sufficiently to report those readers as defective.

Score

The implementation is largely coherent and has targeted coverage, but the media integration leaves an explicit requirement incomplete. Current checks have no failures, with four still pending.

Score: 6/10


🤖 Review Details

  • Model: GPT-6 Astra
  • Time: 1m 4s
  • Tokens: 91,563 (90,475 in / 1,088 out)
  • Cost: $0.83

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 F3 S2

🤖 Review by ProPR

@propr-dev

propr-dev Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ Applied the requested follow-up changes in commit 4a7bbff

Addressed 1 AI review comment (IDs: 6938470366)

Addressed finding F3

Summary of Changes

I fixed F3: the media route now uses the repository name the resolver returns instead of just checking that one came back. The new test passes, and it fails when run against the old route code.

The fix (packages/api/routes/repositoryMediaRoutes.ts)

  • The route keeps the configured spelling the resolver returns (for example Integry/ProPR).
  • That spelling is passed to reader.enabledRepositories. The membership check uses its lowercase form, because that function returns lowercase keys.
  • The tasks and goals lookups match on the lowercase form against LOWER(repository), so stored rows are found whatever capitalization they were saved with.
  • The preview sources handed to reader.project carry the configured spelling, not whatever spelling the row was stored under. The goal-artifact URL check still compares against the stored row's own name, since that is what the stored URL contains.

The new test (packages/api/test/repositoryScopeRoutes.test.ts)
It configures the repository as Integry/ProPR and requests INTEGRY/propr, while the task row is stored as integry/propr. It asserts:

  • the preview-policy check receives ['Integry/ProPR'].
  • the stored lowercase task is found and projected as { repository: 'Integry/ProPR', prNumbers: [3583] }.
  • the previews are returned.

Checks

  • repositoryScopeRoutes.test.ts and previewMediaProjection.test.ts pass.
  • With the route swapped back to the HEAD version, the new test fails.
  • ESLint with zero warnings and tsc --noEmit both pass for packages/api.

Other routes: I looked at every other place that calls the resolver: readiness, to-dos, tasks, cost, review scores, dashboard, stats, goals and planner. They all keep and use the resolved name, so the media route was the only one with this gap. I found nothing else outside F3's scope.

There is no visual change, so I made no previews.

Review digest

Risk-tiered paths

  • High risk: none
  • Normal risk (1 file)
    • packages/api/routes/repositoryMediaRoutes.ts (+10/−5)
  • Low risk (1 file)
    • packages/api/test/repositoryScopeRoutes.test.ts (+25/−0)

Validation evidence

  • No repository validation commands ran.

Diff size: 2 files changed, +35/−5 lines


🤖 Implementation Details

  • Model: Claude Opus 5.5 (medium)
  • Requested By: @propr-ultrafix
  • Time: 4m 50s
  • Tokens: 730,969 (726,072 in / 4,897 out)
  • Cost: $0.50
  • Subscription usage: Weekly +1%

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

…e resolver returns instead of just checking that one came back. The new test passes, and it fails when run against the old route code.

I fixed F3: the media route now uses the repository name the resolver returns instead of just checking that one came back. The new test passes, and it fails when run against the old route code.

**The fix (`packages/api/routes/repositoryMediaRoutes.ts`)**
- The route keeps the configured spelling the resolver returns (for example `Integry/ProPR`).
- That spelling is passed to `reader.enabledRepositories`. The membership check uses its lowercase form, because that function returns lowercase keys.
- The `tasks` and `goals` lookups match on the lowercase form against `LOWER(repository)`, so stored rows are found whatever capitalization they were saved with.
- The preview sources handed to `reader.project` carry the configured spelling, not whatever spelling the row was stored under. The goal-artifact URL check still compares against the stored row's own name, since that is what the stored URL contains.

**The new test (`packages/api/test/repositoryScopeRoutes.test.ts`)**
It configures the repository as `Integry/ProPR` and requests `INTEGRY/propr`, while the task row is stored as `integry/propr`. It asserts:
- the preview-policy check receives `['Integry/ProPR']`.
- the stored lowercase task is found and projected as `{ repository: 'Integry/ProPR', prNumbers: [3583] }`.
- the previews are returned.

**Checks**
- `repositoryScopeRoutes.test.ts` and `previewMediaProjection.test.ts` pass.
- With the route swapped back to the HEAD version, the new test fails.
- ESLint with zero warnings and `tsc --noEmit` both pass for `packages/api`.

**Other routes:** I looked at every other place that calls the resolver: readiness, to-dos, tasks, cost, review scores, dashboard, stats, goals and planner. They all keep and use the resolved name, so the media route was the only one with this gap. I found nothing else outside F3's scope.

There is no visual change, so I made no previews.

PR: #3632
Comment by: @propr-ultrafix (ID: 0)
Model: Claude Opus 5.5
@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

🔀 Resolved merge conflicts from 3616-epic-0-9-d8b into 3618/claude-opus-5-5-api-pr-readiness-answers--20261117-0149-a7q in commit eb95cbd

Conflicting Files

  • CHANGELOG.md
  • packages/api/mcp/tools.ts

Resolution Summary

I resolved both conflicts. No conflict markers are left anywhere in the repository, and the API package typechecks cleanly (tsc --noEmit exits 0 with no output). I didn't run any test suites.

1. packages/api/mcp/tools.ts: how the MCP tool catalog builds two route handlers

What conflicted: Both branches edited the same two lines, but each changed a different part:

  • This PR passes the to-do routes a repository resolver that skips the GitHub access check, because MCP dispatch has already checked the caller's access. It also adds a comment explaining why.
  • 3616-epic-0-9-d8b passes redisClient and taskQueue to the file-changes routes. These let the route check live task state before answering 404 for a task id ProPR doesn't know.

How I resolved it: I kept both changes:

const changes = createFileChangesRoutes({ db, normalizeJobReferences: false, redisClient, taskQueue });
// Dispatch already proved the caller's repository access ...
const todos = createRepoTodoRoutes({ repositoryScope: createRepositoryScopeResolver({ checksGitHubAccess: () => false }) });

Why: The two edits don't overlap in behaviour, so keeping both loses nothing. Taking either side alone would have dropped the PR's repository scoping for MCP to-dos or the epic branch's 404 handling. Both are supported by the current code: the file-changes routes accept the two new optional fields, the to-do routes accept a repositoryScope option, and the resolver is already imported.

2. CHANGELOG.md: the "Fixed" section

What conflicted: Each branch added entries at the top of the same section.

  • This PR: "Repository filters only reach repositories this instance configures" and "Goals no longer expose host paths".
  • 3616-epic-0-9-d8b: "API errors are JSON, with basic security headers".

How I resolved it: I kept all three entries, with the PR's two first and the epic branch's entry after them. The entries below them, starting with "Connected apps page shows a full page of apps", are unchanged.

Why: These describe separate fixes that will ship in the same release, so all three belong in the changelog.


🤖 Resolution Details

  • Model: Claude Opus 5.5
  • Time: 6m 42s

View Task Execution


System-triggered merge conflict resolution

…-5-5-api-pr-readiness-answers--20261117-0149-a7q

Automatically resolved merge conflicts after merging target branch into PR branch.
Resolved conflicts in:
- CHANGELOG.md
- packages/api/mcp/tools.ts

PR: #3632
Model: Claude Opus 5.5
@propr-dev

propr-dev Bot commented Nov 17, 2026

Copy link
Copy Markdown
Contributor Author

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

Overall Evaluation

The PR centralizes repository resolution, restricts readiness evaluation, removes goal host paths, and bounds list requests. It needs a localized correction before merge: canonicalizing a filter does not consistently make the underlying database lookup case-insensitive.

✅ Readiness gating — Unconfigured and disabled repositories are rejected before access verification or readiness evaluation.

✅ Host-path removal — The shared goal projection removes worktreePath, with list and detail assertions covering the change.

✅ Pagination handling — The UI follows goal continuations and rejects non-advancing or empty-page continuations.

Current-head checks report 35 passed and 12 neutral/skipped, with no failures. This review used static inspection only; no commands were run.

Merge blockers

Every finding below was introduced by this PR and must be resolved before merging.

F4: 🔴 Match cost records independently of configured capitalization

  • Category: correctness

  • Required behavior: Repository filters must find the repository’s existing records regardless of capitalization, without rewriting stored names.

  • Evidence: packages/api/routes/costExport.ts:readExport and executionRows.

    1. Configure a repository as Integry/ProPR, while existing task records contain integry/propr.
    2. Request /api/stats/cost?repository=integry/propr. The newly added resolver replaces the requested spelling with Integry/ProPR.
    3. executionRows applies query.where('t.repository', scope.repository) without case normalization or an explicit case-insensitive comparison.
    4. With a case-sensitive repository column, matching executions disappear: JSON returns empty rows and zero executions, and the CSV endpoint exports only its header. Even supplying the exact stored spelling cannot recover those records because the resolver replaces it.

    static trace: the supplied complete cost-export implementation passes the canonical spelling directly into the equality predicate. Repository validation and GitHub access verification do not change SQL matching. The added cost test uses lowercase configuration and lowercase stored records, so it does not exercise this mismatch. Column collation is not supplied; this failure depends on the column using case-sensitive comparison, which should be verified before treating this finding as confirmed.

  • Minimum fix: Ensure the single-repository cost predicate compares case-insensitively, while preserving the configured spelling in response metadata; cover mixed-case configuration against differently capitalized stored rows for JSON and CSV.

Suggestions

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

S3: 🟢 Broaden capitalization fixtures

Use mixed-case configured names and differently capitalized stored records across the route tests. Most new fixtures vary only the request spelling, which verifies resolver behavior but cannot establish that downstream queries preserve historical records. The media test already provides a useful example.

Score

The implementation has useful shared validation and green checks, but the cost-query capitalization concern requires verification and potentially a small correction before merge.

Score: 6/10


🤖 Review Details

  • Model: GPT-6 Astra
  • Time: 1m 54s
  • Tokens: 88,203 (87,220 in / 983 out)
  • Cost: $0.79

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 F4 S3

🤖 Review by ProPR

@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

The PR centralizes repository resolution, restricts readiness evaluation, removes host paths, and bounds list requests. It needs a localized pagination correction before merge. This review used the supplied code only; no commands were run. Current-head checks report no failures.

✅ Readiness scope enforcement — Unconfigured and disabled repositories are rejected before GitHub access checks or readiness evaluation.

✅ Host-path removal — The shared goal projection removes worktreePath, with assertions covering list and detail responses.

Merge blockers

Every finding below was introduced by this PR and must be resolved before merging.

F5: 🔴 Preserve ordering across default goal pages

  • Category: correctness

  • Required behavior: The new default 50-goal page must support following nextOffset without omitting matching goals.

  • Evidence: packages/api/routes/goalRoutes.ts:parseGoalListQuery, packages/api/routes/goalRoutes.ts:list, and packages/api/test/goalCliRoutes.test.ts — default and explicit pages use different ordering modes.

    1. A caller has 51 goals, G1 through G51 in creation order. G1 was updated most recently; the remaining goals’ update order matches creation order.
    2. GET /api/goals now returns 50 goals in recency order: G1, G51, …, G3. paginated remains false because neither paging parameter was supplied.
    3. Following the returned continuation with offset=50 makes paginated true. The explicit-page creation ordering places G1 at offset 50.
    4. The caller receives G1 twice and never receives G2.

    static trace: The changed parser retains the distinction based on parameter presence while reducing the default limit. The supplied goal route tests explicitly establish recency ordering for implicit reads and creation ordering for explicit pages. Existing tests cover those modes separately, but never continue an implicit first page. The updated UI avoids this sequence by supplying explicit parameters initially; other API consumers following the documented default-page continuation do not.

  • Minimum fix: Use the same deterministic ordering for the implicit first page and its continuations. Add a regression that follows nextOffset from a parameterless request with more than 50 goals whose creation and update orders differ.

Suggestions

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

S4: 🟢 Expand stored-capitalization coverage

Add fixtures where configured and stored repository spellings differ for cost, task, and dashboard reads. The new route tests generally align configuration and stored names, whereas the media test deliberately varies them. This would help distinguish input normalization from database matching; it is optional additional coverage rather than a demonstrated blocker in the supplied context.

Score

The shared resolver and targeted tests are solid, and current checks pass. The default goal pagination contract still needs correction to prevent omitted results.

Score: 6/10


🤖 Review Details

  • Model: GPT-6 Astra
  • Time: 3m 25s
  • Tokens: 88,368 (87,220 in / 1,148 out)
  • Cost: $0.82

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 F5 S4

🤖 Review by ProPR

@propr-dev

propr-dev Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ Applied the requested follow-up changes in commit 8f1e1d7

Addressed 2 AI review comments (IDs: 6939895170, 6940238406)

Addressed findings F4, F5

Summary of Changes

I fixed F4 and F5. Both new regressions fail when run against the current branch code and pass with the fix. All 45 affected API suites pass, and lint and typecheck are clean for the changed files and tests.

F4: cost records with different capitalization. The finding was real. The tasks.repository column compares case-sensitively (SQLite's default), so with Integry/ProPR configured, rows stored as integry/propr returned zero executions and a header-only CSV. I added a small shared helper, packages/api/routes/repositoryPredicate.ts, that compares the repository name ignoring capitalization. The cost query now uses it, and responses still echo the configured name.

The same mistake was in every other read this PR moved onto the configured spelling, so I fixed those too:

  • /api/stats/dashboard: task summary and recorded spend (analyticsAggregates.ts).
  • /api/stats/review-scores: the summary (reviewScoreStats.ts).
  • /api/tasks: taskHelpers.ts.
  • /api/goals: the repository filter (goalRoutes.ts).
  • /api/dashboard/*:
    • summary, attention and active: tasks, plan issues waiting on a decision, running goals.
    • outcomes: completions, summaries and the history lookup.
    • narrative: the plans query.

The new test in packages/api/test/repositoryScopeRoutes.test.ts configures Integry/ProPR against lowercase stored rows. It requests both the stored spelling and another one, and checks cost JSON and CSV, dashboard stats, review scores, tasks and all the dashboard reads above. goalCliRoutes.test.ts does the same for the goal list. I reverted each fixed file on its own, and every one makes the tests fail.

F5: goal pages without parameters. Every goal page now uses the same fixed order: newest created first, ties broken by goal ID. That includes the first page read without paging parameters. The new test creates 51 goals whose creation and update orders differ, starts from GET /api/goals with no parameters and follows nextOffset. It gets each goal exactly once; the old code repeats G1 and never returns G2. I added a sentence to the CHANGELOG entry saying the unparameterised read no longer sorts by latest update. The web console already pages explicitly and sorts by update itself, so it's unaffected.

To keep dashboardOutcomeQueries.ts under the 400-line lint limit, I put one of its imports on a single line.

Other things you should know (not changed):

  • MCP cost tool: get_cost_breakdown shares the cost query, so its repository argument now also matches any capitalization. That's the same GitHub repository, but the tool's description still says "Exact repository handle".
  • Slower scoped reads: a case-insensitive comparison can't use the existing index on tasks.repository, so these reads scan rather than seek. That's fine at current sizes; a dedicated case-insensitive index, like the one repository_events already has, would fix it.
  • /api/goals/attention: it still compares the raw repository value exactly. This PR didn't change that route, so I left it alone.

There are no visual previews because nothing on screen changed.

Review digest

Risk-tiered paths

  • High risk: none
  • Normal risk (10 files)
    • packages/api/routes/analyticsAggregates.ts (+3/−2)
    • packages/api/routes/costExport.ts (+2/−1)
    • packages/api/routes/dashboardNarrative.ts (+2/−1)
    • packages/api/routes/dashboardOutcomeQueries.ts (+5/−12)
    • packages/api/routes/dashboardQueries.ts (+4/−3)
    • packages/api/routes/dashboardWorkQueries.ts (+3/−2)
    • packages/api/routes/goalRoutes.ts (+9/−9)
    • packages/api/routes/repositoryPredicate.ts (added, +13/−0)
    • packages/api/routes/reviewScoreStats.ts (+2/−1)
    • packages/api/routes/taskHelpers.ts (+2/−1)
  • Low risk (3 files)
    • CHANGELOG.md (+4/−1)
    • packages/api/test/goalCliRoutes.test.ts (+53/−2)
    • packages/api/test/repositoryScopeRoutes.test.ts (+74/−0)

Validation evidence

  • No repository validation commands ran.

Diff size: 13 files changed, +176/−35 lines


🤖 Implementation Details

  • Model: Claude Opus 5.5 (high)
  • Requested By: @propr-ultrafix
  • Time: 23m 22s
  • Tokens: 7,779,577 (7,778,821 in / 756 out)
  • Cost: $2.27

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

…st the current branch code and pass with the fix. All 45 affected API suites pass, and lint and typecheck are clean for the changed files and tests.

I fixed F4 and F5. Both new regressions fail when run against the current branch code and pass with the fix. All 45 affected API suites pass, and lint and typecheck are clean for the changed files and tests.

**F4: cost records with different capitalization.** The finding was real. The `tasks.repository` column compares case-sensitively (SQLite's default), so with `Integry/ProPR` configured, rows stored as `integry/propr` returned zero executions and a header-only CSV. I added a small shared helper, `packages/api/routes/repositoryPredicate.ts`, that compares the repository name ignoring capitalization. The cost query now uses it, and responses still echo the configured name.

The same mistake was in every other read this PR moved onto the configured spelling, so I fixed those too:
- **`/api/stats/dashboard`:** task summary and recorded spend (`analyticsAggregates.ts`).
- **`/api/stats/review-scores`:** the summary (`reviewScoreStats.ts`).
- **`/api/tasks`:** `taskHelpers.ts`.
- **`/api/goals`:** the repository filter (`goalRoutes.ts`).
- **`/api/dashboard/*`:**
  - summary, attention and active: tasks, plan issues waiting on a decision, running goals.
  - outcomes: completions, summaries and the history lookup.
  - narrative: the plans query.

The new test in `packages/api/test/repositoryScopeRoutes.test.ts` configures `Integry/ProPR` against lowercase stored rows. It requests both the stored spelling and another one, and checks cost JSON and CSV, dashboard stats, review scores, tasks and all the dashboard reads above. `goalCliRoutes.test.ts` does the same for the goal list. I reverted each fixed file on its own, and every one makes the tests fail.

**F5: goal pages without parameters.** Every goal page now uses the same fixed order: newest created first, ties broken by goal ID. That includes the first page read without paging parameters. The new test creates 51 goals whose creation and update orders differ, starts from `GET /api/goals` with no parameters and follows `nextOffset`. It gets each goal exactly once; the old code repeats G1 and never returns G2. I added a sentence to the CHANGELOG entry saying the unparameterised read no longer sorts by latest update. The web console already pages explicitly and sorts by update itself, so it's unaffected.

To keep `dashboardOutcomeQueries.ts` under the 400-line lint limit, I put one of its imports on a single line.

**Other things you should know (not changed):**
- **MCP cost tool:** `get_cost_breakdown` shares the cost query, so its `repository` argument now also matches any capitalization. That's the same GitHub repository, but the tool's description still says "Exact repository handle".
- **Slower scoped reads:** a case-insensitive comparison can't use the existing index on `tasks.repository`, so these reads scan rather than seek. That's fine at current sizes; a dedicated case-insensitive index, like the one `repository_events` already has, would fix it.
- **`/api/goals/attention`:** it still compares the raw `repository` value exactly. This PR didn't change that route, so I left it alone.

There are no visual previews because nothing on screen changed.

PR: #3632
Comment by: @propr-ultrafix (ID: 0)
Model: Claude Opus 5.5
@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

The PR is merge-ready within the supplied scope. It centralizes repository resolution, applies case-insensitive database filtering, removes goal host paths, and updates pagination consumers. The change size is largely explained by route integration, tests, and generated contracts.

✅ Configuration before GitHub — The resolver rejects unconfigured repositories before checking GitHub access; readiness additionally requires an enabled repository.

✅ Stored capitalization preserved — Case-insensitive predicates find historical rows without rewriting their repository names, with regression coverage for differing configured and stored capitalization.

✅ Pagination consumer updated — The UI follows goal continuations, deduplicates results, and rejects invalid continuations instead of silently returning an incomplete list.

The authoritative current checks show 35 passed and no failures or pending checks. This review used static tracing of the supplied code; no commands or tests were run.

Merge blockers

No merge blockers.

Suggestions

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

S5: 🟢 Coalesce concurrent access checks

In packages/api/repositoryScope.ts, the cache records access only after verification completes. Simultaneous dashboard requests for the same user and repository can therefore each call GitHub on a cold cache. Sharing an in-flight verification would reduce quota usage. This is an optional efficiency improvement; completed proofs already receive the intended TTL caching.

S6: 🟢 Clarify pagination stability guarantees

The comments in packages/api/routes/goalRoutes.ts and CHANGELOG.md overstate what creation-order offset pagination guarantees. It prevents updates from moving rows between pages, but insertions or deletions between requests can still shift offsets. Clarifying that distinction would improve documentation. A broader snapshot or cursor pagination design is optional; explicit offset pagination already existed before this PR.

Score

The implementation addresses the scoped changes with focused regression coverage and passing current-head checks. Static review found no verified merge blocker.

Score: 9/10


🤖 Review Details

  • Model: GPT-6 Astra
  • Time: 47s
  • Tokens: 97,742 (96,961 in / 781 out)
  • Cost: $0.90

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 S5 S6

🤖 Review by ProPR

@propr-dev propr-dev Bot removed the ultrafix label Nov 17, 2026
@propr-dev propr-dev Bot changed the title 🔨 [3618 by Claude Opus 5.5] API: PR readiness answers for repositories the instance does not monitor; repository filters are case-sensitive; goals expose host paths ✅⑨ [3618 by Claude Opus 5.5] API: PR readiness answers for repositories the instance does not monitor; repository filters are case-sensitive; goals expose host paths Nov 17, 2026
@integry
integry merged commit a7ef3d5 into 3616-epic-0-9-d8b Nov 17, 2026
50 checks passed
@propr-dev propr-dev Bot changed the title ✅⑨ [3618 by Claude Opus 5.5] API: PR readiness answers for repositories the instance does not monitor; repository filters are case-sensitive; goals expose host paths [3618 by Claude Opus 5.5] API: PR readiness answers for repositories the instance does not monitor; repository filters are case-sensitive; goals expose host paths Nov 17, 2026
propr-dev Bot pushed a commit that referenced this pull request Nov 17, 2026
…n item 5. I left out one part of item 5: the `AI`/`llm-*` labels being applied twice when a PR is created. That should be named in the PR description. The new test file `test/botCommentText.test.ts` passes (16 tests, using the quoted examples as inputs), and so do the existing suites that touch these comments. Lint and typecheck are clean. No file under `src/jobs` gains locking, Redis keys or queue logic.

1. Failed or invalid review comments (`reviewCommentFormatter.ts`, new `reviewCompletionComment.ts`)
- Invalid output: "⚠️ Review output was invalid." now gives one of three reasons:
  - the review output could not be parsed.
  - the reviewer returned no text.
  - the review cited files the PR doesn't change.
- Invalid output, continued: these comments drop the "Next step: /fix" block and carry the `error="true"` marker.
- Provider failure: "❌ Review failed." is always followed by a sentence. An empty error gives "The provider call failed without an error message."
- Parent comment: "Posted N reviews" no longer counts error reviews, and failed links are marked "(failed)". It now also says "Posted 0 reviews" instead of "Posted 0 review". The hidden marker that tracks whether a run failed still follows the provider result, so nothing about scheduling changes.

2. Failure comments
- PR follow-up failures now open with a plain cause, such as "Provider authentication failed." or "The agent process stopped unexpectedly.", and link to the task.
- Comment IDs: "Comment ID: 0" is gone. Real comment IDs keep their `✓` receipts, because polling reads them.
- Removed text: "Please check the logs for more details." is gone.
- Issue failure comments get the same cause line.
- Upstream HTML page titles become the status code, e.g. "403 Attention Required! | Cloudflare" → "HTTP 403". GitHub HTML error pages are reported by status only.
- Completion reports no longer show the `<synthetic>` model line, or the token and cost lines when no tokens were used.

3. PR bodies (`logFiles.ts`): the "Detailed Logs" block and the "Latest Conversation Messages" block are replaced by one "View task" link. Log files are still written on the worker. Existing PR bodies are not touched.

4. CI-failure comment: "Commit:" now links to the commit, and a separate "Run:" line links to the job run.

5. Labels and ids
- Task ids: the `-undefined-` came from comments with no `updated_at`. The revision id now uses the body digest alone in that case.
- `AI` with `AI-done`: the current code already removes `AI` when it adds `AI-done`; a test pins this. The closed issues I checked that kept both (#3512, #3529) were labelled on Nov 13 and show a different label order from this code. My guess is that the running instance was on an older build.
- Left out — double labels at PR creation: on #3632 and #3635 the bot applied `AI` and `llm-*` twice, about a second apart. The only label call has a retry delay of at least 2 seconds and isn't reached by the fallback path, so the second call probably comes from a duplicate run. Fixing that is not a text change.

To fit the 400-line lint limit I removed a duplicate `sanitizeErrorMessage` from `errorHandlers.ts` (it now imports the shared one) and moved link-building into small helpers.

I updated a few existing tests: some used placeholder review text that is now invalid output, and one checked for the conversation preview that was removed. No previews were made, since this only changes comment text.
integry pushed a commit that referenced this pull request Nov 17, 2026
…, drop internal paths and debug blocks (text only) (#3676)

1. Failed or invalid review comments (`reviewCommentFormatter.ts`, new `reviewCompletionComment.ts`)
- Invalid output: "⚠️ Review output was invalid." now gives one of three reasons:
  - the review output could not be parsed.
  - the reviewer returned no text.
  - the review cited files the PR doesn't change.
- Invalid output, continued: these comments drop the "Next step: /fix" block and carry the `error="true"` marker.
- Provider failure: "❌ Review failed." is always followed by a sentence. An empty error gives "The provider call failed without an error message."
- Parent comment: "Posted N reviews" no longer counts error reviews, and failed links are marked "(failed)". It now also says "Posted 0 reviews" instead of "Posted 0 review". The hidden marker that tracks whether a run failed still follows the provider result, so nothing about scheduling changes.

2. Failure comments
- PR follow-up failures now open with a plain cause, such as "Provider authentication failed." or "The agent process stopped unexpectedly.", and link to the task.
- Comment IDs: "Comment ID: 0" is gone. Real comment IDs keep their `✓` receipts, because polling reads them.
- Removed text: "Please check the logs for more details." is gone.
- Issue failure comments get the same cause line.
- Upstream HTML page titles become the status code, e.g. "403 Attention Required! | Cloudflare" → "HTTP 403". GitHub HTML error pages are reported by status only.
- Completion reports no longer show the `<synthetic>` model line, or the token and cost lines when no tokens were used.

3. PR bodies (`logFiles.ts`): the "Detailed Logs" block and the "Latest Conversation Messages" block are replaced by one "View task" link. Log files are still written on the worker. Existing PR bodies are not touched.

4. CI-failure comment: "Commit:" now links to the commit, and a separate "Run:" line links to the job run.

5. Labels and ids
- Task ids: the `-undefined-` came from comments with no `updated_at`. The revision id now uses the body digest alone in that case.
- `AI` with `AI-done`: the current code already removes `AI` when it adds `AI-done`; a test pins this. The closed issues I checked that kept both (#3512, #3529) were labelled on Nov 13 and show a different label order from this code. My guess is that the running instance was on an older build.
- Left out — double labels at PR creation: on #3632 and #3635 the bot applied `AI` and `llm-*` twice, about a second apart. The only label call has a retry delay of at least 2 seconds and isn't reached by the fallback path, so the second call probably comes from a duplicate run. Fixing that is not a text change.

To fit the 400-line lint limit I removed a duplicate `sanitizeErrorMessage` from `errorHandlers.ts` (it now imports the shared one) and moved link-building into small helpers.

I updated a few existing tests: some used placeholder review text that is now invalid output, and one checked for the conversation preview that was removed. No previews were made, since this only changes comment text.

Co-authored-by: propr-dev[bot] <1316198+propr-dev[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant