@su-record/vibe 3.2.9 → 3.2.11
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.
- package/CLAUDE.md +2 -2
- package/dist/__tests__/stakes-contract.test.js +32 -0
- package/dist/__tests__/stakes-contract.test.js.map +1 -1
- package/dist/__tests__/stuck-semantics.test.d.ts +2 -0
- package/dist/__tests__/stuck-semantics.test.d.ts.map +1 -0
- package/dist/__tests__/stuck-semantics.test.js +109 -0
- package/dist/__tests__/stuck-semantics.test.js.map +1 -0
- package/dist/cli/postinstall/fs-utils.d.ts +18 -1
- package/dist/cli/postinstall/fs-utils.d.ts.map +1 -1
- package/dist/cli/postinstall/fs-utils.js +42 -0
- package/dist/cli/postinstall/fs-utils.js.map +1 -1
- package/dist/cli/postinstall/fs-utils.test.js +78 -1
- package/dist/cli/postinstall/fs-utils.test.js.map +1 -1
- package/dist/cli/postinstall/main.d.ts.map +1 -1
- package/dist/cli/postinstall/main.js +5 -1
- package/dist/cli/postinstall/main.js.map +1 -1
- package/dist/cli/setup/CodexHooks.d.ts +2 -0
- package/dist/cli/setup/CodexHooks.d.ts.map +1 -1
- package/dist/cli/setup/CodexHooks.js +1 -0
- package/dist/cli/setup/CodexHooks.js.map +1 -1
- package/dist/cli/setup/CodexHooks.test.js +4 -2
- package/dist/cli/setup/CodexHooks.test.js.map +1 -1
- package/hooks/scripts/__tests__/.vibe/command-log.txt +3 -3
- package/hooks/scripts/__tests__/codex-hook-adapter.test.js +33 -0
- package/hooks/scripts/codex-hook-adapter.js +20 -0
- package/package.json +1 -1
- package/skills/vibe/SKILL.md +4 -4
- package/skills/vibe.analyze/SKILL.md +0 -2
- package/skills/vibe.review/SKILL.md +0 -14
- package/skills/vibe.run/SKILL.md +8 -8
- package/skills/vibe.run/references/automation-level.md +51 -0
- package/skills/vibe.run/references/coverage-loop.md +94 -0
- package/skills/vibe.run/references/process-steps.md +1 -1
- package/skills/vibe.spec/SKILL.md +0 -2
- package/vibe/rules/loop-contract.md +11 -2
- package/skills/vibe.run/references/ralph-loop.md +0 -173
- package/skills/vibe.run/references/ultrawork-mode.md +0 -151
|
@@ -1,151 +0,0 @@
|
|
|
1
|
-
# ULTRAWORK Mode — Automation Level Reference
|
|
2
|
-
|
|
3
|
-
> Loaded by vibe.run SKILL.md when user includes `ultrawork` or `ulw` keyword.
|
|
4
|
-
>
|
|
5
|
-
> **루프 시맨틱(ANCHOR/ACT/JUDGE/RECORD/stuck/max_iterations)의 SSOT는 `vibe/rules/loop-contract.md`다.** `ultrawork`/`ulw`는 `automationLevel: autonomous` + 병렬 ACT의 deprecated 별칭이다. 루프 자체는 모든 실행의 기본 동작이며, ultrawork는 그 루프를 자율(비대화형)·병렬 모드로 돌리는 축을 제어한다.
|
|
6
|
-
|
|
7
|
-
## What `automationLevel: autonomous` Enables
|
|
8
|
-
|
|
9
|
-
`ultrawork` (또는 `ulw`, `.vibe/config.json`의 `automationLevel: autonomous`) 설정 시 활성화:
|
|
10
|
-
|
|
11
|
-
| Feature | Description |
|
|
12
|
-
|---------|-------------|
|
|
13
|
-
| **Parallel Exploration** | 3+ Task agents run simultaneously (ACT 병렬화) |
|
|
14
|
-
| **Loop (기본 동작)** | 모든 실행의 기본 — exit=게이트 통과 또는 stuck 또는 max_iterations |
|
|
15
|
-
| **Context Compression** | Aggressive auto-save at 70%+ context |
|
|
16
|
-
| **No Pause** | stuck·SPEC 게이트 외 확인 없음 (`automationLevel: autonomous`) |
|
|
17
|
-
| **External LLMs** | Auto-consults GPT/Antigravity if enabled |
|
|
18
|
-
| **Error Recovery** | stuck 시 TODO 기록 후 다음으로 (사용자 질문 없음) |
|
|
19
|
-
| **Race Review** | Multi-LLM review (GPT+Antigravity) with cross-validation |
|
|
20
|
-
|
|
21
|
-
## Boulder Loop — Parallel ACT Visualization
|
|
22
|
-
|
|
23
|
-
루프 자체는 loop-contract의 기본 동작이다. Boulder Loop는 `automationLevel: autonomous`에서 **병렬 ACT**가 어떻게 실행되는지를 보여주는 다이어그램이다:
|
|
24
|
-
|
|
25
|
-
```
|
|
26
|
-
┌─────────────────────────────────────────────────────────────────┐
|
|
27
|
-
│ BOULDER LOOP (ultrawork) │
|
|
28
|
-
│ │
|
|
29
|
-
│ ┌──────────┐ ┌──────────┐ ┌──────────┐ ┌──────────┐ │
|
|
30
|
-
│ │ Phase 1 │───→│ Phase 2 │───→│ Phase 3 │───→│ Phase N │ │
|
|
31
|
-
│ └──────────┘ └──────────┘ └──────────┘ └──────────┘ │
|
|
32
|
-
│ │ │ │ │ │
|
|
33
|
-
│ ↓ ↓ ↓ ↓ │
|
|
34
|
-
│ [Parallel] [Parallel] [Parallel] [Parallel] │
|
|
35
|
-
│ [Implement] [Implement] [Implement] [Implement] │
|
|
36
|
-
│ [Test] [Test] [Test] [Test] │
|
|
37
|
-
│ │ │ │ │ │
|
|
38
|
-
│ └───────────────┴───────────────┴───────────────┘ │
|
|
39
|
-
│ │ │
|
|
40
|
-
│ ↓ │
|
|
41
|
-
│ ┌──────────────┐ │
|
|
42
|
-
│ │ ALL DONE? │ │
|
|
43
|
-
│ └──────────────┘ │
|
|
44
|
-
│ │ │ │
|
|
45
|
-
│ NO YES │
|
|
46
|
-
│ │ │ │
|
|
47
|
-
│ ↓ ↓ │
|
|
48
|
-
│ [Continue] [Complete!] │
|
|
49
|
-
│ │
|
|
50
|
-
│ loop-contract EXIT: 게이트 통과 │ stuck │ max_iterations │
|
|
51
|
-
└─────────────────────────────────────────────────────────────────┘
|
|
52
|
-
```
|
|
53
|
-
|
|
54
|
-
## Example Session (automationLevel: autonomous)
|
|
55
|
-
|
|
56
|
-
```
|
|
57
|
-
User: /vibe.run "brick-game" ultrawork
|
|
58
|
-
|
|
59
|
-
Claude:
|
|
60
|
-
AUTONOMOUS MODE (automationLevel: autonomous)
|
|
61
|
-
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
62
|
-
|
|
63
|
-
SPEC: .vibe/specs/brick-game.md
|
|
64
|
-
4 Phases detected
|
|
65
|
-
Loop: ENABLED (exit = 게이트 통과 | stuck | max_iterations=10)
|
|
66
|
-
Parallel ACT: ON
|
|
67
|
-
automationLevel: autonomous (stuck → auto-TODO, no confirmation)
|
|
68
|
-
Context compression: AGGRESSIVE
|
|
69
|
-
|
|
70
|
-
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
71
|
-
BOULDER ROLLING... Phase 1/4
|
|
72
|
-
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
73
|
-
|
|
74
|
-
[PARALLEL] Launching 3 exploration agents...
|
|
75
|
-
Exploration complete (7.2s)
|
|
76
|
-
Implementing...
|
|
77
|
-
Phase 1 complete
|
|
78
|
-
|
|
79
|
-
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
80
|
-
BOULDER ROLLING... Phase 2/4
|
|
81
|
-
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
82
|
-
|
|
83
|
-
[PARALLEL] Launching 3 exploration agents...
|
|
84
|
-
Exploration complete (6.8s)
|
|
85
|
-
Implementing...
|
|
86
|
-
Test failed: collision detection
|
|
87
|
-
Auto-retry [iteration 1]...
|
|
88
|
-
Fixing...
|
|
89
|
-
Phase 2 complete
|
|
90
|
-
|
|
91
|
-
[...continues automatically...]
|
|
92
|
-
|
|
93
|
-
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
94
|
-
BOULDER REACHED THE TOP!
|
|
95
|
-
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
96
|
-
|
|
97
|
-
All 4 phases complete
|
|
98
|
-
All acceptance criteria passed
|
|
99
|
-
Build succeeded
|
|
100
|
-
Tests passed
|
|
101
|
-
|
|
102
|
-
Total: 8m 24s
|
|
103
|
-
Retries: 2
|
|
104
|
-
Context saved: 3 checkpoints
|
|
105
|
-
```
|
|
106
|
-
|
|
107
|
-
## confirm vs autonomous Comparison
|
|
108
|
-
|
|
109
|
-
| Aspect | `automationLevel: confirm` (default) | `automationLevel: autonomous` (ultrawork) |
|
|
110
|
-
|--------|--------------------------------------|-------------------------------------------|
|
|
111
|
-
| Loop | ANCHOR→ACT→JUDGE→RECORD (기본 동작) | 동일 |
|
|
112
|
-
| Confirmation gates | stuck·SPEC에서 질문 | stuck 포함 전부 skip → TODO |
|
|
113
|
-
| On error | Reports, asks before retry | Auto-retries, auto-TODO on stuck |
|
|
114
|
-
| Context 70%+ | Warning only | Auto-compress + save |
|
|
115
|
-
| Exploration | Sequential possible | FORCED parallel |
|
|
116
|
-
|
|
117
|
-
## Automation Level System
|
|
118
|
-
|
|
119
|
-
**automationLevel**은 루프가 사람 개입 없이 얼마나 자율적으로 진행하는지를 제어한다. `.vibe/config.json`에서 설정하거나, deprecated 별칭 키워드로 런타임 오버라이드 가능.
|
|
120
|
-
|
|
121
|
-
### Level Definitions
|
|
122
|
-
|
|
123
|
-
| Level | Name | 설정 방법 | Auto-advance | Auto-retry | Stuck Behavior | Parallel Agents | Checkpoints |
|
|
124
|
-
|-------|------|-----------|--------------|------------|----------------|-----------------|-------------|
|
|
125
|
-
| L0 | Manual | `manual` | No | No | Ask user every step | No | All |
|
|
126
|
-
| L1 | Guided | `guided`, `verify`(deprecated) | No | No | Ask user on stuck | No | All |
|
|
127
|
-
| L2 | confirm | default | Yes | Yes (low cap: 2) | Ask user after 2 retries | No | Key points |
|
|
128
|
-
| L3 | autonomous | `automationLevel: autonomous` / `ultrawork`(dep) / `ulw`(dep) | Yes | Yes (no cap) | Auto-TODO + proceed | Yes | Checkpoint-only |
|
|
129
|
-
| L4 | Full-auto | `ralph`(deprecated) / `ralplan`(deprecated) | Yes | Yes (no cap) | Auto-TODO + proceed | Yes | None |
|
|
130
|
-
|
|
131
|
-
### Detection Rule (deprecated aliases)
|
|
132
|
-
|
|
133
|
-
```
|
|
134
|
-
/vibe.run "login" → L2 confirm (default)
|
|
135
|
-
/vibe.run "login" ultrawork → L3 autonomous (deprecated alias)
|
|
136
|
-
/vibe.run "login" ralph → L4 Full-auto (deprecated alias, exit=coverage-100)
|
|
137
|
-
/vibe.run "login" verify → L1 Guided (deprecated alias)
|
|
138
|
-
```
|
|
139
|
-
|
|
140
|
-
### Confirmation Matrix
|
|
141
|
-
|
|
142
|
-
| Action | L0 | L1 | L2 | L3 | L4 |
|
|
143
|
-
|--------|----|----|----|----|-----|
|
|
144
|
-
| `destructive` | confirm | confirm | confirm | confirm | auto |
|
|
145
|
-
| `architecture_choice` | confirm | confirm | confirm | auto | auto |
|
|
146
|
-
| `implementation_scope` | confirm | confirm | confirm | auto | auto |
|
|
147
|
-
| `phase_advance` | confirm | confirm | auto | auto | auto |
|
|
148
|
-
| `fix_strategy` | confirm | confirm | auto | auto | auto |
|
|
149
|
-
| `retry` | confirm | auto | auto | auto | auto |
|
|
150
|
-
|
|
151
|
-
**Rule**: When confirmation is required, pause and display a checkpoint before proceeding.
|