Implement M4.1: Skill draft command + 10 tests (229 total)

This commit is contained in:
Story Crater Bot
2026-08-26 13:50:22 -07:00
parent 55a75c9a91
commit d21d99c8b4
8 changed files with 366 additions and 57 deletions
+3 -3
View File
@@ -63,7 +63,7 @@ Legend: ⬜ not started · 🟡 in progress · ✅ done · ⛔ blocked
| 3 | Projections | M2.x | 8 | 5 | 0 | 3 | ✅ M2.8 (M2.1, M2.3, M2.4, M2.5 ✅) |
| 4 | L2 synthesis + retrieval | M3.x | 4 | 4 | 0 | 0 | ✅ M3.4 |
| 4.5 | Distributed API Layer | M3.5.x | 9 | 8 | 0 | 1 | ✅ M3.5.8 |
| 5 | Skills | M4.x | 3 | 0 | 1 | 2 | ⬜ M4.3 |
| 5 | Skills | M4.x | 3 | 1 | 0 | 2 | ⬜ M4.3 |
| 5.5 | Reference corpora | M3.6.x | 6 | 1 | 0 | 5 | ⬜ M3.6.6 |
| 5.6 | Tool context | M3.7.x | 6 | 0 | 2 | 4 | ⬜ M3.7.6 |
| 6 | Post-training | M5.x | 6 | 0 | 0 | 6 | ⬜ M5.6 |
@@ -75,7 +75,7 @@ M3.5 API layer 8/9 done (M3.5.18 ✅, M3.5.9 git-context pending). M3.6.1 Doc
Starting M4 (Skills) and M5 (Post-training) tracks. E2E/API testing deferred until after M4-M5 work.
Significant early work for M3.7 and M4: `mem-core/src/lesson.rs` (871 lines, 17 unit tests)
implements signature extraction, normalisation, tier-based lookup, lesson derivation, and SKILL.md
rendering — M3.7.7, M3.7.5, M4.1 are 🟡. `mem-cli/src/lessons_cmd.rs` (223 lines) provides working
rendering — M3.7.7, M3.7.5 are 🟡. M4.1 ✅ done. `mem-cli/src/lessons_cmd.rs` (311 lines) provides working
`mem capture|resolve|lookup|materialize`. **Tests: 219 passing, 2 ignored.**
`M2.2` (CNPG manifest), `M5.4` (vLLM+LoRA), `M3.5.9` (git refs), and
@@ -160,7 +160,7 @@ Homelab frontend integration: HTTP facade via `api.riotpiao.com`. Runs in parall
| Task | Title | Size | Flags | Status |
|---|---|---|---|---|
| [M4.1](M4.1-skill-draft.md) | `mem skill draft` | M | — | 🟡 `render_skill()` in `lesson.rs`, `mem materialize` in CLI |
| [M4.1](M4.1-skill-draft.md) | `mem skill draft` | M | — | |
| [M4.2](M4.2-derived-filter.md) | `derived: true` ingest filter | M | — | ⬜ |
| [M4.3](M4.3-m4-gate.md) | **M4 composition gate** | M | gate | ⬜ |