jioogen 0.2.7 → 0.2.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/authoring-pack/agent/core.md +574 -0
- package/authoring-pack/agent/discovery.md +21 -0
- package/authoring-pack/agent/prd.md +37 -0
- package/authoring-pack/agent/specs.md +47 -0
- package/authoring-pack/agent/tasks.md +59 -0
- package/authoring-pack/knowledge/catalog.generated.json +1428 -0
- package/authoring-pack/knowledge/library/_TEMPLATE.md +30 -0
- package/authoring-pack/knowledge/library/discovery/discovery-standard.md +157 -0
- package/authoring-pack/knowledge/library/discovery/progressive-understanding.md +64 -0
- package/authoring-pack/knowledge/library/gamedev/K-GAME-001-discovery-game.md +60 -0
- package/authoring-pack/knowledge/library/gamedev/K-GAME-101-prd-game.md +62 -0
- package/authoring-pack/knowledge/library/gamedev/disciplines/game-ai.md +33 -0
- package/authoring-pack/knowledge/library/gamedev/disciplines/game-feel.md +32 -0
- package/authoring-pack/knowledge/library/gamedev/disciplines/game-ui-ux.md +32 -0
- package/authoring-pack/knowledge/library/gamedev/disciplines/level-design.md +31 -0
- package/authoring-pack/knowledge/library/gamedev/disciplines/procedural-gen.md +33 -0
- package/authoring-pack/knowledge/library/gamedev/disciplines/save-systems.md +32 -0
- package/authoring-pack/knowledge/library/gamedev/genres/card-game.md +33 -0
- package/authoring-pack/knowledge/library/gamedev/genres/fps-shooter.md +34 -0
- package/authoring-pack/knowledge/library/gamedev/genres/platformer.md +37 -0
- package/authoring-pack/knowledge/library/gamedev/genres/puzzle.md +32 -0
- package/authoring-pack/knowledge/library/gamedev/genres/roguelike.md +34 -0
- package/authoring-pack/knowledge/library/gamedev/genres/rpg.md +33 -0
- package/authoring-pack/knowledge/library/gamedev/genres/survival-crafting.md +34 -0
- package/authoring-pack/knowledge/library/gamedev/genres/tower-defense.md +33 -0
- package/authoring-pack/knowledge/library/gamedev/genres/visual-novel.md +32 -0
- package/authoring-pack/knowledge/library/prd/acceptance.md +54 -0
- package/authoring-pack/knowledge/library/prd/capability-coverage.md +37 -0
- package/authoring-pack/knowledge/library/prd/decomposition.md +80 -0
- package/authoring-pack/knowledge/library/prd/enterprise-checklist.md +53 -0
- package/authoring-pack/knowledge/library/prd/feature-hierarchy.md +105 -0
- package/authoring-pack/knowledge/library/prd/prd-standard.md +175 -0
- package/authoring-pack/knowledge/library/prd/self-check.md +129 -0
- package/authoring-pack/knowledge/library/prd/writing-style.md +74 -0
- package/authoring-pack/knowledge/library/qa/gate-reference.md +119 -0
- package/authoring-pack/knowledge/library/specs/specs-standard.md +87 -0
- package/authoring-pack/knowledge/library/tasks/conditional-coverage-a.md +34 -0
- package/authoring-pack/knowledge/library/tasks/conditional-coverage-b.md +63 -0
- package/authoring-pack/knowledge/library/tasks/tasks-standard.md +98 -0
- package/authoring-pack/knowledge/library/ui/K-UIX-001-universal-uiux-principles.md +66 -0
- package/authoring-pack/knowledge/library/ui/K-UIX-002-visual-ux-qa-rubric.md +65 -0
- package/authoring-pack/knowledge/library/ui/K-UIX-003-adaptive-ui-authoring.md +66 -0
- package/authoring-pack/manifest.json +230 -0
- package/authoring-pack/skills/business-discovery/SKILL.md +147 -0
- package/authoring-pack/skills/business-discovery/skill.yaml +22 -0
- package/authoring-pack/skills/creative-discovery/SKILL.md +122 -0
- package/authoring-pack/skills/creative-discovery/skill.yaml +22 -0
- package/authoring-pack/skills/karpathy-guidelines/SKILL.md +96 -0
- package/authoring-pack/skills/karpathy-guidelines/skill.yaml +19 -0
- package/authoring-pack/skills/prd-authoring/SKILL.md +384 -0
- package/authoring-pack/skills/prd-authoring/skill.yaml +33 -0
- package/authoring-pack/skills/product-discovery/SKILL.md +258 -0
- package/authoring-pack/skills/product-discovery/skill.yaml +25 -0
- package/authoring-pack/skills/specs-authoring/SKILL.md +250 -0
- package/authoring-pack/skills/specs-authoring/skill.yaml +32 -0
- package/authoring-pack/skills/tasks-authoring/SKILL.md +278 -0
- package/authoring-pack/skills/tasks-authoring/skill.yaml +32 -0
- package/dist/index.js +4255 -1542
- package/dist/index.js.map +4 -4
- package/package.json +7 -4
- package/skills-pack/baseline/karpathy-guidelines/SKILL.md +96 -0
- package/skills-pack/baseline/karpathy-guidelines/skill.yaml +19 -0
- package/skills-pack/ui-quality/THIRD-PARTY-NOTICE.md +32 -0
- package/skills-pack/ui-quality/impeccable/LICENSE +191 -0
- package/skills-pack/ui-quality/impeccable/SKILL.md +93 -0
- package/skills-pack/ui-quality/impeccable/reference/adapt.md +318 -0
- package/skills-pack/ui-quality/impeccable/reference/adapt.native.md +58 -0
- package/skills-pack/ui-quality/impeccable/reference/android.md +46 -0
- package/skills-pack/ui-quality/impeccable/reference/animate.md +106 -0
- package/skills-pack/ui-quality/impeccable/reference/audit.md +150 -0
- package/skills-pack/ui-quality/impeccable/reference/audit.native.md +143 -0
- package/skills-pack/ui-quality/impeccable/reference/bolder.md +33 -0
- package/skills-pack/ui-quality/impeccable/reference/clarify.md +94 -0
- package/skills-pack/ui-quality/impeccable/reference/colorize.md +86 -0
- package/skills-pack/ui-quality/impeccable/reference/component-review.md +63 -0
- package/skills-pack/ui-quality/impeccable/reference/craft-floor.md +44 -0
- package/skills-pack/ui-quality/impeccable/reference/craft.md +5 -0
- package/skills-pack/ui-quality/impeccable/reference/critique-rubric.md +496 -0
- package/skills-pack/ui-quality/impeccable/reference/critique.md +327 -0
- package/skills-pack/ui-quality/impeccable/reference/degraded/asset-producer.md +42 -0
- package/skills-pack/ui-quality/impeccable/reference/degraded/documenter.md +24 -0
- package/skills-pack/ui-quality/impeccable/reference/degraded/finish-reviewer.md +38 -0
- package/skills-pack/ui-quality/impeccable/reference/degraded/manual-edit-applier.md +93 -0
- package/skills-pack/ui-quality/impeccable/reference/degraded/motion-reviewer.md +29 -0
- package/skills-pack/ui-quality/impeccable/reference/delight.md +70 -0
- package/skills-pack/ui-quality/impeccable/reference/distill.md +111 -0
- package/skills-pack/ui-quality/impeccable/reference/doctor.md +54 -0
- package/skills-pack/ui-quality/impeccable/reference/document.md +418 -0
- package/skills-pack/ui-quality/impeccable/reference/extract.md +69 -0
- package/skills-pack/ui-quality/impeccable/reference/foundations.md +44 -0
- package/skills-pack/ui-quality/impeccable/reference/generate.md +101 -0
- package/skills-pack/ui-quality/impeccable/reference/harden.md +362 -0
- package/skills-pack/ui-quality/impeccable/reference/hooks.md +120 -0
- package/skills-pack/ui-quality/impeccable/reference/init.md +133 -0
- package/skills-pack/ui-quality/impeccable/reference/ios.md +51 -0
- package/skills-pack/ui-quality/impeccable/reference/layout.md +84 -0
- package/skills-pack/ui-quality/impeccable/reference/live-setup.md +104 -0
- package/skills-pack/ui-quality/impeccable/reference/live.md +341 -0
- package/skills-pack/ui-quality/impeccable/reference/mode-operate.md +21 -0
- package/skills-pack/ui-quality/impeccable/reference/mode-persuade.md +19 -0
- package/skills-pack/ui-quality/impeccable/reference/mode-read.md +21 -0
- package/skills-pack/ui-quality/impeccable/reference/new-work-comp.md +24 -0
- package/skills-pack/ui-quality/impeccable/reference/new-work-world.md +20 -0
- package/skills-pack/ui-quality/impeccable/reference/new-work.md +124 -0
- package/skills-pack/ui-quality/impeccable/reference/onboard.md +235 -0
- package/skills-pack/ui-quality/impeccable/reference/operate.md +61 -0
- package/skills-pack/ui-quality/impeccable/reference/optimize.md +257 -0
- package/skills-pack/ui-quality/impeccable/reference/overdrive.md +127 -0
- package/skills-pack/ui-quality/impeccable/reference/polish.md +105 -0
- package/skills-pack/ui-quality/impeccable/reference/quieter.md +99 -0
- package/skills-pack/ui-quality/impeccable/reference/region-map.md +26 -0
- package/skills-pack/ui-quality/impeccable/reference/routing.md +24 -0
- package/skills-pack/ui-quality/impeccable/reference/shape.md +59 -0
- package/skills-pack/ui-quality/impeccable/reference/typeset.md +96 -0
- package/skills-pack/ui-quality/impeccable/reference/visualize.md +47 -0
- package/skills-pack/ui-quality/impeccable/scripts/VERSION +1 -0
- package/skills-pack/ui-quality/impeccable/scripts/command-metadata.json +98 -0
- package/skills-pack/ui-quality/impeccable/scripts/data/font-index-failures.json +121 -0
- package/skills-pack/ui-quality/impeccable/scripts/data/font-index.json +1 -0
- package/skills-pack/ui-quality/impeccable/scripts/engine-checksums.txt +9 -0
- package/skills-pack/ui-quality/impeccable/scripts/impeccable +319 -0
- package/skills-pack/ui-quality/impeccable/scripts/impeccable.cmd +354 -0
- package/skills-pack/ui-quality/impeccable/scripts/live-browser-dom.js +320 -0
- package/skills-pack/ui-quality/impeccable/scripts/live-browser-ignores.js +246 -0
- package/skills-pack/ui-quality/impeccable/scripts/live-browser-session.js +183 -0
- package/skills-pack/ui-quality/impeccable/scripts/live-browser.js +13901 -0
- package/skills-pack/ui-quality/impeccable/scripts/modern-screenshot.umd.js +14 -0
- package/skills-pack/ui-quality/impeccable/skill.yaml +25 -0
- package/skills-pack/ui-quality/ui-ux-pro-max/LICENSE +21 -0
- package/skills-pack/ui-quality/ui-ux-pro-max/SKILL.md +217 -0
- package/skills-pack/ui-quality/ui-ux-pro-max/data/app-interface.csv +33 -0
- package/skills-pack/ui-quality/ui-ux-pro-max/data/catalog-summary.json +78 -0
- package/skills-pack/ui-quality/ui-ux-pro-max/data/charts.csv +26 -0
- package/skills-pack/ui-quality/ui-ux-pro-max/data/colors.csv +193 -0
- package/skills-pack/ui-quality/ui-ux-pro-max/data/data-provenance.json +1396 -0
- package/skills-pack/ui-quality/ui-ux-pro-max/data/google-font-licenses.json +20185 -0
- package/skills-pack/ui-quality/ui-ux-pro-max/data/google-fonts.csv +1935 -0
- package/skills-pack/ui-quality/ui-ux-pro-max/data/icons.csv +106 -0
- package/skills-pack/ui-quality/ui-ux-pro-max/data/landing.csv +35 -0
- package/skills-pack/ui-quality/ui-ux-pro-max/data/motion.csv +18 -0
- package/skills-pack/ui-quality/ui-ux-pro-max/data/phosphor-icons-upstream.json +32582 -0
- package/skills-pack/ui-quality/ui-ux-pro-max/data/products.csv +193 -0
- package/skills-pack/ui-quality/ui-ux-pro-max/data/react-performance.csv +45 -0
- package/skills-pack/ui-quality/ui-ux-pro-max/data/stacks/angular.csv +51 -0
- package/skills-pack/ui-quality/ui-ux-pro-max/data/stacks/astro.csv +54 -0
- package/skills-pack/ui-quality/ui-ux-pro-max/data/stacks/avalonia.csv +57 -0
- package/skills-pack/ui-quality/ui-ux-pro-max/data/stacks/flutter.csv +53 -0
- package/skills-pack/ui-quality/ui-ux-pro-max/data/stacks/html-tailwind.csv +60 -0
- package/skills-pack/ui-quality/ui-ux-pro-max/data/stacks/javafx.csv +76 -0
- package/skills-pack/ui-quality/ui-ux-pro-max/data/stacks/jetpack-compose.csv +53 -0
- package/skills-pack/ui-quality/ui-ux-pro-max/data/stacks/laravel.csv +51 -0
- package/skills-pack/ui-quality/ui-ux-pro-max/data/stacks/nextjs.csv +62 -0
- package/skills-pack/ui-quality/ui-ux-pro-max/data/stacks/nuxt-ui.csv +84 -0
- package/skills-pack/ui-quality/ui-ux-pro-max/data/stacks/nuxtjs.csv +68 -0
- package/skills-pack/ui-quality/ui-ux-pro-max/data/stacks/react-native.csv +52 -0
- package/skills-pack/ui-quality/ui-ux-pro-max/data/stacks/react.csv +67 -0
- package/skills-pack/ui-quality/ui-ux-pro-max/data/stacks/shadcn.csv +69 -0
- package/skills-pack/ui-quality/ui-ux-pro-max/data/stacks/svelte.csv +56 -0
- package/skills-pack/ui-quality/ui-ux-pro-max/data/stacks/swiftui.csv +51 -0
- package/skills-pack/ui-quality/ui-ux-pro-max/data/stacks/threejs.csv +54 -0
- package/skills-pack/ui-quality/ui-ux-pro-max/data/stacks/uno.csv +60 -0
- package/skills-pack/ui-quality/ui-ux-pro-max/data/stacks/uwp.csv +56 -0
- package/skills-pack/ui-quality/ui-ux-pro-max/data/stacks/vue.csv +50 -0
- package/skills-pack/ui-quality/ui-ux-pro-max/data/stacks/winui.csv +60 -0
- package/skills-pack/ui-quality/ui-ux-pro-max/data/stacks/wpf.csv +57 -0
- package/skills-pack/ui-quality/ui-ux-pro-max/data/styles.csv +90 -0
- package/skills-pack/ui-quality/ui-ux-pro-max/data/typography.csv +75 -0
- package/skills-pack/ui-quality/ui-ux-pro-max/data/ui-reasoning.csv +193 -0
- package/skills-pack/ui-quality/ui-ux-pro-max/data/ux-guidelines.csv +121 -0
- package/skills-pack/ui-quality/ui-ux-pro-max/references/pro-rules.md +117 -0
- package/skills-pack/ui-quality/ui-ux-pro-max/references/quick-reference.md +257 -0
- package/skills-pack/ui-quality/ui-ux-pro-max/scripts/core.py +1053 -0
- package/skills-pack/ui-quality/ui-ux-pro-max/scripts/design_system.py +1668 -0
- package/skills-pack/ui-quality/ui-ux-pro-max/scripts/reasoning_contract.py +123 -0
- package/skills-pack/ui-quality/ui-ux-pro-max/scripts/search.py +201 -0
- package/skills-pack/ui-quality/ui-ux-pro-max/scripts/validate_data.py +1095 -0
- package/skills-pack/ui-quality/ui-ux-pro-max/skill.yaml +25 -0
|
@@ -0,0 +1,278 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: tasks-authoring
|
|
3
|
+
description: Compile a deterministic, FE-first Work Breakdown Structure (WBS) in tasks/ derived strictly from PRD.md and specs/. Use when PRD.md and specs/ exist and the user or CTA triggers task compilation. Phase 1 finishes the whole frontend on mock data (UI/UX + mockup-first), then BE+DB, then integration, then final verification — with zero orphan tasks, explicit dependencies, target file scopes, and executable verification commands.
|
|
4
|
+
license: ""
|
|
5
|
+
metadata:
|
|
6
|
+
origin: jioo
|
|
7
|
+
domain: tasks
|
|
8
|
+
stage: compile-tasks
|
|
9
|
+
artifact: "tasks/*.md, traceability.md"
|
|
10
|
+
contract: "Product-Blueprint.md §B.2.4 & §C.3 Stage 5 / docs/04-AGENT-CONTRACT.md §5.4 / packages/contracts/src/bundle.ts"
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
# Tasks Authoring — JIOO 2 WBS Execution Plan
|
|
14
|
+
|
|
15
|
+
**Core Contract:** `PRD + specs → CAP × layer → parent task + subtask`. Wajib semua CAP/aktor/entity/page/NFR material punya task atau `N/A — <alasan>`; tidak ada kuota; FE-first.
|
|
16
|
+
|
|
17
|
+
**Prinsip Fundamental (Wajib):** Lihat `docs/04-AGENT-CONTRACT.md` **Bagian 0** & `Product-Blueprint.md` **§11–§12**.
|
|
18
|
+
- **Tasks = Execution Plan** — Turunkan PRD/Specs ke task actionable; **jangan** tambah scope/requirement.
|
|
19
|
+
- **Feature-First** — Task = turunan dari Core Features → Specs, **bukan** dari struktur folder.
|
|
20
|
+
- **User Flow First** — Alur aktor adalah tulang punggung: dekomposisi dimulai dari `FLOW-XXX/STEP-XX` (PRD §6 → specs Flow Coverage), bukan dari daftar fitur yang lalu dipasangi flow. UI/backend sebuah step adalah tanggung jawab step itu; fitur yang tidak melayani step alur mana pun = scope creep. FE-first tetap: halaman/step di Phase 1, backend/step menyusul.
|
|
21
|
+
- **Module & Concern Traceability** — Task wajib `moduleId` (jika modul ada) & `concernIds[]`; L2 gate enforce `MODULE_WITHOUT_SPEC`, `MODULE_UNUSED`, `CONCERN_UNKNOWN`.
|
|
22
|
+
- **Zero Orphan/Phantom** — Setiap task trace ke `REQ-XXX`/`SPEC-XXX`; setiap `REQ` punya task; L2 gate enforce.
|
|
23
|
+
- **Validator, Not Creator** — Tasks = rencana eksekusi PRD/Specs, **bukan** tentukan scope/arsitektur baru.
|
|
24
|
+
- **Jangan tentukan implementasi** — jangan memilih library/pola kode/struktur internal kecuali PRD/specs mewajibkannya. Task berhenti di outcome + kontrak + scope + verifikasi; detail implementasi milik Local Agent.
|
|
25
|
+
|
|
26
|
+
Your single responsibility is compiling actionable, deterministic development tasks under `tasks/` derived strictly from `PRD.md` and `specs/`.
|
|
27
|
+
|
|
28
|
+
## Target Artifacts
|
|
29
|
+
|
|
30
|
+
1. **`tasks/TASKS.md`** (always required by the bundle gate):
|
|
31
|
+
- **Task ID allocation** — `tasks/TASKS.md` mendaftarkan setiap `TASK-XXX` yang dipakai bundle (ID stabil, 3+ digit, nama file `tasks/TASK-XXX-name.md` cocok dengan `id:`). Tidak ada ID yang dipakai tanpa dialokasikan di sini.
|
|
32
|
+
- The four-phase execution plan (FE-First → BE+DB → Integration → Final Verification), DAG order, and task index.
|
|
33
|
+
- **Screen inventory** for UI products: `Route/Page | Fitur/Sub-fitur (PRD §5) | Flow/step | Task FE | Interaksi kunci | User mental step | UI states | Responsive`. Every route, §5 feature, and flow step that owns a screen must appear here before Phase 1 can be called complete.
|
|
34
|
+
- **User Flow Coverage** table: `Flow ID | Step | Owner Task | Verification`. Every `FLOW-XXX/STEP-XX` in `specs/` `## Flow Coverage` must appear with at least one existing owner task.
|
|
35
|
+
- **Lifecycle Coverage** table: `Entity ID | Entity | States/Ref | Owner Task`. Every entity in `specs/` `## Lifecycle Coverage` must appear with the same `Entity ID` from specs (`ENTITY-XXX`) and at least one existing owner task; every state transition/failure path that needs work must be covered by its owner task's Acceptance Criteria.
|
|
36
|
+
- **Engine Coverage** table: `Aspek | Owner Task`. Every aspect in `specs/SPECS.md` `## Engine Mental Model` must appear with at least one existing owner task.
|
|
37
|
+
- **Isolation Coverage** table: `Isolation ID | Owner Task` (atau `N/A — <alasan>` bila tidak ada `ISOLATION-XXX`).
|
|
38
|
+
- Bila sebuah coverage (Lifecycle/Engine/User Flow/Isolation) tidak berlaku, tulis `N/A — <alasan>` di `tasks/TASKS.md` — jangan biarkan kosong.
|
|
39
|
+
- For modular projects, individual task files `tasks/TASK-001-name.md` — the file name **must** match the task's `id:`.
|
|
40
|
+
2. **`traceability.md`** at root of `project-bundle/`:
|
|
41
|
+
- Matrix mapping `REQ-XXX` (atau `FR-XXX`, prefix yang sama dengan PRD) → `SPEC-XXX` → `TASK-XXX`, tanpa tautan rusak.
|
|
42
|
+
|
|
43
|
+
> **Envelope & kontrak task**: lihat `.jioogen/authoring/knowledge/library/tasks/tasks-standard.md` (knowledge `K-TASK-010`, dimuat pada tahap Tasks). Ringkas: setiap task wajib `id`, `subfeatures`, `targetFiles`, `verificationCommand`, `acceptance`; `checkpoint: true` pada task pertama setiap fase/pergantian layer.
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
Jangan membuat `TASK-XXX` untuk setiap CRUD/route/test. Target task = CAP × layer,
|
|
47
|
+
bukan jumlah fitur (ribuan). **Jumlah fitur & sub-fitur di PRD §5 TIDAK dibatasi
|
|
48
|
+
oleh jumlah task**: satu task mengimplementasi banyak fitur sekaligus lewat
|
|
49
|
+
`featureId: FEATURE-001, FEATURE-002` dan `subfeatures: [SUBFEATURE-001, …]`.
|
|
50
|
+
Pecah task hanya jika eksekusi benar-benar butuh konteks/verifikasi terpisah.
|
|
51
|
+
Saat repair menemukan fitur/subfitur PRD yang belum ter-cover, **Tambahkan task
|
|
52
|
+
atau perluas `featureId`/`subfeatures` task yang ada — JANGAN menghapus fitur
|
|
53
|
+
dari PRD §5**.
|
|
54
|
+
|
|
55
|
+
**FE envelope (required for every `frontend_mock` task):**
|
|
56
|
+
|
|
57
|
+
| Field | Requirement |
|
|
58
|
+
|---|---|
|
|
59
|
+
| **Surface** | `surface: <route/page/component>` — the exact UI surface this task finishes. |
|
|
60
|
+
| **UI States** | `uiStates: [loading, empty, error, success]` — every state this surface must render. |
|
|
61
|
+
| **Responsive** | `responsive: mobile + desktop` (or the product's real surfaces). |
|
|
62
|
+
| **Mock Source** | `mockSource: <path/file>` — the mock data/service the FE runs on. No real backend call in Phase 1. |
|
|
63
|
+
| **Mockup Ref** | `mockupRef: <screen-map id / spec section>` — the mockup or screen map this task realizes. If no mockup artifact exists, write `mockupRef: N/A — <reason>` and still realize the screen from the §5/§6 map. Never create a mockup that is not implemented. |
|
|
64
|
+
|
|
65
|
+
## Empat Fase Eksekusi — FE First, Backend Kemudian
|
|
66
|
+
|
|
67
|
+
`phase` adalah **fase eksekusi**, bukan fase roadmap PRD. Urutannya tetap:
|
|
68
|
+
FE selesai total dulu, backend belakangan.
|
|
69
|
+
|
|
70
|
+
| Fase | Layer | Isi | Selesai bila |
|
|
71
|
+
|---|---|---|---|
|
|
72
|
+
| **1. FE UI/UX + Mockup First** | `frontend_mock` | Semua route/halaman, navigasi, komponen, interaksi, form + validasi UI, UI states (loading/empty/error/success), responsive, design token, mock data/mock service. Mockup/screen map diwujudkan menjadi frontend aktual. | Semua halaman & navigasi berfungsi; semua fitur FE tersedia; semua interaksi/form/validasi bekerja; semua UI state ada; responsive benar; tidak ada tombol/halaman dekorasi; AC FE terverifikasi. |
|
|
73
|
+
| **2. BE + DB** | `database` → `backend_api` | Skema + migrasi, repository/query, endpoint & kontrak, auth/permission, validasi, aturan bisnis, error contract, transisi state. | Semua skema/endpoint selesai dan `verificationCommand` masing-masing exit 0. |
|
|
74
|
+
| **3. Integrasi** | `integration` | Sambungkan FE ke API nyata, ganti mock, sesi/auth, error/loading/empty dari data nyata, env/config, alur end-to-end. | UI berjalan dengan data nyata; tidak ada mock tersisa di jalur utama. |
|
|
75
|
+
| **4. Final Verification** | `verification` | Jalankan seluruh `verificationCommand`, smoke test route/navigasi, cek state/responsive, verifikasi AC. | Semua command exit 0; semua AC FE/BE terbukti; tidak ada regresi. |
|
|
76
|
+
|
|
77
|
+
**Produk client-only.** Bila `Profil produk` menyatakan `runtime: client-only`, hanya emit Phase 1 `frontend_mock` dan Phase 4 `verification`; ganti mock dengan local persistence (localStorage/IndexedDB). Jangan membuat task `database`/`backend_api`/`integration`, dan jangan memakai `contracts: [CONTRACT-XXX]`; gate menolak `BACKEND_TASK_IN_CLIENT_ONLY` dan `CONTRACT_IN_CLIENT_ONLY`.
|
|
78
|
+
|
|
79
|
+
**Aturan keras FE First:**
|
|
80
|
+
1. **Semua `frontend_mock` wajib `phase: 1`.** `database`/`backend_api` `phase: 2`, `integration` `phase: 3`, `verification` `phase: 4`. Gate menolak `PHASE_LAYER_MISMATCH`.
|
|
81
|
+
- **Hard rule:** task dengan layer `database`, `backend_api`, atau `integration` **tidak boleh** berada di phase 1 — penempatan ini adalah kegagalan gate. Phase 1 hanya `frontend_mock` (atau layer yang benar-benar ada untuk produk non-UI); backend/database/integration selalu phase 2–4.
|
|
82
|
+
2. **Task `frontend_mock` dilarang `dependsOn` task layer lain.** FE harus selesai mandiri dengan mock data/mock service; gate menolak `FE_DEPENDS_ON_LATER_LAYER`.
|
|
83
|
+
3. **Jangan memasukkan pekerjaan BE/DB ke fase FE.** Butuh data? Pakai mock service, bukan endpoint nyata.
|
|
84
|
+
4. **Mockup wajib terwujud.** Jangan membuat mockup terpisah yang tidak menjadi frontend. Setiap task FE menunjuk `mockupRef` (screen map/spec) atau `N/A — <alasan>`.
|
|
85
|
+
5. **Bundle ber-UI wajib punya task final `layer: verification` (phase 4).** Gate menolak `MISSING_FINAL_VERIFICATION`.
|
|
86
|
+
6. **Produk non-UI** (service, CLI, library, data, embedded) tidak punya `frontend_mock`; mulai dari layer yang benar-benar ada. Task final verification tetap disarankan.
|
|
87
|
+
7. **Entrypoint = task pertama layer pertama.** Siapkan manifest, entrypoint, shell/surface (bila ada UI), design token (bila ada UI), dan test runner di task layer pertama. Persistence/backend/service setup masuk layer berikutnya sesuai sinyal — jangan menunda scaffold yang membuat entrypoint bisa dijalankan ke fase backend. Layer adalah label protokol; UI hanyalah salah satu bentuk surface.
|
|
88
|
+
8. **Lifecycle Coverage wajib.** Setiap entity di `specs/` `## Lifecycle Coverage` harus muncul di `tasks/TASKS.md` `## Lifecycle Coverage` dengan `Entity ID` yang sama persis (`ENTITY-XXX`) dan minimal satu owner task yang ada; linter mencocokkan per `Entity ID` bila kedua sisi punya kolom itu, dan jatuh ke nama entity bila tidak. Task owner mendeklarasikan `lifecycleRefs` dan Acceptance Criteria-nya mencakup transisi/failure path yang relevan. Jangan membuat task lifecycle untuk entity yang tidak ada di PRD/specs.
|
|
89
|
+
9. **Engine Coverage wajib.** Setiap aspek di `specs/SPECS.md` `## Engine Mental Model` harus muncul di `tasks/TASKS.md` `## Engine Coverage` dengan owner task yang ada; task owner mendeklarasikan `engineRef`. Jangan mengarang aspek/boundary/ownership baru di luar specs.
|
|
90
|
+
10. **User Flow Coverage wajib.** Setiap `FLOW-XXX/STEP-XX` di `specs/` `## Flow Coverage` harus muncul di `tasks/TASKS.md` `## User Flow Coverage` dengan owner task yang ada; task owner mendeklarasikan `flowRef`. Langkah tanpa screen/aksi/respons/outcome harus dilengkapi task FE; alternative dan failure flow yang relevan tidak boleh hilang.
|
|
91
|
+
11. **Design Token kontekstual.** Sebelum task UI, inspeksi token/theme/CSS variables/Tailwind/komponen/design reference yang sudah ada (`docs/DESIGN.md`, specs, dan codebase). Task UI wajib `designTokens` (`reuse`/`extend`/`minimal`/`N/A` beralasan), AC menolak hardcoded value bila token tersedia, dan token baru hanya untuk nilai visual berulang. Jangan membuat design system baru atau mengganti styling di luar scope; jika tidak ada UI, jangan membuat token.
|
|
92
|
+
12. **Isolation Coverage wajib.** Setiap `ISOLATION-XXX` di `specs/` `## Isolation Coverage` harus muncul di `tasks/TASKS.md` `## Isolation Coverage` dengan minimal satu owner task yang ada. Task owner mendeklarasikan `isolationRefs` dan Acceptance Criteria-nya membuktikan penolakan akses lintas pemilik/tenant. Jangan membuat isolation boundary di luar PRD/specs.
|
|
93
|
+
13. **Contract pairing + contract test.** Task FE (`frontend_mock`) dan BE (`backend_api`/`database`) yang berbagi kontrak wajib mendeklarasikan `contracts: [CONTRACT-XXX]` yang sama. Gate menolak `CONTRACT_WITHOUT_SPEC` (kontrak tidak ada di specs) dan `CONTRACT_WITHOUT_PAIR` (kontrak FE tanpa owner BE). `verificationCommand` FE dan BE harus memuat contract test yang memvalidasi mock/API terhadap kontrak yang sama — jangan hanya type-check UI.
|
|
94
|
+
14. **Integration task wajib bila ada FE + BE.** Task `layer: integration` menghubungkan FE ke API nyata; AC-nya wajib membuktikan **mock dihapus dari jalur utama** dan alur E2E berjalan dengan data nyata. Gate menolak `MISSING_INTEGRATION_TASK`.
|
|
95
|
+
15. **`dependsOn` semantik, bukan urutan fase.** Isi `dependsOn` hanya untuk dependensi data/kontrak nyata. Jangan menambah edge BE→FE hanya untuk memaksa FE selesai dulu — urutan sudah dijamin `phase` (FE=1, BE=2) + checkpoint. Edge urutan yang tidak perlu membuat BE menunggu seluruh FE dan memperbesar drift.
|
|
96
|
+
16. **`verificationCommand` menutup seluruh Acceptance Criteria.** Command wajib menjalankan **setiap** perintah yang diimplikasikan AC — mis. AC menyebut build **dan** test berarti `npm run build && npm test` (atau ekuivalen yang menjalankan keduanya). Shortcut satu perintah yang tidak mengeksekusi salah satu AC adalah defect authoring, bukan efisiensi. Dilarang memakai flag yang memalsukan sukses (mis. `--passWithNoTests`): exit 0 tanpa eksekusi nyata bukan bukti.
|
|
97
|
+
17. **`targetFiles` memuat semua file yang harus dibuat/diedit untuk memenuhi AC.** Sertakan file test, fixture, config, dan file CSS/token bila AC membutuhkannya — bukan hanya file sumber utama. Menulis di luar `targetFiles` dilarang, jadi daftar yang tidak lengkap adalah defect generasi dan memaksa eksekutor melanggar scope.
|
|
98
|
+
18. **Entrypoint pertama wajib runnable (framework-agnostic).** Task pertama yang memiliki kode harus memiliki satu task pemilik **entrypoint + manifest proyek** — entry file milik stack yang dipakai (web layout/page, service/server, CLI bin, mobile main, embedded main) dan manifest yang sesuai (mis. `package.json`, `Cargo.toml`, `go.mod`, `pyproject.toml`, `pubspec.yaml`, `CMakeLists.txt`, `platformio.ini`). `verificationCommand`-nya menjalankan build/compile **dan** smoke start/dev/run yang setara untuk stack itu. Nama file/perintah di atas adalah contoh; pilih sesuai sinyal stack proyek, bukan default archetype. Gate audit menolak `ENTRYPOINT_NOT_RUNNABLE`.
|
|
99
|
+
|
|
100
|
+
## Fullstack Completeness (conditional, on-demand)
|
|
101
|
+
|
|
102
|
+
Bila produk fullstack, baca `.jioogen/authoring/knowledge/library/tasks/conditional-coverage-a.md` (`K-TASK-011`). Tidak dimuat default.
|
|
103
|
+
|
|
104
|
+
## Capability Model Ownership
|
|
105
|
+
|
|
106
|
+
Setiap baris `Required=yes` di `specs/SPECS.md` `## Capability Model` wajib punya owner task yang ada. Jangan menutup CAP dengan task yang tidak relevan; jika CAP tidak berlaku, ubah `Required=no` + alasan di specs, bukan mengarang task.
|
|
107
|
+
|
|
108
|
+
## Auth/CMS/Interaction Coverage (conditional, on-demand)
|
|
109
|
+
|
|
110
|
+
Bila produk punya auth/back-office/interaksi kaya, baca `.jioogen/authoring/knowledge/library/tasks/conditional-coverage-b.md` (`K-TASK-012`). Tidak dimuat default.
|
|
111
|
+
|
|
112
|
+
## Cross-Tier Coverage Ledger (wajib)
|
|
113
|
+
|
|
114
|
+
`tasks/TASKS.md` wajib memuat tabel `CAP | Spec owner | Task owner | Gap` untuk
|
|
115
|
+
setiap `CAP-*` yang tersirat (lihat `CAPABILITY-INDEX.md`). Satu baris per CAP,
|
|
116
|
+
bukan per fitur/actor/page/NFR. Detail fitur hidup di task domain dalam CAP itu.
|
|
117
|
+
|
|
118
|
+
Setiap baris punya task owner yang ada, atau `N/A — <alasan produk>`. Catatan:
|
|
119
|
+
`N/A` di ledger ini **tidak** memuaskan gate CAP — gate membaca kolom `Required`
|
|
120
|
+
di `## Capability Model`. Untuk CAP yang tidak berlaku, ubah `Required=no` +
|
|
121
|
+
alasan di specs (lihat §Capability Model Ownership); `N/A` hanya penanda jujur di
|
|
122
|
+
ledger. CAP material yang tidak punya task = gap, bukan "nanti". Jangan memangkas task
|
|
123
|
+
karena anti-bloat: anti-bloat hanya membuang task palsu/duplikat, bukan
|
|
124
|
+
deliverable yang diminta PRD.
|
|
125
|
+
|
|
126
|
+
## Dekomposisi User Flow → Task
|
|
127
|
+
|
|
128
|
+
Untuk setiap flow di `specs/`:
|
|
129
|
+
|
|
130
|
+
```
|
|
131
|
+
FLOW-XXX/STEP-XX
|
|
132
|
+
→ Screen/Page + navigation
|
|
133
|
+
→ User action + UI interaction
|
|
134
|
+
→ System response (mock service di Phase 1)
|
|
135
|
+
→ State transition / UI state
|
|
136
|
+
→ Outcome + exit
|
|
137
|
+
→ Task FE (owner di tasks/TASKS.md)
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
Wajib dicek:
|
|
141
|
+
- Setiap langkah punya screen/interface yang relevan; perpindahan screen punya navigasi.
|
|
142
|
+
- Setiap aksi punya respons; setiap kondisi punya decision branch.
|
|
143
|
+
- Setiap state penting punya representasi UI (loading/empty/error/success).
|
|
144
|
+
- Alternative/failure flow punya task/AC sendiri, bukan diabaikan.
|
|
145
|
+
- Screen/komponen yang dipakai bersama diidentifikasi; jangan menduplikasi.
|
|
146
|
+
- Flow bisa dijalankan sampai outcome tanpa BE/DB (mock service sesuai kontrak specs).
|
|
147
|
+
|
|
148
|
+
**Checkpoint manusia:** tandai `checkpoint: true` pada task pertama setiap fase/pergantian layer. Agent lokal berhenti: produk ber-UI diuji di browser, produk non-UI lewat `verificationCommand`/contoh pemakaian. Field `checkpoint` adalah data deklaratif (Domain A); penegakan runtime-nya Domain B — jangan membangun mesinnya di sini.
|
|
149
|
+
|
|
150
|
+
## Orientasi Backlog (phase-first, screen-grouped)
|
|
151
|
+
|
|
152
|
+
1. **Urutan global = fase eksekusi.** Emit `phase 1 — frontend_mock` dulu (semua layar), lalu `phase 2 — database/backend_api`, `phase 3 — integration`, `phase 4 — verification`. Di dalam satu fase, kelompokkan per halaman/fitur; jangan menyelipkan task backend di antara task FE.
|
|
153
|
+
2. **Screen inventory wajib.** `tasks/TASKS.md` memuat tabel `Route/Page | Fitur/Sub-fitur (PRD §5) | Task FE | Interaksi kunci | UI states | Responsive`. Setiap route/halaman dan setiap fitur §5 harus muncul; jika tidak, Phase 1 belum lengkap.
|
|
154
|
+
3. **Parent task per CAP × layer.** Satu parent membawa checklist `subtasks`; jangan pecah per fitur/route/CRUD. Task terpisah hanya bila layer/phase, owner, atau verifikasi berbeda.
|
|
155
|
+
4. **Index & penanda kemajuan.** `tasks/TASKS.md` = indeks eksekusi: urutan DAG + status per task memakai vocab kanonis sidecar (§G.7): `todo → in_progress → verifying → done | failed | blocked`, dengan alasan singkat bila `failed`. (Pelaksana status itu Domain B — skill ini hanya menyediakan tempatnya, bukan mesinnya.)
|
|
156
|
+
|
|
157
|
+
## Invariants
|
|
158
|
+
- **Zero Orphan Tasks:** No task may exist without an upstream requirement ID (`REQ-XXX` or `FR-XXX`) that is declared in `PRD.md`. The L2 gate extracts the PRD's requirement set and flags any task citing an ID the PRD never declared, and any PRD requirement no task covers.
|
|
159
|
+
- **Foundation tasks trace too:** a setup/scaffolding/tooling task must cite an `NFR-XXX` (or a declared `REQ`/`FR`). Never write “No PRD requirement” — L2 flags `ORPHAN_TASK`.
|
|
160
|
+
- **Zero Phantom Requirements:** Every core feature requirement must be mapped to at least one task.
|
|
161
|
+
- **Acyclic, resolvable Dependency:** No cyclic dependencies permitted in `dependsOn`; every entry must resolve to an existing task id or file stem (`DANGLING_DEPENDENCY`).
|
|
162
|
+
- **FE-First Execution:** all `frontend_mock` tasks are `phase: 1`; no `frontend_mock` task depends on `database`/`backend_api`/`integration`; UI bundles have a final `verification` task (`PHASE_LAYER_MISMATCH`, `FE_DEPENDS_ON_LATER_LAYER`, `MISSING_FINAL_VERIFICATION`).
|
|
163
|
+
- **Screen coverage:** every route/page and every §5 feature is mapped in the screen inventory to a Phase-1 FE task; every FE task declares `surface`, `uiStates`, `responsive`, `mockSource`, and `mockupRef`.
|
|
164
|
+
- **Lifecycle coverage:** every entity in `specs/` `## Lifecycle Coverage` is mapped in `tasks/TASKS.md` to at least one existing owner task (`MISSING_LIFECYCLE_COVERAGE`).
|
|
165
|
+
- **Engine coverage:** every aspect in `specs/SPECS.md` `## Engine Mental Model` is mapped in `tasks/TASKS.md` `## Engine Coverage` to an existing owner task (`MISSING_ENGINE_MENTAL_MODEL`).
|
|
166
|
+
- **User Flow coverage:** every `FLOW-XXX/STEP-XX` in `specs/` `## Flow Coverage` is mapped in `tasks/TASKS.md` `## User Flow Coverage` to an existing owner task (`MISSING_FLOW_COVERAGE`).
|
|
167
|
+
- **Isolation coverage:** every `ISOLATION-XXX` in `specs/` `## Isolation Coverage` is mapped in `tasks/TASKS.md` `## Isolation Coverage` to an existing owner task; the task declares `isolationRefs` and its AC proves cross-owner/tenant access is rejected (`ISOLATION_WITHOUT_OWNER`, `ISOLATION_WITHOUT_SPEC`).
|
|
168
|
+
- **Design token adoption:** every UI task inspects the existing token/theme/component system first, declares `designTokens` (`reuse`/`extend`/`minimal`/`N/A`), and does not hardcode visual values when a token exists. Tokens are added only for repeated visual values; no new design system without a real need.
|
|
169
|
+
- **Executable verification:** each `verificationCommand` is deterministic, exits 0, and any test file it invokes is created by that task (listed in `targetFiles`).
|
|
170
|
+
- **Module traceability:** a task declaring `moduleId: MODULE-XXX` must reference a module declared in `specs/`; L2 flags `MODULE_WITHOUT_SPEC`. A declared module with no owning task is flagged `MODULE_UNUSED`.
|
|
171
|
+
- **Concern traceability:** a task declaring `concernIds` must reference canonical or declared concerns; L2 flags `CONCERN_UNKNOWN`.
|
|
172
|
+
- **Contract pairing:** a task declaring `contracts` must reference a `CONTRACT-XXX` declared in `specs/` (`CONTRACT_WITHOUT_SPEC`). A contract used by a `frontend_mock` task must also be used by at least one `backend_api`/`database` task (`CONTRACT_WITHOUT_PAIR`); FE and BE sharing a contract must run the same contract test.
|
|
173
|
+
- **Integration coverage:** when a bundle has both FE and BE tasks, it must have at least one `layer: integration` task that removes the mock from the main path and proves the real E2E flow (`MISSING_INTEGRATION_TASK`).
|
|
174
|
+
- **Dependency semantics:** `dependsOn` encodes real data/contract dependencies; phase (`frontend_mock`=1 → BE=2 → integration=3 → verification=4) already enforces FE-first. Do not add BE→FE edges only to force phase order.
|
|
175
|
+
- **Traceability chain:** `User Need → Core Feature → Subfeature → Requirement → Specs → Technical Module → Tasks → Acceptance Criteria → Verification`. Every link must be traceable; no link may be broken.
|
|
176
|
+
- **Write files to disk:** Always use `write_file`/`edit_file` against `tasks/` and `traceability.md`.
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
## Self-check & Auto-Heal sebelum turn selesai
|
|
180
|
+
|
|
181
|
+
Kamu adalah pemilik Tasks. Sebelum menutup turn, jalankan siklus ini pada
|
|
182
|
+
hasilmu sendiri — Tasks yang belum tuntas bukan COMPLETE:
|
|
183
|
+
|
|
184
|
+
**1. INSPECT** — baca `PRD.md`, seluruh `specs/*.md`, `tasks/TASKS.md`, seluruh
|
|
185
|
+
`tasks/*.md`, dan `traceability.md`.
|
|
186
|
+
|
|
187
|
+
**2. DIAGNOSE** — periksa ledger Tasks:
|
|
188
|
+
- Setiap `REQ-XXX`/`FR-XXX` di PRD punya task yang merujuknya (zero uncovered).
|
|
189
|
+
- Setiap task merujuk requirement yang benar-benar ada (zero orphan); task
|
|
190
|
+
foundation memakai `NFR-XXX` atau requirement yang dideklarasikan.
|
|
191
|
+
- `dependsOn` membentuk DAG asiklik, setiap entri resolve ke task yang ada, dan
|
|
192
|
+
- Setiap task punya `tracesTo` berisi REQ/NFR yang benar-benar ada di PRD; footer-ID saja tanpa tracesTo = temuan.
|
|
193
|
+
tidak menunjuk task setelahnya.
|
|
194
|
+
- Semua `frontend_mock` `phase: 1`; tidak ada FE yang bergantung pada layer
|
|
195
|
+
`database`/`backend_api`/`integration`; bundle ber-UI punya task final
|
|
196
|
+
`layer: verification` (phase 4).
|
|
197
|
+
- Setiap `AC-XXX` di §11 PRD punya pemilik task.
|
|
198
|
+
- Setiap Core Feature (§5) punya task (`featureId` bila §5 memuat ID).
|
|
199
|
+
- Cross-tier ledger lengkap: setiap actor/entity/page/NFR/cross-cutting dari PRD punya task owner atau `N/A — <alasan>`; tidak ada yang hilang saat dekomposisi.
|
|
200
|
+
- **Setiap task file wajib punya `cap: CAP-XXX` valid dari `CAPABILITY-INDEX.md`. Task tanpa `cap` = temuan `MISSING_CAP_FIELD`. `cap` harus konsisten dengan `tasks/TASKS.md` Cross-Tier Ledger.**
|
|
201
|
+
- Setiap `SUBFEATURE-XXX` di PRD §5 punya owner task (tercantum di `subfeatures`
|
|
202
|
+
task itu); tidak ada subfeature PRD tanpa task pemilik.
|
|
203
|
+
- `moduleId` hanya merujuk `MODULE-XXX` yang dideklarasikan di specs/; setiap
|
|
204
|
+
modul punya task pemilik; `concernIds` hanya concern kanonik/terdeklarasi.
|
|
205
|
+
- **`moduleId` tunggal** — SATU `MODULE-XXX`, berbeda dari `featureId`/`concernIds`
|
|
206
|
+
yang boleh jamak. Jangan menulis `moduleId: MODULE-A, MODULE-B`; task yang
|
|
207
|
+
menyentuh beberapa modul pilih modul utama di sini lalu pecah task per modul
|
|
208
|
+
atau tutupi sisanya lewat `concernIds`/task pemilik lain. Comma-list akan dibaca
|
|
209
|
+
gate sebagai satu id tak dikenal (`MODULE_WITHOUT_SPEC`) dan membuat modul aslinya
|
|
210
|
+
tampak tanpa pemilik (`MODULE_UNUSED`).
|
|
211
|
+
- Setiap `contracts` merujuk `CONTRACT-XXX` yang ada di specs/; setiap kontrak
|
|
212
|
+
yang dipakai task FE punya owner task BE; FE dan BE yang berbagi kontrak
|
|
213
|
+
menjalankan contract test yang sama.
|
|
214
|
+
- Bila ada task FE dan BE, ada task `layer: integration` dengan AC mock dihapus
|
|
215
|
+
dari jalur utama dan E2E data nyata.
|
|
216
|
+
- `specRef` hanya merujuk `SPEC-XXX` yang benar-benar ada di `specs/`.
|
|
217
|
+
- `tasks/TASKS.md` ada bila ada >1 task; screen inventory menutup semua
|
|
218
|
+
route/halaman dan fitur §5; `traceability.md` memetakan `REQ/FR → SPEC → TASK`
|
|
219
|
+
tanpa tautan rusak.
|
|
220
|
+
- Setiap entity di `specs/` `## Lifecycle Coverage` punya baris di
|
|
221
|
+
`tasks/TASKS.md` dengan owner task yang benar-benar ada; task owner memuat
|
|
222
|
+
`lifecycleRefs` dan AC untuk transisi/failure path-nya.
|
|
223
|
+
- Setiap aspek di `specs/SPECS.md` `## Engine Mental Model` punya baris di
|
|
224
|
+
`tasks/TASKS.md` `## Engine Coverage` dengan owner task yang ada; task owner
|
|
225
|
+
memuat `engineRef`.
|
|
226
|
+
- Setiap `FLOW-XXX/STEP-XX` di `specs/` `## Flow Coverage` punya baris di
|
|
227
|
+
`tasks/TASKS.md` `## User Flow Coverage` dengan owner task; task owner memuat
|
|
228
|
+
`flowRef`; alternative/failure flow punya task/AC.
|
|
229
|
+
- Setiap `ISOLATION-XXX` di `specs/` `## Isolation Coverage` punya baris di
|
|
230
|
+
`tasks/TASKS.md` `## Isolation Coverage` dengan owner task; task owner memuat
|
|
231
|
+
`isolationRefs` dan AC-nya membuktikan akses lintas pemilik/tenant ditolak.
|
|
232
|
+
- Bila produk punya akun/user: `tasks/TASKS.md` memuat tabel auth yang menutup
|
|
233
|
+
signup/signin/signout, session/remember/refresh, profile/settings, dan
|
|
234
|
+
**change/reset password**; SSO-only menulis `N/A — SSO` beralasan
|
|
235
|
+
(`AUTH_SURFACE_COVERAGE_MISSING`).
|
|
236
|
+
- Setiap task UI punya `designTokens`; inspeksi sistem yang sudah ada, tidak ada
|
|
237
|
+
hardcoded value bila token tersedia, dan token baru hanya untuk kebutuhan
|
|
238
|
+
berulang yang nyata.
|
|
239
|
+
- Setiap task FE punya `surface`, `uiStates`, `responsive`, `mockSource`,
|
|
240
|
+
`mockupRef`.
|
|
241
|
+
- Setiap task punya `verificationCommand` deterministik dan `targetFiles` yang
|
|
242
|
+
pas; file test yang dipanggil command ikut masuk `targetFiles`; `verificationCommand`
|
|
243
|
+
memakai runner yang didukung (`pnpm`/`npm`/`npx`/`node`/`tsx`/`vitest`/`go test`/
|
|
244
|
+
`pytest`/`cargo`/`make`/`deno`/`bun`) dan **tidak menggunakan flag** yang memalsukan
|
|
245
|
+
sukses (`--passWithNoTests` dilarang).
|
|
246
|
+
|
|
247
|
+
**3. FIX** — perbaiki sendiri temuan itu di turn ini. Boleh memecah/menggabung
|
|
248
|
+
task atau memperbaiki `dependsOn`, tetapi tidak boleh menciptakan requirement,
|
|
249
|
+
fitur, atau scope baru.
|
|
250
|
+
|
|
251
|
+
**4. VALIDATE** — baca ulang. Lulus bila gate mesin berikut bersih:
|
|
252
|
+
`ORPHAN_TASK`, `UNCOVERED_REQUIREMENT`, `AC_WITHOUT_OWNER`,
|
|
253
|
+
`FEATURE_WITHOUT_TASK`, `CYCLIC_DEPENDENCY`, `DANGLING_DEPENDENCY`,
|
|
254
|
+
`DANGLING_SPEC_REFERENCE`, `PHASE_LAYER_MISMATCH`,
|
|
255
|
+
`FE_DEPENDS_ON_LATER_LAYER`, `MISSING_FINAL_VERIFICATION`,
|
|
256
|
+
`MISSING_LIFECYCLE_COVERAGE`, `MISSING_USER_MENTAL_MODEL`,
|
|
257
|
+
`MISSING_ENGINE_MENTAL_MODEL`, `MISSING_FLOW_COVERAGE`, `MODULE_WITHOUT_SPEC`,
|
|
258
|
+
`MODULE_UNUSED`, `CONCERN_UNKNOWN`, `CONTRACT_WITHOUT_SPEC`,
|
|
259
|
+
`CONTRACT_WITHOUT_PAIR`, `MISSING_INTEGRATION_TASK`,
|
|
260
|
+
`MISSING_ISOLATION_COVERAGE`, `ISOLATION_WITHOUT_SPEC`,
|
|
261
|
+
`ISOLATION_WITHOUT_OWNER`, `MISSING_TASKS_INDEX`, `DANGLING_REFERENCE`,
|
|
262
|
+
`MISSING_CAP_FIELD`, `CAP_WITHOUT_OWNER`, `VERIFICATION_COMMAND_TOO_GENERIC`,
|
|
263
|
+
`TARGET_FILES_MISSING_TEST`.
|
|
264
|
+
|
|
265
|
+
**Definisi COMPLETE Phase 1 (FE):** semua halaman, navigasi, fitur FE,
|
|
266
|
+
interaksi, form + validasi UI, UI states, responsive, mock service, dan mockup
|
|
267
|
+
yang diwujudkan sudah ada; **setiap FLOW-XXX/STEP-XX punya owner task dan dapat
|
|
268
|
+
dijalankan sampai outcome, termasuk alternative/failure flow**; **visual mengikuti
|
|
269
|
+
design token/theme yang ada atau keputusan `minimal`/`extend` yang tercatat**;
|
|
270
|
+
tidak ada tombol/halaman dekorasi; seluruh AC FE terverifikasi; backend/database
|
|
271
|
+
tidak dipanggil. Tasks/COMPLETE tidak boleh diklaim hanya karena file berhasil dibuat.
|
|
272
|
+
|
|
273
|
+
**STOP** — ulangi hanya bila masih ada temuan yang bisa diperbaiki. Temuan yang
|
|
274
|
+
membutuhkan keputusan user (scope, arsitektur yang mengubah requirement) harus
|
|
275
|
+
ditampilkan sebagai blok keputusan — bukan dikarang, bukan dianggap selesai.
|
|
276
|
+
## Prinsip Fundamental (JIOOGEN)
|
|
277
|
+
|
|
278
|
+
Wajib: `docker/AGENTS.md` §6 — dimuat sebagai kontrak always-on; tidak diduplikasi di skill.
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
name: tasks-authoring
|
|
2
|
+
displayName: "Tasks Authoring"
|
|
3
|
+
description: "Compile FE-first WBS from PRD and Specs"
|
|
4
|
+
version: "1.1.0"
|
|
5
|
+
authority: "standard"
|
|
6
|
+
phase: "tasks"
|
|
7
|
+
capability: "task-planning"
|
|
8
|
+
category: "authoring"
|
|
9
|
+
dependencies: ["prd-authoring", "specs-authoring"]
|
|
10
|
+
provides:
|
|
11
|
+
- "tasks-wbs"
|
|
12
|
+
- "traceability"
|
|
13
|
+
- "lifecycle-coverage"
|
|
14
|
+
- "engine-coverage"
|
|
15
|
+
- "flow-coverage"
|
|
16
|
+
- "isolation-coverage"
|
|
17
|
+
requiresKnowledge:
|
|
18
|
+
- "K-INS-001"
|
|
19
|
+
- "K-TASK-001"
|
|
20
|
+
- "K-TASK-010"
|
|
21
|
+
- "K-TASK-003"
|
|
22
|
+
- "K-DOM-001"
|
|
23
|
+
entryPoints:
|
|
24
|
+
compile: "compile_tasks"
|
|
25
|
+
outputArtifacts:
|
|
26
|
+
- "tasks/TASKS.md"
|
|
27
|
+
- "tasks/TASK-*.md"
|
|
28
|
+
- "traceability.md"
|
|
29
|
+
gateCodes:
|
|
30
|
+
- "lintBundle"
|
|
31
|
+
supportsOverlays: []
|
|
32
|
+
tags: ["authoring", "tasks", "wbs", "fe-first", "phase-tasks"]
|