308 Commits

Author SHA1 Message Date
0ea8dfc7d9 fix(core): correct logback log level fallback syntax (#1) 2026-05-09 14:51:28 +08:00
8cb876b532 feat(partnerctl): add --log-level option for run command and wire runtime log level to Partner-Core 2026-05-09 14:12:32 +08:00
e6e0eef161 refactor(interaction-api): extract interaction data models into new Partner-Interaction-Api module and update imports/dependencies 2026-05-08 20:32:11 +08:00
ffc96bbb64 refactor(partnerctl): split control commands into dedicated classes and extract shared runtime utilities 2026-05-06 13:26:46 +08:00
828ddff2c2 chore(log): remove legacy log output 2026-05-05 01:29:12 +08:00
c84d88eab7 refactor(communication): simplify reply consumer buffering 2026-05-02 21:55:11 +08:00
afb896e6db refactor(context): support assign response channel while running flow context creating 2026-05-02 16:32:25 +08:00
973875b2e7 feat(onebot): add OneBot v11 reverse websocket adapter 2026-05-02 00:02:22 +08:00
018b524be3 refactor(gateway): remove unused abstract methods 2026-05-01 22:09:16 +08:00
843549dadf chore(gateway): update log output in websocket gateway 2026-05-01 21:43:40 +08:00
178c5138f7 refactor(gateway): remove duplicate response channel register 2026-05-01 21:10:13 +08:00
572bedcd18 refactor(pom): align Maven coordinates to work.slhaf.partner and lowercase artifactIds 2026-04-30 22:45:08 +08:00
428f133ac3 refactor(agent): introduce AgentBootstrap for startup wiring and simplify app launch 2026-04-30 22:12:04 +08:00
73f6ff2745 refactor(trace): decouple recorder from file persistence
Turn TraceRecorder into a lightweight trace event entry point and move
file persistence responsibilities into the default FileTraceSink. Trace
events are now published through TraceSinkRegistry, allowing additional
runtime observers to subscribe without parsing trace files.

Add TraceSink and TraceSinkRegistry, keep FileTraceSink registered as the
default sink, and preserve the existing active/historical/archived trace
file rotation behavior inside the file sink.

Also change TraceEvent to carry a logical key instead of a caller-provided
path, so trace storage locations are resolved internally under the traceroot. Update existing trace producers to emit logical keys such ascontext-workspace, exception, and advice targets.
2026-04-27 23:53:20 +08:00
3eac52f4e2 refactor(action): switch builtin actions to provider-driven self-registration 2026-04-27 20:53:45 +08:00
cf61c171a5 fix(action): stabilize staged action execution metadata
Use a stage-local Phaser in ActionExecutor so each action-chain stage
waits on its own execution phase. This avoids reusing a terminated
Phaser after the first stage completes, which could cause later stages
to advance without actually waiting for their MetaActions and trigger
FINAL_CHECK prematurely.

Add stage-level descriptions to evaluated action chains and pass them
through execution/correction contexts. Stage descriptions are now aligned
with normalized action-chain order, exposed to ParamsExtractor, persisted
in action state, and included in CorrectorInput so repeated MetaActions
can be parameterized and corrected according to their concrete stage
objective.

Also fix APPEND intervention semantics to append after the requested
stage instead of overwriting or dropping stages, and include stage
descriptions in correction prompts to distinguish stage intent from
generic MetaAction capability descriptions.
2026-04-27 18:41:32 +08:00
822ea82593 feat(action): add stage descriptions to action chains 2026-04-27 17:54:38 +08:00
f957d7caa4 fix(action): continue execution after final correction 2026-04-27 17:01:50 +08:00
9be499eb64 refactor(action): optimize prompt of ActionExtractor 2026-04-27 17:01:38 +08:00
184c396752 fix(action): stabilize scheduler wheel lifecycle 2026-04-27 16:25:42 +08:00
04ceccc46f fix(action): clarify pending action intention context 2026-04-27 15:51:42 +08:00
b0185c65c8 chore(action): remove unused variable 2026-04-27 15:34:48 +08:00
9144cd90ce refactor(project): remove Partner-Common module and move InProcessMcpTransport into Partner-Core 2026-04-26 19:45:38 +08:00
aa98c29744 refactor(communication): optimize prompt to avoid unexpected output in communication producer 2026-04-26 16:38:13 +08:00
eade39328a refactor(memory-selector): refactor memory recalling into async worker 2026-04-25 23:22:43 +08:00
075a8ece3e refactor(action-planner): optimize prompts and initiate-turn input 2026-04-25 19:31:51 +08:00
4bc2e4adbf refactor(action-executor): add FINAL_CHECK fallback correction at chain end and pass check mode/result in corrector input 2026-04-25 16:56:47 +08:00
9240ed44c4 refactor(action-evaluator): optimize prompt 2026-04-25 14:41:56 +08:00
878fe4dc10 refactor(action-planner): simplify tendencies state hint naming and always follow up on refused candidates 2026-04-25 13:17:23 +08:00
a14e123ff6 fix(communication): rolling out all chat messages on auto triggered and raise dialog rolling trigger length limit 2026-04-24 23:20:56 +08:00
e37dc7bc9b refactor(action-executor): emit action-finished state hint and trigger cognition turn on executable completion 2026-04-24 22:28:25 +08:00
51706eb55e refactor(action-planner): replace pending confirm blocks with StateHintContent and streamline tendency turns 2026-04-24 22:04:02 +08:00
eb3e5f3f34 refactor(context): add StateHintContent to fit information exchange between different modules with communication producer 2026-04-23 22:01:10 +08:00
164078bf42 refactor(action-evaluator): optimize prompt 2026-04-22 15:41:53 +08:00
13d04f85e2 fix(action): correct behavior of resume intervention 2026-04-21 21:38:04 +08:00
3a5d0f1cb4 refactor(action): optimize builtin actions descriptions and param explanations 2026-04-21 21:31:23 +08:00
aa05d3817b fix(action-evaluator): fix content of available-meta-actions block 2026-04-21 17:23:08 +08:00
45f7d1c51e refactor(action): optimize resolved context domains 2026-04-21 17:21:59 +08:00
3d56966381 fix(action): fix unexpected scheduled action losing 2026-04-21 17:12:44 +08:00
de340029c6 refactor(action): optimize prompts 2026-04-21 16:56:24 +08:00
96101de227 refactor(trace): trace full snapshot of context workspace on changes 2026-04-21 16:48:21 +08:00
2927cb2b6f fix(config): fix config reloading errors that caused by using wrong relative paths to load config file 2026-04-21 15:07:35 +08:00
4af8feb178 fix(memory): enhance null-safe in memory-related modules 2026-04-21 09:18:49 +08:00
406b7ba831 refactor(action): update watcher self-turn message for immediate action 2026-04-21 08:48:25 +08:00
9c902e68d0 fix(dto): add NoArgsConstructor to support formatted chat 2026-04-20 23:10:39 +08:00
4e894384bf refactor(block): optimize state action triggered block fading factor 2026-04-20 23:08:23 +08:00
d1da99c44d fix(action): correct action chain fixing error 2026-04-20 22:26:31 +08:00
d90c514159 fix(communication): fix errors while import external xml node into input xml 2026-04-20 16:40:36 +08:00
ac715602a6 refactor(gateway): print warn log while receiving invalid input 2026-04-20 15:36:23 +08:00
e1a5a07e2a Merge branch 'codex-review-localrunnerclient-v2' 2026-04-20 14:48:51 +08:00