jioogen 0.2.8 → 0.2.10
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 +10 -4
- package/authoring-pack/agent/discovery.md +1 -1
- package/authoring-pack/agent/prd.md +7 -3
- package/authoring-pack/agent/specs.md +10 -6
- package/authoring-pack/agent/tasks.md +12 -8
- package/authoring-pack/knowledge/catalog.generated.json +465 -3
- package/authoring-pack/knowledge/library/discovery/discovery-standard.md +47 -3
- 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/capability-coverage.md +2 -2
- package/authoring-pack/knowledge/library/prd/decomposition.md +1 -1
- package/authoring-pack/knowledge/library/prd/prd-standard.md +6 -2
- package/authoring-pack/knowledge/library/prd/self-check.md +9 -2
- package/authoring-pack/knowledge/library/prd/writing-style.md +2 -2
- package/authoring-pack/knowledge/library/qa/gate-reference.md +21 -16
- package/authoring-pack/knowledge/library/specs/specs-standard.md +12 -10
- package/authoring-pack/knowledge/library/tasks/conditional-coverage-b.md +3 -3
- package/authoring-pack/knowledge/library/tasks/tasks-standard.md +9 -9
- 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 +105 -25
- package/authoring-pack/skills/business-discovery/SKILL.md +22 -0
- package/authoring-pack/skills/creative-discovery/SKILL.md +11 -0
- package/authoring-pack/skills/prd-authoring/SKILL.md +54 -6
- package/authoring-pack/skills/product-discovery/SKILL.md +16 -5
- package/authoring-pack/skills/specs-authoring/SKILL.md +26 -22
- package/authoring-pack/skills/specs-authoring/skill.yaml +1 -1
- package/authoring-pack/skills/tasks-authoring/SKILL.md +44 -29
- package/authoring-pack/skills/tasks-authoring/skill.yaml +1 -1
- package/dist/index.js +4279 -2608
- package/dist/index.js.map +4 -4
- package/package.json +1 -1
- 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,33 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: K-GAME-205
|
|
3
|
+
title: Genre — Tower Defense
|
|
4
|
+
version: "1"
|
|
5
|
+
authority: reference
|
|
6
|
+
category: domain
|
|
7
|
+
kind: reference
|
|
8
|
+
source: docs/knowledge/library/gamedev/genres/tower-defense.md
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# Tower Defense
|
|
12
|
+
|
|
13
|
+
> Adaptasi Apache-2.0 dari awesome-gamedev-agent-skills `skills/genres/tower-defense`.
|
|
14
|
+
|
|
15
|
+
## Sistem inti
|
|
16
|
+
|
|
17
|
+
- **Lane / maze pathing** — jalur tetap atau maze yang dibentuk pemain; pathing harus deterministik.
|
|
18
|
+
- **Wave pacing** — interval, komposisi, dan eskalasi wave yang terukur.
|
|
19
|
+
- **Targeting** — first/last/strongest/closest; satu aturan per menara yang dinyatakan.
|
|
20
|
+
- **Counter** — unit berarmor vs cepat vs terbang menuntut menara yang berbeda.
|
|
21
|
+
- **Gold economy** — pendapatan, biaya, dan upgrade harus menjaga kurva tetap menantang.
|
|
22
|
+
|
|
23
|
+
## Desain
|
|
24
|
+
|
|
25
|
+
- Wave curve harus bisa diperiksa: total HP per wave vs DPS yang tersedia wajar.
|
|
26
|
+
- Kebocoran (musuh mencapai base) mengurangi nyawa; aturan kalah/jeda harus jelas.
|
|
27
|
+
- Upgrade menara mengubah peran, bukan hanya menambah angka.
|
|
28
|
+
|
|
29
|
+
## Acceptance observable
|
|
30
|
+
|
|
31
|
+
- Pathing konsisten dan tidak macet untuk layout yang valid.
|
|
32
|
+
- Setiap wave bisa diselesaikan dengan strategi yang masuk akal (dapat diuji).
|
|
33
|
+
- Ekonomi tidak membuat pemain stuck tanpa opsi.
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: K-GAME-207
|
|
3
|
+
title: Genre — Visual Novel
|
|
4
|
+
version: "1"
|
|
5
|
+
authority: reference
|
|
6
|
+
category: domain
|
|
7
|
+
kind: reference
|
|
8
|
+
source: docs/knowledge/library/gamedev/genres/visual-novel.md
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# Visual Novel
|
|
12
|
+
|
|
13
|
+
> Adaptasi Apache-2.0 dari awesome-gamedev-agent-skills `skills/genres/visual-novel`.
|
|
14
|
+
|
|
15
|
+
## Struktur naratif
|
|
16
|
+
|
|
17
|
+
- **Routes & endings** — cabang cerita dan syarat ending harus eksplisit (flag/variabel).
|
|
18
|
+
- **Save anywhere / backlog** — pemain bisa melihat kembali teks dan menyimpan di titik mana pun.
|
|
19
|
+
- **Skip-read-only** — lewati teks yang sudah dibaca, berhenti di pilihan baru.
|
|
20
|
+
- **Typewriter text** — kecepatan teks bisa diatur/dilewati; tidak memblokir input.
|
|
21
|
+
|
|
22
|
+
## Desain
|
|
23
|
+
|
|
24
|
+
- Dialog sebagai data (skrip/JSON) yang dipisah dari engine; engine-agnostik.
|
|
25
|
+
- Kondisi cabang berdasarkan variabel, bukan tersembunyi di kode.
|
|
26
|
+
- Localization ID untuk setiap baris bila multi-bahasa termasuk scope.
|
|
27
|
+
|
|
28
|
+
## Acceptance observable
|
|
29
|
+
|
|
30
|
+
- Setiap ending dapat dicapai lewat pilihan yang dijelaskan.
|
|
31
|
+
- Backlog menampilkan teks sebelumnya; save/load memulihkan posisi dan state.
|
|
32
|
+
- Skip berhenti tepat di pilihan yang belum dibaca.
|
|
@@ -29,8 +29,8 @@ tidak perlu menahan Draft. Jika area material tidak relevan, tulis
|
|
|
29
29
|
- **Product Intent = Authority** — PRD = otoritas maksud; jangan ganti kebutuhan dengan asumsi.
|
|
30
30
|
- **No Fabrication** — Unknown = label `ASSUMPTION:` atau `OPEN QUESTION:`; jangan mengarang.
|
|
31
31
|
- **Draft Never Blocked** — Gap jadi label, bukan gate; `Draft` selalu tersedia.
|
|
32
|
-
- **Feature-First** —
|
|
33
|
-
- **Feature-Driven Discovery** — Discovery menemukan produk, bukan mengisi template
|
|
32
|
+
- **Feature-First (scope, bukan urutan)** — Scope berasal dari Core Features (PRD §5), bukan modul teknis; urutan/dekomposisi tetap **User Flow First** (PRD §6).
|
|
33
|
+
- **Feature-Driven Discovery** — Discovery menemukan produk (Product-Blueprint §12), bukan mengisi template.
|
|
34
34
|
|
|
35
35
|
Your single responsibility is producing one artifact: **`PRD.md`** at the root of
|
|
36
36
|
`project-bundle/`. You do not write specs, you do not write tasks, and you do not
|
|
@@ -39,7 +39,7 @@ dan kedalaman PRD berdasarkan pemahaman produk, bukan mengikuti target tetap.
|
|
|
39
39
|
- Butuh `Selesai bila` yang berbeda per variasi
|
|
40
40
|
- Contoh split: "Pemesanan" → "Pilih Slot", "Bayar", "Batalkan" (state berbeda).
|
|
41
41
|
- Contoh merge: "Klik tombol kirim" + "Tampilkan konfirmasi" tetap satu sub-fitur.
|
|
42
|
-
- Cross-cutting concern (auth, audit, notifikasi) hanya jadi fitur/sub-fitur bila ada kebutuhan produk yang jelas; jangan buat fitur teknis tanpa nilai pengguna. Fitur atomik
|
|
42
|
+
- Cross-cutting concern (auth, audit, notifikasi) hanya jadi fitur/sub-fitur bila ada kebutuhan produk yang jelas; jangan buat fitur teknis tanpa nilai pengguna. Fitur atomik tetap wajib satu `SUBFEATURE-XXX` untuk perilaku intinya (gate menolak blok `####` tanpa `SUBFEATURE-XXX`); kedalaman di atas satu mengikuti penalaran, bukan kuota.
|
|
43
43
|
|
|
44
44
|
4. **Struktur Fase:**
|
|
45
45
|
- Fase = **delivery grouping**, bukan arsitektur teknis
|
|
@@ -61,13 +61,17 @@ mengapa cara itu gagal, dan celah pasar yang dibuka.>
|
|
|
61
61
|
|---|---|---|---|---|---|
|
|
62
62
|
| <Entity> | <state awal → … → terminal> | <event: A → B> | <syarat transisi> | <state akhir> | <retry/rollback/kompensasi> |
|
|
63
63
|
|
|
64
|
-
|
|
64
|
+
### User Mental Model
|
|
65
|
+
|
|
66
|
+
Wajib untuk aktor utama; produk tanpa interaksi → `N/A — alasan`. Daftar persona saja tidak cukup.
|
|
65
67
|
|
|
66
68
|
| Aktor | Tujuan | Ekspektasi saat mulai | Langkah mental | Kosakata user | Titik bingung | Sinyal sukses/trust |
|
|
67
69
|
|---|---|---|---|---|---|---|
|
|
68
70
|
| <Aktor> | <hasil yang ingin dicapai> | <apa yang diasumsikan user> | <langkah yang user pikirkan> | <istilah user> | <momen rawan salah paham> | <bukti bahwa aksi berhasil> |
|
|
69
71
|
|
|
70
|
-
|
|
72
|
+
### Flow Coverage
|
|
73
|
+
|
|
74
|
+
Wajib; setiap flow punya ID stabil `FLOW-XXX`, langkah detail diturunkan di specs.
|
|
71
75
|
|
|
72
76
|
| Flow ID | Actor | Trigger | Preconditions | Steps | Screens | Outcome | Alternative | Failure | Exit |
|
|
73
77
|
|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -110,7 +110,12 @@ JANGAN menyerahkannya ke tahap berikutnya:
|
|
|
110
110
|
20. **Subfeature = unit turunan.** Setiap `SUBFEATURE-XXX` di §5 dipetakan ke
|
|
111
111
|
Specs (heading atau tabel coverage) dan dimiliki minimal satu task; jangan
|
|
112
112
|
membiarkan subfeature PRD tanpa konsumen di `specs/`/`tasks/`.
|
|
113
|
-
21. **
|
|
113
|
+
21. **Business rule terdefinisi, bukan hanya dirujuk.** Setiap `BR-XXX` yang
|
|
114
|
+
disebut di §5 (baris `Aturan:`) atau §7 punya baris definisi di tabel §8
|
|
115
|
+
(`ID | Aturan | Efek bila dilanggar | Fase`). Prosa §8 tanpa ID tidak
|
|
116
|
+
menutupnya; gate `BR_UNDEFINED` memblokir sisa rujukan. Bila produk memang
|
|
117
|
+
tanpa aturan bisnis, tulis `N/A — <alasan>` di §8, bukan aturan karangan.
|
|
118
|
+
22. **Initial Context dihormati.** Bila `Bahasa produk` = multi-bahasa dan tidak
|
|
114
119
|
dikoreksi, §10/§11 memuat kebutuhan user-facing multi-bahasa + language
|
|
115
120
|
switcher. Nilai `scaleProfile`/`languageStrategy` yang tidak dikonfirmasi user
|
|
116
121
|
dan tidak ditimpa `shape`/ledger/brief ditulis `ASSUMPTION: <nilai> — dari
|
|
@@ -118,5 +123,7 @@ JANGAN menyerahkannya ke tahap berikutnya:
|
|
|
118
123
|
|
|
119
124
|
Bila sebuah poin hanya bisa dipenuhi lewat keputusan user, jangan mengarangnya:
|
|
120
125
|
catat sebagai `ASSUMPTION: default = <alasan>` di §12 (aturan "Do not fabricate
|
|
121
|
-
product truth" tetap di atas segalanya
|
|
126
|
+
product truth" tetap di atas segalanya — intent fidelity keras; solusi inventif
|
|
127
|
+
yang grounded pada intent user boleh, ditulis `ASSUMPTION: INVENTIVE <isi> —
|
|
128
|
+
grounded pada <intent>`, bukan fabrication). Self-check ini menjaga draft tetap
|
|
122
129
|
rapi sejak awal — review, bila user memintanya, tinggal memverifikasi.
|
|
@@ -50,9 +50,9 @@ rantai `A → B → C`, bukan paragraf.
|
|
|
50
50
|
|
|
51
51
|
**Lifecycle tidak boleh berupa satu kalimat.** Untuk setiap entity/flow yang state-nya berubah (pesanan, sesi, langganan, pembayaran, tiket, job, dokumen), §6 wajib memuat **Lifecycle Matrix**: states, event + transisi, guard, terminal state, dan failure/recovery. Produk yang benar-benar stateless menulis `N/A — <alasan>`. Ledger `[6] Lifecycles & State Machines` wajib merujuk matriks ini, bukan sekadar menyebut “ada status”.
|
|
52
52
|
|
|
53
|
-
**User Mental Model bukan daftar persona.** §6 wajib memuat
|
|
53
|
+
**User Mental Model bukan daftar persona.** §6 wajib memuat heading `### User Mental Model` beserta tabelnya untuk aktor utama: tujuan, ekspektasi saat mulai, langkah mental, kosakata user, titik bingung, dan sinyal sukses/trust. Tujuannya menangkap cara user *berpikir*, bukan hanya apa yang ia klik. Ledger `[1] Actors & Roles` wajib merujuk tabel ini; profil aktor tanpa mental model belum RESOLVED.
|
|
54
54
|
|
|
55
|
-
**Flow Coverage bukan daftar alur prosa.** Setiap flow dalam scope wajib punya ID stabil `FLOW-XXX` dan
|
|
55
|
+
**Flow Coverage bukan daftar alur prosa.** Setiap flow dalam scope wajib punya ID stabil `FLOW-XXX` dan tabel di bawah heading `### Flow Coverage` pada §6: actor, trigger, precondition, langkah (`STEP-XX`), screen, outcome, alternative, failure, exit. Flow tanpa ID/tabel belum RESOLVED. Langkah detail diturunkan ke `specs/` dan dipetakan ke task; jangan mengarang flow di luar PRD.
|
|
56
56
|
|
|
57
57
|
**WHAT + WHY + HOW (prinsip), lunak.** Prioritas PRD tetap WHAT + WHY — masalah,
|
|
58
58
|
user, alur, requirement, dan aturan bisnis. PRD boleh memuat HOW **sebatas
|
|
@@ -8,13 +8,16 @@ kind: reference
|
|
|
8
8
|
source: docs/knowledge/library/qa/gate-reference.md
|
|
9
9
|
---
|
|
10
10
|
|
|
11
|
-
# Gate Reference —
|
|
11
|
+
# Gate Reference — 79 deterministic checks
|
|
12
12
|
|
|
13
|
-
>
|
|
13
|
+
> Cermin dari `packages/contracts/tests/val/fixtures/gate-inventory.snapshot.json`
|
|
14
|
+
> (sumber otoritatif: union `LintCode` + `FullstackAuditCode`). Sinkronkan daftar
|
|
15
|
+
> ini manual saat daftar gate berubah (`pnpm gates:snapshot` hanya menulis JSON;
|
|
16
|
+
> `gate-reference-sync` di `tests/val/gate-inventory.test.ts` menolak drift).
|
|
14
17
|
|
|
15
|
-
## Lint gates (
|
|
18
|
+
## Lint gates (59)
|
|
16
19
|
|
|
17
|
-
### PRD completeness (
|
|
20
|
+
### PRD completeness (9)
|
|
18
21
|
|
|
19
22
|
- `MISSING_SECTION`
|
|
20
23
|
- `EMPTY_SECTION`
|
|
@@ -23,6 +26,8 @@ source: docs/knowledge/library/qa/gate-reference.md
|
|
|
23
26
|
- `MISSING_PRD`
|
|
24
27
|
- `FEATURE_TITLES_MISSING`
|
|
25
28
|
- `PHASE_GROUPING_MISSING`
|
|
29
|
+
- `MISSING_DOMAIN_COVERAGE`
|
|
30
|
+
- `BR_UNDEFINED`
|
|
26
31
|
|
|
27
32
|
### Feature/subfeature coverage (6)
|
|
28
33
|
|
|
@@ -38,7 +43,7 @@ source: docs/knowledge/library/qa/gate-reference.md
|
|
|
38
43
|
- `MISSING_USER_MENTAL_MODEL`
|
|
39
44
|
- `MISSING_FLOW_COVERAGE`
|
|
40
45
|
|
|
41
|
-
### REQ → AC traceability (
|
|
46
|
+
### REQ → AC traceability (8)
|
|
42
47
|
|
|
43
48
|
- `ORPHAN_TASK`
|
|
44
49
|
- `DANGLING_REFERENCE`
|
|
@@ -47,12 +52,13 @@ source: docs/knowledge/library/qa/gate-reference.md
|
|
|
47
52
|
- `REQ_WITHOUT_AC`
|
|
48
53
|
- `AC_WITHOUT_REQ`
|
|
49
54
|
- `MISSING_TRACEABILITY_MATRIX`
|
|
55
|
+
- `SEMANTIC_VERDICT_FAILED`
|
|
50
56
|
|
|
51
|
-
### Spec coverage (
|
|
57
|
+
### Spec coverage (15)
|
|
52
58
|
|
|
53
59
|
- `MISSING_SPECS_INDEX`
|
|
54
|
-
- `MISSING_SPEC_FUNCTIONAL`
|
|
55
60
|
- `MISSING_SPEC_CONTENT`
|
|
61
|
+
- `CAP_WITHOUT_OWNER`
|
|
56
62
|
- `DANGLING_SPEC_REFERENCE`
|
|
57
63
|
- `MISSING_LIFECYCLE_COVERAGE`
|
|
58
64
|
- `MISSING_ENGINE_MENTAL_MODEL`
|
|
@@ -64,8 +70,9 @@ source: docs/knowledge/library/qa/gate-reference.md
|
|
|
64
70
|
- `ISOLATION_WITHOUT_SPEC`
|
|
65
71
|
- `ISOLATION_WITHOUT_OWNER`
|
|
66
72
|
- `MISSING_ARCHITECTURE`
|
|
73
|
+
- `CAPABILITY_COVERAGE`
|
|
67
74
|
|
|
68
|
-
### Task completeness (
|
|
75
|
+
### Task completeness (19)
|
|
69
76
|
|
|
70
77
|
- `MISSING_TASKS_INDEX`
|
|
71
78
|
- `DANGLING_DEPENDENCY`
|
|
@@ -75,35 +82,33 @@ source: docs/knowledge/library/qa/gate-reference.md
|
|
|
75
82
|
- `MISSING_FINAL_VERIFICATION`
|
|
76
83
|
- `CONTRACT_WITHOUT_PAIR`
|
|
77
84
|
- `MISSING_INTEGRATION_TASK`
|
|
85
|
+
- `BACKEND_TASK_IN_CLIENT_ONLY`
|
|
86
|
+
- `CONTRACT_IN_CLIENT_ONLY`
|
|
78
87
|
- `VERIFICATION_FAKE_FLAG`
|
|
79
88
|
- `VERIFICATION_MISSING_AC_COMMAND`
|
|
89
|
+
- `VERIFICATION_COMMAND_TOO_GENERIC`
|
|
80
90
|
- `TARGET_FILES_MISSING_TEST`
|
|
81
91
|
- `MISSING_TARGET_FILES`
|
|
82
92
|
- `MISSING_VERIFICATION_COMMAND`
|
|
83
93
|
- `MISSING_ACCEPTANCE`
|
|
94
|
+
- `MISSING_CAP_FIELD`
|
|
95
|
+
- `MISSING_FE_ENVELOPE`
|
|
84
96
|
|
|
85
|
-
### Integrity / other (0)
|
|
86
97
|
|
|
98
|
+
## Fullstack audit gates (20)
|
|
87
99
|
|
|
88
|
-
## Fullstack audit gates (25)
|
|
89
|
-
|
|
90
|
-
- `ABSOLUTE_PATH_LEAKAGE`
|
|
91
100
|
- `ACTOR_WITHOUT_SPEC`
|
|
92
101
|
- `ACTOR_WITHOUT_TASK`
|
|
93
|
-
- `AC_TRACEABILITY_MISSING`
|
|
94
102
|
- `ADMIN_CMS_COVERAGE_MISSING`
|
|
95
103
|
- `ARTIFACT_LEAKAGE`
|
|
96
104
|
- `ASYNC_EVENT_PROPAGATION_MISSING`
|
|
97
105
|
- `AUTH_SURFACE_COVERAGE_MISSING`
|
|
98
|
-
- `BACKGROUND_JOB_UNCOVERED`
|
|
99
106
|
- `BUILD_ARTIFACT_LEAKAGE`
|
|
100
107
|
- `CAPABILITY_COVERAGE_MISSING`
|
|
101
108
|
- `CAPABILITY_MODEL_MISSING`
|
|
102
109
|
- `COMPOSITE_RESOURCE_MODEL_MISSING`
|
|
103
|
-
- `DISTRIBUTION_PLAN_MISSING`
|
|
104
110
|
- `ENTITLEMENT_GRANULARITY_MISSING`
|
|
105
111
|
- `ENTRYPOINT_NOT_RUNNABLE`
|
|
106
|
-
- `EXTERNAL_DEPENDENCY_CONFIG_UNCOVERED`
|
|
107
112
|
- `FULLSTACK_PLAN_MISSING`
|
|
108
113
|
- `HARNESS_LEAKAGE`
|
|
109
114
|
- `INTERACTION_COVERAGE_MISSING`
|
|
@@ -17,17 +17,17 @@ source: docs/knowledge/library/specs/specs-standard.md
|
|
|
17
17
|
All files live inside `specs/` relative to `project-bundle/`.
|
|
18
18
|
|
|
19
19
|
**Adaptive layout (from the turn instruction `Layout specs:`):**
|
|
20
|
-
- **`single`** — write every applicable contract in **`specs/
|
|
20
|
+
- **`single`** — write every applicable contract in **`specs/SPECS.md` only**.
|
|
21
21
|
Do not create `functional.md`, `data.md`, or `interfaces.md` as separate files.
|
|
22
|
-
The
|
|
22
|
+
The `specs/SPECS.md` still needs architecture/module map, engine mental model,
|
|
23
23
|
capability model, subfeature/lifecycle/flow coverage, data, and interface
|
|
24
24
|
sections (or `N/A` + justification where not applicable).
|
|
25
|
-
- **`split`** — write `specs/
|
|
26
|
-
`specRef` may point at `specs/
|
|
25
|
+
- **`split`** — write `specs/SPECS.md` as the index + the content files below.
|
|
26
|
+
`specRef` may point at `specs/SPECS.md` or a `SPEC-XXX` declared in either
|
|
27
27
|
layout.
|
|
28
28
|
|
|
29
29
|
**Shared Contracts (opsional, terpusat):** kontrak lintas-Feature (`CONTRACT-XXX`,
|
|
30
|
-
3+ digit) didokumentasikan di `specs/
|
|
30
|
+
3+ digit) didokumentasikan di `specs/SPECS.md` (atau file `specs/contracts.md`
|
|
31
31
|
bila banyak). Feature spec mereferensikan `CONTRACT-XXX` tanpa menyalin isinya.
|
|
32
32
|
Perubahan kontrak dianalisis dampaknya oleh LLM ke seluruh Feature yang
|
|
33
33
|
mereferensikannya. Setiap `CONTRACT-XXX` wajib cukup konkret untuk diikat oleh
|
|
@@ -36,24 +36,26 @@ auth/permission. Task FE (`frontend_mock`) dan BE memakai ID yang sama dan
|
|
|
36
36
|
menjalankan contract test terhadap kontrak ini.
|
|
37
37
|
|
|
38
38
|
**Technical Modules (`MODULE-XXX`, 3+ digit):** unit tanggung jawab implementasi
|
|
39
|
-
( mis. "auth", "payment-gateway", "notification-service").
|
|
39
|
+
( mis. "auth", "payment-gateway", "notification-service"). `MODULE-XXX` di sini
|
|
40
|
+
adalah meta-sintaks: tulis ID nyata seperti `MODULE-AUTH`, jangan literal
|
|
41
|
+
`MODULE-XXX`. Setiap modul
|
|
40
42
|
dideklarasikan di file spec terkait dengan heading `## Modul: <nama> (MODULE-XXX)`.
|
|
41
43
|
Satu modul boleh melayani beberapa Core Feature; satu Core Feature boleh tersebar
|
|
42
44
|
di beberapa modul. Modul bukan Core Feature — jangan menyamakan keduanya.
|
|
43
45
|
|
|
44
46
|
**Concerns (`CONCERN-XXX`, 3+ digit):** aspek teknis lintas fitur
|
|
45
47
|
(authentication, authorization, validation, persistence, notification,
|
|
46
|
-
integration). Setiap concern dideklarasikan di `specs/
|
|
48
|
+
integration). Setiap concern dideklarasikan di `specs/SPECS.md` atau file spec
|
|
47
49
|
terkait dengan heading `## Concern: <nama> (CONCERN-XXX)`. Concern melintasi
|
|
48
50
|
fitur dan modul; task mendeklarasikan `concernIds` untuk menunjukkan concern
|
|
49
51
|
mana yang disentuh.
|
|
50
52
|
|
|
51
53
|
**Feature ID (opsional):** file spec berbasis Feature menyebut `FEATURE-XXX`
|
|
52
54
|
dari heading §5 terkait (baris referensi singkat di bagian atas atau di
|
|
53
|
-
`specs/
|
|
55
|
+
`specs/SPECS.md`) agar traceability ke tasks/Doctor findings deterministik.
|
|
54
56
|
Bundle lama tanpa ID tetap valid.
|
|
55
57
|
|
|
56
|
-
1. **`specs/
|
|
58
|
+
1. **`specs/SPECS.md`**: Index and architecture overview linking all specs to PRD requirements. In `single` layout this is also the only content file and must carry every applicable section below.
|
|
57
59
|
- A `mermaid` **`flowchart`** of the system architecture.
|
|
58
60
|
- A `Teknologi | Alasan` **stack rationale** table.
|
|
59
61
|
- **`## Architecture` / `## Module Map`** (wajib): tabel `Module | Responsibility | Depends on` untuk setiap `MODULE-XXX` yang dideklarasikan; plus `Concern | Scope | Applied to` untuk `CONCERN-XXX`.
|
|
@@ -63,7 +65,7 @@ Bundle lama tanpa ID tetap valid.
|
|
|
63
65
|
- Deklarasi `MODULE-XXX` dan `CONCERN-XXX` yang digunakan bundle ini.
|
|
64
66
|
2. **`specs/functional.md`** (split only; Mandatory *bila memakai split concern-based*; bila memakai split feature-based, isinya tersebar di `specs/<n>-<slug>.md` dan tetap wajib ada satu file yang memuat state/permission/error/sequenceDiagram):
|
|
65
67
|
- **`## Lifecycle Coverage`** table: `Entity | States | Transitions (event → next) | Guards | Terminal | Failure/Recovery`, plus a `mermaid stateDiagram` for each stateful entity. Stateless products write `N/A — <alasan>`.
|
|
66
|
-
- **`## Flow Coverage`** table: `Flow ID | Step | Actor | Trigger | Action | Screen | Response | Decision | State | Outcome | Alternative | Failure | Exit`. Mirror every PRD `FLOW-XXX
|
|
68
|
+
- **`## Flow Coverage`** table: `Flow ID | Step | Actor | Trigger | Action | Screen | Response | Decision | State | Outcome | Alternative | Failure | Exit`. Mirror every PRD `FLOW-XXX` **and every `STEP-XX` the PRD declares**; give each step a stable `STEP-XX`. A flow with 6 PRD steps needs 6 rows — one `STEP-01` row does not mirror the flow.
|
|
67
69
|
- State lifecycles and transitions (must cover every entity/flow listed in the PRD Lifecycle Matrix)
|
|
68
70
|
- Permission matrices and actor roles, termasuk baris yang menegakkan setiap
|
|
69
71
|
`ISOLATION-XXX` (owner/tenant scoping, akses lintas pemilik ditolak)
|
|
@@ -14,7 +14,7 @@ source: docs/knowledge/library/tasks/conditional-coverage-b.md
|
|
|
14
14
|
|
|
15
15
|
## Auth Coverage (conditional)
|
|
16
16
|
|
|
17
|
-
Jika produk punya akun/user, `tasks/
|
|
17
|
+
Jika produk punya akun/user, `tasks/TASKS.md` wajib memuat tabel auth:
|
|
18
18
|
|
|
19
19
|
| Surface | Task | Acceptance |
|
|
20
20
|
|---|---|---|
|
|
@@ -30,7 +30,7 @@ permission. SSO-only boleh `N/A — SSO` untuk password flow, tapi harus dinyata
|
|
|
30
30
|
|
|
31
31
|
## Management & CMS Coverage (conditional)
|
|
32
32
|
|
|
33
|
-
Jika ada aktor pengelola + alur konten/commerce, `tasks/
|
|
33
|
+
Jika ada aktor pengelola + alur konten/commerce, `tasks/TASKS.md` wajib memuat
|
|
34
34
|
tabel manajemen:
|
|
35
35
|
|
|
36
36
|
| Area | Task | Acceptance |
|
|
@@ -47,7 +47,7 @@ dan permission. Jangan hanya membuat endpoint admin tanpa panel/CMS dan config.
|
|
|
47
47
|
|
|
48
48
|
## Interaction Coverage (conditional)
|
|
49
49
|
|
|
50
|
-
Jika PRD/specs memuat alur **browse/collection + select/cart/quantity**, `tasks/
|
|
50
|
+
Jika PRD/specs memuat alur **browse/collection + select/cart/quantity**, `tasks/TASKS.md`
|
|
51
51
|
wajib memuat tabel interaksi:
|
|
52
52
|
|
|
53
53
|
| Pattern | Route/Surface | UI states | Task |
|
|
@@ -51,23 +51,23 @@ Every compiled task must define:
|
|
|
51
51
|
| **Feature** | Required when §5 carries `FEATURE-XXX` IDs: `featureId: FEATURE-XXX`. **Satu task boleh memiliki BEBERAPA fitur**: `featureId: FEATURE-001, FEATURE-002`. `feature: <slug>` only for legacy bundles without IDs. |
|
|
52
52
|
| **Subfeatures** | Required when PRD §5 declares `SUBFEATURE-XXX`: `subfeatures: [SUBFEATURE-001, SUBFEATURE-002, ...]`. Every `SUBFEATURE-XXX` from PRD must appear in at least one task's `subfeatures` list. |
|
|
53
53
|
| **Acceptance** | Required when §11 declares `AC-XXX`: `acceptance: [AC-01, …]`. Every AC row must have exactly one owning task. Acceptance value is `AC-XX` or `N/A — <reason>` if no AC applies (e.g. foundation tasks). |
|
|
54
|
-
| **Spec Ref** | `specRef: [SPEC-XXX, …]` or `specRef: [specs/
|
|
55
|
-
| **Spec Ref Format** | Gunakan path file (`specs/
|
|
54
|
+
| **Spec Ref** | `specRef: [SPEC-XXX, …]` or `specRef: [specs/SPECS.md, specs/interfaces.md]` — the spec IDs/files this task implements. Every entry must exist in `specs/`; single-layout bundles may point at `specs/SPECS.md`. The gate flags `DANGLING_SPEC_REFERENCE`. Inline (`[...]`) and YAML block lists are both accepted. |
|
|
55
|
+
| **Spec Ref Format** | Gunakan path file (`specs/SPECS.md`, `specs/interfaces.md`) atau `SPEC-XXX`; **jangan** memakai anchor `§`/`#` di `specRef`. |
|
|
56
56
|
| **Contracts** | `contracts: [CONTRACT-XXX, …]` — Shared Contracts this task implements/consumes. FE and BE tasks sharing a contract must use the same ID; the gate flags `CONTRACT_WITHOUT_SPEC` / `CONTRACT_WITHOUT_PAIR`. |
|
|
57
57
|
| **Contracts Declared** | Hanya rujuk `CONTRACT-\d{3,}` (contoh `CONTRACT-001`) yang benar-benar dideklarasikan di `specs/`. Jangan memakai nama domain seperti `CONTRACT-CATALOG`. Jika specs belum punya ID numerik, kosongkan `contracts`. |
|
|
58
58
|
| **Contract Test** | For FE/BE tasks sharing a contract: `verificationCommand` must validate the mock/API against that contract (schema/shape), not only type-check the UI. |
|
|
59
|
-
| **Module** | Optional but recommended: `moduleId: MODULE-XXX` — the Technical Module this task implements. Enables `MODULE_WITHOUT_SPEC` and `MODULE_UNUSED` gates. |
|
|
59
|
+
| **Module** | Optional but recommended: `moduleId: MODULE-XXX` — the Technical Module this task implements. `MODULE-XXX` here is meta-syntax: write a real id such as `MODULE-AUTH`, never the literal placeholder. Enables `MODULE_WITHOUT_SPEC` and `MODULE_UNUSED` gates. **Singular**: exactly ONE `MODULE-XXX`, unlike `featureId`/`concernIds` which are plural. A task that genuinely spans several modules must pick its primary module here and either split into per-module tasks or cover the rest via `concernIds`/other owning tasks — never write `moduleId: MODULE-A, MODULE-B`. The gate treats `moduleId` as the single owner, so a comma list reads as one unknown id (`MODULE_WITHOUT_SPEC`) and leaves the real modules looking ownerless (`MODULE_UNUSED`). |
|
|
60
60
|
| **Concerns** | Optional but recommended: `concernIds: [CONCERN-XXX, …]` — cross-cutting concerns this task touches (authentication, authorization, validation, persistence, notification, integration). Enables `CONCERN_UNKNOWN` gate. |
|
|
61
61
|
| **Business Rules** | Applicable `BR-XXX` IDs (these belong to `businessRules`, not to the requirement trace) |
|
|
62
62
|
| **Target File Scope** | Relative file paths, directories, or glob scopes (e.g. `src/components/search.tsx` for a must-edit file, or `src/features/booking/**` when the task legitimately needs new files in that area). Never use repo-wide globs. If the task creates a test, the test file is part of the scope. |
|
|
63
63
|
| **Dependencies** | Explicit list `dependsOn: [TASK-XXX, ...]` (inline or YAML block list) forming an acyclic DAG. Every entry must resolve to an existing task id or file stem. |
|
|
64
|
-
| **Lifecycle Refs** | `lifecycleRefs: [<Entity>, …]` — entity lifecycles this task owns. Every entity in `specs/` `## Lifecycle Coverage` must have an owner task declared in `tasks/
|
|
65
|
-
| **Engine Ref** | `engineRef: [<Aspek>, …]` — Engine Mental Model aspect this task implements. Every aspect in `specs/
|
|
66
|
-
| **Flow Ref** | `flowRef: [FLOW-XXX/STEP-XX, …]` — the flow step(s) this task implements. Every step in `specs/` `## Flow Coverage` must have an owner task in `tasks/
|
|
67
|
-
| **Isolation Refs** | `isolationRefs: [ISOLATION-XXX, …]` — the access boundary this task enforces (owner/tenant scoping, permission check). Every `ISOLATION-XXX` in `specs/` `## Isolation Coverage` must have an owner task in `tasks/
|
|
64
|
+
| **Lifecycle Refs** | `lifecycleRefs: [<Entity>, …]` — entity lifecycles this task owns. Every entity in `specs/` `## Lifecycle Coverage` must have an owner task declared in `tasks/TASKS.md`. |
|
|
65
|
+
| **Engine Ref** | `engineRef: [<Aspek>, …]` — Engine Mental Model aspect this task implements. Every aspect in `specs/SPECS.md` `## Engine Mental Model` must have an owner task in `tasks/TASKS.md` `## Engine Coverage`. |
|
|
66
|
+
| **Flow Ref** | `flowRef: [FLOW-XXX/STEP-XX, …]` — the flow step(s) this task implements. Every step in `specs/` `## Flow Coverage` must have an owner task in `tasks/TASKS.md` `## User Flow Coverage`. |
|
|
67
|
+
| **Isolation Refs** | `isolationRefs: [ISOLATION-XXX, …]` — the access boundary this task enforces (owner/tenant scoping, permission check). Every `ISOLATION-XXX` in `specs/` `## Isolation Coverage` must have an owner task in `tasks/TASKS.md` `## Isolation Coverage`; the gate flags `ISOLATION_WITHOUT_OWNER` and `ISOLATION_WITHOUT_SPEC`. |
|
|
68
68
|
| **Design Tokens** | For UI tasks: `designTokens: reuse <path>` / `extend <path>: <categories>` / `minimal: <categories>` / `N/A — <reason>`. Inspect existing tokens/theme/Tailwind/components first; reuse before creating; no new system without a real need. |
|
|
69
69
|
| **Acceptance Criteria** | Observable preconditions and postconditions (derived from `Selesai bila`) |
|
|
70
|
-
| **Verification Command** | `verificationCommand:` — deterministic CLI command exiting 0, using a supported runner (`pnpm`/`npm`/`npx`/`node`/`tsx`/`vitest`/`go test`/`pytest`/`cargo`/`make`/`deno`/`bun`). It must reference a file or suite this task actually creates/owns. |
|
|
70
|
+
| **Verification Command** | `verificationCommand:` — deterministic CLI command exiting 0, using a supported runner (`pnpm`/`npm`/`npx`/`node`/`tsx`/`vitest`/`go test`/`pytest`/`cargo`/`make`/`deno`/`bun`). It must reference a file or suite this task actually creates/owns. A bare `npm test`/`vitest` run-all that names none of the task's own test targets and uses no selector (`--run <file>`, `-t`, `--testNamePattern`) is rejected (`VERIFICATION_COMMAND_TOO_GENERIC`). |
|
|
71
71
|
|
|
72
72
|
## Parent Task First (default)
|
|
73
73
|
|
|
@@ -82,7 +82,7 @@ menjadi checklist lokal saat task dikerjakan.
|
|
|
82
82
|
- `acceptance` menampung semua AC yang relevan untuk CAP itu.
|
|
83
83
|
- `subtasks` **opsional**: boleh ringkas untuk kontrak, tetapi jangan menulis
|
|
84
84
|
tutorial file-by-file. Local agent memperluasnya saat eksekusi.
|
|
85
|
-
- `tasks/
|
|
85
|
+
- `tasks/TASKS.md` index dan coverage ledger memakai baris per CAP, bukan per fitur.
|
|
86
86
|
|
|
87
87
|
Contoh parent:
|
|
88
88
|
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: K-UIX-001
|
|
3
|
+
title: Universal UI/UX Principles
|
|
4
|
+
version: "1"
|
|
5
|
+
authority: standard
|
|
6
|
+
category: ui
|
|
7
|
+
kind: standard
|
|
8
|
+
source: docs/knowledge/library/ui/K-UIX-001-universal-uiux-principles.md
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# K-UIX-001 — Universal UI/UX Principles
|
|
12
|
+
|
|
13
|
+
> Sumber kebenaran prinsip desain untuk produk ber-UI. **Universal** — tidak
|
|
14
|
+
> mengunci framework, provider, bahasa pemrograman, atau design system tertentu.
|
|
15
|
+
> Dipakai oleh skill eksekusi (`ui-quality`: `ui-ux-pro-max`, `impeccable`) saat
|
|
16
|
+
> merancang antarmuka. Default hanya dipakai bila user tidak menentukan
|
|
17
|
+
> preferensi di `DESIGN.md` / `.jioogen/custom/design/`.
|
|
18
|
+
|
|
19
|
+
## 1. Otoritas & urutan sifat aturan (precedence, bukan urutan numerik)
|
|
20
|
+
|
|
21
|
+
Resolusi konflik ditentukan **sifat aturan**, bukan angka prioritas:
|
|
22
|
+
|
|
23
|
+
| Tier | Sifat | Menang atas | Tidak boleh dikalahkan |
|
|
24
|
+
|---|---|---|---|
|
|
25
|
+
| T1 | Integritas & keamanan | semua | **TIDAK BISA** — a11y core, data integrity, security, scope/AC PRD, legal/regulasi |
|
|
26
|
+
| T2 | Kebutuhan produk (PRD §5/§10/§11) | prinsip generik, taste executor | DESIGN.md boleh menaikkan, **tidak boleh** mengubah behavior/scope/AC |
|
|
27
|
+
| T3 | Preferensi desain user (`DESIGN.md`, `.jioogen/custom/design/*`, stack) | K-UIX generik + taste executor | T1, T2 |
|
|
28
|
+
| T4 | Default generik (berkas ini) | — | — |
|
|
29
|
+
|
|
30
|
+
- Konflik T3 vs T1/T2 → executor **mendeteksi**, **tidak resolve diam-diam**: catat
|
|
31
|
+
`needs_decision` di sidecar, terapkan pihak pemenang (T1/T2) sampai user memutuskan;
|
|
32
|
+
bila material → stop + satu pertanyaan.
|
|
33
|
+
- `DESIGN.md` boleh **menaikkan** standar (mis. AA→AAA), **tidak boleh** menurunkan
|
|
34
|
+
baseline a11y inti.
|
|
35
|
+
|
|
36
|
+
## 2. Prinsip universal
|
|
37
|
+
|
|
38
|
+
- **Clarity**: satu tujuan per layar; teks dan label bisa dimengerti tanpa konteks internal.
|
|
39
|
+
- **Hierarchy & information architecture**: pemisahan visual menunjukkan struktur;
|
|
40
|
+
paling penting terlihat lebih dulu; navigasi konsisten antar-layar.
|
|
41
|
+
- **Consistency**: pola, istilah, dan komponen yang sama dipakai hal yang sama.
|
|
42
|
+
Kontras yang tepat lebih berguna daripada konsistensi yang salah.
|
|
43
|
+
- **Feedback & state**: setiap aksi menghasilkan respons terukur (loading, empty,
|
|
44
|
+
error, success). Jangan pernah membiarkan user ragu apakah aksi terjadi.
|
|
45
|
+
- **Affordance & discoverability**: kontrol jelas bisa diklik/ketuk/disentuh.
|
|
46
|
+
- **Error prevention & recovery**: validasi pada input, pesan yang bisa ditindak,
|
|
47
|
+
undo/recovery bila aman.
|
|
48
|
+
- **Progressive disclosure**: detail muncul saat dibutuhkan, bukan sekaligus.
|
|
49
|
+
- **Accessibility (inti)**: bisa dioperasikan dengan keyboard, teks terbaca,
|
|
50
|
+
fokus terlihat, struktur semantik, tanpa hambatan penggunaan nonvisual.
|
|
51
|
+
Baseline minimal WCAG 2.1 AA (lihat K-UIX-002).
|
|
52
|
+
- **Perceived performance**: hindari layout shift; progres jelas; jangan blokir.
|
|
53
|
+
- **Trust & honesty**: jangan menjanjikan hal yang tidak ada; pesan jujur.
|
|
54
|
+
|
|
55
|
+
## 3. Konteks produk mengubah penerapan
|
|
56
|
+
|
|
57
|
+
- Produk consumer, internal, developer, operator, public-surface → prioritas berbeda.
|
|
58
|
+
- Form factor (web, mobile, desktop, embedded, headless) menentukan ergonomi.
|
|
59
|
+
- Bahasa & region (`languageStrategy`) mempengaruhi copy, panjang teks, arah baca.
|
|
60
|
+
- Skala pemakaian (`scaleProfile`) mempengaruhi kepadatan informasi, bukan kualitas.
|
|
61
|
+
|
|
62
|
+
## 4. Batas
|
|
63
|
+
|
|
64
|
+
Berkas ini **bukan** tutorial implementasi frontend, bukan katalog komponen, dan
|
|
65
|
+
bukan design system. Detail teknis spesifik stack dibiarkan ke skill `ui-ux-pro-max`
|
|
66
|
+
(pencarian data desain) dan `impeccable` (kraft & review).
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: K-UIX-002
|
|
3
|
+
title: Visual & UX QA Rubric
|
|
4
|
+
version: "1"
|
|
5
|
+
authority: standard
|
|
6
|
+
category: ui
|
|
7
|
+
kind: standard
|
|
8
|
+
source: docs/knowledge/library/ui/K-UIX-002-visual-ux-qa-rubric.md
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# K-UIX-002 — Visual & UX QA Rubric
|
|
12
|
+
|
|
13
|
+
> Standar evaluasi visual/UX untuk produk ber-UI. Dipakai executor sebagai
|
|
14
|
+
> **re-verification wajib** sebelum task FE dinyatakan selesai, dan sebagai dasar
|
|
15
|
+
> `designReview` yang dicatat di sidecar. Baseline = WCAG 2.1 **AA** (item
|
|
16
|
+
> terkunci di §1; `DESIGN.md` hanya boleh menaikkan, tidak menurunkan).
|
|
17
|
+
|
|
18
|
+
## 1. Baseline terkunci (a11y core — T1, tidak bisa dilemahkan)
|
|
19
|
+
|
|
20
|
+
| # | Item | Pass minimal |
|
|
21
|
+
|---|---|---|
|
|
22
|
+
| 1 | Kontras teks | ≥ 4.5:1 (normal), ≥ 3:1 (large/UI component) |
|
|
23
|
+
| 2 | Keyboard operasi | semua kontrol & alur bisa diakses keyboard; urutan tab logis |
|
|
24
|
+
| 3 | Fokus terlihat | indikator fokus kontras & tidak terpotong |
|
|
25
|
+
| 4 | Form | label eksplisit; error identifikasi + sugesti perbaikan |
|
|
26
|
+
| 5 | Struktur | heading berjenjang; landmark semantik bila relevan |
|
|
27
|
+
| 6 | Gambar/ikon | alt text bermakna; ikon dekoratif disembunyikan dari AT |
|
|
28
|
+
| 7 | Touch target | ≥ 44×44 px (mobile) / ≥ 24 px (pointer presisi) — ukuran sesuai platform |
|
|
29
|
+
| 8 | Reduced motion | hormati `prefers-reduced-motion` |
|
|
30
|
+
|
|
31
|
+
## 2. Visual & UX quality (selain a11y)
|
|
32
|
+
|
|
33
|
+
- **Hierarchy**: perhatian jatuh pada hal terpenting; tanpa dua kompetisi kuat.
|
|
34
|
+
- **Spacing & alignment**: konsisten; baseline grid; tidak ada jarak acak.
|
|
35
|
+
- **Typography**: skala jelas; ukuran & leading cukup kontras; hindari rasa padat.
|
|
36
|
+
- **Color**: semantik konsisten; jangan hanya mengandalkan warna untuk makna.
|
|
37
|
+
- **Component state**: normal/hover/focus/disabled/loading/empty/error konsisten.
|
|
38
|
+
- **Copy**: singkat, jelas, konsisten istilah (ikuti User Mental Model PRD §6).
|
|
39
|
+
- **Layout responsiveness**: tidak ada overflow/overlap di breakpoint target;
|
|
40
|
+
urutan konteks masuk akal di tiap lebar.
|
|
41
|
+
- **Error & empty**: terjadi di tempat yang tepat + jalur pemulihan jelas.
|
|
42
|
+
- **Consistency antar-layar**: pola, istilah, dan layout seragam.
|
|
43
|
+
- **Perception of speed**: skeleton/progres bila lambat; hindari layout shift.
|
|
44
|
+
|
|
45
|
+
## 3. Cara verifikasi (re-verification wajib)
|
|
46
|
+
|
|
47
|
+
1. Jalankan `verificationCommand` task sampai exit 0 (fungsional).
|
|
48
|
+
2. Review visual **aktual** (browser / target platform), bukan teori: buka halaman,
|
|
49
|
+
cek state (loading/empty/error/success), breakpoint target, keyboard navigation.
|
|
50
|
+
3. Bandingkan dengan `DESIGN.md` (preferensi user) + baseline di atas.
|
|
51
|
+
4. Setiap perbaikan (fix) yang mengubah kode → **wajib ulangi** langkah 1–3 untuk
|
|
52
|
+
kriteria yang terdampak + regression test terkait; baru boleh `done`.
|
|
53
|
+
5. Dokumentasi-only (tanpa ubah kode) → cukup evidence tekstual.
|
|
54
|
+
|
|
55
|
+
## 4. Evidence yang dicatat (sidecar)
|
|
56
|
+
|
|
57
|
+
`evidence[]` per task FE berisi: `type: visual_qa`, waktu, ringkasan temuan (lulus
|
|
58
|
+
/ perbaikan / temuan), dan path/screenshot bila ada. `designReview` menyimpan
|
|
59
|
+
`passed` + `findings[]`. **Tidak boleh `clean` bila verifikasi gagal/belum jalan.**
|
|
60
|
+
|
|
61
|
+
## 5. Batas
|
|
62
|
+
|
|
63
|
+
Rubrik ini standar umum; tidak mengeksekusi otomatis dan tidak menggantikan
|
|
64
|
+
keputusan user di `DESIGN.md` (T3). Item baseline di §1 adalah lock; sisanya
|
|
65
|
+
kontekstual sesuai produk (consumer vs internal, mobile vs desktop).
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: K-UIX-003
|
|
3
|
+
title: Adaptive UI Authoring
|
|
4
|
+
version: "1"
|
|
5
|
+
authority: standard
|
|
6
|
+
category: ui
|
|
7
|
+
kind: standard
|
|
8
|
+
source: docs/knowledge/library/ui/K-UIX-003-adaptive-ui-authoring.md
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# K-UIX-003 — Adaptive UI Authoring
|
|
12
|
+
|
|
13
|
+
> Kapan memakai direct implementation, screen specification, wireframe, atau
|
|
14
|
+
> prototype — diputuskan executor berdasarkan kompleksitas, bukan satu metode
|
|
15
|
+
> untuk semua produk. Tidak ada engine/router/registry baru; keputusan desain
|
|
16
|
+
> dicatat sebagai evidence di sidecar.
|
|
17
|
+
|
|
18
|
+
## 1. Pilih metode (heuristic, kontekstual)
|
|
19
|
+
|
|
20
|
+
| Kompleksitas | Isyarat | Metode disarankan |
|
|
21
|
+
|---|---|---|
|
|
22
|
+
| Simple | 1–3 layar, satu alur, minimal state | **Direct** implementasi (desain diputus saat coding, tetap lewat prinsip K-UIX) |
|
|
23
|
+
| Medium | 3–10 layar, pola berulang, multi-role | **Screen specification**: peta layar + hierarchy + state per layar (ringkas, mis. di `specs/design.md` atau catatan task) |
|
|
24
|
+
| Complex | 10+ layar, IA bertingkat, navigasi lintas alur, banyak state | **Wireframe/prototype/desain artefak**: buat ringkas dulu, review, baru implementasi |
|
|
25
|
+
|
|
26
|
+
- **Jangan** memaksa wireframe untuk produk sederhana dan **jangan** langsung
|
|
27
|
+
coding untuk produk kompleks tanpa arah desain.
|
|
28
|
+
- Mockup/desain yang dibuat harus **terwujud** ke implementasi; jangan biarkan
|
|
29
|
+
artefak desain menggantung tanpa menjadi kode.
|
|
30
|
+
- Artefak desain disimpan di lokasi jelas (mis. `docs/DESIGN.md` / `specs/design.md`
|
|
31
|
+
/ `.jioogen/custom/design/`), **bukan** ditaruh di PRD.
|
|
32
|
+
|
|
33
|
+
## 2. Alur per task/permukaan (adaptif)
|
|
34
|
+
|
|
35
|
+
1. Baca `DESIGN.md` + `.jioogen/custom/design/*` + `stack/` constraints bila ada
|
|
36
|
+
(T3), lalu PRD §5/§6/§11 (T1/T2).
|
|
37
|
+
2. Putuskan bagaimana UI ini dibangun (metode §1); catat metode + reason singkat
|
|
38
|
+
di sidecar `events[]` (traceable).
|
|
39
|
+
3. Rancang: information architecture layar ini, hierarchy, state, interaksi.
|
|
40
|
+
4. Implementasi (orchestrasi subagent bila perlu).
|
|
41
|
+
5. Verifikasi fungsional + visual/UX (K-UIX-002). Fix → re-verify wajib.
|
|
42
|
+
6. `designReview` terekam; baru `done`.
|
|
43
|
+
|
|
44
|
+
## 3. Konflik & keputusan
|
|
45
|
+
|
|
46
|
+
- Konflik desain vs PRD/scope/AC/keamanan/a11y core → `needs_decision` (bukan
|
|
47
|
+
reshape diam-diam); terapkan pihak pemenang sampai user memutuskan.
|
|
48
|
+
- Perubahan preferensi user (bukan kontrak) → ikuti, tanpa tinjauan produk.
|
|
49
|
+
- Stack constraints (`.jioogen/custom/stack/`) diperhitungkan dalam pilihan pola
|
|
50
|
+
dan metode, tanpa mengubah behavior.
|
|
51
|
+
|
|
52
|
+
## 4. Konsumsi masukan
|
|
53
|
+
|
|
54
|
+
| Sumber | Dibaca untuk |
|
|
55
|
+
|---|---|
|
|
56
|
+
| `PRD.md` | scope, fitur, AC, user mental model |
|
|
57
|
+
| `specs/` | kontrak teknis, flow, state, interface |
|
|
58
|
+
| `DESIGN.md` + `.jioogen/custom/design/` | preferensi visual/brand (menang atas default) |
|
|
59
|
+
| `.jioogen/custom/stack/` | batasan teknologi yang mempengaruhi implementasi UI |
|
|
60
|
+
| `.jioogen/custom/qa/` | aturan QA tambahan (additive, stricter-only) |
|
|
61
|
+
|
|
62
|
+
## 5. Batas
|
|
63
|
+
|
|
64
|
+
Berkas ini mengatur **proses**, bukan template kode. Detail implementasi stack
|
|
65
|
+
spesifik ada di skill `ui-ux-pro-max`/`impeccable`. Tidak membuat design engine,
|
|
66
|
+
router, atau system baru.
|