Repository navigation
[3548 by Claude Opus 5.5] Plugin handlers: SDK types, scoped ProPR client, outbound HTTP, plugin state and the core-import lint rule - #3573
Conversation
…it its time limit and was stopped, for the same reason. I won't restart it. The test results were already read straight from the suite log, so the implementation summary and acceptance criteria above still stand.
|
/ultrafix goal=8 max=10 |
|
🔄 Ultrafix loop started (goal: 8/10, max cycles: 10) First action:
|
|
✅ AI Code Review Complete requested by @propr-ultrafix Posted 1 review: |
🔍 AI Code Review — codex:gpt-6-astraOverall EvaluationThis PR adds the handler SDK, runtime, scoped clients, persistent state, fixtures, and documentation. It needs changes before merge: permission enforcement, credential redaction, and handler lifecycle cleanup have concrete gaps. ✅ Repository scoping — Explicit repository arguments are checked before backend calls, and ✅ Pinned HTTP destinations — The transport dials the vetted public address, preserves the original TLS identity, and does not follow redirects. ✅ Focused coverage — Added fixtures exercise success, exceptions, asynchronous hangs, permission refusals, state limits, and basic credential echoes. This review uses static analysis of the supplied complete diff; no commands were run. The authoritative checks report 30 passed, 32 neutral/skipped, four pending, and no failures. Merge blockersEvery finding below was introduced by this PR and must be resolved before merging. F1: 🔴 Comment permissions do not enforce target type
F2: 🔴 JSON escaping bypasses credential scrubbing
F3: 🔴 HTTP requests can start after timeout
F4: 🔴 Active handlers can recreate uninstalled state
SuggestionsThese are optional follow-ups and are not sent to S1: 🟢 Align test-kit repository checks
S2: 🟢 Exercise compiled handler loadingThe registry test explicitly exercises the source ScoreThe implementation covers substantial functionality, but permission bypasses, credential exposure, and lifecycle gaps require correction. Current checks show no failures, although four remain pending. Score: 5/10 🤖 Review Details
Copy and edit to choose records from this review: 🤖 Review by ProPR |
|
✅ Applied the requested follow-up changes in commit 85d63e8
Summary of ChangesI've fixed all four findings and added regression tests for each. To check the tests, I ran the new ones against the original source files: all 7 failed there, and all 48 plugin tests pass with the fix. Core typecheck and zero-warning lint on F1 – comment permission vs. target type. GitHub's issue endpoints accept pull-request numbers too, so the method name alone didn't prove what a number was. The backend's
F2 – JSON-escaped credentials. The list of credential spellings to scrub now includes the JSON-escaped form, plus a variant with
F3 – HTTP requests after timeout. The handler's abort signal now reaches
F4 – state recreated after uninstall. Inside its transaction, a
I updated Two things I noticed but didn't change, since they're outside these findings:
Review digestRisk-tiered paths
Validation evidence
Diff size: 11 files changed, +379/−27 lines 🤖 Implementation Details
💡 ProPR Slash Commands
🤖 Generated by ProPR |
… each. To check the tests, I ran the new ones against the original source files: all 7 failed there, and all 48 plugin tests pass with the fix. Core typecheck and zero-warning lint on `src/plugins` pass too. I've fixed all four findings and added regression tests for each. To check the tests, I ran the new ones against the original source files: all 7 failed there, and all 48 plugin tests pass with the fix. Core typecheck and zero-warning lint on `src/plugins` pass too. **F1 – comment permission vs. target type.** GitHub's issue endpoints accept pull-request numbers too, so the method name alone didn't prove what a number was. The backend's `comment` now takes the target kind (`'issue'` or `'pull_request'`). It reads the number first and throws `not_found` without posting if the kind doesn't match. `commentOnIssue` and `commentOnPullRequest` each pass their own kind. - **Same defect elsewhere:** `getIssue` had the same gap, letting `issues.read` read a pull request, and now refuses one too. - **Tests:** both substitutions are covered, directly and through a handler, and nothing is posted in either case. One existing test changed: it now expects the extra lookup request before the comment is posted. **F2 – JSON-escaped credentials.** The list of credential spellings to scrub now includes the JSON-escaped form, plus a variant with `/` escaped as `\/`. A JSON body is also checked after decoding, so an upstream can't spell the credential back with `\uXXXX` or `\"`. If a decoded string held it, `text()` and `json()` return the body re-serialised with it replaced; a clean body is returned unchanged. A body nested too deeply to check is refused rather than returned. - **Tests:** a credential containing a quote, a backslash and a `/`, echoed four ways: `JSON.stringify`, all-`\u` escapes, `\/` escapes, and as an object key. A non-JSON page with the escaped credential embedded is covered too. **F3 – HTTP requests after timeout.** The handler's abort signal now reaches `ctx.http`. The DNS lookup, credential read and transport call all stop as soon as the run ends, and the signal is checked again before sending. The default transport cancels an in-flight request on abort. - **Same defect elsewhere:** the default `ctx.propr` backend had the same gap between fetching the GitHub App token and sending. It now gets the signal too and checks it after the token arrives and before queueing a task. - **Tests:** DNS held until after the timeout, the credential held until after the timeout, and an in-flight request getting the abort. In each case nothing is sent. **F4 – state recreated after uninstall.** Inside its transaction, a `ctx.state.set` now requires the installation to still exist with the same `installed_at` the run started with, so a reinstall under the same id doesn't count. Uninstall now deletes the installation row before the state rows. Either the write commits first and uninstall deletes its row, or the write finds the installation gone and throws `unavailable`. - On Postgres the write holds a `FOR SHARE` lock on that row until it commits. Our tests use SQLite, which runs one write transaction at a time, so the Postgres locking path itself hasn't been run. - **Tests:** a handler suspended mid-run resumes after uninstall, and after uninstall plus reinstall. Its write fails and no state row exists. - One existing test ran example-pack from a record that was never installed. It now inserts a matching installation row first. I updated `docs/docs/architecture/plugin-runtime.md` for each change. Nothing here is visible in the UI, so there are no previews. The new tests are in `packages/core/test/pluginHandlerLifecycle.test.ts`, plus additions to `pluginProprClient.test.ts`. Two things I noticed but didn't change, since they're outside these findings: - `createTask(repository, issueNumber)` doesn't check that the number is an issue rather than a pull request. It only needs one permission, so it can't be used to get around one. - A handler that is still running when its plugin is disabled, but not uninstalled, can still write state until it finishes or times out. PR: #3573 Comment by: @propr-ultrafix (ID: 0) Model: Claude Opus 5.5
|
✅ AI Code Review Complete requested by @propr-ultrafix Posted 1 review: |
🔍 AI Code Review — codex:gpt-6-astraOverall EvaluationThis PR adds the handler SDK, runtime, scoped ProPR client, HTTP transport, persistent state, documentation, and fixtures. It needs changes before merge: installation isolation and timeout fencing remain incomplete in several mutation paths. ✅ Explicit permission checks — Operations enforce granted permissions and repository limits; GitHub issue/comment operations also verify the target kind. ✅ Constrained HTTP transport — Requests resolve and validate addresses before dialing, retain the original TLS identity, and cancel through the handler signal. ✅ Focused regression coverage — Tests cover handler failures, HTTP credential echoes, permission refusals, and state writes after uninstall. The authoritative checks report 34 passed, none failed, and one pending. This review uses static analysis of the supplied code; no commands were run. Merge blockersEvery finding below was introduced by this PR and must be resolved before merging. F5: 🔴 Fence every state operation by installation
F6: 🔴 Recheck cancellation before queue insertion
F7: 🔴 Recheck state cancellation before mutation
SuggestionsThese are optional follow-ups and are not sent to S3: 🟢 Match test-kit task scoping
ScoreThe implementation has substantial coverage and clear boundaries, but the remaining lifecycle defects can delete replacement state or perform mutations after timeout. These require localized fixes before merge. Score: 6/10 🤖 Review Details
Copy and edit to choose records from this review: 🤖 Review by ProPR |
|
✅ Applied the requested follow-up changes in commit d30665f
Summary of ChangesI fixed all three findings (F5, F6, F7), each with a regression test. When I ran the new tests against the original source files, all three failed; with the fix, the plugin test files pass. Core typecheck passes, and zero-warning lint passes on F5: every state operation is now tied to the installation (
F7: state cancellation is checked again before and after each change
F6: no task is queued after cancellation (
I checked the backend's other GitHub write calls for the same gap and found none: every request already rechecks the signal after the App token is fetched. I found nothing separate to report outside these three findings, and I made no previews because nothing here is visible to a user. Review digestRisk-tiered paths
Validation evidence
Diff size: 6 files changed, +149/−28 lines 🤖 Implementation Details
💡 ProPR Slash Commands
🤖 Generated by ProPR |
…sion test. When I ran the new tests against the original source files, all three failed; with the fix, the plugin test files pass. Core typecheck passes, and zero-warning lint passes on `src/plugins`. Lint only reported "file ignored" for the test files, because core lint covers `src/` only. I fixed all three findings (F5, F6, F7), each with a regression test. When I ran the new tests against the original source files, all three failed; with the fix, the plugin test files pass. Core typecheck passes, and zero-warning lint passes on `src/plugins`. Lint only reported "file ignored" for the test files, because core lint covers `src/` only. **F5: every state operation is now tied to the installation** (`pluginStateStore.ts`) - `get`, `set`, `delete` and `keys` now all run inside one transaction that first checks the installation is still the same one, by comparing `installed_at`. On Postgres it also holds a shared lock on the installation row until commit, so an uninstall can't overtake an operation in progress. - An old handler that resumes after an uninstall and reinstall now gets `unavailable` from all four methods. It can no longer read, list or delete the new installation's state. - Test: for each of `get`, `keys` and `delete`, a held handler resumes after uninstall plus reinstall, gets `unavailable`, and the new installation's value is still there. The `suspendThenSet` fixture handler gained an optional `op` input so this test could reuse it. **F7: state cancellation is checked again before and after each change** - `set` checks the signal again after the count/size query and before the insert. - Every operation also checks the signal just before its transaction commits. If the run ended during the insert or delete, the change is rolled back. - Test: I abort the signal at the moment the count/size query is sent, then do the same during the insert and during the delete. Each call is refused, and the stored value and key list stay as they were. **F6: no task is queued after cancellation** (`pluginProprBackend.ts`) - `createTask` now passes the run's signal to the enqueue function. - The default enqueue loads the queue, checks the signal, and only then calls `queue.add`. - To make the test possible, there is a new optional `issueQueue` setting so a test can supply the queue. A custom `enqueueIssueTask` now also receives the signal as a third argument. - Test: queue initialization is held until after the abort; no job is added and the call is refused with `unavailable`. A live run still queues its job. I checked the backend's other GitHub write calls for the same gap and found none: every request already rechecks the signal after the App token is fetched. I found nothing separate to report outside these three findings, and I made no previews because nothing here is visible to a user. PR: #3573 Comment by: @propr-ultrafix (ID: 0) Model: Claude Opus 5.5
|
✅ AI Code Review Complete requested by @propr-ultrafix Posted 1 review: |
🔍 AI Code Review — codex:gpt-6-astraOverall EvaluationThe PR adds the handler SDK, runner, scoped clients, persistent state, documentation, and substantial fixture coverage. It needs changes before merge because credential isolation has two remaining gaps. ✅ Permission enforcement — ✅ Cancellation coverage — HTTP and GitHub operations recheck cancellation after asynchronous setup, and state operations check cancellation before committing. ✅ State lifecycle protection — State access checks installation identity, preventing an old handler from accessing a later installation’s state. This review is based on static analysis of the supplied code; no commands were run. Current checks show no failures and five pending. Merge blockersEvery finding below was introduced by this PR and must be resolved before merging. F8: 🔴 Escaped response headers expose credentials
F9: 🔴 Old runs can use reinstalled credentials
SuggestionsThese are optional follow-ups and are not sent to S4: 🟢 Match test-kit task scoping
ScoreThe implementation has useful coverage and clear separation of responsibilities, but the two credential-boundary defects require correction. Pending checks should also complete before merging. Score: 6/10 🤖 Review Details
Copy and edit to choose records from this review: 🤖 Review by ProPR |
|
✅ Applied the requested follow-up changes in commit 3c22120
Summary of ChangesI fixed F8 and F9 and added regression tests for both. With the fixes, the touched core plugin test files pass (pluginHandlerLifecycle 8/8, pluginHandlerRunner 6/6), and so does F8: credentials hidden in escaped response headers (
F9: old runs using a reinstalled plugin's credentials (
Found along the way, not fixed (outside F8/F9):
Review digestRisk-tiered paths
Validation evidence
Diff size: 6 files changed, +112/−10 lines 🤖 Implementation Details
💡 ProPR Slash Commands
🤖 Generated by ProPR |
… the fixes, the touched core plugin test files pass (pluginHandlerLifecycle 8/8, pluginHandlerRunner 6/6), and so does `packages/plugins/test/testing.test.ts`. When I swapped the original source files back in, both new tests failed, so they catch the defects. Core typecheck, the plugins package typecheck and zero-warning lint on `src/plugins` pass. I made one last small refactor, to clear a lint warning about too many parameters; lint, typecheck and those two suites were re-run after it. I fixed F8 and F9 and added regression tests for both. With the fixes, the touched core plugin test files pass (pluginHandlerLifecycle 8/8, pluginHandlerRunner 6/6), and so does `packages/plugins/test/testing.test.ts`. When I swapped the original source files back in, both new tests failed, so they catch the defects. Core typecheck, the plugins package typecheck and zero-warning lint on `src/plugins` pass. I made one last small refactor, to clear a lint warning about too many parameters; lint, typecheck and those two suites were re-run after it. **F8: credentials hidden in escaped response headers** (`pluginHttp.ts`) - Headers now go through a new `scrubbedHeader` step instead of the literal `scrub` alone. After literal scrubbing, it decodes JSON escapes (`\uXXXX`, `\"`, `\\`, `\/`, `\n` and so on) anywhere in the value, up to 8 times so double-escaped values are caught too. If the decoded text contains any spelling of the credential, the whole header value is replaced with `[REDACTED]`. - This goes further than only handling headers that are entirely JSON. A value like `"\u0042…", other`, where several headers were joined with `, `, is not valid JSON as a whole, but a handler could split it and parse one part. - Headers that don't contain the credential are passed through byte-for-byte; a new test checks this. - `fetchProbe` now also reports `parsedHeadersHaveProbe`: it parses each header value, and each `, `-separated part, as JSON. The test covers a fully `\u`-escaped string, a JSON object, a joined value and a double-encoded value. **F9: old runs using a reinstalled plugin's credentials** (`pluginContext.ts`, `pluginHttp.ts`, `pluginStateStore.ts`) - The default credential lookup now checks the run's own installation (matched by `installed_at`) and reads the secret in the same transaction. It uses the same `requireInstallation` check as `ctx.state`, which is now exported for this. - `createPluginHttp` has a new `authorize` option. For authenticated requests the context sets it to re-check the installation after DNS and the credential lookup, just before sending. This also covers a custom `connectionSecret` source and a credential cached from an earlier request. - The new lifecycle test holds DNS and then tries three cases: uninstall only, uninstall and reinstall with a replacement token, and the same reinstall using a lookup that knows only the plugin id. In every case the handler gets `unavailable`, nothing reaches the transport, and the replacement token never appears in the run's result. - One race remains and can't be closed: an uninstall that commits after the final check but before the HTTPS request goes out. In that window the request can only carry the old installation's own secret, never the replacement's. - I added a short "Installation binding" paragraph and the header rule to `docs/docs/architecture/plugin-runtime.md`. **Found along the way, not fixed (outside F8/F9):** - Response header *names* are never scrubbed. An upstream that sends a header named after a lowercase credential would show it to the handler. - The body check only works when the whole body is JSON. A non-JSON body, such as HTML, that contains a `\u`-escaped JSON string of the credential is only scrubbed literally, so the handler could pull out that string and decode it. PR: #3573 Comment by: @propr-ultrafix (ID: 0) Model: Claude Opus 5.5
|
✅ AI Code Review Complete requested by @propr-ultrafix Posted 1 review: |
🔍 AI Code Review — codex:gpt-6-astraOverall EvaluationThis PR adds the handler SDK, runner, scoped ProPR client, outbound HTTP, persistent state, documentation, and fixtures. It is not ready to merge: credential-response filtering and authorization after uninstall need correction. ✅ Network destination checks — HTTP requests validate HTTPS, allowed hosts, and public DNS results, then dial the vetted address without following redirects. ✅ State lifecycle protection — State operations check installation identity inside transactions, and the added tests cover uninstall/reinstall and cancellation rollback. ✅ Permission separation — Issue and pull-request comment operations verify the target kind before posting. This review is based on static tracing of the supplied code; no commands were run. The authoritative checks report 32 passed, 2 pending, and no failures. Merge blockersEvery finding below was introduced by this PR and must be resolved before merging. F10: 🔴 Escaped credentials survive response-body filtering
F11: 🔴 Uninstalled handlers retain ProPR authority
SuggestionsThese are optional follow-ups and are not sent to S5: 🟢 Clarify test-kit fidelity
ScoreThe implementation has substantial coverage and useful lifecycle protections, but two security-boundary defects remain. Pending checks alone do not affect this assessment. Score: 5/10 🤖 Review Details
Copy and edit to choose records from this review: 🤖 Review by ProPR |
|
✅ Applied the requested follow-up changes in commit ca5eb57
Summary of ChangesI fixed F10 and F11 and added regression tests for both. With the fixes, all the plugin tests pass: 25 in the handler, F10: credentials escaped in response bodies (
F11: uninstalled handlers keeping
One race remains and can't be closed: the check commits before the GitHub request goes out, so uninstall doesn't wait for a request that already passed it. Docs: Separate findings, not changed:
There are no visual changes, so I didn't create previews. Review digestRisk-tiered paths
Validation evidence
Diff size: 7 files changed, +235/−34 lines 🤖 Implementation Details
💡 ProPR Slash Commands
🤖 Generated by ProPR |
…th the fixes, all the plugin tests pass: 25 in the handler, `ctx.propr` and runner suites, and 30 more in the store, contributions, lint and `packages/plugins` testing suites. When I swapped the original source files back in, all three new tests failed. Core typecheck and zero-warning lint on `src/plugins` pass.
I fixed F10 and F11 and added regression tests for both. With the fixes, all the plugin tests pass: 25 in the handler, `ctx.propr` and runner suites, and 30 more in the store, contributions, lint and `packages/plugins` testing suites. When I swapped the original source files back in, all three new tests failed. Core typecheck and zero-warning lint on `src/plugins` pass.
**F10: credentials escaped in response bodies** (`pluginHttp.ts`)
- There is now one shared check, `revealsCredential`. It decodes the text's JSON escapes one round at a time, up to 32 rounds, and looks for any spelling of the credential after each round. Text that is still decoding after 32 rounds counts as holding the credential, so the check fails closed.
- **Bodies:** after the literal scrub, any body (HTML, plain text or JSON) that still decodes to the credential is replaced with `[REDACTED]`. That covers `\uXXXX` escapes inside an HTML script.
- **Nested JSON:** inside a JSON body, a string that would reveal the credential when parsed again is replaced with `[REDACTED]` on its own. The rest of the document stays readable.
- **Headers:** header filtering had the same weakness, so it now uses the same check. It used to stop after 8 decode rounds and pass the header through unchanged. An escape like `\u005c` turns into the backslash of the next escape, so about 2 KB was enough to hide a 40-character token 10 rounds deep.
- The new test covers the HTML script case and the nested JSON case. It also checks 10-round and 40-round escapes in both a body and a header, and that escapes with no credential in them come through unchanged.
**F11: uninstalled handlers keeping `ctx.propr` access**
- `buildPluginContext` now has one installation check, also used by authenticated `ctx.http`. It confirms the run's installation (same `installed_at`) still exists and the run hasn't ended.
- `scopedProprClient` runs this check before every call reaches the backend, after its permission and repository checks. That covers every operation and any backend.
- The default GitHub backend runs it again right before each GitHub request, after the App client is ready. It also runs it before adding a task job, after the queue starts up or before a custom `enqueueIssueTask`.
- A refused call returns `unavailable` ("The plugin is no longer installed") and is recorded as `handler_refused`. Audit rows don't depend on the installation, so recording still works after uninstall.
- The new tests suspend a handler, then uninstall (or uninstall and reinstall) before its next `createIssue`, `createTask` or `commentOnIssue`; nothing reaches the backend. A second test uninstalls while the App token and the queue are still loading; nothing is sent or queued.
One race remains and can't be closed: the check commits before the GitHub request goes out, so uninstall doesn't wait for a request that already passed it. `ctx.http` behaves the same way.
Docs: `docs/docs/architecture/plugin-runtime.md` now describes the new body and nested-string handling and the new installation rule for `ctx.propr`.
**Separate findings, not changed:**
- Filtering only covers JSON-style escapes. A plugin author who controls an allowed host can still return the credential in any encoding they make up (reversed, XOR'd, and so on).
- `ctx.propr` still uses the permissions and repository list from when the run started. A change to the grant or repository limit, or disabling the plugin, during a run isn't rechecked; only removal or reinstall is.
- An existing type error in the `fetchUrl` fixture handler (`handlers.ts:40`, TS2352) shows up when that file is typechecked. Normal typecheck doesn't cover it.
There are no visual changes, so I didn't create previews.
PR: #3573
Comment by: @propr-ultrafix (ID: 0)
Model: Claude Opus 5.5
|
✅ AI Code Review Complete requested by @propr-ultrafix Posted 1 review: |
🔍 AI Code Review — codex:gpt-6-astraOverall EvaluationThis PR adds the handler SDK, scoped clients, HTTP transport, installation state, test helpers, and documentation. It needs changes before merge because external mutations can occur without a durable audit record. ✅ Destination checks — HTTP requests validate every resolved address and dial the vetted address while preserving the original TLS hostname. ✅ Installation fencing — State operations check installation identity inside their transactions, and lifecycle tests cover uninstall and reinstall. ✅ Permission separation — The GitHub backend checks issue versus pull-request targets before posting comments. Review was static; no commands were run. The supplied current-head status reports 29 passed, five pending, and no failed checks. Merge blockersEvery finding below was introduced by this PR and must be resolved before merging. F12: 🔴 Record authorization before external mutations
SuggestionsThese are optional follow-ups and are not sent to S6: 🟢 Match task scoping in the test kit
S7: 🟢 Verify concurrent state limits
ScoreThe implementation has substantial coverage and clear boundaries, but the audit ordering leaves a required correctness gap. Pending CI checks should also finish before merge. Score: 6/10 🤖 Review Details
Copy and edit to choose records from this review: 🤖 Review by ProPR |
|
✅ Applied the requested follow-up changes in commit 9adc1ac
Summary of ChangesI fixed F12: How a mutating call works now (
Once the attempt is recorded, a failure to record the outcome is logged on the server ( Read operations are unchanged: they get one entry when they finish, and a failure to write it still fails the call. That is safe because nothing outside ProPR changes. Checking related code: the GitHub backend still re-checks the installation right before it sends anything. A call refused at that point leaves an attempt entry followed by a refusal. The "uninstalled mid-run" lifecycle test still shows only refusals, because the installation check happens before the attempt is written. The other parts of Other files changed:
Tests (in
Results: all 56 plugin tests pass across the six plugin suites. With the original source files swapped back in, all three new tests and the two updated ones fail. Typecheck passes for Separate issue, not changed: when an audit write fails and no attempt entry exists to fall back on (a refusal, or a read finishing), the handler gets the raw database error instead of There are no visual changes, so I made no previews. Review digestRisk-tiered paths
Validation evidence
Diff size: 8 files changed, +176/−30 lines 🤖 Implementation Details
💡 ProPR Slash Commands
🤖 Generated by ProPR |
…attempt` audit entry before it sends any change to GitHub or the task queue. If that write fails, nothing is sent. I fixed F12: `ctx.propr` now writes an attributed `handler_attempt` audit entry before it sends any change to GitHub or the task queue. If that write fails, nothing is sent. **How a mutating call works now** (`createIssue`, `createTask`, `commentOnIssue`, `commentOnPullRequest`, `addLabel`, `removeLabel`), in `packages/core/src/plugins/pluginProprClient.ts`: 1. The existing permission, repository-limit and installation checks run first. 2. A `handler_attempt` entry is written, with `plugin:<id>` as the actor. If that write fails, the call is refused as `unavailable` and the backend is never called. 3. The backend runs. 4. The outcome is recorded as a separate entry: `handler_call` on success, `handler_refused` with the reason on failure. All entries for one call share a new `callId`, so the attempt and its outcome can be matched. Once the attempt is recorded, a failure to record the outcome is logged on the server (`[plugins] Could not record the outcome of an attempted handler call`) and the call still returns its result. Rejecting it would only invite a retry that creates a second issue or comment, and the attempt entry already credits the mutation to the plugin. Read operations are unchanged: they get one entry when they finish, and a failure to write it still fails the call. That is safe because nothing outside ProPR changes. **Checking related code:** the GitHub backend still re-checks the installation right before it sends anything. A call refused at that point leaves an attempt entry followed by a refusal. The "uninstalled mid-run" lifecycle test still shows only refusals, because the installation check happens before the attempt is written. The other parts of `ctx` (`ctx.http`, `ctx.state`) make no audit-trail promise. **Other files changed:** - `handler_attempt` is added to the list of audit actions in `packages/shared/src/pluginInstallations.ts`, the OpenAPI spec and the generated client types. `gen:openapi:check` passes. - `pluginContext.ts` maps each outcome to its audit action and does the server-side logging. - Both docs pages (`plugins.md` and `plugin-runtime.md`) describe the attempt entry and what happens when audit writes fail. **Tests** (in `packages/core/test/pluginProprClient.test.ts`): - **Recorded before sending:** for each mutation run through a handler, the backend checks the real `plugin_audit` table at the moment it is called and finds the `handler_attempt` entry already there. - **Attempt can't be written:** a SQLite trigger rejects attempt entries. Every mutation is then refused as `unavailable` and nothing reaches the backend. The same is checked with a record function that throws. - **Outcome can't be written:** `createIssue` still returns the created issue and the attempt entry stays. A backend failure after the attempt leaves an attempt entry and a refusal entry with the same `callId`, and the logging hook is called. - I updated two existing tests to the new entries. **Results:** all 56 plugin tests pass across the six plugin suites. With the original source files swapped back in, all three new tests and the two updated ones fail. Typecheck passes for `shared`, `core`, `client` and `plugins`, and zero-warning lint passes on `src/plugins`. I also ran `taskJournalEvents`, an existing suite this change doesn't touch. It didn't run properly because my command left out the `--experimental-test-module-mocks` flag it needs, so that is no evidence either way. **Separate issue, not changed:** when an audit write fails and no attempt entry exists to fall back on (a refusal, or a read finishing), the handler gets the raw database error instead of `unavailable`. One of the new tests depends on this. The behaviour was already there before this PR's F12 work and wasn't selected, so I left it alone. There are no visual changes, so I made no previews. PR: #3573 Comment by: @propr-ultrafix (ID: 0) Model: Claude Opus 5.5
|
✅ AI Code Review Complete requested by @propr-ultrafix Posted 1 review: |
|
ℹ️ Analyzed the follow-up request by @propr-dev[bot] Analysis SummaryI looked into it. This failure isn't caused by the PR's code, and I didn't change any files. What failed: the job died during So the headers download on that runner was incomplete or got corrupted, and the native compile had nothing to work with. Why it isn't this PR:
What to do: re-run the job, or let the next push run it again. The headers download should succeed on a fresh runner. If the same No code changes were necessary based on the current state of the branch. 🤖 Analysis Details
💡 ProPR Slash Commands
🤖 Generated by ProPR |
|
/review |
|
✅ AI Code Review Complete requested by @integry Posted 1 review: |
🔍 AI Code Review — codex:gpt-6-astraOverall EvaluationThe PR implements the handler SDK, runtime, scoped clients, state storage, and documentation with substantial regression coverage. It needs a localized correction before merge: some thrown values escape the runner instead of producing the promised failed outcome. ✅ Mutation attribution — Mutations require a durable ✅ Authority rechecks — The default backend rechecks installation status, permissions, and repository scope after initializing GitHub or the queue. ✅ Lifecycle coverage — Added tests exercise timeout cancellation, uninstall/reinstall boundaries, and credential redaction. This review used the supplied code only; no commands were run. Current checks report 22 passed, 10 pending, 10 neutral/skipped, and no failures. Merge blockersEvery finding below was introduced by this PR and must be resolved before merging. F21: 🔴 Safely format non-Error throws
SuggestionsThese are optional follow-ups and are not sent to S18: 🟢 Clarify test-kit parityThe documentation says the fake applies the same host and state checks as production, but S19: 🟢 Extend import-rule coverageThe dynamic-import selectors in ScoreThe implementation is thorough, but the runner’s failure-handling contract has a concrete escape path that also bypasses context shutdown. The correction is localized; pending checks remain outstanding. Score: 6/10 🤖 Review Details
Copy and edit to choose records from this review: 🤖 Review by ProPR |
|
/fix |
|
✅ Applied the requested follow-up changes in commit c259678
Summary of ChangesI fixed F21: Fix ( Regression test (
For each one it checks that the runner resolves with Verification:
Separate, not changed: a few other spots call
These aren't the same defect. They throw a Review digestRisk-tiered paths
Validation evidence
Diff size: 2 files changed, +50/−3 lines 🤖 Implementation Details
Undo Changes • View Task Execution 💡 ProPR Slash Commands
🤖 Generated by ProPR |
…e when a handler throws a value that can't be turned into a string, instead of rejecting.
I fixed F21: `runPluginHandler` now returns a failed outcome when a handler throws a value that can't be turned into a string, instead of rejecting.
**Fix** (`packages/core/src/plugins/pluginHandlerRunner.ts`): getting the error message is now exception-safe. If converting the thrown value throws, or doesn't produce a non-empty string, the error is the fixed text `'The handler failed'`. While checking the rest of that catch block, I found `error instanceof HandlerTimeout` has the same problem: a proxy whose `getPrototypeOf` trap throws makes `instanceof` throw too. So that check is now inside a `try` as well. With both guarded, nothing in the catch block can throw any more. That means `finish` always runs and always aborts the run's context.
**Regression test** (`packages/core/test/pluginHandlerRunner.test.ts`): a new test throws five values from a handler:
- the finding's `{ message: 'Upstream failed', toString: 'upstream field' }`
- `Object.create(null)`
- an `Error` whose `message` isn't a string
- an `Error` whose `message` getter throws
- a proxy whose `getPrototypeOf` trap throws
For each one it checks that the runner resolves with `outcome: 'failed'`, `timedOut: false` and the fixed message, and that the handler's `ctx.signal` is aborted. It also checks that a thrown string still comes back as its own message.
**Verification:**
- `pluginHandlerRunner.test.ts` passes (10/10).
- With the original runner source put back, the new test fails with the `TypeError` from the finding.
- ESLint (zero warnings allowed) passes on the changed source file, and `tsc --noEmit` passes for `packages/core`. ESLint ignores the test file, so it wasn't linted.
**Separate, not changed:** a few other spots call `String()` on a value the handler passes in:
- `pluginContext.ts:171`: the `ctx.log` message
- `pluginContext.ts:197`: the connection name in an error
- `pluginHttp.ts:407`: `init.method` in an error
- `packages/plugins/testing/index.ts:147`: the test harness's log capture
These aren't the same defect. They throw a `TypeError` back to the handler during its own call, and the runner, now fixed, still turns that into a failed outcome. At most, the handler gets a `TypeError` where it would have got a `PluginSdkError`. `pluginContext.ts:229` converts a database error from recording a call, not something the handler throws.
PR: #3573
Comment by: @integry (ID: 6893865246)
Model: Claude Opus 5.5
|
/review astra fable |
|
✅ AI Code Review Complete requested by @integry Posted 2 reviews: |
🔍 AI Code Review — astraOverall EvaluationThe PR adds the handler SDK, runner, scoped ProPR operations, outbound HTTP, persistent state, and documentation. It is ready to merge within the supplied scope; this review found no verified merge blocker. ✅ Audited mutations — Mutations require a durable attempt record before dispatch, while completion-record failures do not incorrectly turn successful mutations into retryable failures. ✅ Lifecycle authorization — The default backend rechecks installation identity, enabled state, permissions, and repository limits after client or queue initialization. ✅ Focused regression coverage — Tests exercise timeout cancellation, uninstall/reinstall isolation, permission boundaries, and credential redaction across multiple encodings. Review was static, using the supplied diff and context; no commands were run. Current checks report 35 passed, 12 neutral/skipped, and no failures or pending checks. Merge blockersNo merge blockers. SuggestionsThese are optional follow-ups and are not sent to S20: 🟢 Clarify test-kit validation parity
S21: 🟢 Document cooperative timeout limits
ScoreThe implementation addresses the stated acceptance criteria with substantial regression coverage and passing current checks. Static review found no actionable defect; the remaining suggestions concern documentation and test-helper fidelity. Score: 8/10 🤖 Review Details
Copy and edit to choose records from this review: 🤖 Review by ProPR |
🔍 AI Code Review — fable🤖 Review Details
🤖 Review by ProPR |
… Ready` or `⚠️ Needs you`. It stays `🔨 Waiting for CI` until its checks are reported and complete, or until a bounded wait runs out. I ran the relevant suites with these changes: 227 core status/readiness tests and 367 root tests (`checkRunHandler`, `epicMergeProgressHandler`, `taskIntentWithdrawal`) all pass. Typecheck and lint are clean. I also checked the new regression tests the other way round: they fail on the old status code, and the re-read test fails if the extra rescheduling is removed. The rule (for the PR description). A head counts as having checks once GitHub lists at least one check run or commit status for it, non-blocking ones included. A head with none waits, counted from the first time ProPR saw it without checks: - 10 minutes if any head in the repository has reported checks in the last 30 days. - 2 minutes if not. This is the same no-CI grace auto-merge already uses, and the same first-seen record, so the status and auto-merge agree. After the wait the head is treated as having no CI, so a repository without CI still becomes ready. A pull request in a repository whose CI skips some changes (path filters) will show "Waiting for CI" for up to 10 minutes before it can turn ready. There is no new setting and no extra GitHub request per update; the records live in Redis, with an in-process fallback. What changed: - Old review scores: a score given for an older head (review scores already store their head) no longer gives `⚠️ review below goal` while the new head's checks are pending or absent. A score for the current head, or one saved without a head, still counts while checks are pending, as before. - Once checks finish: if the latest score is still from an older head and below goal, the pull request shows `⚠️ ` with that score until it is reviewed again. - Re-reading when the wait ends: in a repository without CI no webhook arrives, so the status sync now schedules its own re-read for that moment. - Files: - `pullRequestStatusCheckWait.ts`: new; holds the wait logic. - `pullRequestStatus.ts`: the status rules above. - `pullRequestStatusFacts.ts`: records whether checks were reported, the wait, and the score's head. - `pullRequestStatusSync.ts`: the re-read. - `checkRunHelpers.ts`: gains a small `clearPRHeadObservation` helper. - Existing tests: the head with no checks in "the block a pull request was created with…" now shows Waiting for CI first, then Ready. The checks deep-equal assertions now include the new `reported` field. No visual preview, since the change only affects the PR body and title text. Acceptance criteria - AC1: met — `pullRequestStatus.ts` (`checksOutstanding`), `pullRequestStatusCheckWait.ts`; tests "#3420: a fix pushed on a ✅ pull request stays 🔨…" (stays 🔨 past the 2-minute grace, no `✅`) in `test/pullRequestStatusTitle.test.ts`, and "a head whose checks have not appeared yet waits for CI…" in `test/pullRequestStatus.test.ts` - AC2: met — 2-minute no-CI grace, or a 10-minute wait in a repository that has reported checks, with a scheduled re-read when it ends; tests "a repository with no CI becomes ✅…" and "a head without checks in a repository that reports them is ready once the bounded wait is over" (`pullRequestStatusTitle.test.ts`), "a head without checks is re-read when its wait ends…" and "the wait for a head's checks…" (`pullRequestStatusSync.test.ts`) - AC3: met — `confirmedAttentionReason` ignores a below-goal score from an older head while checks are outstanding; tests "#3573: after a fix push the pre-fix⚠️ and score do not come back…" and "a review score of an older head is not held against a new head…" - AC4: met — the #3420 test (push, no checks, pending, complete) asserts renames `[✅➇, 🔨, ✅➇]`; the #3573 test (two fix rounds, with checks absent then pending) asserts exactly one rename per real state change; both fail on the old code
…ou" on a freshly pushed head before its checks exist (#3631) * A freshly pushed head with no check runs yet is no longer shown as `✅ Ready` or `⚠️ Needs you`. It stays `🔨 Waiting for CI` until its checks are reported and complete, or until a bounded wait runs out. I ran the relevant suites with these changes: 227 core status/readiness tests and 367 root tests (`checkRunHandler`, `epicMergeProgressHandler`, `taskIntentWithdrawal`) all pass. Typecheck and lint are clean. I also checked the new regression tests the other way round: they fail on the old status code, and the re-read test fails if the extra rescheduling is removed. The rule (for the PR description). A head counts as having checks once GitHub lists at least one check run or commit status for it, non-blocking ones included. A head with none waits, counted from the first time ProPR saw it without checks: - 10 minutes if any head in the repository has reported checks in the last 30 days. - 2 minutes if not. This is the same no-CI grace auto-merge already uses, and the same first-seen record, so the status and auto-merge agree. After the wait the head is treated as having no CI, so a repository without CI still becomes ready. A pull request in a repository whose CI skips some changes (path filters) will show "Waiting for CI" for up to 10 minutes before it can turn ready. There is no new setting and no extra GitHub request per update; the records live in Redis, with an in-process fallback. What changed: - Old review scores: a score given for an older head (review scores already store their head) no longer gives `⚠️ review below goal` while the new head's checks are pending or absent. A score for the current head, or one saved without a head, still counts while checks are pending, as before. - Once checks finish: if the latest score is still from an older head and below goal, the pull request shows `⚠️ ` with that score until it is reviewed again. - Re-reading when the wait ends: in a repository without CI no webhook arrives, so the status sync now schedules its own re-read for that moment. - Files: - `pullRequestStatusCheckWait.ts`: new; holds the wait logic. - `pullRequestStatus.ts`: the status rules above. - `pullRequestStatusFacts.ts`: records whether checks were reported, the wait, and the score's head. - `pullRequestStatusSync.ts`: the re-read. - `checkRunHelpers.ts`: gains a small `clearPRHeadObservation` helper. - Existing tests: the head with no checks in "the block a pull request was created with…" now shows Waiting for CI first, then Ready. The checks deep-equal assertions now include the new `reported` field. No visual preview, since the change only affects the PR body and title text. Acceptance criteria - AC1: met — `pullRequestStatus.ts` (`checksOutstanding`), `pullRequestStatusCheckWait.ts`; tests "#3420: a fix pushed on a ✅ pull request stays 🔨…" (stays 🔨 past the 2-minute grace, no `✅`) in `test/pullRequestStatusTitle.test.ts`, and "a head whose checks have not appeared yet waits for CI…" in `test/pullRequestStatus.test.ts` - AC2: met — 2-minute no-CI grace, or a 10-minute wait in a repository that has reported checks, with a scheduled re-read when it ends; tests "a repository with no CI becomes ✅…" and "a head without checks in a repository that reports them is ready once the bounded wait is over" (`pullRequestStatusTitle.test.ts`), "a head without checks is re-read when its wait ends…" and "the wait for a head's checks…" (`pullRequestStatusSync.test.ts`) - AC3: met — `confirmedAttentionReason` ignores a below-goal score from an older head while checks are outstanding; tests "#3573: after a fix push the pre-fix⚠️ and score do not come back…" and "a review score of an older head is not held against a new head…" - AC4: met — the #3420 test (push, no checks, pending, complete) asserts renames `[✅➇, 🔨, ✅➇]`; the #3573 test (two fix rounds, with checks absent then pending) asserts exactly one rename per real state change; both fail on the old code * feat(ai): I fixed the Validate Changes failure. The step that failed was "Core Package Lint", which allows zero warnings, and `packages/core/src/services/pullRequestStatus/pullRequestStatusSync.ts` had two: I fixed the Validate Changes failure. The step that failed was "Core Package Lint", which allows zero warnings, and `packages/core/src/services/pullRequestStatus/pullRequestStatusSync.ts` had two: - **Complexity 21, limit 20**, in the `syncUnderBodyLock` callback. `DesiredStatus.checksAwaitedForMs` is now a required `number | null`, and the early "closed or merged" return sets it to `null`. That removes the `?? null` fallback from the callback, which brings it to the limit. - **406 lines, limit 400.** I put the `DesiredStatus` interface back on one line and moved its field comment into the doc comment above it. I also merged the extra return field onto the line before it and made the `earliest` helper a one-line arrow function. The behaviour is unchanged; this only restructures the code. ESLint now passes with zero warnings on `src/services/pullRequestStatus/` and `checkRunHelpers.ts`, and the `packages/core` typecheck is clean. The three status test files (`pullRequestStatus`, `pullRequestStatusSync`, `pullRequestStatusTitle`) pass, 127 of 127. There's no visual preview because nothing a user sees changes. PR: #3631 Comment by: @propr-dev[bot] (ID: 6936016486) Model: Claude Opus 5.5 * feat(ai): I fixed both findings, F1 and F2, and every `pullRequestStatus*` test suite in `packages/core` passes. Typecheck and zero-warning lint are clean. I also ran the three new tests against the old code, and all three fail there. I fixed both findings, F1 and F2, and every `pullRequestStatus*` test suite in `packages/core` passes. Typecheck and zero-warning lint are clean. I also ran the three new tests against the old code, and all three fail there. **F1: read-only waits never expired** (`pullRequestStatusCheckWait.ts`) - When a read-only store (the MCP reads) had no record of a head, its first-seen time was never saved. Every read started the full wait again, so the PR could stay `working` indefinitely. - Now this process remembers that time in its own memory. Redis is still never written, so later reads count down and the head becomes ready after the bound. This was the only place that skipped saving it, so the now-unused `record` flag is gone. - New test: repeated read-only reads count down from the first read, wait no longer once the bound has passed, and start afresh for a new head. It also checks that nothing is written to Redis. **F2: a failed re-read at the deadline dropped the wait** (`pullRequestStatusSync.ts`) - Each scheduled entry now carries an `awaitsChecks` flag, set from the last successful read that returned a wait for checks. - If a read fails while that flag is set, it is retried with the existing bounded refresh schedule. Until now only a base push or a startup backfill got that treatment. - Related case I also fixed: at the deadline the checks read itself can fail, which publishes "checks could not be read" instead of ending the wait. That case now keeps the flag and is retried the same way. - The flag is cleared only by a read that actually ends the wait, or when the bounded retries run out. A failed PATCH after a successful read keeps it set. - New tests (two cases): the deadline pull read fails once, or the deadline checks read fails once. In both, the status still goes from `Waiting for CI` to `Ready` with no further webhook. To keep `pullRequestStatusSync.ts` under the 400-line lint limit, I put two object literals on one line each and made `SyncOutcome` extend `Pick<DesiredStatus, 'checksAwaitedForMs'>`. No visual preview, since this only changes status timing and retries. PR: #3631 Comment by: @propr-ultrafix (ID: 0) Model: Claude Opus 5.5 * feat(ai): I fixed F3. When a check read is incomplete but still lists checks, the loader now records that the repository reports checks. A new head with no checks then waits the documented 10 minutes instead of the 2-minute grace. I fixed F3. When a check read is incomplete but still lists checks, the loader now records that the repository reports checks. A new head with no checks then waits the documented 10 minutes instead of the 2-minute grace. **The fix:** in `loadPullRequestStatusFacts` (`packages/core/src/services/pullRequestStatus/pullRequestStatusFacts.ts:393`), the value passed to `headChecksWaitMs` is now: - `true` whenever any check was listed, even if the read was cut off by the 300-item budget or one endpoint rejected. - `false` only for a complete read that found nothing. - `null` otherwise. The status of the original head does not change. `headChecksWaitMs` sets no wait for both `true` and `null`, and the incomplete read still keeps that head from being called ready. The only new effect is the record that the repository reports checks. **Sibling check:** `headChecksWaitMs` has no other caller, and nothing else reads `checks.reported`, so no other place had the same problem. **Regression:** a new test in `packages/core/test/pullRequestStatusSync.test.ts` runs twice, once per case in the finding: 1. a head with 301 check runs (over the read limit), and 2. a head whose commit-status read rejects while its check runs come back. Each time a fix then pushes a new head with no checks and a complete, empty read. The test asserts that the wait is the 10-minute bound. It also clears this process's memory and checks that the remaining wait is still read from Redis, as another process would see it. **Verification:** both new tests pass, and both fail when I put the old line back. All 213 tests in `packages/core/test/pullRequestStatus*.test.ts` pass, and typecheck and zero-warning lint on the changed source are clean. I found no other issues while checking this. PR: #3631 Comment by: @propr-ultrafix (ID: 0) Model: Claude Opus 5.5 * feat(ai): I fixed the lint failure, and core lint now passes on both this branch and the merge CI actually tests. I fixed the lint failure, and core lint now passes on both this branch and the merge CI actually tests. **Why it didn't show up locally:** this PR's base is the epic branch `3589-epic-0-9-y3w`, not `main`. CI lints the PR merged into that branch. The epic branch has since added a `removeLeftoverUltrafixLabel` call (and its import) to `packages/core/src/services/pullRequestStatus/pullRequestStatusSync.ts`. That is what pushes the file from 400 to 401 code lines after the merge. Running `npx eslint --max-warnings 0 .` on the branch alone passes. To reproduce the failure, I built the merge result in `/tmp`, and it showed the same `580:1 … (401)` warning. **Fix:** I moved the check that a pull request is unchanged between two reads into a new module, `pullRequestStatusSubject.ts`. It holds `sameStatusSubject` and its private `mergeability` helper, unchanged; `pullRequestStatusSync.ts` now imports `sameStatusSubject` from there. Behaviour is the same. **Checks:** - **Core lint:** passes on this branch and on the merge with the epic branch. - **Typecheck:** passes on this branch. I didn't run it on the merge result, because that would need the epic branch's newer `@propr/shared` built first. - **Tests:** all 7 `packages/core/test/pullRequestStatus*.test.ts` files pass (213 tests, 0 failures) on this branch. I didn't run them on the merge result. PR: #3631 Comment by: @integry (ID: 6940298187) Model: Claude Opus 5.5 --------- Co-authored-by: propr-dev[bot] <1316198+propr-dev[bot]@users.noreply.github.com>
AI Implementation Summary
Closes #3548
Branch:
3548/claude-opus-5-5-plugin-handlers-sdk-types-20261114-1908-nxnCommits: ✅ Changes committed (c7aad41)
AI Processing Completed
Execution Details:
Summary:
Nothing changes here either: the second copy of that wait loop also hit its time limit and was stopped, for the same reason. I won't restart it. The test results were already read straight from the suite log, so the implementation summary and acceptance criteria above still stand.
Review digest
Acceptance criteria (0 of 6 met, as stated by the agent)
With a fixture plugin: `runPluginHandler` runs a handler, returns its logs and outcome; a throwing handler and a handler that hangs past the timeout return a failed outcome without throwing.`ctx.propr` refuses operations outside the granted permissions and outside the repository limit; allowed operations are attributed to the plugin in the audit trail and task events.`ctx.http` refuses hosts not in `outboundHosts`, private addresses and plain HTTP; credentials are injected and never visible to the handler (sentinel test on handler-visible values and on logs).`ctx.state` enforces its size and key-count limits and is deleted on uninstall.The restricted-imports lint rule fails a fixture plugin that imports a core module.Docs: handler interface in `docs/docs/features/plugins.md` and a new `docs/docs/architecture/plugin-runtime.md`.Risk-tiered paths
packages/core/src/db/migrations/20261114180000_plugin_state.js(added, +20/−0): database migrationpackages/plugins/package.json(+7/−4): dependency manifesteslint.config.js(+37/−0)packages/client/src/generated/apiTypes.ts(+7/−7)packages/core/src/extensions/endpointPolicy.ts(+5/−1)packages/core/src/plugins/pluginContext.ts(added, +145/−0)packages/core/src/plugins/pluginHandlerRunner.ts(added, +117/−0)packages/core/src/plugins/pluginHttp.ts(added, +177/−0)packages/core/src/plugins/pluginProprBackend.ts(added, +100/−0)packages/core/src/plugins/pluginProprClient.ts(added, +143/−0)packages/core/src/plugins/pluginStateStore.ts(added, +70/−0)packages/core/src/plugins/pluginStore.ts(+4/−2)packages/core/src/queue/taskQueue.types.ts(+2/−0)packages/core/src/services/taskIntent.ts(+4/−20)packages/core/src/services/taskIntentIssueRef.ts(added, +25/−0)packages/core/src/utils/workerStateManager.ts(+3/−3)packages/core/src/utils/workerStateManager.types.ts(+5/−0)packages/plugins/example-pack/handlers.ts(added, +22/−0)packages/plugins/src/index.ts(+43/−2)packages/plugins/testing/index.ts(added, +142/−0)packages/plugins/tsconfig.handlers.json(added, +11/−0)packages/shared/src/index.ts(+1/−0)packages/shared/src/pluginInstallations.ts(+5/−1)packages/shared/src/pluginSdk.ts(added, +165/−0)packages/shared/src/plugins.ts(+3/−1)docs/docs/architecture/plugin-runtime.md(added, +226/−0)docs/docs/features/plugins.md(+112/−5)docs/sidebars.ts(+1/−0)docs/static/openapi/propr-api.yaml(+8/−0)packages/api/test/pluginRoutes.test.ts(+2/−1)packages/core/test/fixtures/plugins/fixture-handlers/handlers.ts(added, +68/−0)packages/core/test/fixtures/plugins/fixture-handlers/manifest.json(added, +24/−0)packages/core/test/fixtures/plugins/fixture-imports-core/handlers.ts(added, +12/−0)packages/core/test/fixtures/plugins/registry.json(added, +6/−0)packages/core/test/helpers/pluginHandlerFixture.ts(added, +92/−0)packages/core/test/pluginContributions.test.ts(+2/−1)packages/core/test/pluginHandlerLint.test.ts(added, +57/−0)packages/core/test/pluginHandlerRunner.test.ts(added, +165/−0)packages/core/test/pluginProprClient.test.ts(added, +151/−0)packages/core/test/pluginStore.test.ts(+2/−1)packages/core/test/taskJournalEvents.test.ts(+13/−0)packages/plugins/example-pack/README.md(+3/−0)packages/plugins/test/testing.test.ts(added, +61/−0)Validation evidence
Diff size: 43 files changed, +2,268/−49 lines
Detailed Logs:
2fc9a78c-6209-42be-bed8-82719e83f81eLog files stored at:
/usr/src/app/logs/executions/issue-3548-2026-11-14T19-58-35-980Z-conversation.json/usr/src/app/logs/executions/issue-3548-2026-11-14T19-58-35-980Z-output.txtLatest Conversation Messages
This PR was created automatically by ProPR after processing issue #3548.
💡 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!