Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
82 commits
Select commit Hold shift + click to select a range
973d8ba
fix: restore source files after failed candidate adoption
KaiEureka Nov 17, 2026
0484977
fix(llm): recheck queued request budgets before dispatch
KaiEureka Nov 17, 2026
dc52061
fix(session): settle cancellation races after eager usage accounting
KaiEureka Nov 17, 2026
0cc9035
fix: restore pruned candidate directory ancestors
KaiEureka Nov 17, 2026
12f543c
fix(workflow): enforce authored child budgets at native admission
KaiEureka Nov 17, 2026
881cf97
fix: restore candidate ancestor permissions after publication errors
KaiEureka Nov 17, 2026
070b772
fix: serialize candidate publication and recovery
KaiEureka Nov 17, 2026
add00cf
fix: recover candidate files in read-only workspace roots
KaiEureka Nov 17, 2026
760eb42
fix(workflow): charge authored usage before team admission
KaiEureka Nov 17, 2026
b91634c
fix: preserve provider sentinels and POSIX test environments
KaiEureka Nov 17, 2026
c671a3b
fix(scheduler): wait for cross-agent budget cleanup before stalling
KaiEureka Nov 17, 2026
f41ed4d
fix(workflow): share candidate and structured edit ownership
KaiEureka Nov 17, 2026
32f5be3
fix(llm): recheck token budgets before provider retries
KaiEureka Nov 17, 2026
e0c179e
fix(workflow): run large candidate recovery commands from scripts
KaiEureka Nov 17, 2026
3f3f8fd
fix(llm): preserve caller timeout errors in Responses callbacks
KaiEureka Nov 17, 2026
f2ca14c
fix(docker): lock physical ancestors for aliased edits
KaiEureka Nov 17, 2026
de5b3ce
fix(llm): prepare first request at client admission
KaiEureka Nov 17, 2026
70be4fa
fix(anthropic): invalidate native history after transcript edits
KaiEureka Nov 17, 2026
87d8d4b
fix(docker): retain temporary ownership before publication
KaiEureka Nov 17, 2026
897da53
fix(workflow): retain loaded modules through owned cleanup
KaiEureka Nov 17, 2026
e092227
fix(files): preserve physical parent traversal before file access
KaiEureka Nov 17, 2026
a207991
fix(files): bound descriptors during parent traversal
KaiEureka Nov 17, 2026
458eccc
test(workflow): avoid parent cleanup waits across Python versions
KaiEureka Nov 17, 2026
c98df6c
fix(session): keep Anthropic snapshots compact and restorable
KaiEureka Nov 18, 2026
aee56ba
fix(docker): retain edit ownership across directory changes
KaiEureka Nov 18, 2026
6637691
fix(workflow): stage oversized recovery scripts in bounded fragments
KaiEureka Nov 18, 2026
babdf4d
fix(llm): settle usage before releasing request slots
KaiEureka Nov 18, 2026
2b21cb5
fix(scheduler): retry inbox delivery after individual budget releases
KaiEureka Nov 18, 2026
40412bc
fix(workflow): retain loaded modules through runtime finalization
KaiEureka Nov 18, 2026
8d69a3f
fix(anthropic): preserve the default output limit during admission
KaiEureka Nov 18, 2026
8145f2b
fix(docker): resolve grouped edits within the candidate repository
KaiEureka Nov 18, 2026
ccc7e3c
fix(workflow): retain ownership of interrupted recovery allocation
KaiEureka Nov 18, 2026
98b7c6e
fix(session): retain journal rewrites across native history refreshes
KaiEureka Nov 18, 2026
188d992
fix(files): resolve remote search and workflow paths in their backend
KaiEureka Nov 18, 2026
6be9001
fix(session): reconcile journal rewrites with persisted history
KaiEureka Nov 18, 2026
227a576
fix(llm): honor legacy completion wrapper signatures
KaiEureka Nov 18, 2026
b02cdb5
fix(workflow): preserve concurrent writes during candidate recovery
KaiEureka Nov 18, 2026
6c7b255
fix(workflow): restore saved candidate files without a second copy
KaiEureka Nov 18, 2026
78e2709
fix(workflow): preserve writes made during candidate recovery
KaiEureka Nov 18, 2026
d2c66c4
fix(session): prepare snapshots without querying model transports
KaiEureka Nov 18, 2026
006bbe9
fix(llm): honor explicit revalidation in decorated clients
KaiEureka Nov 18, 2026
5e83849
fix(workflow): preserve Git attributes during candidate recovery
KaiEureka Nov 18, 2026
bdb097a
fix(session): persist rebuilt native history without duplicating the …
KaiEureka Nov 18, 2026
cfb6e5c
fix(llm): honor revalidation declarations stored as descriptors
KaiEureka Nov 19, 2026
c553778
fix(session): preserve journal fallback when native checkpoints fail
KaiEureka Nov 19, 2026
0bd5025
fix(session): fit native checkpoints using compact encoding
KaiEureka Nov 19, 2026
c2e6147
fix(workflow): retain recovery data for overlapping managed commands
KaiEureka Nov 19, 2026
be25968
test: express UTF-8 fixture values with Unicode escapes
KaiEureka Nov 19, 2026
1ba940c
fix(workflow): preserve detached files during candidate rollback
KaiEureka Nov 19, 2026
7c6d792
fix(workflow): retain rollback files without hard-link support
KaiEureka Nov 19, 2026
81428b8
fix(session): preserve typed JSON values in native history
KaiEureka Nov 19, 2026
d484735
perf(workflow): batch local recovery hard links
KaiEureka Nov 19, 2026
45dafca
fix(workflow): preserve candidate recovery across mounts
KaiEureka Nov 19, 2026
a29e6c7
fix(llm): preserve request admission through decorated clients
KaiEureka Nov 19, 2026
a639827
fix(workflow): find writable linked worktree recovery storage
KaiEureka Nov 19, 2026
b69a233
fix(session): preserve legacy journal autosaves during compaction
KaiEureka Nov 19, 2026
d2d5716
fix(llm): keep completion controls on the routed request
KaiEureka Nov 19, 2026
8873348
ci: allow the Python 3.12 job to finish DOM checks
KaiEureka Nov 19, 2026
ddfdfac
fix(workflow): exclude mounted recovery stores from source capture
KaiEureka Nov 20, 2026
c327f58
fix(session): preserve autosave ownership and legacy transcripts
KaiEureka Nov 20, 2026
11f91ce
fix(llm): bind scoped controls to the routed completion
KaiEureka Nov 20, 2026
a1b774c
fix(llm): settle usage for each routed provider completion
KaiEureka Nov 20, 2026
9a75589
fix(session): accept JSON builtin subclasses in autosave comparisons
KaiEureka Nov 20, 2026
06ca18f
fix(llm): preserve admission through legacy routing metadata
KaiEureka Nov 20, 2026
f24b04a
fix(workflow): rediscover retained mount recovery after permission ch…
KaiEureka Nov 20, 2026
677bbff
fix(llm): reconcile fallback retry usage by provider
KaiEureka Nov 20, 2026
5282ba0
fix(llm): preserve usage identity through response copies
KaiEureka Nov 20, 2026
9279aeb
fix(session): preserve late provider budget settlement
KaiEureka Nov 20, 2026
16dfde1
fix(llm): preserve accounting across context annotations
KaiEureka Nov 20, 2026
5b7e431
fix(session): retain compacted tool history across transcript edits
KaiEureka Nov 20, 2026
334eacc
fix(workflow): preserve bulk write locks under descriptor limits
KaiEureka Nov 20, 2026
1429bcf
test(workflow): isolate descriptor limits from the suite process
KaiEureka Nov 20, 2026
d27516b
ci: allow the full Python test suite to finish
KaiEureka Nov 20, 2026
bce552a
fix(tools): retain file locks through interrupted adoption
KaiEureka Nov 21, 2026
d7c4153
fix(storage): resume autosaves with legacy Anthropic history
KaiEureka Nov 21, 2026
d58903a
fix(session): preserve compacted Anthropic spans across edits
KaiEureka Nov 21, 2026
261d5be
fix(llm): settle responses with redacted usage details once
KaiEureka Nov 21, 2026
8e96531
fix(llm): reconcile copied usage from settlement callbacks
KaiEureka Nov 21, 2026
05b1a90
fix(tools): use one socket for a single lock holder
KaiEureka Nov 21, 2026
cf76d8c
fix(llm): reconcile usage settled by completion wrappers
KaiEureka Nov 21, 2026
1909e16
fix(session): retain recovery timestamps on restore retry
KaiEureka Nov 21, 2026
404a5cd
fix(tools): allow concurrent local edits to sibling files
KaiEureka Nov 21, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ concurrency:
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 40
# Allow the full suite and the Python 3.12 DOM checks to finish on hosted runners.
timeout-minutes: 45
strategy:
fail-fast: false
matrix:
Expand Down
9 changes: 9 additions & 0 deletions docs/duo.md
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,15 @@ Git candidates start with the source's current tracked files and untracked files
that aren't ignored. Their delivered patches describe the subsequent candidate edits.
Adoption applies that increment to the current source files and preserves independent
user edits and the source index. A conflicting patch leaves the current source in place.
If a partially applied patch is rolled back, OpenCollab retains detached files that
another process may still be writing to. The error or warning gives the
`candidate-recovery-*` directory, typically in the common Git directory.
When shared Git metadata is read-only, OpenCollab prefers a writable location
on the same filesystem outside the worktree so the files survive worktree removal.
When present, `volumes/` records list additional recovery directories on affected
mounts. The adjacent `path` or `.path` record identifies each file's original
location. Close the writers and recover their data before removing the recovery
directories or worktree.
Changes to ignore rules preserve files copied from the source and files added to
the candidate index or commits. Newly created ignored files join delivery when
explicitly added with `git add --force`.
Expand Down
2 changes: 2 additions & 0 deletions docs/duo/README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ Duo 通过现有候选工作区接口完成隔离、变更捕获与采用。默

Git 候选从源目录当前受跟踪文件和未被忽略的未跟踪文件开始,交付补丁表示候选随后产生的增量。采用时将增量应用到当前源文件,保留独立用户修改和源索引,冲突会保留当前源目录。修改忽略规则后,已从源目录复制的文件和候选中已加入索引或提交的文件仍进入交付。新建的忽略文件经 `git add --force` 加入后进入交付。

补丁部分应用后回滚时,OpenCollab 会保留其他进程可能仍在写入的文件。错误或警告会给出 `candidate-recovery-*` 目录,通常位于 Git 公共目录下。Git 公共目录只读时,OpenCollab 优先选择同一文件系统上工作树外的可写目录,让恢复文件在移除工作树后得以保留。如果包含 `volumes/`,该目录中的记录列出受影响挂载卷上的其他恢复目录。相邻的 `path` 或 `.path` 记录标明文件原来的位置。移除恢复目录或工作树前,请等待写入进程关闭文件,并恢复其中的数据。

候选运行期间源目录发生变化,运行时会报告错误并保留候选工作树。错误包含初始 Git tree,工作树中的 `refs/worktree/opencollab-source` 继续引用它,可以通过 `git show <tree>:<path>` 恢复文件。后端提供源版本时,`CandidateRun.source_revision` 记录源 `HEAD`,采用前再次核对。源 diff 相同而 `HEAD` 已变化时,采用也会被拒绝。

本地 Git 候选初始化源目录中已有的干净子模块,包含选定工作区内的嵌套依赖。尚未初始化的可选子模块保持空目录。源子模块的变化会在候选获取前报告。候选修改子模块文件、提交或 gitlink 时,`CandidateCaptureError` 会保留完整工作树供恢复。仓库补丁后端交付父仓库的改动,子模块修改需要对应的交付后端。
Expand Down
4 changes: 4 additions & 0 deletions docs/session-isolation.md
Original file line number Diff line number Diff line change
Expand Up @@ -241,3 +241,7 @@ to run its child agents in independent worktrees inside its own VM. Individual
child calls can select `isolation="vm-session"` to request another guest. The
[executable VM example](../examples/vm-authored-workflow/README.md) starts with a
member writing source and finishes by collecting the native child result.

The `budget` on `launch` is the child's total token allowance, shared across its
sessions. The host checks the remaining allowance before each model request,
including calls made with `over_budget_ok=True` inside the child.
3 changes: 3 additions & 0 deletions docs/session-isolation.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -174,3 +174,6 @@ Team 成员之间的通信继续遵循配置中的拓扑。
省略时继承成员策略。成员使用 `{"action":"launch","source":"generated.py","isolation":"worktree"}`
可让子 Agent 在自己的 VM 中使用独立工作树。单个子调用可通过 `isolation="vm-session"` 申请另一台来宾。
[可执行 VM 示例](../examples/vm-authored-workflow/README.zh-CN.md) 从成员写出源码开始,执行到取得原生子运行结果。

`launch` 的 `budget` 是子运行各 Session 共享的总额度。控制端在每个模型请求开始前检查剩余额度,
子代码使用 `over_budget_ok=True` 的调用也受该额度约束。
Loading
Loading