lib-process:shared--generic-feature
generic-feature overview
Standard feature implementation template with built-in TypeScript gate, conditional permission audit, and browser verification. Replaces all feature processes that touch dashboard/card components without permission checks. Structure: 7 phases Phase 1: Analyze codebase and produce typed implementation plan Phase 2: Breakpoint — human reviews plan before implementation Phase 3: Implement the feature (references plan output) Phase 4: TypeScript check (hard shell gate — non-zero exit fails the run) Phase 5: Conditional permission audit (only if touchesAuthGatedComponents === true) Phase 6: Verify feature + browser check Phase 7: Breakpoint — human reviews outcome Auth-gated component definition (triggers Phase 5): Any file matching dashboard routes, trips/[id] routes, BentoTripCard, DashboardClient, or any file containing isOwner, canEdit, collaboratorRole, or role === 'ADMIN'.
Attributes
- review-plan
- permission-audit
- review-feature
Outgoing edges
- domain:software-engineering·DomainSoftware Engineering
- workflow:feature-development·WorkflowFeature Development