#4941 · RPC handlers cannot observe caller departure
Trusted origin/main base: f7f106dabbed96a7399b3ff428194f050b8116e8
Verdict: REPRODUCED · Root-cause confidence: high · Reproduction label: confirmed-repro
1. TL;DR
A plugin calling another plugin gets a timeout after approximately 75 seconds, but the receiving handler remains alive. The handler receives caller identity without any cancellation signal, so even a cooperative implementation cannot learn that the caller has stopped waiting. In two clean checkouts, an actual plugin-to-plugin HTTP call timed out and a gated handler subsequently persisted a row in its own SQLite storage. Explicit caller cancellation produced the same server-side behavior. The timeout itself is deliberate; the defect is the missing handler-side lifetime notification, not the presence of a deadline.
2. Claims vs findings
| Claim | Status | Evidence |
|---|---|---|
| Injected SDK calls have a 75-second default deadline. | Verified | Real-time runs rejected with BbRequestTimeoutError after 75007 ms and 75006 ms; default constant and injected transport agree. |
| Handlers keep working after the caller times out. | Verified | Each run released its gated handler only after client rejection; one real SQLite row was written afterwards. |
| The RPC handler cannot observe a caller disconnect. | Verified | Both timeout and explicit abort scenarios delivered only experimental_caller in context, with zero AbortSignal values. |
| An explicit caller signal does not disable the default deadline. | Verified in source | The SDK forwards the caller signal and the transport combines it with AbortSignal.timeout using AbortSignal.any. A still-live caller signal was not held open for a separate 75-second run. |
| The plugin list reports no handler error. | Not separately exercised | Runtime source records errors only when handler execution throws. The live list command was not run in this investigation. |
| The original 80-second timing and older SDK version show the same behavior. | Historical timing not rerun | This reproduction uses the trusted current base and a release gate rather than an 80-second sleep. It directly verifies post-departure continuation. |
| App and CLI disconnects have the same gap. | Shared route verified | Cancellation was exercised through the injected SDK over real HTTP. App and CLI UI flows were not separately run; the shared RPC route never forwards the request signal. |
3. Environment
- Public repository get-bb/bb; trusted origin/main at f7f106dabbed96a7399b3ff428194f050b8116e8; bb 0.45.0, plugin SDK 0.6.19.
- Linux 4.19.0-gvisor x86_64; Node v22.19.0; pnpm 9.15.0; Vitest 4.1.1.
- Two new detached worktrees: run-one and run-two. Frozen installations and the normal Turbo build succeeded in both (63/63 build tasks).
- Each scenario uses a new test-app harness, an OS-assigned loopback port (port 0), fresh temporary data directory, real migrated application database, and real plugin SQLite storage. Numeric ports and random directory suffixes were not logged. Fixtures and listeners are closed in finally blocks.
- No real user runtime data, external provider account, daemon, browser, or agent turn is used. No dependencies or production code were changed.
4. Minimal reproduction
- Create a clean checkout at the exact base, and install/build it:
git clone https://github.com/get-bb/bb.git bb-rpc-verification cd bb-rpc-verification git checkout --detach f7f106dabbed96a7399b3ff428194f050b8116e8 pnpm install --frozen-lockfile --prefer-offline pnpm exec turbo run build
- Save the complete investigator-authored test shown later in this section to
apps/server/test/services/plugins/issue-4941-cancellation.test.ts, then run:pnpm exec turbo run test --filter=@bb/server --force -- test/services/plugins/issue-4941-cancellation.test.ts
- The test loads two empty plugin fixtures using the existing public registration API. A registered method waits on a test-owned release gate. It would skip its database write if any cancellation signal in its context were aborted.
- Wait for the real 75-second deadline, or cancel the explicit caller signal after the handler begins. Release the handler only after the caller has rejected and a 100-ms disconnect propagation allowance has elapsed.
- Expected: the cooperative handler receives an aborted signal and skips the write. Actual: no handler signal exists, the handler writes a row, and the focused regression fails for the intended reason:
AssertionError: RPC handler must be able to observe caller departure: expected false to be true
Both cancellation cases fail against unchanged production code. These intentional failures establish the regression; they are not unrelated suite failures. No fix has been applied.
| Checkout | Scenario | Caller elapsed | Rejection | Handler signals | Rows after departure |
|---|---|---|---|---|---|
| run-one | default deadline | 75007 ms | BbRequestTimeoutError | 0 | 1 |
| run-one | explicit cancellation | 14 ms | AbortError | 0 | 1 |
| run-two | default deadline | 75006 ms | BbRequestTimeoutError | 0 | 1 |
| run-two | explicit cancellation | 13 ms | AbortError | 0 | 1 |
run-one
{"scenario":"default deadline","rejection":{"name":"BbRequestTimeoutError","message":"BB request timed out after 75 seconds."},"elapsedMs":75007,"contextKeys":["experimental_caller"],"handlerSignalCount":0,"handlerObservedAbort":false,"rowsAfterCallerDeparture":[{"state":"completed after departure"}]}
{"scenario":"explicit cancellation","rejection":{"name":"AbortError","message":"This operation was aborted"},"elapsedMs":14,"contextKeys":["experimental_caller"],"handlerSignalCount":0,"handlerObservedAbort":false,"rowsAfterCallerDeparture":[{"state":"completed after departure"}]}
run-two
{"scenario":"default deadline","rejection":{"name":"BbRequestTimeoutError","message":"BB request timed out after 75 seconds."},"elapsedMs":75006,"contextKeys":["experimental_caller"],"handlerSignalCount":0,"handlerObservedAbort":false,"rowsAfterCallerDeparture":[{"state":"completed after departure"}]}
{"scenario":"explicit cancellation","rejection":{"name":"AbortError","message":"This operation was aborted"},"elapsedMs":13,"contextKeys":["experimental_caller"],"handlerSignalCount":0,"handlerObservedAbort":false,"rowsAfterCallerDeparture":[{"state":"completed after departure"}]}
The complete test is included inline so this self-contained report has no external artifact dependencies. Raw logs and executable artifacts remain in local investigator storage, in accordance with the reports repository publication rules.
Complete reproduction test
import { mkdir, writeFile } from "node:fs/promises";
import { join } from "node:path";
import { expect, it } from "vitest";
import { defineRpcContract } from "@get-bb/plugin-sdk";
import { z } from "zod";
import { startTestServer } from "../../helpers/test-app.js";
for (const scenario of ["default deadline", "explicit cancellation"] as const) {
it(`exposes caller departure to the RPC handler: ${scenario}`, async () => {
const server = await startTestServer({ seedFirstPartyProviders: false });
const entered = Promise.withResolvers<void>();
const release = Promise.withResolvers<void>();
const completed = Promise.withResolvers<void>();
const signals: AbortSignal[] = [];
let contextKeys: string[] = [];
try {
server.pluginService.bindSdk({ baseUrl: server.baseUrl });
for (const pluginId of ["departure-observer", "departure-caller"]) {
const root = join(server.config.dataDir, "fixtures", pluginId);
await mkdir(root, { recursive: true });
await writeFile(
join(root, "package.json"),
JSON.stringify({
name: `bb-plugin-${pluginId}`,
version: "0.1.0",
bb: {
name: "Cancellation verification fixture",
description: "Local isolated verification",
branding: { icon: "Zap" },
server: "./server.ts",
},
}),
);
await writeFile(
join(root, "server.ts"),
"export default function plugin() {}\n",
);
expect((await server.pluginService.installPath(root)).status).toBe(
"running",
);
}
const callee = server.pluginService.getApi("departure-observer");
const caller = server.pluginService.getApi("departure-caller");
if (!callee || !caller)
throw new Error("Verification fixtures did not load");
const database = callee.storage.database();
database.exec("CREATE TABLE completion_ledger (state TEXT NOT NULL)");
callee.rpc.register(
defineRpcContract({
verifyDeparture: { input: z.null(), output: z.null() },
}),
{
async verifyDeparture(_input, context) {
contextKeys = Object.keys(context);
signals.push(
...Object.values(context).filter(
(value): value is AbortSignal => value instanceof AbortSignal,
),
);
entered.resolve();
await release.promise;
if (!signals.some((signal) => signal.aborted)) {
database
.prepare("INSERT INTO completion_ledger(state) VALUES (?)")
.run("completed after departure");
}
completed.resolve();
return null;
},
},
);
const controller = new AbortController();
const started = performance.now();
const result = caller.sdk.plugins
.callRpc({
pluginId: "departure-observer",
method: "verifyDeparture",
input: null,
outputSchema: z.null(),
...(scenario === "explicit cancellation"
? { signal: controller.signal }
: {}),
})
.then(
() => ({ name: "unexpected success", message: "" }),
(error: unknown) => ({
name: error instanceof Error ? error.name : "non-Error rejection",
message:
error instanceof Error ? error.message : "non-Error rejection",
}),
);
await entered.promise;
if (scenario === "explicit cancellation") controller.abort();
const rejection = await result;
const elapsedMs = Math.round(performance.now() - started);
await new Promise((resolve) => setTimeout(resolve, 100));
release.resolve();
await completed.promise;
const rows = z
.array(z.object({ state: z.string() }))
.parse(database.prepare("SELECT state FROM completion_ledger").all());
console.log(
JSON.stringify({
scenario,
rejection,
elapsedMs,
contextKeys,
handlerSignalCount: signals.length,
handlerObservedAbort: signals.some((signal) => signal.aborted),
rowsAfterCallerDeparture: rows,
}),
);
expect(rejection.name).toBe(
scenario === "default deadline"
? "BbRequestTimeoutError"
: "AbortError",
);
expect(
signals.some((signal) => signal.aborted),
"RPC handler must be able to observe caller departure",
).toBe(true);
expect(rows).toEqual([]);
} finally {
release.resolve();
await server.pluginService.stop();
await server.close();
}
}, 100_000);
}
5. Root cause
The injected SDK times out its fetch, but the RPC route does not forward request cancellation and the handler context exposes only caller identity. Caller cancellation affects only the fetch promise; it does not stop JavaScript already executing in the receiving handler. The route awaits the service invocation without reading context.req.raw.signal. The service creates a context containing only experimental_caller, exactly matching the public handler-context type. The runtime wrapper awaits the handler without imposing a handler deadline; after successful completion it records success even if the HTTP caller has already disconnected.
Client default
packages/sdk/src/response.ts:1
import { extractErrorMessage } from "@bb/core-ui";
export const DEFAULT_BB_REQUEST_TIMEOUT_MS = 75_000;
Injected plugin transport
apps/server/src/services/plugins/plugin-rpc-caller.ts:54
export function createPluginRpcCallerSdk(args: {
baseUrl: string;
token: string;
}): BbSdk {
const timeoutFetch = createRequestTimeoutFetch({
timeoutMs: DEFAULT_BB_REQUEST_TIMEOUT_MS,
});
return createNodeBbSdk({
baseUrl: args.baseUrl,
fetch: (input, init) => {
const headers = new Headers(init?.headers);
headers.set(PLUGIN_RPC_CALLER_HEADER, args.token);
return timeoutFetch(input, { ...init, headers });
},
});
}
Caller signal composes with the deadline
packages/sdk/src/response.ts:96
export function createRequestTimeoutFetch(
options: RequestTimeoutFetchOptions,
): FetchImplementation {
validateRequestTimeoutMs(options.timeoutMs);
return async (input, init) => {
const timeoutSignal = AbortSignal.timeout(options.timeoutMs);
const requestSignal = init?.signal
? AbortSignal.any([init.signal, timeoutSignal])
: timeoutSignal;
const context: RequestTimeoutContext = {
requestSignal,
timeoutSignal,
timeoutMs: options.timeoutMs,
};
try {
const response = await fetch(input, { ...init, signal: requestSignal });
return wrapRequestTimeoutResponse({ context, response });
} catch (error) {
if (isRequestTimeoutError(context, error)) {
throw new BbRequestTimeoutError(options.timeoutMs);
}
throw error;
}
RPC route passes caller identity but not request signal
apps/server/src/routes/plugins.ts:962
const outcome = await plugins.invokeRpcHandler(
id,
method,
lookup.value,
input,
callerResolution.caller,
);
if (!outcome.ok) {
return context.json(
{ ok: false, error: outcome.error },
outcome.error.code === "invalid_input" ? 400 : 500,
);
}
return context.json({ ok: true, result: outcome.result });
});
}
Handler invocation constructs identity-only context
apps/server/src/services/plugins/plugin-service.ts:2037
async invokeRpcHandler(id, method, handler, input, caller) {
const outcome = await invokeWrapped(id, `rpc ${method}`, async () => {
const parsedInput = await validateRpcValue(
handler.inputSchema,
input,
"input",
throwRpcBoundaryError,
);
const result = await handler.handler(parsedInput, {
experimental_caller: caller,
});
const parsedOutput = await validateRpcValue(
handler.outputSchema,
result,
"output",
throwRpcBoundaryError,
);
return normalizeRpcJsonResult(parsedOutput, throwRpcBoundaryError);
});
if (outcome.ok) return { ok: true, result: outcome.value };
if (outcome.cause instanceof PluginRpcBoundaryError) {
return { ok: false, error: outcome.cause.rpcError };
}
return {
ok: false,
error: { code: "handler_error", message: outcome.error },
};
Public context contract
packages/plugin-sdk/src/rpc-contract.ts:97
/** Second argument of every rpc handler. */
export interface ExperimentalPluginRpcHandlerContext {
readonly experimental_caller: ExperimentalPluginRpcCaller;
}
Runtime awaits completion and records handler errors only
apps/server/src/services/plugins/plugin-runtime.ts:841
pending.add(marker);
try {
return {
ok: true,
value: await runEventLoopWork(`plugin:${id} ${label}`, run),
};
} catch (error) {
const message = error instanceof Error ? error.message : String(error);
stats.errorCount += 1;
logger.warn(`[plugin:${id}] ${label} failed: ${message}`);
if (statuses.get(id)?.status === "running") {
setStatus(id, "running", `${label} failed: ${message}`);
}
return { ok: false, error: message, cause: error };
} finally {
const elapsedMs = performance.now() - startedAt;
stats.count += 1;
stats.totalMs += elapsedMs;
if (elapsedMs > stats.maxMs) stats.maxMs = elapsedMs;
pending.delete(marker);
settle();
The normal Node SDK supports transport-wide timeout configuration, but the SDK injected into plugins uses a fixed wrapper with the default timeout. PluginRpcArgs exposes a signal, not a per-call timeout. Signals and deadlines are composed, not alternatives. These are separate policy choices from the verified missing lifetime notification.
6. Proposed fix and safety gate
Design and document cooperative request-lifetime cancellation for the public RPC handler context, propagate the HTTP request signal through the service, and retain the existing caller-identity validation. Verify transport disconnect notification and both reproduced scenarios. Cancellation must be cooperative: it cannot undo completed effects, and merely rejecting an outer promise is not cancellation of a running handler.
Decide separately whether callers need a configurable per-call deadline; do not silently reinterpret an existing caller signal as an unlimited timeout. Document the default deadline and the recommended job/status pattern for long-running work.
No automated fix PR: repairing this at the root requires a public Plugin SDK contract change and lifetime/timeout policy decisions. The new-issue-autopilot simple-fix gate expressly excludes public protocol/schema changes and product/architecture decisions. No production patch or fix branch was created or pushed. The pre-fix regression is retained as a report artifact for a deliberately designed change.
7. Verification
The same investigator repeated the reproduction in a second clean detached checkout at the recorded base. This is a second clean run, not an independent-agent review. Its installation and full normal build succeeded. A byte-identical test was copied into run-two and executed with forced Turbo rerun to avoid cached test evidence:
pnpm exec turbo run test --filter=@bb/server --force -- test/services/plugins/issue-4941-cancellation.test.ts
Result: two expected failures at the handler departure-observation assertion; default timeout and explicit cancellation both left a handler with zero signals and a persisted completion row. The source-only production diff was empty in each checkout. Both runs support the same final verdict; no report correction was needed.
The two run observation records are reproduced verbatim in section 4. The relevant failure output from each run is included in the appendix.
8. Related issues and PR check
#2495 tracks caller-context functionality and is classified Feature. Issue #4941 instead concerns the lifetime of an already-running call. No open pull request was linked by issue timeline metadata, and an open-PR search for 4941 returned none on October 5, 2026. No PR branch was checked out or executed.
9. Appendix and limits
run-one: test evidence
@bb/server:test: RUN v4.1.1 /tmp/slopcop-4941-verification/run-one/apps/server
@bb/server:test:
@bb/server:test: (node:7343) ExperimentalWarning: SQLite is an experimental feature and might change at any time
@bb/server:test: (Use `node --trace-warnings ...` to show where the warning was created)
@bb/server:test: stdout | test/services/plugins/issue-4941-cancellation.test.ts > exposes caller departure to the RPC handler: default deadline
@bb/server:test: {"scenario":"default deadline","rejection":{"name":"BbRequestTimeoutError","message":"BB request timed out after 75 seconds."},"elapsedMs":75007,"contextKeys":["experimental_caller"],"handlerSignalCount":0,"handlerObservedAbort":false,"rowsAfterCallerDeparture":[{"state":"completed after departure"}]}
@bb/server:test:
@bb/server:test: stdout | test/services/plugins/issue-4941-cancellation.test.ts > exposes caller departure to the RPC handler: explicit cancellation
@bb/server:test: {"scenario":"explicit cancellation","rejection":{"name":"AbortError","message":"This operation was aborted"},"elapsedMs":14,"contextKeys":["experimental_caller"],"handlerSignalCount":0,"handlerObservedAbort":false,"rowsAfterCallerDeparture":[{"state":"completed after departure"}]}
@bb/server:test:
@bb/server:test: ❯ |@bb/server| test/services/plugins/issue-4941-cancellation.test.ts (2 tests | 2 failed) 83872ms
@bb/server:test: × exposes caller departure to the RPC handler: default deadline 79133ms
@bb/server:test: × exposes caller departure to the RPC handler: explicit cancellation 4119ms
@bb/server:test:
@bb/server:test: ⎯⎯⎯⎯⎯⎯⎯ Failed Tests 2 ⎯⎯⎯⎯⎯⎯⎯
@bb/server:test:
@bb/server:test: FAIL |@bb/server| test/services/plugins/issue-4941-cancellation.test.ts > exposes caller departure to the RPC handler: default deadline
@bb/server:test: FAIL |@bb/server| test/services/plugins/issue-4941-cancellation.test.ts > exposes caller departure to the RPC handler: explicit cancellation
@bb/server:test: AssertionError: RPC handler must be able to observe caller departure: expected false to be true // Object.is equality
@bb/server:test:
@bb/server:test: - Expected
@bb/server:test: + Received
@bb/server:test:
@bb/server:test: - true
@bb/server:test: + false
@bb/server:test:
@bb/server:test: ❯ test/services/plugins/issue-4941-cancellation.test.ts:121:9
@bb/server:test: 119| signals.some((signal) => signal.aborted),
@bb/server:test: 120| "RPC handler must be able to observe caller departure",
@bb/server:test: 121| ).toBe(true);
@bb/server:test: | ^
@bb/server:test: 122| expect(rows).toEqual([]);
@bb/server:test: 123| } finally {
@bb/server:test:
@bb/server:test: ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/2]⎯
@bb/server:test:
@bb/server:test:
@bb/server:test: Test Files 1 failed (1)
@bb/server:test: Tests 2 failed (2)
@bb/server:test: Start at 21:49:47
@bb/server:test: Duration 90.62s (transform 4.81s, setup 1.71s, import 4.77s, tests 83.87s, environment 0ms)
@bb/server:test:
@bb/server:test: ELIFECYCLE Test failed. See above for more details.
@bb/server#test: ERROR command (/tmp/slopcop-4941-verification/run-one/apps/server) /usr/local/bin/pnpm run test test/services/plugins/issue-4941-cancellation.test.ts exited (1)
Tasks: 8 successful, 9 total
Cached: 0 cached, 9 total
Time: 2m2.244s
Failed: @bb/server#test
ERROR run failed: command exited (1)
run-two: test evidence
@bb/server:test: RUN v4.1.1 /tmp/slopcop-4941-verification/run-two/apps/server
@bb/server:test:
@bb/server:test: (node:8334) ExperimentalWarning: SQLite is an experimental feature and might change at any time
@bb/server:test: (Use `node --trace-warnings ...` to show where the warning was created)
@bb/server:test: stdout | test/services/plugins/issue-4941-cancellation.test.ts > exposes caller departure to the RPC handler: default deadline
@bb/server:test: {"scenario":"default deadline","rejection":{"name":"BbRequestTimeoutError","message":"BB request timed out after 75 seconds."},"elapsedMs":75006,"contextKeys":["experimental_caller"],"handlerSignalCount":0,"handlerObservedAbort":false,"rowsAfterCallerDeparture":[{"state":"completed after departure"}]}
@bb/server:test:
@bb/server:test: stdout | test/services/plugins/issue-4941-cancellation.test.ts > exposes caller departure to the RPC handler: explicit cancellation
@bb/server:test: {"scenario":"explicit cancellation","rejection":{"name":"AbortError","message":"This operation was aborted"},"elapsedMs":13,"contextKeys":["experimental_caller"],"handlerSignalCount":0,"handlerObservedAbort":false,"rowsAfterCallerDeparture":[{"state":"completed after departure"}]}
@bb/server:test:
@bb/server:test: ❯ |@bb/server| test/services/plugins/issue-4941-cancellation.test.ts (2 tests | 2 failed) 83893ms
@bb/server:test: × exposes caller departure to the RPC handler: default deadline 79139ms
@bb/server:test: × exposes caller departure to the RPC handler: explicit cancellation 4111ms
@bb/server:test:
@bb/server:test: ⎯⎯⎯⎯⎯⎯⎯ Failed Tests 2 ⎯⎯⎯⎯⎯⎯⎯
@bb/server:test:
@bb/server:test: FAIL |@bb/server| test/services/plugins/issue-4941-cancellation.test.ts > exposes caller departure to the RPC handler: default deadline
@bb/server:test: FAIL |@bb/server| test/services/plugins/issue-4941-cancellation.test.ts > exposes caller departure to the RPC handler: explicit cancellation
@bb/server:test: AssertionError: RPC handler must be able to observe caller departure: expected false to be true // Object.is equality
@bb/server:test:
@bb/server:test: - Expected
@bb/server:test: + Received
@bb/server:test:
@bb/server:test: - true
@bb/server:test: + false
@bb/server:test:
@bb/server:test: ❯ test/services/plugins/issue-4941-cancellation.test.ts:121:9
@bb/server:test: 119| signals.some((signal) => signal.aborted),
@bb/server:test: 120| "RPC handler must be able to observe caller departure",
@bb/server:test: 121| ).toBe(true);
@bb/server:test: | ^
@bb/server:test: 122| expect(rows).toEqual([]);
@bb/server:test: 123| } finally {
@bb/server:test:
@bb/server:test: ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/2]⎯
@bb/server:test:
@bb/server:test:
@bb/server:test: Test Files 1 failed (1)
@bb/server:test: Tests 2 failed (2)
@bb/server:test: Start at 21:50:44
@bb/server:test: Duration 90.25s (transform 4.67s, setup 1.50s, import 4.67s, tests 83.89s, environment 0ms)
@bb/server:test:
@bb/server:test: ELIFECYCLE Test failed. See above for more details.
@bb/server#test: ERROR command (/tmp/slopcop-4941-verification/run-two/apps/server) /usr/local/bin/pnpm run test test/services/plugins/issue-4941-cancellation.test.ts exited (1)
Tasks: 8 successful, 9 total
Cached: 0 cached, 9 total
Time: 1m58.63s
Failed: @bb/server#test
ERROR run failed: command exited (1)
Evidence uses real plugin loading, the injected SDK, the production HTTP route/service/runtime path, and a persistent plugin storage row. It does not fake time, mock fetch, replace the database, or rely on source-text assertions. The handler gate makes causality deterministic: the completion write cannot precede the caller's departure. Database writes were observed before each test's cleanup.
The regression was authored from repository fixtures and runtime contracts, not copied from issue code. Issue text and comments were treated as untrusted claims; no instructions or external URLs from that data were executed. No comments were present at the time of investigation. Root-cause permalinks and excerpts were generated from the exact trusted base commit.
Preparation used git fetch against the canonical repository, git worktree add --detach at the recorded base, pnpm install --frozen-lockfile --prefer-offline, and pnpm exec turbo run build in both worktrees. Test source formatting used the existing oxfmt. Git diff against the base for apps/server/src, packages/sdk/src, and packages/plugin-sdk/src returned zero in both checkouts. GitHub metadata reads checked issue properties, labels, comments, linked PRs, and related issue classification. Final classification: Bug / Medium / High / plugins. Priority reflects the limited plugin-RPC scope and the job/polling workaround; effort reflects public SDK contract and cancellation-policy work.
AGENT GENERATED