Skill Proposer.Test
Path:
loom-sprint-scaffold/loom/tests/synthesis/skill-proposer.test.tsRelative: loom/tests/synthesis/skill-proposer.test.tsSubproject: loom-sprint-scaffoldCategory: testsLines: 206Bytes: 7,692Imports: 4Exports: 0has tests
Content Preview
- /**
- * Tests for H5.2 — Skill Proposer.
- *
- * Proves:
- * - extractSuccessfulSequences groups tool calls by dispatch
- * - detectRecurringPatterns finds patterns across ≥ N distinct goals
- * - Detection at exactly N distinct goals (boundary test)
- * - writeSkillProposal writes via store and returns correct shape
- * - runSkillProposer orchestrates correctly
- * - Skills have status='proposed' (type-level guarantee)
- */
- import { describe, expect, test } from "bun:test";
- import {
- extrac