Skip to content

docs(integration): dylib integration issue tracker#1510

Open
NathanFlurry wants to merge 2 commits into
mainfrom
docs/zid-dylib-integration-tracking
Open

docs(integration): dylib integration issue tracker#1510
NathanFlurry wants to merge 2 commits into
mainfrom
docs/zid-dylib-integration-tracking

Conversation

@NathanFlurry

@NathanFlurry NathanFlurry commented Jun 23, 2026

Copy link
Copy Markdown
Member

Living tracker for the dylib-preview migration — their reported blockers (Q0–Q5) and our agentOS/secure-exec bugs surfaced while investigating. Use this as the single source of truth; individual fix PRs reference the numbered items.

Key finding

Reproduced their exact core-direct pattern and a faithful replay of their actor sequence (create → seed writes → their three createInMemoryFileSystem JS-driver mounts → createSession("pi") with cwd:"/workspace" and cwd:"/") on native linux-x64 with their pinned versions (…815fcda / common@0.3.0-rc.2). Q1–Q4 do not reproduce; createSession("pi") succeeds end-to-end. So their blockers are environment-specific — prime suspects: their custom bundled adapter (the stock agentos-pi adapter works) and Rosetta x86-emulation. Decisive test for them: stock adapter and/or native linux-x64 (Railway prod), not OrbStack/Rosetta.

Contents

  • Their blockers Q0–Q5 with per-item findings/status.
  • Our bugs/gaps (#7–#14): toolKit Zod v3/v4, native-actor silently-dropped config, defaultSoftware ignored by core, no public node_modules-mount helper, no mountFs on the native actor (blocks the proxy pattern), port :6420/:6421 DX, carried-patch audit, and the _resolveModule diagnostics fix (secure-exec PR #114).
  • A copy-paste reproduction recipe.

Doc: docs/integration/zid-dylib-issues.md. This PR is the tracker, not the fixes; merge or keep open as a checklist per team preference.

🤖 Generated with Claude Code

Living tracker for the Zid team's dylib-preview migration: their reported
blockers (Q0-Q5) and our agentOS/secure-exec bugs surfaced while investigating.

Key finding: reproduced their exact pattern + a faithful replay of their actor
sequence on native linux-x64 with their pinned versions (815fcda). Q1-Q4 do NOT
reproduce and createSession("pi") works end-to-end, so their blockers are
environment-specific (custom bundled adapter and/or Rosetta x86-emulation), not
SDK bugs. Tracks the genuine our-side gaps (toolKit Zod v3/v4, native-actor
dropped config, defaultSoftware ignored, node_modules-mount helper, no mountFs on
native actor, port DX, patch audit) and links secure-exec PR #114.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@railway-app railway-app Bot temporarily deployed to agentos / agentos-pr-1510 June 23, 2026 03:05 Destroyed
@railway-app railway-app Bot temporarily deployed to rivet-frontend / agentos-pr-1510 June 23, 2026 03:06 Destroyed
@mintlify

mintlify Bot commented Jun 23, 2026

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
rivet-c4d395ab 🟡 Building Jun 23, 2026, 3:05 AM

💡 Tip: Enable Workflows to automatically generate PRs for you.

…1=node_modules hoist, Q2-4=Rosetta

Bundled their actual adapter.js with their build-adapter.mjs (stub+eval+minify),
swapped over agentos-pi, and ran createSession('pi') on their pinned version: it
reaches session/new and returns a sessionId. Unbundled variant resolves too. So
Q1-Q4 don't reproduce on native even with their code. Q1 root cause is the
node_modules hoist layout (dep not on the /root/node_modules ancestor chain core
mounts); Q2-Q4 point to OrbStack/Rosetta x86-emulation (no native repro).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@railway-app

railway-app Bot commented Jun 23, 2026

Copy link
Copy Markdown

🚅 Deployed to the agentos-pr-1510 environment in agentos

Service Status Web Updated (UTC)
agentos 😴 Sleeping (View Logs) Web Jun 23, 2026 at 3:27 am

🚅 Deployed to the agentos-pr-1510 environment in rivet-frontend

Service Status Web Updated (UTC)
agent-os 😴 Sleeping (View Logs) Jun 23, 2026 at 3:28 am

@NathanFlurry NathanFlurry changed the title docs(integration): Zid dylib integration issue tracker docs(integration): dylib integration issue tracker Jun 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant