Skip to content

BiBCode v0.14.0: MCP server for outside agents, turn checkpoints, timeline and AppImage fixes - #213

Merged
mubeda merged 285 commits into
mainfrom
claude/issue-batch-after-v0.13.0
Nov 1, 2026
Merged

mubeda merged 285 commits into
mainfrom
claude/issue-batch-after-v0.13.0

Conversation

@mubeda

@mubeda mubeda commented Oct 30, 2026 •

Copy link
Copy Markdown
Owner

Fixes the open issues after v0.13.0 in one PR and ships the full MCP server for outside agents. Target release: v0.14.0.

Closes #139, closes #207, closes #208, closes #209, closes #214, closes #192.

Not in this PR: #134 (macOS measurements that need a person at the Mac). Follow-ups filed from this work: #215, #216, #217, #218, #219, #233, #234, #235, #236, #237. Issues filed during the batch (#210–#212, #220–#232) are triaged for later PRs; see the comment on each.

What changed

Issue Change
#139 The complete MCP server, per docs/plans/2026-10-24-mcp-operate-server-design.md and docs/plans/2026-10-30-mcp-remaining-slices-design.md (slices F0, A, W, G, P, T, D, X1–X8, R). 85 tools (91 with Terminals on), grouped into sets with an access ceiling ("Agents may": read-only, approval required, operate). Summary below.
#207 A scroll key during the sent-row glide pages as asked: LegendList's own scrolls are held while a key's scroll starts, the hold lasts through a press, and a pointer takeover ends it.
#208 A finished streamed reply no longer drops for a frame when its work-log row turns into "Worked for": the timeline follows its end when the turn settles.
#214 The sent-row glide runs from ChatView instead of a native smooth scroll, so a scroll key during it no longer jumps the reading line.
#209 Linux AppImage child processes (git, PTY, providers) no longer inherit the bundled loader paths when APPDIR doesn't match the running AppDir; the AppDir is identified from the executable.
#192 The live Codex terminal Activity dock shows on macOS x64 (verified in a full packaged run; no code change needed for the dock itself).

MCP server (#139)

  • Thread tools: start, message, wait (with progress), read, interrupt, answer questions and approvals, turn diffs and checkpoint revert, attachments.
  • Worktrees, Git, pull requests: create/remove worktrees (removal needs a plan, a generation and discardChanges), branch, stage, commit, push, pull, discard (to the system trash), PR/MR list, create, edit, merge on GitHub and GitLab.
  • Terminals (opt-in set), browser and device previews (client twins of the provider tools), chat panels and UI intents (focus_ui asks first, nothing moves until the person clicks Show).
  • Workspace files: versioned read/write/delete/search inside the project. Git's own metadata (.git in any letter case, or the repository's Git directory) is refused. Windows refuses file-changing tools until MCP Files tools: handle-bound file changes on Windows so agents can write files there #216.
  • Clone: public HTTPS only, with pinned addresses, no hooks, and an allowlisted environment. Internal hosts and SSH URLs are refused (MCP clone: allow SSH agent clones pinned to the checked public address #217).
  • Diagnostics, server_capabilities, changes_since (an ordered change feed with cursors), Source Control reads and commit-message suggestions.
  • Actor attribution: "Agent · MCP" chips, a sidebar badge, a status-bar indicator, Take over / Hand back and Stop for the person.
  • Outbound webhooks: signed deliveries of thread, turn and approval events, a retry schedule, delivery history, under Settings → Agents → Agent integrations.
  • Remote MCP (Streamable HTTP + OAuth): PKCE S256, dynamic client registration, consent codes approved in the app ("Requests to connect") or with bibcode mcp authorize, 1 h access tokens, 30-day grants, refresh-token rotation with reuse detection, per-class admission caps.
  • One-click registration: "Connect an agent" adds BiBCode to Claude Code, Codex, Cursor or OpenCode, and removes it again.
  • Turn checkpoints: every turn that ends in a Git checkout now records a checkpoint, so get_turn_diff, MCP and in-app revert, and the Diff panel's turn list have data. The Rust port never recorded the turn-end checkpoint, only the turn-start baseline. A queued follow-up waits for the ended turn's capture; restart reconciliation keeps the provider rewind count. Threads with older turns start recording from their next turn (no backfill).
  • Persistence: migrations 58 (client access and requests), 59 (tool outcomes, for replay), 60 (actor attribution), 61 (webhooks), 62 (OAuth grants). The seeded-upgrade CI jobs cover the upgrade from the last release.
  • Docs for agents: docs/reference/mcp.md and docs/reference/webhooks.md describe every tool, argument, error tag, scope and flow so another AI can drive BiBCode from them alone; a drift test (mcp::reference_docs) keeps them in step with the code. User guide: docs/user/mcp.md.

Decisions (approved in advance, after Codex and advisor review)

  • Approvals and destructive operations (discard, worktree removal, PR merge, project removal) are available at the operate ceiling, each guarded by its own confirmation argument.
  • Extended scope X1–X8 is included in this release.
  • Workspace files threat model (X5): paths resolve under the project root with no symlink escape, writes are versioned (a stale write is refused), Git metadata is never readable or writable through Files, and file-changing tools are refused on Windows until handle-bound writes land (MCP Files tools: handle-bound file changes on Windows so agents can write files there #216).
  • The remote /mcp 401 body and the Remote agents row show an observed address only from approved grants; setup commands are offered only for configured origins.

Review

Every slice was designed, reviewed by Codex and the advisor, implemented, and re-reviewed. The design doc has implementation notes and review rounds for each slice. The turn-checkpoint fix went through seven Codex rounds; the last found nothing; every must-fix finding was fixed with a failing-first test. A checkpoint whose capture times out is recorded error (durable, terminal), and revert and turn diffs accept only a ready turn, in the app and in MCP.

Validation

  • Gates on the final tree: cargo fmt --all --check, cargo clippy --workspace --all-targets -- -D warnings, cargo test -p bibcode-server --no-fail-fast, vp run check:contracts, vp run typecheck, vp check --no-fmt, identity test, contracts, client-runtime and web unit tests. Pinned Rust 1.98.1.
  • End-to-end MCP test in a dev build with an isolated BIBCODE_HOME (the installed app untouched), on the test repos mubeda/SourceControlTest (GitHub) and mubeda/sourcecontroltest (internal GitLab). It used a stdio relay client, plus an outside OAuth client over a temporary public HTTPS address. Passed: connect and capabilities, clone policy, threads, Git and PR/MR on GitHub and GitLab, commit-message suggestion, Files, focus_ui, Terminals, changes_since, worktrees and panels, approvals, Take over / Hand back, Stop, diagnostics, and remote OAuth (8 of 8: discovery, registration, consent, token, calls, refresh, reuse revocation, bad bearer). All 13 findings were fixed in this PR, including a P1 (Files tools could reach .git).

Residual risk (checkpoints): a turn's earliest edits can land in its baseline when the effects worker handles the turn start late (inherent to capturing at turn start); a hung Git still stalls the shared effects worker for other threads until its 30 s per-call timeout. Two accepted edge cases (#234, #235): if writing the error status itself fails, the thread is released and a later baseline may write that turn's ref; and a captured turn whose previous baseline is missing stays non-revertible. Neither can produce a wrong revert or diff, because both refuse non-ready turns. A ref left behind by a failed Git cleanup is never reused as a later turn's checkpoint; only a second Git failure on the same turn number in a row could leave a later turn's diff read against it (its revert target stays correct).

Release checks for v0.14.0: cargo check --workspace --all-targets --locked, vp run release:smoke, and the full vp run -r --concurrency-limit 1 test graph passed locally; Claude Code 2.1.314 passed the live hook merge proof, so the Claude Terminal hook ceiling is raised to 2.1.314.

Not exercised: webhook delivery to a real public receiver; preview and device tools (no preview host open during the run); BiBCode Connect's managed tunnel; Windows and Linux hosts for MCP beyond CI.

Profiler coverage: each MCP tool call is timed as mcp.<tool>; waits, provider tools and long-running dispatches are in is_long_running; clone, Git and trash children go through the supervised process runner; webhook, OAuth and MCP services stop before profiler teardown. Logs carry only tool, thread id, turn number and outcome, never prompts, paths in fingerprints, or file contents. Testing runbooks updated (cross-platform-validation.md, ssh-environments.md, linux-desktop.md) or reviewed and still accurate.

🤖 Generated with Claude Code

@github-actions github-actions Bot added size:XXL vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. labels Oct 30, 2026
mubeda and others added 27 commits October 30, 2026 21:00
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…139)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
list_worktrees, create_worktree, get_worktree_removal_plan and
remove_worktree reach the worktree catalog's own handlers, so creation
and removal keep their command claims, generation checks, operation
runtime and record_removal_outcome coverage. remove_worktree is
destructive and audited; a keyed retry replays by the catalog's receipt.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The capability test asserted the default list was exactly the thread
tools, so every new family in the Workspace set failed it. It now checks
that every slice-1 tool is listed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Every Git command that takes a caller's file paths (vcs stage, unstage and
discard, and the Git Manager discard with its tracked-path listing and
restore) now runs with --literal-pathspecs. A path such as :(glob)** or
*.rs names a file that matches nothing instead of pathspec magic or a
wildcard over the tree; a folder still names every file under it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…eckout (#139)

gitManager.runOperation gains remote-branch-delete, which deletes a branch
on a remote and leaves any local branch alone; the remote must be one the
checkout has and the branch a strict branch name. The MCP git tools use it
to delete a branch in two steps and to recover when the remote step fails.

discard_paths now resolves the deepest existing folder of every path and
refuses the whole call when one leaves the checkout through a symlinked
folder, before anything is trashed or restored.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ents (#139)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Slice G registers the git family in the Source control set: git_stage,
git_unstage, git_commit, git_undo_commit, git_revert_commit, git_push,
git_force_push, git_fetch, git_pull, git_create_branch, git_switch_branch,
git_delete_branch, git_delete_remote_branch and git_discard. Each reaches
the Source Control panel's handlers through a recorded call, so it obeys
the live controls and a clientRequestId makes it at most once.

Paths are literal and contained; branch names, revisions and remotes are
checked before any RPC so none can be read as an option. Deleting a branch
with its remote is two steps with a typed partial outcome that names the
git_delete_remote_branch call that finishes it. Destructive tools carry
destructiveHint and the audit line; push, fetch, pull and remote deletion
are open world; only git_fetch is idempotent.

The capability foundation test now expects every default-on client tool,
since each family adds to the list.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…e-runs nothing (#139)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Slice P: list_pull_requests, view_pull_request, pull_request_checks,
create_pull_request, update_pull_request and merge_pull_request, in the
sourceControl set and marked open-world. Create runs git.runStackedAction
with create_pr through the stream collector, so action_failed is a typed
failure and an early close is unknown. Writes are recorded outcomes. A
merge needs headSha, never sends bypass, and is destructive and audited.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…139)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The effects worker's revert outcomes (thread.reverted and the files-only
and failure activities) now carry the request's command id inside their
own command id, and revert_thread_to_turn reads only the outcomes of the
request it dispatched. Before, a second revert asked while the first was
still running returned the first one's success.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
When the provider rewinds and restoring the files then fails, the effects
worker records the revert (it cannot be retried) and then a
checkpoint.revert.failed activity. revert_thread_to_turn returned
reverted: true on the first. The worker now records that completion under
its own command id tag, checkpoint-revert-unrestored, and the tool waits
past it for the failure, returning McpCheckpointRevertError with the
worker's detail (or a generic one if the wait ends first).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
start_thread and send_message cancelled their staged uploads only when
staging itself failed. A call the engine then refused, or one that lost
the stored-request race to another call with the same clientRequestId,
left its uploads holding the session's 16-upload quota for ten minutes.
Now a call cancels the uploads it staged that the stored commands do not
name, and a turn start the engine did not admit (no receipt, or a
rejected one) cancels its uploads; a retry with the same clientRequestId
then gets McpAttachmentExpiredError.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…l is cancelled (#139)

remove_worktree passed the MCP call's cancellation token to the catalog,
which checks it after preparing the removal and before Git runs, so a
call cancelled in that window stopped the removal. The handed-off
operation now runs under the MCP server's shutdown token.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
McpControl::call writes the destructive tool's audit line after the tool
returns, so a removal whose caller was dropped after the catalog took
it over finished without one. remove_worktree now runs the removal in a
task of its own; the waiting call keeps logging as before, and when it
is gone the removal writes the same line itself when it ends, so each
removal logs exactly once.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
get_worktree_removal_plan cut pruneImpact to fit one tool result while
its planToken still covered the whole impact, so a confirmed
repository-wide prune could remove registrations the agent never saw.
A plan whose impact does not fit now reports pruneImpactCount and marks
its token, and remove_worktree refuses confirmRepositoryWidePrune with
a marked token (McpPruneImpactTooLongError).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Records the slice W Codex review fixes in the user and architecture
docs and in the slice's implementation notes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… it after its thread is gone (#139)

Codex review of slice P:

- A merge or update that times out, loses the host, or gets an unreadable answer may
  have taken effect, so it is McpOutcomeUnknownError (no-answer) carrying the host's
  code and is recorded `unknown`, never `failed`. A draft change lost that way after the
  edit landed is a partial whose draft is `unknown`.
- create, update and merge resolve the thread's folder inside the recorded work, so a
  keyed retry returns the stored outcome after the thread is deleted.

outcome.rs gains `outcome_unknown` (a failure marker `recorded` stores as `unknown`,
keeping the work's own failure), `Interruption::NoAnswer`, and `Owned::target`.
target.rs gains `thread_target`/`live_thread` taking the control; ToolCall::target and
ToolCall::thread delegate to them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…e stops reporting (#139)

Codex review of slice G: after the local delete, a remote-delete stream that ended early
was recorded as a generic unknown, and the deleted local branch could no longer name its
upstream. It is now McpPartialOutcomeError with local "deleted", remote "unknown", the
remote, the remote branch and the recovery call, recorded `unknown`, so a keyed retry
replays it.

outcome.rs keeps a work's own `outcome_unknown` failure when the live controls interrupted
it (turning MCP off mid-delete) instead of replacing it with a bare unknown.

docs/user/mcp.md covers the unknown partial and slice P's unknown merges and updates.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… or push (#139)

Codex review of slice G: Git accepts a configured remote such as `--all`. The tools
checked a named remote's shape but not the one they chose (the upstream's, origin, or
the sole remote), so git_fetch ran `git fetch --prune ... --all`.

- choose_remote applies the named remote's shape check to every remote it picks.
- The runOperation handler refuses, for every caller, a fetch, pull, push, publish,
  force-push or remote-branch-delete whose remote or branch starts with '-'
  (`invalid-request`). `--` cannot separate them here: `git pull` hands its remote to
  `git fetch` without one.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…remains (#139)

Codex review of slice G: when the trash could not take an ignored file and `permanent`
was set, discard listed it in permanentlyDiscarded, but the fallback (`git clean -fd`
without `-x`, after a status that excludes ignored files) left it in place. After the
fallback, an untracked path that still exists is moved to trashUnavailable; a tracked
path is there again because it was restored, and stays reported.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
mubeda and others added 14 commits October 31, 2026 17:43
…tests (#139)

The inherited-environment clone test exported SSL_CERT_FILE and SSL_CERT_DIR empty;
on Linux that leaves the server's own reqwest client with no trusted certificates
and it panics. Point them at the system bundle and an empty folder instead; the
agent clone must still not inherit them.

The signed-delivery webhook test read the delivery state right after the receiver
answered, before the dispatcher recorded it. Wait for every delivery to read
delivered.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
No turn ever recorded a checkpoint. The effects worker captured a turn's
checkout only for a `thread.turn-diff-completed` event with status
`missing`, and nothing produced one: the Rust migration (bfbecf5)
ported the capture arm, the projector and the client reducer, but not
the turn-completion trigger. Only ref 0 was written, so get_turn_diff,
revert_thread_to_turn, the app's revert and the Diff panel had nothing
past it.

Provider ingestion now records a turn's checkpoint number (`missing`)
before its session settles, and holds the thread's queue promotion for
that turn until the effects worker has captured the checkout, so a
queued follow-up cannot edit it first. Startup reconciliation numbers a
turn a restart cut off, keeping the numbers, and the provider rewind a
revert derives from them, aligned. A thread whose turns predate
checkpoints recaptures ref 0 when its next turn starts. The turn-diff
projector and the client reducer keep an interrupted or failed turn's
state and answer id, and get_turn_diff defaults to the latest captured
turn.

Design and two Codex review rounds: docs/plans/2026-10-30-mcp-remaining-slices-design.md
(Turn checkpoints).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Follow-ups from the second Codex review and the advisor:

- A checkpoint hold is now per ended turn: capturing an earlier turn no
  longer releases a later turn's hold, and a deleted thread's holds go.
- A turn that already has a checkpoint number is never recorded again,
  so a replayed end cannot capture a later checkout as its own; a record
  that cannot be written fails the turn's projection before the session
  settles.
- Only a thread with a recorded checkpoint, or one whose turn start the
  effects worker found in a Git checkout, numbers its turns: a project
  outside Git keeps having no checkpoint rows, revert buttons or Diff
  panel turns.
- The ref 0 refresh for threads older than checkpoints reads the turns
  once and skips any thread with a numbered turn, closing a race where a
  short first turn's end, recorded before the worker handled its start,
  made the worker recapture ref 0 over that turn's edits.
- Each hold's expiry timer stops with the engine.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…oint test (#139)

clippy::cloned_ref_to_slice_refs on Rust 1.98.1.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Release check for v0.14.0: the live merge proof passed on Claude Code 2.1.314
(macOS arm64, native install): BIBCODE_CLAUDE_MERGE_PROOF=~/.local/share/claude/versions/2.1.314
cargo test -p bibcode-server --lib live_user_pre_tool_use_guard -- --ignored. The
project PreToolUse guard blocked the command, the marker was not created, and
BiBCode's UserPromptSubmit, PreToolUse, Stop and SessionEnd hooks arrived.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…xpire stale captures

Codex review round 3 on the turn checkpoint commits:

- A turn is numbered at its end from the checkout itself (a `.git` in
  the provider's working directory or above), never waiting for the
  effects worker, so a fast turn that ends before the worker handles
  its start is still numbered and captured. Its baseline is numbered
  from the turns before it.
- The checkpoint hold is checked where every turn is delivered, the
  delivery service's selection and claim, so a direct start, Send now,
  a steer and MCP sends wait like a promoted follow-up.
- A hold that outlives EffectsOptions::checkpoint_hold_limit (120 s)
  marks its turn's checkpoint stale before releasing the thread, with a
  warning and a capture-failed activity: the worker never captures or
  records that turn ready, and no later baseline writes its ref.
- `ready` requires the previous turn's ref; ensure_baseline no longer
  marks a thread before its capture.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…the hook ceiling

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Version 0.14.0 in the four package manifests, both application Cargo manifests and
Cargo.lock (scripts/update-release-package-versions.ts), and the curated
CHANGELOG entry.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ptured turns

Codex review round 4 on the turn checkpoint commits:

- Staleness is durable. When a turn's hold expires, its checkpoint is
  recorded with the contract's existing `error` status before the
  thread's turns go, and the projector keeps `error` terminal: no later
  record of the same checkpoint turns it back into `missing` or `ready`.
  `ensure_baseline` never writes the ref of a latest turn recorded
  `error`, so a restart cannot let a later checkout stand in for it. An
  `error` checkpoint no longer marks the turn itself failed, in the
  projector and in threadReducer.
- Revert restores only a target whose row is `ready` and whose ref
  resolves. A `missing` or `error` turn is refused before the provider
  rewinds ("Turn n has no captured checkpoint ..."), as the app's
  revert-failed activity and up front as McpCheckpointRevertError.
- Expiry and completion decide once per turn under the hold lock: the
  worker claims its capture (claim_checkpoint_completion) and the expiry
  marks a turn stale only while its hold is unclaimed, so a turn ends
  either `ready` with no failure activity or `error` with one.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…everted to

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…lete is an error

Codex review round 5, finding 2:

- delete_ref now fails on a nonzero `git update-ref -d` exit instead of
  reporting success. The stale-capture path and the revert's ref cleanup
  log a warning with the thread id and turn number only; the revert
  still records itself, since its rewind and restore happened.
- orchestration.getTurnDiff and getFullThreadDiff serve only captured
  turns, the rule revert uses: each end of the range past turn 0 must be
  `ready` (a one-turn range's start is vouched for by its end). A turn
  not captured is refused with "Turn n has no captured checkpoint ...",
  through the methods' existing error, which the Diff panel already
  shows like a checkpoint that is gone. MCP get_turn_diff refuses such a
  turnCount up front as McpNoTurnDiffError.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…checkpoint

Codex review round 6: after a revert whose ref delete failed, the next
turn reused the number and its capture kept the old ref, so its diff and
revert target were the reverted turn's.

The end-of-turn capture now always writes its ref. Only a `missing` row
reaches it (a `ready` or `error` row is skipped), and the hold keeps
every later turn and baseline behind it, so a ref already there can only
be a leftover. A capture that fails deletes a leftover of its number, so
the next baseline writes the ref afresh. A turn after a given-up
(`error`) turn is never `ready`, since that turn's leftover ref is no
baseline.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The Windows x64 seeded-upgrade job timed out twice in a row on this branch: the
release compile alone took 43 minutes on windows-2025, and bundling the NSIS
installer then ran past the 45-minute bound. Windows children now get 60 minutes;
three builds still fit the unchanged 240-minute job.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…fore clicking

The remote-install lane waited only for "Generate pairing offer" to exist, then
clicked once. On macOS arm64 the click came 5 ms after the button appeared, while
it was still disabled, so the lane fell back to the desktop's own bootstrap token,
which the restarted webview supersedes by design, and the coordinator ended
blocked on a 401. Wait for the enabled button within the same 30 s window. Also
record the Windows 60-minute packaging bound in the validation runbook.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The macOS arm64 remote-install lane failed twice on a3314c5 with "did
not retain a verified pre-update backup" while the matching generation
was on disk. An instrumented rerun on the same image, base tag and code
passed on its first read, so the failure did not reproduce and no
product defect was found.

The harness could not say why, because it collapsed three outcomes into
one message: primary missing from getProjectDataStatuses, primary
"unavailable" with its issue discarded, and a healthy store whose
inventory rejected the generation (backup_issues reached neither the
bridge nor any log).

- Verify re-reads statuses for up to 8 s while primary is missing or
  unavailable, never while it is healthy, so a lost backup still fails.
- Each case now fails with its own message, including the issue text.
- The desktop logs a warning for every backup generation its inventory
  rejects. The harness keeps those lines, redacted, as
  <lane>-backup-inventory.log.
- tracing-subscriber becomes a desktop dev-dependency for the log test;
  Cargo.lock gains only that edge.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@mubeda
mubeda marked this pull request as ready for review November 1, 2026 17:09
@mubeda
mubeda merged commit 40169e8 into main Nov 1, 2026
35 checks passed
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 1, 2026 •

Copy link
Copy Markdown

Codex Review Summary

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-01T17:10:34.877838Z 172edcd Draft marked ready
🔒 Security Review ✅ Completed 2026-11-01T17:11:23.008809Z 172edcd Draft marked ready
ℹ️ 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.

@mubeda
mubeda deleted the claude/issue-batch-after-v0.13.0 branch November 5, 2026 02:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment