@punks/cli 3.2.1 → 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.
- package/AGENTS.md +2 -0
- package/dist/BASELINE_CHANGELOG.md +76 -0
- package/dist/CHANGELOG.md +46 -1
- package/dist/baseline/scaffold-baseline/baseline.json +5 -5
- package/dist/baseline/scaffold-baseline/data/catalog/lint-assets.json +4 -1
- package/dist/baseline/scaffold-baseline/data/catalog/packs.json +7 -3
- package/dist/baseline/scaffold-baseline/data/catalog/skills.json +32 -0
- package/dist/baseline/scaffold-baseline/skills/agnostic/cli/hi-cli/references/post-command-flow.md +25 -17
- package/dist/baseline/scaffold-baseline/skills/agnostic/docs/rule-authoring/SKILL.md +18 -0
- package/dist/baseline/scaffold-baseline/skills/agnostic/docs/rule-authoring/references/migration.md +10 -0
- package/dist/baseline/scaffold-baseline/skills/agnostic/frontend/animate/LICENSE +21 -0
- package/dist/baseline/scaffold-baseline/skills/agnostic/frontend/animate/RECIPES.md +333 -0
- package/dist/baseline/scaffold-baseline/skills/agnostic/frontend/animate/SKILL.md +203 -0
- package/dist/baseline/scaffold-baseline/skills/agnostic/frontend/animate/UPSTREAM.md +9 -0
- package/dist/baseline/scaffold-baseline/skills/agnostic/frontend/review-animations/LICENSE +21 -0
- package/dist/baseline/scaffold-baseline/skills/agnostic/frontend/review-animations/SKILL.md +112 -0
- package/dist/baseline/scaffold-baseline/skills/agnostic/frontend/review-animations/STANDARDS.md +229 -0
- package/dist/baseline/scaffold-baseline/skills/agnostic/frontend/review-animations/UPSTREAM.md +9 -0
- package/dist/baseline/scaffold-baseline/skills/agnostic/planning/create-plan/REFERENCE.md +5 -1
- package/dist/baseline/scaffold-baseline/skills/agnostic/planning/create-plan/SKILL.md +9 -7
- package/dist/baseline/scaffold-baseline/skills/agnostic/planning/create-plan/references/architecture-convergence.md +4 -3
- package/dist/baseline/scaffold-baseline/skills/agnostic/planning/create-plan/references/planner-task-graph.md +12 -7
- package/dist/baseline/scaffold-baseline/skills/agnostic/quality/tdd/SKILL.md +3 -2
- package/dist/baseline/scaffold-baseline/skills/agnostic/quality/tdd/high-signal-tests.md +17 -3
- package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/domain-modeling/{CONTEXT-FORMAT.md → GLOSSARY-FORMAT.md} +9 -9
- package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/domain-modeling/SKILL.md +12 -12
- package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/requirements-grill/SKILL.md +4 -1
- package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/requirements-grill/references/artifact-output.md +36 -3
- package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/requirements-grill/references/grilling-flow.md +18 -1
- package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/write-backlog/EXAMPLES.md +1 -1
- package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/write-backlog/REFERENCE.md +4 -3
- package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/write-backlog/SKILL.md +2 -2
- package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/write-backlog/assets/concepts/backlog-model.md +6 -6
- package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/write-backlog/assets/providers/azure-devops-create-payload.md +7 -7
- package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/write-backlog/assets/providers/github-projects-create-payload.md +12 -12
- package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/write-backlog/assets/providers/linear-create-payload.md +9 -9
- package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/write-backlog/assets/providers/monday-create-payload.md +10 -10
- package/dist/baseline/scaffold-baseline/skills/frameworks/expo/animate-expo/LICENSE +21 -0
- package/dist/baseline/scaffold-baseline/skills/frameworks/expo/animate-expo/RECIPES.md +435 -0
- package/dist/baseline/scaffold-baseline/skills/frameworks/expo/animate-expo/SKILL.md +255 -0
- package/dist/baseline/scaffold-baseline/skills/frameworks/expo/animate-expo/UPSTREAM.md +9 -0
- package/dist/baseline/scaffold-baseline/skills/misc/wait-what/SKILL.md +1 -1
- package/dist/baseline/scaffold-baseline/skills/phases/delivery-phase/SKILL.md +5 -7
- package/dist/baseline/scaffold-baseline/skills/phases/delivery-phase/phases/review.md +50 -25
- package/dist/baseline/scaffold-baseline/skills/phases/delivery-phase/phases/router.md +29 -21
- package/dist/baseline/scaffold-baseline/skills/phases/delivery-phase/references/phase-handoff.md +28 -10
- package/dist/baseline/scaffold-baseline/skills/phases/review-phase/AUTHORING-HANDOFF.md +14 -11
- package/dist/baseline/scaffold-baseline/skills/phases/review-phase/phases/prepare-review.md +1 -1
- package/dist/baseline/scaffold-baseline/skills/phases/review-phase/phases/retain-report.md +9 -2
- package/dist/baseline/scaffold-baseline/skills/phases/review-phase/phases/return-route.md +6 -8
- package/dist/baseline/scaffold-baseline/skills/phases/review-phase/phases/run-review.md +8 -5
- package/dist/baseline/scaffold-baseline/skills/phases/review-phase/references/durable-report.md +29 -14
- package/dist/baseline/scaffold-baseline/skills/phases/review-phase/references/state-graph.md +45 -32
- package/dist/baseline/scaffold-baseline/skills/phases/review-phase/references/targets.md +2 -1
- package/dist/baseline/scaffold-baseline/skills/phases/review-phase/scripts/review-contract.mjs +86 -12
- package/dist/baseline/scaffold-baseline.json +5 -5
- package/dist/baseline/scaffold-baseline.tgz +0 -0
- package/dist/data/AGENTS.md +2 -0
- package/dist/index.js +17 -17
- package/dist/skills/agnostic/cli/hi-cli/references/post-command-flow.md +10 -2
- package/dist/skills/agnostic/docs/rule-authoring/SKILL.md +18 -0
- package/dist/skills/agnostic/docs/rule-authoring/references/migration.md +10 -0
- package/dist/skills/agnostic/frontend/animate/LICENSE +21 -0
- package/dist/skills/agnostic/frontend/animate/RECIPES.md +324 -0
- package/dist/skills/agnostic/frontend/animate/SKILL.md +199 -0
- package/dist/skills/agnostic/frontend/animate/UPSTREAM.md +9 -0
- package/dist/skills/agnostic/frontend/review-animations/LICENSE +21 -0
- package/dist/skills/agnostic/frontend/review-animations/SKILL.md +112 -0
- package/dist/skills/agnostic/frontend/review-animations/STANDARDS.md +187 -0
- package/dist/skills/agnostic/frontend/review-animations/UPSTREAM.md +9 -0
- package/dist/skills/agnostic/planning/create-plan/REFERENCE.md +5 -1
- package/dist/skills/agnostic/planning/create-plan/SKILL.md +9 -7
- package/dist/skills/agnostic/planning/create-plan/references/architecture-convergence.md +4 -3
- package/dist/skills/agnostic/planning/create-plan/references/planner-task-graph.md +12 -7
- package/dist/skills/agnostic/quality/tdd/SKILL.md +3 -2
- package/dist/skills/agnostic/quality/tdd/high-signal-tests.md +17 -3
- package/dist/skills/agnostic/requirements/domain-modeling/{CONTEXT-FORMAT.md → GLOSSARY-FORMAT.md} +9 -9
- package/dist/skills/agnostic/requirements/domain-modeling/SKILL.md +12 -12
- package/dist/skills/agnostic/requirements/requirements-grill/SKILL.md +4 -1
- package/dist/skills/agnostic/requirements/requirements-grill/references/artifact-output.md +33 -3
- package/dist/skills/agnostic/requirements/requirements-grill/references/grilling-flow.md +18 -1
- package/dist/skills/agnostic/requirements/write-backlog/EXAMPLES.md +1 -1
- package/dist/skills/agnostic/requirements/write-backlog/REFERENCE.md +4 -3
- package/dist/skills/agnostic/requirements/write-backlog/SKILL.md +2 -2
- package/dist/skills/agnostic/requirements/write-backlog/assets/concepts/backlog-model.md +6 -6
- package/dist/skills/agnostic/requirements/write-backlog/assets/providers/azure-devops-create-payload.md +7 -7
- package/dist/skills/agnostic/requirements/write-backlog/assets/providers/github-projects-create-payload.md +12 -12
- package/dist/skills/agnostic/requirements/write-backlog/assets/providers/linear-create-payload.md +9 -9
- package/dist/skills/agnostic/requirements/write-backlog/assets/providers/monday-create-payload.md +10 -10
- package/dist/skills/frameworks/expo/animate-expo/LICENSE +21 -0
- package/dist/skills/frameworks/expo/animate-expo/RECIPES.md +385 -0
- package/dist/skills/frameworks/expo/animate-expo/SKILL.md +255 -0
- package/dist/skills/frameworks/expo/animate-expo/UPSTREAM.md +9 -0
- package/dist/skills/misc/wait-what/SKILL.md +1 -1
- package/dist/skills/phases/delivery-phase/SKILL.md +5 -7
- package/dist/skills/phases/delivery-phase/phases/review.md +50 -25
- package/dist/skills/phases/delivery-phase/phases/router.md +27 -19
- package/dist/skills/phases/delivery-phase/references/phase-handoff.md +28 -10
- package/dist/skills/phases/review-phase/AUTHORING-HANDOFF.md +14 -11
- package/dist/skills/phases/review-phase/phases/prepare-review.md +1 -1
- package/dist/skills/phases/review-phase/phases/retain-report.md +9 -2
- package/dist/skills/phases/review-phase/phases/return-route.md +6 -8
- package/dist/skills/phases/review-phase/phases/run-review.md +8 -5
- package/dist/skills/phases/review-phase/references/durable-report.md +29 -14
- package/dist/skills/phases/review-phase/references/state-graph.md +19 -6
- package/dist/skills/phases/review-phase/references/targets.md +2 -1
- package/dist/skills/phases/review-phase/scripts/review-contract.mjs +91 -11
- package/package.json +4 -23
- package/dist/baseline/scaffold-baseline/data/scripts/harness-projection/adapters/claude.test.ts +0 -130
- package/dist/baseline/scaffold-baseline/data/scripts/harness-projection/adapters/codex.test.ts +0 -135
- package/dist/baseline/scaffold-baseline/data/scripts/harness-projection/adapters/cursor.test.ts +0 -138
- package/dist/baseline/scaffold-baseline/data/scripts/harness-projection/adapters/opencode.test.ts +0 -135
- package/dist/baseline/scaffold-baseline/data/scripts/harness-projection/contract.test.ts +0 -875
- package/dist/baseline/scaffold-baseline/data/scripts/sync-subagents.lifecycle.test.ts +0 -205
- package/dist/baseline/scaffold-baseline/data/scripts/sync-subagents.native.test.ts +0 -2765
- package/dist/baseline/scaffold-baseline/data/scripts/sync-subagents.test.ts +0 -2108
- package/dist/baseline/scaffold-baseline/data/subagents/manifest.test.ts +0 -116
package/dist/baseline/scaffold-baseline/skills/agnostic/frontend/review-animations/STANDARDS.md
ADDED
|
@@ -0,0 +1,229 @@
|
|
|
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
|
+
|
|
22
|
+
- Entering or exiting → **`ease-out`** (starts fast, feels responsive)
|
|
23
|
+
- Moving / morphing on screen → **`ease-in-out`**
|
|
24
|
+
- Hover / color change → **`ease`**
|
|
25
|
+
- Constant motion (marquee, progress) → **`linear`**
|
|
26
|
+
- Default → **`ease-out`**
|
|
27
|
+
|
|
28
|
+
**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.
|
|
29
|
+
|
|
30
|
+
Built-in CSS easings are too weak. Use strong custom curves:
|
|
31
|
+
|
|
32
|
+
```css
|
|
33
|
+
--ease-out: cubic-bezier(0.23, 1, 0.32, 1); /* strong ease-out for UI */
|
|
34
|
+
--ease-in-out: cubic-bezier(0.77, 0, 0.175, 1); /* strong ease-in-out for on-screen movement */
|
|
35
|
+
--ease-drawer: cubic-bezier(0.32, 0.72, 0, 1); /* iOS-like drawer curve (Ionic) */
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
Find curves at [easing.dev](https://easing.dev/) or [easings.co](https://easings.co/) — don't hand-roll from scratch.
|
|
39
|
+
|
|
40
|
+
## Duration
|
|
41
|
+
|
|
42
|
+
| Element | Duration |
|
|
43
|
+
| ------------------------ | ------------- |
|
|
44
|
+
| Button press feedback | 100–160ms |
|
|
45
|
+
| Tooltips, small popovers | 125–200ms |
|
|
46
|
+
| Dropdowns, selects | 150–250ms |
|
|
47
|
+
| Modals, drawers | 200–500ms |
|
|
48
|
+
| Marketing / explanatory | Can be longer |
|
|
49
|
+
|
|
50
|
+
**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.
|
|
51
|
+
|
|
52
|
+
## Physicality
|
|
53
|
+
|
|
54
|
+
- **Never `scale(0)`.** Start from `scale(0.9–0.97)` + `opacity: 0`. Nothing in the real world appears from nothing.
|
|
55
|
+
- **Origin-aware popovers.** Scale from the trigger, not center:
|
|
56
|
+
```css
|
|
57
|
+
.popover {
|
|
58
|
+
transform-origin: var(--transform-origin);
|
|
59
|
+
} /* Base UI */
|
|
60
|
+
```
|
|
61
|
+
**Modals are exempt** — they appear centered in the viewport, keep `transform-origin: center`.
|
|
62
|
+
- **Button press feedback.** `transform: scale(0.97)` on `:active`, `transition: transform 160ms ease-out`. Subtle (0.95–0.98). Applies to any pressable element.
|
|
63
|
+
|
|
64
|
+
## Springs
|
|
65
|
+
|
|
66
|
+
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.
|
|
67
|
+
|
|
68
|
+
```js
|
|
69
|
+
// Apple-style (easier to reason about) — recommended
|
|
70
|
+
{ type: "spring", duration: 0.5, bounce: 0.2 }
|
|
71
|
+
|
|
72
|
+
// Traditional physics (more control)
|
|
73
|
+
{ type: "spring", mass: 1, stiffness: 100, damping: 10 }
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
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.
|
|
77
|
+
|
|
78
|
+
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.
|
|
79
|
+
|
|
80
|
+
## Interruptibility
|
|
81
|
+
|
|
82
|
+
CSS **transitions** can be interrupted and retargeted mid-animation; **keyframes** restart from zero. For anything triggered rapidly (toasts being added, toggles), transitions are smoother.
|
|
83
|
+
|
|
84
|
+
```css
|
|
85
|
+
/* Interruptible — good for dynamic UI */
|
|
86
|
+
.toast {
|
|
87
|
+
transition: transform 400ms ease;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
/* Not interruptible — avoid for dynamic UI */
|
|
91
|
+
@keyframes slideIn {
|
|
92
|
+
from {
|
|
93
|
+
transform: translateY(100%);
|
|
94
|
+
}
|
|
95
|
+
to {
|
|
96
|
+
transform: translateY(0);
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
Use `@starting-style` for entry without JS:
|
|
102
|
+
|
|
103
|
+
```css
|
|
104
|
+
.toast {
|
|
105
|
+
opacity: 1;
|
|
106
|
+
transform: translateY(0);
|
|
107
|
+
transition:
|
|
108
|
+
opacity 400ms ease,
|
|
109
|
+
transform 400ms ease;
|
|
110
|
+
@starting-style {
|
|
111
|
+
opacity: 0;
|
|
112
|
+
transform: translateY(100%);
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
Legacy fallback: `useEffect(() => setMounted(true), [])` + `data-mounted` attribute.
|
|
118
|
+
|
|
119
|
+
## Asymmetric timing
|
|
120
|
+
|
|
121
|
+
Slow where the user is deciding, fast where the system responds.
|
|
122
|
+
|
|
123
|
+
```css
|
|
124
|
+
.overlay {
|
|
125
|
+
transition: clip-path 200ms ease-out;
|
|
126
|
+
} /* release: fast */
|
|
127
|
+
.button:active .overlay {
|
|
128
|
+
transition: clip-path 2s linear;
|
|
129
|
+
} /* press: slow, deliberate */
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
## Performance
|
|
133
|
+
|
|
134
|
+
- **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.
|
|
135
|
+
- **Don't drive child transforms via a CSS variable on the parent** — it recalcs styles for all children. Set `transform` directly on the element.
|
|
136
|
+
```js
|
|
137
|
+
element.style.setProperty("--swipe-amount", `${d}px`); // bad: recalc on all children
|
|
138
|
+
element.style.transform = `translateY(${d}px)`; // good: only this element
|
|
139
|
+
```
|
|
140
|
+
- **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:
|
|
141
|
+
```jsx
|
|
142
|
+
<motion.div animate={{ x: 100 }} /> // drops frames under load
|
|
143
|
+
<motion.div animate={{ transform: "translateX(100px)" }} /> // hardware accelerated
|
|
144
|
+
```
|
|
145
|
+
- **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.
|
|
146
|
+
- **WAAPI** gives JS control with CSS performance (hardware-accelerated, interruptible, no library):
|
|
147
|
+
```js
|
|
148
|
+
element.animate([{ clipPath: "inset(0 0 100% 0)" }, { clipPath: "inset(0 0 0 0)" }], {
|
|
149
|
+
duration: 1000,
|
|
150
|
+
fill: "forwards",
|
|
151
|
+
easing: "cubic-bezier(0.77, 0, 0.175, 1)",
|
|
152
|
+
});
|
|
153
|
+
```
|
|
154
|
+
|
|
155
|
+
## Transforms & clip-path
|
|
156
|
+
|
|
157
|
+
- **`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.
|
|
158
|
+
- **`scale()` scales children too** (font, icons, content) — a feature for press feedback.
|
|
159
|
+
- **3D**: `rotateX/Y` + `transform-style: preserve-3d` for depth/orbit/flip without JS.
|
|
160
|
+
- **`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.
|
|
161
|
+
|
|
162
|
+
## Gestures & drag
|
|
163
|
+
|
|
164
|
+
- **Momentum dismissal**: don't require crossing a distance threshold — compute velocity (`Math.abs(distance)/elapsedMs`); dismiss if `> ~0.11`. A flick should be enough.
|
|
165
|
+
- **Damping at boundaries**: dragging past a natural edge moves less the further you go (real things slow before stopping).
|
|
166
|
+
- **Pointer capture** once dragging starts, so it continues when the pointer leaves bounds.
|
|
167
|
+
- **Multi-touch protection**: ignore extra touch points after the drag begins (`if (isDragging) return`) — prevents jumps.
|
|
168
|
+
- **Friction over hard stops** — allow over-drag with rising resistance rather than an invisible wall.
|
|
169
|
+
|
|
170
|
+
## Masking imperfect crossfades
|
|
171
|
+
|
|
172
|
+
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).
|
|
173
|
+
|
|
174
|
+
## Stagger
|
|
175
|
+
|
|
176
|
+
Stagger group entrances; 30–80ms between items. Longer delays feel slow. Stagger is decorative — never block interaction while it plays.
|
|
177
|
+
|
|
178
|
+
```css
|
|
179
|
+
.item {
|
|
180
|
+
opacity: 0;
|
|
181
|
+
transform: translateY(8px);
|
|
182
|
+
animation: fadeIn 300ms ease-out forwards;
|
|
183
|
+
}
|
|
184
|
+
.item:nth-child(2) {
|
|
185
|
+
animation-delay: 50ms;
|
|
186
|
+
}
|
|
187
|
+
.item:nth-child(3) {
|
|
188
|
+
animation-delay: 100ms;
|
|
189
|
+
}
|
|
190
|
+
@keyframes fadeIn {
|
|
191
|
+
to {
|
|
192
|
+
opacity: 1;
|
|
193
|
+
transform: translateY(0);
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
```
|
|
197
|
+
|
|
198
|
+
## Accessibility
|
|
199
|
+
|
|
200
|
+
```css
|
|
201
|
+
@media (prefers-reduced-motion: reduce) {
|
|
202
|
+
.element {
|
|
203
|
+
animation: fade 0.2s ease;
|
|
204
|
+
} /* keep opacity/color, drop transform-based motion */
|
|
205
|
+
}
|
|
206
|
+
@media (hover: hover) and (pointer: fine) {
|
|
207
|
+
.element:hover {
|
|
208
|
+
transform: scale(1.05);
|
|
209
|
+
} /* gate hover motion — touch fires false hovers on tap */
|
|
210
|
+
}
|
|
211
|
+
```
|
|
212
|
+
|
|
213
|
+
```jsx
|
|
214
|
+
const reduce = useReducedMotion();
|
|
215
|
+
const closedX = reduce ? 0 : "-100%";
|
|
216
|
+
```
|
|
217
|
+
|
|
218
|
+
Reduced motion means fewer and gentler animations, not zero — keep transitions that aid comprehension, remove movement/position changes.
|
|
219
|
+
|
|
220
|
+
## Debugging (recommend in reviews when feel is uncertain)
|
|
221
|
+
|
|
222
|
+
- **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.
|
|
223
|
+
- **Frame-by-frame**: Chrome DevTools Animations panel reveals timing drift between coordinated properties.
|
|
224
|
+
- **Real devices** for gestures (drawers, swipe) — connect a phone, hit the dev server by IP, use Safari remote devtools.
|
|
225
|
+
- **Fresh eyes next day** — imperfections invisible during development surface later.
|
|
226
|
+
|
|
227
|
+
## Cohesion
|
|
228
|
+
|
|
229
|
+
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.
|
package/dist/baseline/scaffold-baseline/skills/agnostic/frontend/review-animations/UPSTREAM.md
ADDED
|
@@ -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
|
|
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,15 +43,17 @@ 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.
|
|
47
|
-
|
|
48
|
-
triggers match the task,
|
|
49
|
-
|
|
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.
|
|
53
55
|
11. Read `references/architecture-convergence.md`. Persist architecture applicability. For architecture-bearing
|
|
54
|
-
work,
|
|
56
|
+
work, derive and validate the architecture contract accepted in `SPEC.md`; route missing or contradictory target design back to `requirements-grill`.
|
|
55
57
|
12. Read `references/planner-task-graph.md` and run `$swarm-planner` to produce the swarm graph and `Tn` task contract.
|
|
56
58
|
13. Read `references/tdd-shaping.md` and run `$tdd` to attach RED/GREEN targets to each `Tn` task.
|
|
57
59
|
14. Read `references/backlog-sync.md`. Sync backlog at epic/story level only when
|
|
@@ -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
|
|
80
|
-
|
|
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
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
# Architecture Convergence
|
|
2
2
|
|
|
3
|
-
Use this branch when a plan can change cumulative code ownership.
|
|
4
|
-
contract; later execution checks conformance against it.
|
|
3
|
+
Use this branch when a plan can change cumulative code ownership. `SPEC.md` owns the accepted target architecture; the saved plan derives its execution contract and later execution checks conformance against it.
|
|
5
4
|
|
|
6
5
|
## Classify Applicability
|
|
7
6
|
|
|
@@ -17,7 +16,9 @@ Persist `architecture_applicability: local | architecture-bearing` with evidence
|
|
|
17
16
|
Classification is complete when every planned location and consumer is covered by one outcome. A plan
|
|
18
17
|
cannot use `local` merely because each task looks small in isolation.
|
|
19
18
|
|
|
20
|
-
##
|
|
19
|
+
## Derive the Contract
|
|
20
|
+
|
|
21
|
+
Read the accepted technical decisions and verification seams in `SPEC.md`. If the target topology, dependency direction, boundaries, or public seams are absent or contradictory, return to `requirements-grill`; do not invent a competing target.
|
|
21
22
|
|
|
22
23
|
For backend scope, invoke `$backend-domain-structure` and read its layout reference. Derive honest feature,
|
|
23
24
|
platform/composition, integration, persistence, model, and public-boundary ownership from the repository.
|
|
@@ -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
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
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
|
|
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
|
|
@@ -34,11 +34,11 @@ If the current code already passes the new test, do not fake RED. Isolate the pr
|
|
|
34
34
|
|
|
35
35
|
**Core principle**: Tests should verify behavior through public interfaces, not implementation details. Code can change entirely; tests shouldn't.
|
|
36
36
|
|
|
37
|
-
For
|
|
37
|
+
For test selection and assertions, use [high-signal-tests.md](high-signal-tests.md): keep tests only when they prove durable product or capability behavior through an owned public seam.
|
|
38
38
|
|
|
39
39
|
**Good tests** are integration-style: they exercise real code paths through public APIs. They describe _what_ the system does, not _how_ it does it. A good test reads like a specification - "user can checkout with valid cart" tells you exactly what capability exists. These tests survive refactors because they don't care about internal structure.
|
|
40
40
|
|
|
41
|
-
**
|
|
41
|
+
**Low-signal tests** spend maintenance without protecting owned behavior. Cull existence and registration checks, assertions already satisfied by typechecking, simulated third-party behavior or provider-shape assumptions, shape/contract checks standing in for a feature, low-value UI wiring, and regressions whose only value is blocking reversion. Keep the owned behavior and culling rules co-located in [high-signal-tests.md](high-signal-tests.md).
|
|
42
42
|
|
|
43
43
|
See [tests.md](tests.md) for examples and [mocking.md](mocking.md) for mocking guidelines.
|
|
44
44
|
|
|
@@ -133,6 +133,7 @@ After all tests pass, look for [refactor candidates](refactoring.md):
|
|
|
133
133
|
[ ] Test describes behavior, not implementation
|
|
134
134
|
[ ] Test uses public interface only
|
|
135
135
|
[ ] Assertions preserve the product/capability invariant
|
|
136
|
+
[ ] Test proves behavior owned by this system; typechecking or a third party's suite cannot provide the same evidence
|
|
136
137
|
[ ] Test would survive internal refactor
|
|
137
138
|
[ ] Code is minimal for this test
|
|
138
139
|
[ ] No speculative features added
|
|
@@ -8,14 +8,28 @@ High-signal tests verify durable behavior through the nearest public seam:
|
|
|
8
8
|
|
|
9
9
|
- CLI command output or exit status
|
|
10
10
|
- HTTP route response
|
|
11
|
-
-
|
|
11
|
+
- user-critical interaction and visible outcome
|
|
12
12
|
- exported API result
|
|
13
|
-
- persisted
|
|
13
|
+
- persisted product outcome or generated artifact consumed as a feature
|
|
14
14
|
|
|
15
15
|
Move the test one semantic level above the change. If you changed a helper, test the capability that uses it. If you changed formatting, test the stable contract that formatting serves.
|
|
16
16
|
|
|
17
17
|
Prefer observable outcomes over helper calls, private state, call order, intermediate shapes, and internal module boundaries.
|
|
18
18
|
|
|
19
|
+
## Cull Low-Signal Tests
|
|
20
|
+
|
|
21
|
+
Keep a test only when its failure proves an owned product or capability behavior broke. Cull tests that only prove:
|
|
22
|
+
|
|
23
|
+
- a feature, module, route, or command exists or registers; execute the public capability and assert its meaningful outcome instead
|
|
24
|
+
- code has a valid type or shape already enforced by typechecking
|
|
25
|
+
- a third-party provider behaves as documented, including mocks or fixtures that reproduce its response shape; the provider owns that contract
|
|
26
|
+
- an object, schema, generated file, or wire shape matches a contract without proving a feature behavior
|
|
27
|
+
- UI wiring, rendering trivia, or cosmetic UX details; retain only user-critical workflows, accessibility behavior, and failure recovery
|
|
28
|
+
- a command is discoverable or registered without proving what running it does
|
|
29
|
+
- a past change cannot be reverted; retain a regression only when it names and protects an enduring capability invariant
|
|
30
|
+
|
|
31
|
+
Owned compatibility is the boundary. Keep exact protocol or artifact assertions only when this repository owns that public compatibility and a consumer-visible capability depends on it. For provider integrations, test the behavior our adapter owns—mapping our inputs, handling our failures, and producing our public outcome—without recreating or asserting the provider's contract.
|
|
32
|
+
|
|
19
33
|
## Choose Assertions
|
|
20
34
|
|
|
21
35
|
Assert the strongest stable meaning, not the most convenient internal shape.
|
|
@@ -36,4 +50,4 @@ Write regressions as product or capability invariants, not bug-scar tombstones.
|
|
|
36
50
|
- Keep the old failure mode only as setup or context when needed.
|
|
37
51
|
- Avoid asserting the accidental old shape unless that shape is now a contract.
|
|
38
52
|
|
|
39
|
-
Ask: would this test still
|
|
53
|
+
Ask: would this test still protect a named product capability after the implementation is completely rewritten? If not, cull it.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# GLOSSARY.md Format
|
|
2
2
|
|
|
3
3
|
## Structure
|
|
4
4
|
|
|
@@ -31,18 +31,18 @@ _Avoid_: Client, buyer, account
|
|
|
31
31
|
|
|
32
32
|
## Single vs multi-context repos
|
|
33
33
|
|
|
34
|
-
**Single context (most repos):** One `
|
|
34
|
+
**Single context (most repos):** One `GLOSSARY.md` at the repo root.
|
|
35
35
|
|
|
36
|
-
**Multiple contexts:** A `
|
|
36
|
+
**Multiple contexts:** A `GLOSSARY-MAP.md` at the repo root lists the contexts, where they live, and how they relate to each other:
|
|
37
37
|
|
|
38
38
|
```md
|
|
39
39
|
# Context Map
|
|
40
40
|
|
|
41
41
|
## Contexts
|
|
42
42
|
|
|
43
|
-
- [Ordering](./src/ordering/
|
|
44
|
-
- [Billing](./src/billing/
|
|
45
|
-
- [Fulfillment](./src/fulfillment/
|
|
43
|
+
- [Ordering](./src/ordering/GLOSSARY.md) — receives and tracks customer orders
|
|
44
|
+
- [Billing](./src/billing/GLOSSARY.md) — generates invoices and processes payments
|
|
45
|
+
- [Fulfillment](./src/fulfillment/GLOSSARY.md) — manages warehouse picking and shipping
|
|
46
46
|
|
|
47
47
|
## Relationships
|
|
48
48
|
|
|
@@ -53,8 +53,8 @@ _Avoid_: Client, buyer, account
|
|
|
53
53
|
|
|
54
54
|
The skill infers which structure applies:
|
|
55
55
|
|
|
56
|
-
- If `
|
|
57
|
-
- If only a root `
|
|
58
|
-
- If neither exists, create a root `
|
|
56
|
+
- If `GLOSSARY-MAP.md` exists, read it to find contexts
|
|
57
|
+
- If only a root `GLOSSARY.md` exists, single context
|
|
58
|
+
- If neither exists, create a root `GLOSSARY.md` lazily when the first term is resolved
|
|
59
59
|
|
|
60
60
|
When multiple contexts exist, infer which one the current topic relates to. If unclear, ask.
|
package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/domain-modeling/SKILL.md
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: domain-modeling
|
|
3
|
-
description: Build and sharpen a project's domain model. Use when discussing codebase terminology, writing or editing a
|
|
3
|
+
description: Build and sharpen a project's domain model. Use when discussing codebase terminology, writing or editing a GLOSSARY.md, or recording or editing an ADR.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Domain Modeling
|
|
7
7
|
|
|
8
|
-
Actively build and sharpen the project's domain model as you design. This is the _active_ discipline — challenging terms, inventing edge-case scenarios, and writing the glossary and decisions down the moment they crystallise. (Merely _reading_ `
|
|
8
|
+
Actively build and sharpen the project's domain model as you design. This is the _active_ discipline — challenging terms, inventing edge-case scenarios, and writing the glossary and decisions down the moment they crystallise. (Merely _reading_ `GLOSSARY.md` for vocabulary is not this skill — that's a one-line habit any skill can do. This skill is for when you're changing the model, not just consuming it.)
|
|
9
9
|
|
|
10
10
|
## File structure
|
|
11
11
|
|
|
@@ -13,7 +13,7 @@ Most repos have a single context:
|
|
|
13
13
|
|
|
14
14
|
```
|
|
15
15
|
/
|
|
16
|
-
├──
|
|
16
|
+
├── GLOSSARY.md
|
|
17
17
|
├── docs/
|
|
18
18
|
│ └── adr/
|
|
19
19
|
│ ├── 0001-event-sourced-orders.md
|
|
@@ -21,29 +21,29 @@ Most repos have a single context:
|
|
|
21
21
|
└── src/
|
|
22
22
|
```
|
|
23
23
|
|
|
24
|
-
If a `
|
|
24
|
+
If a `GLOSSARY-MAP.md` exists at the root, the repo has multiple contexts. The map points to where each one lives:
|
|
25
25
|
|
|
26
26
|
```
|
|
27
27
|
/
|
|
28
|
-
├──
|
|
28
|
+
├── GLOSSARY-MAP.md
|
|
29
29
|
├── docs/
|
|
30
30
|
│ └── adr/ ← system-wide decisions
|
|
31
31
|
├── src/
|
|
32
32
|
│ ├── ordering/
|
|
33
|
-
│ │ ├──
|
|
33
|
+
│ │ ├── GLOSSARY.md
|
|
34
34
|
│ │ └── docs/adr/ ← context-specific decisions
|
|
35
35
|
│ └── billing/
|
|
36
|
-
│ ├──
|
|
36
|
+
│ ├── GLOSSARY.md
|
|
37
37
|
│ └── docs/adr/
|
|
38
38
|
```
|
|
39
39
|
|
|
40
|
-
Create files lazily — only when you have something to write. If no `
|
|
40
|
+
Create files lazily — only when you have something to write. If no `GLOSSARY.md` exists, create one when the first term is resolved. If no `docs/adr/` exists, create it when the first ADR is needed.
|
|
41
41
|
|
|
42
42
|
## During the session
|
|
43
43
|
|
|
44
44
|
### Challenge against the glossary
|
|
45
45
|
|
|
46
|
-
When the user uses a term that conflicts with the existing language in `
|
|
46
|
+
When the user uses a term that conflicts with the existing language in `GLOSSARY.md`, call it out immediately. "Your glossary defines 'cancellation' as X, but you seem to mean Y — which is it?"
|
|
47
47
|
|
|
48
48
|
### Sharpen fuzzy language
|
|
49
49
|
|
|
@@ -57,11 +57,11 @@ When domain relationships are being discussed, stress-test them with specific sc
|
|
|
57
57
|
|
|
58
58
|
When the user states how something works, check whether the code agrees. If you find a contradiction, surface it: "Your code cancels entire Orders, but you just said partial cancellation is possible — which is right?"
|
|
59
59
|
|
|
60
|
-
### Update
|
|
60
|
+
### Update GLOSSARY.md inline
|
|
61
61
|
|
|
62
|
-
When a term is resolved, update `
|
|
62
|
+
When a term is resolved, update `GLOSSARY.md` right there. Don't batch these up — capture them as they happen. Use the format in [GLOSSARY-FORMAT.md](./GLOSSARY-FORMAT.md).
|
|
63
63
|
|
|
64
|
-
|
|
64
|
+
Pressure-test implementation and architecture consequences during live modeling. Persist accepted technical decisions in the grill artifacts and `SPEC.md`. Keep `GLOSSARY.md` glossary-only.
|
|
65
65
|
|
|
66
66
|
### Offer ADRs sparingly
|
|
67
67
|
|
package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/requirements-grill/SKILL.md
CHANGED
|
@@ -31,15 +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.
|
|
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.
|
|
36
38
|
- Prefer conservative defaults once enough context exists.
|
|
37
39
|
- If the user authorizes auto-pinning defaults, record obvious remaining defaults without needless extra questions.
|
|
38
40
|
- Treat parked branches as preserved knowledge, not deleted scope.
|
|
39
41
|
- Apply the round persistence contract in `artifact-output` alongside `$grilling`.
|
|
40
42
|
- After `$grilling` completes and the durable artifacts are current, invoke
|
|
41
43
|
`$show-me` to present the persisted shared understanding before requesting
|
|
42
|
-
approval.
|
|
44
|
+
approval. When `$grilling` reports completion, treat the presentation as a
|
|
45
|
+
derived view and persist any correction
|
|
43
46
|
through `artifact-output`, then present the corrected state again. Approval
|
|
44
47
|
applies to the durable artifacts, not the presentation.
|
|
45
48
|
|
|
@@ -67,6 +67,27 @@ Accepted answer:
|
|
|
67
67
|
- <locked answer>
|
|
68
68
|
```
|
|
69
69
|
|
|
70
|
+
For a technical question, add the grounding beside the decision:
|
|
71
|
+
|
|
72
|
+
```md
|
|
73
|
+
Evidence anchor:
|
|
74
|
+
|
|
75
|
+
- `<path>:<symbol>`
|
|
76
|
+
|
|
77
|
+
Observed constraint:
|
|
78
|
+
|
|
79
|
+
- <what the current code requires or leaves unresolved>
|
|
80
|
+
|
|
81
|
+
Question:
|
|
82
|
+
<requirements decision>
|
|
83
|
+
|
|
84
|
+
Code consequence:
|
|
85
|
+
|
|
86
|
+
- <what contract, ownership, invariant, lifecycle, or boundary the answer determines>
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
Use the same question id and accepted-answer fields. Keep the question at requirements level; implementation sequence and task breakdown belong to planning.
|
|
90
|
+
|
|
70
91
|
Group related decisions under branch headings.
|
|
71
92
|
|
|
72
93
|
When the user changes an earlier decision, add a new entry that explicitly supersedes the old one.
|
|
@@ -129,15 +150,27 @@ Maintain a compact branch dashboard with:
|
|
|
129
150
|
- pinned axioms
|
|
130
151
|
- flagged ambiguities
|
|
131
152
|
|
|
153
|
+
For active code- or architecture-bearing branches, also maintain:
|
|
154
|
+
|
|
155
|
+
```md
|
|
156
|
+
## Technical Grounding
|
|
157
|
+
|
|
158
|
+
| Branch | Evidence anchors | Applicable dimensions | Open technical decisions | Grounding |
|
|
159
|
+
| -------- | ----------------- | ---------------------------- | ------------------------ | --------------------- |
|
|
160
|
+
| <branch> | `<path>:<symbol>` | <topology, persistence, ...> | <Q ids or `none`> | <unknown or grounded> |
|
|
161
|
+
```
|
|
162
|
+
|
|
163
|
+
`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.
|
|
164
|
+
|
|
132
165
|
Completion percentages are working signals:
|
|
133
166
|
|
|
134
167
|
- `0-50%`: branch discovered but unsettled
|
|
135
168
|
- `50-85%`: major direction set, important questions remain
|
|
136
169
|
- `85-99%`: mostly closed, only constants/schema/naming remain
|
|
137
|
-
- `100%`: no unanswered items remain, the frontier is empty,
|
|
170
|
+
- `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
|
|
138
171
|
- `parked`: preserved for later, out of current scope
|
|
139
172
|
|
|
140
|
-
Keep a branch below `100%` while it has unanswered items
|
|
173
|
+
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.
|
|
141
174
|
|
|
142
175
|
## Glossary Snapshot Contract
|
|
143
176
|
|
|
@@ -172,7 +205,7 @@ When a branch closes:
|
|
|
172
205
|
|
|
173
206
|
1. Update the grill log with final accepted decisions.
|
|
174
207
|
2. Update the status file percentage, open items, round/frontier state, glossary snapshot, axioms, and ambiguities.
|
|
175
|
-
3. Confirm no unanswered item
|
|
208
|
+
3. Confirm no unanswered item, pending shared-understanding confirmation, unknown technical grounding, or open technical decision is represented as `100%`.
|
|
176
209
|
4. Invoke `$domain-modeling` for a final consistency pass.
|
|
177
210
|
5. After explicit user closure, run the wiki-output workflow for durable domain/product knowledge.
|
|
178
211
|
6. Say exactly what changed, which routed artifacts were updated, and whether `meta.json` or wiki log bookkeeping changed.
|