[UNIWIZARD] Routing modules — quality scorer, task classifier, self-grader, heartbeat #106

Closed
Rockachopa wants to merge 1 commits from feat/uniwizard-routing-modules into main
Owner

What

5,863 lines of production code + design docs for the Uniwizard routing intelligence layer.

Built By

Kimi K2.5 running through OpenClaw gateway, dispatched via Gitea assigned-kimi labels.
This PR is the proof that the Kimi delegation pipeline works end to end.

Modules

Module Lines Tests Issue
quality_scorer.py 642 28 pass #98
task_classifier.py 655 32 pass #88
self_grader.py 769 26 pass #89
kimi-heartbeat.sh 110

86 tests total, all passing.

Design Docs

  • task_classifier_design.md — Backend strength mapping, classification logic
  • self_grader_design.md — Session grading methodology, pattern detection
  • context_compression_review.md — Audit of existing Hermes compressor with improvement proposals
  • context_compressor.patch — Concrete diff for compressor improvements
  • job_profiles.yaml — Toolset profiles per job type for context narrowing
  • job_profiles_design.md — How profiles map to Hermes toolset system

How the Pipeline Worked

  1. Issues #98, #88, #89 labeled assigned-kimi in Gitea
  2. Kimi heartbeat picked them up, posted kimi-in-progress comments
  3. Kimi worked each issue through OpenClaw (kimi/kimi-code backend)
  4. Code produced at ~/.timmy/uniwizard/
  5. Tests written and verified (86/86 passing)
  6. Packaged into this PR

What This Enables

  • quality_scorer: Track which backends perform best at what. recommend_backend('code') returns ranked list.
  • task_classifier: Classify any prompt into task type + backend preferences. Wire into routing.
  • self_grader: Grade sessions automatically. Identify failure patterns. Weekly improvement reports.
  • kimi-heartbeat: Label an issue → Kimi works it → results posted back. Gitea IS the dashboard.

Closes #98, closes #88, closes #89

## What 5,863 lines of production code + design docs for the Uniwizard routing intelligence layer. ## Built By Kimi K2.5 running through OpenClaw gateway, dispatched via Gitea `assigned-kimi` labels. This PR is the proof that the Kimi delegation pipeline works end to end. ## Modules | Module | Lines | Tests | Issue | |--------|-------|-------|-------| | quality_scorer.py | 642 | 28 pass | #98 | | task_classifier.py | 655 | 32 pass | #88 | | self_grader.py | 769 | 26 pass | #89 | | kimi-heartbeat.sh | 110 | — | — | **86 tests total, all passing.** ## Design Docs - task_classifier_design.md — Backend strength mapping, classification logic - self_grader_design.md — Session grading methodology, pattern detection - context_compression_review.md — Audit of existing Hermes compressor with improvement proposals - context_compressor.patch — Concrete diff for compressor improvements - job_profiles.yaml — Toolset profiles per job type for context narrowing - job_profiles_design.md — How profiles map to Hermes toolset system ## How the Pipeline Worked 1. Issues #98, #88, #89 labeled `assigned-kimi` in Gitea 2. Kimi heartbeat picked them up, posted `kimi-in-progress` comments 3. Kimi worked each issue through OpenClaw (kimi/kimi-code backend) 4. Code produced at ~/.timmy/uniwizard/ 5. Tests written and verified (86/86 passing) 6. Packaged into this PR ## What This Enables - **quality_scorer**: Track which backends perform best at what. `recommend_backend('code')` returns ranked list. - **task_classifier**: Classify any prompt into task type + backend preferences. Wire into routing. - **self_grader**: Grade sessions automatically. Identify failure patterns. Weekly improvement reports. - **kimi-heartbeat**: Label an issue → Kimi works it → results posted back. Gitea IS the dashboard. Closes #98, closes #88, closes #89
Rockachopa added 1 commit 2026-03-30 20:00:04 +00:00
Built by Kimi K2.5 via OpenClaw gateway, dispatched through Gitea labels.

Modules:
- quality_scorer.py: per-backend performance tracking (issue #98)
- task_classifier.py: prompt classification and routing (issue #88)
- self_grader.py: session grading and improvement patterns (issue #89)
- kimi-heartbeat.sh: Gitea-driven dispatch to Kimi via OpenClaw

86 tests, all passing.

Includes design docs, context compressor review/patch, and job profiles.

Closes #98, closes #88, closes #89
Rockachopa closed this pull request 2026-03-30 20:04:02 +00:00

Pull request closed

Sign in to join this conversation.