Skip to content

feat(agent): add durable execution and interruption recovery - #6713

Merged
M4n5ter merged 8 commits into
rust-previewfrom
feat/durable-agent-execution
Nov 10, 2026
Merged

M4n5ter merged 8 commits into
rust-previewfrom
feat/durable-agent-execution

Conversation

@M4n5ter

@M4n5ter M4n5ter commented Nov 9, 2026 •

Copy link
Copy Markdown
Member
English

Summary

Execution and recovery guide

  • Replace physical Agent InvocationId handoff chains and ad-hoc approval/retry checkpoints with stable RunId / StepId / ModelAttempt identities driven by a single typed durable reconciler over a concurrent obligation frontier.
  • Keep maka-event-log domain-agnostic on one exclusive RootStore SQLite database and introduce the one-way Agent crate boundary (facts / api / ports -> state -> engine -> authority / native), where maka-agent-state folds canonical facts and deterministic transactional indexes without owning scheduling or live grants.
  • Separate pre-admission CallerIntent records (locking the original RecoveryRef and opaque recovery descriptor) from provider receipts with independently monotonic Outcome (NotExecuted, Returned, Unknown) and physical Cleanup (Unconfirmed, Confirmed, Failed) states, atomic same-Root state/receipt commits, late authoritative settlement (OperationResolvedLate) without rewriting consumed history cuts, and per-owner content/receipt pinning.
  • Persist Code Mode Cell lifecycles, nested child-effect reconciliation, discovered tools and atomic SessionData publication without snapshotting VM heaps or replaying scripts on recovery.
  • Isolate native CLI executors (Claude Code, Codex and Antigravity) and the separate ACP service adapter (acp-executor) under private TaskOwner custody and scoped callback gates so caller cancellation, stream EOF or Root retirement detaches observation without fabricating task completion or assuming unconfirmed OS process exit.
  • Migrate Goal, Scheduler, Assistant, parent/child Session contracts, @maka-agent/plugin-sdk, workbench consumers and rewritten bilingual architecture documentation (ARCHITECTURE.md, ARCHITECTURE.zh-CN.md); remove WorkHub, Graph and Swarm as requested.

Breaking changes and review focus

  • Clean-cut schema and contract replacement: Removes physical invocation handoffs, startup bulk invocation-failure reaping, legacy approval/retry checkpoint tables, and the WorkHub / Graph / Swarm crates and public contracts without compatibility shims or dual-track recovery paths (Root migrations follow the integrated target; Agent domain schema is defined in maka-agent-state migrations 0002–0030).
  • Review focus:
    • Root, provider and Agent authority boundaries (CallerIntent own-journal lookup, live OperationDispatchScope proof, RunSpec opening bounds intersected with live workspace permissions, and single-driver claim fencing).
    • Independent Outcome vs. Cleanup monotonicity, Unknown typed blockers and human risk adjudication, same-transaction local/state publication, and independent evidence retention pins.
    • Detached external task resource settlement and cargo nextest archive helper relocation (CARGO_BIN_EXE_*) across direct and extracted replay runs.

Verification

The integration candidate is feccc4c16bec41847fa7acf101ea662591d26817, including rust-preview through 853052bec. Prior implementation acceptance results are not counted as acceptance of this integration.

  • Final local macOS full-workspace cargo check --all-targets --features maka-cli/desktop-tests --locked --offline --keep-going: passed (22.18s), including the new replay-origin regressions and the real HTTP retry / same-Root reopen test sources.
  • Official SDK generation, SDK acceptance, bundle and generated native workbench UI contracts: passed. Native resident UI, Quick Launcher and CJK Markdown changes are retained.
  • Existing tooling route: 180 passed, 0 failed / cancelled / skipped. Built-product route: 3 passed. Formatting, ASF headers, dependency inventory/licenses and officially generated/reviewed notices: passed.
  • Standard final-head CI run: not fully passing. root-build failed on the retired maka_agent_facts::terminal::TerminalSize test path; Windows failed on the retired root::windows::account_home import. Dependent root-tests were skipped, not passed. Local Cargo-fork rusty_v8 artifact failure was not worked around. Runtime/OS acceptance remains follow-up work.
  • Targeted independent Gemini re-review closed the original two provenance paths and accepted the leaf-origin design. It identified a remaining same-attempt assistant-message grouping regression (Thinking separated from ToolCall/output), accepted for focused follow-up rather than reported as resolved. Static review is not runtime acceptance or human review.

Migration and review disposition

Merged into rust-preview at maintainer direction as a75113d8b7d0cccf181a4d4214dab962e9124ac2, without waiting for full CI and without admin/protection bypass.

  • Standalone copy-only migration script, instructions and rollback tests. Tested against a real local database copy (~5.9 GB): canonical event values hashed identically before/after, retained Root table counts preserved, integrity/FK checks and committed-schema retry passed. Four focused schema fault-boundary tests passed.
  • The source database was opened read-only and was not promoted/replaced. No local data or credentials were published. This is schema conversion, not proof of old in-flight execution adoption, rebuilt active-run projections, claim fencing or external cleanup recovery.
  • The two existing review comments identify validation gaps and explicitly do not establish a confirmed P0/P1/P2 defect. Retain the high-value migration/recovery checks as follow-up evidence; do not turn every suggested OS/engine case into an additional blanket merge gate.
  • Concrete follow-ups: platform-only retired imports (including analogous TerminalSize uses), and preserving one assistant message for reasoning + tool calls from the same attempt. No compatibility re-export shims.

AI use

Select exactly one:

  • No generative tool made a substantive contribution
  • Generative tooling made a substantive contribution

Tool(s) and scope: Maka using OpenAI models for implementation, migration and tests, and Google Gemini for independent adversarial static review and documentation authoring. AI review does not replace independent human review. Material AI-authored commits carry a Generated-by: Maka trailer.

Checklist

  • Regression coverage added for recovered outcomes and encrypted replay
  • Final integration runtime CI and targeted review completed
  • Local formatting, contracts and full-workspace compilation pass

Does this PR entail a change in behavior?

  • Yes — described under Summary above
  • No
简体中文

摘要

Agent 执行与恢复

  • 用稳定 RunId / StepId / ModelAttempt 身份与基于并发义务前沿的单一强类型持久收敛器,取代物理 InvocationId 接力链及分裂的审批/重试检查点恢复路径。
  • 保持单 RootStore SQLite 数据库上的 maka-event-log 领域无关,建立单向 Agent 模块分层(facts / api / ports -> state -> engine -> authority / native);由 maka-agent-state 在同一写事务内追加规范事实并折叠确定性派生索引,不承载调度决策或实时权限签发。
  • 将准入前落盘的 CallerIntent(锁定原始 RecoveryRef 与不透明恢复描述符)与提供方回执解耦,使业务结果 Outcome(NotExecuted、Returned、Unknown)与物理资源清理 Cleanup(Unconfirmed、Confirmed、Failed)独立单调推进;支持同 Root 纯状态变更与回执同事务原子提交、迟到权威结算(OperationResolvedLate)不改写已消费历史截点,以及按独立所有者结算的内容与回执钉住(pin)。
  • 持久化 Code Mode Cell 生命周期、嵌套子效果对账、动态发现工具集及同事务原子发布的 SessionData,恢复时无需对 VM 堆做快照,也不重放任意脚本。
  • 将原生 CLI 执行器(Claude Code、Codex、Antigravity)与独立 ACP 服务适配器(acp-executor)置于私有 TaskOwner 物理隔离托管与受限回调门禁下;调用方取消、流 EOF 或 Root 退役仅分离观察并取消在途回调,不伪造任务完成,也不假定未确认的外部子进程已退出。
  • 同步迁移 Goal、Scheduler、Assistant、父子 Session 契约、@maka-agent/plugin-sdk、工作台消费端,并重写中英双语架构文档(ARCHITECTURE.md、ARCHITECTURE.zh-CN.md);按要求完整移除 WorkHub、Graph 与 Swarm。

破坏性变更与评审重点

  • 无兼容垫片的契约与存储切换:直接移除物理调用接力链、启动期批量判死未完调用、旧审批/重试检查点表,以及 WorkHub / Graph / Swarm 相关 crate 与公共契约,不保留双轨恢复或旧格式兼容层(Root migrations 沿用整合后的目标分支,Agent 领域 schema 由 maka-agent-state 的 0002–0030 migration 管理)。
  • 评审重点:
    • Root、提供方与 Agent 之间的权威边界(CallerIntent 自身账本反查、实时 OperationDispatchScope 派发证明、RunSpec 开局上限与实时工作区权限求交集、单驱动认领栅栏)。
    • Outcome 与 Cleanup 独立单调推进、Unknown 强类型阻塞与人工风险裁决、同事务本地/状态发布,以及独立所有者的证据保留 pin。
    • 外部私有任务分离后的资源结算,以及直接运行与 cargo nextest 归档提取重放下的跨包辅助可执行文件重定位(CARGO_BIN_EXE_*)。

验证情况

本轮整合候选为 feccc4c16bec41847fa7acf101ea662591d26817,已接入 rust-preview 至 853052bec。前一轮实现的验收结果不计作本轮整合验收。

  • 最终本地 macOS 完整工作区 cargo check --all-targets --features maka-cli/desktop-tests --locked --offline --keep-going:通过(22.18 秒),包括新增 origin 回归及真实 HTTP 重试 / 同 Root 重开测试源码。
  • 官方 SDK 生成、SDK 验收、产品包及生成的 native 工作台 UI 契约:通过。保留单 UI engine 常驻、Quick Launcher 与原生 CJK Markdown。
  • 现有 tooling 路由:180 通过,0 失败 / 取消 / 跳过;产品包路由:3 通过。格式、ASF 文件头、依赖清单 / 许可证及正式生成和审核后的 notices:通过。
  • 精确最终 head 的标准 CI:未全绿。root-build 因测试仍使用旧 maka_agent_facts::terminal::TerminalSize 路径失败;Windows 因旧 root::windows::account_home 导入失败。依赖的 root-tests 被跳过,不能算通过。本地 Cargo fork 的 rusty_v8 产物问题未加兜底绕过;运行 / 平台验收留待 follow-up。
  • Gemini 定向复核确认原两条 provenance 洗白路径已闭合、叶级 origin 设计可接受;另发现同一次 attempt 的 Thinking 与 ToolCall / 输出被拆成两条 assistant 消息的问题,接受为聚焦 follow-up,未虚报解决。静态复核不替代运行验收或人类评审。

迁移与 review 裁决

已按维护者决定直接合并到 rust-preview,squash commit 为 a75113d8b7d0cccf181a4d4214dab962e9124ac2;未等待整轮 CI,未使用 admin 或保护绕过。

  • 独立的复制式迁移脚本、操作说明和回滚测试。已在真实本地数据库副本(约 5.9 GB)实验:规范事件逐值哈希前后一致、保留的 Root 表行数一致、完整性 / 外键和提交后重复迁移检查通过;另有 4 项 schema 故障边界测试通过。
  • 原数据库只读打开,未替换生产数据,未发布本地数据或凭据。此结果仅证明 schema 转换,不表示旧未决执行接管、active Run 投影重建、claim fencing 或外部 cleanup 恢复已经完成验收。
  • 两条现有 review 评论指出验证缺口,且明确没有确认 P0/P1/P2 缺陷。保留有价值的迁移 / 恢复验收作为 follow-up,不把所有 OS / engine 建议一概追加为合并门禁。
  • 明确 follow-up:平台专用退役类型 / 函数导入(含其他同类 TerminalSize 路径),以及同一 attempt 下 reasoning + tool call 保持为一条 assistant 消息;不增加兼容重导出垫片。

AI 工具披露

仅勾选一项:

  • 生成式工具未作出实质性贡献
  • 生成式工具作出了实质性贡献

工具与范围:使用 Maka(调用 OpenAI 模型完成实现、迁移与测试,调用 Google Gemini 完成独立对抗性静态评审与文档撰写)。AI 评审不替代独立的人类评审。包含实质性 AI 编写内容的提交均附带 Generated-by: Maka trailer。

检查清单

  • 已增加恢复结果与加密回放的回归覆盖
  • 最终整合行为 CI 与定向复核完成
  • 本地格式、契约和完整工作区编译通过

本 PR 是否包含行为变更?

  • 是 — 已在上方“摘要”中说明
  • 否

Replace physical invocation recovery with durable Agent execution, independent Host outcome and cleanup reconciliation, and original-effect recovery. Migrate CodeMode, external executors, Goal/Scheduler and product consumers; remove the superseded WorkHub/Graph domain.

Generated-by: Maka
Integrate original-effect recovery, atomic Root mutations, Cell cleanup sources, and exact external-job reconciliation across native and product consumers. Replace legacy fixture-dependent tests with owned Root, SDK journal, isolated-process, and Desktop acceptance coverage and archive routing.

Intermediate checkpoint: the latest macOS execution replay has 5 passing and 4 failing tests; remaining cold-recovery failures and the native wait fault-test gap are still being addressed. Desktop acceptance replay is in progress. This commit does not claim completion of the durable-execution Goal.

Generated-by: Maka
Recover original native model readers with source-bound descriptors and
fresh process cleanup evidence. Keep cleanup independent from known
business results and preserve whole-Run cancellation across bounded
frontiers, Cell obligations and late provider-executed tool observations.

Wake blocked Runs only for genuine capability and custody changes, and
preserve shared Root ownership and atomic project result publication.
Regenerate the blocker contracts and UI consumers, complete owned-Root
and cross-process acceptance cases, reject empty product test discovery,
and refresh the required third-party attribution.

Validation was performed in separate targeted runs with the original
workspace feature union and independent archive replay: final affected
Engine/State/Native packages 39 passed; earlier five-package Root replay
70 passed; original Goal/Scheduler cross-process acceptance 3 passed.
Official SDK/UI contracts, native builds, product tests (2), tooling tests
(169), ASF headers and license checks passed. Final Gemini adversarial
review reported no P0, P1 or P2 findings. No full-platform rerun is claimed.

Generated-by: Maka
Describe original-Run recovery, result and cleanup boundaries, Stop and risk handling, plus API observation and terminal-Run continuation.

Generated-by: Maka (Gemini 4 Argon High)
Delete docs/_pr evidence files and the unused export-ignore rule.

Generated-by: Maka
Use English for the default guide, preserve the Chinese counterpart and link both language versions.

Generated-by: Maka (Gemini 4 Argon High)
@liugddx

liugddx commented Nov 10, 2026

Copy link
Copy Markdown
Member

Merge-blocking validation gap: this PR currently has no GitHub CI status, while the change spans about 1,589 files and replaces several execution/state paths.

In particular, migration 0026 sets agent_runs.schema_version to 0 and relies on startup rebuild, while the PR also changes durable reconciliation, late settlement, cleanup, and driver claim/fencing. Please add or attach reproducible coverage for:

  • upgrading a real pre-change database, including interrupted migrations;
  • recovering interrupted runs and runs with unfinished external work;
  • cross-process driver claim/fencing and late cleanup;
  • the affected Goal/Scheduler/Session/Native paths on the supported OS matrix.

Until these checks run successfully, the migration and recovery behavior cannot be assessed well enough for merge.

@liugddx

liugddx commented Nov 10, 2026

Copy link
Copy Markdown
Member

Code-level review follow-up:

I traced the durable recovery path through state/src/sql.rs::ensure_headers/rebuild, state/src/store.rs::DriverDomain/DriverClaim, and the late-cleanup drivers. The claim fencing and the agent_runs.schema_version=0 rebuild intent are coherent on the inspected paths, and I did not find a confirmed P0/P1/P2 correctness defect from static review alone.

The code still needs merge-gating evidence for the failure cases it introduces:

  • migrate a real pre-0026 database with active, interrupted, terminal, and externally pending runs, then reopen and verify the rebuilt projections;
  • lose the acknowledgement after a rebuild or cleanup publication commits, then retry and verify exactly-once recovery;
  • replace a business/late-cleanup claim while the old driver is inside an external observation and verify the old publication is fenced;
  • run the same cases across the supported OS/engine matrix.

This is a code-level validation gap in addition to the fact that the PR currently has no CI status; it is not a claim that the inspected code is already known to be incorrect.

@M4n5ter
M4n5ter marked this pull request as ready for review November 10, 2026 03:41
@M4n5ter
M4n5ter merged commit a75113d into rust-preview Nov 10, 2026
12 of 15 checks passed
@M4n5ter
M4n5ter deleted the feat/durable-agent-execution branch November 10, 2026 03:55
@Astro-Han

Astro-Han commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

Update (2026-11-10): The two original source-reference regressions were corrected by merged #6732 in bb914bde: remaining TerminalSize consumers use maka-plugin-core, and the Windows guard uses the existing maka-sandbox::account_home resolver. Linux workspace test compilation passes. The original bb914bde Windows job also completed compilation, then failed because its Computer Use filter selected 0 tests with 97 skipped; it did not complete native desktop acceptance. Duplicate #6735's successful aggregate skipped its root build and has no native job, so it remains unsuitable as Windows validation.

The bb914bde run 42758127776 has now ended with failure. Besides that empty selection, macOS and the CLI shard failed when publishing a checkpoint after a cooperative stop; the VM duplicated-prefix assertion and encrypted replay failed as previously described. I read the original logs. The #6732 PR run also has a source-authority overlap test failure (probe completion receiver missing); its cause has not been isolated here.

Rust has advanced through #6737, #6739 and #6738 to merged #6740 at 0c4de9fe3110c222641e7b35684e8a0cbe19635c. My seven-file #6740 review checks the stopped-attempt predicate, boxed archive initialization, VM diagnostic and replay/CI changes. Those source fixes and passing local tooling checks do not establish completed Rust/native runtime acceptance: #6740 run 42777986980 and landed-base run 42778175944 are queued at this check. Subsequent #6733 has landed as current Rust 1cf7ea313384010c3423cae34ba7c0f27ea64e34; its run 42780433456 is also queued. Its full UI change has not been reviewed here. Full recovery, old-database migration, imported-history and platform validation remain outstanding. The original findings below apply to historical feccc4c1 / a75113d8, not the current corrected references.

Two confirmed P2 build regressions in final commit feccc4c16bec41847fa7acf101ea662591d26817 also occur in the landed tree at a75113d8b7d0cccf181a4d4214dab962e9124ac2:

  • P2 — Migrate the remaining terminal-size caller. plugins/agent/facts/src/lib.rs removes the public terminal module, but products/maka/cli/tests/integration/network_sandbox.rs:88 still calls maka_agent_facts::terminal::TerminalSize::new(80, 24). The standard workspace test compilation fails with E0433 before these integration tests can run. This is recorded in root-build job 129614030476, which exits with Cargo status 101.
  • P2 — Preserve or replace the Windows account-home API at its consumer. platform/event-log/src/root/windows.rs:26 removes the account_home re-export, while platform/host-runtime/src/sandbox/windows/guards.rs:23 still imports it and registry_root() calls it to locate the sandbox guard registry. Windows compilation fails with E0432 in maka-host-runtime, so this prevents the Windows native product from building, rather than merely failing a runtime assertion. See native-windows job 129614030836.

I read both original job logs and compared the four relevant source files with parent 853052bec2f7c31aaefcf0beceeb0c7ad504fbb5: the consumed exports exist in the parent and are removed here, while the callers remain. Both jobs checked out GitHub merge 771dad2e150cbacf07cd18505a02636c7cc7d18c; its parents and tree were independently checked against the actual merge, and the landed a75113d8 tree matches. These findings are from hosted compilation and source inspection; I did not rerun the native builds locally.

This is a targeted build follow-up, not a complete review of the 1,541-file change. Durable execution, recovery and migration correctness, real pre-change database upgrades, and runtime platform acceptance remain outside this completed check. The author's local compilation results do not establish that these hosted builds passed.


Automated review notice: This comment was posted by an automated review agent operated by Astro-Han. It is not an independent human review and does not replace one.

Astro-Han added a commit that referenced this pull request Nov 10, 2026
…ents on read

Review of the menu redesign found two gaps.

- A new draft's approval setting is null until the user picks one: it
  inherits the Host's setting when the conversation is created. The
  switch drew that as Off while the conversation would still ask for
  approval. It now reads Default until a value is chosen.
- The ten-folder cap ran only on writes, so a list stored before it
  kept every folder until the next selection. Reading now caps too.

The client's tests/workspaces.rs has not been compiled since #6713
removed `mod tests;` from lib.rs, so it never ran; a test beside
`workspaces::set` replaces it and fails without the cap. Completion rows
also keep the name whole and truncate the description first.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Generated-by: Claude Code (Claude Opus 5.5)
M4n5ter added a commit that referenced this pull request Nov 10, 2026
Use the standard ASF block header in the two #6737 agent-state files so the
license audit recognizes them.

Keep a single "plugin VM:" prefix on terminal VM failures. #6713 turned the
error into an enum and formatted it with Display, nesting the prefix.

Treat an interrupted model attempt with confirmed cleanup as settled when
validating a history/fork cut, matching the store's own pending index. A
cooperatively stopped Run no longer makes publishCheckpoint unavailable.

Run the computer-use native nextest suite only on macOS. #6713 removed every
Windows test its filter selected, so the Windows suite was empty and failed
before any desktop verification ran; Windows keeps its compile check.

Generated-by: Antigravity
M4n5ter added a commit that referenced this pull request Nov 10, 2026
Restore CI gates for VM diagnostics, settled model-attempt checkpoints, ASF headers, and native platform test selection.

Keep archive initialization state out of nested cursor read futures so restored history works with the default debug Host stack. Exercise encrypted replay and rate-limit retries through the Responses WebSocket fixture.

Generated-by: Antigravity
Generated-by: Codex
sunrioa added a commit to sunrioa/maka that referenced this pull request Nov 10, 2026
Reconcile discovery jobs, feedback and bounded records with the durable Run and queue contracts introduced by apache#6713. Port the Host regressions to the current fixture and preserve unknown-effect cleanup semantics.

Generated-by: OpenAI Codex
Astro-Han added a commit that referenced this pull request Nov 11, 2026
Turn timing describes the whole Turn at the page's fence, not a text
offset, but `fragment_metadata` cleared it on every fragment after the
first. The Workbench takes each fragment's timing as the row's, so a
long answer read from its tail, or extended by later fragments, still
lost its duration. Every fragment now keeps it, as before #6713.

A snapshot found a Run's termination by decoding each of its step-less
facts, which include every executor output delta, so a page could decode
a long Run's whole output. Every readable snapshot has passed
`ensure_metrics_metadata`, so `fact_kind` is always set; the lookup now
seeks `run_terminated` through the existing per-attempt index and
decodes one fact.

The completed and failed Turn test now also freezes a snapshot after
termination and expects the same timing as live history.

Generated-by: Claude Code (Claude Opus 5.5)
Astro-Han added a commit that referenced this pull request Nov 11, 2026
#6713 removed the event-log transcript index that supplied each history
row's Turn timing, left the new projection writing `timing: None`, and
cleared timing on every fragment after the first. The Workbench lost
every Turn duration: a running Turn read "Working…" forever and a
finished one showed only its activity counts, without "Worked for",
"Stopped after" or "Failed after".

Timing is now derived from canonical facts both history sources hold: a
Turn starts at its Run's admission and ends at its RunTerminated fact,
whose Terminal gives the outcome. Live history finds that fact through
the run/kind index and snapshots through the per-attempt fact_kind
index, so a page costs one lookup per Run. Every fragment keeps its
Turn's timing again.

The history service tests assert timing for running, completed and
failed Turns, and that snapshots frozen before and after termination
report the same timing as live history.

Generated-by: Claude Code (Claude Opus 5.5)
@Astro-Han

Copy link
Copy Markdown
Contributor

@M4n5ter I hit a startup failure while trying AGY on macOS with Full access. Sending “介绍下你自己。” never reached AGY: private workspace preparation failed four times with:

isolated task helper: workspace symlink targets an external resource

The workspace contains external symlinks, including Python virtualenv interpreter links and links in local experiment directories. The Run stays in authorityUnavailable, and the UI shows “Waiting for access to be restored.”

I traced this to the TaskOwner path introduced in this PR. Even with Full access, the native process works in a private workspace, loses direct write access to the original project, and relies on Host publication to apply its changes. Before changing that path, I’d like to understand the constraints:

  1. Why does Full access still require a private snapshot of the entire project? Is the essential guarantee preventing a detached process from writing after Stop or authority loss, protecting Host resources, requiring all native file changes to go through Host publication, or some combination?
  2. What failure case makes process lifecycle management insufficient? For example, what remains unsafe with owned process trees, cancellation and confirmed cleanup that requires a separate workspace and publication step? I understand that losing observation does not prove process exit; I’m trying to understand why the filesystem copy is necessary in addition.
  3. How should ordinary development workspaces be supported? External symlinks, virtualenvs and Git worktrees are common. The snapshot implementation currently rejects external symlinks and linked/shared Git metadata. Are these temporary implementation limits, and what is the intended way to support them without weakening the required guarantees?

I’d like to settle those constraints first, then fix the startup path and make preparation failures report the actual cause rather than appearing to wait for permissions.

M4n5ter added a commit that referenced this pull request Nov 11, 2026
Reconcile streamed ACP output with committed history and share the desktop
Host defaults. Accept Claude Code lifecycle frames before initialization
and reuse the signed-in Antigravity profile for isolated native invocations.

Capture Antigravity command titles through a task-scoped hook and preserve
them in the original execution log for live activity and replay.

Refs #6713

Generated-by: OpenAI Codex
liugddx added a commit that referenced this pull request Nov 18, 2026
4d4a450 (#6974) merged the per-source ignore matchers into one
GitignoreBuilder and added them as .rgignore, .ignore, .gitignore. The
ignore crate lets the last matching rule win, so the priority was reversed:
.gitignore overrode .rgignore, and `!keep.cache` in .rgignore no longer
rescued a file excluded by `*.cache` in .gitignore. Add the sources weakest
first: .git/info/exclude, .gitignore, .ignore, .rgignore.

The regression went unnoticed because files/tests.rs had been unreferenced
since #6713. Re-attach it; the test that covers this now passes and fails
without the fix. Also restore the test-only template()/flat() helpers that
#6713 removed together with baseline/tests.rs, and re-attach that module.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Generated-by: Claude Code
M4n5ter added a commit that referenced this pull request Nov 18, 2026
…nreferenced since #6713 (#6994)

Reattach the orphaned Rust test modules and restore file candidate search precedence across ignore sources. Within each source, the nearest matching directory wins. Cover a root .rgignore exception for a file ignored by a nested .gitignore.

Co-authored-by: Claude Opus 5.5 <[email protected]>
Co-authored-by: Wang <[email protected]>
Generated-by: Claude Code
Generated-by: Maka
M4n5ter added a commit that referenced this pull request Nov 20, 2026
…7082)

Restore the five Codex inventory and discovery integration tests removed in #7069 (originally orphaned when #6713 deleted codex/mod.rs) and mount them from tests/integration/main.rs with a minimal DiscoveryTransport harness.

Covers serverSideCompaction opt-in, comp_hash preservation/validation, ChatGPT-Account-ID mismatch rejection during discovery, and Responses wire encoding.

Generated-by: Maka
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.

3 participants