chengyongru
74942bd190
test: replace false-green checks with behavioral coverage ( #6282 )
...
* test: replace false-green checks with behavioral coverage
* test: complete behavior-focused audit coverage
2026-10-18 03:16:25 +08:00
chengyongru
8f6a5594fb
refactor(session): centralize state ownership in SQLite ( #5943 )
...
* fix(session): move persistence off event loop
* refactor(session): isolate async persistence boundary
* refactor(session): keep a single session manager
* refactor(session): use stateless async adapters
* fix(session): serialize local persistence without file-lock contention
* refactor(session): own async persistence and snapshot commits
* refactor(session): narrow persistence changes to async adapters
* refactor(session): remove redundant async forwarding helpers
* fix(command): offload compact session persistence
* fix(session): adapt idle compaction to current main
* fix(webui): offload session metadata persistence
* refactor(session): centralize state ownership in SQLite
* fix(session): skip storage for non-recoverable followups
* test(webui): honor the full gateway event deadline
* perf(session): persist incremental changes and reuse owner snapshots
* test(agent): allow durable worker shutdown in burst test
* fix(gateway): drain session storage on Windows console shutdown
* fix(session): enforce bounded ownership and lifecycle-safe persistence
* fix: reject unresolved home paths and stabilize platform tests
* fix(session): preserve request context compatibility and owner-backed tests
* docs: focus configuration guide on user-facing behavior
* fix(session): adapt goal admission to async ownership after rebase
* fix(session): integrate current gateway and subagent contracts
* fix(session): align rebased workspace admission and async tests
* fix(session): support compatible SQLite schema evolution
* test(agent): use session owner in workspace context regressions
* test: stabilize Windows lifecycle and browser checks
* refactor(session): remove premature JSONL file export
* ci: bound Windows full-suite worker concurrency
* chore: remove session state refactor notes
* fix(session): queue writes and retain worker connections
* perf(webui): read detached metadata for session and task lists
* perf(agent): bound prompt preparation and local token counting
* docs: remove internal session storage guide
* perf(session): skip archived transcripts during idle scans
* fix(session): coordinate turns and isolate legacy session data
Bind WebUI input generations to the execution session and serialize idle
and SDK compaction with turns. Keep turn drafts through preparation so the
latest channel route persists.
Move imported workspace JSONL and checkpoints to durable private backups
before gateway admission, resuming cleanup after interruptions. Remove
committed child sessions when task creation is cancelled.
Validation: focused Python and frontend regressions, Ruff, BasedPyright,
import boundaries, WebUI build, and isolated gateway/browser flows.
* fix(agent): keep cancellation hooks independent of prompt preparation
* fix(session): preserve admission, delivery, and migration contracts
* fix(agent): preserve cancellation settlement after rebase
* fix(session): preserve request attribution through async ownership
2026-10-16 17:28:47 +08:00
chengyongru
33ff520d12
fix: preserve subtask request attribution after restart ( #6247 )
...
* fix: preserve request origin across recovery continuations
* fix: bind request origin to each continuation
* fix: capture origin when queuing continuation messages
* chore: remove redundant request context comment
* fix: persist origin for independent system turns
2026-10-16 16:46:39 +08:00
chengyongru
078e35f317
fix(agent): run explicit recovery continuations
2026-09-18 18:07:03 +08:00
chengyongru
6cd7063682
refactor(agent): defer transcript assembly to runner ( #5608 )
...
* refactor(agent): defer transcript assembly to runner
Keep persisted history and the fresh turn as explicit inputs until the Runner assembles the provider transcript. Preserve ContextBuilder and direct AgentRunner compatibility while making the save boundary structural.
Refs NAN-81.
* fix(providers): preserve mixed adjacent user content
2026-08-31 00:06:15 +08:00
chengyongru
66690fdb0c
fix(webui): deliver late subagent results as new turns ( #4992 )
2026-07-22 23:04:36 +08:00
chengyongru
7f8c3453e1
refactor(agent): gate sustained goals behind explicit /goal
...
Replace the legacy long-goal skill contract with command-scoped goal tools and runtime guidance. Keep goal state durable across continuations while restricting create and replace mutations to explicit user /goal turns.
2026-07-12 00:35:17 +08:00
chengyongru
5f4cfbcb16
refactor(bus): type outbound runtime events
2026-07-01 20:17:00 +08:00
chengyongru
d72d0102d9
style: trim orphan toolcall comments
...
maintainer edit: keep the invariant comments in production code but remove repeated issue background from tests.
2026-06-13 00:05:03 +08:00
tangtaizhong666
df832a37e9
test(session): reproduce orphaned tool results from save-boundary overshoot ( #4006 )
2026-06-13 00:05:03 +08:00
chengyongru
5d91d59cf7
fix(agent): finalize max-iteration turns without tools
2026-06-10 14:47:20 +08:00
Xubin Ren
be2e0172d1
fix(agent): extend sustained goal iteration budget
2026-06-01 04:00:15 +08:00