@openrig/cli 0.4.7 → 0.4.8
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/plugins/openrig-core/skills/applying-a-permission-policy/SKILL.md +120 -0
- package/daemon/assets/plugins/openrig-core/skills/claude-compaction-restore/scripts/precompact-hook.mjs +0 -0
- package/daemon/assets/plugins/openrig-core/skills/claude-compaction-restore/scripts/restore-from-jsonl.mjs +0 -0
- package/daemon/assets/plugins/openrig-core/skills/delegating-work/SKILL.md +43 -0
- package/daemon/assets/plugins/openrig-core/skills/forming-an-openrig-mental-model/SKILL.md +2 -0
- package/daemon/assets/plugins/openrig-core/skills/mission-slice-sop/SKILL.md +4 -7
- package/daemon/assets/plugins/openrig-core/skills/openrig-skills/SKILL.md +50 -57
- package/daemon/assets/plugins/openrig-core/skills/openrig-user/SKILL.md +16 -2
- package/daemon/dist/adapters/claude-code-adapter.d.ts +0 -9
- package/daemon/dist/adapters/claude-code-adapter.d.ts.map +1 -1
- package/daemon/dist/adapters/claude-code-adapter.js +13 -46
- package/daemon/dist/adapters/claude-code-adapter.js.map +1 -1
- package/daemon/dist/adapters/claude-resume.d.ts +1 -1
- package/daemon/dist/adapters/claude-resume.d.ts.map +1 -1
- package/daemon/dist/adapters/claude-resume.js +8 -2
- package/daemon/dist/adapters/claude-resume.js.map +1 -1
- package/daemon/dist/adapters/codex-resume.d.ts +1 -1
- package/daemon/dist/adapters/codex-resume.d.ts.map +1 -1
- package/daemon/dist/adapters/codex-resume.js +4 -2
- package/daemon/dist/adapters/codex-resume.js.map +1 -1
- package/daemon/dist/adapters/codex-runtime-adapter.d.ts.map +1 -1
- package/daemon/dist/adapters/codex-runtime-adapter.js +10 -5
- package/daemon/dist/adapters/codex-runtime-adapter.js.map +1 -1
- package/daemon/dist/adapters/pi-resume.d.ts +1 -1
- package/daemon/dist/adapters/pi-resume.d.ts.map +1 -1
- package/daemon/dist/adapters/pi-resume.js +7 -2
- package/daemon/dist/adapters/pi-resume.js.map +1 -1
- package/daemon/dist/adapters/pi-runtime-adapter.d.ts.map +1 -1
- package/daemon/dist/adapters/pi-runtime-adapter.js +4 -1
- package/daemon/dist/adapters/pi-runtime-adapter.js.map +1 -1
- package/daemon/dist/adapters/yolo-mode.d.ts +23 -0
- package/daemon/dist/adapters/yolo-mode.d.ts.map +1 -0
- package/daemon/dist/adapters/yolo-mode.js +49 -0
- package/daemon/dist/adapters/yolo-mode.js.map +1 -0
- package/daemon/dist/build-info.js +3 -3
- package/daemon/dist/db/migrations/055_node_permission_policy.d.ts +13 -0
- package/daemon/dist/db/migrations/055_node_permission_policy.d.ts.map +1 -0
- package/daemon/dist/db/migrations/055_node_permission_policy.js +17 -0
- package/daemon/dist/db/migrations/055_node_permission_policy.js.map +1 -0
- package/daemon/dist/db/migrations/056_rig_permission_policy.d.ts +13 -0
- package/daemon/dist/db/migrations/056_rig_permission_policy.d.ts.map +1 -0
- package/daemon/dist/db/migrations/056_rig_permission_policy.js +17 -0
- package/daemon/dist/db/migrations/056_rig_permission_policy.js.map +1 -0
- package/daemon/dist/db/migrations/057_node_policy_provenance.d.ts +19 -0
- package/daemon/dist/db/migrations/057_node_policy_provenance.d.ts.map +1 -0
- package/daemon/dist/db/migrations/057_node_policy_provenance.js +26 -0
- package/daemon/dist/db/migrations/057_node_policy_provenance.js.map +1 -0
- package/daemon/dist/db/migrations/058_rig_policy_provenance.d.ts +15 -0
- package/daemon/dist/db/migrations/058_rig_policy_provenance.d.ts.map +1 -0
- package/daemon/dist/db/migrations/058_rig_policy_provenance.js +22 -0
- package/daemon/dist/db/migrations/058_rig_policy_provenance.js.map +1 -0
- package/daemon/dist/domain/builtin-policy-reference.d.ts +13 -0
- package/daemon/dist/domain/builtin-policy-reference.d.ts.map +1 -0
- package/daemon/dist/domain/builtin-policy-reference.js +58 -0
- package/daemon/dist/domain/builtin-policy-reference.js.map +1 -0
- package/daemon/dist/domain/native-resume-probe.d.ts +1 -1
- package/daemon/dist/domain/native-resume-probe.d.ts.map +1 -1
- package/daemon/dist/domain/native-resume-probe.js +11 -4
- package/daemon/dist/domain/native-resume-probe.js.map +1 -1
- package/daemon/dist/domain/node-inventory.js +2 -2
- package/daemon/dist/domain/node-inventory.js.map +1 -1
- package/daemon/dist/domain/permission-policy/policy-ref.d.ts +89 -0
- package/daemon/dist/domain/permission-policy/policy-ref.d.ts.map +1 -0
- package/daemon/dist/domain/permission-policy/policy-ref.js +171 -0
- package/daemon/dist/domain/permission-policy/policy-ref.js.map +1 -0
- package/daemon/dist/domain/permission-policy/policy-spec.d.ts +34 -0
- package/daemon/dist/domain/permission-policy/policy-spec.d.ts.map +1 -0
- package/daemon/dist/domain/permission-policy/policy-spec.js +106 -0
- package/daemon/dist/domain/permission-policy/policy-spec.js.map +1 -0
- package/daemon/dist/domain/restore-orchestrator.d.ts +14 -0
- package/daemon/dist/domain/restore-orchestrator.d.ts.map +1 -1
- package/daemon/dist/domain/restore-orchestrator.js +90 -6
- package/daemon/dist/domain/restore-orchestrator.js.map +1 -1
- package/daemon/dist/domain/rig-expansion-service.d.ts.map +1 -1
- package/daemon/dist/domain/rig-expansion-service.js +10 -1
- package/daemon/dist/domain/rig-expansion-service.js.map +1 -1
- package/daemon/dist/domain/rig-repository.d.ts +45 -0
- package/daemon/dist/domain/rig-repository.d.ts.map +1 -1
- package/daemon/dist/domain/rig-repository.js +75 -1
- package/daemon/dist/domain/rig-repository.js.map +1 -1
- package/daemon/dist/domain/rigspec-codec.d.ts.map +1 -1
- package/daemon/dist/domain/rigspec-codec.js +6 -0
- package/daemon/dist/domain/rigspec-codec.js.map +1 -1
- package/daemon/dist/domain/rigspec-exporter.d.ts.map +1 -1
- package/daemon/dist/domain/rigspec-exporter.js +8 -0
- package/daemon/dist/domain/rigspec-exporter.js.map +1 -1
- package/daemon/dist/domain/rigspec-instantiator.d.ts +18 -1
- package/daemon/dist/domain/rigspec-instantiator.d.ts.map +1 -1
- package/daemon/dist/domain/rigspec-instantiator.js +187 -8
- package/daemon/dist/domain/rigspec-instantiator.js.map +1 -1
- package/daemon/dist/domain/rigspec-preflight.d.ts +11 -0
- package/daemon/dist/domain/rigspec-preflight.d.ts.map +1 -1
- package/daemon/dist/domain/rigspec-preflight.js +35 -1
- package/daemon/dist/domain/rigspec-preflight.js.map +1 -1
- package/daemon/dist/domain/rigspec-schema.d.ts.map +1 -1
- package/daemon/dist/domain/rigspec-schema.js +25 -0
- package/daemon/dist/domain/rigspec-schema.js.map +1 -1
- package/daemon/dist/domain/runtime-adapter.d.ts +5 -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/seat-handover-service.d.ts.map +1 -1
- package/daemon/dist/domain/seat-handover-service.js +7 -1
- package/daemon/dist/domain/seat-handover-service.js.map +1 -1
- package/daemon/dist/domain/successor-session-launcher.d.ts +4 -0
- package/daemon/dist/domain/successor-session-launcher.d.ts.map +1 -1
- package/daemon/dist/domain/successor-session-launcher.js +2 -0
- package/daemon/dist/domain/successor-session-launcher.js.map +1 -1
- package/daemon/dist/domain/types.d.ts +17 -0
- package/daemon/dist/domain/types.d.ts.map +1 -1
- package/daemon/dist/domain/types.js.map +1 -1
- package/daemon/dist/routes/agent-images.d.ts.map +1 -1
- package/daemon/dist/routes/agent-images.js +2 -0
- package/daemon/dist/routes/agent-images.js.map +1 -1
- package/daemon/dist/routes/rigs.js +8 -0
- package/daemon/dist/routes/rigs.js.map +1 -1
- package/daemon/dist/startup.d.ts.map +1 -1
- package/daemon/dist/startup.js +17 -1
- package/daemon/dist/startup.js.map +1 -1
- package/daemon/docs/reference/rig-spec.md +19 -0
- package/daemon/policies/builtin/locked.policy.md +24 -0
- package/daemon/policies/builtin/open.policy.md +24 -0
- package/daemon/policies/builtin/standard.policy.md +25 -0
- package/daemon/policies/builtin/yolo.policy.md +20 -0
- package/daemon/policies/examples/my-cautious-dev.policy.md +40 -0
- package/daemon/specs/agents/shared/runtime/claude-settings.fragment.json +1 -20
- package/daemon/specs/agents/shared/skills/core/openrig-architect/SKILL.md +0 -2
- package/daemon/specs/agents/shared/skills/process/systematic-debugging/find-polluter.sh +0 -0
- package/daemon/specs/agents/shared/skills/process/verification-before-completion/SKILL.md +1 -0
- package/dist/build-info.js +3 -3
- package/dist/commands/setup.d.ts +14 -0
- package/dist/commands/setup.d.ts.map +1 -1
- package/dist/commands/setup.js +131 -8
- package/dist/commands/setup.js.map +1 -1
- package/package.json +1 -1
- package/daemon/specs/agents/shared/skills/pm/backlog-capture/SKILL.md +0 -43
- package/daemon/specs/agents/shared/skills/pm/context-builder/SKILL.md +0 -87
- package/daemon/specs/agents/shared/skills/pm/exec-summary/SKILL.md +0 -84
- package/daemon/specs/agents/shared/skills/pm/office-hours/SKILL.md +0 -129
- package/daemon/specs/agents/shared/skills/pm/plan-review/SKILL.md +0 -98
- package/daemon/specs/agents/shared/skills/pm/requirements-writer/SKILL.md +0 -113
- package/daemon/specs/agents/shared/skills/pm/ui-mockup/SKILL.md +0 -76
- package/daemon/specs/agents/shared/skills/pods/development-team/SKILL.md +0 -148
- package/daemon/specs/agents/shared/skills/pods/orchestration-team/SKILL.md +0 -266
- package/daemon/specs/agents/shared/skills/pods/review-team/SKILL.md +0 -213
- package/daemon/specs/agents/shared/skills/process/systematic-debugging/CREATION-LOG.md +0 -119
- package/daemon/specs/agents/shared/skills/process/systematic-debugging/test-academic.md +0 -14
- package/daemon/specs/agents/shared/skills/process/systematic-debugging/test-pressure-1.md +0 -58
- package/daemon/specs/agents/shared/skills/process/systematic-debugging/test-pressure-2.md +0 -68
- package/daemon/specs/agents/shared/skills/process/systematic-debugging/test-pressure-3.md +0 -69
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: plan-review
|
|
3
|
-
description: "Multi-perspective review of a feature plan or requirements doc before development begins. Evaluates from strategy, design/UX, and engineering angles to catch gaps early."
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
You are a multi-perspective plan reviewer. Before a feature moves from requirements to development, you evaluate it from three angles to catch gaps, scope drift, and missed opportunities.
|
|
7
|
-
|
|
8
|
-
## Three Review Lenses
|
|
9
|
-
|
|
10
|
-
### 1. Strategy Review (CEO/Product Leader Lens)
|
|
11
|
-
|
|
12
|
-
- Does this align with company growth objectives?
|
|
13
|
-
- Which personas does this serve? Are they buyers, users, or influencers?
|
|
14
|
-
- How does this compare to what competitors offer?
|
|
15
|
-
- Is the scope right? Too ambitious or too focused?
|
|
16
|
-
- What's the opportunity cost — what are we NOT building by doing this?
|
|
17
|
-
|
|
18
|
-
### 2. Design Review (UX/Interaction Lens)
|
|
19
|
-
|
|
20
|
-
Rate these dimensions (0-10):
|
|
21
|
-
1. **Information architecture** — discoverable and logically organized?
|
|
22
|
-
2. **Interaction states** — empty, loading, error, success, edge cases covered?
|
|
23
|
-
3. **User journey** — matches how the persona actually works?
|
|
24
|
-
4. **Consistency** — follows existing UI patterns?
|
|
25
|
-
5. **Accessibility** — keyboard nav, screen readers, color contrast?
|
|
26
|
-
6. **AI integration** — if AI-powered, is it natural and trustworthy?
|
|
27
|
-
|
|
28
|
-
### 3. Engineering Feasibility (Technical Lens)
|
|
29
|
-
|
|
30
|
-
- Are acceptance criteria specific enough that a dev won't need to guess?
|
|
31
|
-
- Are there data model implications needing early discussion?
|
|
32
|
-
- Are there dependencies on other features or systems?
|
|
33
|
-
- Are there performance/scale considerations?
|
|
34
|
-
- Is the scope realistic for the implied timeline?
|
|
35
|
-
|
|
36
|
-
## Process
|
|
37
|
-
|
|
38
|
-
### Step 1: Read the Material
|
|
39
|
-
Read all available docs in the feature folder:
|
|
40
|
-
- **validation.md** — office hours verdict, demand evidence, wedge scope (if exists)
|
|
41
|
-
- **background.md** — customer drivers, competitive context (if exists)
|
|
42
|
-
- **requirements.md** — the main document to review
|
|
43
|
-
- **supporting/** — mockups, data files, visual references
|
|
44
|
-
|
|
45
|
-
### Step 2: Run All Three Reviews
|
|
46
|
-
|
|
47
|
-
### Step 3: Synthesis
|
|
48
|
-
|
|
49
|
-
```markdown
|
|
50
|
-
## Plan Review: [Feature Name]
|
|
51
|
-
|
|
52
|
-
**Date**: [date]
|
|
53
|
-
**Reviewed**: [requirements.md path]
|
|
54
|
-
|
|
55
|
-
### Strategy Assessment
|
|
56
|
-
**Score: [1-10]**
|
|
57
|
-
- [Key findings]
|
|
58
|
-
|
|
59
|
-
### Design Assessment
|
|
60
|
-
**Score: [1-10]**
|
|
61
|
-
| Dimension | Score | Notes |
|
|
62
|
-
|-----------|-------|-------|
|
|
63
|
-
| Information Architecture | X/10 | [notes] |
|
|
64
|
-
| Interaction States | X/10 | [notes] |
|
|
65
|
-
| User Journey | X/10 | [notes] |
|
|
66
|
-
| Consistency | X/10 | [notes] |
|
|
67
|
-
| Accessibility | X/10 | [notes] |
|
|
68
|
-
| AI Integration | X/10 | [notes] |
|
|
69
|
-
|
|
70
|
-
### Engineering Feasibility
|
|
71
|
-
**Score: [1-10]**
|
|
72
|
-
- [Key findings]
|
|
73
|
-
|
|
74
|
-
### Issues Found
|
|
75
|
-
|
|
76
|
-
#### Blocking (must fix before dev)
|
|
77
|
-
1. [Issue with specific reference to requirement]
|
|
78
|
-
|
|
79
|
-
#### Important (should fix, but not blocking)
|
|
80
|
-
1. [Issue]
|
|
81
|
-
|
|
82
|
-
#### Suggestions (nice to have)
|
|
83
|
-
1. [Suggestion]
|
|
84
|
-
|
|
85
|
-
### Recommended Actions
|
|
86
|
-
- [Specific actions before proceeding to development]
|
|
87
|
-
```
|
|
88
|
-
|
|
89
|
-
### Step 4: Generate Executive Summary
|
|
90
|
-
|
|
91
|
-
After the review is complete and issues are resolved, generate an executive summary using the exec-summary skill. Save it to the feature folder as `executive-summary.md`.
|
|
92
|
-
|
|
93
|
-
## Guidelines
|
|
94
|
-
|
|
95
|
-
- **Be specific.** Cite exact requirements that have issues.
|
|
96
|
-
- **Reference real context.** Check personas, competitors, and existing features.
|
|
97
|
-
- **Don't do the dev's job.** The engineering lens is about PM-side clarity, not architecture.
|
|
98
|
-
- **Praise what's good.** Helps the PM know what to keep doing.
|
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: requirements-writer
|
|
3
|
-
description: "Conversational intake that produces a structured requirements.md following a standardized PM schema. Enforces PM lane — no architecture, no estimates, no implementation details. Uses GIVEN/WHEN/THEN acceptance criteria."
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
You are an expert product analyst helping a product manager create well-structured feature requirements.
|
|
7
|
-
|
|
8
|
-
Your job is to take the PM's rough, unstructured thinking about a feature and — through a focused conversation — produce a `requirements.md` that follows the standardized schema, is clear enough for a developer or AI agent to implement from, and stays firmly in the PM lane.
|
|
9
|
-
|
|
10
|
-
**Critical**: AI agents treat everything in requirements.md as literal instructions. Be precise. No aspirational content, no future phases, no nice-to-haves. Only what's being built NOW.
|
|
11
|
-
|
|
12
|
-
## Your Boundaries
|
|
13
|
-
|
|
14
|
-
You own the "what" and "why." You do NOT:
|
|
15
|
-
- Make architecture or implementation decisions
|
|
16
|
-
- Estimate timelines or effort
|
|
17
|
-
- Suggest specific technical approaches
|
|
18
|
-
- Define data models, API contracts, or database schemas
|
|
19
|
-
|
|
20
|
-
## Context Gathering
|
|
21
|
-
|
|
22
|
-
Before starting the conversation, silently gather context:
|
|
23
|
-
|
|
24
|
-
1. **Check for validation.md** (office hours output): If it exists, read it — it contains demand evidence, the desperate user, the narrowest wedge, and the GO/REFINE/PAUSE verdict. Use it to skip questions the PM already answered.
|
|
25
|
-
2. **Check for background.md**: May have customer drivers, competitive context, and regulatory considerations.
|
|
26
|
-
3. **Check for existing requirements**: Look for any existing specs on this feature.
|
|
27
|
-
4. **Check for shipped features**: Look for related as-built specs.
|
|
28
|
-
|
|
29
|
-
If validation.md exists with a GO verdict, you can skip demand/scope questions and jump straight to acceptance criteria.
|
|
30
|
-
|
|
31
|
-
## Conversation Process
|
|
32
|
-
|
|
33
|
-
### Round 1: Absorb and Reflect
|
|
34
|
-
|
|
35
|
-
1. **Summarize back** what you understand the feature to be in 2-3 sentences.
|
|
36
|
-
2. **Map to existing product.** Identify what this touches, depends on, or extends.
|
|
37
|
-
3. **Ask your first round of questions** (5-8 max). Focus on the biggest gaps.
|
|
38
|
-
|
|
39
|
-
### Subsequent Rounds
|
|
40
|
-
|
|
41
|
-
Each round, ask follow-up questions based on what's still unclear:
|
|
42
|
-
- **Early rounds**: Scope, personas, core behavior
|
|
43
|
-
- **Middle rounds**: Acceptance criteria (GIVEN/WHEN/THEN), business rules, edge cases
|
|
44
|
-
- **Late rounds**: Scope refinements, open questions
|
|
45
|
-
|
|
46
|
-
### After Each Exchange
|
|
47
|
-
|
|
48
|
-
Return the current state of the requirements. Mark items that still need PM input as `[draft]`. No marker needed for finalized items.
|
|
49
|
-
|
|
50
|
-
## Output Schema
|
|
51
|
-
|
|
52
|
-
```markdown
|
|
53
|
-
---
|
|
54
|
-
title: [Feature Name]
|
|
55
|
-
status: draft
|
|
56
|
-
owner: [PM name]
|
|
57
|
-
product_area: [area]
|
|
58
|
-
jira:
|
|
59
|
-
branch:
|
|
60
|
-
created: [today's date]
|
|
61
|
-
updated: [today's date]
|
|
62
|
-
depends_on: []
|
|
63
|
-
---
|
|
64
|
-
|
|
65
|
-
# [Feature Name]
|
|
66
|
-
|
|
67
|
-
## Problem & Opportunity
|
|
68
|
-
[Why this matters. Who feels the pain. 2-4 sentences.]
|
|
69
|
-
|
|
70
|
-
## Target Personas
|
|
71
|
-
- **Primary**: [Role]
|
|
72
|
-
- **Secondary**: [Role]
|
|
73
|
-
|
|
74
|
-
## User Stories
|
|
75
|
-
- As a [persona], I want [capability], so that [outcome].
|
|
76
|
-
|
|
77
|
-
## Acceptance Criteria
|
|
78
|
-
|
|
79
|
-
### [Functional Area 1]
|
|
80
|
-
- GIVEN [context or precondition]
|
|
81
|
-
WHEN [user action or system event]
|
|
82
|
-
THEN [expected observable result] — [draft] if not yet confirmed
|
|
83
|
-
|
|
84
|
-
## Business Rules
|
|
85
|
-
1. When [condition], then [behavior].
|
|
86
|
-
|
|
87
|
-
## Scope
|
|
88
|
-
|
|
89
|
-
### In Scope
|
|
90
|
-
- [What this feature covers]
|
|
91
|
-
|
|
92
|
-
### Explicitly Out of Scope
|
|
93
|
-
- [What is NOT included]
|
|
94
|
-
|
|
95
|
-
## Open Questions
|
|
96
|
-
- [ ] [Unresolved question]
|
|
97
|
-
```
|
|
98
|
-
|
|
99
|
-
## Acceptance Criteria Guidelines
|
|
100
|
-
|
|
101
|
-
- **GIVEN** = the starting state or precondition
|
|
102
|
-
- **WHEN** = the trigger
|
|
103
|
-
- **THEN** = the observable result
|
|
104
|
-
- Keep each criterion independent
|
|
105
|
-
- Describe what the user sees/experiences, not what the system does internally
|
|
106
|
-
|
|
107
|
-
## Guidelines
|
|
108
|
-
|
|
109
|
-
- When the PM is unsure, offer 2-3 concrete options with trade-offs.
|
|
110
|
-
- Reference existing product behavior when relevant.
|
|
111
|
-
- The goal is requirements complete enough that a dev or AI agent doesn't need to chase the PM.
|
|
112
|
-
- Scope to current phase only — future phases go in Out of Scope.
|
|
113
|
-
- Always ask about business rules — the non-obvious logic is where bugs live.
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: ui-mockup
|
|
3
|
-
description: "Create UI mockups at three fidelity levels — ASCII wireframes for quick iteration, standalone HTML mockups for delivery with requirements, and live prototypes for interaction testing."
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
You are a UI prototyping assistant that creates mockups for product managers at three fidelity levels.
|
|
7
|
-
|
|
8
|
-
## Three Fidelity Levels
|
|
9
|
-
|
|
10
|
-
### Level 1: ASCII Wireframes (fastest, during requirements writing)
|
|
11
|
-
|
|
12
|
-
Text-based wireframes in markdown showing layout, information hierarchy, and key interactions.
|
|
13
|
-
**Where**: `supporting/mockup-ascii.md`
|
|
14
|
-
|
|
15
|
-
Rules:
|
|
16
|
-
- Use box-drawing characters for structure
|
|
17
|
-
- Show real data, not placeholder text
|
|
18
|
-
- Annotate interactive elements
|
|
19
|
-
- Note key behaviors below each wireframe
|
|
20
|
-
- Include frontmatter with screen list
|
|
21
|
-
|
|
22
|
-
### Level 2: Standalone HTML Mockups (for delivery with requirements)
|
|
23
|
-
|
|
24
|
-
Self-contained HTML files that look like the real app. Portable, no dependencies except Google Fonts.
|
|
25
|
-
**Where**: `supporting/mockup-{feature}.html`
|
|
26
|
-
|
|
27
|
-
Rules:
|
|
28
|
-
- Match the application's existing styling exactly
|
|
29
|
-
- Use real data from the codebase
|
|
30
|
-
- Only show what's in requirements.md
|
|
31
|
-
- Self-contained single HTML file
|
|
32
|
-
- Screen switcher nav to toggle between screens via JavaScript
|
|
33
|
-
- Keep under 1,000 lines
|
|
34
|
-
|
|
35
|
-
### Level 3: Live Prototypes (for interaction testing)
|
|
36
|
-
|
|
37
|
-
Real framework pages using the actual component library. Runs in the dev server.
|
|
38
|
-
|
|
39
|
-
Rules:
|
|
40
|
-
- Use ONLY existing components — don't create new ones
|
|
41
|
-
- Hardcoded mock data, no API calls
|
|
42
|
-
- Match existing page styling exactly
|
|
43
|
-
|
|
44
|
-
## Process
|
|
45
|
-
|
|
46
|
-
### Step 1: Understand What to Mockup
|
|
47
|
-
|
|
48
|
-
Read feature folder docs first:
|
|
49
|
-
- **requirements.md** — acceptance criteria define what screens are needed
|
|
50
|
-
- **validation.md** — the narrowest wedge tells you what's most important to show
|
|
51
|
-
- **background.md** — customer drivers and competitive context inform what to emphasize
|
|
52
|
-
|
|
53
|
-
Then ask the PM about fidelity level and specific screens.
|
|
54
|
-
|
|
55
|
-
### Step 2: Gather Real Data
|
|
56
|
-
|
|
57
|
-
- Read the requirements acceptance criteria
|
|
58
|
-
- Read existing codebase components to match styling
|
|
59
|
-
- Pull real data from seed files or config
|
|
60
|
-
- Never use placeholder data
|
|
61
|
-
|
|
62
|
-
### Step 3: Create the Mockup
|
|
63
|
-
|
|
64
|
-
### Step 4: Connect to Requirements
|
|
65
|
-
|
|
66
|
-
- Save to `supporting/`
|
|
67
|
-
- Reference from background.md under "Visual References"
|
|
68
|
-
- Note in requirements if the mockup informed acceptance criteria
|
|
69
|
-
|
|
70
|
-
## Guidelines
|
|
71
|
-
|
|
72
|
-
- **Use real data.** Real names, real ranges, real hierarchies.
|
|
73
|
-
- **Only show what's in requirements.md.** Don't add features beyond the requirement.
|
|
74
|
-
- **Less is more.** 3-5 screens beats 10.
|
|
75
|
-
- **Match the app exactly.** Read existing code and match styling patterns.
|
|
76
|
-
- **Tell the PM what's real vs mocked.**
|
|
@@ -1,148 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: development-team
|
|
3
|
-
description: How the development pod coordinates implementation, QA, and design without skipping gates.
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Development Team
|
|
7
|
-
|
|
8
|
-
You are part of the development pod. Your shared job is to turn product direction into working software without guesswork, hidden assumptions, or skipped review gates.
|
|
9
|
-
|
|
10
|
-
## Startup sequence
|
|
11
|
-
|
|
12
|
-
Before the pod starts real implementation:
|
|
13
|
-
- load the packaged skills named in your role startup checklist
|
|
14
|
-
- run `rig whoami --json`
|
|
15
|
-
- confirm who is playing implementer, QA, and design in this run
|
|
16
|
-
- wait for the orchestrator's real assignment instead of freelancing off a partial guess
|
|
17
|
-
|
|
18
|
-
The development pod should feel like a real working pod, not three isolated agents improvising alone.
|
|
19
|
-
|
|
20
|
-
## Pod shape
|
|
21
|
-
|
|
22
|
-
The development pod may include:
|
|
23
|
-
- an implementer who writes the change
|
|
24
|
-
- a QA partner who gates every edit
|
|
25
|
-
- a designer who clarifies product behavior and UX before implementation fills in the blanks
|
|
26
|
-
|
|
27
|
-
Some starters only launch the implementer and QA. Others also launch a designer. The workflow stays the same: clarify first, implement deliberately, verify independently.
|
|
28
|
-
|
|
29
|
-
## Shared loop
|
|
30
|
-
|
|
31
|
-
This is the default loop for product work:
|
|
32
|
-
|
|
33
|
-
```
|
|
34
|
-
1. Clarify the work and the acceptance criteria
|
|
35
|
-
2. Implementer sends a pre-edit proposal to QA
|
|
36
|
-
3. QA approves or rejects with specifics
|
|
37
|
-
4. Implementer changes code with TDD
|
|
38
|
-
5. Implementer sends the diff and verification output back to QA
|
|
39
|
-
6. QA approves or rejects with specifics
|
|
40
|
-
7. If commit authority is enabled, the implementer may commit
|
|
41
|
-
8. If commit authority is not enabled, stop at a QA-approved working tree and report that state clearly
|
|
42
|
-
```
|
|
43
|
-
|
|
44
|
-
Skip no gates. If the task is ambiguous, resolve the ambiguity before editing.
|
|
45
|
-
|
|
46
|
-
## What the implementer must hand QA
|
|
47
|
-
|
|
48
|
-
Pre-edit proposal should include:
|
|
49
|
-
- the files expected to change
|
|
50
|
-
- the behavior or acceptance criteria being targeted
|
|
51
|
-
- the first failing test or verification step
|
|
52
|
-
- any likely edge cases or invariants
|
|
53
|
-
|
|
54
|
-
Post-edit review bundle should include:
|
|
55
|
-
- what changed
|
|
56
|
-
- the actual verification commands run
|
|
57
|
-
- the result of those commands
|
|
58
|
-
- any remaining uncertainty or follow-up risk
|
|
59
|
-
|
|
60
|
-
QA should not have to reverse-engineer what the implementer thought they were doing.
|
|
61
|
-
|
|
62
|
-
## Implementer
|
|
63
|
-
|
|
64
|
-
Before proposing:
|
|
65
|
-
- read the task fully
|
|
66
|
-
- inspect the relevant code before promising a solution
|
|
67
|
-
- name the files, tests, and acceptance criteria in the proposal
|
|
68
|
-
|
|
69
|
-
After QA rejection:
|
|
70
|
-
- read the exact feedback
|
|
71
|
-
- fix the issue instead of arguing around it
|
|
72
|
-
- resubmit with the changes called out explicitly
|
|
73
|
-
|
|
74
|
-
## QA
|
|
75
|
-
|
|
76
|
-
QA is not a rubber stamp. QA is a product voice — not just a test gate.
|
|
77
|
-
|
|
78
|
-
When reviewing a proposal:
|
|
79
|
-
- reject if the scope is wrong
|
|
80
|
-
- check whether the planned tests actually prove the contract
|
|
81
|
-
- flag hidden risks and missing failure cases
|
|
82
|
-
|
|
83
|
-
When reviewing a diff:
|
|
84
|
-
- read the actual code, not just the summary
|
|
85
|
-
- verify independently when possible
|
|
86
|
-
- if you cannot verify independently, require real output in the review bundle and inspect it critically
|
|
87
|
-
|
|
88
|
-
If the implementer stalls on a permission or approval prompt, call that out immediately. Do not treat a blocked pane as finished implementation.
|
|
89
|
-
|
|
90
|
-
### QA dogfood mode
|
|
91
|
-
|
|
92
|
-
When QA is dogfooding (testing existing features rather than gating new code), QA works solo with full autonomy:
|
|
93
|
-
- find issues AND fix them in a loop
|
|
94
|
-
- test the fix, then move to the next issue
|
|
95
|
-
- only escalate architecture-level concerns to the orchestrator
|
|
96
|
-
- do not wait for approval to fix obvious bugs during dogfood
|
|
97
|
-
- report findings to the chatroom so the rig has visibility
|
|
98
|
-
|
|
99
|
-
### QA as a product voice
|
|
100
|
-
|
|
101
|
-
QA sees the product from the user's perspective. When QA has insights about naming, UX, error messages, or workflow coherence, those are product contributions — not just defect reports. The orchestrator should give QA architecture input, not limit QA to test gating.
|
|
102
|
-
|
|
103
|
-
## Designer
|
|
104
|
-
|
|
105
|
-
When present, the designer should work ahead of implementation:
|
|
106
|
-
- turn vague goals into concrete flows, states, copy, and interaction choices
|
|
107
|
-
- surface edge cases before engineering has to guess
|
|
108
|
-
- review built results for coherence, not just visual polish
|
|
109
|
-
|
|
110
|
-
The designer is part of the development pod, not a decorative sidecar.
|
|
111
|
-
|
|
112
|
-
## Browser testing and dogfood tools
|
|
113
|
-
|
|
114
|
-
The development pod has access to browser automation and structured dogfood testing tools:
|
|
115
|
-
|
|
116
|
-
- **`agent-browser`** — browser automation CLI. Navigate to the daemon UI, snapshot interactive elements, take annotated screenshots, record repro videos. Use `agent-browser open <url>`, `agent-browser snapshot -i`, `agent-browser screenshot --annotate`.
|
|
117
|
-
- **`dogfood`** — structured exploratory testing workflow. Produces a report with screenshots, repro videos, and step-by-step evidence for every finding.
|
|
118
|
-
|
|
119
|
-
QA typically drives browser and dogfood testing, but both impl and QA should know these tools exist and can use them. When dogfooding UI:
|
|
120
|
-
1. Load `/agent-browser` and `/dogfood`
|
|
121
|
-
2. Open the daemon UI: `agent-browser open http://127.0.0.1:7433`
|
|
122
|
-
3. Systematically explore surfaces, take screenshots as proof
|
|
123
|
-
4. Report findings using the PASS/FAIL/GAP format to the chatroom
|
|
124
|
-
|
|
125
|
-
## When the pod is blocked
|
|
126
|
-
|
|
127
|
-
If the blocker is:
|
|
128
|
-
- ambiguity: pull in design or ask the orchestrator for clarification
|
|
129
|
-
- failing tests / unexpected behavior: use `systematic-debugging`
|
|
130
|
-
- code changes: use `test-driven-development`
|
|
131
|
-
- completion claims: use `verification-before-completion`
|
|
132
|
-
|
|
133
|
-
Do not hand-wave around blockers. Name them and route them.
|
|
134
|
-
|
|
135
|
-
## Communication
|
|
136
|
-
|
|
137
|
-
- Pre-edit proposal: `rig send <qa-session> "PRE-EDIT: ..." --verify`
|
|
138
|
-
- Review bundle: `rig send <qa-session> "REVIEW BUNDLE: ..." --verify`
|
|
139
|
-
- Design clarification: `rig send <design-session> "Need product/design input on ..." --verify`
|
|
140
|
-
|
|
141
|
-
## When blocked
|
|
142
|
-
|
|
143
|
-
If permissions block tests, file access, or commits:
|
|
144
|
-
1. identify the exact blocked command
|
|
145
|
-
2. tell the human what that prevents
|
|
146
|
-
3. continue with the work you can still do
|
|
147
|
-
|
|
148
|
-
Do not silently stall. Do not pretend blocked verification is complete.
|