chore: land in-progress workspace changes before 1.16.2
The tree carried uncommitted work from several areas (web push, mobile screens, admin charts, test-hygiene cleanup, CI and map docs). It is landed as one commit so the release pipeline can start from a clean tree; the desktop transcript-correction behaviour shipped in the previous commit and is unchanged here.
This commit is contained in:
parent
9c2b6a9782
commit
7fe49c437e
144 changed files with 3760 additions and 4523 deletions
10
AGENTS.md
10
AGENTS.md
|
|
@ -74,8 +74,15 @@ These come from [`CLAUDE.md`](./CLAUDE.md) and are enforced here too:
|
|||
- Desktop: keep `app.setName('d3ro-voice')` + `app.setAppUserModelId` at the top; prevent dev silent exit.
|
||||
- Never hardcode secrets; production secrets are injected at build/CI time. Fail closed, never fake success.
|
||||
- Security-first: only defensive security work.
|
||||
- **Tests**: behavior only (no private methods, call order, or CSS classes). Test names say what breaks:
|
||||
`동작_시나리오_기대`. E2E is `*.spec.ts` (Playwright) and only for the critical journeys; everything else is
|
||||
`*.test.ts(x)`. Never weaken/delete/skip a test to get green.
|
||||
- **Protected journeys** (`apps/desktop/tests/e2e/{navigation,settings,onboarding,customer-support,records}.spec.ts`,
|
||||
`apps/web/e2e/smoke.spec.ts`): do not edit assertions without a product-behavior reason in the commit body.
|
||||
- **Test hygiene gate**: `npm run test:hygiene` rejects `.only`, reason-less `.skip()`, trivial assertions,
|
||||
`isVisible()`-gated assertions, machine-specific paths, `waitForTimeout`, and `.e2e.test.ts` names.
|
||||
|
||||
Build/test commands: [`docs/map/02-infrastructure.md`](./docs/map/02-infrastructure.md) §3. Root: `npm run typecheck`, `npm run test`, `npm run lint`. Mobile: `npm --prefix apps/mobile-rn run lint|typecheck|test`.
|
||||
Build/test commands: [`docs/map/02-infrastructure.md`](./docs/map/02-infrastructure.md) §3. Root: `npm run typecheck`, `npm run test`, `npm run lint`, `npm run test:hygiene`. Mobile: `npm --prefix apps/mobile-rn run lint|typecheck|test`. TDD policy: [`docs/tdd-red/06-repo-application.md`](./docs/tdd-red/06-repo-application.md).
|
||||
|
||||
---
|
||||
|
||||
|
|
@ -106,6 +113,7 @@ Full procedure and templates: [`docs/map/12-update-protocol.md`](./docs/map/12-u
|
|||
|
||||
- [ ] Code implemented, wired end-to-end (no TODOs / placeholders / fake success).
|
||||
- [ ] Tests added/updated and passing; lint/typecheck clean on the touched scope.
|
||||
- [ ] `npm run test:hygiene` clean; new behavior has a test that fails for the expected reason before the fix.
|
||||
- [ ] Relevant surface doc (`04`–`09`) updated if interfaces changed.
|
||||
- [ ] `10-feature-catalog.md` row updated (status per platform + anchors).
|
||||
- [ ] `11-gap-backlog.md` updated (closed/opened/external).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue