jioogen 0.2.11 → 0.2.12

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.
@@ -1,5 +1,5 @@
1
1
  <!-- DO NOT EDIT — generated from docker/AGENTS.md by scripts/agent-contract.ts -->
2
- <!-- source-hash: 3fc3236cfa582117b193b45b80a5eda7ecbdde290d053589e70066d55810f45d -->
2
+ <!-- source-hash: 971e9395478aa7c2a75811122e41e6ca8a6be74d823972f0f0c4a9a7e151ddca -->
3
3
  <!-- section: core (always-on) -->
4
4
 
5
5
  # AGENTS.md — Kontrak Authoring OpenCode (Domain A: Bundle Authoring)
@@ -371,14 +371,16 @@ Aktifkan **satu skill yang sesuai tahap sekarang**; jangan melompati prasyarat
371
371
  skala ini, sisakan seam murah untuk pertumbuhan, jangan infra enterprise
372
372
  prematur (over-engineering membengkakkan biaya; terlalu ringan = bottleneck).
373
373
  Field ini hanya terisi sekali pada pembuatan project; tidak ada branching mode
374
- pasca-onboarding. Nilai-nilai ini di-*inject* ke setiap turn prompt LLM
375
- melalui `buildInstruction()` sebagai **Initial Context**, memakai label manusia:
374
+ pasca-onboarding. Nilai-nilai ini di-*inject* ke prompt LLM melalui
375
+ `buildInstruction()` sebagai **Initial Context**, memakai label manusia:
376
376
  - `"Jenis produk awal: <label>."` (`belum-tahu` tidak disuntik)
377
377
  - `"Konteks penggunaan awal: <label>."` (`belum-ditetapkan` tidak disuntik)
378
378
  - `"Bahasa produk (user-facing) awal: <satu bahasa|multi-bahasa>…"`
379
379
  - `"Skala pemakaian awal: <…>…"` (hanya bila `scaleProfile` diisi)
380
- Bila sudah mencakup fakta discovery, tanyakan sebagai konfirmasi; nilai yang tidak
381
- dikonfirmasi dan tidak ditimpa `shape`/ledger/brief menjadi `ASSUMPTION:` di PRD §12.
380
+ Lifecycle: di-inject pada tahap **discovery & PRD**; **tidak di-inject** pada
381
+ Specs/Tasks (fakta sudah durabel di PRD §10/§12). Bila sudah mencakup fakta
382
+ discovery, tanyakan sebagai konfirmasi; nilai yang tidak dikonfirmasi dan tidak
383
+ ditimpa `shape`/ledger/brief menjadi `ASSUMPTION:` di PRD §12.
382
384
  Precedence: `shape`/profil > ledger/brief > Initial Context. Koreksi skala/bahasa
383
385
  ditulis lewat blok `context` (§2.4b.1). Untuk project lama tanpa field ini,
384
386
  fallback ke `undefined` (tanpa error).
@@ -1,5 +1,5 @@
1
1
  <!-- DO NOT EDIT — generated from docker/AGENTS.md by scripts/agent-contract.ts -->
2
- <!-- source-hash: 3fc3236cfa582117b193b45b80a5eda7ecbdde290d053589e70066d55810f45d -->
2
+ <!-- source-hash: 971e9395478aa7c2a75811122e41e6ca8a6be74d823972f0f0c4a9a7e151ddca -->
3
3
  <!-- section: discovery -->
4
4
 
5
5
  ## 4. Sufficiency & Tawaran Proaktif
@@ -1,5 +1,5 @@
1
1
  <!-- DO NOT EDIT — generated from docker/AGENTS.md by scripts/agent-contract.ts -->
2
- <!-- source-hash: 3fc3236cfa582117b193b45b80a5eda7ecbdde290d053589e70066d55810f45d -->
2
+ <!-- source-hash: 971e9395478aa7c2a75811122e41e6ca8a6be74d823972f0f0c4a9a7e151ddca -->
3
3
  <!-- section: prd -->
4
4
 
5
5
  - **`PRD.md`** — 12 bagian kanonis. Business rules sebagai ID stabil `BR-001, BR-002, …`
@@ -1,5 +1,5 @@
1
1
  <!-- DO NOT EDIT — generated from docker/AGENTS.md by scripts/agent-contract.ts -->
2
- <!-- source-hash: 3fc3236cfa582117b193b45b80a5eda7ecbdde290d053589e70066d55810f45d -->
2
+ <!-- source-hash: 971e9395478aa7c2a75811122e41e6ca8a6be74d823972f0f0c4a9a7e151ddca -->
3
3
  <!-- section: specs -->
4
4
 
5
5
  **Specs adaptive (2026-11-09).** Layout mengikuti kompleksitas profil:
@@ -1,5 +1,5 @@
1
1
  <!-- DO NOT EDIT — generated from docker/AGENTS.md by scripts/agent-contract.ts -->
2
- <!-- source-hash: 3fc3236cfa582117b193b45b80a5eda7ecbdde290d053589e70066d55810f45d -->
2
+ <!-- source-hash: 971e9395478aa7c2a75811122e41e6ca8a6be74d823972f0f0c4a9a7e151ddca -->
3
3
  <!-- section: tasks -->
4
4
 
5
5
  **Tasks bertahap (2026-11-04).** Pass *generating* Tasks dipecah lima batch
@@ -295,9 +295,9 @@
295
295
  "retrievalWhen": {
296
296
  "stages": [
297
297
  "discovery",
298
- "draft-prd",
299
- "compile-specs",
300
- "compile-tasks"
298
+ "prd",
299
+ "specs",
300
+ "tasks"
301
301
  ],
302
302
  "always": true
303
303
  },
@@ -796,6 +796,164 @@
796
796
  },
797
797
  "disposition": "index"
798
798
  },
799
+ {
800
+ "id": "K-INS-009",
801
+ "title": "PRD substeps",
802
+ "description": "Pemicah pass PRD menjadi 1-4 fase adaptif (Connected + hosted).",
803
+ "category": "agent-instructions",
804
+ "kind": "procedure",
805
+ "source": {
806
+ "path": "apps/jioogen/src/lib/prd-substeps.ts"
807
+ },
808
+ "version": "1",
809
+ "authority": "machine",
810
+ "status": "active",
811
+ "applicableSkills": [],
812
+ "retrievalWhen": {
813
+ "stages": [],
814
+ "always": false
815
+ },
816
+ "disposition": "index",
817
+ "related": [
818
+ "K-INS-003",
819
+ "K-INS-011"
820
+ ]
821
+ },
822
+ {
823
+ "id": "K-INS-010",
824
+ "title": "Specs substeps",
825
+ "description": "Pemecah pass specs menjadi 1 atau 4 sub-langkah.",
826
+ "category": "agent-instructions",
827
+ "kind": "procedure",
828
+ "source": {
829
+ "path": "apps/jioogen/src/lib/specs-substeps.ts"
830
+ },
831
+ "version": "1",
832
+ "authority": "machine",
833
+ "status": "active",
834
+ "applicableSkills": [],
835
+ "retrievalWhen": {
836
+ "stages": [],
837
+ "always": false
838
+ },
839
+ "disposition": "index",
840
+ "related": [
841
+ "K-INS-003",
842
+ "K-INS-011"
843
+ ]
844
+ },
845
+ {
846
+ "id": "K-INS-011",
847
+ "title": "Authoring batch plan",
848
+ "description": "Router substage prd/specs/tasks untuk Connected bridge.",
849
+ "category": "agent-instructions",
850
+ "kind": "procedure",
851
+ "source": {
852
+ "path": "apps/jioogen/src/lib/authoring-batches.ts"
853
+ },
854
+ "version": "1",
855
+ "authority": "machine",
856
+ "status": "active",
857
+ "applicableSkills": [],
858
+ "retrievalWhen": {
859
+ "stages": [],
860
+ "always": false
861
+ },
862
+ "disposition": "index",
863
+ "related": [
864
+ "K-INS-009",
865
+ "K-INS-010",
866
+ "K-TASK-002"
867
+ ]
868
+ },
869
+ {
870
+ "id": "K-INS-012",
871
+ "title": "Targeted repair",
872
+ "description": "Builder repair terarah + packet dari temuan gate.",
873
+ "category": "agent-instructions",
874
+ "kind": "procedure",
875
+ "source": {
876
+ "path": "apps/jioogen/src/lib/tasks-autoheal.ts"
877
+ },
878
+ "version": "1",
879
+ "authority": "machine",
880
+ "status": "active",
881
+ "applicableSkills": [],
882
+ "retrievalWhen": {
883
+ "stages": [],
884
+ "always": false
885
+ },
886
+ "disposition": "index",
887
+ "related": [
888
+ "K-INS-003"
889
+ ]
890
+ },
891
+ {
892
+ "id": "K-INS-013",
893
+ "title": "Semantic verdict",
894
+ "description": "Penilai semantik advisory saat readiness dihitung.",
895
+ "category": "agent-instructions",
896
+ "kind": "procedure",
897
+ "source": {
898
+ "path": "apps/jioogen/src/lib/semantic-verdict.ts"
899
+ },
900
+ "version": "1",
901
+ "authority": "machine",
902
+ "status": "active",
903
+ "applicableSkills": [],
904
+ "retrievalWhen": {
905
+ "stages": [],
906
+ "always": false
907
+ },
908
+ "disposition": "index",
909
+ "related": [
910
+ "K-QA-010"
911
+ ]
912
+ },
913
+ {
914
+ "id": "K-INS-014",
915
+ "title": "Execution handoff",
916
+ "description": "Penyusun prompt agent lokal untuk CTA Eksekusi.",
917
+ "category": "agent-instructions",
918
+ "kind": "procedure",
919
+ "source": {
920
+ "path": "apps/jioogen/src/lib/execution-handoff.ts"
921
+ },
922
+ "version": "1",
923
+ "authority": "machine",
924
+ "status": "active",
925
+ "applicableSkills": [],
926
+ "retrievalWhen": {
927
+ "stages": [],
928
+ "always": false
929
+ },
930
+ "disposition": "index",
931
+ "related": [
932
+ "K-OPS-001"
933
+ ]
934
+ },
935
+ {
936
+ "id": "K-INS-015",
937
+ "title": "Context brief",
938
+ "description": "Ringkasan percakapan antar-reset sesi untuk turn instruction.",
939
+ "category": "agent-instructions",
940
+ "kind": "procedure",
941
+ "source": {
942
+ "path": "apps/jioogen/src/lib/context-brief.ts"
943
+ },
944
+ "version": "1",
945
+ "authority": "machine",
946
+ "status": "active",
947
+ "applicableSkills": [],
948
+ "retrievalWhen": {
949
+ "stages": [],
950
+ "always": false
951
+ },
952
+ "disposition": "index",
953
+ "related": [
954
+ "K-INS-003"
955
+ ]
956
+ },
799
957
  {
800
958
  "id": "K-OPS-001",
801
959
  "title": "Deploy (production runbook)",
@@ -858,7 +1016,7 @@
858
1016
  {
859
1017
  "id": "K-PRD-003",
860
1018
  "title": "PRD linter",
861
- "description": "50 kode gate lint PRD/specs/tasks.",
1019
+ "description": "59 kode gate lint PRD/specs/tasks.",
862
1020
  "category": "prd",
863
1021
  "kind": "schema",
864
1022
  "source": {
@@ -1108,7 +1266,7 @@
1108
1266
  {
1109
1267
  "id": "K-QA-002",
1110
1268
  "title": "Fullstack audit",
1111
- "description": "25 kode audit fullstack.",
1269
+ "description": "28 kode audit fullstack.",
1112
1270
  "category": "qa",
1113
1271
  "kind": "schema",
1114
1272
  "source": {
@@ -1127,7 +1285,7 @@
1127
1285
  {
1128
1286
  "id": "K-QA-010",
1129
1287
  "title": "Gate reference",
1130
- "description": "Daftar 79 gate + dimensi kualitas.",
1288
+ "description": "Daftar 87 gate + dimensi kualitas.",
1131
1289
  "category": "qa",
1132
1290
  "kind": "reference",
1133
1291
  "source": {
@@ -1149,7 +1307,7 @@
1149
1307
  {
1150
1308
  "id": "K-QA-013",
1151
1309
  "title": "Execution monitoring",
1152
- "description": "Klausa E-01…E-11.",
1310
+ "description": "Klausa E-01…E-17.",
1153
1311
  "category": "qa",
1154
1312
  "kind": "standard",
1155
1313
  "source": {
@@ -8,7 +8,7 @@ kind: reference
8
8
  source: docs/knowledge/library/qa/gate-reference.md
9
9
  ---
10
10
 
11
- # Gate Reference — 79 deterministic checks
11
+ # Gate Reference — 87 deterministic checks
12
12
 
13
13
  > Cermin dari `packages/contracts/tests/val/fixtures/gate-inventory.snapshot.json`
14
14
  > (sumber otoritatif: union `LintCode` + `FullstackAuditCode`). Sinkronkan daftar
@@ -95,11 +95,12 @@ source: docs/knowledge/library/qa/gate-reference.md
95
95
  - `MISSING_FE_ENVELOPE`
96
96
 
97
97
 
98
- ## Fullstack audit gates (20)
98
+ ## Fullstack audit gates (28)
99
99
 
100
100
  - `ACTOR_WITHOUT_SPEC`
101
101
  - `ACTOR_WITHOUT_TASK`
102
102
  - `ADMIN_CMS_COVERAGE_MISSING`
103
+ - `AUTHZ_TEST_COVERAGE_MISSING`
103
104
  - `ARTIFACT_LEAKAGE`
104
105
  - `ASYNC_EVENT_PROPAGATION_MISSING`
105
106
  - `AUTH_SURFACE_COVERAGE_MISSING`
@@ -107,12 +108,19 @@ source: docs/knowledge/library/qa/gate-reference.md
107
108
  - `CAPABILITY_COVERAGE_MISSING`
108
109
  - `CAPABILITY_MODEL_MISSING`
109
110
  - `COMPOSITE_RESOURCE_MODEL_MISSING`
111
+ - `DB_REQUIREMENT_COVERAGE_MISSING`
110
112
  - `ENTITLEMENT_GRANULARITY_MISSING`
113
+ - `FEATURE_MOCK_ONLY`
114
+ - `FEATURE_TASK_MISSING`
111
115
  - `ENTRYPOINT_NOT_RUNNABLE`
112
116
  - `FULLSTACK_PLAN_MISSING`
113
117
  - `HARNESS_LEAKAGE`
114
118
  - `INTERACTION_COVERAGE_MISSING`
119
+ - `PERMISSION_ROW_INCOMPLETE`
120
+ - `PERMISSION_WITHOUT_TASK`
121
+ - `PERMISSION_WITHOUT_WORKFLOW`
115
122
  - `PRICE_ADJUSTMENT_MODEL_MISSING`
123
+ - `PRIVILEGED_ACTOR_WITHOUT_PERMISSION`
116
124
  - `PRIVILEGED_SURFACE_UNCOVERED`
117
125
  - `SIDECAR_LEAKAGE`
118
126
  - `UNCOVERED_NFR`
@@ -63,4 +63,16 @@ source: docs/knowledge/library/ui/K-UIX-003-adaptive-ui-authoring.md
63
63
 
64
64
  Berkas ini mengatur **proses**, bukan template kode. Detail implementasi stack
65
65
  spesifik ada di skill `ui-ux-pro-max`/`impeccable`. Tidak membuat design engine,
66
- router, atau system baru.
66
+ router, atau system baru.
67
+ ## 5. Auto-generate `specs/design.md` (default untuk produk ber-UI)
68
+
69
+ - Bila `specs/design.md` belum ada dan produk ber-surface UI, buat dari
70
+ `ui-ux-pro-max` + `impeccable` (+ gamedev agent skills eksternal untuk produk
71
+ game), dengan analisis konteks (PRD §5, `productProfile`, surfaces, audience).
72
+ - Bila sudah ada (user-provided), **merge**: preferensi user = constraint, skill
73
+ isi gap; jangan timpa edit user. User boleh mengedit `specs/design.md` antar-sesi;
74
+ agent membaca versi terbaru, reuse/extend, tidak menimpa saat task berjalan.
75
+ - Produk tanpa UI: token minimal (spacing/typography/neutral) atau
76
+ `N/A — <alasan>` dengan justifikasi.
77
+ - `specs/design.md` adalah bundle artifact (di-export & di-sync); preferensi
78
+ tambahan user di `.jioogen/custom/design/` (additive, tidak ditimpa update bundle).
@@ -3,27 +3,27 @@
3
3
  "files": [
4
4
  {
5
5
  "path": "agent/core.md",
6
- "sha256": "6fde36f22a1ac0e9a904d8adb6baee32d5938a293be8ac160693e3dd05e0f93b"
6
+ "sha256": "300292f571b5b9ab7074d6e1c7b708693bf4caab0240d9567e58b483c364f88a"
7
7
  },
8
8
  {
9
9
  "path": "agent/discovery.md",
10
- "sha256": "6fd4a000bb0bae9257449040c27c4c3b7eedaaae018fb0f4e5a8b32d72b5ba75"
10
+ "sha256": "3b47f681ad256043230656ca48301ad939ba5959b3e695f793893c56ef0bc2b5"
11
11
  },
12
12
  {
13
13
  "path": "agent/prd.md",
14
- "sha256": "a897b6d946d29476152b70b8e9b7e57fb6ab60bde009f67559c189423e55c61a"
14
+ "sha256": "0b37ac0463f9957f02f4a488e54af6799c9372b078155af22dbd187dc65a206b"
15
15
  },
16
16
  {
17
17
  "path": "agent/specs.md",
18
- "sha256": "6bac932db3ae60af6c0bc15c7398c1f9175adfb9406d46797c50c894983234c3"
18
+ "sha256": "96770508cb391a21cf5d8277d94bcb65760d1fc522dc9fcbf6ba5bec315a52c9"
19
19
  },
20
20
  {
21
21
  "path": "agent/tasks.md",
22
- "sha256": "b414591f8d8dffe20e99a7cfecd6d9f44339a22d45f932f82d846709855dcc2e"
22
+ "sha256": "ccf6d4649f1bd0c51be1a35cd464b395aea19d2d449e0d069bf358fdf26ece2b"
23
23
  },
24
24
  {
25
25
  "path": "knowledge/catalog.generated.json",
26
- "sha256": "8c3b92589fa2bc95bbc517d7e0162766e23bd165bbebc7404149ea12d80650f4"
26
+ "sha256": "8353dca0c926623c8591f82cf7ec3a7d60195a88e1bfb69b116509178a81e912"
27
27
  },
28
28
  {
29
29
  "path": "knowledge/library/_TEMPLATE.md",
@@ -139,7 +139,7 @@
139
139
  },
140
140
  {
141
141
  "path": "knowledge/library/qa/gate-reference.md",
142
- "sha256": "0c9c63f9e4bb756a11c41ba83c008f66f49cde54a1b59e18f8d67200a36c9afe"
142
+ "sha256": "17d8cc9868501f8e00bf5bc87dc8de5cebac38d8db41f9e0b2425c6f099a4f8f"
143
143
  },
144
144
  {
145
145
  "path": "knowledge/library/specs/specs-standard.md",
@@ -167,11 +167,11 @@
167
167
  },
168
168
  {
169
169
  "path": "knowledge/library/ui/K-UIX-003-adaptive-ui-authoring.md",
170
- "sha256": "e5e1342828cdffa67332b80090d84e350ef5c652601c01fcb14ed0078c325c9f"
170
+ "sha256": "0022b6b469353ac702e27506dc84486af7b17194f2662a0ba1f6cbf2a481726f"
171
171
  },
172
172
  {
173
173
  "path": "skills/business-discovery/SKILL.md",
174
- "sha256": "85d67dc74b16c955d63bf23b69fe3aa97bd69111fc04e82a837d3441cd7bac2d"
174
+ "sha256": "fdc1bd1241f2ae4a561b86b1576447f33e11b532a026a9de84ca9158dd470666"
175
175
  },
176
176
  {
177
177
  "path": "skills/business-discovery/skill.yaml",
@@ -179,7 +179,7 @@
179
179
  },
180
180
  {
181
181
  "path": "skills/creative-discovery/SKILL.md",
182
- "sha256": "599c0e6b88378724119182eb0bd01c5da27ef5402b9a8d1ba9e18c0d02fe4197"
182
+ "sha256": "2143775b25270029eee9ca1621b83d7026480f6fb67593a93be77c1ab6cbb39f"
183
183
  },
184
184
  {
185
185
  "path": "skills/creative-discovery/skill.yaml",
@@ -187,7 +187,7 @@
187
187
  },
188
188
  {
189
189
  "path": "skills/karpathy-guidelines/SKILL.md",
190
- "sha256": "7e1683b784f834f95cc9a48d09a2e84acd0f9b6c664b4285eba709a8abac824a"
190
+ "sha256": "4103d1a8078d7382e563c3879ee4af19648bc3d08a325a9b653f9144e18765e5"
191
191
  },
192
192
  {
193
193
  "path": "skills/karpathy-guidelines/skill.yaml",
@@ -195,7 +195,7 @@
195
195
  },
196
196
  {
197
197
  "path": "skills/prd-authoring/SKILL.md",
198
- "sha256": "c74f7af2f3b0943e22b1cfc07df4c0207b265ebea20ec146eff9e1232ae6c31f"
198
+ "sha256": "45aff0ca3f3e6ea8dc5bb773e010a6c384cecaeadd876f08c6609877f360b78a"
199
199
  },
200
200
  {
201
201
  "path": "skills/prd-authoring/skill.yaml",
@@ -211,7 +211,7 @@
211
211
  },
212
212
  {
213
213
  "path": "skills/specs-authoring/SKILL.md",
214
- "sha256": "d8a2d7d1a75efd4bd4331c5f03ae78911b1086e7c64f53a63a4f455f3cd50adb"
214
+ "sha256": "4767e4e70666b9fb02dae7b605e956eb20cc0f57182a33e3ef9a5d3e1ba0e835"
215
215
  },
216
216
  {
217
217
  "path": "skills/specs-authoring/skill.yaml",
@@ -219,12 +219,12 @@
219
219
  },
220
220
  {
221
221
  "path": "skills/tasks-authoring/SKILL.md",
222
- "sha256": "0fec4677a78533df5d186639a917ff5f3b45aeab6ebb1993a707c2df84ff3f3c"
222
+ "sha256": "a5367bbc41b6540be50231d345ef05c0769a473be8a5655caf053fb9affa930a"
223
223
  },
224
224
  {
225
225
  "path": "skills/tasks-authoring/skill.yaml",
226
226
  "sha256": "c58b1b0e42a9d51dd6dfcf4bc260b9833e4ebada855729136df09900c001aee1"
227
227
  }
228
228
  ],
229
- "hash": "ae9e26dacbf13ee9410b0880b9d725438f1744ec8ebd8f92243f032c6e1dad6d"
229
+ "hash": "883984fd84faadaa6e6c6a9f7880b1d29536df22cd44e8f82147a4edc7da512d"
230
230
  }
@@ -79,13 +79,12 @@ Tapi tetap: **user putuskan, AI hanya challenge**.
79
79
  ### 6. Money-Labeled Decisions
80
80
  Setiap keputusan high-impact tambahkan (format blok mengikuti kontrak global §2.3 —
81
81
  satu blok, di akhir jawaban):
82
- ```
82
+
83
83
  ```decision
84
84
  A | Subscription | Revenue Impact: Predictable MRR, butuh retention >80%
85
85
  B | Transaction | Revenue Impact: Scale dengan usage, zero revenue kalau idle
86
86
  C | Freemium | Revenue Impact: Volume game, conversion 2-5% typical
87
87
  ```
88
- ```
89
88
 
90
89
  ### 7. Business Assumption Label
91
90
  Di PRD Section 12:
@@ -120,14 +119,13 @@ tanpa alasan konkret dibuang, bukan dipaksakan demi terlihat inovatif.
120
119
 
121
120
  Berpikir dalam bahasa yang sama dengan user (Indonesia jika user pakai Indonesia). JANGAN tampilkan monolog internal tentang loading skill, pemilihan skill, atau implementasi — hanya pikiran yang relevan dengan percakapan produk.
122
121
 
123
- ## Progress Line (Wajib Setiap Balasan)
124
-
125
- ```
126
- [Business] Fakta minimum: <fakta yg sudah ✓> → Next: <fakta berikutnya>
127
- ```
122
+ ## Progress Line (di-render server)
128
123
 
129
- Pada giliran pertama: `[Business] Fakta minimum: (belum ada) → Mulai dari: Problem & Value`
130
- Contoh: `[Business] Fakta minimum: Problem & Value ✓ (Revenue lens) → Next: Actors & Roles`
124
+ Footer progres discovery adalah **milik server** — jangan menulisnya sendiri. Server
125
+ menambahkan `[Business] Fakta minimum X/7: … → Next: …` setelah fakta giliran ini
126
+ tersimpan, supaya hitungannya selalu cocok dengan ledger. Cakupan otoritatif dari
127
+ instruksi giliran (bila ada) hanya dipakai untuk memutuskan apakah perlu menawarkan
128
+ `Draft`; jangan mencetak footer progres.
131
129
 
132
130
  ---
133
131
 
@@ -95,14 +95,13 @@ Di PRD Section 12, asumsi kreatif berlabel:
95
95
 
96
96
  Berpikir dalam bahasa yang sama dengan user (Indonesia jika user pakai Indonesia). JANGAN tampilkan monolog internal tentang loading skill, pemilihan skill, atau implementasi — hanya pikiran yang relevan dengan percakapan produk.
97
97
 
98
- ## Progress Line (Wajib Setiap Balasan)
98
+ ## Progress Line (di-render server)
99
99
 
100
- ```
101
- [Creative] Fakta minimum: <fakta yg sudah ✓> → Next: <fakta berikutnya>
102
- ```
103
-
104
- Pada giliran pertama: `[Creative] Fakta minimum: (belum ada) → Mulai dari: Problem & Value`
105
- Contoh: `[Creative] Fakta minimum: Problem & Value ✓, Actors & Roles ✓ → Next: Platform & Form Factor`
100
+ Footer progres discovery adalah **milik server** — jangan menulisnya sendiri. Server
101
+ menambahkan `[Creative] Fakta minimum X/7: … → Next: …` setelah fakta giliran ini
102
+ tersimpan, supaya hitungannya selalu cocok dengan ledger. Cakupan otoritatif dari
103
+ instruksi giliran (bila ada) hanya dipakai untuk memutuskan apakah perlu menawarkan
104
+ `Draft`; jangan mencetak footer progres.
106
105
 
107
106
  ---
108
107
 
@@ -10,6 +10,13 @@ Deliver the actual requirement through the simplest implementation that is corre
10
10
 
11
11
  Balance: these guidelines favor care over speed. For trivial work, use judgment and move fast.
12
12
 
13
+ > **Catatan pipeline:** Skill ini sengaja berada di luar pipeline produk JiooGen
14
+ > (discovery → PRD → Specs → Tasks → COMPLETE/BLOCKED): ia dipakai untuk kerja
15
+ > kode/dev repo, bukan authoring bundle. Karena itu ia tidak punya metadata
16
+ > `stage`/`K-*` maupun knowledge ID. Frontmatter sengaja tidak diubah — menambah
17
+ > blok `metadata` di sana akan memicu kebutuhan `pnpm skills:sync` dan gate
18
+ > `pnpm skills:check`.
19
+
13
20
  ## 1. Understand Before You Change
14
21
 
15
22
  Inspect existing architecture, dependencies, patterns, and conventions first.
@@ -56,7 +56,9 @@ already exist when you change the PRD, they no longer match it. Report that they
56
56
  are **stale** and stop there: `specs/` is re-derived by its own turn, and `tasks/`
57
57
  only after `specs/` exists. The PRD is **auto-confirmed** by the machine once it
58
58
  passes the deterministic gate, so there is no human confirmation step to wait
59
- for — but do **not** compile `specs/` or `tasks/` in the same turn just because
59
+ for. Auto-confirm adalah status readiness mesin, bukan pemicu tahap: CTA
60
+ **Konfirmasi** tetap merupakan trigger eksplisit yang memulai authoring `specs/`.
61
+ Do **not** compile `specs/` or `tasks/` in the same turn just because
60
62
  the PRD changed, since that mixes stages and leaves `UNCOVERED_REQUIREMENT` in
61
63
  the L2 gate.
62
64
 
@@ -105,7 +107,7 @@ paths and do not write outside this directory.
105
107
  Index** (`docker/skills/CAPABILITY-INDEX.md`): petakan produk ke CAP-* yang
106
108
  tersirat, lalu turunkan fitur domain di dalamnya.
107
109
 
108
- CAP ringkas (index lengkap di `CAPABILITY-INDEX.md`): IDENTITY · TENANCY · ACTORS · ADMIN · DOMAIN · WORKFLOW · MONEY · NOTIFY · STORAGE · INTEGRATION · REPORTING · UX-SHELL · PUBLIC-SURFACE · OPS · COMPLIANCE · AI · MOBILE · TEST.
110
+ Daftar lengkap ID CAP beserta sinyalnya ada di `docker/skills/CAPABILITY-INDEX.md` (SSOT).
109
111
 
110
112
  - CAP wajib bila sinyalnya benar; nyatakan di §4/§5/§7/§10/§11 atau `EXPLICIT_NA`.
111
113
  - Fitur domain tetap dari penalaran domain, bukan template produk.
@@ -177,7 +179,6 @@ A revision edits the existing file in place; it is not a rewrite.
177
179
  `BUSINESS ASSUMPTION:` in §12. Do not treat an overlay idea as a confirmed fact.
178
180
 
179
181
  > **Template & bentuk akhir PRD**: lihat `.jioogen/authoring/knowledge/library/prd/prd-standard.md` (knowledge `K-PRD-010`, on-demand — baca bila perlu). Skill ini memuat aturan; template lengkap tidak diduplikasi.
180
- ```
181
182
 
182
183
  Rules the validator enforces mechanically:
183
184
 
@@ -18,6 +18,7 @@ metadata:
18
18
  - **Specs = Contracts (HOW)** — Terjemahkan PRD (WHAT) ke kontrak teknis; **jangan** tambah scope.
19
19
  - **Feature-First** — Specs = turunan dari Core Features (PRD §5), **bukan** struktur folder/arsitektur.
20
20
  - **User Flow First** — Spesifikasi sebuah UI/backend dipecah per langkah alur (`FLOW-XXX/STEP-XX`), step yang punya layar diberi screen-nya, backend/interface diturunkan dari step alur itu (kontrak apa yang step butuh), bukan diturunkan belakangan sebagai tabel CRUD. Fitur yang tidak melayani step alur mana pun = scope creep.
21
+ - **SSOT urutan:** fitur (PRD §5) = sumber scope; `FLOW-XXX/STEP-XX` = urutan dekomposisi. Keduanya bukan alternatif: fitur menentukan *apa*, flow menentukan *urutan*.
21
22
  - **Module & Concern** — Deklarasikan `MODULE-XXX` & `CONCERN-XXX` di `specs/`; tasks refer via `moduleId`/`concernIds`.
22
23
  - **Traceability** — Setiap kontrak referensikan `REQ-XXX`/`BR-XXX` dari PRD; L2 gate enforce traceability.
23
24
  - **Validators, Not Creators** — Specs = validasi teknis PRD, **bukan** tambah fitur/scope baru.
@@ -208,7 +209,7 @@ meminta satu file; artefak lain sudah benar dan bukan scope perbaikan.
208
209
  interface) memeriksa cakupan subfeature yang relevan untuk lingkup file-nya:
209
210
  - **Indeks (`specs/SPECS.md`):** `## Subfeature Coverage` memuat seluruh `SUBFEATURE-XXX` PRD
210
211
  (matrix `SUBFEATURE → SPEC → REQ`), plus `## Architecture`/`## Module Map`.
211
- - **Perilaku (`functional.md`):** setiap subfeature yang terkait perilaku (state, permission, error, sequence) muncul sebagai heading/tabel coverage; trace `SUBFEATURE-XXX → REQ/BR`.
212
+ - **Perilaku (`functional.md`):** setiap subfeature yang terkait perilaku (state, permission, error, sequence) muncul sebagai heading/tabel coverage; trace `SUBFEATURE-XXX → REQ/BR`. Untuk produk ber-UI, wajib memuat `## Information Architecture & Screen Map` yang memetakan kolom `Layar` PRD §6 ke rute konkret, shell/layout, dan visibilitas peran (termasuk rute root `/`).
212
213
  - **Data (`data.md`):** subfeature yang menyentuh entity/schema dicatat di coverage table (`SUBFEATURE-XXX | Entity | REQ`); bila tidak berlaku, `N/A — <alasan>`.
213
214
  - **Interface (`interfaces.md`):** subfeature yang menyentuh endpoint/command/webhook dicatat di coverage table; bila tidak berlaku, `N/A — <alasan>`.
214
215
  - Tidak ada subfeature PRD yang hilang, dan tidak ada subfeature di spec yang tidak ada di PRD.
@@ -228,7 +229,7 @@ meminta satu file; artefak lain sudah benar dan bukan scope perbaikan.
228
229
  - **CAP coverage (wajib):** setiap `CAP-*` yang tersirat (lihat `CAPABILITY-INDEX.md`) punya spec/contract atau `EXPLICIT_NA`. Aktor/entity/page/NFR adalah isi CAP; jangan menurunkan salah satunya dari PRD. Laporkan gap per CAP, bukan per item.
229
230
  - Tidak ada requirement/scope baru yang tidak ada di PRD.
230
231
 
231
- CAP ringkas (index lengkap di `CAPABILITY-INDEX.md`): IDENTITY · TENANCY · ACTORS · ADMIN · DOMAIN · WORKFLOW · MONEY · NOTIFY · STORAGE · INTEGRATION · REPORTING · UX-SHELL · PUBLIC-SURFACE · OPS · COMPLIANCE · AI · MOBILE · TEST.
232
+ Daftar lengkap ID CAP beserta sinyalnya ada di `docker/skills/CAPABILITY-INDEX.md` (SSOT).
232
233
 
233
234
  **3. FIX** — perbaiki sendiri temuan itu di turn ini. Boleh menambah detail
234
235
  teknis, tetapi tidak boleh menciptakan requirement, fitur, atau modul di luar
@@ -18,6 +18,7 @@ metadata:
18
18
  - **Tasks = Execution Plan** — Turunkan PRD/Specs ke task actionable; **jangan** tambah scope/requirement.
19
19
  - **Feature-First** — Task = turunan dari Core Features → Specs, **bukan** dari struktur folder.
20
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
+ - **SSOT urutan:** fitur (PRD §5) = sumber scope; `FLOW-XXX/STEP-XX` = urutan dekomposisi. Keduanya bukan alternatif: fitur menentukan *apa*, flow menentukan *urutan*.
21
22
  - **Module & Concern Traceability** — Task wajib `moduleId` (jika modul ada) & `concernIds[]`; L2 gate enforce `MODULE_WITHOUT_SPEC`, `MODULE_UNUSED`, `CONCERN_UNKNOWN`.
22
23
  - **Zero Orphan/Phantom** — Setiap task trace ke `REQ-XXX`/`SPEC-XXX`; setiap `REQ` punya task; L2 gate enforce.
23
24
  - **Validator, Not Creator** — Tasks = rencana eksekusi PRD/Specs, **bukan** tentukan scope/arsitektur baru.
@@ -30,12 +31,13 @@ Your single responsibility is compiling actionable, deterministic development ta
30
31
  1. **`tasks/TASKS.md`** (always required by the bundle gate):
31
32
  - **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
33
  - 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
+ - **Screen inventory** for UI products (diturunkan langsung dari `## Information Architecture & Screen Map` di specs): `Route/Page | Fitur/Sub-fitur (PRD §5) | Flow/step | Task FE | Interaksi kunci | User mental step | UI states | Responsive`. Every route (termasuk rute root `/`), §5 feature, and flow step that owns a screen must appear here before Phase 1 can be called complete.
34
35
  - **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
36
  - **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
37
  - **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
38
  - **Isolation Coverage** table: `Isolation ID | Owner Task` (atau `N/A — <alasan>` bila tidak ada `ISOLATION-XXX`).
38
39
  - Bila sebuah coverage (Lifecycle/Engine/User Flow/Isolation) tidak berlaku, tulis `N/A — <alasan>` di `tasks/TASKS.md` — jangan biarkan kosong.
40
+ - Kolom minimal yang di-enforce runtime/linter adalah `Entity | Owner Task` (Lifecycle), `Aspek | Owner Task` (Engine), dan `Flow ID | Step | Owner Task` (User Flow) — lihat `run-instruction.ts` / `prd-linter.ts`. Kolom `Entity ID`, `States/Ref`, `Verification` serta tabel `Isolation Coverage` di atas adalah detail pelengkap untuk owner/AC, bukan kontrak gate yang bertentangan.
39
41
  - For modular projects, individual task files `tasks/TASK-001-name.md` — the file name **must** match the task's `id:`.
40
42
  2. **`traceability.md`** at root of `project-bundle/`:
41
43
  - Matrix mapping `REQ-XXX` (atau `FR-XXX`, prefix yang sama dengan PRD) → `SPEC-XXX` → `TASK-XXX`, tanpa tautan rusak.
@@ -52,6 +54,14 @@ Saat repair menemukan fitur/subfitur PRD yang belum ter-cover, **Tambahkan task
52
54
  atau perluas `featureId`/`subfeatures` task yang ada — JANGAN menghapus fitur
53
55
  dari PRD §5**.
54
56
 
57
+ **Anti-Bloat (LPA-03):** Task file adalah *work package* (kontrak + batasan), **BUKAN**
58
+ tutorial coding langkah demi langkah. Jangan menuliskan puluhan subtask prosedural
59
+ (mis. "langkah 1: import X, langkah 2: buat useState") di dalam file markdown.
60
+ Ukuran task file ideal: **25–45 baris markdown** (frontmatter + verification ringkas).
61
+ Dekomposisi langkah coding diserahkan kepada **Local Agent Executor** melalui
62
+ `jioogen task next` yang secara dinamis menyusun checklist dari AC, flows, dan
63
+ targetFiles.
64
+
55
65
  **FE envelope (required for every `frontend_mock` task):**
56
66
 
57
67
  | Field | Requirement |
@@ -88,7 +98,7 @@ FE selesai total dulu, backend belakangan.
88
98
  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
99
  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
100
  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.
101
+ 11. **Design Token kontekstual + auto-generate `specs/design.md`.** Sebelum task UI, inspeksi token/theme/CSS variables/Tailwind/komponen/design reference yang sudah ada (`specs/design.md` bila ada, `.jioogen/custom/design/`, `docs/DESIGN.md`, specs, dan codebase). **Auto-generate (default):** bila `specs/design.md` belum ada dan produk ber-surface UI, buat dari `ui-ux-pro-max` + `impeccable` (untuk produk game, pertimbangkan gamedev agent skills eksternal — tidak di-bundle; follow-up skill pack `gamedev`) dengan analisis konteks (PRD §5, `productProfile`, surfaces, audience). Untuk produk tanpa UI: token minimal (spacing/typography/neutral) atau `N/A — <alasan>`. **Merge (bila sudah ada):** jika `specs/design.md` sudah ada (user-provided atau dari run sebelumnya), reuse/extend — preferensi user = constraint, skill isi gap; **jangan timpa** edit user. 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. `specs/design.md` adalah bundle artifact (di-export & di-sync); user boleh mengeditnya antar-sesi; agent tidak boleh mengubahnya saat task berjalan (hard rule `jangan ubah specs/`). Preferensi tambahan user di `.jioogen/custom/design/` (additive, tidak ditimpa update bundle).
92
102
  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
103
  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
104
  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`.
@@ -150,7 +160,7 @@ Wajib dicek:
150
160
  ## Orientasi Backlog (phase-first, screen-grouped)
151
161
 
152
162
  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.
163
+ 2. **Screen inventory wajib.** `tasks/TASKS.md` memuat tabel `Route/Page | Fitur/Sub-fitur (PRD §5) | Flow/step | Task FE | Interaksi kunci | UI states | Responsive` yang diturunkan langsung dari `## Information Architecture & Screen Map` di specs. Setiap route/halaman (termasuk rute root `/`) dan setiap fitur §5 harus muncul; jika tidak, Phase 1 belum lengkap.
154
164
  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
165
  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
166