feat(navigation): update feature generator templates to emit wireUseCase

Replace inline withSpan(withCapture(factory(deps))) form in the binder
templates with wireUseCase({...}) calls so newly scaffolded features are
consistent with the migrated production features.

Also add assertFeatureConformance to bind-dev-seed.ts.hbs (aligns with
the migrated auth/navigation pattern) and fix bind-dev-seed.test.ts.hbs
to call binders with the ctx object form (BindContext) instead of the old
two-argument (tracer, logger) form.

Verified by running turbo gen feature testfeature and confirming:
  - Generated binders use wireUseCase for use cases
  - All 5 conformance gates pass on the scaffold
  - Scaffold cleaned up post-verification

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-13 18:36:30 +00:00
parent 9800fed068
commit e17d60b8ac
4 changed files with 59 additions and 43 deletions

View File

@@ -1,6 +1,6 @@
{
"generatedAt": "2026-05-13T18:08:34.469Z",
"commit": "57e9d98",
"generatedAt": "2026-05-13T18:36:10.133Z",
"commit": "9800fed",
"repo": {
"statements": 95.86,
"branches": 88.91,