Skip to content

feat(improvement): add resumable knowledge base loop#50

Merged
drewstone merged 1 commit into
mainfrom
feat/kb-improvement-resume
Jul 8, 2026
Merged

feat(improvement): add resumable knowledge base loop#50
drewstone merged 1 commit into
mainfrom
feat/kb-improvement-resume

Conversation

@drewstone

Copy link
Copy Markdown
Contributor

Summary

  • add improveKnowledgeBase() as the durable candidate-KB wrapper around the existing RAG lifecycle
  • add run state, lock leases, candidate workspaces, resume, drift-safe promotion, KB quality scoring, answer-quality blocking, and retrieval tuning on candidate indexes
  • update Tangle deps to @tangle-network/agent-eval@^0.107.0, @tangle-network/agent-runtime@^0.89.0, and @tangle-network/sandbox@^0.9.7

Verification

  • pnpm exec tsc --noEmit
  • pnpm exec vitest run tests/kb-improvement.test.ts tests/rag-improvement-loop.test.ts tests/rag-eval.test.ts tests/retrieval-eval.test.ts (26 passed)
  • pnpm exec vitest run (259 passed, 12 skipped)
  • pnpm exec tsup
  • pnpm exec biome check src tests
  • git diff --check
  • git merge-tree --write-tree origin/main HEAD

@tangletools tangletools left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Auto-approved drewstone PR — 5b562cf2

This PR was opened by the trusted drewstone account.
The full PR reviewer audit still runs separately and will publish findings if it detects issues.

tangletools · auto-approval · reason: drewstone_author · 2026-07-08T00:33:58Z

@drewstone drewstone merged commit 4562151 into main Jul 8, 2026
1 check 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.

2 participants