ralph-teams-codex 1.5.1
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/AGENTS.md +6 -0
- package/FLOW.md +47 -0
- package/README.md +157 -0
- package/agents/teams-builder.md +74 -0
- package/agents/teams-reviewer.md +109 -0
- package/bin/ralph-teams-codex.js +152 -0
- package/package.json +20 -0
- package/skills/debug/SKILL.md +156 -0
- package/skills/teams-document/SKILL.md +107 -0
- package/skills/teams-plan/SKILL.md +250 -0
- package/skills/teams-run/SKILL.md +167 -0
- package/skills/teams-verify/SKILL.md +162 -0
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: teams-verify
|
|
3
|
+
description: "Guide the user through manually verifying the build E2E — walks through each scenario step-by-step, records pass/fail, and writes a verification report."
|
|
4
|
+
user-invocable: true
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Teams: Manual Verify
|
|
8
|
+
|
|
9
|
+
You guide the user through manually verifying the completed build end-to-end. One scenario at a time. You record their results and write a final report.
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
## Step 1: Load the Plan
|
|
14
|
+
|
|
15
|
+
Read `.ralph-teams/PLAN.md`. If not found:
|
|
16
|
+
> `.ralph-teams/PLAN.md` not found. Run `teams-plan` first.
|
|
17
|
+
|
|
18
|
+
Extract:
|
|
19
|
+
- Plan ID (the `Plan ID:` field — e.g. `#2`)
|
|
20
|
+
- All tasks
|
|
21
|
+
- Acceptance criteria
|
|
22
|
+
- Verification scenarios
|
|
23
|
+
|
|
24
|
+
Also read `.ralph-teams/REVIEW.md` if it exists (to know what was already flagged by the automated reviewer).
|
|
25
|
+
|
|
26
|
+
---
|
|
27
|
+
|
|
28
|
+
## Step 2: Setup Check
|
|
29
|
+
|
|
30
|
+
Before starting, ask the user:
|
|
31
|
+
|
|
32
|
+
> **Before we verify, confirm setup:**
|
|
33
|
+
>
|
|
34
|
+
> - Is the app running? (URL or device/simulator)
|
|
35
|
+
> - Any test accounts or data needed?
|
|
36
|
+
> - Anything you want to skip?
|
|
37
|
+
|
|
38
|
+
Wait for their response. Note any skips.
|
|
39
|
+
|
|
40
|
+
---
|
|
41
|
+
|
|
42
|
+
## Step 3: Walk Through Scenarios
|
|
43
|
+
|
|
44
|
+
For each verification scenario from `.ralph-teams/PLAN.md`, present it one at a time:
|
|
45
|
+
|
|
46
|
+
```
|
|
47
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
48
|
+
RALPH-TEAMS Plan #[N] — Scenario [N of M]
|
|
49
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
50
|
+
[Scenario name]
|
|
51
|
+
|
|
52
|
+
Steps:
|
|
53
|
+
1. [Step]
|
|
54
|
+
2. [Step]
|
|
55
|
+
3. [Step]
|
|
56
|
+
|
|
57
|
+
Expected result:
|
|
58
|
+
[What the user should see]
|
|
59
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
Then ask:
|
|
63
|
+
> **Result? `pass` / `fail` / `skip` — or describe what you saw.**
|
|
64
|
+
|
|
65
|
+
- **pass** → record it, move to next scenario
|
|
66
|
+
- **fail** → ask: *"What went wrong?"* Record their description. Then immediately offer:
|
|
67
|
+
> **Bug detected. Run `teams-debug` to fix it now, or continue verifying the rest first?**
|
|
68
|
+
|
|
69
|
+
If they say **fix now**: invoke the `teams-debug` skill directly, passing the scenario name and their failure description as context. After the fix is applied, re-run this scenario before continuing.
|
|
70
|
+
|
|
71
|
+
If they say **continue**: record the failure and move to the next scenario.
|
|
72
|
+
- **skip** → record as skipped with reason, move on
|
|
73
|
+
|
|
74
|
+
Keep going until all scenarios are covered.
|
|
75
|
+
|
|
76
|
+
---
|
|
77
|
+
|
|
78
|
+
## Step 4: Write Verification Report
|
|
79
|
+
|
|
80
|
+
Write results to `.ralph-teams/VERIFY.md`:
|
|
81
|
+
|
|
82
|
+
```markdown
|
|
83
|
+
# Manual Verification Report: [Feature Name]
|
|
84
|
+
|
|
85
|
+
Plan ID: #[N]
|
|
86
|
+
Date: [date]
|
|
87
|
+
Verified by: User
|
|
88
|
+
|
|
89
|
+
## Summary
|
|
90
|
+
- Total scenarios: N
|
|
91
|
+
- Passed: N
|
|
92
|
+
- Failed: N
|
|
93
|
+
- Skipped: N
|
|
94
|
+
|
|
95
|
+
## Results
|
|
96
|
+
|
|
97
|
+
### ✓ Scenario 1: [Name]
|
|
98
|
+
Status: PASS
|
|
99
|
+
|
|
100
|
+
### ✗ Scenario 2: [Name]
|
|
101
|
+
Status: FAIL
|
|
102
|
+
User reported: [description]
|
|
103
|
+
|
|
104
|
+
### — Scenario 3: [Name]
|
|
105
|
+
Status: SKIPPED
|
|
106
|
+
Reason: [reason]
|
|
107
|
+
|
|
108
|
+
## Acceptance Criteria
|
|
109
|
+
- [x] Criterion 1
|
|
110
|
+
- [ ] Criterion 2 — FAILED (see scenario 2)
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
---
|
|
114
|
+
|
|
115
|
+
## Step 5: Summary
|
|
116
|
+
|
|
117
|
+
Print the final result:
|
|
118
|
+
|
|
119
|
+
```
|
|
120
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
121
|
+
RALPH-TEAMS Plan #[N] — Done — [N passed, N failed, N skipped]
|
|
122
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
123
|
+
✓ Scenario 1: [name]
|
|
124
|
+
✗ Scenario 2: [name]
|
|
125
|
+
— Scenario 3: [name] (skipped)
|
|
126
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
If there are failures, offer:
|
|
130
|
+
|
|
131
|
+
> **N scenario(s) failed. Options:**
|
|
132
|
+
> - `teams-debug` — fix bugs one at a time with full plan context (recommended)
|
|
133
|
+
> - **Fix all** — I spawn a single builder to address all failures at once
|
|
134
|
+
|
|
135
|
+
If they choose **`teams-debug`**: invoke the `teams-debug` skill for each failed scenario in order, passing the scenario name and failure description. After each fix, mark the scenario as `FIXED` in `.ralph-teams/VERIFY.md`.
|
|
136
|
+
|
|
137
|
+
If they choose **fix all**: read the failures from `.ralph-teams/VERIFY.md` and use `spawn_agent` to start a builder subagent:
|
|
138
|
+
|
|
139
|
+
```
|
|
140
|
+
spawn_agent(
|
|
141
|
+
agent_type: "worker",
|
|
142
|
+
model: "gpt-5.4-mini",
|
|
143
|
+
message: "You are fixing multiple bugs found during manual verification.
|
|
144
|
+
|
|
145
|
+
Failed scenarios:
|
|
146
|
+
[paste full list of failures from .ralph-teams/VERIFY.md]
|
|
147
|
+
|
|
148
|
+
Feature plan (.ralph-teams/PLAN.md):
|
|
149
|
+
[paste full PLAN.md content]
|
|
150
|
+
|
|
151
|
+
Instructions:
|
|
152
|
+
- Fix each failed scenario
|
|
153
|
+
- Platform: [web|mobile from PLAN.md]
|
|
154
|
+
- Verify fixes using [Playwright|Maestro] after applying them
|
|
155
|
+
- If verification tools are not available, run tests/lint instead
|
|
156
|
+
- Commit with message: 'fix: address verification failures'"
|
|
157
|
+
)
|
|
158
|
+
```
|
|
159
|
+
|
|
160
|
+
Wait for the builder with `wait_agent`. After you have handled the result and updated any verification state, call `close_agent`.
|
|
161
|
+
|
|
162
|
+
Then offer to re-run verification on just the failed scenarios.
|