clavue 8.25.2 → 8.26.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
# Clavue high-efficiency development orchestration
|
|
2
|
-
|
|
3
|
-
Clavue's fastest development path is not a new command surface. It is an intent-context layer that describes the user's likely development shape while the existing runtime route decision remains the authority for workflow mode, plan discipline, verification discipline, recovery, and visible tools.
|
|
4
|
-
|
|
5
|
-
## Runtime model
|
|
6
|
-
|
|
7
|
-
```text
|
|
8
|
-
User turn
|
|
9
|
-
-> development intent classifier
|
|
10
|
-
-> route decision and visible tools
|
|
11
|
-
-> advisory development context derived from the route decision
|
|
12
|
-
-> model tool execution
|
|
13
|
-
-> verification and outcome
|
|
14
|
-
```
|
|
15
|
-
|
|
16
|
-
The development context layer must stay above tools and below user intent. It does not replace route policy, permissions, tool schemas, plan discipline, verification discipline, or recovery behavior. It only adds a compact system-context hint that summarizes intent and repeats the authoritative route decision.
|
|
17
|
-
|
|
18
|
-
## Intent classes
|
|
19
|
-
|
|
20
|
-
| Intent | Typical trigger | Runtime bias |
|
|
21
|
-
|---|---|---|
|
|
22
|
-
| `diagnose` | "先分析", "read-only", "do not edit" | inspect only |
|
|
23
|
-
| `review_plan` | "审查项目并给升级方案", "review and provide upgrade plan" | analytical review only |
|
|
24
|
-
| `continue` | "继续", "keep going", "做完" | continue active work |
|
|
25
|
-
| `quick_fix` | direct bug/feature request | inspect, edit, targeted test |
|
|
26
|
-
| `complex_implementation` | "实现架构调整", "重构并落地", "complex implementation" | non-trivial execution bias |
|
|
27
|
-
| `parallel_investigation` | "team", "parallel", "并行" | team/agent fan-out |
|
|
28
|
-
| `docs_plan` | "形成文档", "设计方案" | plan/document first |
|
|
29
|
-
| `commit` | git commit request | git-only flow |
|
|
30
|
-
| `release` / `publish` | release or npm publish | release gate |
|
|
31
|
-
| `push` | git push/GitHub push | explicit external action |
|
|
32
|
-
|
|
33
|
-
## Context outputs
|
|
34
|
-
|
|
35
|
-
The context produces only advisory metadata:
|
|
36
|
-
|
|
37
|
-
- `mode`: inspect, review, execute, plan, parallel, release, or git bias
|
|
38
|
-
- route workflow mode copied from the runtime decision
|
|
39
|
-
- route plan discipline copied from the runtime decision
|
|
40
|
-
- route verification discipline copied from the runtime decision
|
|
41
|
-
- route recovery mode copied from the runtime decision
|
|
42
|
-
- `userFacingInstruction`: compact summary that says route policy remains authoritative
|
|
43
|
-
|
|
44
|
-
## Safety boundaries
|
|
45
|
-
|
|
46
|
-
- Route policy remains the source of truth for provider capability, workflow mode, plan discipline, verification discipline, recovery, and visible tools.
|
|
47
|
-
- Tools remain generic. They do not decide when they should be used.
|
|
48
|
-
- External side effects such as publish, push, tag, PR creation, or destructive cleanup still require explicit user authorization.
|
|
49
|
-
- Parallel agents are recommended only for independent research or separated work streams.
|
|
50
|
-
- Completion claims must cite verification when the policy requires it.
|
|
51
|
-
|
|
52
|
-
## User-facing triggers
|
|
53
|
-
|
|
54
|
-
Users can continue to write naturally:
|
|
55
|
-
|
|
56
|
-
```text
|
|
57
|
-
继续,把当前任务做到验证通过
|
|
58
|
-
先只读分析,不要改代码
|
|
59
|
-
审查当前项目并提供升级方案
|
|
60
|
-
稳健实现这个功能,覆盖测试
|
|
61
|
-
用 team 并行分析并推进这个问题
|
|
62
|
-
确认发布 patch 版本到 npm,发布前跑完整检查
|
|
63
|
-
按当前改动生成原子 git commit,只用 git
|
|
64
|
-
```
|
|
65
|
-
|
|
66
|
-
The runtime turns these into compact advisory context instead of requiring the user to learn a mode language.
|
|
67
|
-
|
|
68
|
-
## Implementation locations
|
|
69
|
-
|
|
70
|
-
- `src/runtime/developmentIntent.ts` classifies the turn intent.
|
|
71
|
-
- `src/runtime/developmentOrchestrationPolicy.ts` maps intent plus route decision into advisory context.
|
|
72
|
-
- `src/runtime/developmentOrchestrationPrompt.ts` renders the compact prompt block.
|
|
73
|
-
- `src/runtime/turn-loop-orchestrator.ts` injects the block into system context for the current turn.
|
|
74
|
-
- `tests/development-orchestration.test.mjs` locks the behavior.
|
|
75
|
-
|
|
76
|
-
## Extension points
|
|
77
|
-
|
|
78
|
-
Future product work can build on this without polluting tools:
|
|
79
|
-
|
|
80
|
-
- Show the selected orchestration mode in the outcome card.
|
|
81
|
-
- Let `/doctor` detect PATH shadowing and stale global installs.
|
|
82
|
-
- Add a dedicated release skill that reuses `release_gate` policy.
|
|
83
|
-
- Teach `/team` to recommend parallel layouts for common work shapes.
|