Commit Graph

36 Commits

Author SHA1 Message Date
mateaix
36a269d3dd fix(goal): keep managed acceptance reads fresh in agent graphs 2026-09-14 23:09:54 +08:00
mateaix
23f0ca6f54 fix(goal): fence expired owners with absolute lease deadlines 2026-09-14 22:58:11 +08:00
mateaix
da73826a1a fix(goal): preserve absolute JSON expiry across timezone changes 2026-09-14 22:48:26 +08:00
mateaix
30795da1ba test(goal): replay JSON acceptance on external databases 2026-09-14 22:40:16 +08:00
mateaix
a68f438040 test(goal): verify managed JSON upgrade and restart durability 2026-09-14 22:34:28 +08:00
mateaix
0899555f07 feat: expose managed JSON versions and checks in goal UI 2026-09-14 22:14:36 +08:00
mateaix
8cca7159fc fix: fence runtime goal completion with current authenticated owner 2026-09-14 22:03:20 +08:00
mateaix
4a7f0e211e fix: keep managed JSON goals running until completion is committed 2026-09-14 21:57:01 +08:00
mateaix
4277172529 feat: require current managed JSON bindings at goal completion 2026-09-14 21:46:16 +08:00
mateaix
5cc8765681 feat: bind trusted JSON checks to current requirements and versions 2026-09-14 21:37:38 +08:00
mateaix
2b6bde9971 feat: fence managed JSON publication to current goal runtime owners 2026-09-14 21:29:42 +08:00
mateaix
bc6882e629 feat: add managed goal JSON version storage and publication API 2026-09-14 21:21:05 +08:00
mateaix
868e2dbfb1 Persist user JSON acceptance contracts and block unverified completion 2026-09-14 20:57:09 +08:00
mateaix
5e1248432d fix(goal): reject trailing model evaluation documents 2026-09-14 01:12:26 +08:00
mateaix
b58fd93430 fix(goal): reject ambiguous model checklist results 2026-09-14 00:52:24 +08:00
mateaix
0498530f3a fix(goal): refresh progress when requirements are appended 2026-09-13 23:46:31 +08:00
mateaix
52a2843bdf fix(goal): sync completion memory after transaction commit 2026-09-13 23:39:45 +08:00
mateaix
542f075759 fix: avoid completion side effects on goal no-op transitions 2026-09-13 23:10:45 +08:00
mateaix
96ed9cda27 fix: include configured goal success-check guidance 2026-09-13 22:47:29 +08:00
mateaix
0c045eaff8 fix: fence goal evaluations against definition revisions 2026-09-13 22:40:59 +08:00
mateaix
6a00c3869d fix: derive goal progress from the current merged checklist 2026-09-13 22:04:57 +08:00
mateaix
b04b0f673b fix(goal): preserve criteria initialized while bootstrap is in flight 2026-09-13 21:21:45 +08:00
mateaix
501a1f8bdb fix(goal): recheck current criteria before automatic completion 2026-09-13 21:00:40 +08:00
mateaix
88cd78af5e fix(goal): reject checklist passes without evidence 2026-09-13 20:38:19 +08:00
matevip
dd4db18ed8 fix(runtime): harden long-task recovery and checkpoint writes 2026-08-30 23:13:42 -04:00
matevip
01ed4a4fcd feat(goal): make long tasks recoverable and pace continuation dispatch 2026-08-27 03:49:15 -04:00
taobig
2090d09704 fix(goal): preserve continuation instructions and verified progress
Keep autonomous prompts separate from persisted user messages while retaining
conversation history and queued user attachment routing. Carry verified
checklist evidence across segments and evaluate only changed criteria.

Cancel model streams without interrupting checkpoint database writes. Fence
late worker admission during shutdown, persist accepted queued messages and
attachments, and leave interrupted execution leases recoverable.

Add regressions for prompt selection, cumulative evidence, cancellation I/O,
queued input durability and shutdown recovery. Verify 250 focused tests,
200 real General Assistant conversation rounds, 12 checkpoints across 13
autonomous segments, and pause/resume/disconnect/restart boundaries.
2026-08-26 06:17:05 -04:00
taobig
2fa2e60170 feat(goal): persist continuous execution across bounded turns
- Add a database-backed supervisor with durable scheduling, fenced leases,
  cooldowns, bounded worker concurrency and expired-lease restart recovery.
- Default new goals to persistent execution with zero meaning unlimited
  cumulative budget; preserve legacy goals and explicit positive limits.
- Yield bounded graph segments to the supervisor instead of ending unfinished
  goals at graph-local continuation limits. Require persisted checklist
  evidence before accepting completion, including concurrent criterion edits.
- Share conversation admission across interactive and background execution;
  preserve partial replies, usage and queued user input during interruption.
- Persist Stop and missing-input pauses, respect approval boundaries, and
  commit resume and approval-denial transitions with correct transactions.
- Retry identifiable transient failures with backoff; retain visible pauses
  for budget limits and errors that require review instead of replaying tools.
- Expose owner-authorized execution status and reconnectable scheduling events;
  add H2, MySQL and Kingbase migrations, API types and bilingual documentation.

Validation: 298 focused backend tests passed, including persistence, restart
scheduling, approval races, cancellation, admission and existing runtime tests.
Frontend type checking, bundled-doc parity and ID precision checks passed.
V188 is registered and all three dialects have unique migration versions;
the migration-map audit still reports 95 pre-existing missing registrations.

Scope: single-backend native runtime. Recovery checks existing state before
repeating effects; this does not promise exactly-once external tool execution.
2026-08-26 05:46:15 -04:00
matevip
3883b68cca fix(goal): drop score gate, bill failed evaluator calls, fix Evaluator SPI + tool prompt + bootstrap cap 2026-06-03 21:19:27 +08:00
matevip
a756da7817 test(goal): rewrite evaluator tests for bootstrap/verdict modes 2026-06-03 21:19:27 +08:00
matevip
77196acbcd test(goal): checklist codec + service coverage; final internal-ref sweep 2026-06-03 21:19:27 +08:00
matevip
c5ccce8ebc feat(goal): deterministic completion + remaining-criteria followup + auto-followup gates 2026-06-03 21:19:26 +08:00
matevip
cd1c66fc0e feat(goal): structured checklist data model — criteria column, criterion records, dual-carrier evaluation result 2026-06-03 21:19:26 +08:00
matevip
9e93c52d9a fix(goal): real evaluator, retry refactor, hardened node + extra edges 2026-05-21 22:27:00 +08:00
matevip
ce74a0ae48 feat(goal): graph topology + evaluation node wired into ReAct + Plan-Execute 2026-05-21 14:43:13 +08:00
matevip
ac6c8a18e3 feat(goal): persistent cross-turn goal with self-evaluation scaffolding 2026-05-21 14:43:01 +08:00