Skip to content

feat(execution): run server handlers without guest credentials - #427

Merged
allisonmahmood merged 2 commits into
mainfrom
tier2/395-execution-engine
Oct 1, 2026
Merged

allisonmahmood merged 2 commits into
mainfrom
tier2/395-execution-engine

Conversation

@allisonmahmood

Copy link
Copy Markdown
Owner

Tier 2 needs a credential-free engine that can invoke handlers and inspect bundles before hosted admission is enabled.

This adds the pinned workerd engine, invocation-bound SDK callbacks and Runtime Executor port. Inspection derives handler descriptors in a deadline-bounded, throwaway process. Release tests cover the supported runtime APIs and refused network, Node and dynamic-code access; ADR-0012 records the execution boundary.

Stacked on tier2/394-revisions-wakes. This PR contains the engine and inspection work only. Supervisor, host and fleet integration remain separate; tier 2 publishing is still refused.

Verification

  • pnpm typecheck and pnpm lint passed.
  • pnpm test --maxWorkers=2: 1,194 tests passed across 107 files.
  • Direct workerd smoke exercised SDK logging and table callbacks.
  • Default-concurrency runs hit an existing Postgres test timeout; its assertions and timeout are unchanged.

Closes #395. Part of #384.

Implemented with OpenAI GPT-6 Astra using the omp harness.

@github-actions github-actions Bot added area:server Touches the server area area:ci CI, shared testing infrastructure, development scripts and tooling area:cli Touches the cli area area:core Touches the core area area:docs Touches the docs area size:xl Over 1,000 changed lines; review in multiple passes labels Sep 28, 2026
@allisonmahmood

Copy link
Copy Markdown
Owner Author

Astra review

Reviewed 6e52b741d66e53ac6194016a98e2b8e9bff19010 against origin/tier2/394-revisions-wakes at 277d6e3f2e59e1c54838ae19fe55ca3373f39051, using the three-dot diff, issue #395 and parent spec #384. One pass, no subagents; merge blockers only.

Standards

No merge-blocking method or YAGNI findings. The new package, Runtime-owned Executor port and separate inspection entrypoint follow the boundaries explicitly required by #395. I found no simplification necessary before merge.

Spec

No merge-blocking intent findings. The diff covers the pinned loader, content-hash binding, invocation-bound callback stub, private wire schemas, SDK guest, deadline-bounded inspection, runtime-promise coverage and required ADR/docs. Supervisor, host admission, settlement, fleet and local dev integration are explicitly deferred by this ticket, not missing acceptance criteria.

Verification: a disposable smoke run against the actual pinned workerd derived descriptors from an SDK-built bundle and invoked its file handlers through a stub HTTP callback host. Uploads and downloads succeeded at 64 KiB, 1 MiB, 2 MiB and the 20 MiB limit. I did not rerun the full suite or exercise hosted/fleet containment. No repository files changed.

Summary: Standards 0 blockers; Spec 0 blockers. No worst issue on either axis.

@allisonmahmood

Copy link
Copy Markdown
Owner Author

Opus review

Reviewed origin/tier2/394-revisions-wakes...6e52b74 against #395 and spec #384 §3–§5. I ran packages/execution locally (17/17 pass) and probed the loader with scratch guests outside the tree. Guest fetch to the internet, 127.0.0.1, the callback host itself and 169.254.169.254 all get the loopback's 403. So does new WebSocket. caches throws, a stub saved into ctx.waitUntil is refused after return, and an aborted /bind does not poison the identity. The containment claims hold. Four findings, most severe first.

1. Engine verdicts and guest-authored "Patchy" refusals share one field (correctness)

packages/api/src/guest.ts: GuestReply = RuntimeReply, and InvokeReply = { reply: GuestReply, guestMs }. The loader writes its own verdicts into that same reply field: handler_timeout at packages/execution/src/loader.ts:163-167 and :207-209, and handler_failed at :212-215. Otherwise it passes the guest's JSON through after a schema decode (:204).

The server bundle is untrusted, and nothing makes it use createGuest. Any bundle can return { ok: false, source: "patchy", code: "handler_timeout" | "unknown_outcome" | "session_expired" | "write_conflict", error, correlationId: "<any row>" }. It decodes cleanly. Through the Executor port, the host then can't tell:

  • the engine saying the deadline passed from patch code claiming it. ADR-0012 contract 1 makes handler_timeout an outcome that needs confirmed non-commit, and invocation rows record it.
  • a refusal the host actually issued to this attempt from one the guest invented, including a forged correlationId pointing at another operation row.

Fix while the port is new: give InvokeReply an engine-owned outcome beside the guest data, e.g. { outcome: "returned", reply } | { outcome: "deadline" } | { outcome: "guest_failed" }. Say in ADR-0012 that a guest's source: "patchy" payload is untrusted. The host keeps only refusals it issued to that attempt and maps anything else to handler_failed. This lives entirely on the loader→host side, so the frozen guest wire in stored bundles doesn't change.

2. File callbacks use the tier 1 limit id and the wrong refusal code (correctness, limits registry)

loader.ts:291, :322-324 and :351-352 enforce GuestProtocol.runtimeByteLimits.fileBytes, which is registry["runtime.file.bytes"] (tier 1's per-operation limit). The registry already has tier2.callbacks.fileBytes ("File bytes per callback body") for this bound. Both entries declare refusal: "too_large", and every other byte limit in the repo refuses with too_large (Runtime.ts:122, Files.ts:36, Subscriptions.ts:157). The loader returns limit_exceeded, though. So a handler sees a different code for the same limit than a tier 1 page does, and the loader enforces an id that neither the tier 2 skill table nor an override of tier2.callbacks.fileBytes will reach. Read tier2.callbacks.fileBytes and refuse with too_large, including its limit fields.

3. Every callback transport failure reaches the handler as access_denied (correctness, product)

loader.ts:365-366 catches everything around the host fetch and answers access_denied: "The invocation callback could not complete." That covers the deadline abort from AbortSignal.timeout at :346, a non-JSON 5xx from the callback listener (a rollout drain, a crash), a connection reset and a malformed reply. Unless the handler catches it, the refusal becomes the final reply (the SDK passes refusals through), and the viewer reads "access denied". product.md reserves that message for "this is your access, not the patch being broken". On a mutation's write callback the honest answer is that the outcome is unknown. Map the deadline abort to handler_timeout and transport or protocol failures to a non-access code (unknown_outcome, or busy for connect failures). Keep access_denied for the stale-stub checks at :313, :326 and :363.

4. docs/API.md gets the binary callback framing wrong (wire contract surface)

packages/api/src/markdown.ts:101 (rendered into docs/API.md) says binary callback requests are application/octet-stream. The loader sends the file's own media type (loader.ts:334), which is what ADR-0012 and the engine test's contentType: "application/x-test" assert. The host callback listener, due in a later ticket, gets built from this doc and would pick the framing by Content-Type. Say that X-Patchy-Callback marks a binary request and Content-Type carries the file's media type.


Checked and not blocking: Executor sits beside LoadedVersions and Runtime never imports execution. Inspection has no Runtime or company binding, and its process is killed and reaped. Bundles are closed modules (an AST refusal that covers dormant import()). Compat flags are set, and the pinned version is verified at spawn. Surfaces covered: ADR-0010/0011/0012, CONTEXT-MAP, the Runtime glossary, README, DEVELOPMENT.md, API.md. The @patchy/core removal from api is justified (node:crypto would break the closed guest bundle).

@allisonmahmood allisonmahmood left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Reviewed 6e52b74 against tier2/394-revisions-wakes (277d6e3f), issue #395, and the engine slice of #384.

The method is the one the spec decided. A pinned workerd 1.20260924.1 runs one loader Worker. env.loader.get keeps one isolate per company, patch, and version, named with the bundle's SHA-256. The guest's ctx.props are the invocation id and an RPC stub. The callback URL and bearer stay on the loader's attempt map and leave only on the host fetch. Outbound.fetch answers guest fetch with a 403 refusal body. Inspection is a separate process with no callback bindings, a load deadline, and a scope that SIGKILLs the child. Executor is bind and invoke. Runtime does not import execution. Tier 2 publish stays refused.

That is the small cut. There is no pool, no fleet client, and no supervisor in the code. ADR-0012 records those decisions for later tickets. An in-process isolate would miss the workerd boundary #384 asks for.

Spec

Issue #395's build list is in the diff. Engine and inspection are the only entrypoints. The direct workerd harness, the server-list tests, the refused publish path, and the named glossary entries are present. The supervisor, local executor, and fleet stay written down as later work.

Six places diverge from #395 or from this ticket's slice of #384.

  1. The loader classifies the deadline, and the two paths disagree. After a normal guest return, packages/execution/src/loader.ts replaces GuestReply with handler_timeout when Date.now() is past request.deadline. A throw on that same path, including a non-JSON body or a failed decodeGuestReply, is always handler_failed. ADR-0012 says handler_timeout requires a confirmed non-commit, and that the host owns the classification. The loader has no commit to look at. Callbacks may already have run. A caller that retries handler_failed can enter the handler again after the deadline. Return the guest reply, or the real failure, plus guestMs. Leave the fence to the host ticket.

  2. Every thrown callback becomes access_denied. The catch in Callbacks.call maps a down host, an abort, a non-JSON body, or a decode error to access_denied and "The invocation callback could not complete." The wire already has timeout and source_unavailable. access_denied is the viewer's permission refusal. In packages/patchy/src/guest.ts, a failed ctx.log is kept and then replaces a successful handler value, so a blip on the log callback drops the result and reads as an auth denial.

  3. The 20 MiB file cap uses the wrong code. Both directions call refusal("limit_exceeded", ...) with no limit id. runtime.file.bytes refuses too_large. Runtime.TooLarge carries limitId: "runtime.file.bytes". limit_exceeded is a different code.

  4. The private-protocol doc names the wrong media type. ADR-0012 says the HTTP callback carries the file's media type. loader.ts sets content-type from operation.body.contentType. The engine test expects application/x-test. packages/api/src/markdown.ts, and the generated docs/API.md, say binary requests are application/octet-stream.

  5. docs/product.md is ahead of this diff. The canonical promise is in ADR-0010 and ADR-0012. The Tier 2 section paraphrases it. The identity paragraph this PR rewrote says the host reauthorizes the principal on each callback. There is no host gateway here. The opening lines correctly say admission, settlement, and termination are still to build. Keep the identity paragraph in that tense.

  6. A PatchyError thrown by the guest itself becomes handler_failed. The query-shape check in guest.ts throws PatchyError invalid_request. errorReply only preserves HandlerError (source === "handler"). The code and the message are dropped. The generated Postgres prelude throws that same invalid_request and keeps it.

The non-terminating initializer test accepts InspectionError reason load or timeout, so an immediate load failure satisfies the "cannot finish" case. The separate SIGKILL test is the one that shows the child is reaped.

Standards

Effect service conventions, hard:

  • packages/execution/src/process.ts builds plain Errors only to fill WorkerdError.cause: unsupported platform, a bad callback URL, an empty esbuild output, and new Error(stderr) holding up to 8 KiB of workerd output. Fail with WorkerdError and a stage. Keep cause for the original esbuild, spawn, or I/O error. The convention forbids manufacturing an Error to populate cause, and forbids copying command output into the message.

  • preferSchemaOverJson:off on inspection.ts, process.ts, and Inspection.test.ts is explained as wall-clock fetch and child ownership. Those files also JSON.stringify a known request. Encode with Schema, or name JSON in the suppression reason.

Judgement. process.ts memoizes the loader bundle in a module-global promise. A failed esbuild sticks for the process. Effect.cached would keep that failure inside the effect.

Docs:

  • packages/patchy/README.md says createGuest is the wire-1 entry used by generated server artifacts. packages/sdk/src/generateServer.ts emits bindServer and never mentions createGuest. The re-export on patchy/server is the production caller, plus the engine fixture. Say the bundle entry exists, and that generation does not emit it yet.

  • ADR-0011 says this release pins workerd to 1.20260924.1, and a few paragraphs later says the only managed package pin today is patchy, with tier 2 init adding workerd. The pin that exists is packages/execution/package.json. The patch pin is still the init ticket. Those are two different pins.

  • ADR-0012 says guest globalOutbound refuses TCP connect. Outbound only implements fetch. Sockets stay out because no_nodejs_compat is set and the acorn walk rejects node:net and cloudflare:sockets before the isolate starts. Say that mechanism.

YAGNI. Two deletions, and the rest of this cut should stay.

  • packages/patchy/src/guest.ts copies a schema relation onto the public get, getMany, and list functions with Object.assign. A call to .list() still hits the public relation. A non-public table with one of those three names is only reachable as an extra property on that function. The generated client does not do this stamp. Delete it. The dual proxy, public relation versus schema namespace, matches the generated client and should stay.

  • startWorkerd's startupTimeoutMs has no caller. A fixed 5 second startup budget is enough. loadTimeoutMs is the deadline the inspection tests set.

The query-shape fold in guest.ts repeats wireShape in packages/integrations/src/postgres/Generate.ts and has already drifted. The prelude uses two invalid_request messages. The guest uses one, then loses it, which is finding 6 above. Leave the fold in the guest. Use the prelude's checks.

Executor, inspect, and engine.ts are the right size. The engine tests check the reply envelope, the bearer, file bytes, isolate identity, and that an old stub cannot call back. Keep those.

Method

Worker Loader in the pinned binary, one isolate per company/patch/version, the capability held by the loader, inspection in a process that has no callback services. The guest protocol's compatibility date and workerd version live once, in packages/api/src/guest.ts, and the process refuses to start on any other version.

The gaps are the refusal bugs above. The unauthenticated loopback is intentional. This ticket leaves the management listener to the supervisor. A spinning handler keeps running. ADR-0012 gives the kill to the supervisor, at the deadline plus one second. Executor.invoke hangs until that ticket exists, which matches the boundary this PR drew.

Spec: 6 findings. Worst: the loader reports handler_timeout for a guest that already returned, and handler_failed for a late throw, so the host never sees the real reply.
Standards: 8 findings. Worst: packages/patchy/README.md says generated server artifacts use createGuest, and generation still emits bindServer.

@allisonmahmood

Copy link
Copy Markdown
Owner Author

Reviewed 6e52b74 against tier2/394-revisions-wakes (277d6e3f), issue #395, and the engine slice of #384.

The method is the one the spec decided. A pinned workerd 1.20260924.1 runs one loader Worker. env.loader.get keeps one isolate per company, patch, and version, named with the bundle's SHA-256. The guest's ctx.props are the invocation id and an RPC stub. The callback URL and bearer stay on the loader's attempt map and leave only on the host fetch. Outbound.fetch answers guest fetch with a 403 refusal body. Inspection is a separate process with no callback bindings, a load deadline, and a scope that SIGKILLs the child. Executor is bind and invoke. Runtime does not import execution. Tier 2 publish stays refused.

That is the small cut. There is no pool, no fleet client, and no supervisor in the code. ADR-0012 records those decisions for later tickets. An in-process isolate would miss the workerd boundary #384 asks for.

Spec

Issue #395's build list is in the diff. Engine and inspection are the only entrypoints. The direct workerd harness, the server-list tests, the refused publish path, and the named glossary entries are present. The supervisor, local executor, and fleet stay written down as later work.

Six places diverge from #395 or from this ticket's slice of #384.

  1. The loader classifies the deadline, and the two paths disagree. After a normal guest return, packages/execution/src/loader.ts replaces GuestReply with handler_timeout when Date.now() is past request.deadline. A throw on that same path, including a non-JSON body or a failed decodeGuestReply, is always handler_failed. ADR-0012 says handler_timeout requires a confirmed non-commit, and that the host owns the classification. The loader has no commit to look at. Callbacks may already have run. A caller that retries handler_failed can enter the handler again after the deadline. Return the guest reply, or the real failure, plus guestMs. Leave the fence to the host ticket.

  2. Every thrown callback becomes access_denied. The catch in Callbacks.call maps a down host, an abort, a non-JSON body, or a decode error to access_denied and "The invocation callback could not complete." The wire already has timeout and source_unavailable. access_denied is the viewer's permission refusal. In packages/patchy/src/guest.ts, a failed ctx.log is kept and then replaces a successful handler value, so a blip on the log callback drops the result and reads as an auth denial.

  3. The 20 MiB file cap uses the wrong code. Both directions call refusal("limit_exceeded", ...) with no limit id. runtime.file.bytes refuses too_large. Runtime.TooLarge carries limitId: "runtime.file.bytes". limit_exceeded is a different code.

  4. The private-protocol doc names the wrong media type. ADR-0012 says the HTTP callback carries the file's media type. loader.ts sets content-type from operation.body.contentType. The engine test expects application/x-test. packages/api/src/markdown.ts, and the generated docs/API.md, say binary requests are application/octet-stream.

  5. docs/product.md is ahead of this diff. The canonical promise is in ADR-0010 and ADR-0012. The Tier 2 section paraphrases it. The identity paragraph this PR rewrote says the host reauthorizes the principal on each callback. There is no host gateway here. The opening lines correctly say admission, settlement, and termination are still to build. Keep the identity paragraph in that tense.

  6. A PatchyError thrown by the guest itself becomes handler_failed. The query-shape check in guest.ts throws PatchyError invalid_request. errorReply only preserves HandlerError (source === "handler"). The code and the message are dropped. The generated Postgres prelude throws that same invalid_request and keeps it.

The non-terminating initializer test accepts InspectionError reason load or timeout, so an immediate load failure satisfies the "cannot finish" case. The separate SIGKILL test is the one that shows the child is reaped.

Standards

Effect service conventions, hard:

  • packages/execution/src/process.ts builds plain Errors only to fill WorkerdError.cause: unsupported platform, a bad callback URL, an empty esbuild output, and new Error(stderr) holding up to 8 KiB of workerd output. Fail with WorkerdError and a stage. Keep cause for the original esbuild, spawn, or I/O error. The convention forbids manufacturing an Error to populate cause, and forbids copying command output into the message.

  • preferSchemaOverJson:off on inspection.ts, process.ts, and Inspection.test.ts is explained as wall-clock fetch and child ownership. Those files also JSON.stringify a known request. Encode with Schema, or name JSON in the suppression reason.

Judgement. process.ts memoizes the loader bundle in a module-global promise. A failed esbuild sticks for the process. Effect.cached would keep that failure inside the effect.

Docs:

  • packages/patchy/README.md says createGuest is the wire-1 entry used by generated server artifacts. packages/sdk/src/generateServer.ts emits bindServer and never mentions createGuest. The re-export on patchy/server is the production caller, plus the engine fixture. Say the bundle entry exists, and that generation does not emit it yet.

  • ADR-0011 says this release pins workerd to 1.20260924.1, and a few paragraphs later says the only managed package pin today is patchy, with tier 2 init adding workerd. The pin that exists is packages/execution/package.json. The patch pin is still the init ticket. Those are two different pins.

  • ADR-0012 says guest globalOutbound refuses TCP connect. Outbound only implements fetch. Sockets stay out because no_nodejs_compat is set and the acorn walk rejects node:net and cloudflare:sockets before the isolate starts. Say that mechanism.

YAGNI. Two deletions, and the rest of this cut should stay.

  • packages/patchy/src/guest.ts copies a schema relation onto the public get, getMany, and list functions with Object.assign. A call to .list() still hits the public relation. A non-public table with one of those three names is only reachable as an extra property on that function. The generated client does not do this stamp. Delete it. The dual proxy, public relation versus schema namespace, matches the generated client and should stay.

  • startWorkerd's startupTimeoutMs has no caller. A fixed 5 second startup budget is enough. loadTimeoutMs is the deadline the inspection tests set.

The query-shape fold in guest.ts repeats wireShape in packages/integrations/src/postgres/Generate.ts and has already drifted. The prelude uses two invalid_request messages. The guest uses one, then loses it, which is finding 6 above. Leave the fold in the guest. Use the prelude's checks.

Executor, inspect, and engine.ts are the right size. The engine tests check the reply envelope, the bearer, file bytes, isolate identity, and that an old stub cannot call back. Keep those.

Method

Worker Loader in the pinned binary, one isolate per company/patch/version, the capability held by the loader, inspection in a process that has no callback services. The guest protocol's compatibility date and workerd version live once, in packages/api/src/guest.ts, and the process refuses to start on any other version.

The gaps are the refusal bugs above. The unauthenticated loopback is intentional. This ticket leaves the management listener to the supervisor. A spinning handler keeps running. ADR-0012 gives the kill to the supervisor, at the deadline plus one second. Executor.invoke hangs until that ticket exists, which matches the boundary this PR drew.

Spec: 6 findings. Worst: the loader reports handler_timeout for a guest that already returned, and handler_failed for a late throw, so the host never sees the real reply.
Standards: 8 findings. Worst: packages/patchy/README.md says generated server artifacts use createGuest, and generation still emits bindServer.

allisonmahmood added a commit that referenced this pull request Sep 28, 2026
Address #427 review findings: preserve host settlement authority, classify callback failures honestly, enforce the tier 2 file contract, retain SDK validation refusals and tighten inspection/process errors. Correct the implementation-boundary and binary framing documentation.
@allisonmahmood

allisonmahmood commented Sep 28, 2026 •

Copy link
Copy Markdown
Owner Author

Addressed the review findings in b10524a. I read the conversation comments, the Reviews-tab body and the inline-comment endpoint. The Grok review body duplicates its conversation comment; there were no inline comments. Astra reported no blockers.

Fixed

  • Engine observations versus guest claims: InvokeReply now distinguishes returned, pre-dispatch deadline and guest_failed. Late guest returns retain their data; late throws cannot become a settlement verdict. Guest-authored source: "patchy" and correlationId remain explicitly untrusted. ADR-0012 requires the future host to match claimed platform refusals against its own attempt records. The stored guest wire is unchanged.
  • Callback failure classification: deadline expiry returns timeout; connection loss, non-JSON responses and malformed replies return source_unavailable. Ended non-expired stubs still return access_denied. I did not use handler_timeout or unknown_outcome here: the loader cannot determine commit or promise safe retry.
  • File callback limits: both directions use tier2.callbacks.fileBytes and return too_large with the registry limit id, scope and value. Tests exercise exactly 20 MiB and one byte over through SDK handlers and real workerd.
  • SDK query validation: the guest now matches the generated Postgres prelude checks and preserves its locally created invalid_request failures. Arbitrary handler-created PatchyError objects are not trusted as SDK refusals.
  • Process and inspection errors: validation failures use structured WorkerdError reasons without fabricated causes. Actual caught errors retain their causes; subprocess output is drained rather than copied into an error. JSON diagnostic suppressions now explain the actual encoding boundary. Removed the unused startup-timeout option.
  • Bundle cache and inspection coverage: failed loader builds clear the cached promise. The synchronous infinite initializer must produce timeout, and the cleanup test must observe the failed request before checking kill/reap/removal.
  • Documentation: corrected binary framing to use X-Patchy-Callback as the discriminator and the file media type as Content-Type; distinguished the internal workerd dependency from the future patch-repo pin; clarified that generation does not emit createGuest yet; corrected the socket-refusal mechanism; and kept the future host identity rules in future tense with the canonical tier-2 promise.

Kept, with reasons

  • Relation methods on proxy functions: Mapping.ts permits non-public relations named get, getMany and list, and Generate.ts emits them as schema members. Removing the attachment breaks valid calls such as db.audit.get.list(). Added regressions for those names and ordinary public relations.
  • Joining failed log callbacks: invocation completion must join its callbacks. Silently discarding a log refusal would break that rule; the misleading access-denial classification is fixed instead.
  • Shared loader-build promise: retained single-flight/success caching, but no longer cache rejection. Replacing it with Effect.cached alone would also cache failures and would not fix the reported bug.
  • Unresolved top-level await: it may still fail as load or timeout because workerd can reject it natively. This is now separate from the synchronous-spin test, which requires a deadline failure.
  • Host, supervisor and fleet responsibilities: remain outside feat(execution): the engine: the loader Worker, the guest protocol and inspection; ADR-0012 #395. The engine now reports observations without claiming transaction settlement; tier 2 publishing remains refused.

Verification

  • pnpm typecheck and pnpm lint passed.
  • Focused execution/SDK regressions: 38 tests passed.
  • A standalone real-workerd smoke reproduced the old guest/engine ambiguity, then verified that a forged guest timeout remains a returned claim while an expired dispatch produces engine-owned deadline.
  • pnpm test --maxWorkers=2: 1,215 tests passed across 108 files.
  • All eight reported GitHub checks passed on b10524a3238ae84d843df4061a502fc29e8c5c3c: test (22), test (24), postgres-concurrency, clerk-live, cli-smoke, lint, dependency-review and label. CI run.
  • GitHub reports no required-check set for this stacked PR. Its mergeability is MERGEABLE and merge state is CLEAN against tier2/394-revisions-wakes.
  • Rechecked conversation comments, review bodies and inline comments after CI: no new or changed review findings.

No unresolved blockers. Ready to merge; not merged by this agent.

@allisonmahmood
allisonmahmood force-pushed the tier2/394-revisions-wakes branch from 277d6e3 to 1d2a24d Compare October 1, 2026 01:50
Base automatically changed from tier2/394-revisions-wakes to main October 1, 2026 02:01
Implements #395: private wire 1, credential-free SDK guest callbacks, the Runtime Executor port, isolated inspection, runtime release gates and ADR-0012. Tier 2 publishing remains refused.
Address #427 review findings: preserve host settlement authority, classify callback failures honestly, enforce the tier 2 file contract, retain SDK validation refusals and tighten inspection/process errors. Correct the implementation-boundary and binary framing documentation.
@allisonmahmood
allisonmahmood force-pushed the tier2/395-execution-engine branch from b10524a to 0a9559b Compare October 1, 2026 02:02
@allisonmahmood
allisonmahmood merged commit ec6a8a1 into main Oct 1, 2026
8 checks passed
@allisonmahmood
allisonmahmood deleted the tier2/395-execution-engine branch October 1, 2026 02:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:ci CI, shared testing infrastructure, development scripts and tooling area:cli Touches the cli area area:core Touches the core area area:docs Touches the docs area area:server Touches the server area size:xl Over 1,000 changed lines; review in multiple passes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(execution): the engine: the loader Worker, the guest protocol and inspection; ADR-0012

1 participant