@punks/cli 3.2.2 → 3.3.0

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 (98) hide show
  1. package/AGENTS.md +1 -1
  2. package/dist/BASELINE_CHANGELOG.md +43 -0
  3. package/dist/CHANGELOG.md +24 -0
  4. package/dist/baseline/scaffold-baseline/baseline.json +5 -5
  5. package/dist/baseline/scaffold-baseline/data/catalog/lint-assets.json +4 -1
  6. package/dist/baseline/scaffold-baseline/data/catalog/packs.json +5 -2
  7. package/dist/baseline/scaffold-baseline/data/catalog/skills.json +24 -0
  8. package/dist/baseline/scaffold-baseline/skills/agnostic/cli/hi-cli/references/post-command-flow.md +6 -1
  9. package/dist/baseline/scaffold-baseline/skills/agnostic/frontend/animate/LICENSE +21 -0
  10. package/dist/baseline/scaffold-baseline/skills/agnostic/frontend/animate/RECIPES.md +333 -0
  11. package/dist/baseline/scaffold-baseline/skills/agnostic/frontend/animate/SKILL.md +203 -0
  12. package/dist/baseline/scaffold-baseline/skills/agnostic/frontend/animate/UPSTREAM.md +9 -0
  13. package/dist/baseline/scaffold-baseline/skills/agnostic/frontend/review-animations/LICENSE +21 -0
  14. package/dist/baseline/scaffold-baseline/skills/agnostic/frontend/review-animations/SKILL.md +112 -0
  15. package/dist/baseline/scaffold-baseline/skills/agnostic/frontend/review-animations/STANDARDS.md +229 -0
  16. package/dist/baseline/scaffold-baseline/skills/agnostic/frontend/review-animations/UPSTREAM.md +9 -0
  17. package/dist/baseline/scaffold-baseline/skills/agnostic/planning/create-plan/REFERENCE.md +5 -1
  18. package/dist/baseline/scaffold-baseline/skills/agnostic/planning/create-plan/SKILL.md +8 -6
  19. package/dist/baseline/scaffold-baseline/skills/agnostic/planning/create-plan/references/planner-task-graph.md +12 -7
  20. package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/requirements-grill/SKILL.md +6 -4
  21. package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/requirements-grill/references/artifact-output.md +36 -3
  22. package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/requirements-grill/references/grilling-flow.md +18 -1
  23. package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/write-backlog/EXAMPLES.md +1 -1
  24. package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/write-backlog/REFERENCE.md +4 -3
  25. package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/write-backlog/SKILL.md +2 -2
  26. package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/write-backlog/assets/concepts/backlog-model.md +6 -6
  27. package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/write-backlog/assets/providers/azure-devops-create-payload.md +7 -7
  28. package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/write-backlog/assets/providers/github-projects-create-payload.md +12 -12
  29. package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/write-backlog/assets/providers/linear-create-payload.md +9 -9
  30. package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/write-backlog/assets/providers/monday-create-payload.md +10 -10
  31. package/dist/baseline/scaffold-baseline/skills/frameworks/expo/animate-expo/LICENSE +21 -0
  32. package/dist/baseline/scaffold-baseline/skills/frameworks/expo/animate-expo/RECIPES.md +435 -0
  33. package/dist/baseline/scaffold-baseline/skills/frameworks/expo/animate-expo/SKILL.md +255 -0
  34. package/dist/baseline/scaffold-baseline/skills/frameworks/expo/animate-expo/UPSTREAM.md +9 -0
  35. package/dist/baseline/scaffold-baseline/skills/phases/delivery-phase/phases/review.md +34 -9
  36. package/dist/baseline/scaffold-baseline/skills/phases/delivery-phase/phases/router.md +18 -11
  37. package/dist/baseline/scaffold-baseline/skills/phases/delivery-phase/references/phase-handoff.md +19 -1
  38. package/dist/baseline/scaffold-baseline/skills/phases/review-phase/AUTHORING-HANDOFF.md +14 -11
  39. package/dist/baseline/scaffold-baseline/skills/phases/review-phase/phases/retain-report.md +9 -2
  40. package/dist/baseline/scaffold-baseline/skills/phases/review-phase/phases/return-route.md +6 -8
  41. package/dist/baseline/scaffold-baseline/skills/phases/review-phase/phases/run-review.md +8 -5
  42. package/dist/baseline/scaffold-baseline/skills/phases/review-phase/references/durable-report.md +29 -14
  43. package/dist/baseline/scaffold-baseline/skills/phases/review-phase/references/state-graph.md +45 -32
  44. package/dist/baseline/scaffold-baseline/skills/phases/review-phase/references/targets.md +2 -1
  45. package/dist/baseline/scaffold-baseline/skills/phases/review-phase/scripts/review-contract.mjs +86 -12
  46. package/dist/baseline/scaffold-baseline.json +5 -5
  47. package/dist/baseline/scaffold-baseline.tgz +0 -0
  48. package/dist/data/AGENTS.md +1 -1
  49. package/dist/index.js +10 -10
  50. package/dist/skills/agnostic/cli/hi-cli/references/post-command-flow.md +6 -1
  51. package/dist/skills/agnostic/frontend/animate/LICENSE +21 -0
  52. package/dist/skills/agnostic/frontend/animate/RECIPES.md +324 -0
  53. package/dist/skills/agnostic/frontend/animate/SKILL.md +199 -0
  54. package/dist/skills/agnostic/frontend/animate/UPSTREAM.md +9 -0
  55. package/dist/skills/agnostic/frontend/review-animations/LICENSE +21 -0
  56. package/dist/skills/agnostic/frontend/review-animations/SKILL.md +112 -0
  57. package/dist/skills/agnostic/frontend/review-animations/STANDARDS.md +187 -0
  58. package/dist/skills/agnostic/frontend/review-animations/UPSTREAM.md +9 -0
  59. package/dist/skills/agnostic/planning/create-plan/REFERENCE.md +5 -1
  60. package/dist/skills/agnostic/planning/create-plan/SKILL.md +8 -6
  61. package/dist/skills/agnostic/planning/create-plan/references/planner-task-graph.md +12 -7
  62. package/dist/skills/agnostic/requirements/requirements-grill/SKILL.md +6 -4
  63. package/dist/skills/agnostic/requirements/requirements-grill/references/artifact-output.md +33 -3
  64. package/dist/skills/agnostic/requirements/requirements-grill/references/grilling-flow.md +18 -1
  65. package/dist/skills/agnostic/requirements/write-backlog/EXAMPLES.md +1 -1
  66. package/dist/skills/agnostic/requirements/write-backlog/REFERENCE.md +4 -3
  67. package/dist/skills/agnostic/requirements/write-backlog/SKILL.md +2 -2
  68. package/dist/skills/agnostic/requirements/write-backlog/assets/concepts/backlog-model.md +6 -6
  69. package/dist/skills/agnostic/requirements/write-backlog/assets/providers/azure-devops-create-payload.md +7 -7
  70. package/dist/skills/agnostic/requirements/write-backlog/assets/providers/github-projects-create-payload.md +12 -12
  71. package/dist/skills/agnostic/requirements/write-backlog/assets/providers/linear-create-payload.md +9 -9
  72. package/dist/skills/agnostic/requirements/write-backlog/assets/providers/monday-create-payload.md +10 -10
  73. package/dist/skills/frameworks/expo/animate-expo/LICENSE +21 -0
  74. package/dist/skills/frameworks/expo/animate-expo/RECIPES.md +385 -0
  75. package/dist/skills/frameworks/expo/animate-expo/SKILL.md +255 -0
  76. package/dist/skills/frameworks/expo/animate-expo/UPSTREAM.md +9 -0
  77. package/dist/skills/phases/delivery-phase/phases/review.md +34 -9
  78. package/dist/skills/phases/delivery-phase/phases/router.md +16 -9
  79. package/dist/skills/phases/delivery-phase/references/phase-handoff.md +19 -1
  80. package/dist/skills/phases/review-phase/AUTHORING-HANDOFF.md +14 -11
  81. package/dist/skills/phases/review-phase/phases/retain-report.md +9 -2
  82. package/dist/skills/phases/review-phase/phases/return-route.md +6 -8
  83. package/dist/skills/phases/review-phase/phases/run-review.md +8 -5
  84. package/dist/skills/phases/review-phase/references/durable-report.md +29 -14
  85. package/dist/skills/phases/review-phase/references/state-graph.md +18 -5
  86. package/dist/skills/phases/review-phase/references/targets.md +2 -1
  87. package/dist/skills/phases/review-phase/scripts/review-contract.mjs +91 -11
  88. package/package.json +52 -9
  89. package/dist/baseline/scaffold-baseline/data/scripts/harness-projection/adapters/claude.test.ts +0 -130
  90. package/dist/baseline/scaffold-baseline/data/scripts/harness-projection/adapters/codex.test.ts +0 -135
  91. package/dist/baseline/scaffold-baseline/data/scripts/harness-projection/adapters/cursor.test.ts +0 -138
  92. package/dist/baseline/scaffold-baseline/data/scripts/harness-projection/adapters/opencode.test.ts +0 -135
  93. package/dist/baseline/scaffold-baseline/data/scripts/harness-projection/contract.test.ts +0 -875
  94. package/dist/baseline/scaffold-baseline/data/scripts/sync-subagents.lifecycle.test.ts +0 -205
  95. package/dist/baseline/scaffold-baseline/data/scripts/sync-subagents.native.test.ts +0 -2765
  96. package/dist/baseline/scaffold-baseline/data/scripts/sync-subagents.test.ts +0 -2108
  97. package/dist/baseline/scaffold-baseline/data/subagents/manifest.test.ts +0 -116
  98. package/dist/skills/frameworks/nestjs/nestjs-best-practices/.gitignore +0 -29
@@ -0,0 +1,112 @@
1
+ ---
2
+ name: review-animations
3
+ description: Reviews animation and motion code against a high craft bar derived from Emil Kowalski's design engineering philosophy. Default to flagging; approval is earned.
4
+ disable-model-invocation: true
5
+ ---
6
+
7
+ # Reviewing Animations
8
+
9
+ A specialized review skill. It does ONE thing: review animation and motion code against a high craft bar. It does not write features, fix unrelated bugs, or review non-motion code. If asked to review general code, decline and point to a general review skill.
10
+
11
+ ## Operating Posture
12
+
13
+ You are a senior design engineer with a brutal eye for craft. Your bias is toward **motion that feels right**, not motion that merely runs. A transition that "works" but feels sluggish, lands from the wrong origin, fires too often, or drops frames is a regression, not a pass. Default to flagging. Approval is earned, not assumed.
14
+
15
+ The substantive bar comes from Emil Kowalski's animation philosophy (animations.dev). The review *method* — non-negotiable standards, escalation triggers, a remedial hierarchy, tiered output, and explicit approval criteria — is adapted from aggressive code-quality review.
16
+
17
+ For the full rule catalog (easing curves, duration tables, spring config, gestures, clip-path, performance, a11y), see [STANDARDS.md](STANDARDS.md). Load it whenever a finding needs a precise value or citation.
18
+
19
+ ## The Ten Non-Negotiable Standards
20
+
21
+ Every animation in the diff is measured against these. A violation is a finding.
22
+
23
+ 1. **Justified motion.** Every animation must answer "why does this animate?" — spatial consistency, state indication, feedback, explanation, or preventing a jarring change. "It looks cool" on a frequently-seen element is a block.
24
+
25
+ 2. **Frequency-appropriate.** Match motion to how often it's seen. Keyboard-initiated and 100+/day actions get **no** animation. Tens/day gets reduced motion. Occasional gets standard. Rare/first-time can have delight.
26
+
27
+ 3. **Responsive easing.** Entering/exiting elements use `ease-out` or a strong custom curve. `ease-in` on UI is a block — it delays the moment the user watches most. Built-in CSS easings are too weak; expect custom cubic-beziers.
28
+
29
+ 4. **Sub-300ms UI.** UI animations stay under 300ms; anything slower on a UI element needs justification or it's a finding. Per-element budgets live in [STANDARDS.md](STANDARDS.md).
30
+
31
+ 5. **Origin & physical correctness.** Popovers/dropdowns/tooltips scale from their trigger (`transform-origin`), not center. Never animate from `scale(0)` — start from `scale(0.9–0.97)` + opacity (Modals are exempt — they stay centered.)
32
+
33
+ 6. **Interruptibility.** Rapidly-triggered or gesture-driven motion (toasts, toggles, drags) must be interruptible — CSS transitions or springs that retarget from current state, not keyframes that restart from zero.
34
+
35
+ 7. **GPU-only properties.** Animate `transform` and `opacity` only. Animating `width`/`height`/`margin`/`padding`/`top`/`left` (or Framer Motion `x`/`y`/`scale` shorthands under load) is a performance finding.
36
+
37
+ 8. **Accessibility.** `prefers-reduced-motion` is honored (gentler, not zero — keep opacity/color, drop movement). Hover animations are gated behind `@media (hover: hover) and (pointer: fine)`.
38
+
39
+ 9. **Asymmetric enter/exit.** Deliberate actions (a press, a hold, a destructive confirm) animate slower; system responses snap. Symmetric timing on a press-and-release or hold interaction is a finding.
40
+
41
+ 10. **Cohesion.** Motion matches the component's personality and the rest of the product — playful can be bouncier, a dashboard stays crisp. Mismatched personality, or a jarring crossfade where a subtle blur would bridge two states, is a finding. When unsure whether motion feels right, the strongest move is often to delete it.
42
+
43
+ ## Aggressive Escalation Triggers
44
+
45
+ Flag these on sight, hard:
46
+
47
+ - `transition: all` (unbounded property animation)
48
+ - `scale(0)` or pure-fade entrances with no initial transform
49
+ - `ease-in` on any UI interaction; weak built-in easing on a deliberate animation
50
+ - Animation on a keyboard shortcut, command-palette toggle, or 100+/day action
51
+ - UI duration > 300ms with no stated reason
52
+ - `transform-origin: center` on a trigger-anchored popover/dropdown/tooltip
53
+ - Keyframes on toasts, toggles, or anything added/triggered rapidly
54
+ - Animating layout properties (`width`/`height`/`margin`/`padding`/`top`/`left`)
55
+ - Framer Motion `x`/`y`/`scale` props on motion that runs while the page is busy
56
+ - Updating a CSS variable on a parent to drive a child transform (style recalc storm)
57
+ - Missing `prefers-reduced-motion` handling on movement
58
+ - Ungated `:hover` motion
59
+ - Symmetric enter/exit timing on a press-and-release or hold interaction
60
+ - Everything-at-once entrance where a 30–80ms stagger belongs
61
+
62
+ ## Remedial Preference Hierarchy
63
+
64
+ When proposing fixes, prefer earlier moves over later ones:
65
+
66
+ 1. **Delete the animation** (high-frequency / no purpose / keyboard-triggered).
67
+ 2. **Reduce it** — shorter duration, smaller transform, fewer animated properties.
68
+ 3. **Fix the easing** — swap `ease-in`→`ease-out`/custom curve; use a strong cubic-bezier.
69
+ 4. **Fix the origin/physicality** — correct `transform-origin`; replace `scale(0)` with `scale(0.95)`+opacity.
70
+ 5. **Make it interruptible** — keyframes → transitions, or a spring for gesture-driven motion.
71
+ 6. **Move it to the GPU** — layout props → `transform`/`opacity`; shorthand → full `transform` string; WAAPI for programmatic CSS.
72
+ 7. **Asymmetric timing** — slow the deliberate phase, snap the response.
73
+ 8. **Polish** — blur to mask crossfades, stagger for groups, `@starting-style` for entry, spring for "alive" elements.
74
+ 9. **Accessibility & cohesion** — add reduced-motion + hover gating; tune to match the component's personality.
75
+
76
+ ## Required Output Format
77
+
78
+ Two parts, in this order.
79
+
80
+ ### Part 1 — Findings table (REQUIRED)
81
+
82
+ A single markdown table. One row per issue. Never a "Before:/After:" list.
83
+
84
+ | Before | After | Why |
85
+ | --- | --- | --- |
86
+ | `transition: all 300ms` | `transition: transform 200ms ease-out` | Specify exact properties; `all` animates unintended properties off-GPU |
87
+ | `transform: scale(0)` | `transform: scale(0.95); opacity: 0` | Nothing appears from nothing — `scale(0)` looks like it came from nowhere |
88
+ | `ease-in` on dropdown | `ease-out` + custom curve | `ease-in` delays the moment the user watches most; feels sluggish |
89
+ | `transform-origin: center` on popover | `var(--transform-origin)` (Base UI) | Popovers scale from their trigger, not center (modals are exempt) |
90
+
91
+ ### Part 2 — Verdict (REQUIRED)
92
+
93
+ Group remaining commentary by impact tier, highest first. Omit empty tiers.
94
+
95
+ 1. **Feel-breaking regressions** — sluggish easing, comes-from-nowhere, fires on high-frequency/keyboard actions.
96
+ 2. **Missed simplifications** — animations that should be removed or drastically reduced.
97
+ 3. **Performance** — non-GPU properties, dropped-frame risks, recalc storms.
98
+ 4. **Interruptibility & timing** — keyframes where transitions/springs belong; symmetric timing that should be asymmetric.
99
+ 5. **Origin, physicality & cohesion** — wrong origin, mismatched personality, jarring crossfades.
100
+ 6. **Accessibility** — reduced-motion and pointer/hover gating.
101
+
102
+ Close with an explicit decision:
103
+
104
+ - **Block** — any feel-breaking regression, animation on a keyboard/high-frequency action, `scale(0)`/`ease-in` on UI, or a non-GPU animation with an easy GPU fix.
105
+ - **Approve** — no feel-breaking regressions, no obvious motion that should be deleted, durations and easing within bounds, interruptibility handled where needed, reduced-motion respected.
106
+
107
+ Be specific and cite `file:line`. When a value is needed (a curve, a duration, a spring config), pull the exact one from [STANDARDS.md](STANDARDS.md) rather than approximating.
108
+
109
+ ## Guidelines
110
+
111
+ - Prefer CSS transitions/`@starting-style`/WAAPI for predetermined motion; JS/springs for dynamic, interruptible, gesture-driven motion.
112
+ - When unsure whether motion feels right, recommend reviewing it in slow motion / frame-by-frame and with fresh eyes the next day rather than guessing.
@@ -0,0 +1,187 @@
1
+ # Animation Standards Reference
2
+
3
+ The precise values, curves, and rules behind the review. Cite these in findings instead of approximating. Distilled from Emil Kowalski's design engineering philosophy.
4
+
5
+ ## Should it animate? (frequency table)
6
+
7
+ | Frequency | Decision |
8
+ | --- | --- |
9
+ | 100+ times/day (keyboard shortcuts, command palette toggle) | No animation. Ever. |
10
+ | Tens of times/day (hover effects, list navigation) | Remove or drastically reduce |
11
+ | Occasional (modals, drawers, toasts) | Standard animation |
12
+ | Rare / first-time (onboarding, feedback, celebrations) | Can add delight |
13
+
14
+ **Never animate keyboard-initiated actions** — they repeat hundreds of times daily; animation makes them feel slow and disconnected. (Raycast has no open/close animation — correct for something used hundreds of times a day.)
15
+
16
+ Valid purposes for motion: spatial consistency, state indication, explanation, feedback, preventing jarring change. "It looks cool" on a frequently-seen element is not valid.
17
+
18
+ ## Easing
19
+
20
+ Decision order:
21
+ - Entering or exiting → **`ease-out`** (starts fast, feels responsive)
22
+ - Moving / morphing on screen → **`ease-in-out`**
23
+ - Hover / color change → **`ease`**
24
+ - Constant motion (marquee, progress) → **`linear`**
25
+ - Default → **`ease-out`**
26
+
27
+ **Never `ease-in` on UI.** It starts slow, delaying the exact moment the user is watching. `ease-out` at 200ms *feels* faster than `ease-in` at 200ms.
28
+
29
+ Built-in CSS easings are too weak. Use strong custom curves:
30
+
31
+ ```css
32
+ --ease-out: cubic-bezier(0.23, 1, 0.32, 1); /* strong ease-out for UI */
33
+ --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1); /* strong ease-in-out for on-screen movement */
34
+ --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1); /* iOS-like drawer curve (Ionic) */
35
+ ```
36
+
37
+ Find curves at [easing.dev](https://easing.dev/) or [easings.co](https://easings.co/) — don't hand-roll from scratch.
38
+
39
+ ## Duration
40
+
41
+ | Element | Duration |
42
+ | --- | --- |
43
+ | Button press feedback | 100–160ms |
44
+ | Tooltips, small popovers | 125–200ms |
45
+ | Dropdowns, selects | 150–250ms |
46
+ | Modals, drawers | 200–500ms |
47
+ | Marketing / explanatory | Can be longer |
48
+
49
+ **Rule: UI animations stay under 300ms.** A 180ms dropdown feels more responsive than a 400ms one. Faster spinners make load feel faster (same actual time). Instant tooltips after the first (skip delay + animation) make a toolbar feel faster.
50
+
51
+ ## Physicality
52
+
53
+ - **Never `scale(0)`.** Start from `scale(0.9–0.97)` + `opacity: 0`. Nothing in the real world appears from nothing.
54
+ - **Origin-aware popovers.** Scale from the trigger, not center:
55
+ ```css
56
+ .popover { transform-origin: var(--transform-origin); } /* Base UI */
57
+ ```
58
+ **Modals are exempt** — they appear centered in the viewport, keep `transform-origin: center`.
59
+ - **Button press feedback.** `transform: scale(0.97)` on `:active`, `transition: transform 160ms ease-out`. Subtle (0.95–0.98). Applies to any pressable element.
60
+
61
+ ## Springs
62
+
63
+ Feel natural because they simulate physics; no fixed duration — they settle on parameters. Use for: drag with momentum, "alive" elements (Dynamic Island), interruptible gestures, decorative mouse-tracking.
64
+
65
+ ```js
66
+ // Apple-style (easier to reason about) — recommended
67
+ { type: "spring", duration: 0.5, bounce: 0.2 }
68
+
69
+ // Traditional physics (more control)
70
+ { type: "spring", mass: 1, stiffness: 100, damping: 10 }
71
+ ```
72
+
73
+ Keep bounce subtle (0.1–0.3); avoid bounce in most UI — reserve for drag-to-dismiss and playful interactions. Springs maintain velocity when interrupted (keyframes restart from zero), so they're ideal for gestures users may reverse mid-motion.
74
+
75
+ Mouse interactions: interpolate with `useSpring` rather than tying value directly to mouse position (direct = artificial, no momentum). Only do this when the motion is decorative.
76
+
77
+ ## Interruptibility
78
+
79
+ CSS **transitions** can be interrupted and retargeted mid-animation; **keyframes** restart from zero. For anything triggered rapidly (toasts being added, toggles), transitions are smoother.
80
+
81
+ ```css
82
+ /* Interruptible — good for dynamic UI */
83
+ .toast { transition: transform 400ms ease; }
84
+
85
+ /* Not interruptible — avoid for dynamic UI */
86
+ @keyframes slideIn { from { transform: translateY(100%); } to { transform: translateY(0); } }
87
+ ```
88
+
89
+ Use `@starting-style` for entry without JS:
90
+
91
+ ```css
92
+ .toast {
93
+ opacity: 1; transform: translateY(0);
94
+ transition: opacity 400ms ease, transform 400ms ease;
95
+ @starting-style { opacity: 0; transform: translateY(100%); }
96
+ }
97
+ ```
98
+
99
+ Legacy fallback: `useEffect(() => setMounted(true), [])` + `data-mounted` attribute.
100
+
101
+ ## Asymmetric timing
102
+
103
+ Slow where the user is deciding, fast where the system responds.
104
+
105
+ ```css
106
+ .overlay { transition: clip-path 200ms ease-out; } /* release: fast */
107
+ .button:active .overlay { transition: clip-path 2s linear; } /* press: slow, deliberate */
108
+ ```
109
+
110
+ ## Performance
111
+
112
+ - **Only animate `transform` and `opacity`** — they skip layout/paint and run on the GPU. `padding`/`margin`/`height`/`width`/`top`/`left` trigger all three rendering steps.
113
+ - **Don't drive child transforms via a CSS variable on the parent** — it recalcs styles for all children. Set `transform` directly on the element.
114
+ ```js
115
+ element.style.setProperty('--swipe-amount', `${d}px`); // bad: recalc on all children
116
+ element.style.transform = `translateY(${d}px)`; // good: only this element
117
+ ```
118
+ - **Framer Motion shorthands are NOT hardware-accelerated.** `x`/`y`/`scale` run on the main thread via rAF and drop frames under load. Use the full transform string:
119
+ ```jsx
120
+ <motion.div animate={{ x: 100 }} /> // drops frames under load
121
+ <motion.div animate={{ transform: "translateX(100px)" }} /> // hardware accelerated
122
+ ```
123
+ - **CSS animations beat JS under load** — they run off the main thread; rAF-based animations stutter while the browser loads/scripts/paints. Use CSS for predetermined motion, JS for dynamic/interruptible.
124
+ - **WAAPI** gives JS control with CSS performance (hardware-accelerated, interruptible, no library):
125
+ ```js
126
+ element.animate([{ clipPath: 'inset(0 0 100% 0)' }, { clipPath: 'inset(0 0 0 0)' }],
127
+ { duration: 1000, fill: 'forwards', easing: 'cubic-bezier(0.77, 0, 0.175, 1)' });
128
+ ```
129
+
130
+ ## Transforms & clip-path
131
+
132
+ - **`translate` percentages** are relative to the element's own size — `translateY(100%)` moves by the element's height regardless of dimensions (how Sonner/Vaul position toasts/drawers). Prefer over hardcoded px.
133
+ - **`scale()` scales children too** (font, icons, content) — a feature for press feedback.
134
+ - **3D**: `rotateX/Y` + `transform-style: preserve-3d` for depth/orbit/flip without JS.
135
+ - **`clip-path: inset(t r b l)`** is a powerful animation tool: each value eats in from that side. Uses: reveal-on-scroll (`inset(0 0 100% 0)` → `inset(0 0 0 0)`), hold-to-delete overlay, seamless tab color transitions (duplicate + clip the active copy), comparison sliders.
136
+
137
+ ## Gestures & drag
138
+
139
+ - **Momentum dismissal**: don't require crossing a distance threshold — compute velocity (`Math.abs(distance)/elapsedMs`); dismiss if `> ~0.11`. A flick should be enough.
140
+ - **Damping at boundaries**: dragging past a natural edge moves less the further you go (real things slow before stopping).
141
+ - **Pointer capture** once dragging starts, so it continues when the pointer leaves bounds.
142
+ - **Multi-touch protection**: ignore extra touch points after the drag begins (`if (isDragging) return`) — prevents jumps.
143
+ - **Friction over hard stops** — allow over-drag with rising resistance rather than an invisible wall.
144
+
145
+ ## Masking imperfect crossfades
146
+
147
+ When a crossfade shows two overlapping states despite tuning easing/duration, add subtle `filter: blur(2px)` during the transition to blend them into one perceived transformation. Keep blur < 20px (heavy blur is expensive, especially Safari).
148
+
149
+ ## Stagger
150
+
151
+ Stagger group entrances; 30–80ms between items. Longer delays feel slow. Stagger is decorative — never block interaction while it plays.
152
+
153
+ ```css
154
+ .item { opacity: 0; transform: translateY(8px); animation: fadeIn 300ms ease-out forwards; }
155
+ .item:nth-child(2) { animation-delay: 50ms; }
156
+ .item:nth-child(3) { animation-delay: 100ms; }
157
+ @keyframes fadeIn { to { opacity: 1; transform: translateY(0); } }
158
+ ```
159
+
160
+ ## Accessibility
161
+
162
+ ```css
163
+ @media (prefers-reduced-motion: reduce) {
164
+ .element { animation: fade 0.2s ease; } /* keep opacity/color, drop transform-based motion */
165
+ }
166
+ @media (hover: hover) and (pointer: fine) {
167
+ .element:hover { transform: scale(1.05); } /* gate hover motion — touch fires false hovers on tap */
168
+ }
169
+ ```
170
+
171
+ ```jsx
172
+ const reduce = useReducedMotion();
173
+ const closedX = reduce ? 0 : '-100%';
174
+ ```
175
+
176
+ Reduced motion means fewer and gentler animations, not zero — keep transitions that aid comprehension, remove movement/position changes.
177
+
178
+ ## Debugging (recommend in reviews when feel is uncertain)
179
+
180
+ - **Slow motion**: bump duration 2–5× or use DevTools animation inspector. Check colors crossfade cleanly, easing doesn't stop abruptly, `transform-origin` is right, coordinated properties stay in sync.
181
+ - **Frame-by-frame**: Chrome DevTools Animations panel reveals timing drift between coordinated properties.
182
+ - **Real devices** for gestures (drawers, swipe) — connect a phone, hit the dev server by IP, use Safari remote devtools.
183
+ - **Fresh eyes next day** — imperfections invisible during development surface later.
184
+
185
+ ## Cohesion
186
+
187
+ Match motion to the component's personality: playful can be bouncier; a professional dashboard should be crisp and fast. Sonner feels right partly because easing, duration, design, and even the name are in harmony — slightly slower, `ease` rather than `ease-out`, to feel elegant. Opacity + height in entering/exiting lists is trial and error; there's no formula — adjust until it feels right.
@@ -0,0 +1,9 @@
1
+ # Upstream provenance
2
+
3
+ Copied without modification from [`emilkowalski/skills`](https://github.com/emilkowalski/skills/tree/e879241fab3cdb22e8d95587cdbf40b57a88d7da/skills/review-animations) at commit:
4
+
5
+ ```text
6
+ e879241fab3cdb22e8d95587cdbf40b57a88d7da
7
+ ```
8
+
9
+ The adjacent `LICENSE` is the byte-identical upstream MIT license retained for this skill.
@@ -8,7 +8,11 @@ The required-inner-skills list in canonical [SKILL.md](SKILL.md) is authoritativ
8
8
  Execute every listed skill; keep this reference focused on sequencing and disclosed rules.
9
9
 
10
10
  - `opensrc` provides source context for installed or external packages
11
- - scoped `AGENTS.md` files provide per-path skill requirements through `Skill | What / when` tables; select exact trigger matches and open each selected skill's complete `SKILL.md`
11
+ - scoped `AGENTS.md` files provide per-path skill requirements through one final
12
+ `## Skills` table with `Skill | Exact trigger`; select matching non-phase rows
13
+ and open each selected installed skill's `SKILL.md`, which remains workflow
14
+ authority. Root `AGENTS.md` stays table-free. Phase wrappers remain global
15
+ orchestration entrypoints and are excluded from scoped tables.
12
16
 
13
17
  ## Graph map
14
18
 
@@ -43,10 +43,12 @@ silently renaming them.
43
43
  remains step 13.
44
44
  7. If readonly discovery has independent code paths, specs, backlog items, external docs, or hypotheses, read and use `$parallel-research` before final task synthesis.
45
45
  8. Research with `opensrc path <package>` or `opensrc path <owner>/<repo>` plus primary-source web docs when current behavior matters.
46
- 9. Locate scoped `AGENTS.md` files for every planned task path. Read each
47
- applicable `Skill | What / when` table, select rows whose exact `What / when`
48
- triggers match the task, and open each selected skill's complete `SKILL.md`
49
- before finalizing task design.
46
+ 9. Locate scoped `AGENTS.md` files for every planned task path. Scoped guidance
47
+ uses one final `## Skills` table with `Skill | Exact trigger`. Select only
48
+ non-phase rows whose exact triggers match the task, then open each selected
49
+ installed skill's `SKILL.md`; that installed file is workflow authority.
50
+ Root `AGENTS.md` stays table-free. Phase wrappers remain global orchestration
51
+ entrypoints and are excluded from scoped tables.
50
52
  10. For every implementation task, convert applicable scoped or named skill
51
53
  obligations into `implementation_skill_guidance`; preserve `assigned_skills`
52
54
  as planning provenance.
@@ -76,8 +78,8 @@ silently renaming them.
76
78
  5. Scan relevant routed learning artifacts before task synthesis when prior bug knowledge, domain behavior, or project conventions could affect the plan.
77
79
  6. Resolve each task's scoped guidance from root `AGENTS.md` down to the nearest `AGENTS.md` for its `location`.
78
80
  7. Use each task's required skill guidance while shaping its scope, dependencies, validation, RED target, and review mode; do not merely list skills after the plan is written.
79
- 8. Assign each task the deduplicated union of skills whose exact `What / when`
80
- triggers match in every touched scope, merging all touched scopes for
81
+ 8. Assign each task the deduplicated union of skills whose exact triggers match
82
+ in every touched scope, merging all touched scopes for
81
83
  cross-directory tasks.
82
84
  9. Build plan-derived worker waves: place every currently unblocked task with
83
85
  a disjoint write scope in the same wave. Use a one-task wave only when
@@ -16,12 +16,14 @@ Before finalizing task boundaries:
16
16
 
17
17
  1. List every concrete `location` each task may touch.
18
18
  2. For each location, inspect the `AGENTS.md` chain from repo root to the nearest scoped file.
19
- 3. Read every applicable `Skill | What / when` table and select only rows whose
20
- exact `What / when` trigger matches the task.
21
- 4. Verify each selected skill exists in `.agents/skills/` or an installed skill
22
- source visible to the agent.
23
- 5. Open each selected skill's complete `SKILL.md` before finalizing the task's
24
- boundary, validation, RED target, and review mode.
19
+ 3. Read the final `## Skills` table with `Skill | Exact trigger` in every
20
+ applicable scoped file and select only non-phase rows whose exact trigger
21
+ matches the task.
22
+ 4. Verify each selected skill exists in `.agents/skills/` or another installed
23
+ skill source visible to the agent.
24
+ 5. Open each selected installed skill's `SKILL.md`; that installed file is
25
+ workflow authority while finalizing the task's boundary, validation, RED
26
+ target, and review mode.
25
27
  6. Add the merged, deduplicated union from every touched scope to the task as
26
28
  `assigned_skills`.
27
29
  7. For every implementation-applicable item, add exactly one
@@ -32,6 +34,9 @@ Before finalizing task boundaries:
32
34
  waves. For architecture-bearing plans, derive task boundaries and architecture waves from the persisted
33
35
  target ownership topology, dependency graph, responsibility criteria, public seams, and migration ledger.
34
36
 
37
+ Root `AGENTS.md` stays table-free. Phase wrappers remain global orchestration
38
+ entrypoints and are excluded from scoped tables.
39
+
35
40
  If a task spans multiple scopes, include all selected skills from all touched
36
41
  scopes. If a matching row names a missing skill, keep the task planned but
37
42
  record the missing skill in risks and unresolved questions.
@@ -53,7 +58,7 @@ Preserve `$swarm-planner` behavior:
53
58
  - validations per task
54
59
  - parallel execution waves
55
60
  - risks and mitigations
56
- - explicit `assigned_skills` per task from exact scoped `What / when` trigger
61
+ - explicit `assigned_skills` per task from exact scoped trigger
57
62
  matches, with task design shaped by those skills
58
63
  - complete one-to-one `implementation_skill_guidance` for every
59
64
  implementation-applicable assigned skill
@@ -31,16 +31,18 @@ Both workflows can happen in one long session, but keep the responsibilities dis
31
31
  ## Core Behavior
32
32
 
33
33
  - Use `$wait-what` to present every grilling question and recommendation to the user. A round is complete only when every frontier item has been presented, answered, parked, or explicitly deferred, and the updated durable artifacts are persisted before continuing.
34
+ - Use `$show-me` throughout the active grill as a live reasoning view. Invoke it for difficult questions, comparisons, interacting parts, and key turning points; select the smallest applicable view from `$show-me`'s full view catalog. Keep every conclusion traceable to current evidence and the durable artifacts, and persist corrections through `artifact-output`.
34
35
  - Give `$domain-modeling` the active status glossary before the first question. Invoke it whenever a round changes terminology, relationships, or domain decisions, and persist its accepted results through `artifact-output` before continuing.
35
36
  - Inspect relevant routed learning artifacts before grilling requirements that depend on known behavior, prior bugs, project conventions, or domain facts.
36
- - Record whether the work has technical consequences. For code- or architecture-bearing work, close the applicable topology, dependencies, seams, boundaries, persistence, and module shape from current code evidence. Persist accepted design in the grill artifacts; keep `GLOSSARY.md` glossary-only.
37
+ - Before `$grilling` constructs the first frontier, identify every active code- or architecture-bearing branch and complete the technical grounding in `grilling-flow`. Ground each branch in current code evidence, then ask code-grounded questions about its applicable topology, dependency direction and injection, seams, boundaries, persistence, and module shape. Each technical question states the observed constraint and the code consequence of the decision. Persist accepted design in the grill artifacts; keep `GLOSSARY.md` glossary-only.
37
38
  - Prefer conservative defaults once enough context exists.
38
39
  - If the user authorizes auto-pinning defaults, record obvious remaining defaults without needless extra questions.
39
40
  - Treat parked branches as preserved knowledge, not deleted scope.
40
41
  - Apply the round persistence contract in `artifact-output` alongside `$grilling`.
41
- - When `$grilling` reports completion, invoke `$show-me` to present the
42
- persisted shared understanding before requesting
43
- approval. Treat the presentation as a derived view: persist any correction
42
+ - After `$grilling` completes and the durable artifacts are current, invoke
43
+ `$show-me` to present the persisted shared understanding before requesting
44
+ approval. When `$grilling` reports completion, treat the presentation as a
45
+ derived view and persist any correction
44
46
  through `artifact-output`, then present the corrected state again. Approval
45
47
  applies to the durable artifacts, not the presentation.
46
48
 
@@ -65,6 +65,24 @@ Accepted answer:
65
65
  - <locked answer>
66
66
  ```
67
67
 
68
+ For a technical question, add the grounding beside the decision:
69
+
70
+ ```md
71
+ Evidence anchor:
72
+ - `<path>:<symbol>`
73
+
74
+ Observed constraint:
75
+ - <what the current code requires or leaves unresolved>
76
+
77
+ Question:
78
+ <requirements decision>
79
+
80
+ Code consequence:
81
+ - <what contract, ownership, invariant, lifecycle, or boundary the answer determines>
82
+ ```
83
+
84
+ Use the same question id and accepted-answer fields. Keep the question at requirements level; implementation sequence and task breakdown belong to planning.
85
+
68
86
  Group related decisions under branch headings.
69
87
 
70
88
  When the user changes an earlier decision, add a new entry that explicitly supersedes the old one.
@@ -126,15 +144,27 @@ Maintain a compact branch dashboard with:
126
144
  - pinned axioms
127
145
  - flagged ambiguities
128
146
 
147
+ For active code- or architecture-bearing branches, also maintain:
148
+
149
+ ```md
150
+ ## Technical Grounding
151
+
152
+ | Branch | Evidence anchors | Applicable dimensions | Open technical decisions | Grounding |
153
+ | --- | --- | --- | --- | --- |
154
+ | <branch> | `<path>:<symbol>` | <topology, persistence, ...> | <Q ids or `none`> | <unknown or grounded> |
155
+ ```
156
+
157
+ `unknown` means current code evidence has not grounded the branch. `grounded` means evidence anchors exist and every applicable technical dimension is answered, parked, deferred, or marked not applicable with supporting evidence. Record those dispositions in `Applicable dimensions`. Parked or deferred branches stay visible but are outside the active closure calculation.
158
+
129
159
  Completion percentages are working signals:
130
160
 
131
161
  - `0-50%`: branch discovered but unsettled
132
162
  - `50-85%`: major direction set, important questions remain
133
163
  - `85-99%`: mostly closed, only constants/schema/naming remain
134
- - `100%`: no unanswered items remain, the frontier is empty, and shared understanding is explicitly confirmed; remaining work is implementation/tuning
164
+ - `100%`: no unanswered items remain, the frontier is empty, shared understanding is explicitly confirmed, and every active technical branch is grounded with no open technical decisions; remaining work is implementation/tuning
135
165
  - `parked`: preserved for later, out of current scope
136
166
 
137
- Keep a branch below `100%` while it has unanswered items or while shared-understanding confirmation is pending.
167
+ Keep a branch below `100%` while it has unanswered items, shared-understanding confirmation is pending, or its technical grounding is `unknown` or has open decisions.
138
168
 
139
169
  ## Glossary Snapshot Contract
140
170
 
@@ -169,7 +199,7 @@ When a branch closes:
169
199
 
170
200
  1. Update the grill log with final accepted decisions.
171
201
  2. Update the status file percentage, open items, round/frontier state, glossary snapshot, axioms, and ambiguities.
172
- 3. Confirm no unanswered item or pending shared-understanding confirmation is represented as `100%`.
202
+ 3. Confirm no unanswered item, pending shared-understanding confirmation, unknown technical grounding, or open technical decision is represented as `100%`.
173
203
  4. Invoke `$domain-modeling` for a final consistency pass.
174
204
  5. After explicit user closure, run the wiki-output workflow for durable domain/product knowledge.
175
205
  6. Say exactly what changed, which routed artifacts were updated, and whether `meta.json` or wiki log bookkeeping changed.
@@ -10,13 +10,30 @@ Use the shared `$grilling` primitive as the sole scheduling and traversal contra
10
10
 
11
11
  Before the first question, invoke `$domain-modeling` and give it the current status-file glossary as working persistence. During the grill, invoke it whenever terminology, relationships, or domain decisions change. Persist accepted results at the current round boundary rather than writing a separate domain artifact mid-grill.
12
12
 
13
+ ## Technical Grounding
14
+
15
+ Before `$grilling` constructs the first frontier:
16
+
17
+ 1. Identify every active branch whose decisions affect code or architecture.
18
+ 2. Inspect the smallest relevant slice of current code, tests, schemas, contracts, configuration, and runtime paths.
19
+ 3. Record concrete evidence anchors and the applicable technical dimensions in the status file. Use anchors such as `path:symbol`, a schema, a contract operation, a configuration key, or a runtime flow.
20
+ 4. Mark each active technical branch `grounded`. Keep it `unknown`, or park or defer it explicitly, when current evidence cannot ground it. Open the first frontier only when no active technical branch remains `unknown`.
21
+
22
+ Technical grounding supplies requirements evidence, not an implementation plan. Ask which ownership, contract, invariant, lifecycle, or boundary must hold. Leave edit order, estimates, task breakdown, and reversible coding tactics to planning.
23
+
24
+ ## Live Visual Reasoning
25
+
26
+ Use `$show-me` inside any grilling branch when a difficult question, comparison, set of interacting parts, or key turning point is easier to reason about visually. Select the smallest applicable view from its full view catalog. Derive the view from current code evidence and durable artifacts; route decisions and corrections through the ordinary question ids and round persistence contract.
27
+
28
+ At each persisted round boundary, reassess the next frontier, glossary, parked branches, and flow for a useful `$show-me` view. The persisted artifacts remain authoritative.
29
+
13
30
  ## Round Artifact Integration
14
31
 
15
32
  At each `$grilling` round boundary, apply the [round persistence contract](artifact-output.md#round-persistence-contract). A partial response set resolves only the supplied stable question ids; omitted ids stay unanswered. Persist `$grilling` completion in the artifact's shared-understanding confirmation field before any downstream transition.
16
33
 
17
34
  ## Domain Modeling
18
35
 
19
- Use `$domain-modeling` for terminology, relationships, and implementation pressure. Record whether technical consequences exist. When they do, ground the applicable topology, dependency direction, seams, boundaries, persistence, and module shape in current code. Persist accepted architecture in grill artifacts for `create-spec`; keep the active glossary implementation-free.
36
+ Use `$domain-modeling` for terminology, relationships, and implementation pressure. For each active technical branch, ask questions for the applicable topology, dependency direction or injection, seams, boundaries, persistence, and module shape. State the evidence anchor and observed code constraint, ask the unresolved requirements decision, then state its code consequence. Persist accepted architecture in grill artifacts for `create-spec`; keep the active glossary implementation-free.
20
37
 
21
38
  ## Conservative Closure
22
39
 
@@ -28,7 +28,7 @@ This is a vertical tracer bullet: one agent can deliver and demonstrate the prod
28
28
 
29
29
  - `US-002 / Lead manages the unassigned queue` is blocked by `US-001 / Lead restores ownership`.
30
30
  - Both targets exist and the graph is acyclic.
31
- - `US-001` is assigned `M1`; `US-002` is assigned `M2`.
31
+ - Both stories share their containing epic's milestone when the provider supports membership; the native blocker relation carries their ordering.
32
32
 
33
33
  If a blocker target is missing or the graph cycles, write nothing.
34
34
 
@@ -62,7 +62,7 @@ Build and validate the complete intended projection in memory before the first p
62
62
  3. Validate every story as an agent-sized tracer bullet.
63
63
  4. Resolve every blocker to a projected story.
64
64
  5. Reject self-blockers, missing targets, and cycles.
65
- 6. Derive chronological execution milestones from the complete blocker DAG.
65
+ 6. Assign milestones across the overview-level taxonomy from `fog` through `epic` (`fog`, `grilling`, `research`, `prototype`, `epic`) for project-level chronological precedence. When supported, assign each child story the same containing overview milestone; never derive distinct story milestones. Native blockers explain story relations.
66
66
  7. Validate provider representation and required native primitives.
67
67
  8. Only after every check passes, write immediately without a separate approval stop.
68
68
 
@@ -89,11 +89,12 @@ Backlog root
89
89
  epic
90
90
  story
91
91
 
92
- Execution milestones
92
+ Project overview execution milestones
93
93
  M1 -> M2 -> M3 ...
94
+ (assigned only to overview-level items from fog through epic)
94
95
  ```
95
96
 
96
- Capability grouping is independent from chronology. Native blockers are authoritative. A story with no blockers is `M1`; every other story is `M(1 + max(blocker milestone))`.
97
+ Capability grouping is independent from chronology. Native blockers are authoritative for story relations. Milestones are a project-overview signal: assign them to overview-level `fog`, `grilling`, `research`, `prototype`, and `epic` items when chronological precedence is useful, and let their containing stories share that milestone when the provider supports membership. Never use milestone values to order stories.
97
98
 
98
99
  Provider representation is defined in [assets/providers/](assets/providers/). Use actual metadata and native hierarchy/dependency primitives. Do not invent fields, flatten child stories, or replace representable blockers with prose.
99
100
 
@@ -19,10 +19,10 @@ silently renaming them.
19
19
  5. For intake, validate the complete intake dependency graph for missing targets, self-edges, and cycles before mutation; then materialize only the Finder-supplied description or question, route, dependencies, and claim state.
20
20
  6. For delivery, use `backlog-shaper` only to draft the epic/story projection; keep final judgment in the parent thread.
21
21
  7. Classify each item directly as `fog`, `grilling`, `research`, `prototype`, `epic`, or `story`.
22
- 8. Place `fog` at the backlog root; place concrete `grilling`, `research`, `prototype`, `epic`, and `story` items in a capability module. Keep capability grouping separate from execution milestones.
22
+ 8. Place `fog` at the backlog root; place concrete `grilling`, `research`, `prototype`, `epic`, and `story` items in a capability module. Use provider execution milestones across the overview-level taxonomy from `fog` through `epic` to provide project-level chronological precedence; when supported, stories inherit their containing overview milestone as one shared membership value.
23
23
  9. Project one capability-boundary epic from the existing `SPEC.md`; derive product-facing stories from its `US-###` and `AC-###` records.
24
24
  10. Prove complete `US-###` / `AC-###` traceability and that each story is an agent-sized vertical tracer bullet.
25
- 11. Resolve every blocker target. Reject missing targets, self-blockers, and cycles, then derive chronological milestones from the blocker DAG.
25
+ 11. Resolve every blocker target. Reject missing targets, self-blockers, and cycles. Use native blockers for story relations; never derive distinct story milestones or use milestone assignment to encode story order. Keep one containing overview milestone across the story set when the provider supports membership.
26
26
  12. Use `$show-me` to present the proposed backlog topology before provider
27
27
  writes so the human and agent share the same hierarchy and dependency view.
28
28
  This presentation checks understanding, not authorization; it adds no
@@ -12,8 +12,9 @@ Backlog root
12
12
  epic
13
13
  story
14
14
 
15
- Execution milestones
15
+ Project overview execution milestones
16
16
  M1 -> M2 -> M3 ...
17
+ (assigned to overview-level items from fog through epic; containing stories may share that value)
17
18
  ```
18
19
 
19
20
  The direct concepts are `fog`, `grilling`, `research`, `prototype`, `epic`, and `story`. Each is visible, assignable, searchable, linkable, and closeable. A provider adapter may represent them with native issue types, fields, labels, columns, or a stable title convention; no shared classification field is required. If no representation preserves the direct concept, preflight fails.
@@ -27,7 +28,7 @@ The direct concepts are `fog`, `grilling`, `research`, `prototype`, `epic`, and
27
28
  - `epic`: one capability-boundary projection of an authoritative agent-ready spec
28
29
  - `story`: product-facing child tracer bullet derived from spec stories and criteria
29
30
 
30
- Each capability module groups durable product ownership. It stays separate from every execution milestone and does not determine implementation order.
31
+ Each capability module groups durable product ownership. It stays separate from project-overview milestones and does not determine implementation order.
31
32
 
32
33
  ## Traceability and story readiness
33
34
 
@@ -50,11 +51,10 @@ Before mutation:
50
51
  1. Resolve every blocker identifier to a projected story.
51
52
  2. Reject missing targets and self-blockers.
52
53
  3. Detect and reject cycles across the complete selected graph.
53
- 4. Assign dependency-free stories to `M1`.
54
- 5. Assign every other story to `M(1 + max(milestone of each blocker))`.
55
- 6. Verify every blocker is in a strictly earlier milestone.
54
+ 4. Keep every story in the containing overview milestone when the provider supports membership; do not derive a distinct milestone for a story.
55
+ 5. Verify every blocker target is present in the selected projection.
56
56
 
57
- Items in the same wave may proceed in parallel across capability modules. Recompute milestones whenever blockers change.
57
+ Use milestones across the overview-level taxonomy from `fog` through `epic` (`fog`, `grilling`, `research`, `prototype`, `epic`) when the project overview needs chronological precedence. Stories may share their containing overview milestone when the provider supports membership, but never receive distinct derived milestones or use milestones to encode story order; update native blockers when story relations change.
58
58
 
59
59
  ## Mutation boundary
60
60