refactor: retain decision state instead of full logs

This commit is contained in:
CoolBoy
2026-09-04 10:49:04 +08:00
parent ff73768537
commit d60551e130
9 changed files with 206 additions and 290 deletions

View File

@@ -413,11 +413,23 @@ success-based transformer selection. Missing framework/task/profile fields in hi
recovered from the durable task ledger. The evidence and category breakdown are
documented in `docs/failure-analysis-2026-09-04.md`.
Version `2026.09.04.2` switches persistence from forensic-log retention to
decision-state retention after the historical audit was incorporated. New raw
outcomes and submission intents are no longer uploaded to monthly archive
branches. The durable checkpoint keeps cumulative success/failure statistics;
the hot state keeps all pending outcomes and active intents, 300 compact recent
outcomes, 300 compact terminal intents, every ledger row belonging to an active
task plus 500 recent ledger rows, and 50 crash summaries. Failure evidence text,
signed log URLs, duplicate submission events, and resolved history outside
those windows are discarded after their category, compatibility block, memory
observation, or safe configuration vector has been extracted. Existing archive
branches are left untouched but are no longer read or updated.
## Deploy
Create a tag and submit the repository URL plus tag in "我的适配智能体".
```bash
git tag -a agent-v30 -m "ModelHub agent 2026.09.04.1"
git push origin main agent-v30
git tag -a agent-v31 -m "ModelHub agent 2026.09.04.2"
git push origin main agent-v31
```