Repository navigation
Conversation
… fork features Config threads now carry auto-archive (#8) and question-nudge (#55) status; features carry checkpoints (#65); the persona line is two bytes shorter since the rename (#35); the Store saves through saveBotThread (upstream milind-soni#6198); every live thread is listed (#36); the export row reads Export backup (#33); the workflow tool documents fallbacks (#64); pt-br gets the Chrome update (#38) and frequent-skills (#74) strings; OMB_WORKTREE_* (#54) stays on the server and OMB_GATE_GUARDRAILS_FILE (#67) is a gate setting like its siblings.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
Tests, goldens and one generated file that fork feature PRs left behind now match the merged behaviour. The only product file touched is the box environment allow-list. It gains one name,
OMB_GATE_GUARDRAILS_FILE.server/thread-capacity-api.test.ts,server/parallel-threads.e2e.test.tsGET/PATCH /api/configthreadsnow also expectsautoArchive: true, autoArchiveDays: 5, questionNudge: true, questionNudgeMinutes: 30. The on-diskconfig.jsoncheck is unchanged.server/index.ts:11655spreadsautoArchiveStatus(cfg)(#8,e65c84a76, moved in5c1836057) andquestionNudgeStatus(cfg)(#55,7755cd9f0) into the responseserver/index.test.tsfeaturesexpectscheckpoints: true(3 places). The persona section isbytes: 76.features.checkpointsadded in #65 (29c0e6aef). The rename (#35,e8fc8d7d0) changed "OpenMausBot" to "OpenMyBot" in the expected text but left the byte count at 78.Buffer.byteLengthof the expected text is 76.server/independent-task-store.test.tssaveBotThreadinstead ofsaveBotsSoon92cedf056) replacedsaveBotsSoon()withsaveBotThread(...)incommitBotChange. The spy target no longer existed (The property "saveBotsSoon" is not defined).src/components/Sidebar.folder-show-all.test.ts,src/components/Sidebar.pinned-show-all.dom.test.ts64410f339, merged as0ae53524f) lists every live thread and folds only archived, closed or snoozed ones. The cap is not restored.shared/settings-places.tsnode --experimental-strip-types scripts/gen-settings-places.ts. One row changes: "Export full backup" becomes "Export backup", and the word list gains "essentials backup".3832d73a7) renamed the export rowserver/drivers/agents-catalog-goldens/{full.tools-list.json,profiles.json}UPDATE_AGENTS_CATALOG_GOLDENS=1.full.tools-list.jsonchanges only theworkflowdescription (addsfallbacks:[{instance_id,model,effort}]and the "optional fallbacks, up to 3" sentence).profiles.jsonchanges onlybytes/sha256: 124 lines, no tool names. All profiles stay withinBUDGET_BASELINE.c8c2e2d62)src/locales/pt-br.jsonsettings.browser.chrome*(16) andcomposer.frequentSkills.aria. Placeholders match English (checked with jq).a86f637cd) and #74 (e0d259c04) added English only.i18n.test.tsrequires pt-br to be complete.server/bot-box/env.test.tsOMB_WORKTREE_BASE/BRANCH/PATH/REPOadded toSERVER_ONLY_OMBbed901bd4). The server sets them only for worktree setup commands it runs itself withexecFileAsync, outside any box (server/worktrees.ts:413-427).server/bot-box/env.tsOMB_GATE_GUARDRAILS_FILEadded toBOX_ENV_OMB_NAMES, next to itsOMB_GATE_*siblingsc43c25f47). See the next section.OMB_GATE_GUARDRAILS_FILE(code reading, not a run)env.test.tsasks everyOMB_name to be decided, andOMB_GATE_GUARDRAILS_FILEhad no decision. Its reader is the MCP gate proxy (server/mcp-gate.ts:71). By the test's own rule ("add each toBOX_ENV_OMB_NAMES… if a bot's engine, hook or MCP proxy reads it"), it belongs with the otherOMB_GATE_*names.This is not a runtime fix. From reading the code, guardrails inside a box do not depend on this list today:
server/bot-box/box.ts:137-139, reached fromboxedSpawninserver/procs.ts).gateServerputs the gate settings,OMB_GATE_GUARDRAILS_FILEincluded, in the MCP server spec's ownenv(server/mcp-gate-config.ts:215-236). The engine passes thatenvdirectly when it starts the gate, so it never goes through the box filter:--mcp-config(server/drivers/claude.ts:1140)mcp.jsonfile (server/drivers/pi-mcp-servers.ts:44,server/drivers/pi.ts:448)server/drivers/turn-mcp.ts:49-78OMB_GATE_CONFIG_<sha256>(server/drivers/codex.ts:467), which passes through theOMB_GATE_CONFIG_prefix inBOX_ENV_OMB_PREFIXES.The box runs only on Linux with bubblewrap. No boxed turn was run for this PR.
Why
All 12 files fail on every
mainrun (vitest shards). In each case the feature PR changed behaviour on purpose, and the test, golden or generated file was not updated with it. No test case is deleted. Each assertion keeps checking what it checked before, against current behaviour.How it was verified
macOS, Node v24.22.1 (same major as CI). The same command was run on
main8c67e9d and on this branch:main)thread-capacity-api.test.tsparallel-threads.e2e.test.tsindex.test.tsagents-catalog-wire.test.tsagents-bridge-wire.test.tsSidebar.pinned-show-all.dom.test.tsSidebar.folder-show-all.test.tssettings-places.test.tsbot-box/env.test.tsindependent-task-store.test.tsi18n.test.tsactivity.test.tsTest Files 12 failed (12),Tests 25 failed | 579 passed (604)Test Files 2 failed | 10 passed (12),Tests 2 failed | 602 passed (604)Before the change,
env.test.tslisted the undecided names asOMB_GATE_GUARDRAILS_FILE,OMB_WORKTREE_BASE,OMB_WORKTREE_BRANCH,OMB_WORKTREE_PATH,OMB_WORKTREE_REPO.Other tests that read the same goldens,
pt-br.json, the box allow-list orsettings-placesalso pass:src/locales,cloud-send,server-error,tool-schema-profile,AppMessage.compact,brief-words,app-settings/places(Test Files 22 passed (22),Tests 143 passed | 3 todo (146)).pnpm typecheckexits 0.oxlint --deny-warningson the changed files exits 0. The pre-push hook reportedpre-push: 12 changed file(s) checked in 5.1 s.Failures left after this PR
activity.test.ts"names this app's own tools by an activity.tool key whose English is exactly the label" is fixed by thefix/activity-workflow-tool-labelsPR. feat(workflows): add built-in chat tools for Workflows #52 (4da2845e2, merged as85f60873b) added theworkflow_info,workflowanddelete_workflowtools withoutactivity.tool.*label keys. That is a product gap, not a stale test.i18n.test.ts"is true only for a pack other than English that has every English key" still misses one pt-br key:task.helperGroup("Opened by bots"). Fork feat(sidebar): badge bot-opened threads instead of a separate group #5 (bd8f97e0a) removed this key from every locale along with the "Opened by bots" group. The chore(sync): merge upstream OpenMausBot 0.1.175 #42 conflict resolution brought it back inen.jsonandSidebarThreadRow.tsx:118only. Whether that group stays is an open product decision, so this PR does not translate the key. If the group goes, the key leavesen.json. If it stays, pt-br needs one line.Not covered
pnpm testwas not run locally. The other shard failures onmainhave separate causes and separate PRs.OMB_GATE_GUARDRAILS_FILEreasoning above comes from reading the code.Checklist
pnpm typecheckandpnpm testpass locally: typecheck passes; only the 12 files above (and the 22 related ones) were run, and 2 known cases still fail.env.test.tsdist-server/edits