Agentic AI Atlasby a5c.ai
OverviewWikiGraphFor AgentsEdgesSearchWorkspace
/
GitHubDocsDiscord
i.2Wiki
Agentic AI Atlas · Effect baseline (WP-T3-32)
docs/effect-baselinea5c.ai
Search the atlas/
Wiki · linked records

Article and nearby pages

I.Current articlepp. 1 - 1
adapters docsAgent-Adapter ↔ Babysitter IntegrationAgent Layer Gaps — Full Agent StackContributor ReferenceArticlesHarness Assimilation
I.
Wiki article

docs/effect-baseline

Reading · 13 min

Effect baseline (WP-T3-32) reference

Owner document for spec 10 §2 B5 — "one pinned Effect, centrally owned by WP-T3-32; no per-package Effect versions" (docs/specs/platform-gaps/10-t3code-migration.md). Stage 1 (this document, landed 2026-09-28 on phase0/hard-split-registry-guards) puts the pin, the patch mechanism and the register in place before any Effect code is imported (roadmap 50 §6 risk 1). Stage 2 (apps re-platform, engine floors in CI) landed in run C1 (2026-10-09, console/c1-b-protocol) after WP-T3-01; §7 records what it delivered and where.

Page nodewiki/docs/EFFECT-BASELINE.mdNearby pages · 46Documents · 0

Continue reading

Nearby pages in the same section.

adapters docsAgent-Adapter ↔ Babysitter IntegrationAgent Layer Gaps — Full Agent StackContributor ReferenceArticlesHarness AssimilationAtlas Catalog UnificationAtlas Graph ↔ Library Gap ReportBabysitter BlueprintsBabysitter Plugins → Blueprints RenameBabysitter CLI & SDK Examplesa5c Development DocumentationDivergence policy: fabric and the public babysitter repositoryEvil FallbacksGenty Features Backlog: Adversarial Gap Analysisgenty Stack RenamesUsing the Babysitter GitHub ActionUsing Babysitter with Claude Code GitHub ActionsUsing Babysitter with Codex GitHub ActionsUsing Babysitter with Gemini CLI GitHub ActionsHardcoded Harness/Target Gaps — Should Be Derived from Atlas GraphHarness Features Backlog: Gap Analysis (Restructured)Here Be Dragons — Babysitter MonorepoHermes Agent Deep ResearchPackage and Plugin Docs MapAgent PluginsProof-Based Policy EnforcementProof-Based Policy EnforcementReferenceReference ReposRelease incident record — stale `latest` dist-tags (2026-08-13)Continuous Release PipelineRelease readiness — `staging` → `main`Release recovery runbook — candidate publish, published-consumer validation, channel promotionRelease runbook — private train to Artifact RegistryRepositories Using BabysitterBabysitter Run History InsightsSupermemory Deep ResearchTesting StrategyThird-party noticesUpstream intake: cherry-picking public fixes into fabricBabysitter User GuideBabysitter v6: The Orchestration Platform Goes Universala5c.ai V6 Spec And RoadmapVersioningWorkspace Validation Map

Effect baseline (WP-T3-32)

Owner document for spec 10 §2 **B5** — "one pinned Effect, centrally owned by WP-T3-32; no per-package Effect versions" (docs/specs/platform-gaps/10-t3code-migration.md). Stage 1 (this document, landed 2026-09-28 on phase0/hard-split-registry-guards) puts the pin, the patch mechanism and the register in place **before any Effect code is imported** (roadmap 50 §6 risk 1). Stage 2 (apps re-platform, engine floors in CI) landed in run C1 (2026-10-09, console/c1-b-protocol) after WP-T3-01; §7 records what it delivered and where.

1. The pin

PackageVersionMechanism
effect4.0.0-rc.115root package.json overrides.effect (npm's workspace-wide pin) + root devDependencies.effect so the version is resolved in package-lock.json even while no workspace imports it
@effect/vitest4.0.0-rc.115root overrides["@effect/vitest"] + root devDependencies (pinned, installed **unpatched** — §3)
patch-package8.0.1root devDependencies; postinstall: patch-package --error-on-fail --patch-dir patches/workspace
@effect/platform-node-shared4.0.0-rc.115root overrides + exact devDependencies of @fabricstack/acp (added in C1, WP-T3-03). @effect/platform-node@4.0.0-rc.115 declares it as ^4.0.0-rc.115, which floats to the stable 4.0.2, which in turn imports effect/dist/process/* that rc.115 lacks. The override keeps the platform layer on the pinned line.

Root devDependencies is where this repository keeps shared dev tooling (vitest, @vitest/coverage-v8, docusaurus, markdownlint-cli2), and no @fabricstack/* unit exists yet to own the dependency, so the pin lives at the root rather than in a dedicated workspace (which would also have needed a spec 15 §3.3 name). When the tracked forks land (WP-T3-01…04), each declares "effect": "4.0.0-rc.115" verbatim; scripts/ci/effect-baseline.test.mjs rejects any other spec (range, caret, different version) in any workspace manifest, and any @effect/* package that is not an exact version.

**Pin owner:** fabric maintainers (Tal). Spec 10 assigns B5 to WP-T3-32 as a work package and names no person; the owner acts through WP-T3-32 (stage 1 here, stage 2 later) and carries the §4 rc→stable watch item into the WP-RM-02 cadence register (docs/specs/platform-gaps/50-roadmap-workpackages.md "WP-RM-02" AC3 lists "the Effect rc→stable watch item with its trigger criteria from docs/EFFECT-BASELINE.md").

**Enforced by** npm run test:effect-baseline (13 node:test cases, CI test job right after npm ci): one exact version in overrides mirrored in devDependencies; npm ls effect --all --json and npm ls @effect/vitest --all --json each resolve exactly one version equal to the pin; no per-package versions; the patch is applied (§2) and @effect/vitest is unpatched (§3); the inventory and this document carry what the spec requires.

2. Patch provenance

Upstream projectT3 Code (t3code), **T3 Tools Inc., MIT** (intent D15). Attribution: third_party/t3code-patches/LICENSE + PATCHES.md.
Snapshotcommit de251fc2971a884cb5b1305ba4daf309dc8cccb0 (read-only reference; never imported wholesale)
Upstream filepatches/effect@4.0.0-rc.115.patch, wired by pnpm-workspace.yaml patchedDependencies effect@4.0.0-rc.115
Fabric filepatches/workspace/effect+4.0.0-rc.115.patch (patch-package naming)
Portpath prefixes only — a/<file> → a/node_modules/effect/<file> on the diff --git, ---, +++ lines; hunk bodies byte-identical to upstream (verified by diff of the non-header lines at port time)
Applied bypostinstall: patch-package --error-on-fail — a patch that no longer applies fails the install instead of being skipped

What the patch changes (5 files, 23 hunks) and how each is pinned by the regression test:

AreaHunksBehaviourRegression assertion
dist/unstable/rpc/RpcClient.js + .d.ts17 + 2New RequestHooks service (effect/rpc/RpcClient/RequestHooks) with onRequestStart/onRequestChunk/onRequestExit/onRequestInterrupt, threaded through makeNoSerialization; ConnectionHooks gains onPing/onPong/onPingTimeout; the socket pinger tolerates three missed pongs before it times out and onPong becomes an Effectimport('effect/unstable/rpc/RpcClient') → RequestHooks is a service class with that key, and the .d.ts declares it (public surface). The pinger internals are pinned on the patched source text (fallback, marked in the test).
dist/unstable/http/HttpClientResponse.js + src/…/HttpClientResponse.ts1 + 1cookies reads headers.getSetCookie?.() ?? [] so a response whose headers is not a web Headers no longer throwsHttpClientResponse.fromWeb(req, { status, headers: {…} }).cookies is empty instead of a TypeError; a real Response still parses Set-Cookie (control).
dist/unstable/ai/McpServer.js2HTTP DELETE <path> ends the MCP session (400 without the session header, 404 unknown, 204 deleted) instead of the 405 the stock layerHttp returnedPinned on the patched source text (fallback: needs an HttpRouter + RpcServer protocol stack to exercise).

The patch file is additionally parsed with patch-package's own parser (5 files, the hunk counts above) and re-applied with --error-on-fail inside the test, so a corrupted or pnpm-named file is caught, not ignored.

The 22 other upstream patches are inventoried with a decision each in docs/specs/platform-gaps/phase0/t3code-patches-inventory.md (1 ported, 1 dropped as toolchain-only, **17** dropped as mobile-only — not the 19 the WP brief assumed, because @legendapp/list and @pierre/diffs are also consumed by t3:apps/web — and 4 deferred to the WPs that land their consumers).

3. `@effect/vitest`: pinned, deliberately unpatched

The upstream @effect__vitest@4.0.0-rc.115.patch has exactly one effect: every import … from "vitest" / export * from "vitest" in dist/ and src/ becomes vite-plus/test, so the package runs under Voidzero's private vite-plus test runner. Spec 10 §2 excludes vite-plus and WP-T3-32 stage 2 re-platforms on stock vitest, under which the *unpatched* package's vitest imports are exactly what is wanted. Porting the patch would make the package import a module fabric does not install. Decision: **DROPPED-toolchain**; the test asserts the installed dist/index.js, dist/internal/internal.js and dist/utils.js import vitest and never vite-plus, and that no @effect+vitest*.patch exists.

**Stage 2 decision (C1, 2026-10-09): vitest 5.0.x.** @effect/vitest@4.0.0-rc.115 declares peerDependencies.vitest: ">=5.0.0 <6.0.0"; stage 1 left fabric on vitest 4.1.6, so the package was pinned but not usable as a harness. Stage 2 moves the whole workspace to vitest 5.0.x: root devDependencies vitest/@vitest/coverage-v8 5.0.3, every workspace manifest ~5.0.3 (5.0.x only). This satisfies the peer range, so @effect/vitest runs unpatched under stock vitest. The upstream suites pass on it: the C1 spike ran 3,136 tests, and the sandbox job runs the contracts, acp, shared and client-runtime suites (research/c1-toolchain-feasibility.md, "Recommendations" 4). vitest 5 removed the file-level bench() and describe.sequential. The 2 bench files and 3 describe.sequential sites in the snapshot are ported by scripts/t3code-snapshot/vitest5-ports.mjs, which fails loudly when the snapshot drifts. The units carry the ports into their own UPSTREAM.json when they land.

4. Unstable-namespace usage register

Research R2 §15 / §18.12 item 3: adopting the server, contracts and the protocol forks means adopting effect/unstable/{rpc,sql,process,cli,http} — namespaces the Effect team may still rename or reshape before 4.0.0 stable. Counts are non-test-excluded *.ts/*.tsx files importing the namespace in the t3code snapshot (grep -rl), by workspace; "fabric unit" is the spec 15 §3.3 name the code lands under.

Namespacet3code usage at the snapshot (files)Fabric units that will use it (landing WP)Used in fabric todayOwnerTransition criterion (rc→stable)
effect/unstable/rpcserver 7, effect-acp 6, client-runtime 6, contracts 1, relay 1, mobile 1@fabricstack/contracts (WP-T3-02), @fabricstack/acp (WP-T3-03), @fabricstack/codex-protocol (WP-T3-04), @fabricstack/client-runtime (WP-T3-24), @fabricstack/environment (WP-T3-19), @fabricstack/relay (WP-T3-31)nonefabric maintainers (Tal)Rpc/RpcGroup/RpcClient/RpcServer published outside unstable/ (or documented as final), and the RequestHooks behaviour of §2 either upstream or re-ported; the 144-Rpc.make contracts surface (R2 §18.12 item 4) compiles unchanged or with a mechanical codemod
effect/unstable/sqlserver 118, desktop 6, shared 2, relay 1@fabricstack/environment (WP-T3-19: the node:sqlite Effect SQL client, t3:packages/shared/src/nodeSqliteClient.ts), @fabricstack/relay (WP-T3-31: @effect/sql-pg)nonefabric maintainers (Tal)SqlClient/SqlSchema/migrator stable; the event-sourced persistence (decider/projector commit in one transaction — R2 §18.12 item 5) replays a captured event log unchanged across the bump
effect/unstable/processserver 97, desktop 23, codex-app-server 6, effect-acp 6, ssh 5, tailscale 2, shared 2, scripts 19@fabricstack/environment (WP-T3-19; provider spawns for the ACP/Codex lanes WP-T3-06…13), @fabricstack/acp / @fabricstack/codex-protocol (WP-T3-03/04 client spawners), @fabricstack/ssh (WP-T3-28), @fabricstack/tailscale (WP-T3-29), @fabricstack/console-desktop (WP-T3-26)nonefabric maintainers (Tal)ChildProcessSpawner/ChildProcess stable with the same spawn/stdio/kill semantics; the ACP mock-agent protocol tests (spec 30 Q-07) green
effect/unstable/cliserver 26, effect-acp 1, scripts 16@fabricstack/environment (WP-T3-19: the environment-server bin is an effect/unstable/cli Command tree, t3:apps/server/src/bin.ts); build scripts if adopted by spec 40nonefabric maintainers (Tal)Command/Flag/Argument stable; the environment-server subcommand tree and --help output golden-tested before and after
effect/unstable/httpserver 94, relay 14, client-runtime 13, desktop 13, web 10, shared 6, contracts 5, mobile 5, ssh 2, tailscale 1, codex-app-server 1, effect-acp 1, scripts 5@fabricstack/environment (WP-T3-19: HTTP + WS via Effect platform, t3:apps/server/src/{http,ws}.ts), @fabricstack/relay (WP-T3-31), @fabricstack/client-runtime (WP-T3-24), @fabricstack/contracts (WP-T3-02: environmentHttp.ts HttpApi groups), @fabricstack/console-web/console-desktop (WP-T3-25/26), @fabricstack/ssh/tailscale (WP-T3-28/29)nonefabric maintainers (Tal)HttpClient/HttpRouter/HttpServer/HttpApi stable; the getSetCookie fallback of §2 upstream or unnecessary; DPoP/pairing auth (WP-T3-30) conformance suite green
Watch: other unstable/* seen in the snapshotreactivity 218, httpapi 36, observability 14, socket 11, ai 9 (the MCP server patch of §2 lives here), persistence 6, net 4, encoding 3, arbitrary 1added to this table when the landing WP first imports themnonefabric maintainers (Tal)same rule: no namespace is imported by a fabric unit before it has a row here

**rc→stable watch item** (standing WP-RM-02 cadence-register entry; owner as above). The pin moves from 4.0.0-rc.115 to a stable 4.x only when all of the following hold, and only via the §6 playbook:

1. npm view effect dist-tags.latest is a non-prerelease 4.x, and its changelog covers every unstable/* namespace in the table (graduated, renamed with a codemod, or explicitly kept unstable with a stability promise). 2. The three patched behaviours of §2 are either in the stable release, re-ported as a new patches/workspace/effect+<version>.patch with the regression test updated, or dropped with a written reason in the inventory. 3. @effect/vitest has a matching stable release whose vitest peer range includes the vitest fabric runs after stage 2. 4. Every tracked fork (contracts, acp, codex-protocol, ssh, tailscale) and apps/environment compiles and tests on the candidate (the stage-2 build matrix, AC3). 5. npm run test:effect-baseline is green on the candidate (singleton, no per-package versions, patch state as decided).

Until then the pin is exact everywhere: no ^, ~ or latest for effect or @effect/* in any manifest (the test rejects them).

**Generator toolchains (isolated, never in the workspace).** One case needs a *different* Effect version, and only to reproduce committed generated code. The ACP schemas of @fabricstack/acp were generated upstream with effect@4.0.0-beta.45, and upstream's generator at the pin fails under rc.115 (packages/acp/UPSTREAM.json generator.findingAtPin). packages/acp/scripts/regenerate.mjs therefore installs packages/acp/scripts/generator-toolchain/toolchain.json into an OS temp directory, outside the npm workspace, and deletes it afterwards. That version never appears in package-lock.json or npm ls effect, so the singleton tests above are unaffected. A tracked-fork pull that regenerates upstream on the pinned line retires the toolchain.

5. Node floors (stage 2: encoded and enforced)

FloorValueApplies toReasonEnforced by
workspace**>=22.19.0**root engines.node; every t3code-derived unit (third-party-licenses.config.json fabricUnits with a directory) and every manifest depending on @effect/platform-node@effect/platform-node@4.0.0-rc.115 depends on undici ^8.10.2, whose engines is >=22.19.0 (research/c1-toolchain-feasibility.md "Answers" 4). This supersedes the spec's earlier ≥22.16 (t3:apps/server declares `^22.16 \\
web-test**>=22.22.2**jobs that run the console-web testsjsdom@30 declares `^22.22.2 \\
node:sqlite≥22.5 (StatementSync.columns() needs ≥22.16)environment servert3:packages/shared/src/nodeSqliteClient.tssubsumed by the workspace floor
SEA build host≥25.7spec 40 P-03 / WP-PKG-03 only"SEA build requires Node 25.7+ host" (R2 §15)never the workspace floor (spec 40 §1.4)

Existing published packages keep their own engines (>=18…>=22.13): the floor is raised only where the Effect platform stack is pulled, so no consumer contract changes. No Node 24 is pinned in CI.

6. Upgrade playbook

1. **Decide** under §4 (rc→rc bumps need only items 2 and 5; rc→stable needs all five). Record the decision in a new section of docs/specs/platform-gaps/phase0/effect-baseline.md (or its successor record). 2. **Move the pin in one place per package**: root package.json overrides.effect and devDependencies.effect (same string), likewise @effect/vitest; every workspace manifest that declares effect (verbatim copies of the same string — the test enforces it). 3. **Re-port the patch**: git mv patches/workspace/effect+<old>.patch patches/workspace/effect+<new>.patch; npm install --legacy-peer-deps (CI's flags); if patch-package --error-on-fail rejects a hunk, open node_modules/effect/... at the rejected site, decide per hunk (upstream already has it → drop the hunk; drifted → re-apply by hand), then regenerate with npx patch-package effect --patch-dir patches/workspace and diff the result against the old file hunk by hunk. Never delete package-lock.json to "fix" an install. 4. **Update the regression test** for any hunk whose behaviour changed (scripts/ci/effect-baseline.test.mjs: EXPECTED_PATCH_FILES hunk counts and the behaviour assertions) and the tables in §2 and third_party/t3code-patches/PATCHES.md. 5. **Prove**: npm run test:effect-baseline; npm ls effect --all shows one version; the stage-2 build matrix (tracked forks + apps/environment) once it exists; node scripts/ci/publish-isolation-guard.cjs --self-test and npm run guard:packages unaffected. 6. **Refresh the inventory** if the t3code snapshot moved (t3code-patches-inventory.md: new upstream patch list, decisions re-checked) and the attribution record's snapshot SHA. 7. **Commit** with the pin in the subject (build(effect): bump pin to effect@<version>, re-port patch) and push; the CI test job runs the baseline after npm ci.

7. Stage 2 — delivered in run C1 (WP-T3-32 stage 2)

ACDeliveredEvidence
AC3 tracked forks + environment compile and test@fabricstack/contracts and @fabricstack/acp build with plain tsc (TypeScript 7.0.2) and test on vitest 5 in the workspace (CI contracts job). The snapshot server, which stands in for apps/environment until WP-T3-19, typechecks on TS 7.0.2 in the sandbox.t3code-snapshot-toolchain "TypeScript 7.0.2 typecheck" and "vitest 5 suites" steps
AC4 console-web on stock Vite, no @voidzero-dev/*the snapshot web tree builds with stock vite@8.3.4t3code-snapshot-toolchain grep gate plus "console-web production build"
AC5 floors enforced, sub-floor run fails§5CI engine-floors (negative legs 22.18.0 and 22.22.1)
AC7 vitest 5.0.x§3manifests; the ported sites run in t3code-snapshot-toolchain
AC8 vp pack replacementscripts/build-environment-bundle.mjs (rolldown JS API, the same externals list as upstream) bundles the server. scripts/t3code-snapshot/environment-smoke.mjs checks four things: --help, a fresh database migrated, GET /.well-known/fabric/environment 200, and the upstream route not served.t3code-snapshot-toolchain "Environment bundle" step
AC9 router pins@tanstack/router-plugin@1.168.13, @tanstack/react-router@1.170.10 (+ router-core@1.171.8, router-generator@1.167.12), the upstream lock versions, recorded in scripts/t3code-snapshot/snapshot-build.json until WP-T3-25 moves them into apps/console-web/UPSTREAM.json"Router pins" step
Patches@ff-labs/fff-node@0.9.4, @legendapp/list@3.3.5 and @pierre/diffs@1.3.0-beta.10 are ported with path prefixes only. A patch stays in patches/units/ until the PR that lands its consumer moves it to patches/workspace/: WP-T3-25 (C3) moved the two console-web patches; @ff-labs/fff-node stays in patches/units/. The root postinstall reads patches/workspace/ because patch-package walks a patch directory recursively and fails on an absent package. The sandbox applies both directories with --error-on-fail. dbus-next stays with WP-T3-26.effect-baseline.test.mjs "unit patches"; sandbox install step

The apps/console-web, apps/console-desktop and apps/environment configs land with their WPs (T3-25, T3-26, T3-19). Each one starts from the sandbox's materialized config.

8. Files

PathRole
package.json (root)overrides, devDependencies (vitest 5.0.3), engines (>=22.19.0), postinstall (--patch-dir patches/workspace), test:effect-baseline
patches/workspace/*.patch, patches/units/*.patch, patches/README.mdthe ported patches and the directory's rules
scripts/ci/check-engine-floors.cjs, scripts/__tests__/engine-floors.test.mjs§5 floors (CI engine-floors)
scripts/t3code-snapshot/, scripts/build-environment-bundle.mjsthe stage-2 sandbox build, vitest 5 ports and environment bundle (CI t3code-snapshot-toolchain)
scripts/ci/effect-baseline.test.mjssingleton, per-package-version, patch-regression, patch-file, @effect/vitest, inventory, doc and CI-wiring tests
.github/workflows/ci.ymltest job step "Effect baseline (single pin, patch regression, inventory)"
docs/specs/platform-gaps/phase0/t3code-patches-inventory.mdthe 23 upstream patches with decisions
docs/specs/platform-gaps/phase0/effect-baseline.mdexecution record of stage 1
third_party/t3code-patches/MIT attribution and provenance (D15)

Trail

Wiki
Babysitter Docs

Effect baseline (WP-T3-32)

Continue reading

adapters docs
Agent-Adapter ↔ Babysitter Integration
Agent Layer Gaps — Full Agent Stack
Contributor Reference
Articles
Harness Assimilation
Atlas Catalog Unification
Atlas Graph ↔ Library Gap Report

Page record

Open node ledger

wiki/docs/EFFECT-BASELINE.md

Documents

No documented graph nodes on this page.