Commit graph

20 commits

Author SHA1 Message Date
Haoran
b6b5f331ab fix: preserve only unseen tool results 2026-08-16 17:32:53 +08:00
Haoran
9a466040b3 Merge main into fix/micro-compact-latest-batch 2026-08-16 17:25:14 +08:00
Haoran
078eca78ac fix(s15): harden background task lifecycle 2026-08-16 00:26:25 +08:00
wxj
98f8ff7343 fix(s15): atomically deliver background results 2026-08-15 21:23:35 +08:00
123456wda
b5bd0ddfa1 fix: preserve latest tool result batch during compaction 2026-08-15 21:14:22 +08:00
Haoran
168fff86dd Fix empty tool-use response handling 2026-08-15 00:03:45 +08:00
Haoran
acdeacc47a Fix skill frontmatter parsing 2026-08-14 23:14:19 +08:00
Haoran
7e2f2fd99b refactor: streamline the course to 17 lessons 2026-08-12 03:02:42 +08:00
Haoran
ab35e59672 Refine course progression and runtime safety 2026-08-11 15:13:13 +08:00
Haoran
b36dbcd84f Consolidate agent harness course into 19 lessons 2026-08-04 02:25:40 +08:00
Haoran
2ad77cee19 feat: refresh goal loop lesson 2026-07-31 21:44:10 +08:00
Haoran
13dc5396bb feat: refresh context compaction lesson 2026-07-31 15:52:53 +08:00
Haoran
2d69019342 feat: consolidate course into 21 lessons 2026-07-31 03:15:58 +08:00
Haoran
cb8fae1bdd feat: refresh course through workflow and goal loops 2026-07-30 19:14:04 +08:00
John Costa
49b3822247
refactor: summarize only trimmed history in reactive_compact
reactive_compact summarized the full message history before slicing off
the recent tail, so the kept tail was summarized and then re-attached
verbatim, and the emergency prompt-too-long path re-summarized the whole
oversized context. Move the summarize_history call below the tail
computation (including the tool_use/tool_result pair adjustment) and
summarize only messages[:tail_start], so the summary covers older history
while the recent tail stays verbatim.

Applied to the duplicated function in s08, s09, and s20, with the s08
README snippets (en/zh/ja) updated to match. Adds tests covering the
normal path and the case where a tool pair straddles the tail boundary.

Fixes #350
2026-06-15 21:55:21 -07:00
gui-yue
99a1e52b36 fix: harden compaction pair handling 2026-06-07 12:35:08 +08:00
Haoran
ee9a747e09 fix: handle todo_write string inputs for issue 340
Co-authored-by: gui-yue <yuemeng.gui@gmail.com>
2026-06-03 23:24:34 +08:00
Xinlu Lai
de2f03acec
Merge pull request #77 from Gujiassh/fix/s-full-follow-up
Fix running background status in s_full
2026-03-29 23:06:41 +08:00
Gujiassh
bfac5b9b88 Add Python smoke tests 2026-03-29 17:57:57 +09:00
Gujiassh
49ab1e6ff8 Fix running background status in s_full
Keep the reference agent's background status output readable by reporting '(running)' instead of leaking a None placeholder for unfinished tasks.

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
2026-03-12 15:45:20 +09:00