mirror of
https://github.com/azaion/ui.git
synced 2026-06-21 20:41:11 +00:00
1dd25edee3
AZ-466 — Destructive UX policy + ConfirmDialog a11y + no-alert (4pts):
src/components/ConfirmDialog.test.tsx (8 fast),
tests/destructive_ux.test.tsx (4 fast, AdminPage class-delete drift),
e2e/tests/destructive_ux.e2e.ts. New static checks STC-SEC7 (alert
allowlist) + STC-SEC8 (destructive-surfaces gated/drift) wired through
scripts/check-banned-deps.mjs reading tests/security/banned-deps.json.
AZ-475 — Numeric form input rejection (2pts):
tests/form_hygiene.test.tsx (3 fast). Documents two SettingsPage drifts:
silent zero coercion via parseInt(v)||0 and labels missing htmlFor.
AZ-462 — Overlay membership at in-window edges (2pts):
tests/overlay_membership.test.tsx (6 fast). Documents getTimeWindowDetections
strict < drift; AC-1 boundary tests are it.fails(); AC-2 / control PASS.
Mocks HTMLCanvasElement.getContext to capture strokeRect.
AZ-460 — Annotation save URL + payload contract (2pts):
tests/annotations_endpoint.test.tsx (6 fast),
e2e/tests/annotations_endpoint.e2e.ts. AC-1 URL canary PASSes; AC-2
payload missing 4 fields documented as it.fails(); AC-3 manual-draw
PASS, AI-suggestion-accept + bulk-edit-save QUARANTINE skip.
Test infrastructure:
- tests/setup.ts: NoopResizeObserver + NoopEventSource JSDOM polyfills.
- tests/msw/handlers/annotations.ts: doubly-prefixed paths matching
production calls (e.g. /api/annotations/annotations).
- tests/msw/handlers/flights.ts: plural /aircrafts paths.
Verification: bun run test:fast → 80 passed, 13 skipped (14 files).
scripts/run-tests.sh --static-only → 24/24 PASS (was 22; +STC-SEC7/SEC8).
Per-batch self-review verdict: PASS_WITH_WARNINGS. Cumulative review
of batches 04-06 due after batch 6 per implement/SKILL.md Step 14.5.
Report: _docs/03_implementation/batch_04_report.md.
Also includes the previously-untracked
_docs/03_implementation/cumulative_review_batches_01-03_report.md
generated at the start of this session before batch 4 began.
Co-authored-by: Cursor <cursoragent@cursor.com>
30 lines
1.0 KiB
Markdown
30 lines
1.0 KiB
Markdown
# Autodev State
|
|
|
|
## Current Step
|
|
flow: existing-code
|
|
step: 6
|
|
name: Implement Tests
|
|
status: in_progress
|
|
sub_step:
|
|
phase: 14
|
|
name: batch-loop
|
|
detail: "batch 4 of ~5 complete; 14 tasks remain in todo/"
|
|
retry_count: 0
|
|
cycle: 1
|
|
tracker: jira
|
|
step_4_5_glossary_vision: confirmed
|
|
step_2_baseline_routing: per-finding-recommended (option A)
|
|
step_3_results_report_authoring: agent (option A)
|
|
step_3_ac_gap_handling: rollback-to-6c (option A)
|
|
|
|
## Notes
|
|
- Phase A baseline cycle. Step 1 (Document) complete; see
|
|
`_docs/02_document/state.json`, `FINAL_report.md`, `architecture.md`,
|
|
`glossary.md`, plus `_docs/01_solution/solution.md` and
|
|
`_docs/00_problem/{problem,acceptance_criteria,restrictions,security_approach}.md`.
|
|
- Implement-skill batch reports at `_docs/03_implementation/batch_0{1,2,3,4}_report.md`.
|
|
- Cumulative review (batches 01-03) PASS_WITH_WARNINGS at
|
|
`_docs/03_implementation/cumulative_review_batches_01-03_report.md`.
|
|
Next cumulative review due after batch 6 (every 3 batches per
|
|
`implement/SKILL.md` Step 14.5).
|