@nurix/etna 0.19.42 → 0.19.44

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 (378) hide show
  1. package/bin/etna.js +47 -6
  2. package/data/harness-index.json +5 -1
  3. package/data/harnesses/apollo/.prettierignore +29 -0
  4. package/data/harnesses/apollo/.prettierrc.json +3 -0
  5. package/data/harnesses/apollo/.vscode/settings.json +19 -0
  6. package/data/harnesses/apollo/CLAUDE.md +162 -0
  7. package/data/harnesses/apollo/agents/brainstorm.md +144 -0
  8. package/data/harnesses/apollo/agents/change-review.md +251 -0
  9. package/data/harnesses/apollo/agents/lld-mode.md +56 -0
  10. package/data/harnesses/apollo/agents/maintenance.md +231 -0
  11. package/data/harnesses/apollo/agents/performance-review.md +223 -0
  12. package/data/harnesses/apollo/agents/retro.md +46 -0
  13. package/data/harnesses/apollo/codex/agents/brainstorm.toml +142 -0
  14. package/data/harnesses/apollo/codex/agents/change-review.toml +249 -0
  15. package/data/harnesses/apollo/codex/agents/lld-mode.toml +52 -0
  16. package/data/harnesses/apollo/codex/agents/maintenance.toml +228 -0
  17. package/data/harnesses/apollo/codex/agents/performance-review.toml +222 -0
  18. package/data/harnesses/apollo/codex/agents/retro.toml +45 -0
  19. package/data/harnesses/apollo/docs/README.md +28 -0
  20. package/data/harnesses/apollo/docs/history/CHANGELOG.md +26 -0
  21. package/data/harnesses/apollo/docs/history/backlog.md +19 -0
  22. package/data/harnesses/apollo/docs/memory/main.md +15 -0
  23. package/data/harnesses/apollo/docs/structure.md +54 -0
  24. package/data/harnesses/apollo/harness.json +18 -0
  25. package/data/harnesses/{code → apollo}/hooks/generate-ownership-index.mjs +1 -1
  26. package/data/harnesses/apollo/hooks/hooks.json +16 -0
  27. package/data/harnesses/apollo/rules/changelog.md +19 -0
  28. package/data/harnesses/apollo/rules/database.md +123 -0
  29. package/data/harnesses/apollo/rules/express.md +33 -0
  30. package/data/harnesses/apollo/rules/frontend.md +32 -0
  31. package/data/harnesses/apollo/rules/general.md +62 -0
  32. package/data/harnesses/apollo/rules/nomenclature.md +34 -0
  33. package/data/harnesses/apollo/rules/pnpm.md +57 -0
  34. package/data/harnesses/apollo/rules/testing.md +23 -0
  35. package/data/harnesses/apollo/rules/verification.md +67 -0
  36. package/data/harnesses/apollo/skills/boundary/SKILL.md +71 -0
  37. package/data/harnesses/apollo/skills/boundary/references/index.md +16 -0
  38. package/data/harnesses/apollo/skills/boundary/references/mechanisms.md +99 -0
  39. package/data/harnesses/apollo/skills/boundary/references/packs/async-messaging.md +81 -0
  40. package/data/harnesses/apollo/skills/boundary/references/packs/auth.md +93 -0
  41. package/data/harnesses/apollo/skills/boundary/references/packs/build-config-runtime.md +93 -0
  42. package/data/harnesses/apollo/skills/boundary/references/packs/cloudflare.md +93 -0
  43. package/data/harnesses/apollo/skills/boundary/references/packs/frontend.md +93 -0
  44. package/data/harnesses/apollo/skills/boundary/references/packs/generic-tail.md +55 -0
  45. package/data/harnesses/apollo/skills/boundary/references/packs/persistence.md +93 -0
  46. package/data/harnesses/apollo/skills/boundary/references/packs/wire-api.md +87 -0
  47. package/data/harnesses/apollo/skills/brainstorm/README.md +56 -0
  48. package/data/harnesses/apollo/skills/brainstorm/SKILL.md +173 -0
  49. package/data/harnesses/apollo/skills/brainstorm/references/doctrine.md +98 -0
  50. package/data/harnesses/apollo/skills/brainstorm/references/harvest.md +86 -0
  51. package/data/harnesses/apollo/skills/brainstorm/references/session-schema.md +186 -0
  52. package/data/harnesses/apollo/skills/brainstorm/scripts/detector.mjs +460 -0
  53. package/data/harnesses/apollo/skills/design/SKILL.md +100 -0
  54. package/data/harnesses/apollo/skills/design/components/charts.md +76 -0
  55. package/data/harnesses/apollo/skills/design/components/collections.md +132 -0
  56. package/data/harnesses/apollo/skills/design/components/feedback.md +47 -0
  57. package/data/harnesses/apollo/skills/design/components/hooks.md +35 -0
  58. package/data/harnesses/apollo/skills/design/components/index.md +143 -0
  59. package/data/harnesses/apollo/skills/design/components/inputs.md +327 -0
  60. package/data/harnesses/apollo/skills/design/components/layout.md +52 -0
  61. package/data/harnesses/apollo/skills/design/components/media.md +66 -0
  62. package/data/harnesses/apollo/skills/design/components/motion.md +82 -0
  63. package/data/harnesses/apollo/skills/design/components/navigation.md +29 -0
  64. package/data/harnesses/apollo/skills/design/components/overlays.md +72 -0
  65. package/data/harnesses/apollo/skills/design/components/setup.md +40 -0
  66. package/data/harnesses/apollo/skills/design/components/typography.md +46 -0
  67. package/data/harnesses/apollo/skills/design/components/utils.md +37 -0
  68. package/data/harnesses/apollo/skills/design/data/blueprints/browse.md +38 -0
  69. package/data/harnesses/apollo/skills/design/data/blueprints/creation-flow.md +38 -0
  70. package/data/harnesses/apollo/skills/design/data/blueprints/dashboard.md +38 -0
  71. package/data/harnesses/apollo/skills/design/data/blueprints/grid.md +38 -0
  72. package/data/harnesses/apollo/skills/design/data/blueprints/queue.md +38 -0
  73. package/data/harnesses/apollo/skills/design/data/blueprints/record-detail.md +38 -0
  74. package/data/harnesses/apollo/skills/design/data/blueprints/settings.md +38 -0
  75. package/data/harnesses/apollo/skills/design/data/chart-styling/Readme.md +33 -0
  76. package/data/harnesses/apollo/skills/design/data/chart-styling/carbon-accessible-alert-semantic.md +19 -0
  77. package/data/harnesses/apollo/skills/design/data/chart-styling/carbon-monochrome-sequential-trend.md +19 -0
  78. package/data/harnesses/apollo/skills/design/data/chart-styling/datadog-classic-six-aligned.md +19 -0
  79. package/data/harnesses/apollo/skills/design/data/chart-styling/datawrapper-tiered-gray-hierarchy.md +19 -0
  80. package/data/harnesses/apollo/skills/design/data/chart-styling/econ-red-rule-horizontal.md +19 -0
  81. package/data/harnesses/apollo/skills/design/data/chart-styling/financial-diverging-threshold-overlay.md +19 -0
  82. package/data/harnesses/apollo/skills/design/data/chart-styling/ft-vocabulary-ranked-muted.md +19 -0
  83. package/data/harnesses/apollo/skills/design/data/chart-styling/grafana-dark-threshold-bands.md +19 -0
  84. package/data/harnesses/apollo/skills/design/data/chart-styling/material-rounded-explicit-label.md +19 -0
  85. package/data/harnesses/apollo/skills/design/data/chart-styling/nyt-ghost-grid-direct-label.md +19 -0
  86. package/data/harnesses/apollo/skills/design/data/chart-styling/plot-currentcolor-inherit.md +19 -0
  87. package/data/harnesses/apollo/skills/design/data/chart-styling/saas-gradient-glow-area.md +19 -0
  88. package/data/harnesses/apollo/skills/design/data/chart-styling/shadcn-composable-css-vars.md +19 -0
  89. package/data/harnesses/apollo/skills/design/data/charts/census.csv +58 -0
  90. package/data/harnesses/apollo/skills/design/data/checklists/browse.md +21 -0
  91. package/data/harnesses/apollo/skills/design/data/checklists/creation-flow.md +20 -0
  92. package/data/harnesses/apollo/skills/design/data/checklists/dashboard.md +21 -0
  93. package/data/harnesses/apollo/skills/design/data/checklists/grid.md +21 -0
  94. package/data/harnesses/apollo/skills/design/data/checklists/queue.md +21 -0
  95. package/data/harnesses/apollo/skills/design/data/checklists/record-detail.md +21 -0
  96. package/data/harnesses/apollo/skills/design/data/checklists/settings.md +21 -0
  97. package/data/harnesses/apollo/skills/design/data/chrome/board-column.md +68 -0
  98. package/data/harnesses/apollo/skills/design/data/chrome/data-table.md +63 -0
  99. package/data/harnesses/apollo/skills/design/data/chrome/side-panel.md +60 -0
  100. package/data/harnesses/apollo/skills/design/data/chrome/sidebar.md +78 -0
  101. package/data/harnesses/apollo/skills/design/data/chrome/stat-cards.md +62 -0
  102. package/data/harnesses/apollo/skills/design/data/chrome/topbar.md +65 -0
  103. package/data/harnesses/apollo/skills/design/data/color/accent-presets.md +90 -0
  104. package/data/harnesses/apollo/skills/design/data/color/aesop-earth-mute.md +91 -0
  105. package/data/harnesses/apollo/skills/design/data/color/arc-peach-play.md +90 -0
  106. package/data/harnesses/apollo/skills/design/data/color/attio-hunter-teal.md +90 -0
  107. package/data/harnesses/apollo/skills/design/data/color/carbon-cyan-signal.md +90 -0
  108. package/data/harnesses/apollo/skills/design/data/color/clay-parchment.md +90 -0
  109. package/data/harnesses/apollo/skills/design/data/color/duolingo-feather.md +90 -0
  110. package/data/harnesses/apollo/skills/design/data/color/geist-mono-signal.md +90 -0
  111. package/data/harnesses/apollo/skills/design/data/color/linear-graphite-violet.md +90 -0
  112. package/data/harnesses/apollo/skills/design/data/color/mercury-onyx-cobalt.md +90 -0
  113. package/data/harnesses/apollo/skills/design/data/color/notion-paper-ink.md +90 -0
  114. package/data/harnesses/apollo/skills/design/data/color/radix-slate-iris.md +90 -0
  115. package/data/harnesses/apollo/skills/design/data/color/raycast-void-spectrum.md +90 -0
  116. package/data/harnesses/apollo/skills/design/data/color/spectrum-celery-fuchsia.md +90 -0
  117. package/data/harnesses/apollo/skills/design/data/color/stripe-blurple-ruby.md +90 -0
  118. package/data/harnesses/apollo/skills/design/data/color/superhuman-cod-picton.md +89 -0
  119. package/data/harnesses/apollo/skills/design/data/corpora/operations-review/companies.csv +15 -0
  120. package/data/harnesses/apollo/skills/design/data/corpora/operations-review/corpus.md +87 -0
  121. package/data/harnesses/apollo/skills/design/data/corpora/operations-review/people.csv +25 -0
  122. package/data/harnesses/apollo/skills/design/data/corpora/procurement-approvals/companies.csv +15 -0
  123. package/data/harnesses/apollo/skills/design/data/corpora/procurement-approvals/corpus.md +83 -0
  124. package/data/harnesses/apollo/skills/design/data/corpora/procurement-approvals/people.csv +25 -0
  125. package/data/harnesses/apollo/skills/design/data/corpora/revenue-analytics/companies.csv +15 -0
  126. package/data/harnesses/apollo/skills/design/data/corpora/revenue-analytics/corpus.md +89 -0
  127. package/data/harnesses/apollo/skills/design/data/corpora/revenue-analytics/people.csv +25 -0
  128. package/data/harnesses/apollo/skills/design/data/elevation/ant-design-directional-shadow.md +19 -0
  129. package/data/harnesses/apollo/skills/design/data/elevation/apple-liquid-glass-material.md +18 -0
  130. package/data/harnesses/apollo/skills/design/data/elevation/atlassian-surface-shadow-pairing.md +20 -0
  131. package/data/harnesses/apollo/skills/design/data/elevation/fluent-2-key-ambient-ramp.md +20 -0
  132. package/data/harnesses/apollo/skills/design/data/elevation/github-primer-sparing-shadow.md +19 -0
  133. package/data/harnesses/apollo/skills/design/data/elevation/ibm-carbon-layer-and-border.md +19 -0
  134. package/data/harnesses/apollo/skills/design/data/elevation/linear-dark-surface-ladder.md +17 -0
  135. package/data/harnesses/apollo/skills/design/data/elevation/material-2-key-ambient-dp-ramp.md +19 -0
  136. package/data/harnesses/apollo/skills/design/data/elevation/material-3-tonal-elevation.md +21 -0
  137. package/data/harnesses/apollo/skills/design/data/elevation/neobrutalist-hard-offset.md +19 -0
  138. package/data/harnesses/apollo/skills/design/data/elevation/neumorphic-soft-dual-shadow.md +18 -0
  139. package/data/harnesses/apollo/skills/design/data/elevation/notion-warm-minimal-hairline.md +17 -0
  140. package/data/harnesses/apollo/skills/design/data/elevation/polaris-elevation-inset-bevel.md +21 -0
  141. package/data/harnesses/apollo/skills/design/data/elevation/radix-themes-alpha-ring-scale.md +19 -0
  142. package/data/harnesses/apollo/skills/design/data/elevation/shadcn-neutral-derived-radius.md +19 -0
  143. package/data/harnesses/apollo/skills/design/data/elevation/stripe-brand-tinted-dual-shadow.md +18 -0
  144. package/data/harnesses/apollo/skills/design/data/elevation/tailwind-default-utility-scale.md +19 -0
  145. package/data/harnesses/apollo/skills/design/data/elevation/vercel-geist-shadow-as-border.md +20 -0
  146. package/data/harnesses/apollo/skills/design/data/gradients/amber-attention-fill.md +16 -0
  147. package/data/harnesses/apollo/skills/design/data/gradients/cloud-shadow-wash.md +16 -0
  148. package/data/harnesses/apollo/skills/design/data/gradients/confident-lavender-wash.md +16 -0
  149. package/data/harnesses/apollo/skills/design/data/gradients/ember-ship-flare.md +18 -0
  150. package/data/harnesses/apollo/skills/design/data/gradients/full-metal-wash.md +16 -0
  151. package/data/harnesses/apollo/skills/design/data/gradients/indigo-ruby-cta-band.md +18 -0
  152. package/data/harnesses/apollo/skills/design/data/gradients/linear-graphite-wash.md +18 -0
  153. package/data/harnesses/apollo/skills/design/data/gradients/marble-quartz-wash.md +16 -0
  154. package/data/harnesses/apollo/skills/design/data/gradients/midnight-aurora-panel.md +16 -0
  155. package/data/harnesses/apollo/skills/design/data/gradients/neutral-volume-fill.md +16 -0
  156. package/data/harnesses/apollo/skills/design/data/gradients/revenue-uptrend-fill.md +16 -0
  157. package/data/harnesses/apollo/skills/design/data/gradients/risk-decline-fill.md +16 -0
  158. package/data/harnesses/apollo/skills/design/data/gradients/signal-blue-develop.md +18 -0
  159. package/data/harnesses/apollo/skills/design/data/gradients/slate-mist-wash.md +16 -0
  160. package/data/harnesses/apollo/skills/design/data/gradients/stripe-atmosphere-mesh.md +18 -0
  161. package/data/harnesses/apollo/skills/design/data/gradients/teal-signal-accent.md +16 -0
  162. package/data/harnesses/apollo/skills/design/data/gradients/violet-magenta-promo.md +16 -0
  163. package/data/harnesses/apollo/skills/design/data/iconography.md +199 -0
  164. package/data/harnesses/apollo/skills/design/data/motion/accordion-expand.md +18 -0
  165. package/data/harnesses/apollo/skills/design/data/motion/destructive-hold-confirm.md +18 -0
  166. package/data/harnesses/apollo/skills/design/data/motion/drag-dismiss-momentum.md +18 -0
  167. package/data/harnesses/apollo/skills/design/data/motion/empty-state-arrive.md +18 -0
  168. package/data/harnesses/apollo/skills/design/data/motion/hover-lift.md +18 -0
  169. package/data/harnesses/apollo/skills/design/data/motion/modal-center-arrive.md +18 -0
  170. package/data/harnesses/apollo/skills/design/data/motion/number-ticker-roll.md +18 -0
  171. package/data/harnesses/apollo/skills/design/data/motion/onboarding-bounce.md +18 -0
  172. package/data/harnesses/apollo/skills/design/data/motion/panel-slide.md +18 -0
  173. package/data/harnesses/apollo/skills/design/data/motion/press-feedback.md +18 -0
  174. package/data/harnesses/apollo/skills/design/data/motion/progress-linear-loop.md +18 -0
  175. package/data/harnesses/apollo/skills/design/data/motion/route-crossfade.md +18 -0
  176. package/data/harnesses/apollo/skills/design/data/motion/rubber-band-overscroll.md +18 -0
  177. package/data/harnesses/apollo/skills/design/data/motion/skeleton-shimmer.md +18 -0
  178. package/data/harnesses/apollo/skills/design/data/motion/stagger-arrive.md +18 -0
  179. package/data/harnesses/apollo/skills/design/data/motion/toast-enter-stack.md +18 -0
  180. package/data/harnesses/apollo/skills/design/data/motion/tooltip-chain-instant.md +18 -0
  181. package/data/harnesses/apollo/skills/design/data/motion/trigger-anchored-reveal.md +18 -0
  182. package/data/harnesses/apollo/skills/design/data/tells.csv +34 -0
  183. package/data/harnesses/apollo/skills/design/data/typography/anton-work-sans.md +17 -0
  184. package/data/harnesses/apollo/skills/design/data/typography/archivo-black-archivo.md +17 -0
  185. package/data/harnesses/apollo/skills/design/data/typography/bitter-karla.md +17 -0
  186. package/data/harnesses/apollo/skills/design/data/typography/dm-serif-dm-sans.md +17 -0
  187. package/data/harnesses/apollo/skills/design/data/typography/fraunces-inter.md +17 -0
  188. package/data/harnesses/apollo/skills/design/data/typography/geist-geist-mono.md +17 -0
  189. package/data/harnesses/apollo/skills/design/data/typography/hubot-sans-mona-sans.md +17 -0
  190. package/data/harnesses/apollo/skills/design/data/typography/ibm-plex-sans-operator-single-family.md +17 -0
  191. package/data/harnesses/apollo/skills/design/data/typography/instrument-serif-instrument-sans.md +17 -0
  192. package/data/harnesses/apollo/skills/design/data/typography/inter-operator-single-family.md +17 -0
  193. package/data/harnesses/apollo/skills/design/data/typography/libre-baskerville-libre-franklin.md +17 -0
  194. package/data/harnesses/apollo/skills/design/data/typography/newsreader-inter.md +17 -0
  195. package/data/harnesses/apollo/skills/design/data/typography/playfair-display-source-sans.md +17 -0
  196. package/data/harnesses/apollo/skills/design/data/typography/public-sans-operator-single-family.md +17 -0
  197. package/data/harnesses/apollo/skills/design/data/typography/sohne-inter-fintech.md +17 -0
  198. package/data/harnesses/apollo/skills/design/data/typography/source-serif-source-sans.md +17 -0
  199. package/data/harnesses/apollo/skills/design/data/typography/space-grotesk-work-sans-space-mono.md +17 -0
  200. package/data/harnesses/apollo/skills/design/data/typography/spectral-manrope.md +17 -0
  201. package/data/harnesses/apollo/skills/design/data/voices/bright-collaborator.md +29 -0
  202. package/data/harnesses/apollo/skills/design/data/voices/direct-operator.md +29 -0
  203. package/data/harnesses/apollo/skills/design/data/voices/earnest-helper.md +29 -0
  204. package/data/harnesses/apollo/skills/design/data/voices/editorial-composed.md +29 -0
  205. package/data/harnesses/apollo/skills/design/data/voices/quiet-concierge.md +29 -0
  206. package/data/harnesses/apollo/skills/design/data/voices/warm-guide.md +29 -0
  207. package/data/harnesses/apollo/skills/design/design-md/SCHEMA.md +179 -0
  208. package/data/harnesses/apollo/skills/design/design-md/index.csv +67 -0
  209. package/data/harnesses/apollo/skills/design/design-md/library/airbnb.md +207 -0
  210. package/data/harnesses/apollo/skills/design/design-md/library/airtable.md +205 -0
  211. package/data/harnesses/apollo/skills/design/design-md/library/anthropic-claude.md +203 -0
  212. package/data/harnesses/apollo/skills/design/design-md/library/apple.md +206 -0
  213. package/data/harnesses/apollo/skills/design/design-md/library/binance.md +210 -0
  214. package/data/harnesses/apollo/skills/design/design-md/library/bmw.md +210 -0
  215. package/data/harnesses/apollo/skills/design/design-md/library/cal.md +209 -0
  216. package/data/harnesses/apollo/skills/design/design-md/library/clay.md +204 -0
  217. package/data/harnesses/apollo/skills/design/design-md/library/clickhouse.md +205 -0
  218. package/data/harnesses/apollo/skills/design/design-md/library/cohere.md +205 -0
  219. package/data/harnesses/apollo/skills/design/design-md/library/coinbase.md +198 -0
  220. package/data/harnesses/apollo/skills/design/design-md/library/composio.md +198 -0
  221. package/data/harnesses/apollo/skills/design/design-md/library/cursor.md +197 -0
  222. package/data/harnesses/apollo/skills/design/design-md/library/elevenlabs.md +199 -0
  223. package/data/harnesses/apollo/skills/design/design-md/library/expo.md +200 -0
  224. package/data/harnesses/apollo/skills/design/design-md/library/figma.md +199 -0
  225. package/data/harnesses/apollo/skills/design/design-md/library/framer.md +202 -0
  226. package/data/harnesses/apollo/skills/design/design-md/library/hashicorp.md +205 -0
  227. package/data/harnesses/apollo/skills/design/design-md/library/ibm.md +205 -0
  228. package/data/harnesses/apollo/skills/design/design-md/library/intercom.md +204 -0
  229. package/data/harnesses/apollo/skills/design/design-md/library/kraken.md +200 -0
  230. package/data/harnesses/apollo/skills/design/design-md/library/linear-app.md +198 -0
  231. package/data/harnesses/apollo/skills/design/design-md/library/lovable.md +199 -0
  232. package/data/harnesses/apollo/skills/design/design-md/library/meta.md +204 -0
  233. package/data/harnesses/apollo/skills/design/design-md/library/minimax.md +204 -0
  234. package/data/harnesses/apollo/skills/design/design-md/library/mintlify.md +210 -0
  235. package/data/harnesses/apollo/skills/design/design-md/library/miro.md +209 -0
  236. package/data/harnesses/apollo/skills/design/design-md/library/mistral-ai.md +201 -0
  237. package/data/harnesses/apollo/skills/design/design-md/library/mongodb.md +201 -0
  238. package/data/harnesses/apollo/skills/design/design-md/library/notion.md +204 -0
  239. package/data/harnesses/apollo/skills/design/design-md/library/nvidia.md +215 -0
  240. package/data/harnesses/apollo/skills/design/design-md/library/ollama.md +213 -0
  241. package/data/harnesses/apollo/skills/design/design-md/library/opencode-ai.md +216 -0
  242. package/data/harnesses/apollo/skills/design/design-md/library/posthog.md +218 -0
  243. package/data/harnesses/apollo/skills/design/design-md/library/raycast.md +214 -0
  244. package/data/harnesses/apollo/skills/design/design-md/library/replicate.md +202 -0
  245. package/data/harnesses/apollo/skills/design/design-md/library/resend.md +203 -0
  246. package/data/harnesses/apollo/skills/design/design-md/library/revolut.md +203 -0
  247. package/data/harnesses/apollo/skills/design/design-md/library/runwayml.md +203 -0
  248. package/data/harnesses/apollo/skills/design/design-md/library/sanity.md +200 -0
  249. package/data/harnesses/apollo/skills/design/design-md/library/sentry.md +201 -0
  250. package/data/harnesses/apollo/skills/design/design-md/library/shopify.md +202 -0
  251. package/data/harnesses/apollo/skills/design/design-md/library/slack.md +202 -0
  252. package/data/harnesses/apollo/skills/design/design-md/library/spacex.md +206 -0
  253. package/data/harnesses/apollo/skills/design/design-md/library/spotify.md +206 -0
  254. package/data/harnesses/apollo/skills/design/design-md/library/stripe.md +196 -0
  255. package/data/harnesses/apollo/skills/design/design-md/library/supabase.md +196 -0
  256. package/data/harnesses/apollo/skills/design/design-md/library/superhuman.md +194 -0
  257. package/data/harnesses/apollo/skills/design/design-md/library/tesla.md +198 -0
  258. package/data/harnesses/apollo/skills/design/design-md/library/theverge.md +199 -0
  259. package/data/harnesses/apollo/skills/design/design-md/library/together-ai.md +193 -0
  260. package/data/harnesses/apollo/skills/design/design-md/library/uber.md +195 -0
  261. package/data/harnesses/apollo/skills/design/design-md/library/vercel.md +195 -0
  262. package/data/harnesses/apollo/skills/design/design-md/library/voltagent.md +197 -0
  263. package/data/harnesses/apollo/skills/design/design-md/library/warp.md +196 -0
  264. package/data/harnesses/apollo/skills/design/design-md/library/webflow.md +197 -0
  265. package/data/harnesses/apollo/skills/design/design-md/library/wired.md +197 -0
  266. package/data/harnesses/apollo/skills/design/design-md/library/wise.md +198 -0
  267. package/data/harnesses/apollo/skills/design/design-md/library/x-ai.md +199 -0
  268. package/data/harnesses/apollo/skills/design/design-md/library/zapier.md +198 -0
  269. package/data/harnesses/apollo/skills/design/design-md/nurix.md +214 -0
  270. package/data/harnesses/apollo/skills/design/design-md/variants/editorial-luxury.md +184 -0
  271. package/data/harnesses/apollo/skills/design/design-md/variants/expressive-saas.md +216 -0
  272. package/data/harnesses/apollo/skills/design/design-md/variants/quiet-premium.md +211 -0
  273. package/data/harnesses/apollo/skills/design/design-md/variants/terse-dense-operator.md +212 -0
  274. package/data/harnesses/apollo/skills/design/design-md/variants/warm-approachable.md +216 -0
  275. package/data/harnesses/apollo/skills/design/references/compose.md +23 -0
  276. package/data/harnesses/apollo/skills/design/references/content.md +28 -0
  277. package/data/harnesses/apollo/skills/design/references/emission.md +21 -0
  278. package/data/harnesses/apollo/skills/design/references/existing-apps.md +27 -0
  279. package/data/harnesses/apollo/skills/design/references/intake.md +36 -0
  280. package/data/harnesses/apollo/skills/design/references/object-pass.md +24 -0
  281. package/data/harnesses/apollo/skills/design/references/ship-gate.md +29 -0
  282. package/data/harnesses/apollo/skills/design/references/ux-patterns/Readme.md +195 -0
  283. package/data/harnesses/apollo/skills/design/references/ux-patterns/ai-layer.md +49 -0
  284. package/data/harnesses/apollo/skills/design/references/ux-patterns/attributes-lifecycle.md +43 -0
  285. package/data/harnesses/apollo/skills/design/references/ux-patterns/container-choice.md +44 -0
  286. package/data/harnesses/apollo/skills/design/references/ux-patterns/creation-paths.md +46 -0
  287. package/data/harnesses/apollo/skills/design/references/ux-patterns/dashboards.md +42 -0
  288. package/data/harnesses/apollo/skills/design/references/ux-patterns/modes.md +42 -0
  289. package/data/harnesses/apollo/skills/design/references/ux-patterns/object-model.md +46 -0
  290. package/data/harnesses/apollo/skills/design/references/ux-patterns/page-archetype.md +48 -0
  291. package/data/harnesses/apollo/skills/design/references/ux-patterns/promotion-demotion.md +37 -0
  292. package/data/harnesses/apollo/skills/design/references/ux-patterns/settings.md +42 -0
  293. package/data/harnesses/apollo/skills/design/references/ux-patterns/standard-pages.md +46 -0
  294. package/data/harnesses/apollo/skills/design/references/ux-patterns/state-matrix.md +41 -0
  295. package/data/harnesses/apollo/skills/design/references/ux-patterns/table-mechanics.md +48 -0
  296. package/data/harnesses/apollo/skills/design/references/ux-patterns/verbs.md +45 -0
  297. package/data/harnesses/apollo/skills/design/references/ux-patterns/viewer-context.md +40 -0
  298. package/data/harnesses/apollo/skills/design/scripts/README-validator.md +27 -0
  299. package/data/harnesses/apollo/skills/design/scripts/select-chart.mjs +596 -0
  300. package/data/harnesses/apollo/skills/design/scripts/validate-design-md.mjs +1198 -0
  301. package/data/harnesses/apollo/skills/documentation/SKILL.md +134 -0
  302. package/data/harnesses/apollo/skills/documentation/references/examples.md +279 -0
  303. package/data/harnesses/apollo/skills/documentation/references/frontmatter.md +44 -0
  304. package/data/harnesses/apollo/skills/documentation/references/instruction-style.md +49 -0
  305. package/data/harnesses/apollo/skills/documentation/references/style-guide.md +351 -0
  306. package/data/harnesses/apollo/skills/documentation/references/untemplated.md +38 -0
  307. package/data/harnesses/apollo/skills/documentation/scripts/doc-lint.mjs +140 -0
  308. package/data/harnesses/apollo/skills/documentation/templates/Readme.md +34 -0
  309. package/data/harnesses/apollo/skills/documentation/templates/api-reference.md +20 -0
  310. package/data/harnesses/apollo/skills/documentation/templates/architecture-decision.md +121 -0
  311. package/data/harnesses/apollo/skills/documentation/templates/backlog.md +33 -0
  312. package/data/harnesses/apollo/skills/documentation/templates/behavioral-checklist.md +79 -0
  313. package/data/harnesses/apollo/skills/documentation/templates/bookkeeping.md +18 -0
  314. package/data/harnesses/apollo/skills/documentation/templates/changelog-entry.md +57 -0
  315. package/data/harnesses/apollo/skills/documentation/templates/changelog-index.md +41 -0
  316. package/data/harnesses/apollo/skills/documentation/templates/docs-readme.md +72 -0
  317. package/data/harnesses/apollo/skills/documentation/templates/domain-model.md +30 -0
  318. package/data/harnesses/apollo/skills/documentation/templates/environment-registry.md +15 -0
  319. package/data/harnesses/apollo/skills/documentation/templates/feature.md +149 -0
  320. package/data/harnesses/apollo/skills/documentation/templates/glossary.md +11 -0
  321. package/data/harnesses/apollo/skills/documentation/templates/journal.md +13 -0
  322. package/data/harnesses/apollo/skills/documentation/templates/memory-main.md +25 -0
  323. package/data/harnesses/apollo/skills/documentation/templates/migration-runbook.md +34 -0
  324. package/data/harnesses/apollo/skills/documentation/templates/non-goals.md +11 -0
  325. package/data/harnesses/apollo/skills/documentation/templates/operations-procedure.md +36 -0
  326. package/data/harnesses/apollo/skills/documentation/templates/plan.md +74 -0
  327. package/data/harnesses/apollo/skills/documentation/templates/protected-files.md +37 -0
  328. package/data/harnesses/apollo/skills/documentation/templates/root-readme.md +104 -0
  329. package/data/harnesses/apollo/skills/documentation/templates/security-overview.md +27 -0
  330. package/data/harnesses/apollo/skills/documentation/templates/structure.md +65 -0
  331. package/data/harnesses/apollo/skills/documentation/templates/system-overview.md +32 -0
  332. package/data/harnesses/apollo/skills/documentation/templates/testing-strategy.md +29 -0
  333. package/data/harnesses/apollo/skills/test-plan/SKILL.md +85 -0
  334. package/data/harnesses/apollo/skills/workflow-mapper/SKILL.md +451 -0
  335. package/data/harnesses/apollo/skills/workflow-mapper/references/patterns.md +214 -0
  336. package/data/harnesses/code/agents/bookkeeper.md +27 -0
  337. package/data/harnesses/code/agents/maintenance.md +5 -3
  338. package/data/harnesses/code/codex/agents/maintenance.toml +2 -2
  339. package/data/harnesses/code/harness.json +3 -2
  340. package/data/harnesses/code/hooks/awareness.mjs +370 -0
  341. package/data/harnesses/code/hooks/check-bookkeeping-clean.mjs +19 -0
  342. package/data/harnesses/code/hooks/check-changelog-presence.mjs +48 -0
  343. package/data/harnesses/code/hooks/check-completion-integrity.mjs +68 -0
  344. package/data/harnesses/code/hooks/check-ownership.mjs +22 -0
  345. package/data/harnesses/code/hooks/compliance.mjs +332 -0
  346. package/data/harnesses/code/hooks/hooks.json +16 -10
  347. package/data/harnesses/code/hooks/lib/frozen.mjs +58 -0
  348. package/data/harnesses/code/hooks/lib/ownership.mjs +223 -0
  349. package/data/harnesses/code/hooks/lib/state.mjs +156 -0
  350. package/data/harnesses/code/skills/boundary/SKILL.md +3 -1
  351. package/data/harnesses/code/skills/documentation/SKILL.md +2 -0
  352. package/data/harnesses/code/skills/documentation/templates/Readme.md +2 -0
  353. package/data/harnesses/code/skills/documentation/templates/bookkeeping.md +18 -0
  354. package/data/harnesses/code/skills/documentation/templates/journal.md +13 -0
  355. package/data/harnesses/code/skills/documentation/templates/plan.md +3 -0
  356. package/data/harnesses/code/skills/test-plan/SKILL.md +2 -0
  357. package/data/harnesses/delivery/agents/maintenance.md +5 -3
  358. package/data/harnesses/delivery/codex/agents/maintenance.toml +2 -2
  359. package/data/harnesses/delivery/harness.json +3 -2
  360. package/data/harnesses/delivery/skills/documentation/SKILL.md +2 -0
  361. package/data/harnesses/delivery/skills/documentation/templates/Readme.md +2 -0
  362. package/data/harnesses/delivery/skills/documentation/templates/bookkeeping.md +18 -0
  363. package/data/harnesses/delivery/skills/documentation/templates/journal.md +13 -0
  364. package/data/harnesses/delivery/skills/documentation/templates/plan.md +3 -0
  365. package/data/harnesses/discover/harness.json +2 -1
  366. package/data/harnesses/discussion/harness.json +1 -0
  367. package/data/harnesses/etna/agents/maintenance.md +5 -3
  368. package/data/harnesses/etna/codex/agents/maintenance.toml +2 -2
  369. package/data/harnesses/etna/harness.json +3 -2
  370. package/data/harnesses/etna/skills/boundary/SKILL.md +3 -1
  371. package/data/harnesses/etna/skills/documentation/SKILL.md +2 -0
  372. package/data/harnesses/etna/skills/documentation/templates/Readme.md +2 -0
  373. package/data/harnesses/etna/skills/documentation/templates/bookkeeping.md +18 -0
  374. package/data/harnesses/etna/skills/documentation/templates/journal.md +13 -0
  375. package/data/harnesses/etna/skills/documentation/templates/plan.md +3 -0
  376. package/data/harnesses/hr/harness.json +1 -0
  377. package/data/harnesses/kb-agi/harness.json +1 -0
  378. package/package.json +2 -2
@@ -0,0 +1,173 @@
1
+ ---
2
+ name: brainstorm
3
+ description: "Use when starting or stopping a large-scale design brainstorm via `/brainstorm start | stop` — never on phrases like 'let's plan' or 'let's design'. Thinking-partner session; entry needs a basis (reference doc, prior session, or brain dump); drip-sized asks are redirected."
4
+ ---
5
+
6
+ # Brainstorm
7
+
8
+ Help the user think correctly about a large-scale change, in a record that reads well at any
9
+ pause, and end with a harvest so complete the session folder is useless. You are the
10
+ **facilitator** — the conversation seat of a capability split across two seats:
11
+
12
+ - **You (this skill, main loop)** hold the conversation. Your only writes: append to
13
+ `ops/capture.md` every turn, write sync-log dispatch lines, and freeze the basis at intake.
14
+ - **The twin (the `brainstorm` agent, pinned strong tier)** owns the paper: it distills ops into
15
+ the working surface, recomposes the thesis whole, audits, and drives the harvest. You dispatch
16
+ it at gates and relay its reports. You never write the working surface yourself — prose
17
+ obligations decay in the conversing seat; that is the whole architecture.
18
+ - **The detector** (`scripts/detector.mjs`) owns mechanical integrity; the twin runs it.
19
+
20
+ References — load at the named moments, and read the routed file in full (no skimming to save
21
+ context; this skill is sized by completeness):
22
+
23
+ - `references/doctrine.md` — when judging what a turn's substance *is* (force, fork, commitment)
24
+ or how to word what you capture.
25
+ - `references/session-schema.md` — when bootstrapping a session or interpreting detector/twin
26
+ output.
27
+ - `references/harvest.md` — at `stop`, before orchestrating the pipeline.
28
+
29
+ ## The one habit that is yours: capture
30
+
31
+ Append to `ops/capture.md` **every turn**, both sides, lowest bar — raw notes, not prose:
32
+ what the user said that matters, and your own substance (causal diagnoses, informed rejections of
33
+ options you presented, definitions, reasoning chains behind recommendations), plus residue you
34
+ judge not worth filing. Turn-stamped per the schema (`### T# · <ISO datetime>`). Never distill
35
+ here — distillation is the twin's. If a piece of your reasoning lives only in the chat when the
36
+ twin next dispatches, you leaked it. This habit is also what makes every re-entry cheap: the
37
+ folder plus ops is the session's whole memory.
38
+
39
+ ## `start`
40
+
41
+ Consult the indexes first — never scan folders: `docs/research/Readme.md` (active sessions) and
42
+ `docs/history/brainstorms/Readme.md` (harvested). Topic matches an active session → resume it
43
+ (re-entry, below). Harvested or prior-generation match → offer it **as a basis** for a fresh
44
+ session. No match → new session.
45
+
46
+ **1 · The entry gate.** A session needs substance: ask for a **basis** — a reference document
47
+ (path or URL), a prior session folder of *any* format or generation, or a one-shot brain dump in
48
+ prose, now. Information is information: an old v2 brainstorm folder is ingested exactly like a
49
+ PRD — copied into `basis/`, frozen, distilled; never operated on in place, never migrated.
50
+ Drip-sized input (a bug fix, one button) → say this skill is the wrong tool and don't open the
51
+ session unless the user explicitly overrides. No basis, no session.
52
+
53
+ **2 · Bootstrap.** Folder `docs/research/{topic}-brainstorm/` (kebab slug, confirm in one line).
54
+ Create `ops/` with a `.gitignore` containing `*`, `ops/capture.md`, `ops/sync-log.md`; copy the
55
+ basis into `basis/`; add the row to `docs/research/Readme.md`. Then write the sync-log dispatch
56
+ line and dispatch the twin (gate: start) to write the initial surface — you don't scaffold
57
+ `state.md`/`thesis.md`/`forks.md`/`ledger.md` yourself.
58
+
59
+ **3 · Calibrate + frame.** Distill the basis first — it seeds everything. Calibrate from the
60
+ living docs (the ownership index, recent decision records, any open-questions doc) so your
61
+ questions match this repo, not a template. Then one `AskUserQuestion` batch: **sitting** (single
62
+ sprint — the default and the shape that succeeds — or explicitly multi), **execution reality**
63
+ (greenfield / brownfield / hybrid — migration gotchas discovered at plan time are discovered too
64
+ late), and **where the idea is right now** (fully in their head → dump; half-formed → interview).
65
+ Propose the **aspect map** — the thinking dimensions for *this* idea, derived from the basis,
66
+ no fixed list; the user edits it; it lives in `state.md`.
67
+
68
+ **4 · Orient.** 3–4 lines, assuming a first-time user: how the session works (you talk, the
69
+ folder keeps everything), the steering verbs in plain words, "let me read" (pause and read the
70
+ thesis anytime), and what `stop` does (converge → your approval → harvest → the folder moves and
71
+ you choose delete or commit). Then begin — **always in dump or interview**; probe and converge
72
+ are mid-session moves, never starting postures.
73
+
74
+ ## The moves
75
+
76
+ Five named, user-steerable interlocution moves — who drives, how much gets asked. No `MODE:`
77
+ field, no switch ceremony, no sanctioned trigger words: **any phrasing that implies a move
78
+ triggers it** ("I want to poke holes" → probe; "what am I missing?" → blindspot; "let's decide"
79
+ → converge). The first time each
80
+ move fires, name in one line what you're doing. Offer a switch when the signals say so (the user
81
+ monologues mid-interview; every probe answer is "haven't thought about it") — one offer, never
82
+ seized.
83
+
84
+ - **dump** — user drives. No questions mid-stream. Reflect back the shape, contradictions, and
85
+ implications as they land — that reflection *is* active listening; never sit silent.
86
+ - **interview** — you drive. `AskUserQuestion` batches of 2–3, scoped to one aspect at a time.
87
+ Questions derive from the basis and the current surface — never from a template inventory;
88
+ never interview to fill empty files.
89
+ - **probe** — you challenge: flaws, edge cases, conflicts with the tech fragment or domain
90
+ fragment. Each finding is noted in ops and moves on — don't demand resolution mid-probe.
91
+ - **blindspot** — hunt unknown unknowns. This move is dispatched, not conversed: you co-built
92
+ the frame, so the outside view is structurally the twin's — dispatch it (gate: on demand,
93
+ scope: blindspot) to cold-read the whole surface against the thesis's stated goal. Candidates
94
+ die at the twin's quality gate (grounded in this folder, material to the design, new,
95
+ answerable) so the user never over-replies to noise; at most five survivors arrive, each
96
+ already filed as a fork. Relay them in prose — finding → why it's material here → what
97
+ answering it would change — never as a question barrage: the user engages what matters and
98
+ converge burns the rest down later. Don't wait to be asked — a user-only trigger makes
99
+ coverage depend on the user remembering to ask: self-initiate a pass occasionally, at the
100
+ moments the frame settles (an aspect closes, a converge burst lands, the thesis materially
101
+ recomposes), by widening a reconcile dispatch's scope. Self-initiation needs no offer — it
102
+ seizes nothing; survivors land as forks either way, and zero survivors is one relay line,
103
+ never manufactured findings.
104
+ - **converge** — burn forks down to commitments or explicit parks. `AskUserQuestion` for picks.
105
+ Each resolution carries Why + How to apply (the twin files it; you capture it).
106
+
107
+ ## Twin dispatches — the gates
108
+
109
+ Dispatch at: **start** (bootstrap), **on demand** (below), **pause**, **stop**. One dispatch in
110
+ flight at a time. For every dispatch *you* write the dispatch line to `ops/sync-log.md`
111
+ (`S# | gate: <g> | dispatched: <ts> | scope: <s>`) — the twin appends the result; the pairing is
112
+ how reconciliation stays observable instead of asserted. Relay the twin's one-line report at the
113
+ next turn break ("4 edits · 2 new forks · 6 open · untouched: risks") — the only ambient
114
+ convergence pressure this skill applies — plus what the recompose changed, so a rewrite of the
115
+ user's thinking is never silent. A `failed` result: tell the user plainly and re-dispatch at the
116
+ next gate.
117
+
118
+ **On demand** means: the user asks ("let me read", "sync up", "what's open?"), or you judge the
119
+ capture has accumulated enough that the surface has fallen meaningfully behind. **"Let me read"**
120
+ is a recognized pause act: dispatch a compose (say honestly that it takes a couple of minutes),
121
+ then point them at `thesis.md` — mandated shape, claim → argument → what changed, stamped — and
122
+ pick the conversation back up when they return. Reading one's own thinking mid-session is a
123
+ designed-for act, not an interruption.
124
+
125
+ ## Re-entry — resume, or context loss
126
+
127
+ Re-entry is a read, not a reconstruction: re-read this skill's hub, `state.md` (posture line
128
+ first), and the tail of `ops/capture.md`; then dispatch the twin (gate: on demand) for a
129
+ re-brief + freshness audit. This covers three triggers identically: resuming a parked session,
130
+ a new sitting, and **loss of conversational context mid-session (compaction)** — if you find
131
+ yourself mid-session without memory of it, this is the procedure; the folder was built so that
132
+ nothing you "remembered" matters. While a session folder exists, read `state.md` at the start of
133
+ every turn.
134
+
135
+ ## `stop` — the fixed pipeline
136
+
137
+ Read `references/harvest.md` first. The pipeline always runs — a stop *is* convergence plus
138
+ harvest; you orchestrate, the twin executes each leg:
139
+
140
+ 1. **Converge** — every open fork resolved now or explicitly parked with a destination
141
+ (mini-converge in conversation; the scope-guard trio in `harvest.md` disambiguates parks).
142
+ If no blindspot round has run this session, offer one first (one offer, never seized) — an
143
+ unknown unknown found after commitments freeze is the expensive kind.
144
+ 2. **Final sync + manifest** — dispatch the twin (gate: stop). It builds the manifest only when
145
+ the detector's manifest gate is clean; relay anything blocking.
146
+ 3. **One approval** — present the manifest via `AskUserQuestion`. Gap rounds later re-enter here:
147
+ every write to canonical docs is user-approved, no exceptions.
148
+ 4. **Apply → uselessness test → move** — the twin's legs; relay results. Harvest fails loud:
149
+ a partial apply leaves the folder visibly unfinished in `docs/research/` and the user restarts
150
+ the stop — never resume silently.
151
+ 5. **The offer** — after the move to `docs/history/brainstorms/{topic}/`: **delete the folder, or
152
+ commit it** — the user decides; the design assumes deletion. Relay via `AskUserQuestion`.
153
+
154
+ ## Conduct — holds for the whole session
155
+
156
+ 1. **Speak plain English; codes live in files.** Name every item by what it is; append the code
157
+ in parentheses only when traceability needs it ("…the timeout question (F2)"). Never lead
158
+ with a bare `F3`/`D7`.
159
+ 2. **No production code outside the session folder while open.** Illustrative snippets live in
160
+ the folder. Asked for production code: offer a sketch inside the folder, or `/brainstorm stop`
161
+ first.
162
+ 3. **`AskUserQuestion` at exactly four sites:** the intake frame batch, interview batches,
163
+ converge picks, and the stop approvals (manifest; delete-or-commit). Everywhere else, prose.
164
+ 4. **Suggested, never seized.** Moves, abstractions, probes — one offer each; accept refusal
165
+ without re-litigating. Exemption: a self-initiated blindspot dispatch — it takes no
166
+ conversational control; its findings arrive as forks the user may simply ignore.
167
+ 5. **Nothing lives only in the transcript.** Ops is the floor: if it isn't in the folder or in
168
+ ops, it doesn't exist. Flaws, gaps, and contradictions surface to the twin as capture — the
169
+ twin turns them into forks; forks are the only convergence currency.
170
+ 6. **The user decides when to converge and when to stop.** Distance-to-coherent is visible in
171
+ every relayed twin report; you never say "let's decide now."
172
+ 7. **Only `/brainstorm start` and `/brainstorm stop` enter or leave a session.** No
173
+ auto-invocation, ever.
@@ -0,0 +1,98 @@
1
+ # Doctrine — the epistemic core
2
+
3
+ Load when: composing or auditing any working-surface file; deciding what a turn's substance *is*
4
+ (a force, a fork, a commitment); judging whether a record is complete enough to harvest.
5
+
6
+ The session's product is a defensible design position. Five elements carry it — thesis, forces,
7
+ forks, commitments, consequences. They are ADR epistemics with the ceremony removed: everything
8
+ that made a decision record *citable* survives; everything that made it *bureaucratic* is dropped.
9
+
10
+ ## The five elements
11
+
12
+ **Thesis** — the claim under construction. One composed document (`thesis.md`) in a mandated
13
+ readable shape: the **claim** (what we are building and the position taken), the **argument** (the
14
+ forces bearing on it and the reasoning chain from forces to claim), then **what most recently
15
+ changed and why**. Composed prose from turn one, rewritten whole at every compose — a document
16
+ maintained by appending can never read well. Every compose carries a `Current as of:` stamp so
17
+ staleness is visible instead of trusted.
18
+
19
+ **Forces** — the pressures that shape the design: user constraints stated in the conversation,
20
+ evidence from the repo or the field, platform realities, costs, prior doctrine. Forces are not a
21
+ file; they are the argument's raw material. A force lives wherever the reasoning that uses it
22
+ lives — the thesis argument, a commitment's Why — and is stated concretely enough to be checked
23
+ ("the CLI gates consumer refresh", never "deployment concerns").
24
+
25
+ **Forks** — the open questions. A fork is the session's only convergence currency: flaws, gaps,
26
+ contradictions, uncovered aspects all funnel into `forks.md` or they don't exist. Every fork
27
+ carries a **close condition** — what resolution looks like: a pick, a confirmed fact, an accepted
28
+ risk. A fork with no close condition is not askable and gets rewritten until it is.
29
+
30
+ **Commitments** — the resolved calls, in `ledger.md`. Field set per entry:
31
+
32
+ - **Decision** — the call, one sentence, present tense.
33
+ - **Why** — the forces and reasoning that produced it. This is where declined options live:
34
+ a **Declined:** line inside the commitment names the option, the evidence it was declined
35
+ against *at decline time*, and a **re-evaluate condition** where one exists — the condition
36
+ under which the rejection deserves another look. A deliberate call must never read later as an
37
+ unexamined one; the re-evaluate condition is what turns a past-tense rejection into a standing
38
+ tripwire.
39
+ - **How to apply** — what acting on the decision looks like in this repo.
40
+ - **Resolves** — the fork(s) this closes.
41
+
42
+ The ledger is **append-only with amendment-by-annotation**: a decision is real the moment it
43
+ lands; reversing it is a new entry that names what it reverses, plus a one-line annotation on the
44
+ old entry ("Reversed by …"). There is no tentative/committed/rescinded state machine — the fleet's
45
+ best sessions all proved append-plus-annotation carries the same information with none of the
46
+ ceremony.
47
+
48
+ **Consequences** — what a commitment obligates beyond itself: follow-on work, constraints it
49
+ places on future decisions, and where its knowledge must land at harvest. Consequences surface as
50
+ new forks ("committing to X opens the question of Y"), backlog candidates, or fragment content —
51
+ they are the element that keeps a ledger from being a list of verdicts with no forward pressure.
52
+
53
+ ## What ADR epistemics keep
54
+
55
+ The parts that made decision records worth citing in shipped source:
56
+
57
+ - A decision is **addressable** — it can be named, cited, amended, and reversed by reference.
58
+ - The **reasoning travels with the verdict** — Why is mandatory, and declined alternatives ride
59
+ inside it with their evidence.
60
+ - **Reversal is first-class** — a new entry naming what it reverses, never a silent edit.
61
+ - **Consequences are part of the record** — a decision that obligates work says so.
62
+
63
+ ## What ceremony drops
64
+
65
+ The parts that died in every real session, kept out deliberately:
66
+
67
+ - **Status lifecycles** (Proposed → Accepted → Deprecated) — a commitment is live when it lands;
68
+ reversal is an entry, not a state transition.
69
+ - **One-document-per-decision granularity** — the ledger is one file; harvest may split by
70
+ subject, the session never does.
71
+ - **Immutability ritual** — annotation is allowed and expected; only the *meaning* of past entries
72
+ is protected (annotate, never rewrite history).
73
+ - **Committee numbering as identity** — entries get short stable handles for cross-reference
74
+ (D-notation), but conversation names decisions by what they are in plain words; codes are
75
+ parenthetical.
76
+
77
+ ## Epistemic rules
78
+
79
+ These bind every writer of the working surface — facilitator (ops), twin (everything else):
80
+
81
+ 1. **Distilled, never verbatim.** Capture is interpretation: name the claim, the reasoning, and
82
+ the implication. The ban is on transcript-pasting, not on quoting — integrity copies (printed
83
+ enumerations, cited excerpts) are self-containment, not stenography.
84
+ 2. **Examples are examples.** Record the general claim and cite the user's phrase as an instance
85
+ of it. Never promote one phrasing into the frame — a thesis that reads beautifully but no
86
+ longer says what the user meant is worse than one that reads badly.
87
+ 3. **No naked pointers.** No pillar may lean on anything undefined in-folder: an enumeration
88
+ cited by number gets printed once, a term gets a one-line gloss, an external citation carries
89
+ an excerpt of its substance. A cold reader must never need the transcript or an external file
90
+ to parse the surface. The same bar applies to harvest destinations — the uselessness test
91
+ checks it there.
92
+ 4. **Both sides are session knowledge.** The facilitator's own substance — causal diagnoses,
93
+ informed rejections of options it presented, definitions of terms the surface cites, reasoning
94
+ chains behind recommendations — is captured with the same discipline as the user's words. This
95
+ is the historically leaked knowledge class; the ops ledger exists so it lands at zero cost.
96
+ 5. **Directional steering is not feature truth.** A harvested principle informs many decisions
97
+ and changes slowly; a feature fact belongs to its feature doc and changes at code speed. The
98
+ harvest links between the two layers, never duplicates prose across them.
@@ -0,0 +1,86 @@
1
+ # Harvest — the stop pipeline
2
+
3
+ Load when: `/brainstorm stop` is invoked (facilitator), or executing any stop-gate dispatch
4
+ (twin). The pipeline's mechanical gates live in the detector (`--gate=manifest`, `--gate=move`);
5
+ this reference carries the routing judgment.
6
+
7
+ The pipeline, end to end:
8
+
9
+ ```
10
+ converge → final sync/compose → manifest (Status: proposed)
11
+ → ONE user approval (Status: approved)
12
+ → apply, reading both sides of every destination (Status: applied)
13
+ → uselessness test → gaps? new Round, back to approval
14
+ → move to docs/history/brainstorms/{topic}/ ← the completion marker
15
+ → offer: delete or commit — the user decides
16
+ ```
17
+
18
+ **Harvest fails loud, never silent.** The move happens only after the full apply passes the
19
+ uselessness test. A partial apply — twin death, session kill, anything — leaves the folder
20
+ visibly unfinished in `docs/research/` and the user restarts the stop. The pipeline never resumes
21
+ silently from a half-applied state, and canonical docs are never written without an approved
22
+ manifest (gap-round fixes included).
23
+
24
+ ## The routing map
25
+
26
+ Route each piece of the surface by scope. Format every artifact via the `documentation` skill;
27
+ where it is unavailable, fall back to own formatting and record which path ran in the manifest.
28
+ Read **both sides** of every destination before writing — the destination's current content is a
29
+ contract, not a blank page.
30
+
31
+ | What | Goes to | Shape |
32
+ | --- | --- | --- |
33
+ | **Source of truth** | The repo's canonical home for that knowledge: `docs/features/` for a feature, `docs/architecture/` for cross-cutting doctrine, else a topic `Readme.md` | One consolidated reader-first doc distilled from the whole surface: thesis → what it is; domain fragment → how it works; ledger → present-tense rationale **without entry codes** |
34
+ | **Executable work** | `docs/history/plans/` | Split by deliverable, never by pillar |
35
+ | **Decision records** | One record per decision *subject* | A decision revising an already-recorded subject updates that record in place (its changelog carries the journey) rather than minting a new one; declined alternatives ride along with their re-evaluate conditions |
36
+ | **Domain-model changes** | The living domain-model doc | The information-architecture contract the `boundary` skill reads at the next plan check |
37
+ | **Still-open (parked) forks** | The repo's open-questions home | Each with a *resolution-lands-in* pointer |
38
+ | **Backlog items** | The repo backlog | See the scope-guard trio below |
39
+ | **Fragments** | Their destinations — they were drafted in destination format precisely so this is a move, not a translation | Merge per the destination's existing structure |
40
+
41
+ **The scope-guard trio** disambiguates everything that isn't a commitment:
42
+
43
+ - *Will build later* → **backlog**.
44
+ - *Deliberately not building* → **non-goals**.
45
+ - *Weighed and chose another option* → a **Declined:** line inside the deciding ledger entry,
46
+ with its evidence and re-evaluate condition — carried into the harvested decision record.
47
+
48
+ **Directional steering is not feature truth.** A harvested principle informs many decisions and
49
+ changes slowly; a feature fact belongs to its feature doc and changes at code speed. The harvest
50
+ **links** between the steering layer and feature docs — it never duplicates prose across them,
51
+ and it never invents a new top-level home for principles (they land in the *existing* living
52
+ docs).
53
+
54
+ Rejection rationale and reasoning chains must have explicit destinations — options-considered
55
+ sections, decision changelogs — or the uselessness test fails: the folder may never be deleted
56
+ into a knowledge loss.
57
+
58
+ ## The uselessness test
59
+
60
+ The deletion-safety gate: after the apply, the post-harvest living docs alone must be enough.
61
+
62
+ - **The reader is always a freshly spawned, context-free agent** — a full-context reader cannot
63
+ cold-read; it already knows every undefined term.
64
+ - **Isolation is enforced, not instructed:** the cold reader's prompt contains an explicit
65
+ allowed-path list (the manifest's destinations — never the session folder), and the detector
66
+ independently verifies no harvested doc links back into the session folder (BS-HARVEST-01) — a
67
+ link into scaffolding is itself a harvest defect.
68
+ - **The task:** reconstruct the design — thesis, commitments, reasoning, declined branches — from
69
+ the allowed paths only.
70
+ - **Grading:** the twin diffs the reconstruction against the ledger and thesis and names every
71
+ gap; the session-replay evals audit the grading itself. Anything unrecoverable is a named
72
+ harvest gap → recorded in the manifest (`Result: fail`), fixes enter a new manifest `Round`,
73
+ approved like the first. Iterate until the folder is redundant.
74
+
75
+ ## The move, and the offer
76
+
77
+ When the detector's move gate is clean: delete `ops/` entirely (transcript-grade residue never
78
+ enters git), `git mv` the folder to `docs/history/brainstorms/{topic}/`, set
79
+ `Status: harvested`, and update both indexes (row out of `docs/research/Readme.md`, row into
80
+ `docs/history/brainstorms/Readme.md`). The move is the completion marker — a folder still under
81
+ `docs/research/` is by definition unfinished, which is exactly what the maintenance census reads.
82
+
83
+ Then the offer, relayed by the facilitator: **delete the moved folder, or commit it.** The user
84
+ decides; the design assumes deletion — nothing anywhere may depend on the folder surviving.
85
+ Committing is the explicit way to keep git-history forensics; an uncommitted folder deleted here
86
+ is gone, and that residual is accepted by design.
@@ -0,0 +1,186 @@
1
+ # Session schema — the single format authority
2
+
3
+ Load when: bootstrapping a session, writing any working-surface file, dispatching the twin, or
4
+ interpreting detector output. The detector (`scripts/detector.mjs`) is the mechanical half of this
5
+ contract — every rule below that carries a rule ID is machine-checked; everything else is the
6
+ twin's semantic judgment.
7
+
8
+ ## Folder layout
9
+
10
+ ```
11
+ docs/research/{topic}-brainstorm/ ← open session (kebab-case topic slug)
12
+ ├── state.md ← anchor + aspect map (twin-written)
13
+ ├── thesis.md ← composed claim → argument → what changed (twin-written)
14
+ ├── forks.md ← open questions with close conditions (twin-written)
15
+ ├── ledger.md ← commitments (twin-written)
16
+ ├── basis/ ← frozen entry material (facilitator-written once, at intake)
17
+ ├── fragments/ ← harvest-native fragments (twin-written; materialize on
18
+ │ first real content, drafted in destination format)
19
+ └── ops/ ← untracked capture layer (deleted at stop)
20
+ ├── .gitignore ← contains `*` — ops/ never enters git [BS-OPS-01/02]
21
+ ├── capture.md ← facilitator's raw append ledger (its ONLY write)
22
+ ├── sync-log.md ← paired twin-dispatch log
23
+ └── manifest.md ← harvest manifest (created by the stop pipeline)
24
+ ```
25
+
26
+ On a passed harvest the folder **moves** to `docs/history/brainstorms/{topic}/` (ops/ deleted
27
+ first) — the move is the completion marker; the user then deletes or commits it. A folder still
28
+ under `docs/research/` is by definition unfinished.
29
+
30
+ **Write protocol (one writer per file):** the facilitator appends to `ops/capture.md` and writes
31
+ the initial `basis/` copy plus the sync-log *dispatch* lines — nothing else, ever. The twin writes
32
+ every other file, at gates. The user may hand-edit anything; the twin diffs each file against its
33
+ own last compose before rewriting and folds foreign edits as first-class user signal.
34
+
35
+ ## state.md
36
+
37
+ ```markdown
38
+ # State
39
+
40
+ - Status: open | stopping | harvested
41
+ - Posture: mid-probe on the sync-layer aspect, three forks open
42
+ - Started: 2026-07-08
43
+ - Sitting: single | multi
44
+ - Last compose: 2026-07-08T14:30Z | never
45
+
46
+ ## Aspect map
47
+
48
+ - persistence — how session state survives restarts → F1, D3
49
+ - onboarding — the first-run experience → thesis
50
+ - risks — failure modes and mitigations → none yet
51
+ ```
52
+
53
+ - `Status` transitions only forward: `open → stopping → harvested` (the twin flips `stopping` when
54
+ the stop pipeline begins, `harvested` at the move). [BS-STATE-01]
55
+ - The aspect map is derived per idea from the basis and edited by the user. Each aspect carries
56
+ `→` refs to the content covering it: fork IDs (`F#`), ledger IDs (`D#`), `thesis`,
57
+ `fragment:{name}`, or `none yet` (an open coverage gap — informational mid-session
58
+ [BS-ASPECT-01], blocking at the manifest gate [BS-ASPECT-02]). Ref *presence* is the detector's
59
+ half; whether the content actually covers the aspect is the twin's.
60
+
61
+ ## thesis.md
62
+
63
+ ```markdown
64
+ # {Topic} — thesis
65
+
66
+ Current as of: 2026-07-08T14:30Z
67
+
68
+ ## Claim
69
+ ## Argument
70
+ ## What changed
71
+ ```
72
+
73
+ Composed prose, rewritten whole at every compose, never appended. The three sections and the
74
+ stamp are mandatory [BS-THESIS-01]; the stamp must equal state.md's `Last compose`
75
+ [BS-COMPOSE-01]. At the manifest gate, `Last compose` must be later than the newest
76
+ `ops/capture.md` entry — a compose over unsynced capture is stale [BS-COMPOSE-02].
77
+
78
+ ## forks.md
79
+
80
+ ```markdown
81
+ ## F3 — Should reads wait for a compose? [open]
82
+
83
+ Full self-contained prose in the user's framing.
84
+
85
+ - Raised by: user | twin (S4) | probe | harvest
86
+ - Closes when: a pick between wait-for-fresh and read-stale-with-warning
87
+ ```
88
+
89
+ - IDs `F1, F2, …` unique, never reused [BS-FORK-01]. Status marker: `[open]` or
90
+ `[parked → {destination}]`. Every fork carries `Closes when:` [BS-FORK-01].
91
+ - `Raised by: twin (S#)` must cite a reconciled sync-log entry [BS-SYNC-02].
92
+ - **A resolved fork's entry is deleted** by the twin — the resolving ledger entry's `Resolves:`
93
+ field is the record. forks.md holds only open and parked forks; a ledger `Resolves: F3`
94
+ coexisting with an open F3 is an inconsistency [BS-FORK-02]. Parked forks survive to the
95
+ manifest, which must route each one [BS-MANIFEST-01].
96
+ - The manifest gate requires zero `[open]` forks [BS-FORK-03].
97
+
98
+ ## ledger.md
99
+
100
+ ```markdown
101
+ ## D4 — Sessions initialize in dump or interview
102
+
103
+ - Decision: every session opens in dump or interview; probe and converge are mid-session moves.
104
+ - Why: a first-time user cannot be asked to pick a posture they have no vocabulary for.
105
+ Declined: free initial posture — observed cold-starts stall in probe; re-evaluate if
106
+ session-replay evals show experienced users fighting the default.
107
+ - How to apply: the facilitator's start calibration offers only the two entry moves.
108
+ - Resolves: F2
109
+ ```
110
+
111
+ - IDs `D1, D2, …` unique, append-only [BS-LEDGER-01]. `Decision`, `Why`, `How to apply` are
112
+ mandatory; `Resolves:` when the commitment closes forks. Amendments and reversals are
113
+ annotations plus a new entry ("Reversed by D9" on the old; D9 names what it reverses) — never a
114
+ rewrite. Declined options live inside `Why` per [doctrine.md](doctrine.md).
115
+
116
+ ## ops/capture.md
117
+
118
+ The facilitator's per-turn append — its one write duty. Lowest possible bar: raw, unpolished,
119
+ everything session-relevant from *both* sides (user substance and facilitator substance —
120
+ diagnoses, informed rejections, definitions, reasoning chains), including residue judged not
121
+ worth pillar filing. Format:
122
+
123
+ ```markdown
124
+ ---
125
+ ### T14 · 2026-07-08T14:22Z
126
+
127
+ <raw notes for this turn>
128
+ ```
129
+
130
+ Turn IDs `T#` ascending with an ISO timestamp — the timestamp is what compose-freshness checks
131
+ against [BS-COMPOSE-02]. Never distill here; distillation is the twin's job.
132
+
133
+ ## ops/sync-log.md
134
+
135
+ Paired-written, one pair per twin dispatch:
136
+
137
+ ```
138
+ S4 | gate: on-demand | dispatched: 2026-07-08T14:25Z | scope: full reconcile + compose
139
+ S4 → reconciled | 2026-07-08T14:29Z | 4 edits · 2 new forks · 6 open · untouched: risks
140
+ ```
141
+
142
+ The **facilitator** writes the dispatch line as it dispatches; the **twin** appends the result
143
+ line (`reconciled` or `failed`) on return — no single author holds both sides. Every dispatch
144
+ line must acquire a result line; only the newest entry may be unpaired (in flight) [BS-SYNC-01].
145
+ A `failed` result is surfaced to the user at the next turn break and re-run at the next gate.
146
+
147
+ ## ops/manifest.md
148
+
149
+ Created by the stop pipeline; gates the harvest apply:
150
+
151
+ ```markdown
152
+ # Harvest manifest — {topic}
153
+
154
+ Round: 1
155
+ Status: proposed | approved | applied
156
+
157
+ | # | What | Source | Destination | Action |
158
+ |---|------|--------|-------------|--------|
159
+ | 1 | consolidated source of truth | thesis + fragments + ledger | docs/features/{x}.md | create |
160
+ | 2 | parked fork F7 | forks.md | docs/architecture/open-questions.md | append |
161
+
162
+ ## Uselessness test
163
+
164
+ - Result: pass | fail
165
+ - Cold-reader allowed paths: <the destination docs above>
166
+ - Gaps: none | <named gaps → next Round>
167
+ ```
168
+
169
+ Every parked fork and every fragment must have a row [BS-MANIFEST-01]. `Status: approved` is set
170
+ only after the user approves; gap fixes re-enter as a new `Round` with the same approval
171
+ requirement. After apply, no destination doc may link into the session folder [BS-HARVEST-01];
172
+ the move to history requires a recorded passing uselessness test [BS-USELESS-01].
173
+
174
+ ## Detector
175
+
176
+ `node scripts/detector.mjs <session-folder> [--gate=session|manifest|move] [--json]`
177
+
178
+ - `session` (default) — the always-on integrity rules; run at any gate.
179
+ - `manifest` — adds the convergence gates (zero open forks, full aspect coverage, fresh compose);
180
+ the twin may not construct a manifest while any of these fail.
181
+ - `move` — adds the post-apply gates (manifest applied, uselessness pass recorded, no links into
182
+ scaffolding); the folder may not move while any fail.
183
+
184
+ Exit code 0 = clean, 1 = violations (listed with rule IDs), 2 = unusable input. Rules degrade
185
+ gracefully: no git context ⇒ BS-OPS-02 reports `skipped`, never blocks. Rule IDs are stable —
186
+ consumers (the twin, the evals, the maintenance census) key on them.