Repository navigation
feat(oar): sessions.sqlite WAL storage, in-process MCP write tools, and Dashboard OAR UI - #10098
Conversation
… and Dashboard OAR observe/brands/forms 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. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 72589f4fd8
ℹ️ 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
…rd configuration and status Keep SQLite session identity, legacy history and steering receipts intact. Report only the effective MCP write grant. Bind Dashboard reads to their selected conversation, expose native Grok creation settings and cover the new path in Chromium. Signed-off-by: Codex <codex@openai.com>
|
This pull request has merge conflicts with Choose the remote for the base repository, not an out-of-date fork. git fetch upstream
git rebase upstream/codex/oar-deep-fusion-phase4-runtimes
# Resolve each conflict, git add the resolved files, then git rebase --continue.
git push --force-with-lease origin HEADFor a same-repository clone whose Keep the DCO |
…scovery Read archived events beyond the live ring and record session disposal before unsubscribing. Accept archives from the production Chat writer and preserve their native thread binding across same-key resume. Resolve the selected workspace for model discovery and exercise both Goal and workspace selection in Chromium. Integrate reviewed upstream runtime changes. Signed-off-by: Codex <codex@openai.com>
…stack Use minimatch 11.0.10 for the Dashboard Pi coding agent and retain the verified Workbench pin and DSH recovery tests from the base branch. Clean installs resolve the patched package without changing security-check configuration. Signed-off-by: Codex <codex@openai.com>
…n-phase4-storage-ui Signed-off-by: song <xinxinsong66@gmail.com>
|
This pull request has merge conflicts with Choose the remote for the base repository, not an out-of-date fork. git fetch upstream
git rebase upstream/codex/oar-deep-fusion-phase4-runtimes
# Resolve each conflict, git add the resolved files, then git rebase --continue.
git push --force-with-lease origin HEADFor a same-repository clone whose Keep the DCO |
…0 in Dashboard, and isolate PATH in runtime-readiness-live Signed-off-by: song <xinxinsong66@gmail.com>
…eep-fusion-phase4-storage-ui Signed-off-by: song <xinxinsong66@gmail.com>
|
Updated Fixes Included
Verification & Gate Status
cc @loopx-agent @huangruiteng @maxliux5 — ready for review in stack order (#9854 → #9861 → #9866 → #10097 → #10098). |
…eep-fusion-phase4-storage-ui Signed-off-by: song <xinxinsong66@gmail.com>
826b149
into
codex/oar-deep-fusion-phase4-runtimes
Summary
Completes the storage, in-process control-plane MCP write tooling, and browser-safe Dashboard UI fusion on top of #10097 (
codex/oar-deep-fusion-phase4-runtimes):Independent
sessions.sqliteWAL Store + Dual-Read Legacy JSONL Compatibilityloopx/control_plane/oar/session_sqlite_store.ts(OarSessionSqliteStore), strictly isolated fromauthority-*.sqliteso SQLite Authority v2 commit proof chains and migrations remain untouched.oar_sessions, redactedoar_records, andoar_steering_reservationsin WAL mode with0700/0600private permissions andbusy_timeout=5000.readSessionWithLegacyFallback()(Dual-Read from~/.loopx/chat/sessions/<id>/session.json+messages.jsonl, fail-closed against path traversal) andimportLegacySessionMetadata()(Single-Write upgrade).OarSessionSqliteStoreintoOarSessionHub,session_host_server.ts(LOOPX_OAR_SESSIONS_DB,LOOPX_OAR_LEGACY_CHAT_SESSIONS_DIR,oar.list_persisted_sessions,oar.read_persisted_session, cold readback inoar.read_records), and PythonOarSessionClient(sessions_db_path,legacy_chat_sessions_dir,list_persisted_sessions,read_persisted_session).Grant-Gated In-Process Control Plane MCP Write Tools
LoopxControlPlaneMcpBridge(loopx/control_plane/oar/control_plane_mcp.ts) with 3 write tools calling canonical TypeScript authority reducers directly in-process overSqliteAuthorityStore:loopx_authority_claim_todo->executeCoordinationTodoClaimloopx_authority_acquire_task_lease->executeCanonicalTaskLeaseAcquireloopx_authority_settle_todo_terminal->executeCoordinationTodoTerminalLifecyclegrant.allowWrite === true(turn_write_not_permittedon read-only grants) and active grant / revocation checks before and during commit (turn_capability_grant_revoked).Dashboard Browser-Safe
@botiverse/oarAdoption@botiverse/oar@0.142.0toapps/presentation/dashboard/package.json(package-lock.jsonresolved strictly fromhttps://registry.npmjs.org/).apps/presentation/dashboard/src/data/oar-observe.tsimporting ONLY browser-safe subpaths (@botiverse/oar/observe,@botiverse/oar/brands,@botiverse/oar/forms,@botiverse/oar/browser) with zero Node built-ins: purereduceOarRecordsToView, offline SVG icons for all 16 OAR runtimes in light/dark themes, declarative runtime config forms,classifyTool/toolActionLabel, andformatOarTurnFailure.apps/presentation/dashboard/src/features/personal-workspace/agent-family.tswith all OAR runtime roots andoar_runtimegeneric adapter classification.npm run smoke:oar-observe(apps/presentation/dashboard/smoke/oar-observe-smoke.ts).Stacked PR Order
#9854(codex/oar-deep-fusion-phase0-1->main)#9861(codex/oar-deep-fusion-phase2->codex/oar-deep-fusion-phase0-1)#9866(codex/oar-deep-fusion-phase3->codex/oar-deep-fusion-phase2)#10097(codex/oar-deep-fusion-phase4-runtimes->codex/oar-deep-fusion-phase3)codex/oar-deep-fusion-phase4-storage-ui->codex/oar-deep-fusion-phase4-runtimes)Verification
npm run typecheck:control-plane— 0 errorsnode --experimental-sqlite --experimental-strip-types --test tests/control_plane_ts/oar_session_sqlite_store.test.ts tests/control_plane_ts/oar_session_hub.test.ts tests/control_plane_ts/oar_goal_worker.test.ts tests/control_plane_ts/tsconfig_coverage.test.ts— 23/23 passedapps/presentation/dashboard:npx tsc --noEmit,npm run smoke:oar-observe,npm run smoke:agent-family,npx vite build— all passed (0 Node built-ins bundled)PYTHONPATH="$PWD" python -m pytest -q tests/control_plane/test_oar_phase4_storage.py tests/control_plane/test_oar_phase4_runtimes.py tests/control_plane/test_oar_session_client.py tests/test_public_package_lock_boundary.py— 19/19 passedruff(E4,E7,E9,F,external-request-lint.toml,external-transport-lint.toml),node scripts/ci/lint-external-transports.mjs,scripts/check_rfc_bilingual.py, andloopx.cli checkpublic boundary scan (12 files) — all clean