@starlein/paperclip-plugin-company-wizard 0.4.22 → 0.6.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.
Files changed (168) hide show
  1. package/CHANGELOG.md +120 -0
  2. package/README.md +29 -15
  3. package/dist/manifest.js +24 -9
  4. package/dist/manifest.js.map +2 -2
  5. package/dist/ui/index.css +636 -589
  6. package/dist/ui/index.css.map +2 -2
  7. package/dist/ui/index.js +365 -60
  8. package/dist/ui/index.js.map +4 -4
  9. package/dist/worker.js +22374 -5375
  10. package/dist/worker.js.map +4 -4
  11. package/docs/PAPERCLIP-COMPATIBILITY.md +66 -0
  12. package/package.json +10 -10
  13. package/templates/ai-wizard/interview-system.md +2 -0
  14. package/templates/ai-wizard/single-shot-system.md +2 -0
  15. package/templates/bootstrap-instructions.md +3 -3
  16. package/templates/modules/accessibility/agents/engineer/skills/accessibility-audit.fallback.md +2 -2
  17. package/templates/modules/accessibility/agents/ui-designer/skills/accessibility-audit.fallback.md +2 -2
  18. package/templates/modules/accessibility/module.meta.json +1 -1
  19. package/templates/modules/accessibility/skills/accessibility-audit.bar.md +1 -1
  20. package/templates/modules/accessibility/skills/accessibility-audit.md +1 -1
  21. package/templates/modules/architecture-plan/agents/ceo/skills/architecture-plan.bar.md +2 -2
  22. package/templates/modules/architecture-plan/agents/ceo/skills/architecture-plan.fallback.md +2 -2
  23. package/templates/modules/architecture-plan/agents/engineer/skills/design-system.fallback.md +2 -2
  24. package/templates/modules/architecture-plan/agents/ui-designer/skills/architecture-plan.md +2 -2
  25. package/templates/modules/architecture-plan/agents/ui-designer/skills/design-system.md +3 -3
  26. package/templates/modules/architecture-plan/module.meta.json +2 -2
  27. package/templates/modules/architecture-plan/skills/architecture-plan.bar.md +1 -1
  28. package/templates/modules/architecture-plan/skills/architecture-plan.md +3 -3
  29. package/templates/modules/architecture-plan/skills/design-system.md +5 -5
  30. package/templates/modules/auto-assign/README.md +4 -4
  31. package/templates/modules/auto-assign/agents/ceo/heartbeat-section.md +1 -1
  32. package/templates/modules/auto-assign/agents/ceo/skills/auto-assign.fallback.md +6 -6
  33. package/templates/modules/auto-assign/agents/product-owner/heartbeat-section.md +1 -1
  34. package/templates/modules/auto-assign/module.meta.json +1 -1
  35. package/templates/modules/auto-assign/skills/auto-assign.md +3 -2
  36. package/templates/modules/backlog/agents/ceo/heartbeat-section.md +1 -1
  37. package/templates/modules/backlog/agents/ceo/skills/backlog-health.fallback.md +9 -9
  38. package/templates/modules/backlog/agents/product-owner/heartbeat-section.md +1 -1
  39. package/templates/modules/backlog/docs/backlog-process.md +36 -21
  40. package/templates/modules/backlog/docs/backlog-template.md +10 -9
  41. package/templates/modules/backlog/module.meta.json +2 -2
  42. package/templates/modules/backlog/skills/backlog-health.bar.md +3 -3
  43. package/templates/modules/backlog/skills/backlog-health.md +16 -15
  44. package/templates/modules/brand-identity/agents/ceo/skills/brand-identity.fallback.md +2 -2
  45. package/templates/modules/brand-identity/agents/cmo/skills/brand-identity.fallback.md +2 -2
  46. package/templates/modules/brand-identity/module.meta.json +1 -1
  47. package/templates/modules/brand-identity/skills/brand-identity.bar.md +1 -1
  48. package/templates/modules/brand-identity/skills/brand-identity.md +3 -3
  49. package/templates/modules/build-api/skills/api-design.bar.md +1 -1
  50. package/templates/modules/build-api/skills/api-design.md +1 -1
  51. package/templates/modules/ci-cd/agents/devops/skills/ci-cd.md +1 -1
  52. package/templates/modules/ci-cd/agents/engineer/skills/ci-cd.fallback.md +2 -2
  53. package/templates/modules/ci-cd/module.meta.json +1 -1
  54. package/templates/modules/ci-cd/skills/ci-cd.bar.md +1 -1
  55. package/templates/modules/ci-cd/skills/ci-cd.md +6 -4
  56. package/templates/modules/codebase-onboarding/agents/ceo/skills/codebase-audit.fallback.md +5 -5
  57. package/templates/modules/codebase-onboarding/module.meta.json +1 -1
  58. package/templates/modules/codebase-onboarding/skills/codebase-audit.bar.md +1 -1
  59. package/templates/modules/codebase-onboarding/skills/codebase-audit.md +2 -2
  60. package/templates/modules/competitive-intel/agents/ceo/skills/competitive-tracking.fallback.md +2 -2
  61. package/templates/modules/competitive-intel/agents/cmo/skills/competitive-tracking.fallback.md +2 -2
  62. package/templates/modules/competitive-intel/agents/customer-success/skills/competitive-tracking.md +2 -2
  63. package/templates/modules/competitive-intel/agents/product-owner/skills/competitive-tracking.fallback.md +2 -2
  64. package/templates/modules/competitive-intel/module.meta.json +1 -1
  65. package/templates/modules/competitive-intel/skills/competitive-tracking.bar.md +2 -2
  66. package/templates/modules/competitive-intel/skills/competitive-tracking.md +3 -3
  67. package/templates/modules/dependency-management/agents/engineer/skills/dependency-audit.fallback.md +2 -2
  68. package/templates/modules/dependency-management/agents/security-engineer/skills/dependency-audit.fallback.md +2 -2
  69. package/templates/modules/dependency-management/module.meta.json +2 -2
  70. package/templates/modules/dependency-management/skills/dependency-audit.md +2 -2
  71. package/templates/modules/game-design/agents/ceo/skills/game-design.fallback.md +1 -1
  72. package/templates/modules/game-design/agents/engineer/skills/game-design.fallback.md +1 -1
  73. package/templates/modules/game-design/agents/game-designer/skills/game-design.md +2 -2
  74. package/templates/modules/game-design/module.meta.json +1 -1
  75. package/templates/modules/game-design/skills/audio-design.fallback.md +2 -2
  76. package/templates/modules/game-design/skills/audio-design.md +3 -3
  77. package/templates/modules/game-design/skills/game-design.bar.md +1 -1
  78. package/templates/modules/game-design/skills/game-design.md +3 -3
  79. package/templates/modules/game-design/skills/level-design.fallback.md +2 -2
  80. package/templates/modules/game-design/skills/level-design.md +4 -4
  81. package/templates/modules/github-repo/agents/engineer/skills/git-workflow.md +15 -14
  82. package/templates/modules/github-repo/docs/git-workflow.md +7 -7
  83. package/templates/modules/github-repo/module.meta.json +1 -1
  84. package/templates/modules/lean-delivery/docs/lean-delivery.md +15 -0
  85. package/templates/modules/lean-delivery/module.meta.json +6 -0
  86. package/templates/modules/market-analysis/agents/ceo/skills/market-analysis.fallback.md +2 -2
  87. package/templates/modules/market-analysis/agents/cmo/skills/market-analysis.fallback.md +2 -2
  88. package/templates/modules/market-analysis/agents/product-owner/skills/market-analysis.fallback.md +2 -2
  89. package/templates/modules/market-analysis/agents/ux-researcher/skills/market-analysis.md +2 -2
  90. package/templates/modules/market-analysis/module.meta.json +1 -1
  91. package/templates/modules/market-analysis/skills/market-analysis.bar.md +1 -1
  92. package/templates/modules/market-analysis/skills/market-analysis.md +2 -2
  93. package/templates/modules/monitoring/agents/devops/skills/monitoring.md +1 -1
  94. package/templates/modules/monitoring/agents/engineer/skills/monitoring.fallback.md +2 -2
  95. package/templates/modules/monitoring/module.meta.json +1 -1
  96. package/templates/modules/monitoring/skills/monitoring.bar.md +1 -1
  97. package/templates/modules/monitoring/skills/monitoring.md +3 -3
  98. package/templates/modules/pr-review/README.md +10 -12
  99. package/templates/modules/pr-review/agents/code-reviewer/skills/code-review.md +16 -13
  100. package/templates/modules/pr-review/agents/devops/skills/infra-review.md +2 -2
  101. package/templates/modules/pr-review/agents/engineer/skills/pr-workflow.md +36 -26
  102. package/templates/modules/pr-review/agents/product-owner/skills/product-review.md +8 -8
  103. package/templates/modules/pr-review/agents/qa/skills/qa-review.md +10 -10
  104. package/templates/modules/pr-review/agents/security-engineer/skills/pr-security-review.md +5 -4
  105. package/templates/modules/pr-review/agents/ui-designer/skills/design-review.md +4 -4
  106. package/templates/modules/pr-review/agents/ux-researcher/skills/ux-review.md +3 -3
  107. package/templates/modules/pr-review/docs/pr-conventions.md +22 -26
  108. package/templates/modules/pr-review/module.meta.json +2 -2
  109. package/templates/modules/release-management/agents/ceo/skills/release-process.fallback.md +2 -2
  110. package/templates/modules/release-management/agents/engineer/skills/release-process.fallback.md +2 -2
  111. package/templates/modules/release-management/module.meta.json +3 -3
  112. package/templates/modules/release-management/skills/release-process.md +2 -2
  113. package/templates/modules/security-audit/agents/devops/skills/security-review.fallback.md +2 -2
  114. package/templates/modules/security-audit/agents/devops/skills/threat-model.fallback.md +2 -2
  115. package/templates/modules/security-audit/agents/engineer/skills/security-review.fallback.md +2 -2
  116. package/templates/modules/security-audit/agents/engineer/skills/threat-model.fallback.md +2 -2
  117. package/templates/modules/security-audit/module.meta.json +2 -2
  118. package/templates/modules/security-audit/skills/security-review.bar.md +1 -1
  119. package/templates/modules/security-audit/skills/security-review.md +1 -1
  120. package/templates/modules/security-audit/skills/threat-model.bar.md +1 -1
  121. package/templates/modules/security-audit/skills/threat-model.md +3 -3
  122. package/templates/modules/stall-detection/agents/ceo/heartbeat-section.md +1 -1
  123. package/templates/modules/stall-detection/agents/ceo/skills/stall-detection.md +19 -16
  124. package/templates/modules/tech-stack/agents/ceo/skills/tech-stack.fallback.md +2 -2
  125. package/templates/modules/tech-stack/module.meta.json +1 -1
  126. package/templates/modules/tech-stack/skills/tech-stack.bar.md +1 -1
  127. package/templates/modules/tech-stack/skills/tech-stack.md +2 -2
  128. package/templates/modules/triage/agents/ceo/skills/issue-triage.fallback.md +1 -1
  129. package/templates/modules/triage/agents/engineer/skills/issue-triage.fallback.md +1 -1
  130. package/templates/modules/triage/skills/issue-triage.md +1 -1
  131. package/templates/modules/user-testing/agents/ceo/skills/user-testing.fallback.md +2 -2
  132. package/templates/modules/user-testing/agents/product-owner/skills/user-testing.fallback.md +2 -2
  133. package/templates/modules/user-testing/agents/qa/skills/user-testing.md +2 -2
  134. package/templates/modules/user-testing/agents/ux-researcher/skills/user-testing.fallback.md +2 -2
  135. package/templates/modules/user-testing/module.meta.json +1 -1
  136. package/templates/modules/user-testing/skills/user-testing.md +2 -2
  137. package/templates/modules/vision-workshop/agents/ceo/skills/vision-workshop.md +2 -2
  138. package/templates/modules/vision-workshop/agents/ux-researcher/skills/vision-workshop.md +1 -1
  139. package/templates/modules/vision-workshop/module.meta.json +1 -1
  140. package/templates/modules/website-relaunch/agents/ui-designer/skills/site-audit.md +1 -1
  141. package/templates/modules/website-relaunch/module.meta.json +7 -7
  142. package/templates/modules/website-relaunch/skills/design-ingestion.md +1 -1
  143. package/templates/modules/website-relaunch/skills/site-audit.md +1 -1
  144. package/templates/presets/build-game/preset.meta.json +6 -6
  145. package/templates/presets/repo-maintenance/preset.meta.json +20 -21
  146. package/templates/roles/audio-designer/HEARTBEAT.md +1 -1
  147. package/templates/roles/ceo/AGENTS.md +2 -0
  148. package/templates/roles/ceo/HEARTBEAT.md +1 -1
  149. package/templates/roles/ceo/role.meta.json +1 -1
  150. package/templates/roles/cmo/HEARTBEAT.md +1 -1
  151. package/templates/roles/code-reviewer/AGENTS.md +3 -1
  152. package/templates/roles/code-reviewer/HEARTBEAT.md +1 -1
  153. package/templates/roles/cto/HEARTBEAT.md +1 -1
  154. package/templates/roles/customer-success/HEARTBEAT.md +1 -1
  155. package/templates/roles/devops/HEARTBEAT.md +1 -1
  156. package/templates/roles/engineer/AGENTS.md +3 -3
  157. package/templates/roles/engineer/HEARTBEAT.md +2 -2
  158. package/templates/roles/game-artist/HEARTBEAT.md +1 -1
  159. package/templates/roles/game-designer/HEARTBEAT.md +1 -1
  160. package/templates/roles/level-designer/HEARTBEAT.md +1 -1
  161. package/templates/roles/product-owner/AGENTS.md +1 -1
  162. package/templates/roles/product-owner/HEARTBEAT.md +2 -2
  163. package/templates/roles/qa/HEARTBEAT.md +4 -4
  164. package/templates/roles/security-engineer/AGENTS.md +2 -2
  165. package/templates/roles/security-engineer/HEARTBEAT.md +1 -1
  166. package/templates/roles/technical-writer/HEARTBEAT.md +1 -1
  167. package/templates/roles/ui-designer/HEARTBEAT.md +1 -1
  168. package/templates/roles/ux-researcher/HEARTBEAT.md +1 -1
@@ -4,10 +4,10 @@ The QA engineer primarily owns test strategy and usability validation. You are t
4
4
 
5
5
  ## User Testing (Fallback)
6
6
 
7
- 1. If no `../../docs/USER-TESTING.md` exists and QA hasn't started:
7
+ 1. If no `docs/USER-TESTING.md` exists and QA hasn't started:
8
8
  - Design test scenarios covering critical user flows from a user-centered perspective
9
9
  - Conduct heuristic evaluation against usability principles
10
- - Document findings in `../../docs/USER-TESTING.md`
10
+ - Document findings in `docs/USER-TESTING.md`
11
11
  - Focus on user experience quality — task flows, cognitive load, error recovery
12
12
  2. If QA is active, skip this entirely.
13
13
 
@@ -17,7 +17,7 @@
17
17
  {
18
18
  "title": "Design and execute initial usability evaluation",
19
19
  "assignTo": "capability:user-testing",
20
- "description": "Define test scenarios based on the company goal, identify target user personas, create a test plan, execute evaluations, and document findings in ../../docs/USER-TESTING.md."
20
+ "description": "Define test scenarios based on the company goal, identify target user personas, create a test plan, execute evaluations, and document findings in docs/USER-TESTING.md."
21
21
  }
22
22
  ]
23
23
  }
@@ -7,7 +7,7 @@ You own usability evaluations and user testing. This ensures the product meets r
7
7
  1. Review the company goal, product description, and user personas
8
8
  2. Design test scenarios covering critical user flows
9
9
  3. Define success metrics for each scenario (task completion, error rate, time-on-task)
10
- 4. Execute evaluations and document in `../../docs/USER-TESTING.md`:
10
+ 4. Execute evaluations and document in `docs/USER-TESTING.md`:
11
11
  - **Heuristic analysis**: Apply usability heuristics to key screens and flows
12
12
  - **Task flow evaluation**: Walk through core tasks as target personas would
13
13
  - **Accessibility review**: Check against basic accessibility standards (contrast, keyboard nav, screen reader)
@@ -16,7 +16,7 @@ You own usability evaluations and user testing. This ensures the product meets r
16
16
  - **Major**: Significant friction or confusion
17
17
  - **Minor**: Cosmetic or low-impact usability issues
18
18
  6. Create follow-up issues for critical and major findings:
19
- - `POST /api/companies/{companyId}/issues` with finding details and reproduction steps. Include the active `projectId` (and `goalId` / `parentId` when applicable). For top-level issues (no `parentId`), also include `"executionWorkspaceSettings": { "mode": "isolated_workspace" }` so each gets its own worktree; subissues set `parentId` and omit it.
19
+ - `POST /api/companies/{companyId}/issues` with finding details and reproduction steps. Include `projectId` plus `goalId` / `parentId` when applicable, and set `executionWorkspaceSettings: { "mode": "isolated_workspace" }` for top-level repository implementation issues and subissues when the instance feature, project policy, and initialized repository support isolation. Otherwise follow the rendered project policy and avoid concurrent shared-checkout writes. Reuse only when explicitly required via `inheritExecutionWorkspaceFromIssueId`; keep API-only work project-detached.
20
20
  7. Record summary in your daily notes
21
21
 
22
22
  ## Rules
@@ -5,14 +5,14 @@ You own the company vision. Refine the initial goal into a strategic foundation
5
5
  ## Vision Workshop Process
6
6
 
7
7
  1. Review the company goal and any existing context (market analysis, team composition)
8
- 2. Define and document in `../../docs/VISION.md`:
8
+ 2. Define and document in `docs/VISION.md`:
9
9
  - **Vision statement**: One sentence describing the desired future state
10
10
  - **Mission**: How the company achieves that vision
11
11
  - **Success metrics**: 3-5 measurable KPIs with target values and timeframes
12
12
  - **Strategic milestones**: Ordered list of milestones that lead to the vision
13
13
  - **Non-goals**: What the company explicitly does NOT do (prevents scope creep)
14
14
  3. Create issues for the first milestone's deliverables:
15
- - `POST /api/companies/{companyId}/issues` with milestone context. Include the active `projectId` (and `goalId` / `parentId` when applicable). For top-level issues (no `parentId`), also include `"executionWorkspaceSettings": { "mode": "isolated_workspace" }` so each gets its own worktree; subissues set `parentId` and omit it.
15
+ - `POST /api/companies/{companyId}/issues` with milestone context. Include `projectId` plus `goalId` / `parentId` when applicable, and set `executionWorkspaceSettings: { "mode": "isolated_workspace" }` for top-level repository implementation issues and subissues when the instance feature, project policy, and initialized repository support isolation. Otherwise follow the rendered project policy and avoid concurrent shared-checkout writes. Reuse only when explicitly required via `inheritExecutionWorkspaceFromIssueId`; keep API-only work project-detached.
16
16
  4. Share the vision doc with the team via daily notes
17
17
 
18
18
  ## Rules
@@ -10,7 +10,7 @@ Coordinate with the CEO on the vision by providing:
10
10
  - **Metrics reality check**: Propose user-centered KPIs (retention, task completion, satisfaction)
11
11
  - **Non-goals validation**: Are we correctly excluding things users don't need?
12
12
 
13
- Document your research inputs in `../../docs/VISION.md` under a `## User Research Inputs` section.
13
+ Document your research inputs in `docs/VISION.md` under a `## User Research Inputs` section.
14
14
 
15
15
  ## Rules
16
16
 
@@ -6,7 +6,7 @@
6
6
  {
7
7
  "title": "Define company vision, success metrics, and strategic milestones",
8
8
  "assignTo": "ceo",
9
- "description": "Refine the company goal into a clear vision statement, define measurable success metrics, and establish strategic milestones. Document in ../../docs/VISION.md. This becomes the north star for all downstream planning."
9
+ "description": "Refine the company goal into a clear vision statement, define measurable success metrics, and establish strategic milestones. Document in docs/VISION.md. This becomes the north star for all downstream planning."
10
10
  }
11
11
  ]
12
12
  }
@@ -54,7 +54,7 @@ Note which visual patterns from the current site should be preserved vs. replace
54
54
 
55
55
  ## Output
56
56
 
57
- Write the complete audit to `../../docs/SITE-AUDIT.md` with sections:
57
+ Write the complete audit to `docs/SITE-AUDIT.md` with sections:
58
58
  1. Page Inventory (table of all URLs with page type and status)
59
59
  2. Visual Design Patterns (current color palette, typography, component library)
60
60
  3. Content Assessment (quality, structure, and brand voice per page)
@@ -28,25 +28,25 @@
28
28
  "issues": [
29
29
  {
30
30
  "title": "Technical site audit",
31
- "description": "Crawl the current website and document the technical baseline:\n- Complete page inventory (every URL, status codes)\n- Navigation structure and sitemap\n- Content types per page (text, images, videos, downloads)\n- Tech stack and hosting (framework, CMS, CDN, response headers)\n- SEO baseline (meta tags, structured data, canonical URLs, robots.txt, sitemap.xml)\n- Analytics and tracking scripts\n- Performance baseline (page weight, render-blocking resources)\n\nUse WebFetch or Chrome to access each page. Output: `../../docs/SITE-AUDIT.md`.",
31
+ "description": "Crawl the current website and document the technical baseline:\n- Complete page inventory (every URL, status codes)\n- Navigation structure and sitemap\n- Content types per page (text, images, videos, downloads)\n- Tech stack and hosting (framework, CMS, CDN, response headers)\n- SEO baseline (meta tags, structured data, canonical URLs, robots.txt, sitemap.xml)\n- Analytics and tracking scripts\n- Performance baseline (page weight, render-blocking resources)\n\nUse WebFetch or Chrome to access each page. Output: `docs/SITE-AUDIT.md`.",
32
32
  "priority": "high",
33
33
  "assignTo": "engineer"
34
34
  },
35
35
  {
36
36
  "title": "Visual and UX audit of current website",
37
- "description": "Audit the current website from a design and user experience perspective. Use Chrome to browse the site visually. Follow the `site-audit` skill.\n\nFor each page type, document:\n- **Layout patterns** — grid structure, content zones, visual hierarchy\n- **Design tokens in use** — colors, typography, spacing, component patterns\n- **Content quality** — is copy clear, current, and on-brand? Flag outdated or placeholder content\n- **UX observations** — navigation intuitiveness, user flows, friction points, dead ends\n- **Accessibility** — heading hierarchy, image alt text, color contrast (visual estimate)\n\nFor each page, recommend: **keep** (design is strong), **redesign** (layout needs rethinking), **rewrite** (content is outdated), **merge**, or **drop**.\n\nAppend findings to `../../docs/SITE-AUDIT.md` under a 'Visual Design & UX' section, or create `../../docs/DESIGN-AUDIT.md` if the technical audit is already complete.",
37
+ "description": "Audit the current website from a design and user experience perspective. Use Chrome to browse the site visually. Follow the `site-audit` skill.\n\nFor each page type, document:\n- **Layout patterns** — grid structure, content zones, visual hierarchy\n- **Design tokens in use** — colors, typography, spacing, component patterns\n- **Content quality** — is copy clear, current, and on-brand? Flag outdated or placeholder content\n- **UX observations** — navigation intuitiveness, user flows, friction points, dead ends\n- **Accessibility** — heading hierarchy, image alt text, color contrast (visual estimate)\n\nFor each page, recommend: **keep** (design is strong), **redesign** (layout needs rethinking), **rewrite** (content is outdated), **merge**, or **drop**.\n\nAppend findings to `docs/SITE-AUDIT.md` under a 'Visual Design & UX' section, or create `docs/DESIGN-AUDIT.md` if the technical audit is already complete.",
38
38
  "priority": "high",
39
39
  "assignTo": "ui-designer"
40
40
  },
41
41
  {
42
42
  "title": "Content audit of current website",
43
- "description": "Crawl every page of the current website and audit the existing content to inform the redesign:\n\nFor each page, document:\n- **Content type** — hero copy, body text, testimonials, FAQs, CTAs, legal, blog posts\n- **Key messages** — what is the page trying to communicate? What value propositions are present?\n- **Content quality** — is the copy clear, current, and on-brand? Flag outdated, placeholder, or thin content\n- **Media assets** — images, videos, downloads — note which are reusable vs need replacement\n- **SEO content** — headings, meta descriptions, alt text — what's working, what's missing\n- **Gaps** — messaging that should exist but doesn't (e.g., missing social proof, no pricing clarity)\n\nFor each page, recommend a migration strategy:\n- **Keep** — content is strong, migrate as-is into the new design\n- **Rewrite** — message is right but copy needs updating for the new design/voice\n- **Merge** — overlapping content across pages, consolidate\n- **Drop** — no longer relevant, redirect or remove\n\nOutput: `../../docs/CONTENT-AUDIT.md` — this is a key input for the design handoff and content migration milestones.",
43
+ "description": "Crawl every page of the current website and audit the existing content to inform the redesign:\n\nFor each page, document:\n- **Content type** — hero copy, body text, testimonials, FAQs, CTAs, legal, blog posts\n- **Key messages** — what is the page trying to communicate? What value propositions are present?\n- **Content quality** — is the copy clear, current, and on-brand? Flag outdated, placeholder, or thin content\n- **Media assets** — images, videos, downloads — note which are reusable vs need replacement\n- **SEO content** — headings, meta descriptions, alt text — what's working, what's missing\n- **Gaps** — messaging that should exist but doesn't (e.g., missing social proof, no pricing clarity)\n\nFor each page, recommend a migration strategy:\n- **Keep** — content is strong, migrate as-is into the new design\n- **Rewrite** — message is right but copy needs updating for the new design/voice\n- **Merge** — overlapping content across pages, consolidate\n- **Drop** — no longer relevant, redirect or remove\n\nOutput: `docs/CONTENT-AUDIT.md` — this is a key input for the design handoff and content migration milestones.",
44
44
  "priority": "high",
45
45
  "assignTo": "engineer"
46
46
  },
47
47
  {
48
48
  "title": "Create content inventory spreadsheet",
49
- "description": "Based on the site audit and content review, create a structured content inventory:\n- Page URL, title, word count, images, last updated\n- Content status from review (keep / rewrite / merge / drop)\n- Content owner (if identifiable)\n- Migration priority: critical (homepage, key landing pages) vs secondary\n\nOutput: `../../docs/CONTENT-INVENTORY.md`.",
49
+ "description": "Based on the site audit and content review, create a structured content inventory:\n- Page URL, title, word count, images, last updated\n- Content status from review (keep / rewrite / merge / drop)\n- Content owner (if identifiable)\n- Migration priority: critical (homepage, key landing pages) vs secondary\n\nOutput: `docs/CONTENT-INVENTORY.md`.",
50
50
  "priority": "high",
51
51
  "assignTo": "ceo"
52
52
  },
@@ -58,13 +58,13 @@
58
58
  },
59
59
  {
60
60
  "title": "Analyze design assets and create design spec",
61
- "description": "Process all design files in the `designs/` directory. Follow the `design-ingestion` skill for the full process.\n\n**How to read design files:**\n- **PDFs:** Use the Read tool with the `pages` parameter (e.g., pages 1–5, then 6–10) to view each page visually. Do NOT use text extraction as primary method — design PDFs are visual artifacts.\n- **PNG/SVG/JPG:** Use the Read tool directly to view each image.\n- **Fallback for precise values:** Use `markitdown` or `docling` (install via pip) to supplement visual analysis with extracted metadata. Use `pdffonts` for embedded font names.\n\n**Extract:**\n1. Design tokens — colors (hex/oklch), typography, spacing scale, border radii, shadows\n2. Component inventory — recurring UI components\n3. Page layouts — grid system, responsive breakpoints\n4. Asset catalog — images, icons, illustrations\n\nOutput: `../../docs/DESIGN-SPEC.md` with all extracted tokens, components, and layouts.",
61
+ "description": "Process all design files in the `designs/` directory. Follow the `design-ingestion` skill for the full process.\n\n**How to read design files:**\n- **PDFs:** Use the Read tool with the `pages` parameter (e.g., pages 1–5, then 6–10) to view each page visually. Do NOT use text extraction as primary method — design PDFs are visual artifacts.\n- **PNG/SVG/JPG:** Use the Read tool directly to view each image.\n- **Fallback for precise values:** Use `markitdown` or `docling` (install via pip) to supplement visual analysis with extracted metadata. Use `pdffonts` for embedded font names.\n\n**Extract:**\n1. Design tokens — colors (hex/oklch), typography, spacing scale, border radii, shadows\n2. Component inventory — recurring UI components\n3. Page layouts — grid system, responsive breakpoints\n4. Asset catalog — images, icons, illustrations\n\nOutput: `docs/DESIGN-SPEC.md` with all extracted tokens, components, and layouts.",
62
62
  "priority": "critical",
63
63
  "assignTo": "engineer"
64
64
  },
65
65
  {
66
66
  "title": "Implement core page layouts",
67
- "description": "Configure the project for the new design, then build the primary page templates:\n\n**Project setup:**\n- CSS/styling approach (Tailwind, CSS modules, etc.) configured with design tokens from `../../docs/DESIGN-SPEC.md`\n- Component library structure\n- Framework configuration matching design spec requirements\n\n**Core pages:**\n- Homepage\n- Key landing pages\n- Standard content page layout\n- Navigation (header, footer, mobile menu)\n\nApply design tokens (colors, typography, spacing) from the spec. Ensure responsive behavior matches the design breakpoints.",
67
+ "description": "Configure the project for the new design, then build the primary page templates:\n\n**Project setup:**\n- CSS/styling approach (Tailwind, CSS modules, etc.) configured with design tokens from `docs/DESIGN-SPEC.md`\n- Component library structure\n- Framework configuration matching design spec requirements\n\n**Core pages:**\n- Homepage\n- Key landing pages\n- Standard content page layout\n- Navigation (header, footer, mobile menu)\n\nApply design tokens (colors, typography, spacing) from the spec. Ensure responsive behavior matches the design breakpoints.",
68
68
  "priority": "high",
69
69
  "assignTo": "engineer"
70
70
  },
@@ -76,7 +76,7 @@
76
76
  },
77
77
  {
78
78
  "title": "Migrate content from old site",
79
- "description": "Using the content inventory (`../../docs/CONTENT-INVENTORY.md`), migrate content to the new site:\n- Transfer text content, updating formatting for the new design\n- Download and optimize images from the old site\n- Preserve SEO-critical content (headings, meta descriptions, alt text)\n- Flag content marked for rewrite and create issues for each\n\nVerify no content is lost by cross-referencing the inventory.",
79
+ "description": "Using the content inventory (`docs/CONTENT-INVENTORY.md`), migrate content to the new site:\n- Transfer text content, updating formatting for the new design\n- Download and optimize images from the old site\n- Preserve SEO-critical content (headings, meta descriptions, alt text)\n- Flag content marked for rewrite and create issues for each\n\nVerify no content is lost by cross-referencing the inventory.",
80
80
  "priority": "high",
81
81
  "assignTo": "engineer"
82
82
  },
@@ -102,7 +102,7 @@ For each distinct page design:
102
102
 
103
103
  ## Output
104
104
 
105
- Write the complete specification to `../../docs/DESIGN-SPEC.md` with sections:
105
+ Write the complete specification to `docs/DESIGN-SPEC.md` with sections:
106
106
  1. Design Tokens (colors, typography, spacing, etc.)
107
107
  2. Component Library (each component with description and states)
108
108
  3. Page Layouts (each page with structure and responsive notes)
@@ -43,7 +43,7 @@ Flag any external integrations (forms, payment, chat widgets) that need replacem
43
43
 
44
44
  ## Output
45
45
 
46
- Write the complete audit to `../../docs/SITE-AUDIT.md` with sections:
46
+ Write the complete audit to `docs/SITE-AUDIT.md` with sections:
47
47
  1. Page Inventory (table of all URLs with metadata)
48
48
  2. Site Structure (navigation, information architecture)
49
49
  3. Technical Stack (framework, hosting, integrations)
@@ -59,19 +59,19 @@
59
59
  "issues": [
60
60
  {
61
61
  "title": "Create Game Design Document",
62
- "description": "Define the game's complete design. Follow the GDD template in ../../docs/gdd-template.md.\n\nMust include: concept pitch, core mechanic (input → action → feedback → consequence), three-layer game loop, progression system, win/lose conditions, controls, art direction, audio direction, and all tuning parameters.\n\nOutput: ../../docs/GDD.md",
62
+ "description": "Define the game's complete design. Follow the GDD template in docs/gdd-template.md.\n\nMust include: concept pitch, core mechanic (input → action → feedback → consequence), three-layer game loop, progression system, win/lose conditions, controls, art direction, audio direction, and all tuning parameters.\n\nOutput: docs/GDD.md",
63
63
  "priority": "critical",
64
64
  "assignTo": "game-designer"
65
65
  },
66
66
  {
67
67
  "title": "Choose game engine and set up project",
68
- "description": "Based on the GDD requirements (genre, platform, art style), evaluate and select a game engine or framework. Options to consider:\n- **Web:** Phaser, PixiJS, Three.js, Kaboom.js, vanilla Canvas/WebGL\n- **Cross-platform:** Godot, Unity, Love2D, Defold\n- **Minimal:** Custom engine if the game is simple enough\n\nSet up the project structure, build pipeline, and basic game loop scaffold. Document the choice in ../../docs/TECH-STACK.md.",
68
+ "description": "Based on the GDD requirements (genre, platform, art style), evaluate and select a game engine or framework. Options to consider:\n- **Web:** Phaser, PixiJS, Three.js, Kaboom.js, vanilla Canvas/WebGL\n- **Cross-platform:** Godot, Unity, Love2D, Defold\n- **Minimal:** Custom engine if the game is simple enough\n\nSet up the project structure, build pipeline, and basic game loop scaffold. Document the choice in docs/TECH-STACK.md.",
69
69
  "priority": "critical",
70
70
  "assignTo": "engineer"
71
71
  },
72
72
  {
73
73
  "title": "Define art style guide",
74
- "description": "Based on the GDD art direction, create a concrete art style guide:\n- Sprite/asset dimensions and resolution\n- Color palette (exact hex values, limited palette if pixel art)\n- Color language: what colors mean in gameplay (player, enemy, pickup, hazard, background)\n- Animation conventions: frame counts, frame rates, style\n- Asset naming conventions and directory structure\n- Reference images or generated style samples\n\nOutput: ../../docs/ART-STYLE-GUIDE.md and sample assets in assets/reference/",
74
+ "description": "Based on the GDD art direction, create a concrete art style guide:\n- Sprite/asset dimensions and resolution\n- Color palette (exact hex values, limited palette if pixel art)\n- Color language: what colors mean in gameplay (player, enemy, pickup, hazard, background)\n- Animation conventions: frame counts, frame rates, style\n- Asset naming conventions and directory structure\n- Reference images or generated style samples\n\nOutput: docs/ART-STYLE-GUIDE.md and sample assets in assets/reference/",
75
75
  "priority": "high",
76
76
  "assignTo": "game-artist"
77
77
  },
@@ -95,7 +95,7 @@
95
95
  },
96
96
  {
97
97
  "title": "First playtest and balancing pass",
98
- "description": "Play the prototype and document findings:\n- Is the core mechanic fun? Does it feel good?\n- Are controls responsive? Any input lag or awkwardness?\n- Difficulty: too easy, too hard, or unclear?\n- What's missing that would make it fun? What should be cut?\n- Tuning parameter adjustments needed\n\nOutput: ../../docs/PLAYTEST-RESULTS.md with specific findings and recommended changes.",
98
+ "description": "Play the prototype and document findings:\n- Is the core mechanic fun? Does it feel good?\n- Are controls responsive? Any input lag or awkwardness?\n- Difficulty: too easy, too hard, or unclear?\n- What's missing that would make it fun? What should be cut?\n- Tuning parameter adjustments needed\n\nOutput: docs/PLAYTEST-RESULTS.md with specific findings and recommended changes.",
99
99
  "priority": "high",
100
100
  "assignTo": "game-designer"
101
101
  },
@@ -113,7 +113,7 @@
113
113
  },
114
114
  {
115
115
  "title": "Design all levels and progression",
116
- "description": "Create detailed level designs for the full game:\n- Level-by-level breakdown: layout, encounters, mechanics introduced, difficulty target\n- Progression curve: how difficulty ramps across the full game\n- Unlock schedule: what the player earns and when\n- Pacing map: tension/relief rhythm across the full experience\n\nOutput: ../../docs/LEVEL-DESIGNS.md with per-level specs.",
116
+ "description": "Create detailed level designs for the full game:\n- Level-by-level breakdown: layout, encounters, mechanics introduced, difficulty target\n- Progression curve: how difficulty ramps across the full game\n- Unlock schedule: what the player earns and when\n- Pacing map: tension/relief rhythm across the full experience\n\nOutput: docs/LEVEL-DESIGNS.md with per-level specs.",
117
117
  "priority": "high",
118
118
  "assignTo": "level-designer"
119
119
  },
@@ -131,7 +131,7 @@
131
131
  },
132
132
  {
133
133
  "title": "Final balancing and bug fixing",
134
- "description": "Play through the entire game and:\n- Adjust difficulty curve based on full playthrough\n- Fix all gameplay bugs\n- Tune all parameters for satisfying progression\n- Verify no soft-locks or unwinnable states\n- Check edge cases: max score, empty inventory, rapid inputs\n\nUpdate ../../docs/GDD.md with final tuning values.",
134
+ "description": "Play through the entire game and:\n- Adjust difficulty curve based on full playthrough\n- Fix all gameplay bugs\n- Tune all parameters for satisfying progression\n- Verify no soft-locks or unwinnable states\n- Check edge cases: max score, empty inventory, rapid inputs\n\nUpdate docs/GDD.md with final tuning values.",
135
135
  "priority": "high",
136
136
  "assignTo": "game-designer"
137
137
  },
@@ -29,25 +29,25 @@
29
29
  "id": "repo-onboarding",
30
30
  "title": "Repo Onboarding",
31
31
  "level": "team",
32
- "description": "Understand the existing codebase and document its current state. Done when ../../docs/CODEBASE-AUDIT.md exists with architecture overview, tech debt inventory, and test coverage assessment."
32
+ "description": "Understand the existing codebase and document its current state. Done when docs/CODEBASE-AUDIT.md exists with architecture overview, tech debt inventory, and test coverage assessment."
33
33
  },
34
34
  {
35
35
  "id": "process-setup",
36
36
  "title": "Process Setup",
37
37
  "level": "team",
38
- "description": "Establish PR review, issue triage, and release workflows. Done when PR workflow documented (branch requires PRs, no approval gate), issue labels created, release process documented."
38
+ "description": "Establish PR review, issue triage, and release workflows. Done when the selected Paperclip review gate is documented, existing repository protections are preserved, issue labels exist, and the release process is documented."
39
39
  },
40
40
  {
41
41
  "id": "initial-sweep",
42
42
  "title": "Initial Sweep",
43
43
  "level": "team",
44
- "description": "Process all existing open PRs and issues, run first dependency audit and codebase health pass. Done when all open PRs reviewed, all open issues triaged, dependency audit complete, first batch of cleanup issues created."
44
+ "description": "Establish bounded maintenance flow for existing PRs and issues, run the first dependency audit, and complete one highest-priority codebase health fix. Done when every open PR has an originating issue, owner, and next action, triage policy is documented, and one focused cleanup PR has completed the normal gate. PR count is advisory and does not create blockers for independent work."
45
45
  },
46
46
  {
47
47
  "id": "steady-state",
48
48
  "title": "Steady State",
49
49
  "level": "team",
50
- "description": "Ongoing maintenance loop — agents handle PRs, issues, and health on every heartbeat. Done when maintenance processes running autonomously for 3+ heartbeat cycles with no backlog buildup."
50
+ "description": "Ongoing maintenance is assignment- and wake-driven: agents handle owned PRs, reports, and health checks without scanning unrelated queues on every heartbeat. Done when bounded routines and explicit owners keep every open PR tied to a concrete next action without a numeric repository cap."
51
51
  }
52
52
  ]
53
53
  }
@@ -55,51 +55,50 @@
55
55
  "issues": [
56
56
  {
57
57
  "title": "Audit codebase and document architecture",
58
- "description": "Read the existing codebase, map architecture, identify tech debt hotspots and test coverage gaps. Document in ../../docs/CODEBASE-AUDIT.md.",
58
+ "description": "Read the existing codebase, map architecture, identify tech debt hotspots and test coverage gaps. Document in docs/CODEBASE-AUDIT.md.",
59
59
  "priority": "high",
60
60
  "assignTo": "engineer"
61
61
  },
62
62
  {
63
63
  "title": "Run initial dependency audit",
64
- "description": "Audit all dependencies for outdated versions and known vulnerabilities. Document in ../../docs/DEPENDENCY-AUDIT.md. Apply safe patch updates.",
64
+ "description": "Audit dependencies for outdated versions and known vulnerabilities. Document in docs/DEPENDENCY-AUDIT.md and apply compatible patch updates with focused verification on this issue's own branch/PR. This work can proceed independently of the codebase-audit PR; open PR count is advisory.",
65
65
  "priority": "high",
66
66
  "assignTo": "engineer"
67
67
  },
68
68
  {
69
69
  "title": "Configure PR workflow and branch protection",
70
- "description": "Configure the PR workflow and set up branch protection on the default branch. Branch protection must require a PR before merging (no direct pushes to the base branch — set enforce_admins: true so the shared admin account cannot bypass the PR rule), but must NOT require GitHub-native approving reviews — all agents share one GitHub account and cannot formally approve their own PRs; the review gate lives in Paperclip's executionPolicy, not in GitHub. Use the exact gh api heredoc command from the git-workflow skill → Branch Protection Setup: `gh api repos/{owner}/{repo}/branches/{base}/protection --method PUT --input - <<'EOF'` with payload {\"required_status_checks\": null, \"enforce_admins\": true, \"required_pull_request_reviews\": {\"required_approving_review_count\": 0, \"dismiss_stale_reviews\": false}, \"restrictions\": null}. With required_approving_review_count: 0 the shared account can still open a PR and merge it with zero approvals, so the self-merge flow keeps working. Document PR conventions in ../../docs/pr-conventions.md.",
70
+ "description": "Inspect existing branch protection and repository rules before configuring the selected PR workflow. Preserve required checks, review requirements, and organization rules; never overwrite them with null defaults or weaken protections to accommodate shared credentials. For a new repository using one shared GitHub credential, use Paperclip executionPolicy for the non-author review gate and do not add a GitHub-native approval requirement the team cannot satisfy. Existing requirements need eligible credentials or an explicit owner decision. Document PR conventions in docs/pr-conventions.md. Open PR count does not block this independent setup work.",
71
71
  "priority": "high",
72
- "assignTo": "engineer"
72
+ "assignTo": "devops"
73
73
  },
74
74
  {
75
75
  "title": "Set up issue labels and triage workflow",
76
76
  "description": "Create GitHub labels for issue classification (bug, feature, enhancement, question, duplicate, invalid) and priority levels (P0-P3). Document the triage process.",
77
77
  "priority": "medium",
78
- "assignTo": "user"
78
+ "assignTo": "product-owner"
79
79
  },
80
80
  {
81
81
  "title": "Document or establish release process",
82
- "description": "Review current release workflow. If none exists, establish semver + changelog. Document in ../../docs/RELEASE-PROCESS.md.",
82
+ "description": "Review current release workflow. If none exists, establish semver + changelog. Document in docs/RELEASE-PROCESS.md. Assign it when acceptance criteria and an owner are ready; open PR count is not a release cap.",
83
83
  "priority": "medium",
84
- "assignTo": "engineer"
84
+ "assignTo": "devops"
85
85
  },
86
86
  {
87
- "title": "Review all open pull requests",
88
- "description": "Fetch all open PRs on the GitHub repo. Review each for correctness, security, and style. Approve and merge those that pass, request changes on those that don't.",
87
+ "title": "Reconcile open pull request ownership",
88
+ "description": "Inventory open PRs only in the configured project repository. Identify each as owner/repo#number and ensure it has exactly one originating Paperclip issue, implementation owner, current head/base/check evidence, and next gate. Do not review or merge multiple PRs from this setup issue, create replacement PRs, or create queue-drain wrappers. Route work on each existing PR to its own originating issue without freezing independent implementation based on PR count.",
89
89
  "priority": "high",
90
- "assignTo": "engineer"
90
+ "assignTo": "devops"
91
91
  },
92
92
  {
93
- "title": "Triage all open GitHub issues",
94
- "description": "Review all open issues. Classify by type and priority, respond to reporters, close duplicates and invalid issues, convert actionable items to Paperclip tasks.",
93
+ "title": "Establish triage policy and process the next report",
94
+ "description": "Document the classification and priority policy, then triage only the highest-priority unprocessed GitHub report in the configured repository. Create at most one Paperclip issue when it represents independently deliverable work with acceptance criteria and available delivery capacity; do not bulk-convert the issue tracker.",
95
95
  "priority": "high",
96
- "assignTo": "engineer"
96
+ "assignTo": "product-owner"
97
97
  },
98
98
  {
99
- "title": "First codebase health pass",
100
- "description": "Based on the codebase audit, execute the highest-priority cleanup tasks: remove dead code, fix inconsistencies, simplify overly complex areas. Create PRs for each fix.",
101
- "priority": "medium",
102
- "assignTo": "engineer"
99
+ "title": "Implement the highest-priority codebase health fix",
100
+ "description": "After the codebase audit has completed, the backlog owner assigns this issue for exactly one independently deliverable finding. Implement it on this originating issue and one branch/PR, run focused verification, and send it through the normal Code Reviewer gate. Open PR count is advisory and does not block assignment of this independent work.",
101
+ "priority": "medium"
103
102
  }
104
103
  ]
105
104
  }
@@ -23,7 +23,7 @@ Run this checklist on every heartbeat. The Paperclip skill is the source of trut
23
23
 
24
24
  ## 4. Checkout and Work
25
25
 
26
- - Checkout before mutating work: `POST /api/issues/{id}/checkout` with the expected current status when the API supports `expectedStatuses`.
26
+ - Checkout before mutating work: `POST /api/issues/{id}/checkout` with `{ "agentId": "<your agent id>", "expectedStatuses": ["todo", "backlog", "blocked", "in_review"] }` — both fields are required, and the list must contain the issue's current status. Send `X-Paperclip-Run-Id` with it.
27
27
  - Never retry a 409; that issue belongs to another active run.
28
28
  - Start actionable work in the same heartbeat; do not stop at a plan unless planning was requested.
29
29
  - Leave durable progress with a clear next action. Use child issues for long or parallel delegated work instead of polling.
@@ -1,5 +1,7 @@
1
1
  You are the CEO.
2
2
 
3
+ On every wake, follow the `paperclip` skill; it is the source of truth for checkout, task scope, issue comments, and final disposition. For routine or recovery work, do not leave an issue `in_progress` unless a live run, queued continuation, or persisted monitor actually exists.
4
+
3
5
  Your home directory is $AGENT_HOME. Everything personal to you -- life, memory, knowledge -- lives there. Other agents may have their own folders and you may update them when necessary.
4
6
 
5
7
  Company-wide artifacts (plans, shared docs) live in the project root, outside your personal directory.
@@ -23,7 +23,7 @@ Run this checklist on every heartbeat. The Paperclip skill is the source of trut
23
23
 
24
24
  ## 4. Checkout and Work
25
25
 
26
- - Checkout before mutating work: `POST /api/issues/{id}/checkout` with the expected current status when the API supports `expectedStatuses`.
26
+ - Checkout before mutating work: `POST /api/issues/{id}/checkout` with `{ "agentId": "<your agent id>", "expectedStatuses": ["todo", "backlog", "blocked", "in_review"] }` — both fields are required, and the list must contain the issue's current status. Send `X-Paperclip-Run-Id` with it.
27
27
  - Never retry a 409; that issue belongs to another active run.
28
28
  - Start actionable work in the same heartbeat; do not stop at a plan unless planning was requested.
29
29
  - Leave durable progress with a clear next action. Use child issues for long or parallel delegated work instead of polling.
@@ -7,7 +7,7 @@
7
7
  "paperclipRole": "ceo",
8
8
  "description": "Strategic leader. Sets goals, delegates work, manages approvals.",
9
9
  "adapter": {
10
- "model": "gpt-5.6",
10
+ "model": "gpt-5.6-sol",
11
11
  "effort": "high",
12
12
  "thinkingLevel": "high"
13
13
  }
@@ -23,7 +23,7 @@ Run this checklist on every heartbeat. The Paperclip skill is the source of trut
23
23
 
24
24
  ## 4. Checkout and Work
25
25
 
26
- - Checkout before mutating work: `POST /api/issues/{id}/checkout` with the expected current status when the API supports `expectedStatuses`.
26
+ - Checkout before mutating work: `POST /api/issues/{id}/checkout` with `{ "agentId": "<your agent id>", "expectedStatuses": ["todo", "backlog", "blocked", "in_review"] }` — both fields are required, and the list must contain the issue's current status. Send `X-Paperclip-Run-Id` with it.
27
27
  - Never retry a 409; that issue belongs to another active run.
28
28
  - Start actionable work in the same heartbeat; do not stop at a plan unless planning was requested.
29
29
  - Leave durable progress with a clear next action. Use child issues for long or parallel delegated work instead of polling.
@@ -17,10 +17,12 @@ You report to the CEO.
17
17
  - **Simplicity**: Is there unnecessary complexity? Could it be simpler?
18
18
  6. Post your review as a GitHub PR comment: write it to a Markdown file (start with a heading, e.g. `## 💬 Review notes` or `## 🔄 Changes requested`) and run `gh pr comment <number> --body-file <file>`. Never inline `--body "..."` — a double-quoted shell string keeps `\n` literal, so the comment renders as `text\ntext` instead of formatted Markdown. Your review does not gate the merge on GitHub — the governing signal is the issue's `executionPolicy` stage, not the GitHub comment; do not submit a GitHub-native approving review, since all agents share one GitHub account. Whether you *are* the merge gate depends on the pr-review module (see Principles and step 8).
19
19
  7. Post your verdict on the originating issue.
20
- 8. **When the pr-review module is active**, you are the non-author merge gate: satisfy the hard verification gate — **always run and paste your own lint/test/build output** (authoritative); a green CI is an *additional* requirement only when this company runs its own CI/CD (`ci-cd` module active). A pre-existing repo check the company never configured is advisory, not a gate — never block a merge solely on it. Then merge the PR via `gh pr merge <N> --merge`, leave any isolated execution workspace reusable, then record `approved` on your approval stage — the executionPolicy closes the issue to `done`. Never record `approved` before the merge has actually succeeded, and never leave the issue `done` with the PR still open. **Without pr-review**, your PR comment is purely advisory and the engineer self-merges; record your findings as a comment only. If requesting changes, post your findings as a PR comment, set the issue to `in_progress`, and reassign to the engineer (the original executor). Do not record `approved` until the concern is resolved.
20
+ 8. **When the pr-review module is active**, you are the non-author merge gate. First verify the exact PR head SHA and target base. If required company CI checks actually exist and ran on that exact head, green exact-head CI is the authoritative complete gate: cite those checks and run only the smallest independent check needed for a risky or unclear part of the diff. If required checks do not exist, run and paste the complete local lint/test/typecheck/build gate once. Pending, failed, or wrong-head required checks must be awaited or repaired. Existing required repository checks remain binding; only optional, non-required checks are advisory. Then merge the PR via `gh pr merge <N> --merge`, leave any isolated execution workspace reusable, then record `approved` on your approval stage — the executionPolicy closes the issue to `done`. Never record `approved` before the merge has actually succeeded, and never leave the issue `done` with the PR still open. **Without pr-review**, your PR comment is purely advisory and the engineer self-merges; record your findings as a comment only. If requesting changes, post your findings as a PR comment, set the issue to `in_progress`, and reassign to the engineer (the original executor). Do not record `approved` until the concern is resolved.
21
21
 
22
22
  ## Principles
23
23
 
24
+ - Pending or failed required CI is not unavailable CI. Wait for or repair it; do not substitute local output to bypass it. Local fallback applies only when required checks do not yet exist or CI is unavailable. Branch-protection requirements remain binding even for pre-existing checks.
25
+
24
26
  - Be direct. Approve when good enough — don't bikeshed.
25
27
  - Flag security issues as blocking. Everything else is a suggestion unless it's clearly wrong.
26
28
  - Ask before guessing. If intent is unclear, ask on the issue rather than assuming.
@@ -23,7 +23,7 @@ Run this checklist on every heartbeat. The Paperclip skill is the source of trut
23
23
 
24
24
  ## 4. Checkout and Work
25
25
 
26
- - Checkout before mutating work: `POST /api/issues/{id}/checkout` with the expected current status when the API supports `expectedStatuses`.
26
+ - Checkout before mutating work: `POST /api/issues/{id}/checkout` with `{ "agentId": "<your agent id>", "expectedStatuses": ["todo", "backlog", "blocked", "in_review"] }` — both fields are required, and the list must contain the issue's current status. Send `X-Paperclip-Run-Id` with it.
27
27
  - Never retry a 409; that issue belongs to another active run.
28
28
  - Start actionable work in the same heartbeat; do not stop at a plan unless planning was requested.
29
29
  - Leave durable progress with a clear next action. Use child issues for long or parallel delegated work instead of polling.
@@ -23,7 +23,7 @@ Run this checklist on every heartbeat. The Paperclip skill is the source of trut
23
23
 
24
24
  ## 4. Checkout and Work
25
25
 
26
- - Checkout before mutating work: `POST /api/issues/{id}/checkout` with the expected current status when the API supports `expectedStatuses`.
26
+ - Checkout before mutating work: `POST /api/issues/{id}/checkout` with `{ "agentId": "<your agent id>", "expectedStatuses": ["todo", "backlog", "blocked", "in_review"] }` — both fields are required, and the list must contain the issue's current status. Send `X-Paperclip-Run-Id` with it.
27
27
  - Never retry a 409; that issue belongs to another active run.
28
28
  - Start actionable work in the same heartbeat; do not stop at a plan unless planning was requested.
29
29
  - Leave durable progress with a clear next action. Use child issues for long or parallel delegated work instead of polling.
@@ -23,7 +23,7 @@ Run this checklist on every heartbeat. The Paperclip skill is the source of trut
23
23
 
24
24
  ## 4. Checkout and Work
25
25
 
26
- - Checkout before mutating work: `POST /api/issues/{id}/checkout` with the expected current status when the API supports `expectedStatuses`.
26
+ - Checkout before mutating work: `POST /api/issues/{id}/checkout` with `{ "agentId": "<your agent id>", "expectedStatuses": ["todo", "backlog", "blocked", "in_review"] }` — both fields are required, and the list must contain the issue's current status. Send `X-Paperclip-Run-Id` with it.
27
27
  - Never retry a 409; that issue belongs to another active run.
28
28
  - Start actionable work in the same heartbeat; do not stop at a plan unless planning was requested.
29
29
  - Leave durable progress with a clear next action. Use child issues for long or parallel delegated work instead of polling.
@@ -23,7 +23,7 @@ Run this checklist on every heartbeat. The Paperclip skill is the source of trut
23
23
 
24
24
  ## 4. Checkout and Work
25
25
 
26
- - Checkout before mutating work: `POST /api/issues/{id}/checkout` with the expected current status when the API supports `expectedStatuses`.
26
+ - Checkout before mutating work: `POST /api/issues/{id}/checkout` with `{ "agentId": "<your agent id>", "expectedStatuses": ["todo", "backlog", "blocked", "in_review"] }` — both fields are required, and the list must contain the issue's current status. Send `X-Paperclip-Run-Id` with it.
27
27
  - Never retry a 409; that issue belongs to another active run.
28
28
  - Start actionable work in the same heartbeat; do not stop at a plan unless planning was requested.
29
29
  - Leave durable progress with a clear next action. Use child issues for long or parallel delegated work instead of polling.
@@ -11,9 +11,9 @@ You implement coding tasks end-to-end: write and edit code, debug issues, add fo
11
11
  ## Working Rules
12
12
 
13
13
  - Work only on issues assigned to you or explicitly handed to you in comments.
14
- - If you have no assigned actionable work and there are unassigned `todo` issues that clearly match engineering, claim the highest-priority ready issue yourself, set it `in_progress`, and start in the same heartbeat. This is a fallback behind Product Owner push-assignment, not permission to reshuffle work owned by others.
14
+ - Do not self-claim unassigned work. The backlog or auto-assignment owner assigns acceptance-ready issues to available owners. Open PR count is advisory: prioritize stale or conflicting work without freezing independent implementation. Respect explicit company limits, real dependencies, and runtime concurrency controls.
15
15
  - Start actionable work in the same heartbeat; do not stop at a plan unless planning was requested. Leave durable progress with a clear next action. Use child issues for long or parallel delegated work instead of polling. Mark blocked work with owner and action. Respect budget, pause/cancel, approval gates, and company boundaries.
16
- - Make sure you know the success condition for each task. If it was not described, pick a sensible one and state it in your task update.
16
+ - Make sure you know the success condition for each task before implementation. If acceptance criteria are missing or ambiguous, do not invent a sensible outcome: return the same issue to the Product Owner, or CEO fallback when no Product Owner is present, for a concrete testable decision.
17
17
  - Run the smallest verification that proves the change. If a browser or visual check is needed and you do not have that capability, hand to QA with a reproducible test plan.
18
18
  - If asked to fix a bug, identify the root cause, fix the class where practical, and add coverage or guardrails where useful.
19
19
  - Keep unrelated follow-up work out of the current issue's isolated workspace. If a dependency upgrade or separate fix is discovered, create or request a separately isolated top-level issue and leave its commits off the current branch; do not make this issue's close-readiness depend on cross-issue workspace detachment.
@@ -21,7 +21,7 @@ You implement coding tasks end-to-end: write and edit code, debug issues, add fo
21
21
 
22
22
  ## Collaboration and Handoffs
23
23
 
24
- - If the PR-review module or an issue `executionPolicy` is active, follow that review/approval flow exactly. Otherwise, when implementation is ready for review, move the issue to `in_review`, assign it to the Product Owner in the same heartbeat, and leave a comment with the change summary, verification, branch/commit details, and any risks. Never leave finished work in `in_review` assigned to yourself.
24
+ - If the PR-review module or an issue `executionPolicy` is active, follow that review/approval flow exactly. Otherwise keep the issue `in_progress` for a concrete handoff to the Product Owner, or CEO fallback, and leave a comment with the change summary, verification, branch/commit details, and any risks. Agent reassignment alone is not a no-policy review path: use `in_review` only with a runtime-recognized execution stage or first-class interaction/approval. Mark delivered work `done` only after the required acceptance and merge steps have completed.
25
25
  - UX-facing changes -> route to the UI/UX designer for visual quality and flow review.
26
26
  - Security-sensitive changes (auth, crypto, secrets, permissions, adapter/tool access) -> route to the Security Engineer before merge.
27
27
  - Browser validation or user-facing verification -> route to QA with exact steps and expected results.
@@ -23,7 +23,7 @@ Run this checklist on every heartbeat. The Paperclip skill is the source of trut
23
23
 
24
24
  ## 4. Checkout and Work
25
25
 
26
- - Checkout before mutating work: `POST /api/issues/{id}/checkout` with the expected current status when the API supports `expectedStatuses`.
26
+ - Checkout before mutating work: `POST /api/issues/{id}/checkout` with `{ "agentId": "<your agent id>", "expectedStatuses": ["todo", "backlog", "blocked", "in_review"] }` — both fields are required, and the list must contain the issue's current status. Send `X-Paperclip-Run-Id` with it.
27
27
  - Never retry a 409; that issue belongs to another active run.
28
28
  - Start actionable work in the same heartbeat; do not stop at a plan unless planning was requested.
29
29
  - Leave durable progress with a clear next action. Use child issues for long or parallel delegated work instead of polling.
@@ -35,7 +35,7 @@ Run this checklist on every heartbeat. The Paperclip skill is the source of trut
35
35
  - Upload or attach user-inspectable outputs as work products/artifacts/documents; local filesystem paths alone are not enough.
36
36
  - Use issue documents for long plans, specs, QA reports, security reviews, or hiring drafts; comments should summarize and link.
37
37
  - Handoffs should use assignment/status/executionPolicy and a concrete next action. Do not rely on generic @-mentions.
38
- - **Review path applies only when the pr-review module is active.** Without pr-review there is no PR review flow and no `in_review` step. If the github-repo module installed `skills/git-workflow.md`, follow its Direct-to-Base Flow (verify locally, commit, push to the base ref; open a PR only if branch protection rejects the direct push). Otherwise follow the project workspace instructions and record the verification/commit evidence. The rest of this bullet applies only when pr-review is active. Before moving new PR work to `in_review`, verify a review path exists. If a Code Reviewer is on the team, set the `executionPolicy` stages (at least one non-author stage) **before** moving to `in_review`. The **first** stage must be a non-author stage: never list yourself (the issue's assignee/executor — whoever did the work) as a participant in any stage. The runtime excludes the original executor from every stage, so a first stage listing only you has no eligible participant and the issue stalls at stage 1 (`422 Only the active reviewer or approver can advance the current execution stage`) — even if later stages have non-author participants. After moving to `in_review`, `GET /api/issues/{id}` (the list endpoint omits `executionPolicy`) and confirm `stages[0].participants` is not just you; if it is, `PATCH /api/issues/{id}` `{"executionPolicy":null}` to return to `in_progress`, then re-set stages with a non-author first stage. If no Code Reviewer is on the team, do not move new PR work to `in_review`: open the PR and merge it yourself via `gh pr merge <N> --merge` in the same heartbeat (self-merge path), then mark `done`.
38
+ - **Review path applies only when the pr-review module is active.** Without pr-review there is no PR review flow and no `in_review` step. If the github-repo module installed the `git-workflow` skill, follow its Direct-to-Base Flow (verify locally, commit, push to the base ref; open a PR only if branch protection rejects the direct push). Otherwise follow the project workspace instructions and record the verification/commit evidence. The rest of this bullet applies only when pr-review is active. Before moving new PR work to `in_review`, verify a review path exists. If a Code Reviewer is on the team, set the `executionPolicy` stages (at least one non-author stage) **before** moving to `in_review`. The **first** stage must be a non-author stage: never list yourself (the issue's assignee/executor — whoever did the work) as a participant in any stage. Paperclip selects each stage's participant by excluding the recorded return assignee (you, the implementation owner), so a stage whose only participant is you has no eligible participant: the PATCH that would open the review is rejected with `422 No eligible <review|approval> participant is configured for this issue` and the issue never reaches `in_review` — even if later stages have non-author participants. (`422 Only the active reviewer or approver can advance the current execution stage` is the different error you get when you try to advance a stage whose active participant is someone else.) After moving to `in_review`, `GET /api/issues/{id}` (the list endpoint omits `executionPolicy`) and confirm `stages[0].participants` is not just you; if it is, `PATCH /api/issues/{id}` `{"executionPolicy":null}` to return to `in_progress`, then re-set stages with a non-author first stage. If no Code Reviewer is on the team, do not move new PR work to `in_review`: open the PR and merge it yourself via `gh pr merge <N> --merge` in the same heartbeat (self-merge path), then mark `done`.
39
39
  - If you find an existing `in_review` issue with `executionPolicy: null`, do not assume it is stalled. Check `GET /api/issues/{id}/interactions`, `GET /api/issues/{id}/approvals`, its user owner, monitor, wake, and recovery state. A pending interaction or another explicit owner is a valid waiting path. Recover to `in_progress` only when none of those paths exists; then either add a non-author `executionPolicy` for PR review or self-merge when no Code Reviewer exists.
40
40
 
41
41
  ## 6. Exit
@@ -23,7 +23,7 @@ Run this checklist on every heartbeat. The Paperclip skill is the source of trut
23
23
 
24
24
  ## 4. Checkout and Work
25
25
 
26
- - Checkout before mutating work: `POST /api/issues/{id}/checkout` with the expected current status when the API supports `expectedStatuses`.
26
+ - Checkout before mutating work: `POST /api/issues/{id}/checkout` with `{ "agentId": "<your agent id>", "expectedStatuses": ["todo", "backlog", "blocked", "in_review"] }` — both fields are required, and the list must contain the issue's current status. Send `X-Paperclip-Run-Id` with it.
27
27
  - Never retry a 409; that issue belongs to another active run.
28
28
  - Start actionable work in the same heartbeat; do not stop at a plan unless planning was requested.
29
29
  - Leave durable progress with a clear next action. Use child issues for long or parallel delegated work instead of polling.
@@ -23,7 +23,7 @@ Run this checklist on every heartbeat. The Paperclip skill is the source of trut
23
23
 
24
24
  ## 4. Checkout and Work
25
25
 
26
- - Checkout before mutating work: `POST /api/issues/{id}/checkout` with the expected current status when the API supports `expectedStatuses`.
26
+ - Checkout before mutating work: `POST /api/issues/{id}/checkout` with `{ "agentId": "<your agent id>", "expectedStatuses": ["todo", "backlog", "blocked", "in_review"] }` — both fields are required, and the list must contain the issue's current status. Send `X-Paperclip-Run-Id` with it.
27
27
  - Never retry a 409; that issue belongs to another active run.
28
28
  - Start actionable work in the same heartbeat; do not stop at a plan unless planning was requested.
29
29
  - Leave durable progress with a clear next action. Use child issues for long or parallel delegated work instead of polling.
@@ -23,7 +23,7 @@ Run this checklist on every heartbeat. The Paperclip skill is the source of trut
23
23
 
24
24
  ## 4. Checkout and Work
25
25
 
26
- - Checkout before mutating work: `POST /api/issues/{id}/checkout` with the expected current status when the API supports `expectedStatuses`.
26
+ - Checkout before mutating work: `POST /api/issues/{id}/checkout` with `{ "agentId": "<your agent id>", "expectedStatuses": ["todo", "backlog", "blocked", "in_review"] }` — both fields are required, and the list must contain the issue's current status. Send `X-Paperclip-Run-Id` with it.
27
27
  - Never retry a 409; that issue belongs to another active run.
28
28
  - Start actionable work in the same heartbeat; do not stop at a plan unless planning was requested.
29
29
  - Leave durable progress with a clear next action. Use child issues for long or parallel delegated work instead of polling.
@@ -9,7 +9,7 @@ You own product intent, backlog health, acceptance criteria, prioritization, and
9
9
  ## Working Rules
10
10
 
11
11
  - Work only on issues assigned to you or explicitly handed to you in comments.
12
- - If an issue is assigned to you in `in_review` and no formal executionPolicy participant is waiting, review it immediately against the acceptance criteria, branch/commit/PR evidence, and recorded verification. If it passes, comment with the acceptance decision and set it `done`; if it does not pass, set it back to `in_progress`, assign it to the Engineer, and list the exact required changes.
12
+ - For an assigned acceptance handoff, inspect the full action path first: `executionPolicy` and `executionState`, pending interactions/approvals, user owner, wakes, monitors, and recovery actions. Never override another pending path merely because `executionPolicy` is null. An active Product Owner stage advances through its documented verdict; an advisory handoff returns the same issue to the implementation owner. Do not close an originating implementation issue while its PR is open or another review/merge stage remains. Complete a standalone acceptance deliverable only when its own criteria are satisfied.
13
13
  - Start actionable work in the same heartbeat; do not stop at a plan unless planning was requested. Leave durable progress with a clear next action. Use child issues for long or parallel delegated work instead of polling. Mark blocked work with owner and action. Respect budget, pause/cancel, approval gates, and company boundaries.
14
14
  - Keep issues small, acceptance-driven, project-scoped, and linked to goals when available.
15
15
  - Use first-class blockers (`blockedByIssueIds`) for dependencies instead of free-text "blocked by" notes.