Skip to content

[3932 by GPT-6.2 Sol] Fresh instance: 'System failure: claudeAuth disconnected' notification before any Claude agent exists - #3933

Merged
integry merged 4 commits into
3758-epic-runtime-abstraction-sc0from
3932/gpt-6.2-sol-fresh-instance-system-fai-20261130-2251-fyk
Dec 1, 2026
Merged

integry merged 4 commits into
3758-epic-runtime-abstraction-sc0from
3932/gpt-6.2-sol-fresh-instance-system-fai-20261130-2251-fyk

Conversation

@propr-dev

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

Copy link
Copy Markdown
Contributor

AI Implementation Summary

Closes #3932

Branch: 3932/gpt-6.2-sol-fresh-instance-system-fai-20261130-2251-fyk
Commits: ✅ Changes committed (59c6843)


AI Processing Completed

Execution Details:

Summary:
Implemented #3932. Fresh instances and agents awaiting their first sign-in no longer generate authentication failures in the Inbox. A confirmed expired Claude login creates one alert naming the agent. The alert clears when the agent signs in again or is disabled.

Sprites and Fly Machines use stored credentials for agent health. Docker image warnings require an enabled agent that uses Docker. An expired Claude access token triggers an alert when the stored login has no refresh token.

Targeted backend and UI tests and type checks passed. Chromium previews captured the fresh Inbox and the named expired-login alert.

Review digest

Risk-tiered paths

  • High risk (1 file)
    • packages/api/services/agentCredentialStore.ts (+54/−11): auth-looking path
  • Normal risk (4 files)
    • packages/api/routes/statusRoutes.ts (+94/−46)
    • packages/api/services/notificationProjectionService.ts (+80/−25)
    • packages/core/src/services/syntheticRoutingService.ts (+6/−3)
    • propr-ui/src/pages/inboxUtils.ts (+3/−3)
  • Low risk (3 files)
    • packages/api/test/notificationProjectionClaudeAuth.test.ts (+35/−24)
    • packages/api/test/statusRoutes.test.ts (+53/−0)
    • propr-ui/src/pages/inboxUtils.test.ts (+10/−0)

Diff size: 8 files changed, +335/−112 lines

View task for the run's logs and conversation.


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


💡 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!


Visual preview

Expired Claude login

Expired Claude login

The Inbox identifies the Claude agent whose stored login expired.

Original unavailable: managed storage is unavailable or the upload has expired.

Fresh instance Inbox

Fresh instance Inbox

A fresh instance has no agent authentication failures in the Inbox.

Original unavailable: managed storage is unavailable or the upload has expired.

Implemented #3932. Fresh instances and agents awaiting their first sign-in no longer generate authentication failures in the Inbox. A confirmed expired Claude login creates one alert naming the agent. The alert clears when the agent signs in again or is disabled.

Sprites and Fly Machines use stored credentials for agent health. Docker image warnings require an enabled agent that uses Docker. An expired Claude access token triggers an alert when the stored login has no refresh token.

Targeted backend and UI tests and type checks passed. Chromium previews captured the fresh Inbox and the named expired-login alert.

ProPR-Agent: codex/gpt-6.2-sol
@propr-dev

propr-dev Bot commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor Author

CI failed: Windows Connect Discovery (ordinary user, Node 22), CLI and Connect Compatibility Guard

Please investigate and fix these CI failures.

  • Check: Windows Connect Discovery (ordinary user, Node 22)
  • Result: failure
  • Commit: 59c684302a34 (59c684302a341b0ce2a380ffb4ede2b01c745b95)
  • Run: View CI failure

Failure evidence

.github:74
Process completed with exit code 1.


  • Check: CLI and Connect Compatibility Guard
  • Result: failure
  • Run: View CI failure

Depends on the failed job(s): Windows Connect Discovery (ordinary user, Node 22). It may have failed only because they did; check them first.

Failure evidence

.github:53
Process completed with exit code 1.

.github:51
Windows Connect discovery finished with result 'failure'.

.github:49
CLI Agent Skill Darwin was skipped: the shared classifier proved its surface inapplicable.

@propr-dev

propr-dev Bot commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ Applied the requested follow-up changes in commit 651c67f

Summary of Changes

Fixed the Windows CI failure by skipping only the stored-credential filesystem test on Windows. The test creates a drive-letter path that the API’s Linux credential store rejects. The ordinary-user CLI and API discovery checks still run.

Reproduced the path rejection with Windows path semantics. All 118 focused Connect tests and lint passed on Linux with Node 22. The Windows CI job has yet to verify the fix.

Review digest

Risk-tiered paths

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

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


🤖 Implementation Details

  • Model: GPT-6.2 Sol (medium)
  • Requested By: @propr-dev[bot]
  • Time: 4m 57s
  • Tokens: 885,735 (882,276 in / 3,459 out)
  • Cost: $0.23

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

Fixed the Windows CI failure by skipping only the [stored-credential filesystem test](/home/node/workspace/packages/api/test/statusRoutes.test.ts:498) on Windows. The test creates a drive-letter path that the API’s Linux credential store rejects. The ordinary-user CLI and API discovery checks still run.

Reproduced the path rejection with Windows path semantics. All 118 focused Connect tests and lint passed on Linux with Node 22. The Windows CI job has yet to verify the fix.

PR: #3933
Comment by: @propr-dev[bot] (ID: 7294864105)
Model: GPT-6.2 Sol

ProPR-Agent: codex/gpt-6.2-sol
@propr-dev propr-dev Bot changed the title 🔨 [3932 by GPT-6.2 Sol] Fresh instance: 'System failure: claudeAuth disconnected' notification before any Claude agent exists ✅ [3932 by GPT-6.2 Sol] Fresh instance: 'System failure: claudeAuth disconnected' notification before any Claude agent exists Nov 30, 2026

integry commented Dec 1, 2026

Copy link
Copy Markdown
Owner

/review

@propr-dev propr-dev Bot changed the title ✅ [3932 by GPT-6.2 Sol] Fresh instance: 'System failure: claudeAuth disconnected' notification before any Claude agent exists 🔨 [3932 by GPT-6.2 Sol] Fresh instance: 'System failure: claudeAuth disconnected' notification before any Claude agent exists Dec 1, 2026
@propr-dev

propr-dev Bot commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ AI Code Review Complete requested by @integry

Posted 1 review:

View Task Details

@propr-dev

propr-dev Bot commented Dec 1, 2026

Copy link
Copy Markdown
Contributor Author

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

Overall Evaluation

The PR implements agent-specific authentication alerts and suppresses setup-related noise, but needs minor changes before merge to address two status-reconciliation defects.

✅ Focused authentication alerts — Only confirmed expiration creates an alert; missing credentials and unknown states do not create new failures.

✅ Recovery coverage — Added tests verify deduplication, recovery, disablement, and retirement of legacy Claude alerts.

✅ Remote runtime handling — Tests cover stored credentials for Sprites and Fly Machines without Docker health probes.

The supplied current-head checks report 17 passed and 22 skipped. This review used static analysis only; no commands were run.

Merge blockers

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

F1: 🔴 Runtime lookup timeout reports false health

  • Category: correctness

  • Required behavior: Stored credentials should replace Docker health probes only for known remote runtimes; an unresolved runtime must not establish agent health.

  • Evidence: packages/api/routes/statusRoutes.ts:getAgentStatusSnapshot, usesDocker and statusFor

    1. An enabled Docker agent inherits its runtime, has stored credentials, and has an unhealthy Docker runtime.
    2. Resolving the inherited runtime exceeds dependencyTimeoutMs, so defaultRuntime becomes undefined.
    3. usesDocker returns false. statusFor consequently uses credential presence and reports the agent as connected, without probing Docker.
    4. The snapshot also sets usesDocker: false, suppressing the unavailable-image warning.

    static trace: The timeout fallback conflates unresolved runtime selection with a confirmed remote runtime. Neither the credential check nor the timeout establishes Docker availability. The added tests explicitly select a runtime and therefore do not exercise this branch.

  • Minimum fix: Represent unresolved runtime selection separately. Only use credential-only health for confirmed remote runtimes; preserve conservative health and warning behavior when runtime resolution times out.

F2: 🔴 Removed agents lack snapshot ordering protection

  • Category: correctness

  • Required behavior: Disabling an agent must retire its authentication alert, and an older snapshot must not recreate it afterward.

  • Evidence: packages/api/services/notificationProjectionService.ts:projectAgentAuth, removal reconciliation query

    1. An agent has previously reported ready, leaving a component state with failure_status: null.
    2. A newer complete snapshot omits the now-disabled agent. The removal query selects only states with non-null failure_status, so it does not advance this component’s last_snapshot_at.
    3. An older snapshot reporting that agent as expired subsequently reaches projection.
    4. The transition service accepts it because the stored timestamp still predates that older snapshot, creating an alert for the disabled agent.

    static trace: Out-of-order snapshots are explicitly supported by the supplied transition service’s timestamp guard. Concurrent status assembly can retain an older configuration while awaiting agent.healthCheck(); after cache invalidation, a newer disabled-agent snapshot needs no such probe. Per-component transactions cannot reject the older result when removal never records the newer timestamp.

    proposed regression: Project ready at T0, an empty complete agent snapshot at T2, then expired at T1; assert no alert is created.

  • Minimum fix: Reconcile all known absent agent-auth components, including healthy states, so removal advances their ordering watermark. Add the out-of-order regression above.

Suggestions

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

No suggestions.

Score

The implementation is focused and the supplied checks pass, but runtime uncertainty can produce false health and delayed snapshots can recreate disabled-agent alerts. Both defects admit localized corrections.

Score: 6/10


🤖 Review Details

  • Model: GPT-6 Astra
  • Time: 1m 30s
  • Tokens: 59,322 (57,475 in / 1,847 out)
  • Cost: $0.56

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

🤖 Review by ProPR

@propr-dev propr-dev Bot changed the title 🔨 [3932 by GPT-6.2 Sol] Fresh instance: 'System failure: claudeAuth disconnected' notification before any Claude agent exists ⚠️❻ [3932 by GPT-6.2 Sol] Fresh instance: 'System failure: claudeAuth disconnected' notification before any Claude agent exists Dec 1, 2026

integry commented Dec 1, 2026

Copy link
Copy Markdown
Owner

/fix F1 F2

@propr-dev propr-dev Bot changed the title ⚠️❻ [3932 by GPT-6.2 Sol] Fresh instance: 'System failure: claudeAuth disconnected' notification before any Claude agent exists 🔨 [3932 by GPT-6.2 Sol] Fresh instance: 'System failure: claudeAuth disconnected' notification before any Claude agent exists Dec 1, 2026
@propr-dev

propr-dev Bot commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ Applied the requested follow-up changes in commit 396ae86

Addressed 1 AI review comment (IDs: 7296260461)

Addressed findings F1, F2

Summary of Changes

Fixed F1 and F2 in PR #3933.

  • F1: When the inherited runtime lookup times out, the agent reports disconnected, dependent synthetic pools can degrade, and the Docker image warning remains visible. Stored credentials establish health only for confirmed remote runtimes.
  • F2: Complete snapshots advance the ordering watermark for every known absent agent, including previously healthy agents. Cached and in-flight auth observations retain their original timestamps, so they cannot recreate a retired alert.

All 135 tests across six suites passed, along with API type checking and lint. Captured two Chromium previews.

Separate finding: A late first observation can still create an alert for a removed agent that has never had a projection record.

Review digest

Risk-tiered paths

  • High risk: none
  • Normal risk (2 files)
    • packages/api/routes/statusRoutes.ts (+30/−10)
    • packages/api/services/notificationProjectionService.ts (+9/−6)
  • Low risk (2 files)
    • packages/api/test/notificationProjectionClaudeAuth.test.ts (+41/−0)
    • packages/api/test/statusRoutes.test.ts (+88/−0)

Diff size: 4 files changed, +168/−16 lines

Visual preview

Inbox after disabling an agent

Inbox after disabling an agent

An expired-login observation from before the disable does not create an alert in the Inbox.

Full-size original

Agent health when runtime lookup times out

Agent health when runtime lookup times out

System Status shows the Claude agent as failed after the runtime lookup times out, even though its stored login is valid.

Full-size original


🤖 Implementation Details

  • Model: GPT-6.2 Sol (medium)
  • Requested By: @integry
  • Time: 10m 28s
  • Tokens: 3,566,467 (3,552,694 in / 13,773 out)
  • Cost: $0.68

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

Fixed F1 and F2 in PR #3933.

- **F1:** When the inherited runtime lookup times out, the agent reports disconnected, dependent synthetic pools can degrade, and the Docker image warning remains visible. Stored credentials establish health only for confirmed remote runtimes.
- **F2:** Complete snapshots advance the ordering watermark for every known absent agent, including previously healthy agents. Cached and in-flight auth observations retain their original timestamps, so they cannot recreate a retired alert.

All 135 tests across six suites passed, along with API type checking and lint. Captured two Chromium previews.

**Separate finding:** A late first observation can still create an alert for a removed agent that has never had a projection record.

PR: #3933
Comment by: @integry (ID: 7296674621)
Model: GPT-6.2 Sol

ProPR-Agent: codex/gpt-6.2-sol
@propr-dev propr-dev Bot changed the title 🔨 [3932 by GPT-6.2 Sol] Fresh instance: 'System failure: claudeAuth disconnected' notification before any Claude agent exists ⚠️❻ [3932 by GPT-6.2 Sol] Fresh instance: 'System failure: claudeAuth disconnected' notification before any Claude agent exists Dec 1, 2026

integry commented Dec 1, 2026

Copy link
Copy Markdown
Owner

/review

@propr-dev propr-dev Bot changed the title ⚠️❻ [3932 by GPT-6.2 Sol] Fresh instance: 'System failure: claudeAuth disconnected' notification before any Claude agent exists 🔨 [3932 by GPT-6.2 Sol] Fresh instance: 'System failure: claudeAuth disconnected' notification before any Claude agent exists Dec 1, 2026
@propr-dev

propr-dev Bot commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ AI Code Review Complete requested by @integry

Posted 1 review:

View Task Details

@propr-dev

propr-dev Bot commented Dec 1, 2026

Copy link
Copy Markdown
Contributor Author

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

Overall Evaluation

The PR replaces provider-wide authentication failures with named, per-agent alerts and separates remote credential readiness from Docker health. It needs one localized correctness fix before merge.

✅ Conservative authentication alerts — First-time sign-in and unknown credential states do not create failures; confirmed expiration does.

✅ Runtime-aware health — Sprites and Fly Machines use stored credentials, and Docker warnings depend on applicable enabled agents.

✅ Cache observation timestamps — Cached responses preserve their original authentication observation time, preventing stale updates from overwriting newer existing component state.

The supplied current-head checks show 17 passed and 22 skipped, with no failures. This review used static analysis only; no commands were run.

Merge blockers

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

F3: 🔴 Fence stale observations for previously unseen agents

  • Category: correctness

  • Required behavior: Removing or disabling an agent must retire its authentication alert, including when an older in-flight snapshot arrives afterward.

  • Evidence: packages/api/services/notificationProjectionService.ts, projectAgentAuth, particularly the knownComponents query and retirement loop; packages/api/routes/statusRoutes.ts, getAgentStatusSnapshot.

    1. An enabled Claude agent has expired credentials, but no authentication snapshot for its ID has yet been projected, so its component has no persisted state row.
    2. A status request reads that configuration and classifies its credentials as expired, then waits for its Docker health probe in Promise.all.
    3. During that await, the agent is disabled or removed. The configuration event invalidates the status cache, allowing another request to obtain and project a newer empty agentAuth array.
    4. The retirement loop queries only existing component rows. Because this agent has never been projected, it records no retirement timestamp for that ID.
    5. The older health probe completes and its snapshot is projected. Reconciliation inserts a new component row and creates an expired-login notification for the already-disabled agent.

    The observable result is a false Inbox alert and retained notification event; a subsequent empty snapshot can dismiss the receipt but cannot prevent its creation. The cache generation guard prevents cache repopulation, but still returns the old snapshot to its original caller. Per-component transactions and timestamp comparisons cannot reject this observation because no newer row exists. The added ordering tests initialize a component row before removal, so they do not cover this sequence.

    static trace: traced the in-flight status assembly, supplied server invalidation/projection callers, retirement query, and reconcileSystemFailureTransition initialization path. No execution was performed.

  • Minimum fix: Persist and enforce a complete-authentication-snapshot ordering watermark, with serialized or transactional enforcement sufficient to reject older observations for unseen IDs. Add a regression where removal is projected before the agent’s first expired observation.

Suggestions

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

No suggestions.

Score

The implementation addresses the main authentication and runtime behaviors with useful regression coverage and passing checks. The remaining first-observation ordering defect can still generate an alert after an agent is disabled and requires correction before merge.

Score: 6/10


🤖 Review Details

  • Model: GPT-6 Astra
  • Time: 44s
  • Tokens: 60,763 (59,817 in / 946 out)
  • Cost: $0.53

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

🤖 Review by ProPR

@propr-dev propr-dev Bot changed the title 🔨 [3932 by GPT-6.2 Sol] Fresh instance: 'System failure: claudeAuth disconnected' notification before any Claude agent exists ⚠️❻ [3932 by GPT-6.2 Sol] Fresh instance: 'System failure: claudeAuth disconnected' notification before any Claude agent exists Dec 1, 2026

integry commented Dec 1, 2026

Copy link
Copy Markdown
Owner

/fix F3

@propr-dev propr-dev Bot changed the title ⚠️❻ [3932 by GPT-6.2 Sol] Fresh instance: 'System failure: claudeAuth disconnected' notification before any Claude agent exists 🔨 [3932 by GPT-6.2 Sol] Fresh instance: 'System failure: claudeAuth disconnected' notification before any Claude agent exists Dec 1, 2026
@propr-dev

propr-dev Bot commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ Applied the requested follow-up changes in commit b279d34

Addressed 1 AI review comment (IDs: 7297840866)

Addressed finding F3

Summary of Changes

Fixed F3. Once a complete authentication snapshot commits, older observations cannot create an Inbox alert for a removed or disabled agent, even if that agent has never been projected. The watermark commits in the same SQLite transaction as the agent transitions and receipt changes.

Added regressions for delayed first observations, failed-write rollback, missing auth data, and refreshes that start in the same millisecond within one API process.

All 142 tests across six targeted suites passed, along with lint and API type checking. The Chromium preview shows the enabled agent’s valid alert and no alert for the removed agent.

Review digest

Risk-tiered paths

  • High risk: none
  • Normal risk (4 files)
    • packages/api/routes/statusRoutes.ts (+18/−12)
    • packages/api/services/notificationProjectionService.ts (+35/−23)
    • packages/core/src/index.ts (+1/−0)
    • packages/core/src/services/notificationService.ts (+160/−93)
  • Low risk (3 files)
    • packages/api/test/notificationProjectionClaudeAuth.test.ts (+56/−1)
    • packages/api/test/notificationProjectionService.test.ts (+1/−0)
    • packages/api/test/statusRoutes.test.ts (+1/−2)

Diff size: 7 files changed, +272/−131 lines

Visual preview

Inbox after a delayed authentication snapshot

Inbox after a delayed authentication snapshot

The still-enabled Claude agent keeps its sign-in alert after a delayed snapshot reports an expired login for a removed agent.

Full-size original


🤖 Implementation Details

  • Model: GPT-6.2 Sol (medium)
  • Requested By: @integry
  • Time: 9m 49s
  • Tokens: 2,625,098 (2,611,168 in / 13,930 out)
  • Cost: $0.58

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

Fixed F3. Once a complete authentication snapshot commits, older observations cannot create an Inbox alert for a removed or disabled agent, even if that agent has never been projected. The watermark commits in the same SQLite transaction as the agent transitions and receipt changes.

Added regressions for delayed first observations, failed-write rollback, missing auth data, and refreshes that start in the same millisecond within one API process.

All 142 tests across six targeted suites passed, along with lint and API type checking. The Chromium preview shows the enabled agent’s valid alert and no alert for the removed agent.

PR: #3933
Comment by: @integry (ID: 7297855469)
Model: GPT-6.2 Sol

ProPR-Agent: codex/gpt-6.2-sol
@propr-dev propr-dev Bot changed the title 🔨 [3932 by GPT-6.2 Sol] Fresh instance: 'System failure: claudeAuth disconnected' notification before any Claude agent exists ⚠️❻ [3932 by GPT-6.2 Sol] Fresh instance: 'System failure: claudeAuth disconnected' notification before any Claude agent exists Dec 1, 2026

integry commented Dec 1, 2026

Copy link
Copy Markdown
Owner

/review

@propr-dev propr-dev Bot changed the title ⚠️❻ [3932 by GPT-6.2 Sol] Fresh instance: 'System failure: claudeAuth disconnected' notification before any Claude agent exists 🔨 [3932 by GPT-6.2 Sol] Fresh instance: 'System failure: claudeAuth disconnected' notification before any Claude agent exists Dec 1, 2026
@propr-dev

propr-dev Bot commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ AI Code Review Complete requested by @integry

Posted 1 review:

View Task Details

@propr-dev

propr-dev Bot commented Dec 1, 2026

Copy link
Copy Markdown
Contributor Author

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

Overall Evaluation

Ready to merge within the reviewed scope. The PR separates agent authentication from runtime health and replaces provider-wide failures with agent-specific alerts.

✅ Durable stale-observation protection — Cached authentication retains its observation timestamp, and transactional snapshot watermarks prevent older observations from recreating retired alerts.

✅ Correct alert lifecycle — The projection preserves alerts during unknown observations, dismisses them after recovery or removal, and avoids failures for agents awaiting initial sign-in.

✅ Focused regression coverage — Added tests cover remote credentials, runtime lookup timeouts, cache invalidation, cross-instance ordering, and transaction rollback.

Review was static, using the supplied diff and context; no commands were run. The authoritative checks report 17 passed, none failed or pending.

Merge blockers

No merge blockers.

Suggestions

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

S1: 🟢 Cover mixed-runtime pool health

Consider adding a synthetic-pool test combining Docker and remote members. The new probe callback in syntheticRoutingService.ts and runtime-dependent selection in statusRoutes.ts would benefit from explicitly verifying that a ready remote member can keep the pool healthy when Docker members fail. This is optional additional coverage, not a demonstrated defect.

Score

The implementation addresses the stated objective with coherent lifecycle handling and substantial regression coverage. No merge blocker was verified, and current checks are passing.

Score: 9/10


🤖 Review Details

  • Model: GPT-6 Astra
  • Time: 34s
  • Tokens: 53,635 (53,009 in / 626 out)
  • Cost: $0.45

View Task


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

Copy and edit to choose records from this review:

/fix S1

🤖 Review by ProPR

@propr-dev propr-dev Bot changed the title 🔨 [3932 by GPT-6.2 Sol] Fresh instance: 'System failure: claudeAuth disconnected' notification before any Claude agent exists ✅❾ [3932 by GPT-6.2 Sol] Fresh instance: 'System failure: claudeAuth disconnected' notification before any Claude agent exists Dec 1, 2026
@integry
integry merged commit 96cb33f into 3758-epic-runtime-abstraction-sc0 Dec 1, 2026
39 checks passed
@propr-dev propr-dev Bot changed the title ✅❾ [3932 by GPT-6.2 Sol] Fresh instance: 'System failure: claudeAuth disconnected' notification before any Claude agent exists [3932 by GPT-6.2 Sol] Fresh instance: 'System failure: claudeAuth disconnected' notification before any Claude agent exists Dec 1, 2026
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