Skip to content

fix(learning): preserve research feedback and measured evidence - #190

Merged
drewstone merged 1 commit into
mainfrom
audit/learning-system-20260905
Sep 6, 2026
Merged

fix(learning): preserve research feedback and measured evidence#190
drewstone merged 1 commit into
mainfrom
audit/learning-system-20260905

Conversation

@drewstone

@drewstone drewstone commented Sep 6, 2026

Copy link
Copy Markdown
Contributor

Knowledge candidate callbacks could not use earlier diagnosis or update results because development and final measurement ran separate lifecycles.
Research also stopped when storage requirements passed, even when its driver had unfinished work.

This change carries one lifecycle through diagnosis, acquisition, update, frozen final measurement, and the promotion decision.
It deletes the post-hoc lifecycle merge and keeps final data outside adaptive updates.
It rejects disabled required phases before candidate work.
The research loop also requires an optional driver completion result and permits steering with zero storage gaps.

Default evaluator version 2 omits unmeasured answer, promotion, and blocking-readiness dimensions.
It averages measured dimensions equally and labels structural-only results.
A candidate-ready result remains detached from the live knowledge base.

Release 14.0.0 records the exported ResearchDriver interface change and the evaluator semantics.
The release uses agent-eval 0.174.x for its corrected complete-method result contract.

Validation before submission used Node 24.11.1 and the published Eval 0.174.0 package.
Source and contract typechecks passed; all 249 source and test files passed lint.
The five focused test files passed all 85 cases.
Build and packed-package checks passed, including clean install, declarations, all imports, CLI version, and re-pack.
The API record contains 995 exports across six entrypoints; only ResearchDriver changes shape.
The built artifact completed the expected two-round research flow, retained steering with zero storage gaps, and rejected unsupported candidate execution on macOS.
Ubuntu 24.04 CI passed 862 tests with seven conditional skips across 90 files, including exact Linux candidate snapshots.
A separate packed-package job passed both official GEPA and SkillOpt integrations.
Both jobs are terminal success: https://github.com/tangle-network/agent-knowledge/actions/runs/34013062769

@drewstone
drewstone merged commit 3087839 into main Sep 6, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant