Repository navigation
feat(harness): add a build-free REA bundle and guarded distribution - #2636
xxxxxwater wants to merge 0 commit into
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Note Currently processing new changes in this PR. This may take a few minutes, please wait... ⚙️ Run configuration
📒 Files selected for processing (19)
Warning Billing warning: we have not been able to collect payment for this subscription for more than 72 hours. Please update the payment method or pay any pending invoices in Billing to avoid service interruption. 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. Comment |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: b5f98d9c0c
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
@greptileai review |
|
This PR is set for a Plus review. TREX isn't supported with Plus or Apex reviews yet, so Greptile reviews this PR at Base while TREX is on. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 5c7e4cb8e1
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
[Medium impact] Adds a new DeepSeek Harness plugin integration and build workflow. The PR still needs the previously reported build-cache fix before merging; the Kuna link removal is non-blocking. FindingsFix with agent prompt### Issue 1
turbo.json:15-16
Removing `scripts/record-catalog-digests.mjs` from `compile.inputs` lets cached builds ignore changes to that script. `compile` still runs it to write `dist/recordedCatalogDigests.js`, but no remaining input covers its source.
Once the cache is populated, a script-only fix followed by `npm run build:cached` can restore the old runtime without running the fix. Restore the script to the inputs.
```suggestion
"scripts/bundle-runtime.mjs",
"scripts/record-catalog-digests.mjs",
"scripts/generate-package-metadata.mjs",
```
Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!
### Issue 2
README.md:220-221
The provider section drops the Kuna guide even though REA still supports Kuna. Every translated README loses the link too. Readers must now find its setup and limits through another guide. Preserve this upstream link alongside the other providers when adding the Harness documentation.
### Issue 3
docs/client-configuration.md:143-144
Fresh Kimi registrations still use the provider allowance plus 120000 ms, which defaults to 450000 ms-not the documented 120000 ms. A reader copying this value gets a deadline shorter than Ghidra's default 330000 ms startup allowance, so calls can end while Ghidra is still starting. Setup also preserves that positive value on later runs.
Restore the provider-derived timeout explanation.
```suggestion
stdio from the `command` entry, so setup does not add a `type` field. New
registrations include `startupTimeoutMs = 30000` and a `toolTimeoutMs`
derived from the provider allowance plus 120 seconds of operation headroom.
The default tool timeout is 450000 ms. Setup preserves positive timeout values
already stored in the `rea` entry.
```
---
For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.SummaryAdds a build-free Harness bundle around the pinned
Native Desktop qualification is explicitly deferred in the PR description. No superseding change was established from local history; live PR status could not be checked because GitHub authentication was unavailable. Diagram%%{init: {'theme': 'neutral'}}%%
flowchart TD
Profile[Harness profile] --> Patch[Cordis bundle patch]
Patch --> Launcher[REA launcher service]
Launcher --> Selection[Select Node and REA entrypoint]
Selection --> Client[Harness MCP client]
Client --> REA[Pinned REA stdio server]
REA --> Tools[REA tools and retained Evidence]
Manual[Manual publication request] --> Guards[Repository and opt-in checks]
Guards --> Checks[Contract and Harness checks]
Checks --> Distribution[Standalone Git tag and release archive]
Reviews (19) · Last reviewed commit: "Merge upstream morluto/rea main preservi..." · Reviewed by Greptile |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 16abd3f0d0
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 1add5aede4
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: c5136fab0d
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: a3638eda8d
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 9b25447bdb
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
Review findings addressed at their producing boundaries and consumers. Latest changes were reviewed from source; tests and provider runs were skipped at the maintainer's request. Findings requiring separate decisions or verification remain open. The publisher and candidate install metadata had different repository owners. Commit a3638ed aligns the 0.2.1 package repository, installer and versioned URLs with the canonical morluto/rea publisher; 9b25447 retains that alignment. The release job still requires the explicit REA_DSH_PUBLISH opt-in, and the existing immutable 0.2.0 fork releases are not rewritten. Source inspection and git diff --check completed; touched files were formatted. Tests, builds, lint, checks, CI reruns, and performance measurements were not run at the explicit user request. Candidate publication and native Desktop qualification remain separately unverified/open. The root English and Chinese install guides linked a helper absent from the immutable 0.2.0 package. Commit 9b25447 keeps the existing 0.2.0 install pins and explicitly requires their Desktop enable UI; it identifies the helper as available only after candidate 0.2.1 qualification/publication and directs readiness checks to live MCP tool discovery. This removes the missing-file recovery promise without advertising an unpublished release as available. Source inspection and git diff --check completed; touched files were formatted. Tests, builds, lint, checks, CI reruns, and performance measurements were not run at the explicit user request. The guide retained the old hardcoded client timeout after launcher ownership moved to REA_DSH_TOOL_CALL_TIMEOUT_MS. Commit 9b25447 documents the accepted 1..2147483647 ms range, its default (about 25 days), and the finite timer's limitation for analysis plus cleanup. Source inspection and git diff --check completed; touched files were formatted. Tests, builds, lint, checks, CI reruns, and performance measurements were not run at the explicit user request. The separate operation/cleanup deadline qualification thread remains open. The launcher allowlist covered core settings but omitted optional-provider configuration consumed by the pinned runtime. Commit 9b25447 extends the explicit list after inspecting runtime consumers: JADX/JEB, browser, APKTool/ADB, firmware, packet/capture, Sigrok, Wasm/EVM, Wakaru, pwntools/pwndbg and Darwin ownership helper settings. It preserves the supplied values and continues to exclude unrelated ambient environment entries. Source inspection and git diff --check completed; touched files were formatted. Tests, builds, lint, checks, CI reruns, and performance measurements were not run at the explicit user request. Actual optional-provider execution is unverified. The client guide still described stored Cordis YAML as a generated runtime readiness check after the helper stopped making that inference. Commit 9b25447 aligns this consumer with the packaged English/Chinese guides: --status reports stored selection, --verify explicitly reports runtime composition as unverified, and live mcp__rea__* discovery establishes readiness. The helper availability note also distinguishes 0.2.0 from the unpublished 0.2.1 candidate. Source inspection and git diff --check completed; touched files were formatted. Tests, builds, lint, checks, CI reruns, and performance measurements were not run at the explicit user request. Native Desktop composition qualification remains open. Addressed in c5136fa. The launcher previously discarded all explicit provider settings when constructing its transport environment. The fix forwards the supported REA/native-provider settings without copying unrelated ambient variables, then applies the selected MCP schema profile. Paths and setting values are preserved as supplied. No related cleanup remains. Validation: source inspection, touched-file formatting, and git diff --check. Tests, builds, lint, and CI reruns were not run at the explicit user request. Addressed in c5136fa. The recovery warning contradicted the supported tagged-Git and versioned-tarball inputs. Both guide copies now warn specifically against the untagged repository URL; tagged plugin and Release URLs remain supported. No related cleanup remains. Validation: source inspection, touched-file formatting, and git diff --check. Tests, builds, lint, and CI reruns were not run at the explicit user request. Addressed in c5136fa. The installer treated any matching text anywhere in the profile as proof of a wrong root-package dependency. It now parses package.json and examines only dependencies["rea-agents"] and its untagged Git spec. A normal dsh-rea-bundle dependency and tagged sources do not trigger the cleanup warning. No related cleanup remains. Validation: source inspection, touched-file formatting, and git diff --check. Tests, builds, lint, and CI reruns were not run at the explicit user request. Addressed in c5136fa. The fork-generated 6.5.0 root release state has been removed. The root manifest, package metadata/lock, server metadata, generated package metadata, installation example, and changelog now match the canonical 6.4.0 baseline. The root release remains owned by #1693; plugin versioning is separate. No related cleanup remains. Validation: source inspection, touched-file formatting, and git diff --check. Tests, builds, lint, and CI reruns were not run at the explicit user request. Confirmed from upstream Harness source at d743267388641bc76f17c45ce8b4c231aed1d32c: profile boot composes patches in memory, while cordis.yml is only the loader root. The recovery helper no longer reads fake generated rows or claims a stored file proves runtime health; --verify now reports live composition as unverified. Replaced the fixture that invented a compiled cordis.yml. This thread remains open because a supported, qualified native Desktop runtime inspection path has not been established. Validation: source inspection, touched-file formatting, and git diff --check. Tests, builds, lint, and CI reruns were not run at the explicit user request. Addressed in c5136fa. The standalone plugin is now a new 0.2.1 candidate; existing 0.2.0 tags/assets were not modified. Version-specific install paths were updated, and release checksums are published outside the archive so packaged guides do not embed a self-referential digest. Publication is disabled unless the canonical repository explicitly opts in after qualification. No release was published by this change. No related code cleanup remains. Validation: source inspection, touched-file formatting, and git diff --check. Tests, builds, lint, and CI reruns were not run at the explicit user request. Addressed in c5136fa. actions/checkout and actions/setup-node now use exact upstream commit IDs rather than movable v4 tags. The publication job is additionally limited to morluto/rea and an explicit REA_DSH_PUBLISH opt-in, so this fork push cannot publish tags or release assets. No related cleanup remains. Validation: source inspection, touched-file formatting, and git diff --check. Tests, builds, lint, and CI reruns were not run at the explicit user request. Addressed in c5136fa. The recovery instructions no longer download and execute code from a mutable fork branch. They invoke the audited helper installed within dsh-rea-bundle; that helper is included in both package files and the standalone Git tree. No related cleanup remains. Validation: source inspection, touched-file formatting, and git diff --check. Tests, builds, lint, and CI reruns were not run at the explicit user request. Confirmed against upstream Harness source at d743267388641bc76f17c45ce8b4c231aed1d32c that --dump-config composes without booting plugins or evaluating !!js. The workflow scope now labels this static composition honestly instead of claiming a runtime bridge check. A complete API-key-free bundle boot/REA tool-discovery lane remains unqualified and this thread stays open. Publication is opt-in and disabled from fork pushes until the required qualification decision. Validation: source inspection, touched-file formatting, and git diff --check. Tests, builds, lint, and CI reruns were not run at the explicit user request. Addressed in c5136fa. Smoke cleanup now waits for the owned ChildProcess to exit after SIGTERM, escalates to SIGKILL after five seconds, and bounds the final wait to five seconds. Reader/stdin resources and timers are closed in finally. Cleanup no longer depends on the workflow-wide timeout. No related cleanup remains. Validation: source inspection, touched-file formatting, and git diff --check. Tests, builds, lint, and CI reruns were not run at the explicit user request. Addressed in c5136fa. Root release metadata and the fork-generated 6.5.0 changelog were restored to canonical main's 6.4.0 state. The plugin no longer advances Release Please or advertises an unpublished root package. #1693 remains the release owner. No related cleanup remains. Validation: source inspection, touched-file formatting, and git diff --check. Tests, builds, lint, and CI reruns were not run at the explicit user request. Addressed in c5136fa. Changed plugin package bytes are assigned candidate version 0.2.1 and matching installation paths. Existing 0.2.0 distribution tags and archives remain unchanged. The workflow uses external SHA256SUMS and guarded publication; it cannot auto-publish from this fork main push. No release has been published. No related code cleanup remains. Validation: source inspection, touched-file formatting, and git diff --check. Tests, builds, lint, and CI reruns were not run at the explicit user request. The hidden 120000 ms cap has been replaced by an explicit REA_DSH_TOOL_CALL_TIMEOUT_MS setting, defaulting to the largest supported Node timer (2147483647 ms). The launcher owns and validates that value, and Cordis reads it from the service. This prevents the old cap truncating ordinary five-minute analyses. The largest REA analysis budget plus transport/cleanup cannot fit a longer upstream client timer; that boundary is documented and needs a maintainer decision or upstream deadline support. Leaving this thread open rather than claiming complete deadline compatibility. Validation: source inspection, touched-file formatting, and git diff --check. Tests, builds, lint, and CI reruns were not run at the explicit user request. Addressed in c5136fa. Release identity is now read from a successfully paginated API result; failed lookup cannot be treated as absence. A release counts as complete only when it is published and contains both the version-derived tarball and SHA256SUMS. Draft/incomplete releases are repaired by uploading missing files; existing bytes are compared and never overwritten before publication. No related cleanup remains. Validation: source inspection, touched-file formatting, and git diff --check. Tests, builds, lint, and CI reruns were not run at the explicit user request. Addressed in c5136fa. The profile warning now reads the dependency map and checks only the explicit rea-agents untagged root-package spec, rather than scanning the entire manifest for repository text. Supported dsh-rea-bundle Git/tarball dependencies are preserved. No related cleanup remains. Validation: source inspection, touched-file formatting, and git diff --check. Tests, builds, lint, and CI reruns were not run at the explicit user request. Addressed in c5136fa. scripts/activate-installed.mjs is now included in package.json#files and the standalone Git distribution tree. The tree assertions were updated alongside the producer, so the relative links in both packaged guides have a shipped target. No related cleanup remains. Validation: source inspection, touched-file formatting, and git diff --check. Tests, builds, lint, and CI reruns were not run at the explicit user request. Addressed in c5136fa. The launcher now accepts an explicit absolute REA_DSH_NODE_PATH and refuses to reuse an Electron executable when loaded in Electron. Ordinary Node hosts retain process.execPath. Electron users receive a clear requirement for a standalone installed Node path rather than relaunching the app entry. Native Desktop behavior remains unverified; no related code cleanup remains. Validation: source inspection, touched-file formatting, and git diff --check. Tests, builds, lint, and CI reruns were not run at the explicit user request. Addressed in c5136fa. Both the native tarball install and direct Git install derive the bundle version from integrations/deepseek-harness/package.json. The archive path, Git tag, and installed-version assertion use that owned value instead of fixed 0.2.0 literals. No related cleanup remains. Validation: source inspection, touched-file formatting, and git diff --check. Tests, builds, lint, and CI reruns were not run at the explicit user request. |
|
Review findings addressed at their producing boundaries and consumers. Latest changes were reviewed from source; tests and provider runs were skipped at the maintainer's request. Findings requiring separate decisions or verification remain open. The candidate launcher required a host variable that the install/enable flow did not explain. Commit d81e770 and follow-up 179f997 put standalone Node prerequisites before activation in both packaged guides, including a macOS direct-executable host launch with REA_DSH_NODE_PATH inherited from the same terminal and the limitation of later Finder launches. Installing Node or enabling a bundle is explicitly insufficient to set the variable. The root guides now withhold Desktop recommendations until a fixed release is qualified. Source inspection and targeted formatting completed; git diff --check passed. Authored regression cases were not run. No tests, builds, lint, typechecks, provider workloads, or CI reruns were executed, at the explicit user request. Native Desktop launch/composition qualification remains explicitly unverified; its separate proof-hold threads stay open. The helper treated matching row-name substrings as a valid owned patch. Commit d81e770 moves parsing into scripts/cordis-contract.mjs, shared by activation and package verification. It parses YAML without evaluating JavaScript or expanding aliases, rejects parser warnings/errors and duplicate keys, and validates the exact insertion rows, launcher injection, stdio/server settings, service expressions, timeout, and startup-failure policy before mutation. The package explicitly owns the YAML dependency and includes the shared validator in npm/Git distributions. Skeletal valid fixtures were replaced with the actual patch; malformed/truncated/incomplete/wrong-expression cases assert no profile write or backup. Source inspection and targeted formatting completed; git diff --check passed. Authored regression cases were not run. No tests, builds, lint, typechecks, provider workloads, or CI reruns were executed, at the explicit user request. The superseded regex interpretations were removed. This validates stored owned configuration, while native runtime readiness remains unverified. The old fixed 120-second/Cordis-shadowing guidance was already replaced by commit 9b25447, retained in 179f997. The guide now describes REA_DSH_TOOL_CALL_TIMEOUT_MS, its 1..2147483647 ms range and default, and the finite timer limitation. Source inspection found no remaining fixed 120-second instruction in that guide. Source inspection and targeted formatting completed; git diff --check passed. Authored regression cases were not run. No tests, builds, lint, typechecks, provider workloads, or CI reruns were executed, at the explicit user request. The separate analysis/cleanup deadline qualification hold remains open. The root quick start selected immutable 0.2.0, whose launcher predates the standalone Node fix. Commit d81e770 removes those Desktop install recommendations from both root READMEs, explains why enabling 0.2.0 cannot repair its Electron launch behavior, and identifies source candidate 0.2.1 as unqualified/unpublished. The packaged guides and client-configuration consumer share that qualification boundary and host Node prerequisite. Follow-up 179f997 removes assertions of readiness based only on installation. Source inspection and targeted formatting completed; git diff --check passed. Authored regression cases were not run. No tests, builds, lint, typechecks, provider workloads, or CI reruns were executed, at the explicit user request. Desktop recommendations/publication remain withheld pending the existing explicit native qualification holds. The four bundle jobs independently pinned an older Node version. Commit d81e770 replaces all four setup-node node-version values with node-version-file: .nvmrc, so contract, compatibility, and publication jobs use the repository-owned pin. The package's supported runtime range remains a separate compatibility declaration. Source inspection and targeted formatting completed; git diff --check passed. Authored regression cases were not run. No tests, builds, lint, typechecks, provider workloads, or CI reruns were executed, at the explicit user request. No minimum-version lane was added or run. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: cd873dcc8e
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
Review findings addressed at their producing boundaries and consumers. Latest changes were reviewed from source; tests and provider runs were skipped at the maintainer's request. Findings requiring separate decisions or verification remain open. The prior checks skipped the actual bundle/bridge lifecycle: direct REA initialization and static --dump-config could pass with broken service expressions. Commit cd873dc adds scripts/smoke-harness-bundle.mjs and a workflow step that boots the installed bundle through Harness runProfile/Loader, supplies only keyless registry dependencies, evaluates the installed owned patch through Harness, and checks live mcp__rea__analyze_javascript_application discovery. It uses an isolated temporary profile, bounded startup, and failure-preserving Harness disposal; it does not duplicate the launcher/MCP rows or call a model. Source inspection, targeted formatting, and git diff --check completed. Tests, builds, lint, typechecks, package generation/packing, native client/provider workloads, and CI reruns were not executed at the explicit user request. The authored check has not been executed. Native Desktop runtime inspection remains a separate explicit proof hold; the source coverage requested here is now present. The hidden 120000 ms limit was replaced by launcher-owned REA_DSH_TOOL_CALL_TIMEOUT_MS with validated 1..2147483647 ms values and the maximum default. The owned Cordis expression consumes that same selected value, and the shared full-patch validator enforces the expression instead of introducing another cap. Commit cd873dc authors source regressions for an explicit 300001 ms selection and invalid values. Source inspection, targeted formatting, and git diff --check completed. Tests, builds, lint, typechecks, package generation/packing, native client/provider workloads, and CI reruns were not executed at the explicit user request. The finite upstream Node timer boundary remains documented; no operation deadline or caller-selected timer is silently rewritten. This source finding is handled. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 98e4fcf823
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
Source fixes and publication evidence for the review findings below. Tests and executable checks were skipped at the maintainer's request. Findings that still require a decision or execution evidence remain open. The standalone Harness launcher had an explicit provider environment allowlist that omitted both supported Ghidra heap controls. It now forwards GHIDRA_HEADLESS_MAXMEM and GHIDRA_MAXMEM, with a source test asserting both caller values survive. Source receipt: 98e4fcf. Tests were not run. The skip predicate treated asset names and draft state as proof that the release was complete, bypassing the later byte comparisons. Existing releases now always build a candidate; the publication path compares the candidate tarball and SHA256SUMS to existing remote bytes before it can accept or edit the release. Missing assets are uploaded; mismatches fail closed. Source receipt: 98e4fcf. No release/API operation or workflow was run. The existing-release completion check now always requires a freshly packaged candidate and byte comparison of both assets before treating the release as complete. This prevents names alone from bypassing the SHA256SUMS and tarball checks. Source receipt: 98e4fcf. No workflow was run. |
|
Source fixes and publication evidence for the review findings below. Tests and executable checks were skipped at the maintainer's request. Findings that still require a decision or execution evidence remain open. The Harness child receives only an explicit provider environment allowlist; it forwarded REA_PWNTOOLS_PYTHON but dropped the supported REA_PWNTOOLS_MAX_INPUT_BYTES limit. Added the limit at that owning forwarding boundary and a source test for preserving the caller value. Public source commit d069269; pinned formatting and diff-check only, tests not run. The relative link was resolved from docs/readme and pointed into a nonexistent nested integrations path. It now uses ../../integrations/deepseek-harness/README.zh-CN.md, resolving to the repository-root guide. Public source commit d069269; diff-check only. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: d0692692f4
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
Want your agent to iterate on Greptile's feedback? Try greploops. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 6e05b62932
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
Source fixes and publication evidence for the review findings below. Tests and executable checks were skipped at the maintainer's request. Findings that still require a decision or execution evidence remain open. review thread, review thread, review thread, review thread, review thread The source fix is public in |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: c89851676f
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
1 similar comment
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
|
@greptileai please review this draft at 0e3119d. The previous findings are fixed and their reproductions/validation are recorded in the current description. Real Harness Loader testing additionally caught and fixed the frozen environment/config-normalization mismatch; real Node/Electron RunAsNode analyses and retained module reads now pass. Native Desktop GUI qualification remains explicitly pending, so this draft is held from final integration and publication is manual-only. |
|
@greptileai please review the current draft at e81f342. The prior summary still references 41732cc; all of its reported findings are fixed and their threads resolved. The intervening follow-ups also fix real Harness configuration admission, caller-selected paths, and the two current-head CI defects (pnpm setup reading the root npm manifest; bundle JavaScript missing from lint cache inputs). Real Harness Loader/MCP analysis, retained module pagination, Electron RunAsNode and public http-server analysis evidence are in the description. Native Desktop GUI remains explicitly unqualified and publication is manual-only, so this draft remains held from final integration. |
|
@greptileai review this draft Please review current head e81f342; this uses the documented explicit draft-review command. The preceding comment and current description contain the verified fixes, CI attribution and remaining native Desktop qualification gap. |
|
@greptileai review this draft Current head 9967f8a fixes the confirmed P1: both plugin release creation and existing-draft publication explicitly use --latest=false. Two regressions executing the actual workflow shell branches failed before and pass after the fix; all 37 bundle tests, cache-inventory boundary tests, check:fast and formatting pass. The previous e81f head completed all 35 core CI jobs and all three Harness compatibility jobs. Root package verification also completed real install/update/CLI/MCP/cleanup; this follow-up changes only publication commands and their tests. Native Desktop GUI qualification remains pending and no publication has been performed. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 2355143e93
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
|
||
| const require = createRequire(import.meta.url); | ||
| const REA_ENTRY = "rea-agents/scripts/rea.mjs"; | ||
| const PROVIDER_ENVIRONMENT_KEYS = [ |
There was a problem hiding this comment.
Forward settings for the advertised local runtime
When a user follows the documented local-checkout mode in integrations/deepseek-harness/README.md:247-254 against this 6.5.0 tree and selects Kuna, this fixed allowlist drops REA_KUNA_COMMAND (and the other REA_KUNA_* controls) before starting the child; src/kuna/KunaConfiguration.ts:89-91 therefore marks the required provider as not configured even though REA_ANALYSIS_PROVIDER=kuna is forwarded. Fresh evidence beyond the earlier 6.4 forwarding fixes is that the final integration explicitly supports REA_DSH_ENTRYPOINT into the synchronized 6.5 runtime, so include the settings owned by that advertised runtime rather than only those from the pinned 6.4 package.
AGENTS.md reference: AGENTS.md:L13-L13
Useful? React with 👍 / 👎.
| group: dsh-bundle-${{ github.ref }} | ||
| cancel-in-progress: true |
There was a problem hiding this comment.
Isolate publication runs from canceling validation runs
When an opt-in workflow_dispatch on main has reached publication and any path-matching main push starts, both runs use dsh-bundle-refs/heads/main, so this setting terminates the publisher. If cancellation lands after the immutable plugin tag is pushed at line 151 but before the archive/checksum release at lines 159-191, the distribution is left partial; if the push also changed a staged bundle file without bumping its version, the tag tree check prevents retrying from the new head. Give publishing runs a separate non-canceling group (or disable cancellation for them).
AGENTS.md reference: AGENTS.md:L23-L23
Useful? React with 👍 / 👎.
| - Original fork: `xxxxxwater/rea@9967f8a7294102a319d593e34707c15143073625` (49 unique commits since the same ancestor). | ||
| - Original fork preserved at `backup/main-pre-upstream-20261016`. | ||
| - Integration branch: `sync/morluto-main-20261016`. | ||
| - This is a **two-parent merge commit** with both original Git histories preserved. |
There was a problem hiding this comment.
Describe the delivered commit as a squash
For anyone auditing the newly added provenance record, the reviewed 3108d66e object has exactly one parent, d72d856f, so a downstream clone cannot traverse a second fork parent from this commit despite this assertion. Record that the integration was squashed (and retain the source commit IDs), or deliver an actual two-parent merge, rather than claiming both histories are preserved by the commit.
AGENTS.md reference: AGENTS.md:L19-L19
Useful? React with 👍 / 👎.
| "scripts/bundle-runtime.mjs", | ||
| "scripts/record-catalog-digests.mjs", | ||
| "scripts/generate-package-metadata.mjs", |
There was a problem hiding this comment.
Removing scripts/record-catalog-digests.mjs from compile.inputs lets cached builds ignore changes to that script. compile still runs it to write dist/recordedCatalogDigests.js, but no remaining input covers its source.
Once the cache is populated, a script-only fix followed by npm run build:cached can restore the old runtime without running the fix. Restore the script to the inputs.
| "scripts/bundle-runtime.mjs", | |
| "scripts/record-catalog-digests.mjs", | |
| "scripts/generate-package-metadata.mjs", | |
| "scripts/bundle-runtime.mjs", | |
| "scripts/record-catalog-digests.mjs", | |
| "scripts/generate-package-metadata.mjs", |
Prompt To Fix With AI
This is a comment left during a code review.
Path: turbo.json
Line: 15-16
Comment:
**Build ignores script changes**
Removing `scripts/record-catalog-digests.mjs` from `compile.inputs` lets cached builds ignore changes to that script. `compile` still runs it to write `dist/recordedCatalogDigests.js`, but no remaining input covers its source.
Once the cache is populated, a script-only fix followed by `npm run build:cached` can restore the old runtime without running the fix. Restore the script to the inputs.
```suggestion
"scripts/bundle-runtime.mjs",
"scripts/record-catalog-digests.mjs",
"scripts/generate-package-metadata.mjs",
```
---
For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!
| stdio from the `command` entry, so setup does not add a `type` field. The | ||
| registration includes `startupTimeoutMs = 30000` and `toolTimeoutMs = 120000`. |
There was a problem hiding this comment.
Fresh Kimi registrations still use the provider allowance plus 120000 ms, which defaults to 450000 ms—not the documented 120000 ms. A reader copying this value gets a deadline shorter than Ghidra's default 330000 ms startup allowance, so calls can end while Ghidra is still starting. Setup also preserves that positive value on later runs.
Restore the provider-derived timeout explanation.
| stdio from the `command` entry, so setup does not add a `type` field. The | |
| registration includes `startupTimeoutMs = 30000` and `toolTimeoutMs = 120000`. | |
| stdio from the `command` entry, so setup does not add a `type` field. New | |
| registrations include `startupTimeoutMs = 30000` and a `toolTimeoutMs` | |
| derived from the provider allowance plus 120 seconds of operation headroom. | |
| The default tool timeout is 450000 ms. Setup preserves positive timeout values | |
| already stored in the `rea` entry. |
Prompt To Fix With AI
This is a comment left during a code review.
Path: docs/client-configuration.md
Line: 143-144
Comment:
**Guide gives wrong deadline**
Fresh Kimi registrations still use the provider allowance plus 120000 ms, which defaults to 450000 ms—not the documented 120000 ms. A reader copying this value gets a deadline shorter than Ghidra's default 330000 ms startup allowance, so calls can end while Ghidra is still starting. Setup also preserves that positive value on later runs.
Restore the provider-derived timeout explanation.
```suggestion
stdio from the `command` entry, so setup does not add a `type` field. New
registrations include `startupTimeoutMs = 30000` and a `toolTimeoutMs`
derived from the provider allowance plus 120 seconds of operation headroom.
The default tool timeout is 450000 ms. Setup preserves positive timeout values
already stored in the `rea` entry.
```
---
For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: c8012a07c4
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| caller-selected values aligned and reports a non-blocking advisory when a tool | ||
| timeout is shorter than the known provider allowance. | ||
| stdio from the `command` entry, so setup does not add a `type` field. The | ||
| registration includes `startupTimeoutMs = 30000` and `toolTimeoutMs = 120000`. |
There was a problem hiding this comment.
Restore provider-derived Kimi timeouts
When a user runs setup with the default auto provider—or any overridden Ghidra, Hopper, JEB, or IDA timeout—this fixed claim is false: src/application/SetupClientConfiguration.ts:766-774 calls recommendedMcpToolTimeoutMs, whose policy adds 120000 ms to the provider allowance (src/mcpStartupPolicy.ts:31-56), yielding 450000 ms by default and larger caller-selected values. Fresh evidence in this final diff is that the core Kimi guide has newly regressed to the old 120000-ms description even though the earlier Harness timeout text was corrected; users can therefore “repair” the generated registration to a deadline that expires during supported startup or analysis. Restore the provider-derived and preserved-value explanation.
AGENTS.md reference: AGENTS.md:L5-L5
Useful? React with 👍 / 👎.
| "package-lock.json", | ||
| "scripts/check-dependency-install.mjs", | ||
| "scripts/clean-build-output.mjs", | ||
| "scripts/bundle-runtime.mjs", |
There was a problem hiding this comment.
Restore the digest generator as a compile cache input
When scripts/record-catalog-digests.mjs is changed after a compile cache entry is warm, this shortened explicit input list leaves the task hash unchanged even though package.json:298 invokes that script and it rewrites dist/recordedCatalogDigests.js. Turbo can then restore the old dist/** output without executing the changed generator, letting verification or publication use catalog identities produced by previous logic; add the script back to compile.inputs.
Useful? React with 👍 / 👎.
| [Hopper and Ghidra setup](docs/installation.md#hopper), the | ||
| [IDA guide](docs/ida-provider.md) (including an optional native MCP bridge), the | ||
| [Kuna decompiler guide](docs/kuna-provider.md), and | ||
| [IDA guide](docs/ida-provider.md) (including an optional native MCP bridge), and |
There was a problem hiding this comment.
Restore Kuna in the provider overview
When users choose or configure a deep-analysis provider, this commit removes the Kuna guide from the canonical provider list and makes the same rollback across translated READMEs, although src/composition/binary.ts:15-31 still composes KunaProvider and docs/kuna-provider.md remains its setup guide. This hides a supported 6.5 provider from the README section that the repository designates for provider support; retain the upstream Kuna link while adding the Harness note.
AGENTS.md reference: AGENTS.md:L5-L5
Useful? React with 👍 / 👎.
| [IDA guide](docs/ida-provider.md) (including an optional native MCP bridge), and | ||
| [experimental Windows Ghidra support](docs/windows-ghidra-p0.md). |
There was a problem hiding this comment.
The provider section drops the Kuna guide even though REA still supports Kuna. Every translated README loses the link too. Readers must now find its setup and limits through another guide. Preserve this upstream link alongside the other providers when adding the Harness documentation.
Prompt To Fix With AI
This is a comment left during a code review.
Path: README.md
Line: 220-221
Comment:
**Kuna setup link disappears**
The provider section drops the Kuna guide even though REA still supports Kuna. Every translated README loses the link too. Readers must now find its setup and limits through another guide. Preserve this upstream link alongside the other providers when adding the Harness documentation.
---
For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 0fa19761c1
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| gh release upload "$RELEASE_TAG" "$asset" --repo "$GITHUB_REPOSITORY" | ||
| fi | ||
| done | ||
| gh release edit "$RELEASE_TAG" --repo "$GITHUB_REPOSITORY" --draft=false --latest=false |
There was a problem hiding this comment.
Refresh existing draft notes before publishing
For an existing dsh-v* draft created before the earlier release-note fix, fresh evidence is that this recovery branch publishes it without ever passing the current integrations/deepseek-harness/RELEASE_NOTES.md; only the new-release branch does so. gh release edit --help documents --notes-file file as “Read release notes from file,” so apply the owned notes here before clearing the draft flag; otherwise a repaired draft can go public with stale guidance, including a missing REA_DSH_NODE_PATH prerequisite, even though its assets match.
Useful? React with 👍 / 👎.
| Codex treats an unset or empty `CODEX_HOME` as `~/.codex`. Devin honors | ||
| `XDG_CONFIG_HOME` for its `devin/mcp_config.json` on non-Windows systems. |
There was a problem hiding this comment.
Restore Codex timeout configuration guidance
For Codex users whose native analyses need longer client deadlines, this replacement removes the only client-specific explanation of startup_timeout_sec, provider-derived tool_timeout_sec, preserved positive values, and the editable ~/.codex/config.toml path. The implementation still writes those values in src/application/SetupClientConfiguration.ts:752-763, and docs/mcp-contracts.md:552-558 still directs readers back to this guide, so users can no longer discover how to extend the deadline and supported long calls can time out; restore the accurate Codex block instead of reducing the section to home-directory semantics.
Useful? React with 👍 / 👎.
| The candidate has not been qualified in native Desktop or through a fully booted | ||
| Harness profile. Keep publication disabled until those required lanes are reviewed. |
There was a problem hiding this comment.
Remove the stale fully-booted-profile blocker
On every opt-in publication, release-plugin requires native-harness, whose .github/workflows/dsh-bundle.yml:103-108 boots the installed bundle through Harness and runs a real MCP analysis plus retained view. These published notes nevertheless state that no fully booted Harness profile qualification exists and instruct reviewers to keep publication disabled for that missing lane; update the boundary to retain only the genuinely unverified native Desktop/live-model coverage.
AGENTS.md reference: AGENTS.md:L79-L79
Useful? React with 👍 / 👎.
Summary
Provide a build-free Harness/Cordis bundle for the pinned
rea-agents@6.4.0MCP server. Real Harness qualification found that the launcher froze its environment record, while Harness's actual Schemastery configuration normalizer requires that record to be writable: configuration was rejected and REA tools never registered despite a successful direct MCP handshake. The launcher now transfers a fresh writable environment snapshot to that owner.This revision integrates the original candidate on current main, preserves its authorship, and addresses the remaining configuration, path and documentation findings. Plugin version remains the unpublished 0.2.1 candidate; canonical REA core release metadata is unchanged.
Change and scope
..cannot select a different checkout. Compare Electron aliases by device/inode identity; unknown identity fails rather than authorizing the application executable as standalone Node.npm ciin compatibility CI.workflow_dispatchwithpublish_plugin=true, canonical main/repository andREA_DSH_PUBLISH=true. Merging or pushing main never publishes this candidate.No new analysis provider, target capability, schema owner or mutation authority. This adapter reuses REA's existing local MCP workflows and authority checks. Additional scope approval for a new target capability is not applicable.
Executed evidence
Linux; Node24.18.0/npm11.16.0; actual Harness source
571902028a75c64c1d767f4ae5fd099485f0ddf0, its pinned pnpm11.28.5; actual npm REA6.4.0 and Electron44.7.0 RunAsNode.dsh plugin --profile web add. Initial real Loader boot failed configuration validation. Actual Schemastery experiments isolated frozenenvas the cause; frozenargsare accepted. After the owning snapshot fix, Loader boot, namespace discovery, realtools.executeanalysis, retained module pagination and shutdown all passed without an API key. Local tarball revisions use unique SHA filenames to avoid pnpm reusing older same-version bytes; installed launcher contents were checked.http-server@14.1.1source: 16 relevant files, 103,144 bytes, 12 parsed JS files, 5,308 AST nodes. Both compact/full profiles completed through the real registry/bridge, preserving partial/unknown semantic coverage rather than claiming full understanding.Request timed outand cleaned up. No 25-day elapsed-time experiment is claimed; the documented maximum-budget-plus-cleanup limitation remains explicit.npm run check: all six tasks and architecture guards passed. Docs checks and five README consistency tests passed; discovery found all 1,290 root test files exactly once. After synchronization with mainfffb0741936067530d1ce9777461cd53e87398c2,check:fastand docs checks passed again. The bundle/workflow bytes stayed identical across that synchronization.Validated preceding head:
e81f342f6438dbdefc720bfa2b5cca7a6f7d4d99. The runtime is unchanged from the verified real-Harness integration. Current-head remote bundle contract, actual Harness/packaged MCP analysis and Desktop Git URL installation jobs all passed; publication was skipped. The direct-Git gate now runs on PR/manual workflows, allowing validation before publication.Two preceding CI failures were attributable to this PR: pnpm setup read the root npm package manager, and bundle JavaScript was missing from lint cache inputs. Both are fixed at their producing configuration. The unchanged cache-inventory boundary test reproduced 1 failure / 7 passes before the fix and passes all 8 after it. The exact pinned pnpm action reproduced the version conflict, then successfully installed pnpm11.0.0 with the bundle manifest.
check:fast, formatting and workflow ownership/manual-publication checks passed. An independent empty-profile installation of the actual CI merge URL (b2982a8d06c2c15ed9542fbab5e4790e7d3a037c) passed, with exact launcher/helper bytes and prebuilt runtime resolution (11.43s, 443MiB). At that preceding head all 35 core CI jobs passed. Current head9967f8a7294102a319d593e34707c15143073625additionally fixes the review-confirmed P1: plugin release creation and existing-draft publication explicitly opt out of GitHub Latest selection, preserving the default REA installer's core-tag contract. Two tests execute the actual shell branches with a recording publication boundary (no GitHub publication), fail on the preceding workflow, and pass after the fix. All 37 bundle tests, eight cache-inventory boundary tests,check:fastand formatting passed. At current head9967f8a7294102a319d593e34707c15143073625, core CI 38643447038 passed all 35 jobs, Harness compatibility 38643446906 passed all three validation jobs, and publication was skipped. Latest Greptile review is 5/5 on that exact head with zero unresolved threads. Native Desktop GUI qualification remains pending; this draft is held from final integration.npm run verify:packagecompleted all real packaged install/update/CLI/MCP/Evidence/setup/uninstall and cleanup stages on the preceding runtime-identical head (248.43s, 1,224MiB). Rootnpm pack --dry-run --json --ignore-scriptspassed after that verifier prepared and packed the runtime; the Harness integration is excluded from the root npm archive.Performance and remaining qualification
Actual Harness model-facing schemas: compact 254,673 bytes, full 436,594 bytes (170 tools), about 42% fewer schema bytes with the existing compact default. Agent tokens were not measured. The http-server summary's model-facing content was 10,477 bytes in both modes; raw execution JSON was 30,948 bytes because the Harness record also holds structured value data. Analysis calls took 3.65/3.71s; complete boot/call/disposal 9.77/9.55s, sampled family RSS 748/745MiB. Selected views reuse retained Evidence; no mutable-input cache or duplicate analysis schema is introduced.
Heavy work ran serially on two CPUs with an 8GiB guard and host-memory floor. Harness's seven artifact build gates passed in 184s, peak 4,216MiB; root checks peaked at 6,827MiB. No guard stop or OOM.
Native Windows/macOS Desktop GUI installation/effective composition remains unqualified. Official Desktop build targets exclude Linux; no platform gate was bypassed. Source/profile files and Node/Electron host tests do not establish GUI acceptance. Native provider and live paid/model API lanes were not run. Candidate publication stays closed; supported Desktop installation recommendations must wait for that qualification. This PR is held from final integration while its required native Desktop qualification remains unresolved.
Author readiness
Human owner: @N0zoM1z0
The following declarations are recorded from the owner's explicit standing instruction for the approved queue. The agent performed the technical review and executed evidence above; the named human retains responsibility. These declarations do not replace the remaining technical integration gate.