This repository was archived by the owner on Apr 11, 2026. It is now read-only.
Commit 8707f35
feat: V3 MCP-native goal-driven adaptive engine (v0.2.1)
Complete V3 architecture implementation:
- New flowctl-mcp crate: rmcp 0.1.5 MCP server with 16 tool handlers (stdio transport)
- Domain types: Goal (PlanningMode × SuccessModel orthogonal), Node, PlanVersion, Attempt, Escalation
- Storage: 5 goal-scoped stores (GoalStore, PlanStore, AttemptStore, KnowledgeStore, EventStore)
- Engine: GoalEngine (assess_goal mode selection), Planner (RiskProfile), Scheduler (DAG), EscalationEngine (3-level)
- Knowledge: Learner (record/inject/compound/refresh) with word-overlap scoring + confidence weighting
- Quality: PolicyEngine with MCP + Hook adapters for physical enforcement
- Provider: ProviderRegistry with ReviewProvider/PlanningProvider traits + NoneProvider
- CLI: serve, goal, plan-v3, node, knowledge, policy, session, migrate commands
- MCP tools wired: lock→json_store, guard→subprocess, codebase_assess→CodeGraph+NgramIndex
- node.finish records Attempt+Event, releases locks, auto-records learning
- ADR-011, v3-hooks.json (2 hooks), 3 entry skills, project-context.md updated
469 tests passing. Design doc: docs/v3-final-architecture.md
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent c998651 commit 8707f35
43 files changed
Lines changed: 7218 additions & 6 deletions
File tree
- .flow-config
- bin
- docs
- decisions
- flowctl
- crates
- flowctl-cli
- src
- commands/workflow
- flowctl-core
- src
- domain
- engine
- knowledge
- provider
- quality
- storage
- flowctl-mcp
- src
- hooks
- skills
- flow-code-go-v3
- flow-code-learn
- flow-code-status
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
Binary file not shown.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
0 commit comments