Repository navigation
Upstream sync blocked #31
Copy link
Copy link
Open
Labels
Description
Daily M1 sync 2026-10-26 (automation run 41): VERIFIED INSTALLED AND PUSHED (runtime restart pending).
- upstream origin/main: b759a95 (247 commits not in fork)
- previous fork/main: 83fb74d
- merge candidate = pushed fork/main: d16fb92 (parents 83fb74d, b759a95)
- conflicts: 66 files, mostly upstream's comment audit ([comment audit] Complete repository-wide comment cleanup stablyai/orca#33249). Each was resolved by reading both sides. Code-level combinations: upstream held-batch pointer delivery (fix(orchestration): wake an agent for new mail even while it still holds an unacknowledged batch stablyai/orca#33639) kept alongside the fork's queued/injected outcome; the held-batch lookup now spans every outstanding typed delivery (fork schema v44); worker-start keeps the fork's refuse-to-guess coordinator, with upstream's test adapted; monitored-work rows stay out of upstream's Claude agent-view highlight and click.
- review: an independent reviewer returned CHANGES REQUIRED (3 major, 1 nit). All were fixed, with a new mutation-checked held-batch test, and re-review APPROVED. Max-lines splits made for the pre-commit hook (claude-profile-host-pointer.ts, use-project-group-settings-dialog.ts, orchestration publication wire names) were also APPROVED. The hook ran; no --no-verify.
- gates: pnpm install:release 0, mobile frozen install 0, the only lockfile drift was the allowed @pnpm/exe entry, pnpm tc 0, changed-code quality since upstream 0 new findings across 620 files, bundled-skill-guides and manifest verify 0. Tests: src/cli 189/189 files, conflict and affected suites green, mobile 4 files / 63 tests.
- known non-merge failures:
- claude-bound-home-usage.test.ts fails to load under Bun (D9 createRequire chain, identical on fork HEAD).
- Default CLI vitest can't find @electron-toolkit tsconfig because this worktree is nested inside another checkout. It passes with oxc tsconfig pinned to config/tsconfig.cli.json.
- client-recovery socket tests need TMPDIR short enough for the 104-char macOS socket path limit.
- install: m1-build-install.sh exit 0. /Applications/Orca.app 1.4.241-local.1793002139451.d16fb92720f7; codesign --verify --deep --strict OK; TeamIdentifier N59WC8BU7V; arm64; orca-local-build.json commit d16fb92.
- publish: fork/main re-fetched (83fb74d) and proven an ancestor;
git push fork HEAD:refs/heads/main83fb74d..d16fb92, no force; ls-remote = d16fb92. - note: the pnpm 12.8.1 path in the automation prompt is stale; packageManager and the binary used are pnpm 12.14.0.
Activity
DoozyX commentedon Oct 17, 2026
M1 daily sync 2026-10-17 (automation run 30) — FAILED/INCONCLUSIVE: merge conflicts need a decision
a420b63cff8a0ff20096cd20fa62f4503efbd587, origin/mainc3f52428dd82cf2c82aaffcff6716dcf15123f13(444 upstream commits ahead of base24bec2d260)./Users/skletnikov/DoozyX/tools/orca/.worktrees/orca/m1-daily-upstream-sync(branchDoozyX/m1-daily-upstream-sync, fast-forwarded to fork/main).git merge --no-ff --no-commit c3f52428dd→ exit 1, 24 conflicted files; only generatedsrc/cli/bundled-skill-guides.tsresolved (regenerated,--checkexit 0). Merge is left in progress (MERGE_HEAD present) for the reviewer.src/shared/sidebar-list/, changedwithClaudeProfileTerminalEnv/ Claude conversation-store shapes and the status-bar usage hook; fork features (cross-host project groups, Claude bound homes, account usage roster) sit on the old shapes and need a real port, not an ours/theirs pick.orca status)./Users/skletnikov/DoozyX/tools/orca/.orca/2026-10-17-m1-daily-sync/(conflict-ledger.md, unresolved-files.txt, owner.json, merge.log).DoozyX commentedon Oct 17, 2026
M1 daily sync 2026-10-17 (automation run 31, id b84c0094-75b4-457c-9621-bad6e3fd77a9) — INCONCLUSIVE: install blocked by resource contention
13e53049ce6becbb78fe63eff6eb1b3fac02561a, origin/main90c1c0ac500080b72d6a3a73f4ce3523695424b5(bothgit fetchexit 0, ls-remote agrees).DoozyX/m1-daily-upstream-syncHEAD == fork/main; origin/main is already an ancestor of it (the run-30 conflicts were resolved and published earlier). Nothing to merge or push.1.4.227-local.1792126350508.9365ecc75f5f(commit 9365ecc, arm64, TeamIdentifier N59WC8BU7V, codesign --verify exit 0); the candidate is 13e5304. Running runtime (orca status): 1.4.224-local.1791963843579.f5c47f24bac5 — restart also pending.ci-with-host-lease m1-heavy -- pnpm -r test, doozyx-apps vitest runners, load avg ~11). Waited ~8 min, still busy; per policy no concurrent heavy build was started and nothing was killed.DoozyX commentedon Oct 17, 2026
Mac local sync 2026-10-17 13:27 CEST: SKIP (dirty checkout)
Root checkout
main, no merge or rebase in progress. START HEAD58c43e5b022b1c10f77f5cc59452d1bab4e68444.Pinned fork/main
58c43e5b022b1c10f77f5cc59452d1bab4e68444(fetch exit 0, ls-remote agrees). No incoming commits. Docs commit8b786109c4is preserved.Skip reason: two untracked files in the checkout:
mobile/src/components/pr-sidebar/mermaid-webview-engine.generated.tsmobile/src/components/rich-markdown-editor-document-script.generated.tsBoth are leftovers from the 2026-10-16 07:03 build. Upstream 86f6258 (refactor(mobile): delete native screens the OTA shell no longer reaches stablyai/orca#29979) dropped both names from
mobile/.gitignore, and the merge that brought main up to 58c43e5 made them show as untracked. The job never cleans the shared checkout, so they are still there.Install custody is stale: the receipt is for
9450bf4802e4, HEAD is58c43e5b02. A rebuild and install are needed after the checkout is clean.Installed and running build:
1.4.227-local.1792127058668.9450bf4802e4.Not done: install:release, tc, build, app install, push, restart. Status: INSTALLED_RESTART_DEFERRED.
Unblock: delete the two files above, then rerun the sync.
DoozyX commentedon Oct 17, 2026
Mac local sync 2026-10-17 13:37 CEST: SKIP (dirty checkout)
main, no merge, rebase or cherry-pick in progress. START HEAD245d07c6a253ad3247ec2aae38a454868a6603f8.245d07c6a253ad3247ec2aae38a454868a6603f8(fetch exit 0, ls-remote agrees). No incoming commits. Docs commit8b786109c4is preserved.mobile/src/components/pr-sidebar/mermaid-webview-engine.generated.tsmobile/src/components/rich-markdown-editor-document-script.generated.ts1.4.229-local.1792236936342.245d07c6a253(buildId…-245d07c6a253-arm64, arm64). Another session installed it at about 13:36 from.worktrees/laptop-main-merge, not this job.codesign --verify --deep --strictexits 0, TeamIdentifierN59WC8BU7V, and the designated requirement is unchanged. The installed app.asar761e44aa…matches that worktree's built app.asar.sourceAppPath,sourceAppAsarSha256(7144d3e8…),metadataandcommandReceiptsstill describe the 2026-10-16 1.4.227 build, so the receipt's source and installed hashes disagree. The precheck does not compare those fields, so it would accept this receipt once the checkout is clean. This job did not touch the receipt.1.4.227-local.1792127058668.9450bf4802e4. Status: INSTALLED_RESTART_DEFERRED (automatic restart is blocked by the runtime proof contract).DoozyX commentedon Oct 17, 2026
Resolved 2026-10-17. Causes: dirty M1 checkout (pnpm-lock @pnpm/exe drift + generated mobile files), a dying agent on the M1, and 53 unpublished laptop commits keeping local main diverged. Upstream 90c1c0a is merged into fork/main (now 245d07c), the laptop and M1 run that build (signed, Team N59WC8BU7V), and the M1 build, install and headless restart is now config/scripts/m1-build-install.sh. uc-vm deploys via the M1 once its agents are idle.
DoozyX commentedon Oct 18, 2026
M1 daily sync 2026-10-18 (automation run 32, id 6d180d4c-c750-44db-a269-6828f80e683b): FAILED/INCONCLUSIVE. A merge design conflict needs a decision.
245d07c6a253ad3247ec2aae38a454868a6603f8, origin/main33e6785fe2c36730bc0dfcdf1db6208d471df833(35 upstream commits past base90c1c0ac50). Bothgit fetchexit 0./Users/skletnikov/DoozyX/tools/orca/.worktrees/orca/m1-daily-upstream-sync, branchDoozyX/m1-daily-upstream-sync(HEAD == fork/main).git merge --no-ff --no-commit origin/mainexit 1 with 7 conflicts. All 7 are resolved and staged; the merge is left in progress (MERGE_HEAD present), not committed.pnpm install:releaseexit 0 (no lockfile drift),pnpm --dir mobile install --frozen-lockfileexit 0.pnpm tcexit 0, after fixing one fork import of a module that upstream moved.cross-host-project-group-merge.test.ts:204) explicitly keeps two hosts that reuse one id with different names as separate rows. The fork tests (:204, :246) use the same group shape as upstream's: one id on a local and a remote host, with different names. They expect the opposite result, so no ours/theirs pick is correct.--no-daemonplus upstreamspawnedPtyEnv) passes viaorca-runtime.test.ts -t codex: exit 0, 8 passed.config/scripts/m1-build-install.shends with a detached auto-restart that counts "working" agents inorca worktree ps. The runtime contract forbids this (an empty or filtered status listing is not proof the host is quiet; the run must stay INSTALLED_RESTART_DEFERRED). The restart must become opt-in, as a separately reviewed change, before the script can run unattended.1.4.229-local.1792237077756.245d07c6a253(commit 245d07c, arm64, codesign --verify exit 0). Running serve pid 892:1.4.229-local.1792237077756.245d07c6a253. Both are the current fork/main, so nothing changed on the host./Users/skletnikov/DoozyX/tools/orca/.orca/m1-sync-tmp-1018points to/Users/skletnikov/DoozyX/tools/orca/.worktrees/orca/m1-daily-upstream-sync/.orca/2026-10-18-m1-daily-sync/tmp/m1-sync./Users/skletnikov/DoozyX/tools/orca/.orca/2026-10-18-m1-daily-sync/(conflict-ledger.md, tests-conflict-verbose.log, tc.log, merge.log, merge-status.txt, owner.json).DoozyX commentedon Oct 18, 2026
M1 daily sync 2026-10-18 (automation run 32): VERIFIED INSTALLED AND PUSHED. Runtime restart pending.
33e6785fe2c36730bc0dfcdf1db6208d471df833(35 commits) merged into fork245d07c6a253ad3247ec2aae38a454868a6603f8, giving candidate73793d59be2bbdc7e1b77b749fc4de4078d2cf93("merge: update personal Orca from upstream main").pnpm install:releaseexit 0 and mobile frozen install exit 0, with no lockfile drift.pnpm tcexit 0. check:code-quality:changed exit 0. Sidebar/shared/cmd-j/manifest suites: 404 files, 3535 tests passed. New tests 26/26. Not green-verified: the full vitest suite (one attempt was killed under host load 27-51).m1-build-install.sh(under the m1-heavy lease) exit 0. Installed /Applications/Orca.app1.4.229-local.1792317808736.73793d59be2b: codesign --verify --deep --strict exit 0, Authority "Apple Distribution: DoozyX FZ-LLC (N59WC8BU7V)", TeamIdentifier N59WC8BU7V, arm64, orca-local-build.json commit 73793d5.git push fork HEAD:refs/heads/mainexit 0 (245d07c..73793d5). ls-remote fork main = 73793d5.1.4.229-local.1792237077756.245d07c6a253(old build). The script's restart waiter is relaunched detached and restarts dev.onorca.serve once no agent is working; the log is ~/Library/Logs/orca-m1-restart.log.DoozyX commentedon Oct 18, 2026
Local sync 2026-10-18 ~13:00 Europe/Skopje: BLOCKED. Local main fast-forwarded to fork/main e3a5943, but the build/install did not run: the 'Apple Distribution: DoozyX FZ-LLC (N59WC8BU7V)' signing identity (needed to preserve the installed app's designated requirement) is missing from the login keychain; only Apple Development and Developer ID Application identities remain. No ad-hoc fallback used. Installed app and previous receipt unchanged (still 73793d5 build, now stale vs HEAD).
1 remaining item
DoozyX commentedon Oct 18, 2026
Correction to the comment above: on the laptop,
codesign --verify --deep --strict /Applications/Orca.appfails after launch with "Disallowed xattr com.apple.FinderInfo found on /Applications/Orca.app". That is Orca's custom app-icon setting, which writes a Finder icon onto the bundle at launch (Icon\r, 13:08:09). The code signature is intact:codesign --verify --deeppasses, Authority is Apple Distribution: DoozyX FZ-LLC (N59WC8BU7V), and the freshly built dist app passes --strict. The laptop sync prompt now uses non-strict verification for the installed app after launch, so the morning job won't rebuild on every run.refactor(renderer): fold launch, paste and terminal-create callers of…
DoozyX commentedon Oct 20, 2026
M1 daily sync run 35 (2026-10-20-m1-daily-sync)
upstream origin/main: 8aa5d28
fork/main before: a721d0c
candidate/pushed: 31d8ca4 (remote fork/main confirmed equal)
Conflicts (4, reviewed independently): server-status-application.ts, server-status-update.ts (fork restatesRow kept), posix-host-op-byte-budget.test.ts (upstream ceilings), launch-agent-in-new-tab-web-runtime.test.ts (upstream notifyFailure + fork --no-daemon)
Gates: install:release 0, mobile install 0, tc 0, conflict tests 0 (1527 passed), quality 0, m1-build-install.sh 0
Installed: 1.4.230-local.1792463792713.31d8ca4ac548, signed Apple Distribution N59WC8BU7V, arm64, commit matches
Runtime: restart waiter started; running serve moves after this run ends (~/Library/Logs/orca-m1-restart.log)
TMPDIR alias: /Users/skletnikov/DoozyX/tools/orca/.orca/m1-sync-tmp-1020 -> /Users/skletnikov/DoozyX/tools/orca/.worktrees/orca/m1-daily-upstream-sync/.orca/2026-10-20-m1-daily-sync/tmp/m1-sync
DoozyX commentedon Oct 21, 2026
M1 daily sync run 36 (2026-10-21): SUCCESS
DoozyX commentedon Oct 22, 2026
Daily M1 sync 2026-10-22 (automation run 37): VERIFIED INSTALLED AND PUSHED.
Evidence: .orca/2026-10-22-m1-daily-sync/
DoozyX commentedon Oct 24, 2026
Daily M1 sync 2026-10-24 (automation run 39): VERIFIED INSTALLED AND PUSHED. Issue stays closed.
git ls-remote fork refs/heads/mainmatches; plain push, no force)pnpm install:release, mobileinstall --frozen-lockfile,pnpm tc,check:code-quality:changed,verify:bundled-skill-guidesand the conflict-area vitest set (1646 files passed) all exit 0. No lockfile drift.pnpm testrun with the long TMPDIR alias failed in daemon socket and Playwright tests (alias path too long, no Chromium installed); the same files pass under the default TMPDIR.m1-build-install.shexit 0.DoozyX commentedon Oct 25, 2026
M1 daily sync run 40 (2026-10-25): VERIFIED INSTALLED AND PUSHED (runtime restart pending).
DoozyX commentedon Oct 28, 2026
M1 daily sync, run 43 (2026-10-28)
DoozyX commentedon Oct 30, 2026
M1 daily sync run #45 (2026-10-30)
Outcome: VERIFIED INSTALLED AND PUSHED (runtime restart pending via waiter)
--no-daemon+ upstream-c disable_paste_burst=truecoexist; tests updated.Unit/ratchet failures not caused by this merge (check:changed --base=fork/main, run 3)
Runtime
Installed version != running version until the restart waiter fires (log: ~/Library/Logs/orca-m1-restart.log). No manual restart. uc-vm/laptop left to their launchd jobs.
Evidence: .orca/2026-10-30-m1-daily-sync/ (worktree tmp/: check-changed3.log, build-install.log, iso.log, bunrun.log).
DoozyX commentedon Oct 31, 2026
M1 daily sync run stablyai#46 (2026-10-31)
Outcome: FAILED/INCONCLUSIVE. Merge-caused unit-test failures remain after the user's 30-minute time box. Nothing was committed, built, installed or pushed.
Pins
.worktrees/orca/m1-daily-upstream-sync, branch DoozyX/m1-daily-upstream-syncInstalled and running
What was done
Reconciled (merge-caused, fixed, staged, now passing)
src/main/runtime/orchestration/orchestration-run-delivery-db.test.ts: upstream v3 (a1f7f97) stores heartbeats as handled on insert. The fork's typed-wait fixtures now usestatusas the non-matching unread filler. The typed-filter assertions are unchanged.src/cli/handlers/orchestration/check-wait-resume.test.ts: v3 prints compact agent views unless--fullis passed, so the test now passes--full. The same reconcile was applied to the other CLI tests earlier.Still failing, merge-caused (blocker)
src/main/runtime/rpc/methods/orchestration/worker/manual-dispatch-release.test.ts: "never cancels the turn of a Dispatch that takes the worker over during the stop". This is a fork-added structured-worker test. Under v3 it fails withTerminal structworker_… already has an active dispatch(worker-terminal-transfer.ts:83 newWorkRefusal). This is a semantic conflict between the fork's takeover-during-stop and v3's dispatch admission.src/main/runtime/structured-chat-worker-helpers.test.ts: "wakes the Run for its question…". After a typed question wake, the follow-up untyped check returns [] instead of ['Unread status']. The fork's typed-filter semantics interact with v3 helper-settle mail; needs debugging.src/main/runtime/orca-runtime.test.ts→orca-runtime-tests/orchestration-run-worker-panes.spec.ts: "drops the worker once its coordinator moves on to another run". This fork-only test comes from banner-leak fix 3820213. v3 deliberately keeps the old Run bound when the coordinator's pane creates another Run. This needs a product decision on worker-pane and banner suppression.orchestration-cli-subprocess.test.ts,orchestration-message-delivery-identity.test.ts) ran against a stale out/cli from Oct 30 ("Unknown flag --full"). They need a rebuild before they can be judged.worktree-sidebar-reveal.test.tsanduse-keyboard.reveal.test.tsxare byte-identical to upstream.Pre-existing (also fail on fork/main f691319; ignored)
Retained evidence
.orca/2026-10-31-m1-daily-sync/tmp/contains:Next run
Fix items 1–3 with independent review. Rebuild out/cli and re-run item 4. Run an origin/main baseline for item 5. Then commit, build/install, push.
DoozyX commentedon Nov 1, 2026
M1 daily sync 2026-11-01: BLOCKED at precheck (no work done)
git rev-parse --git-path MERGE_HEADexists.