Repository navigation
Conversation
…or diagrams Signed-off-by: song <xinxinsong66@gmail.com>
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Signed-off-by: song <xinxinsong66@gmail.com>
Signed-off-by: Codex <codex@openai.com> Signed-off-by: song <liusongstep@gmail.com>
Signed-off-by: Codex <codex@openai.com> Signed-off-by: song <liusongstep@gmail.com>
songoow
left a comment
There was a problem hiding this comment.
Reviewer: model_agent · GPT-6 Astra Pro · OpenAI · self_reported
Request changes conclusion (author-owned PR; GitHub blocks formal self-review)
动机 / Motivation
维护者和接入 OAR 的开发者可从双语博客目录进入本文。此前没有这个入口;现在首屏能区分已合入的桥接与直连提案。拓扑与依赖关系更清楚,图 2 的隔离承诺仍需修正。范围为架构说明和展示,未评估线上模型任务效果。图 2 把所有 16 个运行时都画成每个会话独占一个进程,Pi Durable 使用宿主进程内的 SDK。请在中英文图 2 将隔离进程的承诺限定于进程型运行时,并标明已注册的 Pi Durable 使用宿主进程内 Harness。
改动思路 / Approach
文章和配图放在现有双语博客内,审查范围覆盖图文描述的架构边界。 两种语言都沿用既有博客的布局、目录和语言切换,读者可从文章打开对应的完整 SVG。判断已交付功能时,以主干运行时代码和上游已发布包为准。
具体改动 / Changes
关键代码讲解
文章的 section#rollout 正确列出三个独立面向 main 的 PR,以及堆叠在 #10241 上的 #10242。核对了双语目录、图 1 的 OAR 能力边界、图 2 的 Core 宿主与图 3 的 Workbench 提案。规范 docs/development/design.md(e357962f24577c19cf74153572fc9fd65be7487b)的验收项 first-viewport 以真实浏览器首屏检验。
PASS:两项站点 smoke、11 对文章、六张原图与链接、292 处标签边界。图 2 是这组验收之外的语义问题。
对主干的风险 / Risks
P2 · SDK 隔离边界。图 2 把所有 16 个运行时都画成每个会话独占一个进程,Pi Durable 使用宿主进程内的 SDK。调用 registerPiDurableRuntime 配合发布版 @botiverse/oar@0.142.0 的 createPiDurableRuntime,返回 execution=in_process、placement=auto、installation.kind=available。 Core 只在 execution 为 process 时调用 withPlacement("isolated");可选的宿主 Harness 成功注册后走进程内执行。正文限定在进程型运行时,独立打开的架构图却没有这一条件。请在中英文图 2 将隔离进程的承诺限定于进程型运行时,并标明已注册的 Pi Durable 使用宿主进程内 Harness。 英文图 L141 · 中文图 L145
我的整体评价 / Verdict
图 2 把所有 16 个运行时都画成每个会话独占一个进程,Pi Durable 使用宿主进程内的 SDK。请在中英文图 2 将隔离进程的承诺限定于进程型运行时,并标明已注册的 Pi Durable 使用宿主进程内 Harness。英文桌面与中文移动端首屏都能看到已合入的 #9854 和仍在评审的提案。未覆盖其他浏览器、辅助阅读设备或实际用户反馈。 当前不是导航或代码合并冲突,建议修正两份图后复审。FAIL:直接核对真实 SDK 后,图中的隔离边界不成立。
English verdict: REQUEST_CHANGES — a4cad11, bilingual rendering and navigation pass, but the architecture diagrams overstate process isolation for the supported in-process Pi Durable adapter.
Signed-off-by: Codex <codex@openai.com> Signed-off-by: song <liusongstep@gmail.com>
songoow
left a comment
There was a problem hiding this comment.
Reviewer: model_agent · GPT-6 Astra Pro · OpenAI · self_reported
Approval conclusion (author-owned PR; GitHub blocks formal self-approval)
动机 / Motivation
在 Workbench 接入运行时的开发者需要知道一项能力是否已合入,以及 SDK 在哪个进程执行。此前总览图把所有适配器画成独立进程,早先的评审状态也容易被当作当前状态。现在可从两种语言的首屏查到合入状态,从图 2 读到 Pi Durable 的进程边界。文章说明现有设计和提案,本次没有更改任何宿主实现。
改动思路 / Approach
图文留在现有双语博客中,运行方式以 Core 加载器和已发布 SDK 为准。 本文交付架构文档,既有部署、会话授权与 Workbench 配置仍由相应运行时负责。 共享宿主服务负责运行时执行边界,第 1–5 节以当时评审时刻讲设计,第 6 节以合入记录讲交付。读者独立打开两张相关架构图时也能看到快照时点。
具体改动 / Changes
规范 docs/development/design.md(e410b012e67a2fa75ff0056b16ab1362b931764d)的 first-viewport 已通过真实 Chromium 的中英文前后对照。从 GitHub 的合入记录核对 #10241、#10251 已合入;#10242 与 #10244 均以 main 为目标。第 1–5 节与两张架构图注明 08:20 UTC 的评审时点,第 6 节对照 main@e410b012 的交付状态。 图 2 将会话进程限定于进程型运行时,并单列宿主注册的 Pi Durable SDK。 架构图 · 交付状态
对主干的风险 / Risks
使用项目锁定的 @botiverse/oar@0.142.0 及声明的可选依赖实际注册 Pi Durable,并与同版 Codex 适配器对照。SDK Pi Durable 的 execution=in_process、placement=auto,安装回执为 available。Codex 对照结果为 process、isolated。 两张修订图的文案均在画布与对应区域内。
我的整体评价 / Verdict
之前的 P2 已修复。11 对博客入口和双语导航通过,两项站点 smoke 在独立 PR 树以及当前 main 的组合树均通过。 英文桌面和中文手机首屏均可读到两项合入、两项在审,完整架构图清楚区分进程型适配器与 Pi Durable SDK。没有验证屏幕阅读器、其他浏览器或线上模型任务。 当前合并树干净。
English verdict: APPROVE — d0c7ae3, approve. The figures distinguish process adapters from the in-process Pi Durable SDK and clearly date the historical proposals. Current rollout and desktop/mobile reading paths were verified.
Summary
Adds a paired bilingual (English & Chinese) engineering blog post under
apps/presentation/site/public/blog/systematically documenting how LoopX integrates@botiverse/oar:./runtimes/<id>,./observe,./capabilities,./mcp), and five objective boundaries that stay native in LoopX.request_id-multiplexed TS Session Host (session_host_server.ts+session_hub.ts), single fail-closed security gate (session_policy.ts), turn-scoped in-process Control Plane MCP (control_plane_mcp.ts), hardened Python bridge (run_guarded_turn()), SQLite WAL persistence, parent loopback quota bridge forgoal_worker.ts, and the proposed Node24.21.0+/ Desktopv24.23.0sidecar. Process runtimes use isolated session processes. The registered Pi Durable SDK executes inside its host process.#10251), upstreaming 6 PRs (botiverse/oar#1335–#1337,#1341–#1343), single Node 24 floor (#10244), storage hot-path deferral, and objective 4-metric ROI checks.#98543-hopworkbench_oar.pybridge →#10241direct multiplexed NodeOarHostClient+ unifiedOarSessionBackend→#102429-runtime capability parity and sharedOarSessionDriver, plus the 9+7 agent split and rollout after feat(oar): deep OAR fusion — persistent TS session host, host/chat/worker migrations, 16 runtimes, SQLite WAL & Workbench UI (Phase 0–4) #9854 landed onmain. At the 08:20 UTC design review, feat(workbench): add OAR capability parity and consolidate session drivers #10242 was stacked on feat(oar): multiplex session host, direct Node Workbench bridge, and parent quota channel #10241. The later rollout atmain@e410b012includes feat(oar): multiplex session host, direct Node Workbench bridge, and parent quota channel #10241 and refactor(oar): unload OAR patch shell and sunset dual-track legacy code #10251. feat(workbench): add OAR capability parity and consolidate session drivers #10242 and feat(runtime,desktop): unify Node 24.21.0 single baseline and bundle Desktop Node 24 sidecar #10244 remain open againstmain.oar-capability-boundary-{en,zh}.svgloopx-oar-integration-arch-{en,zh}.svgworkbench-oar-evolution-{en,zh}.svgFirst-screen verification
Chromium captured the local article at
a4cad1154(before) and the source tree ofd0c7ae33a6db407fea95a458840d1d3ea9a10345(after), at device scale factor 1. Both introductions distinguish the 08:20 UTC design review from the subsequent merges of #10241 and #10251.The revised figure shows the process-runtime isolation boundary and the host-registered Pi Durable SDK in both languages. English figure · Chinese figure
Verification
node examples/blog-bilingual-index-smoke.mjs— PASS (11 paired articles)python3 examples/frontstage-pages-workflow-smoke.py— PASSscanPublicBoundary()across new blog articles & SVG assets — PASS (0 findings)@botiverse/oar@0.142.0SDK and its declared peers. Pi Durable reportedin_process,autoand available. The Codex process adapter reportedprocessandisolated.git diff --check— PASS