docs(work): drop binder-wrap-helper epic for re-decomposition

The stories were decomposed by the previous (unconstrained)
decomposer prompt — their Tasks lists were horizontal sub-steps
(read file → write impl → write test → export → run gates) instead
of the slice = task = PR = commit rule now enforced in fd8265c.

Removing the folder clears the way for a fresh `pnpm work
decompose 2026-05-13-binder-wrap-helper --execute` run under the
updated prompt. The PRD itself (status: approved) is unchanged.
This commit is contained in:
2026-05-13 18:41:37 +02:00
parent fd8265cd29
commit 71c04f521a
10 changed files with 3 additions and 598 deletions

View File

@@ -1,28 +0,0 @@
---
id: binder-wrap-helper
prd: 2026-05-13-binder-wrap-helper
title: Collapse binder duplication via wireUseCase helper
type: epic
status: in-progress
features: [core-shared, auth, blog, media, marketing-pages, navigation, tooling]
created: 2026-05-13
---
## Goal
Introduce a `wireUseCase(...)` helper in `@repo/core-shared/conformance/` that encapsulates the `withSpan + withCapture (+ optional withAudit)` composition, then migrate all five features' binder pairs to call it. Update the feature generator template so new features scaffold with the helper by default.
## Why
Five of `pnpm fallow`'s top-ten clone groups come from binder pairs. The inline wrapping is ~3079 lines per binder pair, repeated identically across 10 files. Any change to the wrapping shape requires N × 2 simultaneous edits; forgetting one is silent drift.
## Stories
- [ ] [01 — wireUseCase helper + tests (core-shared)](01-wire-use-case-helper/_story.md)
- [ ] [02 — Migrate auth binders](02-migrate-auth-binders/_story.md)
- [ ] [03 — Migrate blog binders](03-migrate-blog-binders/_story.md)
- [ ] [04 — Migrate media binders](04-migrate-media-binders/_story.md)
- [ ] [05 — Migrate marketing-pages binders](05-migrate-marketing-pages-binders/_story.md)
- [ ] [06 — Migrate navigation binders](06-migrate-navigation-binders/_story.md)
- [ ] [07 — Update feature generator template](07-update-feature-generator/_story.md)
- [ ] [08 — Holistic validation](08-holistic-validation/_story.md)