Skip to content

fix: restore escalation-to-PR lifecycle#112

Merged
kjgbot merged 13 commits into
mainfrom
agent/fix-escalation-resume-pr
Jul 18, 2026
Merged

fix: restore escalation-to-PR lifecycle#112
kjgbot merged 13 commits into
mainfrom
agent/fix-escalation-resume-pr

Conversation

@kjgbot

@kjgbot kjgbot commented Jul 18, 2026

Copy link
Copy Markdown
Contributor

Summary

  • create new GitHub branch refs before opening locally-produced pull requests, while retaining an idempotent update path for retries
  • make low-confidence escalation questions issue-specific and explicit about user flow, rules, edge cases, and acceptance checks
  • resume authorized GitHub clarifications through dispatch and verified PR publication
  • suppress untracked stale broker delivery failures, stop retrying terminal critical deliveries, and remove auxiliary GitHub path log spam
  • release agents and clean or durably reap isolated worktrees when a terminal implementer produces no PR

Root cause

Factory used the Relayfile path for updating an existing GitHub ref when publishing a brand-new local branch. GitHub returned 422 Reference does not exist, so completed agent work could not become a PR. Separately, every broker delivery failure was labeled critical even when Factory had not recorded it as critical, and terminal no-PR dispatches left their worktrees behind.

Validation

  • npm run build
  • npm test — 40 files, 859 tests passed
  • focused escalation, delivery, worktree lifecycle, and Relayfile GitHub publication regressions

@coderabbitai

coderabbitai Bot commented Jul 18, 2026

Copy link
Copy Markdown

Review Change Stack

Warning

Review limit reached

@kjgbot, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 58 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 86b6b4c1-62eb-41b4-b52c-160620db1030

📥 Commits

Reviewing files that changed from the base of the PR and between bb6e50d and 7d0049f.

📒 Files selected for processing (7)
  • src/cli/fleet.test.ts
  • src/cli/fleet.ts
  • src/mount/relayfile-cloud-mount-client.test.ts
  • src/mount/relayfile-github-connection-write.test.ts
  • src/mount/relayfile-github-connection-write.ts
  • src/orchestrator/factory.test.ts
  • src/orchestrator/factory.ts
📝 Walkthrough

Walkthrough

The PR adds GitHub ref writeback fallback and provider failure details, revises Factory dispatch, reconciliation, delivery, triage, Slack identity, babysitter, and issue-matching flows, updates writeback validation, and expands heuristic acceptance detection.

Changes

GitHub writeback and mount validation

Layer / File(s) Summary
GitHub ref writeback and failure reporting
src/mount/relayfile-github-connection-write.ts, src/mount/relayfile-cloud-mount-client.ts, src/ports/mount.ts, src/mount/*test.ts
Publication attempts draft ref creation, falls back to updating an existing ref with force: false, exposes provider failure details and confirmed identifiers, and expands coverage for reconciliation and existing references.
GitHub writeback path validation
src/cli/fleet.ts, src/orchestrator/factory.ts, src/cli/fleet.test.ts
Factory writeback matching allows factory and encoded branch-reference paths, with guarded CLI predicate coverage.

Factory lifecycle and triage

Layer / File(s) Summary
Dispatch prioritization and PR reconciliation
src/orchestrator/factory.ts, src/orchestrator/factory.test.ts
Ready GitHub work is prioritized, orphaned open PRs are adopted, existing publications are reconciled, and open-only PR probes govern completion and babysitter flows.
Dispatch races and delivery lifecycle
src/orchestrator/factory.ts, src/orchestrator/factory.test.ts
Live state races are skipped or abandoned, stalled dispatches clean up agents and worktrees, and delivery failures follow ignored or terminal paths.
Triage escalation, identity, and issue matching
src/orchestrator/factory.ts, src/orchestrator/factory.test.ts, src/issue-key-match.ts, src/issue-key-match.test.ts
Escalation prompts include issue context, Slack mirrors resolve GitHub reporters, watches preserve actionable state, and PR and numeric issue matching use stricter criteria.
Heuristic acceptance detection
src/triage/heuristic.ts, src/triage/triage.test.ts
Acceptance signals are matched against issue titles and descriptions, with expanded thin-issue cases.

Estimated code review effort: 5 (Critical) | ~100 minutes

Sequence Diagram(s)

sequenceDiagram
  participant GitHubIssue
  participant FactoryLoop
  participant Slack
  participant GithubConnectionWrite
  GitHubIssue->>FactoryLoop: provide issue, labels, and reporter identity
  FactoryLoop->>Slack: resolve reporter and mirror triage escalation
  Slack-->>FactoryLoop: clarification or actionable reply
  FactoryLoop->>GithubConnectionWrite: publish or reconcile pull request
  GithubConnectionWrite-->>FactoryLoop: pull request receipt
Loading

Possibly related PRs

Suggested reviewers: khaliqgant

Poem

A rabbit hops where GitHub refs grow,
Existing branches now tell us where to go.
Agents tidy worktrees in flight,
Slack finds reporters by lantern light.
Titles and issues match just right.

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly matches the main change: restoring the escalation-to-PR lifecycle.
Description check ✅ Passed The description is clearly related to the changeset and summarizes the main fixes and validation.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch agent/fix-escalation-resume-pr

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces improvements to the local-clone publication retry logic by handling existing branches, enhances the cleanup of failed dispatches, ignores non-critical delivery failures, and expands the triage escalation questions with detailed reply instructions. The review feedback highlights two important improvements: first, typing the issue parameter in triageEscalationQuestion more generically to prevent TypeScript compilation errors when called with GitHub issues; second, making the isGithubReferenceAlreadyExistsError check more robust by safely extracting the message property from plain object API errors that do not inherit from the standard Error class.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment thread src/orchestrator/factory.ts Outdated
}

const triageEscalationQuestion = (decision: TriageDecision): string => {
const triageEscalationQuestion = (decision: TriageDecision, issue?: LinearIssue): string => {

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

The issue parameter is typed as LinearIssue, but this function is also called from #escalateTriageToGithub where the issue is retrieved from a GitHub path and is a GitHub issue object rather than a LinearIssue. To prevent TypeScript compilation errors and ensure type safety, we should use a more generic structural type since only the title property is accessed.

Suggested change
const triageEscalationQuestion = (decision: TriageDecision, issue?: LinearIssue): string => {
const triageEscalationQuestion = (decision: TriageDecision, issue?: { title?: string }): string => {

Comment on lines +190 to +191
const isGithubReferenceAlreadyExistsError = (error: unknown): boolean =>
/reference already exists/iu.test(errorMessage(error))

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The errorMessage helper only extracts the message property if the error is an instance of Error. However, API errors (such as those from GitHub/Octokit or other HTTP clients) are often plain objects or custom error types that do not inherit from Error. If such an error is thrown, errorMessage will return "[object Object]", causing the regex check to fail. We should make this check more robust by safely extracting the message property from plain objects as well.

Suggested change
const isGithubReferenceAlreadyExistsError = (error: unknown): boolean =>
/reference already exists/iu.test(errorMessage(error))
const isGithubReferenceAlreadyExistsError = (error: unknown): boolean => {
const msg = error instanceof Error ? error.message : (error && typeof error === 'object' && 'message' in error ? String((error as any).message) : String(error))
return /reference already exists/iu.test(msg)
}

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@src/mount/relayfile-github-connection-write.ts`:
- Around line 72-74: The existing-reference fallback must inspect the provider
failure reason preserved or exposed by confirmWrite, rather than relying on a
discarded original error. Update
src/mount/relayfile-github-connection-write.ts:72-74 around confirmWrite and
isGithubReferenceAlreadyExistsError to use that failure detail; update
src/mount/relayfile-github-connection-write.test.ts:153-159 to simulate the
concrete failed-confirmation result instead of throwing the provider response
directly.

In `@src/orchestrator/factory.ts`:
- Around line 4172-4181: The abandonment path around `#dispatchFailureHandoffs`
must also release agents not represented by worktreeHandoffs before the batch
completes; update src/orchestrator/factory.ts lines 4172-4181 to identify and
pass those agents to `#releaseAndTerminateAgents` while preserving worktree
teardown. Extend src/orchestrator/factory.test.ts lines 7400-7424 with a
non-worktree agent and assert that it is released.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: a846b936-79e0-418a-820a-71525a948a5f

📥 Commits

Reviewing files that changed from the base of the PR and between dc63e81 and d979342.

📒 Files selected for processing (4)
  • src/mount/relayfile-github-connection-write.test.ts
  • src/mount/relayfile-github-connection-write.ts
  • src/orchestrator/factory.test.ts
  • src/orchestrator/factory.ts

Comment thread src/mount/relayfile-github-connection-write.ts
Comment thread src/orchestrator/factory.ts Outdated

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 5

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
src/mount/relayfile-github-connection-write.ts (1)

63-82: 🗄️ Data Integrity & Integration | 🟠 Major | ⚡ Quick win

Serialize create-ref writes that share refs/factory.json.

Concurrent PR publications for the same repository overwrite the mount’s path-keyed operation ID between writeFile and confirmWrite. One caller can therefore confirm another branch’s operation and open a PR before its own ref exists. Queue the complete write-and-confirm sequence per create path.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@src/mount/relayfile-github-connection-write.ts` around lines 63 - 82,
Serialize the complete create-ref write-and-confirm sequence in the head-ref
creation flow around `#writeAndConfirm` and createRefPath, using a per-path queue
or lock keyed by createRefPath. Ensure concurrent publications sharing
refs/factory.json cannot overwrite each other’s operation state, while
preserving the existing already-exists fallback to updateRefPath and keeping
unrelated repository paths independent.
♻️ Duplicate comments (1)
src/orchestrator/factory.ts (1)

4222-4226: 🩺 Stability & Availability | 🟠 Major | ⚡ Quick win

Failed non-worktree releases lose all durable ownership during abandonment.

  • src/orchestrator/factory.ts#L4222-L4226: retain or persist agents returned as failed before completing the batch record.
  • src/orchestrator/factory.test.ts#L7550-L7556: simulate a release rejection and verify cleanup remains retryable.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@src/orchestrator/factory.ts` around lines 4222 - 4226, When abandoning a
batch in `#releaseAndTerminateAgents`, preserve or persist any non-worktree agents
whose release fails before the batch record is completed, so their ownership
remains retryable. Update src/orchestrator/factory.ts lines 4222-4226
accordingly, and in src/orchestrator/factory.test.ts lines 7550-7556 add
coverage that simulates a release rejection and verifies cleanup remains
retryable.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@src/mount/relayfile-cloud-mount-client.test.ts`:
- Around line 1069-1070: Extend the integration tests around mount confirmation
and getConfirmedWriteFailureReason to cover a concrete “reference already
exists” confirmation failure. Assert that the rejected confirmation is consumed
by the writer and reaches the update-ref fallback, rather than only verifying
the stored failure detail after a resolved failed status.

In `@src/mount/relayfile-cloud-mount-client.ts`:
- Around line 446-452: The retained provider failure reason must remain
available to the writer in both outcomes. In
src/mount/relayfile-cloud-mount-client.ts lines 446-452, retain the reason for
returned failed statuses or expose it when rethrowing; in
src/mount/relayfile-github-connection-write.ts lines 145-152, retrieve it when
confirmWrite rejects as well as when it resolves failed; in
src/mount/relayfile-cloud-mount-client.test.ts lines 1069-1070, add coverage
proving a concrete existing-reference failure triggers update-ref fallback.

In `@src/orchestrator/factory.test.ts`:
- Around line 7550-7556: Add coverage in the mixed-abandonment test around the
fleet release flow, using a fleet stub that rejects one non-worktree release.
Assert that after the failure the affected agent remains durably tracked or
dispatch ownership remains in factory.status().inFlight for retry, while
preserving the existing cleanup and successful-release assertions.
- Around line 1939-1991: The live-state-race test currently covers only the
worktree-managed path. Add a corresponding no-worktree case around
ConcurrentStateChangeMount and the factory run, omit the worktrees dependency,
and assert that both raced issue agents are released while preserving the
skipped race result and zero-error expectations.

In `@src/orchestrator/factory.ts`:
- Around line 2079-2092: Release any agents spawned for the dispatch before
calling batch.abandon in the live-state-race handling around the error path in
src/orchestrator/factory.ts:2079-2092, including when no worktree manager is
configured; preserve the existing abandonment and retry flow. Add the
corresponding no-worktree live-state race test in
src/orchestrator/factory.test.ts:1939-1991 and verify that spawned agents are
released.

---

Outside diff comments:
In `@src/mount/relayfile-github-connection-write.ts`:
- Around line 63-82: Serialize the complete create-ref write-and-confirm
sequence in the head-ref creation flow around `#writeAndConfirm` and
createRefPath, using a per-path queue or lock keyed by createRefPath. Ensure
concurrent publications sharing refs/factory.json cannot overwrite each other’s
operation state, while preserving the existing already-exists fallback to
updateRefPath and keeping unrelated repository paths independent.

---

Duplicate comments:
In `@src/orchestrator/factory.ts`:
- Around line 4222-4226: When abandoning a batch in `#releaseAndTerminateAgents`,
preserve or persist any non-worktree agents whose release fails before the batch
record is completed, so their ownership remains retryable. Update
src/orchestrator/factory.ts lines 4222-4226 accordingly, and in
src/orchestrator/factory.test.ts lines 7550-7556 add coverage that simulates a
release rejection and verifies cleanup remains retryable.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 42be46a1-6a6e-40a2-a75e-7d64217afcf7

📥 Commits

Reviewing files that changed from the base of the PR and between d979342 and 3bd18a5.

📒 Files selected for processing (11)
  • src/cli/fleet.test.ts
  • src/cli/fleet.ts
  • src/mount/relayfile-cloud-mount-client.test.ts
  • src/mount/relayfile-cloud-mount-client.ts
  • src/mount/relayfile-github-connection-write.test.ts
  • src/mount/relayfile-github-connection-write.ts
  • src/orchestrator/factory.test.ts
  • src/orchestrator/factory.ts
  • src/ports/mount.ts
  • src/triage/heuristic.ts
  • src/triage/triage.test.ts
🚧 Files skipped from review as they are similar to previous changes (1)
  • src/mount/relayfile-github-connection-write.test.ts

Comment thread src/mount/relayfile-cloud-mount-client.test.ts
Comment thread src/mount/relayfile-cloud-mount-client.ts
Comment thread src/orchestrator/factory.test.ts Outdated
Comment on lines +1939 to +1991
it('continues startup reconciliation when an issue changes state during dispatch', async () => {
const racedPath = githubIssuePath('AgentWorkforce', 'pear', 59)
const freshPath = githubIssuePath('AgentWorkforce', 'pear', 60)
const racedReady = githubIssueFile(59, { labels: ['factory', 'pear'] })
class ConcurrentStateChangeMount extends FakeMountClient {
racedReads = 0

override async readFile(path: string): Promise<{ content: unknown; revision?: string }> {
if (path === racedPath) {
this.racedReads += 1
if (this.racedReads >= 3) {
return {
content: githubIssueFile(59, { labels: ['factory', 'pear', 'factory:in-progress'] }),
}
}
}
return super.readFile(path)
}
}
const mount = new ConcurrentStateChangeMount({
[racedPath]: racedReady,
[freshPath]: githubIssueFile(60, { labels: ['factory', 'pear'] }),
})
const fleet = new FakeFleetClient()
const worktrees = new RecordingWorktreeManager()
const factory = createFactory(config({ issueSource: 'github', batchSize: 4 }), {
mount,
fleet,
triage: new StaticTriage(),
githubWriteback: new RecordingGithubWriteback(),
worktrees,
})

const report = await factory.runOnce()

expect(report.skipped).toContainEqual({
issue: { uuid: 'AgentWorkforce/pear#59', key: '59', path: racedPath },
reason: 'live state changed during dispatch',
})
expect(report.dispatched.map((result) => result.issue.key)).toEqual(['60'])
expect(fleet.spawns.map((spawn) => spawn.name)).toEqual([
'ar-59-impl-pear',
'ar-59-review-pear',
'ar-60-impl-pear',
'ar-60-review-pear',
])
expect(fleet.releases.map((release) => release.name).sort()).toEqual([
'ar-59-impl-pear',
'ar-59-review-pear',
])
expect(factory.status().counters.dispatchLiveStateRaces).toBe(1)
expect(factory.status().counters.errors ?? 0).toBe(0)
})

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🩺 Stability & Availability | 🟠 Major | ⚡ Quick win

Add a no-worktree live-state-race case.

Because this fixture always supplies RecordingWorktreeManager, it misses the path where spawned agents are abandoned without being released. Run the same race without worktrees and assert both agents are released.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@src/orchestrator/factory.test.ts` around lines 1939 - 1991, The
live-state-race test currently covers only the worktree-managed path. Add a
corresponding no-worktree case around ConcurrentStateChangeMount and the factory
run, omit the worktrees dependency, and assert that both raced issue agents are
released while preserving the skipped race result and zero-error expectations.

Comment thread src/orchestrator/factory.test.ts
Comment thread src/orchestrator/factory.ts

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
src/orchestrator/factory.ts (1)

10628-10629: 🔒 Security & Privacy | 🔴 Critical | ⚡ Quick win

Restrict encoded ref writes to the factory/ namespace.

The regex also accepts paths such as refs%2Fheads%2Fmain.json. Combined with the existing-ref update fallback, guarded writes can target arbitrary repository branches. Apply the same restriction to the matching CLI predicate.

Proposed fix
 const isFactoryGithubWritebackPath = (path: string): boolean =>
-  /^\/github\/repos\/[^/]+\/[^/]+\/(?:pull-requests\/factory-[^/]+\.json|refs\/(?:factory\.json|refs%2Fheads%2F[^/]+\.json)|pulls\/[1-9]\d*\/close\.json)$/iu.test(path)
+  /^\/github\/repos\/[^/]+\/[^/]+\/(?:pull-requests\/factory-[^/]+\.json|refs\/(?:factory\.json|refs%2Fheads%2Ffactory%2F[^/]+\.json)|pulls\/[1-9]\d*\/close\.json)$/iu.test(path)
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@src/orchestrator/factory.ts` around lines 10628 - 10629, Update
isFactoryGithubWritebackPath and its matching CLI predicate so encoded
branch-reference paths are accepted only under the factory/ namespace, rejecting
arbitrary refs such as main while preserving pull-request and close-path
matches.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@src/orchestrator/factory.ts`:
- Around line 1349-1356: The custom resolver path in `#openPrForIssue` must
enforce the open-only contract instead of trusting a result without state.
Update src/orchestrator/factory.ts:1349-1356 to revalidate the custom-resolved
PR through an authoritative state-aware check, apply the same validation in the
orphan recovery flow at src/orchestrator/factory.ts:1714-1722, and add a
regression test covering a closed or merged custom-resolver result at
src/orchestrator/factory.test.ts:2054-2059.
- Around line 4161-4167: The existing-PR reconciliation condition in snapshot
validation must require snapshot.draft === false, rejecting both draft and
unknown states; update src/orchestrator/factory.ts lines 4161-4167 accordingly.
In src/orchestrator/factory.test.ts lines 4171-4176, explicitly set draft: false
in the valid fixture and add coverage confirming unknown and draft states are
rejected.

---

Outside diff comments:
In `@src/orchestrator/factory.ts`:
- Around line 10628-10629: Update isFactoryGithubWritebackPath and its matching
CLI predicate so encoded branch-reference paths are accepted only under the
factory/ namespace, rejecting arbitrary refs such as main while preserving
pull-request and close-path matches.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: e9c67fca-e54b-4096-89a8-b580be95e46a

📥 Commits

Reviewing files that changed from the base of the PR and between 3bd18a5 and bb6e50d.

📒 Files selected for processing (6)
  • src/issue-key-match.test.ts
  • src/issue-key-match.ts
  • src/mount/relayfile-github-connection-write.test.ts
  • src/mount/relayfile-github-connection-write.ts
  • src/orchestrator/factory.test.ts
  • src/orchestrator/factory.ts
🚧 Files skipped from review as they are similar to previous changes (1)
  • src/mount/relayfile-github-connection-write.test.ts

Comment thread src/orchestrator/factory.ts
Comment thread src/orchestrator/factory.ts
@kjgbot
kjgbot merged commit 692aaa8 into main Jul 18, 2026
3 checks passed
@kjgbot
kjgbot deleted the agent/fix-escalation-resume-pr branch July 18, 2026 16:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant