# Tara stub-target audit (V1-P2-2600)

Audit produced by running the §2.6 mandatory stub-indicator regex
(`scripts/stub-indicator-scan.sh`) plus the broader CLAUDE.md scan over
`apps/tara/` (api, content, mobile, web) and `libs/tara/` (analytics, config,
content, database, features, monitoring, ui) on **2026-05-04**.

**Scope.** Production source (`*.ts`, `*.tsx`) under `apps/tara/` and
`libs/tara/`. Excluded: `node_modules/`, `dist/`, `*.test.ts`, `*.spec.ts`,
`*.stories.tsx`, `locales/` directories, and lines already marked
`// stub:legitimate <reason>`.

The strict pre-commit scan
(`scripts/stub-indicator-scan.sh apps/tara/ libs/tara/`) returns **exit 0** for
both `--mode=stubs` and `--mode=all`.

## Counts

| Bucket                                          | Files | Line hits |
| ----------------------------------------------- | ----- | --------- |
| Strict scan (`stub-indicator-scan.sh` defaults) | 0     | 0         |
| Strict scan (`--mode=all`, includes random)     | 0     | 0         |
| Broader CLAUDE.md grep (production source)      | 60    | ~190      |

## Per-file checklist (all hits ≥ 2)

- [ ] `apps/tara/api/src/routes/subscription/routes.ts` — 17 hits. Likely a mix
      of i18n string keys ("placeholder.subscriptionId") and form-field
      placeholder attributes; classify on inspection.
- [ ] `libs/tara/ui/src/components/Skeleton/Skeleton.tsx` — 14 hits. Skeleton
      placeholder components — `placeholder` is the component's name and CSS
      class. **Legitimate domain** — Skeleton loaders are by definition
      placeholders.
- [ ] `apps/tara/api/src/services/analytics/dashboard.ts` — 10 hits. Likely
      metric placeholder UI strings; investigate.
- [ ] `libs/tara/content/src/hooks/courses.ts` — 9 hits. Course-content data
      hook; check whether hits are real data fetches or UI keys.
- [ ] `libs/tara/content/src/hooks/collections.ts` — 9 hits. Collection data
      hook; same check as courses.
- [ ] `apps/tara/api/src/routes/auth/routes.ts` — 8 hits.
- [ ] `apps/tara/api/src/routes/meditations/routes.ts` — 7 hits.
- [ ] `libs/tara/ui/src/components/Header/Header.tsx` — 6 hits.
- [ ] `apps/tara/web/src/i18n/request.ts` — 6 hits. i18n loader; hits are likely
      locale-key references. **Legitimate domain.**
- [ ] `apps/tara/web/src/app/[locale]/(app)/settings/security/page.tsx` — 5
      hits.
- [ ] `apps/tara/web/src/app/[locale]/(app)/settings/profile/page.tsx` — 5 hits.
- [ ] `apps/tara/web/src/app/[locale]/(app)/meditate/page.tsx` — 5 hits.
- [ ] `apps/tara/web/src/app/[locale]/(app)/courses/page.tsx` — 5 hits.
- [ ] `apps/tara/api/src/routes/users/routes.ts` — 5 hits.
- [ ] `apps/tara/web/src/components/auth/signup-form.tsx` — 4 hits. Form
      `placeholder` attributes. **Legitimate.**
- [ ] `apps/tara/mobile/src/services/android.ts` — 4 hits.
- [ ] `apps/tara/mobile/app/search.tsx` — 4 hits. Search input `placeholder`.
      **Legitimate.**
- [ ] `apps/tara/mobile/app/(tabs)/timer.tsx` — 4 hits.
- [ ] (~40 additional files at 2–3 hits each)

## Summary of action types

| Class                          | Approximate count         |
| ------------------------------ | ------------------------- |
| Real stubs to wire             | ~5–10                     |
| Legitimate domain — annotate   | ~25 (Skeleton, i18n keys) |
| Legitimate UI input attributes | ~30                       |
| Already-correct, comment-only  | ~5                        |

V1-P2-2601 will iterate this list. The strict scanner's exit-0 status is the
source-of-truth signal for completion per CLAUDE.md project policy; per-file
annotations are only needed if the file is later modified in a PR.
