mirror of
https://github.com/morluto/rea.git
synced 2026-11-08 07:46:28 +00:00
* feat(native): retain LLDB source coordinates and verify Pascal call entries Preserve partial line-table attribution for native locations and historical evidence compatibility. Verify owned Free Pascal call entries through CLI/MCP. Refs #2382, #2372, #2397 Co-Authored-By: Codex <noreply@openai.com> * docs: namespace native specifications by domain and feature Use stable descriptive paths instead of numeric prefixes to avoid parallel contribution collisions. Co-Authored-By: Codex <noreply@openai.com> * fix(native): bound Pascal verification and compare caller coordinates Address review findings at their producing boundaries and preserve directly affected consumers. Source inspection and git diff --check completed. Tests and automated checks were not run at the user’s explicit request. * fix(native): bound compiler shutdown and source-coordinate fixtures * docs: clarify historical native source verification * fix(native): preserve source attribution and compiler ownership * docs(native): qualify retained source attribution * fix(ci): clean up native Pascal verifier processes * test(native): type the Pascal verifier helper import after merging main Main now typechecks this boundary test, which imports the untyped canonical-temporary-directory helper and reads an unknown catch value. Add the helper's declaration file and narrow the caught error. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * test(native): verify partial source attribution caveat * fix(native): retain verifier compiler cleanup ownership * fix(native): forward verifier cancellation and measure path bytes CLI and MCP artifact runs observe the verifier abort signal, and a failed Pascal verifier test stops the compiler group before deleting its directory. Repeated source locations grow by measured UTF-8 JSON bytes; workflow tokens, CPU and peak memory stay unmeasured. --------- Co-authored-by: Matheus Breguêz <matbrgz@gmail.com> Co-authored-by: Codex <noreply@openai.com> Co-authored-by: Kaoru0822 <208281322+kaoru0822-kitauji@users.noreply.github.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Cursor Agent <cursoragent@cursor.com>
25 lines
930 B
JavaScript
25 lines
930 B
JavaScript
import { importVerifierSource } from "./verifier-source-loader.mjs";
|
|
|
|
let implementation;
|
|
|
|
/** Create an SDK-compatible transport which retains the exact process owner. */
|
|
export async function createOwnedMcpStdioTransport(options) {
|
|
implementation ??= importVerifierSource(
|
|
new URL("../../src/process/OwnedMcpStdioTransport.ts", import.meta.url)
|
|
.href,
|
|
import.meta.url,
|
|
);
|
|
const { OwnedMcpStdioTransport } = await implementation;
|
|
return new OwnedMcpStdioTransport(options, {
|
|
provider: "artifact-verifier",
|
|
label: "Artifact verifier",
|
|
// Match the SDK's default maximum buffered stdio message size.
|
|
maxFrameBytes: 10 * 1024 * 1024,
|
|
// Unlike the JADX adapter, artifact verifiers do not impose a cumulative
|
|
// per-connection output limit; the SDK bounds each buffered message.
|
|
maxOperationBytes: Infinity,
|
|
gracefulInputCloseMs: 2000,
|
|
maxDiagnosticBytes: 64 * 1024,
|
|
});
|
|
}
|