feat(skills): add rollout promotion contract and sync planning state

This commit is contained in:
William Valentin
2026-02-13 08:51:19 -08:00
parent 46099664f0
commit 8f644d5e25
8 changed files with 464 additions and 56 deletions
+60 -7
View File
@@ -1146,6 +1146,35 @@
],
"test_status": "typecheck + targeted policy/intents/routing tests + full test suite + build passing; lint currently fails due pre-existing unrelated repo issues"
},
"remaining-phases-phase2-pr3-history-index": {
"file": "phase2-pr3-history-index-checklist.md",
"status": "completed",
"date": "2026-02-13",
"summary": "Added lightweight session history indexing and topic search with migration-safe metadata persistence, ranked keyword search + recency scoring, gateway search/reindex handlers, and optional routing confidence boost from historical overlap.",
"files_created": [
"src/session/indexer.ts",
"src/session/search.ts",
"src/session/indexer.test.ts",
"src/session/search.test.ts",
"src/gateway/handlers/history.ts"
],
"files_modified": [
"src/config/schema.ts",
"src/config/schema.test.ts",
"src/session/store.ts",
"src/session/store.test.ts",
"src/session/manager.ts",
"src/session/manager.test.ts",
"src/session/index.ts",
"src/daemon/index.ts",
"src/daemon/routing.ts",
"src/daemon/routing.test.ts",
"src/gateway/handlers/index.ts",
"src/gateway/handlers/handlers.test.ts",
"src/gateway/server.ts"
],
"test_status": "pnpm typecheck + pnpm test:run (1593/1593) + pnpm build passing"
},
"remaining-phases-phase3-pr1-adaptive-memory-compaction": {
"file": "phase3-pr1-adaptive-memory-compaction-checklist.md",
"status": "completed",
@@ -1240,9 +1269,24 @@
],
"test_status": "pnpm typecheck + pnpm test:run (1586/1586) + pnpm build passing"
},
"gateway-agent-cancel-runtime": {
"status": "completed",
"date": "2026-02-13",
"summary": "Implemented real runtime cancellation wiring for `agent.cancel`: active requests are now cancellable at safe points in `NativeAgent`, queued lane work is cleared, and gateway/session bridge cancellation paths return explicit status messages.",
"files_modified": [
"src/backends/native/agent.ts",
"src/backends/native/agent.test.ts",
"src/backends/native/orchestrator.ts",
"src/gateway/session-bridge.ts",
"src/gateway/session-bridge.test.ts",
"src/gateway/handlers/agent.ts",
"src/gateway/handlers/handlers.test.ts"
],
"test_status": "pnpm typecheck + pnpm test:run (1597/1597) + pnpm build passing"
},
"skills_infrastructure": {
"file": "2026-02-11-skills-infrastructure-plan.md",
"status": "planned",
"status": "completed",
"date": "2026-02-11",
"summary": "Three-phase plan to improve skills system: Command Dispatch (P0), Skills Watcher (P1), Installer Specs (P1). Infrastructure-first approach before integrating ClawHub skills. Estimated 8-11 hours total. Model strategy: glm-4.7-flash for mechanical tasks, glm-4.7 for complex/orchestration tasks.",
"phases": {
@@ -1314,7 +1358,7 @@
},
"phase_2_skills_watcher": {
"priority": "P1",
"status": "in_progress",
"status": "completed",
"description": "Auto-reload skills with chokidar file watcher, configurable debounce",
"effort": "3-4 hours",
"sub_slices": {
@@ -1378,7 +1422,7 @@
},
"phase_3_installer_specs": {
"priority": "P1",
"status": "in_progress",
"status": "completed",
"description": "Auto-install dependencies (brew/node/go/download) with package manager detection",
"effort": "3-4 hours",
"sub_slices": {
@@ -1670,6 +1714,15 @@
"src/cli/skills.test.ts"
],
"test_status": "pnpm typecheck + pnpm test:run src/cli/skills.test.ts + pnpm test:run + pnpm lint (warnings only, 0 errors) + pnpm build passing"
},
"shell_runner_promotion_contract_output": {
"status": "completed",
"description": "Added dedicated machine-readable promotion contract output for `skills rollout-status` (`--contract`) with stable schema, CI-friendly gate/exit code semantics, and optional `--out` export support",
"files_modified": [
"src/cli/skills.ts",
"src/cli/skills.test.ts"
],
"test_status": "pnpm test:run src/cli/skills.test.ts + pnpm typecheck + pnpm build passing"
}
}
}
@@ -1698,7 +1751,7 @@
},
"overall_progress": {
"total_test_count": 1586,
"total_test_count": 1597,
"all_tests_passing": true,
"p0_completion": "3/3 (100%)",
"p1_completion": "4/4 (100%)",
@@ -1714,11 +1767,11 @@
"tier3_completion": "5/5 (100%) — lane queue, credential redaction, web UI token dashboard, xAI (Grok) provider, Voyage AI embeddings",
"tier4_completion": "4/4 (100%) — gateway lock, shell completion, Tailscale Serve/Funnel, DM pairing codes",
"feature_gap_scorecard": "100/128 match (78%), 0 partial (0%), 28 missing (22%)",
"operator_dx_milestone": "Phase 3 (Live Ops Dashboard): 1/2 plans complete — metrics backend done, dashboard UI next",
"operator_dx_milestone": "Phase 3 (Live Ops Dashboard): 2/2 plans complete — milestone done",
"gmail_auth_cli": "flynn gmail-auth command implemented with OAuth2 flow, doctor check, config routed to Telegram",
"native_audio_support": "completed — smart routing for native audio (Gemini/OpenAI/GitHub) vs Whisper transcription fallback",
"remaining_phases_completion": "Phase 1: 3/3 (100%) — context levels, command registry, memory structure. Phase 2: 2/2 (100%) — component registry, confidence routing. Phase 3: 2/2 (100%) — adaptive memory/compaction, truthfulness/autonomy hardening",
"next_up": "Skills infrastructure follow-up: expose promotion-policy status as a dedicated machine-readable contract for automation consumers (e.g., CI gate or dashboard ingest) before broader shell-runner rollout"
"remaining_phases_completion": "Phase 1: 3/3 (100%) — context levels, command registry, memory structure. Phase 2: 3/3 (100%) — component registry, confidence routing, history index. Phase 3: 2/2 (100%) — adaptive memory/compaction, truthfulness/autonomy hardening",
"next_up": "Define next milestone and create a new implementation checklist (all remaining-phases PR slices complete)"
},
"soul_md_and_cron_create": {
"date": "2026-02-11",