@openrig/cli 0.1.3 → 0.1.5
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/daemon/assets/guidance/openrig-start.md +16 -1
- package/daemon/dist/adapters/claude-code-adapter.d.ts +12 -0
- package/daemon/dist/adapters/claude-code-adapter.d.ts.map +1 -1
- package/daemon/dist/adapters/claude-code-adapter.js +92 -3
- package/daemon/dist/adapters/claude-code-adapter.js.map +1 -1
- package/daemon/dist/adapters/codex-runtime-adapter.d.ts +5 -0
- package/daemon/dist/adapters/codex-runtime-adapter.d.ts.map +1 -1
- package/daemon/dist/adapters/codex-runtime-adapter.js +82 -2
- package/daemon/dist/adapters/codex-runtime-adapter.js.map +1 -1
- package/daemon/dist/domain/native-resume-probe.d.ts.map +1 -1
- package/daemon/dist/domain/native-resume-probe.js +24 -1
- package/daemon/dist/domain/native-resume-probe.js.map +1 -1
- package/daemon/dist/domain/runtime-adapter.d.ts +1 -0
- package/daemon/dist/domain/runtime-adapter.d.ts.map +1 -1
- package/daemon/dist/domain/runtime-adapter.js.map +1 -1
- package/daemon/dist/domain/spec-library-service.d.ts.map +1 -1
- package/daemon/dist/domain/spec-library-service.js +10 -0
- package/daemon/dist/domain/spec-library-service.js.map +1 -1
- package/daemon/dist/domain/startup-orchestrator.d.ts.map +1 -1
- package/daemon/dist/domain/startup-orchestrator.js +10 -1
- package/daemon/dist/domain/startup-orchestrator.js.map +1 -1
- package/daemon/specs/agents/design/{agent.yaml → product-designer/agent.yaml} +4 -3
- package/daemon/specs/agents/design/{guidance → product-designer/guidance}/role.md +13 -0
- package/daemon/specs/agents/{impl → development/implementer}/agent.yaml +4 -3
- package/daemon/specs/agents/development/implementer/guidance/role.md +47 -0
- package/daemon/specs/agents/{qa → development/qa}/agent.yaml +3 -2
- package/daemon/specs/agents/development/qa/guidance/role.md +78 -0
- package/daemon/specs/agents/{lead → orchestration/orchestrator}/agent.yaml +4 -3
- package/daemon/specs/agents/{lead → orchestration/orchestrator}/guidance/role.md +18 -0
- package/daemon/specs/agents/{analyst → research/analyst}/agent.yaml +2 -1
- package/daemon/specs/agents/{synthesizer → research/synthesizer}/agent.yaml +2 -1
- package/daemon/specs/agents/{reviewer → review/independent-reviewer}/agent.yaml +4 -3
- package/daemon/specs/agents/{reviewer → review/independent-reviewer}/guidance/role.md +13 -0
- package/daemon/specs/agents/shared/agent.yaml +29 -1
- package/daemon/specs/agents/shared/skills/core/openrig-user/SKILL.md +468 -0
- package/daemon/specs/agents/shared/skills/pods/development-team/SKILL.md +149 -0
- package/daemon/specs/agents/shared/skills/pods/orchestration-team/SKILL.md +234 -0
- package/daemon/specs/agents/shared/skills/pods/review-team/SKILL.md +210 -0
- package/daemon/specs/agents/shared/skills/process/agent-browser/LOCAL-INSIGHTS.md +189 -0
- package/daemon/specs/agents/shared/skills/process/agent-browser/SKILL.md +417 -0
- package/daemon/specs/agents/shared/skills/process/brainstorming/SKILL.md +96 -0
- package/daemon/specs/agents/shared/skills/process/containerized-e2e/SKILL.md +256 -0
- package/daemon/specs/agents/shared/skills/process/containerized-e2e/scripts/Dockerfile +39 -0
- package/daemon/specs/agents/shared/skills/process/containerized-e2e/scripts/build-e2e-image.sh +37 -0
- package/daemon/specs/agents/shared/skills/process/containerized-e2e/templates/control-plane-test.yaml +40 -0
- package/daemon/specs/agents/shared/skills/process/containerized-e2e/templates/e2e-report-template.md +94 -0
- package/daemon/specs/agents/shared/skills/process/containerized-e2e/templates/expansion-collision-fragment.yaml +13 -0
- package/daemon/specs/agents/shared/skills/process/containerized-e2e/templates/expansion-pod-fragment.yaml +14 -0
- package/daemon/specs/agents/shared/skills/process/dogfood/SKILL.md +220 -0
- package/daemon/specs/agents/shared/skills/process/dogfood/references/issue-taxonomy.md +109 -0
- package/daemon/specs/agents/shared/skills/process/dogfood/templates/dogfood-report-template.md +53 -0
- package/daemon/specs/agents/shared/skills/process/executing-plans/SKILL.md +84 -0
- package/daemon/specs/agents/shared/skills/process/frontend-design/LICENSE.txt +177 -0
- package/daemon/specs/agents/shared/skills/process/frontend-design/SKILL.md +42 -0
- package/daemon/specs/agents/shared/skills/process/systematic-debugging/CREATION-LOG.md +119 -0
- package/daemon/specs/agents/shared/skills/process/systematic-debugging/SKILL.md +296 -0
- package/daemon/specs/agents/shared/skills/process/systematic-debugging/condition-based-waiting-example.ts +158 -0
- package/daemon/specs/agents/shared/skills/process/systematic-debugging/condition-based-waiting.md +115 -0
- package/daemon/specs/agents/shared/skills/process/systematic-debugging/defense-in-depth.md +122 -0
- package/daemon/specs/agents/shared/skills/process/systematic-debugging/find-polluter.sh +63 -0
- package/daemon/specs/agents/shared/skills/process/systematic-debugging/root-cause-tracing.md +169 -0
- package/daemon/specs/agents/shared/skills/process/systematic-debugging/test-academic.md +14 -0
- package/daemon/specs/agents/shared/skills/process/systematic-debugging/test-pressure-1.md +58 -0
- package/daemon/specs/agents/shared/skills/process/systematic-debugging/test-pressure-2.md +68 -0
- package/daemon/specs/agents/shared/skills/process/systematic-debugging/test-pressure-3.md +69 -0
- package/daemon/specs/agents/shared/skills/process/test-driven-development/SKILL.md +371 -0
- package/daemon/specs/agents/shared/skills/process/test-driven-development/testing-anti-patterns.md +299 -0
- package/daemon/specs/agents/shared/skills/process/using-superpowers/SKILL.md +95 -0
- package/daemon/specs/agents/shared/skills/process/verification-before-completion/SKILL.md +139 -0
- package/daemon/specs/agents/shared/skills/process/writing-plans/SKILL.md +116 -0
- package/daemon/specs/{adversarial-review.yaml → rigs/focused/adversarial-review/rig.yaml} +3 -3
- package/daemon/specs/{research-team.yaml → rigs/focused/research-team/rig.yaml} +3 -3
- package/daemon/specs/rigs/launch/demo/CULTURE.md +92 -0
- package/daemon/specs/{product-team.yaml → rigs/launch/demo/rig.yaml} +13 -12
- package/daemon/specs/{implementation-pair.yaml → rigs/launch/implementation-pair/rig.yaml} +5 -5
- package/daemon/specs/rigs/preview/product-team/CULTURE.md +137 -0
- package/daemon/specs/rigs/preview/product-team/rig.yaml +91 -0
- package/dist/client.d.ts +17 -7
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +33 -23
- package/dist/client.js.map +1 -1
- package/dist/commands/bootstrap.d.ts.map +1 -1
- package/dist/commands/bootstrap.js +2 -1
- package/dist/commands/bootstrap.js.map +1 -1
- package/dist/commands/daemon.d.ts.map +1 -1
- package/dist/commands/daemon.js +5 -1
- package/dist/commands/daemon.js.map +1 -1
- package/dist/commands/up.d.ts.map +1 -1
- package/dist/commands/up.js +4 -3
- package/dist/commands/up.js.map +1 -1
- package/dist/daemon-lifecycle.d.ts.map +1 -1
- package/dist/daemon-lifecycle.js +54 -7
- package/dist/daemon-lifecycle.js.map +1 -1
- package/dist/fetch-with-timeout.d.ts +9 -0
- package/dist/fetch-with-timeout.d.ts.map +1 -0
- package/dist/fetch-with-timeout.js +41 -0
- package/dist/fetch-with-timeout.js.map +1 -0
- package/dist/mcp-server.d.ts.map +1 -1
- package/dist/mcp-server.js +2 -1
- package/dist/mcp-server.js.map +1 -1
- package/package.json +1 -1
- package/daemon/specs/agents/impl/guidance/role.md +0 -27
- package/daemon/specs/agents/qa/guidance/role.md +0 -26
- package/daemon/specs/agents/shared/skills/openrig-user/SKILL.md +0 -264
- /package/daemon/specs/agents/{analyst → research/analyst}/guidance/role.md +0 -0
- /package/daemon/specs/agents/{synthesizer → research/synthesizer}/guidance/role.md +0 -0
|
@@ -0,0 +1,220 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: dogfood
|
|
3
|
+
description: Systematically explore and test a web application to find bugs, UX issues, and other problems. Use when asked to "dogfood", "QA", "exploratory test", "find issues", "bug hunt", "test this app/site/platform", or review the quality of a web application. Produces a structured report with full reproduction evidence -- step-by-step screenshots, repro videos, and detailed repro steps for every issue -- so findings can be handed directly to the responsible teams.
|
|
4
|
+
allowed-tools: Bash(agent-browser:*), Bash(npx agent-browser:*)
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Dogfood
|
|
8
|
+
|
|
9
|
+
Systematically explore a web application, find issues, and produce a report with full reproduction evidence for every finding.
|
|
10
|
+
|
|
11
|
+
## Setup
|
|
12
|
+
|
|
13
|
+
Only the **Target URL** is required. Everything else has sensible defaults -- use them unless the user explicitly provides an override.
|
|
14
|
+
|
|
15
|
+
| Parameter | Default | Example override |
|
|
16
|
+
|-----------|---------|-----------------|
|
|
17
|
+
| **Target URL** | _(required)_ | `vercel.com`, `http://localhost:3000` |
|
|
18
|
+
| **Session name** | Slugified domain (e.g., `vercel.com` -> `vercel-com`) | `--session my-session` |
|
|
19
|
+
| **Output directory** | `./dogfood-output/` | `Output directory: /tmp/qa` |
|
|
20
|
+
| **Scope** | Full app | `Focus on the billing page` |
|
|
21
|
+
| **Authentication** | None | `Sign in to user@example.com` |
|
|
22
|
+
|
|
23
|
+
If the user says something like "dogfood vercel.com", start immediately with defaults. Do not ask clarifying questions unless authentication is mentioned but credentials are missing.
|
|
24
|
+
|
|
25
|
+
Always use `agent-browser` directly -- never `npx agent-browser`. The direct binary uses the fast Rust client. `npx` routes through Node.js and is significantly slower.
|
|
26
|
+
|
|
27
|
+
## Workflow
|
|
28
|
+
|
|
29
|
+
```
|
|
30
|
+
1. Initialize Set up session, output dirs, report file
|
|
31
|
+
2. Authenticate Sign in if needed, save state
|
|
32
|
+
3. Orient Navigate to starting point, take initial snapshot
|
|
33
|
+
4. Explore Systematically visit pages and test features
|
|
34
|
+
5. Document Screenshot + record each issue as found
|
|
35
|
+
6. Wrap up Update summary counts, close session
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
### 1. Initialize
|
|
39
|
+
|
|
40
|
+
```bash
|
|
41
|
+
mkdir -p {OUTPUT_DIR}/screenshots {OUTPUT_DIR}/videos
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
Copy the report template into the output directory and fill in the header fields:
|
|
45
|
+
|
|
46
|
+
```bash
|
|
47
|
+
cp {SKILL_DIR}/templates/dogfood-report-template.md {OUTPUT_DIR}/report.md
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
Start a named session:
|
|
51
|
+
|
|
52
|
+
```bash
|
|
53
|
+
agent-browser --session {SESSION} open {TARGET_URL}
|
|
54
|
+
agent-browser --session {SESSION} wait --load networkidle
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
### 2. Authenticate
|
|
58
|
+
|
|
59
|
+
If the app requires login:
|
|
60
|
+
|
|
61
|
+
```bash
|
|
62
|
+
agent-browser --session {SESSION} snapshot -i
|
|
63
|
+
# Identify login form refs, fill credentials
|
|
64
|
+
agent-browser --session {SESSION} fill @e1 "{EMAIL}"
|
|
65
|
+
agent-browser --session {SESSION} fill @e2 "{PASSWORD}"
|
|
66
|
+
agent-browser --session {SESSION} click @e3
|
|
67
|
+
agent-browser --session {SESSION} wait --load networkidle
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
For OTP/email codes: ask the user, wait for their response, then enter the code.
|
|
71
|
+
|
|
72
|
+
After successful login, save state for potential reuse:
|
|
73
|
+
|
|
74
|
+
```bash
|
|
75
|
+
agent-browser --session {SESSION} state save {OUTPUT_DIR}/auth-state.json
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
### 3. Orient
|
|
79
|
+
|
|
80
|
+
Take an initial annotated screenshot and snapshot to understand the app structure:
|
|
81
|
+
|
|
82
|
+
```bash
|
|
83
|
+
agent-browser --session {SESSION} screenshot --annotate {OUTPUT_DIR}/screenshots/initial.png
|
|
84
|
+
agent-browser --session {SESSION} snapshot -i
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
Identify the main navigation elements and map out the sections to visit.
|
|
88
|
+
|
|
89
|
+
### 4. Explore
|
|
90
|
+
|
|
91
|
+
Read [references/issue-taxonomy.md](references/issue-taxonomy.md) for the full list of what to look for and the exploration checklist.
|
|
92
|
+
|
|
93
|
+
**Strategy -- work through the app systematically:**
|
|
94
|
+
|
|
95
|
+
- Start from the main navigation. Visit each top-level section.
|
|
96
|
+
- Within each section, test interactive elements: click buttons, fill forms, open dropdowns/modals.
|
|
97
|
+
- Check edge cases: empty states, error handling, boundary inputs.
|
|
98
|
+
- Try realistic end-to-end workflows (create, edit, delete flows).
|
|
99
|
+
- Check the browser console for errors periodically.
|
|
100
|
+
|
|
101
|
+
**At each page:**
|
|
102
|
+
|
|
103
|
+
```bash
|
|
104
|
+
agent-browser --session {SESSION} snapshot -i
|
|
105
|
+
agent-browser --session {SESSION} screenshot --annotate {OUTPUT_DIR}/screenshots/{page-name}.png
|
|
106
|
+
agent-browser --session {SESSION} errors
|
|
107
|
+
agent-browser --session {SESSION} console
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
Use your judgment on how deep to go. Spend more time on core features and less on peripheral pages. If you find a cluster of issues in one area, investigate deeper.
|
|
111
|
+
|
|
112
|
+
### 5. Document Issues (Repro-First)
|
|
113
|
+
|
|
114
|
+
Steps 4 and 5 happen together -- explore and document in a single pass. When you find an issue, stop exploring and document it immediately before moving on. Do not explore the whole app first and document later.
|
|
115
|
+
|
|
116
|
+
Every issue must be reproducible. When you find something wrong, do not just note it -- prove it with evidence. The goal is that someone reading the report can see exactly what happened and replay it.
|
|
117
|
+
|
|
118
|
+
**Choose the right level of evidence for the issue:**
|
|
119
|
+
|
|
120
|
+
#### Interactive / behavioral issues (functional, ux, console errors on action)
|
|
121
|
+
|
|
122
|
+
These require user interaction to reproduce -- use full repro with video and step-by-step screenshots:
|
|
123
|
+
|
|
124
|
+
1. **Start a repro video** _before_ reproducing:
|
|
125
|
+
|
|
126
|
+
```bash
|
|
127
|
+
agent-browser --session {SESSION} record start {OUTPUT_DIR}/videos/issue-{NNN}-repro.webm
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
2. **Walk through the steps at human pace.** Pause 1-2 seconds between actions so the video is watchable. Take a screenshot at each step:
|
|
131
|
+
|
|
132
|
+
```bash
|
|
133
|
+
agent-browser --session {SESSION} screenshot {OUTPUT_DIR}/screenshots/issue-{NNN}-step-1.png
|
|
134
|
+
sleep 1
|
|
135
|
+
# Perform action (click, fill, etc.)
|
|
136
|
+
sleep 1
|
|
137
|
+
agent-browser --session {SESSION} screenshot {OUTPUT_DIR}/screenshots/issue-{NNN}-step-2.png
|
|
138
|
+
sleep 1
|
|
139
|
+
# ...continue until the issue manifests
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
3. **Capture the broken state.** Pause so the viewer can see it, then take an annotated screenshot:
|
|
143
|
+
|
|
144
|
+
```bash
|
|
145
|
+
sleep 2
|
|
146
|
+
agent-browser --session {SESSION} screenshot --annotate {OUTPUT_DIR}/screenshots/issue-{NNN}-result.png
|
|
147
|
+
```
|
|
148
|
+
|
|
149
|
+
4. **Stop the video:**
|
|
150
|
+
|
|
151
|
+
```bash
|
|
152
|
+
agent-browser --session {SESSION} record stop
|
|
153
|
+
```
|
|
154
|
+
|
|
155
|
+
5. Write numbered repro steps in the report, each referencing its screenshot.
|
|
156
|
+
|
|
157
|
+
#### Static / visible-on-load issues (typos, placeholder text, clipped text, misalignment, console errors on load)
|
|
158
|
+
|
|
159
|
+
These are visible without interaction -- a single annotated screenshot is sufficient. No video, no multi-step repro:
|
|
160
|
+
|
|
161
|
+
```bash
|
|
162
|
+
agent-browser --session {SESSION} screenshot --annotate {OUTPUT_DIR}/screenshots/issue-{NNN}.png
|
|
163
|
+
```
|
|
164
|
+
|
|
165
|
+
Write a brief description and reference the screenshot in the report. Set **Repro Video** to `N/A`.
|
|
166
|
+
|
|
167
|
+
---
|
|
168
|
+
|
|
169
|
+
**For all issues:**
|
|
170
|
+
|
|
171
|
+
1. **Append to the report immediately.** Do not batch issues for later. Write each one as you find it so nothing is lost if the session is interrupted.
|
|
172
|
+
|
|
173
|
+
2. **Increment the issue counter** (ISSUE-001, ISSUE-002, ...).
|
|
174
|
+
|
|
175
|
+
### 6. Wrap Up
|
|
176
|
+
|
|
177
|
+
Aim to find **5-10 well-documented issues**, then wrap up. Depth of evidence matters more than total count -- 5 issues with full repro beats 20 with vague descriptions.
|
|
178
|
+
|
|
179
|
+
After exploring:
|
|
180
|
+
|
|
181
|
+
1. Re-read the report and update the summary severity counts so they match the actual issues. Every `### ISSUE-` block must be reflected in the totals.
|
|
182
|
+
2. Close the session:
|
|
183
|
+
|
|
184
|
+
```bash
|
|
185
|
+
agent-browser --session {SESSION} close
|
|
186
|
+
```
|
|
187
|
+
|
|
188
|
+
3. Tell the user the report is ready and summarize findings: total issues, breakdown by severity, and the most critical items.
|
|
189
|
+
|
|
190
|
+
## Guidance
|
|
191
|
+
|
|
192
|
+
- **Repro is everything.** Every issue needs proof -- but match the evidence to the issue. Interactive bugs need video and step-by-step screenshots. Static bugs (typos, placeholder text, visual glitches visible on load) only need a single annotated screenshot.
|
|
193
|
+
- **Verify reproducibility before collecting evidence.** Before recording video or taking screenshots, verify the issue is reproducible with at least one retry. If it can't be reproduced consistently, it's not a valid issue.
|
|
194
|
+
- **Don't record video for static issues.** A typo or clipped text doesn't benefit from a video. Save video for issues that involve user interaction, timing, or state changes.
|
|
195
|
+
- **For interactive issues, screenshot each step.** Capture the before, the action, and the after -- so someone can see the full sequence.
|
|
196
|
+
- **Write repro steps that map to screenshots.** Each numbered step in the report should reference its corresponding screenshot. A reader should be able to follow the steps visually without touching a browser.
|
|
197
|
+
- **Use the right snapshot command.**
|
|
198
|
+
- `snapshot -i` — for finding clickable/fillable elements (buttons, inputs, links)
|
|
199
|
+
- `snapshot` (no flag) — for reading page content (text, headings, data lists)
|
|
200
|
+
- **Be thorough but use judgment.** You are not following a test script -- you are exploring like a real user would. If something feels off, investigate.
|
|
201
|
+
- **Write findings incrementally.** Append each issue to the report as you discover it. If the session is interrupted, findings are preserved. Never batch all issues for the end.
|
|
202
|
+
- **Never delete output files.** Do not `rm` screenshots, videos, or the report mid-session. Do not close the session and restart. Work forward, not backward.
|
|
203
|
+
- **Never read the target app's source code.** You are testing as a user, not auditing code. Do not read HTML, JS, or config files of the app under test. All findings must come from what you observe in the browser.
|
|
204
|
+
- **Check the console.** Many issues are invisible in the UI but show up as JS errors or failed requests.
|
|
205
|
+
- **Test like a user, not a robot.** Try common workflows end-to-end. Click things a real user would click. Enter realistic data.
|
|
206
|
+
- **Type like a human.** When filling form fields during video recording, use `type` instead of `fill` -- it types character-by-character. Use `fill` only outside of video recording when speed matters.
|
|
207
|
+
- **Pace repro videos for humans.** Add `sleep 1` between actions and `sleep 2` before the final result screenshot. Videos should be watchable at 1x speed -- a human reviewing the report needs to see what happened, not a blur of instant state changes.
|
|
208
|
+
- **Be efficient with commands.** Batch multiple `agent-browser` commands in a single shell call when they are independent (e.g., `agent-browser ... screenshot ... && agent-browser ... console`). Use `agent-browser --session {SESSION} scroll down 300` for scrolling -- do not use `key` or `evaluate` to scroll.
|
|
209
|
+
|
|
210
|
+
## References
|
|
211
|
+
|
|
212
|
+
| Reference | When to Read |
|
|
213
|
+
|-----------|--------------|
|
|
214
|
+
| [references/issue-taxonomy.md](references/issue-taxonomy.md) | Start of session -- calibrate what to look for, severity levels, exploration checklist |
|
|
215
|
+
|
|
216
|
+
## Templates
|
|
217
|
+
|
|
218
|
+
| Template | Purpose |
|
|
219
|
+
|----------|---------|
|
|
220
|
+
| [templates/dogfood-report-template.md](templates/dogfood-report-template.md) | Copy into output directory as the report file |
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
# Issue Taxonomy
|
|
2
|
+
|
|
3
|
+
Reference for categorizing issues found during dogfooding. Read this at the start of a dogfood session to calibrate what to look for.
|
|
4
|
+
|
|
5
|
+
## Contents
|
|
6
|
+
|
|
7
|
+
- [Severity Levels](#severity-levels)
|
|
8
|
+
- [Categories](#categories)
|
|
9
|
+
- [Exploration Checklist](#exploration-checklist)
|
|
10
|
+
|
|
11
|
+
## Severity Levels
|
|
12
|
+
|
|
13
|
+
| Severity | Definition |
|
|
14
|
+
|----------|------------|
|
|
15
|
+
| **critical** | Blocks a core workflow, causes data loss, or crashes the app |
|
|
16
|
+
| **high** | Major feature broken or unusable, no workaround |
|
|
17
|
+
| **medium** | Feature works but with noticeable problems, workaround exists |
|
|
18
|
+
| **low** | Minor cosmetic or polish issue |
|
|
19
|
+
|
|
20
|
+
## Categories
|
|
21
|
+
|
|
22
|
+
### Visual / UI
|
|
23
|
+
|
|
24
|
+
- Layout broken or misaligned elements
|
|
25
|
+
- Overlapping or clipped text
|
|
26
|
+
- Inconsistent spacing, padding, or margins
|
|
27
|
+
- Missing or broken icons/images
|
|
28
|
+
- Dark mode / light mode rendering issues
|
|
29
|
+
- Responsive layout problems (viewport sizes)
|
|
30
|
+
- Z-index stacking issues (elements hidden behind others)
|
|
31
|
+
- Font rendering issues (wrong font, size, weight)
|
|
32
|
+
- Color contrast problems
|
|
33
|
+
- Animation glitches or jank
|
|
34
|
+
|
|
35
|
+
### Functional
|
|
36
|
+
|
|
37
|
+
- Broken links (404, wrong destination)
|
|
38
|
+
- Buttons or controls that do nothing on click
|
|
39
|
+
- Form validation that rejects valid input or accepts invalid input
|
|
40
|
+
- Incorrect redirects
|
|
41
|
+
- Features that fail silently
|
|
42
|
+
- State not persisted when expected (lost on refresh, navigation)
|
|
43
|
+
- Race conditions (double-submit, stale data)
|
|
44
|
+
- Broken search or filtering
|
|
45
|
+
- Pagination issues
|
|
46
|
+
- File upload/download failures
|
|
47
|
+
|
|
48
|
+
### UX
|
|
49
|
+
|
|
50
|
+
- Confusing or unclear navigation
|
|
51
|
+
- Missing loading indicators or feedback after actions
|
|
52
|
+
- Slow or unresponsive interactions (>300ms perceived delay)
|
|
53
|
+
- Unclear error messages
|
|
54
|
+
- Missing confirmation for destructive actions
|
|
55
|
+
- Dead ends (no way to go back or proceed)
|
|
56
|
+
- Inconsistent patterns across similar features
|
|
57
|
+
- Missing keyboard shortcuts or focus management
|
|
58
|
+
- Unintuitive defaults
|
|
59
|
+
- Missing empty states or unhelpful empty states
|
|
60
|
+
|
|
61
|
+
### Content
|
|
62
|
+
|
|
63
|
+
- Typos or grammatical errors
|
|
64
|
+
- Outdated or incorrect text
|
|
65
|
+
- Placeholder or lorem ipsum content left in
|
|
66
|
+
- Truncated text without tooltip or expansion
|
|
67
|
+
- Missing or wrong labels
|
|
68
|
+
- Inconsistent terminology
|
|
69
|
+
|
|
70
|
+
### Performance
|
|
71
|
+
|
|
72
|
+
- Slow page loads (>3s)
|
|
73
|
+
- Janky scrolling or animations
|
|
74
|
+
- Large layout shifts (content jumping)
|
|
75
|
+
- Excessive network requests (check via console/network)
|
|
76
|
+
- Memory leaks (page slows over time)
|
|
77
|
+
- Unoptimized images (large file sizes)
|
|
78
|
+
|
|
79
|
+
### Console / Errors
|
|
80
|
+
|
|
81
|
+
- JavaScript exceptions in console
|
|
82
|
+
- Failed network requests (4xx, 5xx)
|
|
83
|
+
- Deprecation warnings
|
|
84
|
+
- CORS errors
|
|
85
|
+
- Mixed content warnings
|
|
86
|
+
- Unhandled promise rejections
|
|
87
|
+
|
|
88
|
+
### Accessibility
|
|
89
|
+
|
|
90
|
+
- Missing alt text on images
|
|
91
|
+
- Unlabeled form inputs
|
|
92
|
+
- Poor keyboard navigation (can't tab to elements)
|
|
93
|
+
- Focus traps
|
|
94
|
+
- Insufficient color contrast
|
|
95
|
+
- Missing ARIA attributes on dynamic content
|
|
96
|
+
- Screen reader incompatible patterns
|
|
97
|
+
|
|
98
|
+
## Exploration Checklist
|
|
99
|
+
|
|
100
|
+
Use this as a guide for what to test on each page/feature:
|
|
101
|
+
|
|
102
|
+
1. **Visual scan** -- Take an annotated screenshot. Look for layout, alignment, and rendering issues.
|
|
103
|
+
2. **Interactive elements** -- Click every button, link, and control. Do they work? Is there feedback?
|
|
104
|
+
3. **Forms** -- Fill and submit. Test empty submission, invalid input, and edge cases.
|
|
105
|
+
4. **Navigation** -- Follow all navigation paths. Check breadcrumbs, back button, deep links.
|
|
106
|
+
5. **States** -- Check empty states, loading states, error states, and full/overflow states.
|
|
107
|
+
6. **Console** -- Check for JS errors, failed requests, and warnings.
|
|
108
|
+
7. **Responsiveness** -- If relevant, test at different viewport sizes.
|
|
109
|
+
8. **Auth boundaries** -- Test what happens when not logged in, with different roles if applicable.
|
package/daemon/specs/agents/shared/skills/process/dogfood/templates/dogfood-report-template.md
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# Dogfood Report: {APP_NAME}
|
|
2
|
+
|
|
3
|
+
| Field | Value |
|
|
4
|
+
|-------|-------|
|
|
5
|
+
| **Date** | {DATE} |
|
|
6
|
+
| **App URL** | {URL} |
|
|
7
|
+
| **Session** | {SESSION_NAME} |
|
|
8
|
+
| **Scope** | {SCOPE} |
|
|
9
|
+
|
|
10
|
+
## Summary
|
|
11
|
+
|
|
12
|
+
| Severity | Count |
|
|
13
|
+
|----------|-------|
|
|
14
|
+
| Critical | 0 |
|
|
15
|
+
| High | 0 |
|
|
16
|
+
| Medium | 0 |
|
|
17
|
+
| Low | 0 |
|
|
18
|
+
| **Total** | **0** |
|
|
19
|
+
|
|
20
|
+
## Issues
|
|
21
|
+
|
|
22
|
+
<!-- Copy this block for each issue found. Interactive issues need video + step-by-step screenshots. Static issues (typos, visual glitches) only need a single screenshot -- set Repro Video to N/A. -->
|
|
23
|
+
|
|
24
|
+
### ISSUE-001: {Short title}
|
|
25
|
+
|
|
26
|
+
| Field | Value |
|
|
27
|
+
|-------|-------|
|
|
28
|
+
| **Severity** | critical / high / medium / low |
|
|
29
|
+
| **Category** | visual / functional / ux / content / performance / console / accessibility |
|
|
30
|
+
| **URL** | {page URL where issue was found} |
|
|
31
|
+
| **Repro Video** | {path to video, or N/A for static issues} |
|
|
32
|
+
|
|
33
|
+
**Description**
|
|
34
|
+
|
|
35
|
+
{What is wrong, what was expected, and what actually happened.}
|
|
36
|
+
|
|
37
|
+
**Repro Steps**
|
|
38
|
+
|
|
39
|
+
<!-- Each step has a screenshot. A reader should be able to follow along visually. -->
|
|
40
|
+
|
|
41
|
+
1. Navigate to {URL}
|
|
42
|
+

|
|
43
|
+
|
|
44
|
+
2. {Action -- e.g., click "Settings" in the sidebar}
|
|
45
|
+

|
|
46
|
+
|
|
47
|
+
3. {Action -- e.g., type "test" in the search field and press Enter}
|
|
48
|
+

|
|
49
|
+
|
|
50
|
+
4. **Observe:** {what goes wrong -- e.g., the page shows a blank white screen instead of search results}
|
|
51
|
+

|
|
52
|
+
|
|
53
|
+
---
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: executing-plans
|
|
3
|
+
description: Use when you have a written implementation plan to execute in a separate session with review checkpoints
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Executing Plans
|
|
7
|
+
|
|
8
|
+
## Overview
|
|
9
|
+
|
|
10
|
+
Load plan, review critically, execute tasks in batches, report for review between batches.
|
|
11
|
+
|
|
12
|
+
**Core principle:** Batch execution with checkpoints for architect review.
|
|
13
|
+
|
|
14
|
+
**Announce at start:** "I'm using the executing-plans skill to implement this plan."
|
|
15
|
+
|
|
16
|
+
## The Process
|
|
17
|
+
|
|
18
|
+
### Step 1: Load and Review Plan
|
|
19
|
+
1. Read plan file
|
|
20
|
+
2. Review critically - identify any questions or concerns about the plan
|
|
21
|
+
3. If concerns: Raise them with your human partner before starting
|
|
22
|
+
4. If no concerns: Create TodoWrite and proceed
|
|
23
|
+
|
|
24
|
+
### Step 2: Execute Batch
|
|
25
|
+
**Default: First 3 tasks**
|
|
26
|
+
|
|
27
|
+
For each task:
|
|
28
|
+
1. Mark as in_progress
|
|
29
|
+
2. Follow each step exactly (plan has bite-sized steps)
|
|
30
|
+
3. Run verifications as specified
|
|
31
|
+
4. Mark as completed
|
|
32
|
+
|
|
33
|
+
### Step 3: Report
|
|
34
|
+
When batch complete:
|
|
35
|
+
- Show what was implemented
|
|
36
|
+
- Show verification output
|
|
37
|
+
- Say: "Ready for feedback."
|
|
38
|
+
|
|
39
|
+
### Step 4: Continue
|
|
40
|
+
Based on feedback:
|
|
41
|
+
- Apply changes if needed
|
|
42
|
+
- Execute next batch
|
|
43
|
+
- Repeat until complete
|
|
44
|
+
|
|
45
|
+
### Step 5: Complete Development
|
|
46
|
+
|
|
47
|
+
After all tasks complete and verified:
|
|
48
|
+
- Announce: "I'm using the finishing-a-development-branch skill to complete this work."
|
|
49
|
+
- **REQUIRED SUB-SKILL:** Use superpowers:finishing-a-development-branch
|
|
50
|
+
- Follow that skill to verify tests, present options, execute choice
|
|
51
|
+
|
|
52
|
+
## When to Stop and Ask for Help
|
|
53
|
+
|
|
54
|
+
**STOP executing immediately when:**
|
|
55
|
+
- Hit a blocker mid-batch (missing dependency, test fails, instruction unclear)
|
|
56
|
+
- Plan has critical gaps preventing starting
|
|
57
|
+
- You don't understand an instruction
|
|
58
|
+
- Verification fails repeatedly
|
|
59
|
+
|
|
60
|
+
**Ask for clarification rather than guessing.**
|
|
61
|
+
|
|
62
|
+
## When to Revisit Earlier Steps
|
|
63
|
+
|
|
64
|
+
**Return to Review (Step 1) when:**
|
|
65
|
+
- Partner updates the plan based on your feedback
|
|
66
|
+
- Fundamental approach needs rethinking
|
|
67
|
+
|
|
68
|
+
**Don't force through blockers** - stop and ask.
|
|
69
|
+
|
|
70
|
+
## Remember
|
|
71
|
+
- Review plan critically first
|
|
72
|
+
- Follow plan steps exactly
|
|
73
|
+
- Don't skip verifications
|
|
74
|
+
- Reference skills when plan says to
|
|
75
|
+
- Between batches: just report and wait
|
|
76
|
+
- Stop when blocked, don't guess
|
|
77
|
+
- Never start implementation on main/master branch without explicit user consent
|
|
78
|
+
|
|
79
|
+
## Integration
|
|
80
|
+
|
|
81
|
+
**Required workflow skills:**
|
|
82
|
+
- **superpowers:using-git-worktrees** - REQUIRED: Set up isolated workspace before starting
|
|
83
|
+
- **superpowers:writing-plans** - Creates the plan this skill executes
|
|
84
|
+
- **superpowers:finishing-a-development-branch** - Complete development after all tasks
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
http://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|