Skip to content

docs(blog): add bilingual OAR integration architecture post with ByteByteGo vector diagrams - #10257

Open
songoow wants to merge 5 commits into
mainfrom
docs/blog-oar-integration-architecture
Open

songoow wants to merge 5 commits into
mainfrom
docs/blog-oar-integration-architecture

Conversation

@songoow

@songoow songoow commented Dec 6, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Adds a paired bilingual (English & Chinese) engineering blog post under apps/presentation/site/public/blog/ systematically documenting how LoopX integrates @botiverse/oar:

First-screen verification

Chromium captured the local article at a4cad1154 (before) and the source tree of d0c7ae33a6db407fea95a458840d1d3ea9a10345 (after), at device scale factor 1. Both introductions distinguish the 08:20 UTC design review from the subsequent merges of #10241 and #10251.

Viewport Before After
English desktop, 1440 × 900 English article before coordination English article after coordination
Chinese mobile, 390 × 844 Chinese article before coordination Chinese article after coordination

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 — PASS
  • scanPublicBoundary() across new blog articles & SVG assets — PASS (0 findings)
  • Relative link integrity check across both editions — PASS
  • Headless Chrome 2x visual inspection of all 6 SVGs and blog first-screen rendering — PASS
  • Registered Pi Durable with the released @botiverse/oar@0.142.0 SDK and its declared peers. Pi Durable reported in_process, auto and available. The Codex process adapter reported process and isolated.
  • git diff --check — PASS

…or diagrams

Signed-off-by: song <xinxinsong66@gmail.com>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Dec 6, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-12-06T07:02:31.500740Z 278d9a6 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

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 songoow left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

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 songoow left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

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.

This branch has not been deployed

No deployments
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.

2 participants