← Bộ 88 màn hìnhChia Việc · iOS + Android

Bàn giao để agent triển khai đúng.

88 HTML và 88 JSON thiết kế riêng. Bản thiết kế hoàn chỉnh trong project mới; API, native, store và AI thật chưa được triển khai ở đây.

Điểm vào

Bản thử tương tác local · Danh mục màn hình · Token và thành phần

Đọc theo thứ tự này

  1. screen-manifest.json: 88 IDs, HTML/spec và proposed native route.
  2. tokens.json: primitive → semantic → component, sáng/tối; sRGB có hex portable trong extension.
  3. components.json và flows.json: reusable components, exact targets, critical journeys.
  4. Đọc screen.json cạnh từng HTML: layout, props, tokens, accessibility, fields/validation, states, actions, data shape/example và integration notes.
  5. ai-agent-contract.json: giao diện đề xuất tương lai, tách khỏi API authority.
  6. verification.json: kết quả thực chạy và giới hạn bằng chứng.

Quyền không phải là persona

Actor/capabilityĐược làmGuard không được bỏ qua
E · người lớn activeSửa và chia việc cùng hộKhông ghi completion thay người khác
O · chủ nhàInvitations, membership, chuyển ownerKhông mặc nhiên là guardian
G · guardian đúng trẻPair/device/approve/reject/task eligibilityRelation active và latest child cycle/version
C · child deviceOwn chores/history, submit own completionActive credential/device + G; không contacts/billing/invites
E+ProPreview/apply schedule, stats, templatesVerified feature grants từ server
B · buyerRebind gói đã xác minhĐúng một household binding

Hợp đồng dữ liệu phải giữ nguyên

Luồng tương tác local đã có

  1. Tạo việc → interval/weekday → fixed/rotation → save → own completion → history/undo.
  2. Danh sách ↔ Lịch tháng ↔ chi tiết ngày: dùng chung date/member/status/space filters và occurrences.
  3. Nhờ AI → chọn ví dụ hoặc nhập đúng câu mẫu → đề xuất sửa được → explicit confirm → kết quả từng lệnh. Câu khác hỏi làm rõ/nhập tay, không giả model success.
  4. Giọng nói dựng sẵn → dừng → tiến trình chép → sửa transcript → gửi. Không xin quyền/thu âm thật.
  5. Actor mẫu Bông → submit → An duyệt/nhắn redo → child points. Minh không có quyền guardian. Actor/offline/revoke/reset chỉ trong vùng đánh giá ngoài sản phẩm.

Từ local sang native/API

domain.js là executable reference cho tests, không phải auth server. app.js điều khiển bản thử riêng; screen-behavior.js nối local drafts/screen controls. Native agent phải thay local command dispatch bằng API authority và SecureStore/outbox đúng source, không sao chép việc đổi actor mẫu làm authorization.

Ranh giớiViệc agent cần nối
Auth/OTPBetter Auth plugin đã pin, expiry/replay/rate limit. Không có endpoint tự chế.
Pair/child rotationRedeem → SecureStore → activate; recovery-safe token; stop queue và scoped cache khi revoke.
PermissionsRationale trong app; OS-owned mic/push/camera prompt; denied recovery. Không fake OS success.
ProLocalized store offering, SDK checkout/restore, server reconcile/grant. Chưa giá/trial/quota; Free/child safety không khóa.
Deletion/exportPolicy fail-closed, reauth/dependencies, durable intent trước revoke; status capability chỉ SecureStore, không URL/log.
AI/STTProvider chưa chọn. Typed allowlist, scope/minimization, versions/idempotency, explicit exact-draft confirm.

Gap cần giữ minh bạch

Rebuild và kiểm tra

Source xuất ra chạy trực tiếp bằng static HTML/CSS/JS. Chỉ authoring dùng Python; không runtime compilation hoặc dependencies. Chạy python3 scripts/build-design.py, python3 scripts/build-handoff.py, python3 scripts/verify-design.py và node scripts/behavior-tests.mjs. Dùng Node của host nếu máy không có node. scripts/verify-modules.mjs kiểm syntax ES-module rõ ràng. Không start services/deploy trong nhiệm vụ này.

Tham chiếu đã quan sát

Chỉ dùng cấu trúc luồng, không copy hình/logo hoặc ngôn ngữ thương hiệu của sản phẩm tham chiếu. Tám JPG đã xem local, không xuất bản.

Source authority snapshot

New task brief overrides old persona navigation. Ownership: only this new OpenDesign project. No deployments, services, secrets or old/native source edits.