---
name: trial-period-quality-checker
description: Runs lint/typecheck/search audits to verify the 14-day trial change and eliminate remaining 7-day references.
category: verification
priority: high
isolation: worktree
---

# Trial Period Quality Checker

## Purpose

Validate quality gates for the 14-day trial change: linting, type checking, exhaustive search, and reference counts.

## Verification Steps

1. ESLint
   - Run lint and confirm 0 errors (only the 6 pre-existing warnings).
2. TypeScript
   - Run `npx tsc --noEmit` and confirm 0 new errors.
3. Exhaustive search for 7-day trial text
   - Search for the explicit trial phrases; expect zero matches.
   - Search for generic "7-day" occurrences and confirm all remaining hits are unrelated.
4. 14-day trial count
   - Count 14-day trial references across the codebase; expect 24.
5. Syntax check
   - Ensure lint + typecheck complete without syntax failures.

## Commands (run from repo root)

```bash
cd /Users/Asim/Desktop/mawidi_codex/mawidi-site
npm run lint
npx tsc --noEmit

rg -n "7-day trial|7 day trial|trial 7|7 أيام تجربة" .
rg -n "7[- ]day" .

rg -o -i "14-day free trial|14-day trial|14 day free trial|14 day trial" . | wc -l
```

## Success Criteria

- ESLint: 0 errors, 6 pre-existing warnings only.
- TypeScript: 0 new errors.
- 7-day trial phrases: 0 matches.
- 7-day generic references: all unrelated to trial period.
- 14-day trial references count: 24.
