Skip to content

feat(runtime): enforce server handler lifetimes - #429

Merged
allisonmahmood merged 3 commits into
mainfrom
tier2/397-invocation-seam
Oct 1, 2026
Merged

allisonmahmood merged 3 commits into
mainfrom
tier2/397-invocation-seam

Conversation

@allisonmahmood

Copy link
Copy Markdown
Owner

Tier 2 handler calls need a host-owned lifetime so callbacks cannot outlive their authority or depend on an open browser connection.

Runtime now admits server.call through a private, capability-authenticated callback gateway. Deadlines fence and settle work after clients disconnect; unresolved resources are destroyed without claiming a timeout. Invocation records separate the initiating viewer from the effective principal and keep handler diagnostics out of browser replies. Tier 2 publishing remains refused.

Stacked on tier2/396-supervisor and targets that branch. The diff against that base contains only the implementation of #397.

Closes #397.

Verification

  • pnpm test: 1,279 tests passed across 120 files.
  • pnpm typecheck and pnpm lint passed.
  • Real workerd own-table query and live private-gateway smoke passed.
  • Standards and Spec reviews have no remaining findings.

Implemented with openai-codex/gpt-6-astra in the omp harness.

@github-actions github-actions Bot added area:server Touches the server area area:cli Touches the cli area area:docs Touches the docs area area:integrations Company connections and integration implementations area:ui Portal and first-party browser pages, shared rendering and styles size:xl Over 1,000 changed lines; review in multiple passes labels Sep 29, 2026
@allisonmahmood

Copy link
Copy Markdown
Owner Author

Opus review

Reviewed origin/tier2/396-supervisor...HEAD against #397 and spec #384 §4–§7, §16, plus the Effect service conventions. Two blocking findings, most severe first.

1. handler_timeout is recorded while effects are unresolved or committed (correctness, intent)

packages/runtime/src/InvocationCapabilities.ts:150-159 interrupts every in-flight callback fiber when the capability is fenced. settle (:281-289) then counts the invocation as settled once those fibers finish, and interruption finishes them almost at once. retain has no production caller; only tests call it. So entry.resources is always empty and settle returns true. packages/runtime/src/Invocation.ts:371-374 then records handler_timeout.

Concrete failure: a mutation's ctx.tables.notes.insert (or an action's postgres.query) is in flight at the 5 s deadline. The callback fiber is interrupted. CallbackGateway.ts:275-277 re-raises the interrupt before log.finish, so that write's runtime_calls row stays pending, and after its deadline it reads as unknown. The invocation row says handler_timeout. The same happens when an earlier write callback in the mutation has already committed: each callback autocommits until the mutations ticket lands. Either way the row and the reply claim confirmed non-commit, which contradicts #397 ("never reported as handler_timeout" while an outcome is unresolved) and this PR's own wire text (packages/api/src/api.ts:643, docs/API.md: "Unresolved effects remain unknown_outcome, never handler_timeout"). A client that treats handler_timeout as safe to retry will duplicate the write.

Fix (small): at fence, if any callback of a mutation- or integration-kind handler has started for this attempt, settle returns unsettled, so the invocation becomes unknown_outcome. Alternatively, refuse write and integration callbacks from mutations until the host-owned transaction lands. Add a test that runs a real tables.insert callback against a non-returning executor. The current test only covers the fake retain resource.

2. The live re-check replays the call-time session cookie, so viewer callbacks fail once that token expires (correctness)

packages/runtime/src/Runtime.ts:606-611 passes options.identity as reauthorize, with the original HttpServerRequest provided. CallbackGateway.ts:201-208 runs it on every shared.*, members.* and postgres.* callback. In production, options.identity (RuntimeProduction.ts:35-50) re-runs Clerk's authenticateRequest on the headers captured when the call started, and the Clerk session JWT in that cookie lives about 60 s. Once its exp passes, the re-check returns session_expired even though the viewer's session is live and the shell has refreshed its cookie.

Concrete failure: the shell refreshes the token roughly every 50 s, so a call starts with a token that has anywhere from about 10 s to 60 s left. An action (60 s deadline) that reaches ctx.connections or ctx.shared 30 s in fails about half the time, and the failure is nondeterministic. Queries and mutations hit it near the edge of the window. The tests use identity: Effect.succeed(viewer), so none of them can see this.

Fix: bind the live re-check to state that doesn't expire with the cookie. For example, resolve the viewer by the admitted userId and company (membership active, user not deactivated) and check the Clerk session id's revocation status. Do not replay the HTTP request. Then add a test whose identity resolver starts failing after a clock advance, so the replay is caught.

Checked with no finding

  • Capability: 256-bit opaque per-attempt token that only the issuing replica can resolve. It binds invocation, attempt, company, patch, version, viewer, kind, deadline and generation. Attempt headers are compared on every resolve. Ended tokens are refused with their reason from a 5 min tombstone, and a mismatched attempt never borrows another attempt's authority.
  • Kind rules, effective principal (patch for own tables and files, viewer otherwise), and callback count, outstanding and byte bounds.
  • Owner fiber in the layer scope settles at the deadline after the caller disconnects. Action slots (8 per company, 2 per viewer per patch) are held until settlement.
  • Public-scope refusal. Tier 2 direct tables/files/shared/postgres/members ops are refused, including after rollback, and tier 1 documents get only me while tier 2 is served. HandlerError is checked against the declared list on both sides.
  • Migration 0011_runtime_invocations is spread through apps/server, scripts/dev and test/postgres.ts. ADR-0003, AGENTS.md, ADR-0012, docs/API.md, the Runtime and Serving glossaries and docs/product.md are all updated. Tier 2 publish is still refused.

@allisonmahmood

Copy link
Copy Markdown
Owner Author

Astra review

Reviewed b27ec642 against origin/tier2/396-supervisor (b1e39ba1), using #397 and the relevant parts of #384. One pass, no subagents; merge blockers only.

Standards

No merge-blocking method or YAGNI findings.

Spec

Intent blocker: invocation-log writes escape the bounded lifetime

#397 requires the host to "settle within the cleanup bound", independently of the caller.

In Invocation.ts:329–341, log.begin runs before the deadline race starts. Later, log.finish runs after bounded capability settlement without a timeout. The owner cannot reach its action-slot release until these writes finish. A blocked platform-database write therefore keeps an admitted invocation and its slots alive beyond both bounds, even after the client disconnects.

Reproduced with the real InvocationLog and an exclusive lock on runtime_invocations in disposable Postgres. With a 500 ms action deadline and 100 ms cleanup bound, 1,500 ms after disconnect the capability correctly reported deadline, but two log statements were still blocked and a third action returned busy for tier2.actions.viewer. The invocation rows reached handler_timeout only after releasing the database lock.

Keep pre-dispatch and settlement logging within the absolute lifetime, with bounded failure handling. Action-slot release must not depend on an unbounded attribution write. Preserve fail-closed admission and attribution when making that change.

Verification: 55 focused tests passed across nine files, including the real workerd own-table/gateway scenario. The separate Postgres-lock smoke reproduced the blocker. Wire/API docs, migration consumers, attribution UI, and domain documentation were included in the review.

Summary: Standards 0 blockers; Spec 1 blocker, invocation-log I/O bypasses the settlement bound.

@allisonmahmood

Copy link
Copy Markdown
Owner Author

Reviewed b27ec64 against #397 and spec #384, sections 5 and 7. This is build item 13, the invocation seam. The lifetime is the one the ticket describes. Two behaviors are wrong, and a few docs still use the old words.

Spec

Partial

#397's doc list is done for the runtime glossary, ADR-0003, ADR-0012, CLAUDE.md, and the tier 2 section of docs/product.md. These still use the old names:

  • docs/DEVELOPMENT.md lists migrations through 0010_patches_lifecycle_revision and stops. 0011_runtime_invocations is already applied by the three migrators.
  • CONTEXT-MAP.md still says Runtime admits an acting identity, and that Serving's patch identity remains future work.
  • docs/product.md still lists patch identity as future work in the opening, and the edges section still says a tier 2 patch identity on a shared connection is settled when tier 2 is designed. The tier 2 section already states the two identities. The viewer entry under Who's who still says acting identity.
  • packages/primitives/CONTEXT.md still binds access to acting identity.

The direct-operation gate refuses every op that starts with files.. #397 says files by name. files.stage and files.discard are later tickets, and #384 section 4 keeps both for a tier 2 page. The prefix will refuse them when they land.

Scope

No query snapshots, mutation transactions, metering increments, or tier 2 publish. The rollup tables are the schema #397 and #384 section 16 asked for, and nothing writes them. That is the right cut. superseded is an end reason with no caller yet. There is no second attempt in this PR.

Wrong

A fenced callback never finishes its operation row. CallbackGateway.ts inserts a runtime_calls row before the effect, then on an interrupt skips finish and rethrows:

      const result = yield* Effect.exit(withDeadline);
      if (Exit.isFailure(result) && Cause.hasInterrupts(result.cause))
        return yield* Effect.failCause(result.cause);

fence interrupts those fibers at InvocationCapabilities.ts:155. The invocation row settles. The operation row stays pending, which is the insert default, and runtime_calls.outcome has no unknown_outcome. #384 section 9 says the log records the true outcome. A recent-calls list for that connection shows work that has already ended. The direct-mutation path uses the same early return so a lost client does not claim the write failed. On this path the host fenced the call.

A trusted callback refusal is rethrown as CallbackRefusal with status fixed at 400, at Invocation.ts:108. RuntimeApi.failure sends error.status. A relayed too_large, busy, access_denied, or timeout therefore leaves the browser as 400. The runtime wire uses 413, 429, 403, and 504 for those codes. The JSON code is still the original one. No new HTTP test covers a relayed refusal.

The five done-when cases are tested, and the own-table read runs on supervised workerd through the private listener. Public server.call is refused with not_available_on_public.

Standards

Hard, from .agents/skills/effect-service-conventions/SKILL.md:

  • CallbackRefusal uses one status for every relayed refusal. The skill says a discriminator that chooses the caller-visible result is its own error, or the status is derived from the refusal. This is the HTTP bug above.
  • RequestRefused in CallbackGatewayApi.ts uses reason of malformed, bytes, or file_bytes to choose the HTTP body. It has no message. The decode and URI failures drop the underlying error instead of keeping it as cause. The skill wants separate tagged errors, a message from the fields, cause when wrapping a real failure, and Effect.catchTags.

Judgement:

  • Duplicated code. Callback count, tree bytes, and the remembered refusal list are updated in both CallbackGateway.ts and CallbackGatewayApi.ts, then skipped with transportCharged. The two refusal strings differ. One charge on the capability. The listener checks the bearer and caps the body read.
  • Runtime.make reads Invocation with Effect.serviceOption and turns a missing service into InvalidRequest, at Runtime.ts:600. A layer that was not provided looks like a bad request body.

Intent and method

#397's intent is a host-owned lifetime: a callback cannot outlive its authority, and settlement cannot depend on the browser staying open. That is what the code does.

Invocation.call forks the handler into the service scope. Disconnect sets replyDelivered to false and leaves the owner running. The owner races the executor against the deadline, then calls settle. issue also starts a deadline timer, so callbacks are fenced even if the owner has not reached settle. After the cleanup bound, settle calls destroy on any retained resource that did not finish, stores a tombstone of the attempt and the reason, and drops the capability. The token is 32 random bytes in a process-local map. Another process cannot resolve it. POST /callback is a second node:http listener, loopback unless a private address is opted in, and it is not a route on the public API. The attempt id is frozen. A mismatch is refused with attempt_mismatch. A replay inside the tombstone window is refused with the end reason.

This is the small version of that design. One map, one scope fiber, one private listener. retain is how a later mutation ticket puts a connection on the same fence. This PR does not open a company connection through it. The disconnect test injects an executor that never returns, which is the fault #397 names. The admitted read spawns workerd, inserts a row, and reads it back through the listener.

end fences and does not write the tombstone or destroy resources. Disconnect goes through settle. An interrupted owner calls end with process_killed and can leave the invocation row pending.

The server and the dev supervisor do not provide Invocation or call listen. The package tests do. That matches the ticket's line that tier 2 publishing stays refused. The next ticket that serves a handler from the process has to mount both.

YAGNI

Issue.tree and Issue.counters are optional so a later attempt can join a budget this ticket never shares. Allocate both inside issue until a nested call exists.

I would leave ServerBundles. It is the port Invocation reads from the environment, which is what the service rules ask for. I would leave runtime_query_rollup_runs. #384 section 16 names the applied-run ids, and the metering ticket is the writer. I would leave retain. The cleanup bound in the done-when is that hook, and the mutation ticket only has to pass a connection into it.

Spec: 2 wrong, 1 partial doc set. Worst: a fenced callback leaves runtime_calls pending. Standards: 2 hard, 2 judgement. Worst: relayed refusals are HTTP 400.

@github-actions github-actions Bot added the area:primitives Patch tables and files label Sep 29, 2026
@allisonmahmood

allisonmahmood commented Sep 29, 2026 •

Copy link
Copy Markdown
Owner Author

Original review fixes landed in 27c9ef6; the invocation-local session-check correction is in aca6661. Read the conversation comments, review bodies and inline comments; the latter two APIs were empty at intake.

Opus

  • Unresolved or already committed effects reported as handler_timeout: fixed. The gateway tracks when a mutation/integration handler actually starts. Interrupted effects, or an abnormal fence after any such callback started, make settlement uncertain. A real workerd action now proves that an own-table insert can commit before its deadline while the caller and invocation journal both report unknown_outcome. retain remains for the later connection/transaction owner; this change does not pretend fiber interruption proves rollback.
  • Expired admission JWT breaks live viewer callbacks: fixed, with the per-callback backend lookup corrected. The earlier fix made a Clerk Backend API request on every viewer-authority callback. That was wrong. Production now trusts admission until the JWT's exp, then lazily checks the admitted session id/subject once and shares that result across concurrent and later callbacks in the same invocation. Success, denial and backend failure are cached only for that invocation. Database membership, role and deactivation are still checked on every authorized callback, with the application user/company pinned. The count regression proves zero backend requests for ten callbacks before expiry, one shared request for ten concurrent callbacks at expiry, and a separate check for another invocation. It also verifies role refresh, deactivation and fail-closed cached errors. Clerk revocation after the cached check is observed by a later invocation, not by polling every callback.

Astra

  • Journal I/O escapes the invocation lifetime: fixed. Required admission logging shares the absolute deadline and remains fail-closed: no executor dispatch before the row is confirmed. Final logging shares the deadline-plus-cleanup bound. The owner waits only on detached fiber handles, so stuck SQL cancellation cannot retain action slots. Real Postgres exclusive-lock tests cover both journal phases, caller disconnect and replacement action admission; fault cases cover uninterruptible work/finalizers and owner-scope closure. If persistence is unavailable, overdue pending records read as unknown rather than claiming the invocation is still running.

Grok Build

  • Stale migration/identity docs: fixed. Updated all four named surfaces, the auth glossary, ADR-0012 and generated API docs. Migration 0011 now permits explicit unknown operation outcomes; all three existing migrator spreads already include it.
  • Fenced callback rows remain pending: fixed. Interruption performs a bounded journal finish with outcome unknown, not a false failure. Existing overdue-pending projection remains the fallback when the journal is unavailable. Interrupted invocation owners also perform bounded settlement and best-effort outcome recording.
  • Relayed refusals become HTTP 400: fixed. Host refusal records retain their trusted HTTP status alongside the body. Matching guest relays preserve that status; fabricated/altered bodies and guest-supplied status fields are rejected. Real HTTP regressions cover 403, 413, 429 and 504, including retry metadata.
  • RequestRefused error taxonomy/cause loss: fixed. Replaced its reason discriminator with separate malformed, file-size and budget errors, added messages, retained decode/URI/stream causes, and used Effect.catchTags.
  • Duplicated accounting: fixed. Count, byte charging and refusal recording now belong to InvocationCapabilities. The transport-charged flag only prevents charging the already streamed request a second time.
  • Missing optional Invocation looks like malformed input: fixed. It now returns a typed source_unavailable / 503. The service remains optional because this PR deliberately does not mount production tier 2 execution.
  • Unused Issue.tree / Issue.counters injection: removed. Each attempt allocates its own state; nested-call sharing belongs to the nested-handler implementation.
  • Future files.stage / files.discard exceptions: kept as-is. Neither operation exists in this seam. Keeping the gate fail-closed avoids granting speculative operations authority; their implementing ticket must add their explicit admission rules.
  • ServerBundles, query-rollup schema, retain, and scope boundary: kept as-is. They are required ports/schema/lifetime contracts, not extra implementations. Query snapshots, mutation transactions/keys, nested execution, metering increments, fleet wiring and tier 2 publishing remain outside feat(runtime): the invocation seam: admission, the capability, the callback gateway, settlement and invocation rows #397; publication is still refused.

Verification

  • Session-cache standalone smoke using the real production resolver, Clerk SDK over loopback HTTP and disposable Postgres: 0 backend calls before expiry, 1 for 10 concurrent expired-token callbacks, fresh role changes and deactivation denial without another backend call.
  • Focused invocation, callback, journal, live-identity and HTTP regressions passed.
  • Standalone smoke: real workerd → private callback listener → owned Postgres table; durable write observed, caller and journal unknown_outcome, elapsed 2,008 ms.
  • pnpm typecheck: 38 tasks passed. pnpm lint: passed.
  • pnpm test: 122 files, 1,297 tests passed.
  • Latest CI on aca6661: all eight reported checks passed. CI run.
  • GitHub reports no required checks configured for this branch. The PR is MERGEABLE / CLEAN against tier2/396-supervisor; no new review findings appeared after the push. No merge performed.

Base automatically changed from tier2/396-supervisor to main October 1, 2026 02:25
Implement #397 with replica-local capabilities, a private callback gateway, detached deadline settlement, and attributed invocation records. Keep tier 2 publishing refused.
@allisonmahmood
allisonmahmood force-pushed the tier2/397-invocation-seam branch from aca6661 to 2f85870 Compare October 1, 2026 02:25
@allisonmahmood
allisonmahmood merged commit 6532472 into main Oct 1, 2026
13 of 15 checks passed
@allisonmahmood
allisonmahmood deleted the tier2/397-invocation-seam branch October 1, 2026 02:49
allisonmahmood added a commit that referenced this pull request Oct 2, 2026
allisonmahmood added a commit that referenced this pull request Oct 2, 2026
allisonmahmood added a commit that referenced this pull request Oct 2, 2026
… no accounts (#475)

Building Patchy Cloud was slower and less trustworthy than it should be,
for us and for agents. `pnpm test` took 8 minutes locally and 12.6 in
CI, almost all of it one file. Tests were never typechecked, and 256
errors were hiding there. `main` went red twice this week from a flaky
fleet test. A fresh clone couldn't start `pnpm dev` without Clerk keys.
And an agent had to read a 1,585-line DEVELOPMENT.md before starting
anything.

This makes the checks fast enough to run constantly and honest enough to
believe, puts them behind one command, and lets anyone run the whole
loop with no accounts.

**Faster**
- `cli.test.ts` (732 of the 759 seconds in CI's test job) is split into
eight files along its `describe` blocks, so vitest runs them in
parallel.
- Every vitest run and dev start rebuilt the packed CLI release (~16 s).
It is now reused when nothing it reads has changed: every module-graph
file, the workspace manifests and the lockfile, plus a check that every
output it made is still there.
- `pnpm typecheck` compiles each package once, through its build,
instead of building and then checking again.

**Honest**
- `tsconfig.test.json` typechecks every test and harness file, keeping
Effect's correctness rules and dropping its style rules. Fixing the 256
errors turned up three real test bugs: the dev-resources handlers ran
with `admin` undefined, a RuntimeApi test never sent the header it
claimed to check, and an ESLint test hook did nothing. #474 tracks a
fourth: typed file-route tests never send the file name.
- The fleet flake's cause: the test's clock barrier counted the
replenish loop's 5 s sleep as a lease renewal, so under load fake time
outran the renewal loop until the lease expired. The barrier now waits
for the renewal loop only. Instrumenting it showed two fibers handing
out tokens before the fix and one after.
- Cold PGlite operation tests and packed `patchy dev` starts get budgets
that survive a loaded run.
- pnpm 11.28 links skipped optional platform packages (e.g.
`lightningcss-darwin-x64`) to the workspace root, and the CLI suites'
offline registry was tarring the whole checkout because of it. That
failed whenever another suite wrote into the repo mid-archive. The
registry now accepts a package only when its name matches.
- Migrations come from one record, `apps/server/src/migrations.ts`, for
the server, the dev runner and the test template, with a test that ids
are unique and gap-free. New tests fail when `docs/API.md` or the global
skill's lock hash goes stale. The API.md test already caught #473
leaving it unrendered (same content, new order), so it is re-rendered
here.
- A `flaky` label, and DEVELOPMENT says to check it before treating a
red check as yours.

**One command**
- `pnpm check` runs format, lint, typecheck and the offline tests. `pnpm
verify` adds every acceptance suite CI runs except live Clerk, and
`--changed` skips them for docs-only or runner-only changes. These
replace `test:all`.
- CI now runs the tier 1/2 browser suite as a `browser` job, everything
except the one native-print test, which needs a display. The suite had
never run in CI, and five problems surfaced, all fixed:
- one test had drifted since #429 (Runtime refuses tier 1 `server.call`
with `access_denied`);
- an online-retry test raced the shell's up-to-30-second backoff.
Pinning `Math.random` to the worst case reproduces CI's failure exactly;
the test now steps the page clock;
- the harness proxy piped streams with `pipe`, so a host that died
mid-stream left the browser's stream open and silent forever. A SIGKILL
restart reproduces CI's failure. The proxy now uses `pipeline`, which
resets the stream as real ingress would;
- the harness lost a bind race when another process took its reserved
port. It now relaunches on a fresh port;
- native printing shared a test with unrelated sandbox and download
checks. It has its own `@print` test now, so the rest runs in CI.
- The ruleset is unchanged, so `browser` is not a required check.

**Local loop**
- `pnpm dev` signs people in as dev personas, and `--clerk` opts into
Clerk. Existing instances keep Clerk. Plain instances now listen on
loopback only.
- `pnpm dev shot <person> <path>` writes a full-page PNG of what that
person sees, patch frames included, and prints the status and any
browser errors.
- `pnpm dev up` adopts a running plain instance instead of refusing.

**Docs and skills**
- DEVELOPMENT.md goes from 99 KB to an 18 KB runbook. Running the server
by hand, the execution fleet and the spike deploy move to OPERATIONS.md.
The dev-loop skill goes from 18 KB to 3 KB, and README's "Try it" needs
no Clerk.
- Removed the vendored Clerk skills (billing, orgs, webhooks, custom UI,
setup, router) and the general Neon skill. The repo doesn't use what
they cover, and their descriptions triggered on common words.

| | Before | After |
| --- | --- | --- |
| `pnpm test`, 16-core machine | 498 s, failed on a timeout | ~185 s,
passing |
| `pnpm test` step in CI | 758 s | 580–611 s (a 4-core runner is now
CPU-bound, not waiting on one file) |
| One small test file | 19 s | ~4 s |
| `pnpm typecheck` in CI | 122 s, tests unchecked | 101 s, tests
included |
| `pnpm typecheck`, warm, local | — | 4 s |
| `pnpm dev`, cold | needed Clerk keys | 6 s |

## How it was verified

- On the final head:
  - CI is green on every job.
- Locally, `pnpm check` passes and `pnpm test:browser` passes 53/53. Two
more 53/53 runs were just before the rebase onto Effect 4.0.0.
  - Earlier on the branch, `pnpm verify` ran every suite.
- Fleet: 19/19 tests, plus 15 of 15 runs of the flaky case under
parallel load.
- Each browser flake was reproduced on the old code before its fix:
worst-case jitter, a SIGKILL restart, a blocked port.
- By hand:
- `pnpm dev` with personas, then `pnpm patchy publish`, with `curl`
showing 401 anonymous and 200 as `[email protected]`.
  - `pnpm dev --clerk` refuses on a personas instance.
  - `pnpm dev up` adopts the plain instance and keeps its data.
- `pnpm dev shot jordan /brightline/new-business` captures the tier 2
board with no errors.

## Release impact

- [ ] **Breaking**
- [x] **Not breaking**: development tooling, tests and docs. The server
only moves its migration record into a module; product behaviour is
unchanged.

Follow-ups: making `browser` a required check is a ruleset change for
you.

## Review

GPT 6.1 Sol (codex) reviewed three times.
- **First pass:** five real issues, all fixed:
  - the release cache ignored workspace manifests;
  - a cache hit accepted missing outputs;
- the test tsconfig dropped the base config's Effect correctness rules;
- `verify --changed` skipped suites that share the runner's Postgres
settings;
  - the `@print` tag hid unrelated browser checks.
- **Second pass:** confirmed all five fixes.
- **Third pass:** reviewed the CI-driven fixes and the rebase onto
Effect 4.0.0 and found nothing.

Made by Claude Opus 5.5 via Claude Code; reviewed by GPT 6.1 Sol via
codex.

---------

Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:cli Touches the cli area area:docs Touches the docs area area:integrations Company connections and integration implementations area:primitives Patch tables and files area:server Touches the server area area:ui Portal and first-party browser pages, shared rendering and styles 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(runtime): the invocation seam: admission, the capability, the callback gateway, settlement and invocation rows

1 participant