wdi-method 0.3.0

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.
Files changed (122) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +203 -0
  3. package/bin/wdi-method.js +906 -0
  4. package/kit/.constitution/README.md +66 -0
  5. package/kit/.constitution/codebase/brownfield-guide.md +18 -0
  6. package/kit/.constitution/codebase/conventions-guide.md +18 -0
  7. package/kit/.constitution/codebase/stack-guide.md +18 -0
  8. package/kit/.constitution/constitution.md +135 -0
  9. package/kit/.constitution/document/architecture-guide.md +209 -0
  10. package/kit/.constitution/document/bmad-guide.md +151 -0
  11. package/kit/.constitution/document/bmad-skill-register.md +71 -0
  12. package/kit/.constitution/document/brief-guide.md +94 -0
  13. package/kit/.constitution/document/corpus-guide.md +341 -0
  14. package/kit/.constitution/document/decision-guide.md +134 -0
  15. package/kit/.constitution/document/delivery-flow-guide.md +338 -0
  16. package/kit/.constitution/document/prd-guide.md +202 -0
  17. package/kit/.constitution/document/sdd-guide.md +206 -0
  18. package/kit/.constitution/document/srs-guide.md +147 -0
  19. package/kit/.constitution/document/templates/addendum.md +71 -0
  20. package/kit/.constitution/document/templates/architecture-spine.md +100 -0
  21. package/kit/.constitution/document/templates/brief.md +110 -0
  22. package/kit/.constitution/document/templates/c4.md +77 -0
  23. package/kit/.constitution/document/templates/contract.md +52 -0
  24. package/kit/.constitution/document/templates/cross-cutting.md +80 -0
  25. package/kit/.constitution/document/templates/decision.md +64 -0
  26. package/kit/.constitution/document/templates/design-system.md +67 -0
  27. package/kit/.constitution/document/templates/flow.md +51 -0
  28. package/kit/.constitution/document/templates/integration.md +69 -0
  29. package/kit/.constitution/document/templates/inventory.md +69 -0
  30. package/kit/.constitution/document/templates/lc.md +47 -0
  31. package/kit/.constitution/document/templates/lifecycle.md +52 -0
  32. package/kit/.constitution/document/templates/meeting.md +47 -0
  33. package/kit/.constitution/document/templates/model.md +55 -0
  34. package/kit/.constitution/document/templates/oq.md +45 -0
  35. package/kit/.constitution/document/templates/prd.md +226 -0
  36. package/kit/.constitution/document/templates/questions.md +75 -0
  37. package/kit/.constitution/document/templates/rtr.md +61 -0
  38. package/kit/.constitution/document/templates/rules.md +47 -0
  39. package/kit/.constitution/document/templates/scn.md +40 -0
  40. package/kit/.constitution/document/templates/sdd.md +146 -0
  41. package/kit/.constitution/document/templates/srs.md +149 -0
  42. package/kit/.constitution/document/templates/structure-codebase.md +129 -0
  43. package/kit/.constitution/document/templates/structure-document.md +90 -0
  44. package/kit/.constitution/document/templates/uc.md +69 -0
  45. package/kit/.constitution/document/templates/ux.md +77 -0
  46. package/kit/.constitution/document/ux-guide.md +99 -0
  47. package/kit/.constitution/language-guide.md +69 -0
  48. package/kit/.constitution/method/README.md +169 -0
  49. package/kit/.constitution/method/artifact-map.md +155 -0
  50. package/kit/.constitution/method/portability.md +91 -0
  51. package/kit/.constitution/method/rationale.md +246 -0
  52. package/kit/.constitution/method-glossary.md +169 -0
  53. package/kit/.constitution/project/README.md +68 -0
  54. package/kit/.constitution/repo-guide.md +97 -0
  55. package/kit/.constitution/scripts/inventory.py +527 -0
  56. package/kit/.constitution/scripts/timeline.py +665 -0
  57. package/kit/.constitution/scripts/validate.py +1579 -0
  58. package/kit/.constitution/structure-guide.md +202 -0
  59. package/kit/assets/bmad-custom/bmad-advanced-elicitation.toml +15 -0
  60. package/kit/assets/bmad-custom/bmad-architecture.toml +31 -0
  61. package/kit/assets/bmad-custom/bmad-build-auto.toml +10 -0
  62. package/kit/assets/bmad-custom/bmad-build.toml +52 -0
  63. package/kit/assets/bmad-custom/bmad-code-review.toml +12 -0
  64. package/kit/assets/bmad-custom/bmad-correct-course.toml +27 -0
  65. package/kit/assets/bmad-custom/bmad-deep-recon.toml +11 -0
  66. package/kit/assets/bmad-custom/bmad-prd.toml +42 -0
  67. package/kit/assets/bmad-custom/bmad-product-brief.toml +34 -0
  68. package/kit/assets/bmad-custom/bmad-retrospective.toml +9 -0
  69. package/kit/assets/bmad-custom/bmad-spec.toml +15 -0
  70. package/kit/assets/bmad-custom/bmad-ux.toml +19 -0
  71. package/kit/assets/bmad-custom/config.toml +6 -0
  72. package/kit/skills/wdi-blueprint/SKILL.md +203 -0
  73. package/kit/skills/wdi-build/SKILL.md +244 -0
  74. package/kit/skills/wdi-component/SKILL.md +172 -0
  75. package/kit/skills/wdi-decision/.gitkeep +0 -0
  76. package/kit/skills/wdi-decision/SKILL.md +183 -0
  77. package/kit/skills/wdi-help/.gitkeep +0 -0
  78. package/kit/skills/wdi-help/SKILL.md +98 -0
  79. package/kit/skills/wdi-init/SKILL.md +149 -0
  80. package/kit/skills/wdi-log/SKILL.md +107 -0
  81. package/kit/skills/wdi-problem/SKILL.md +90 -0
  82. package/kit/skills/wdi-product/SKILL.md +127 -0
  83. package/kit/skills/wdi-question/.gitkeep +0 -0
  84. package/kit/skills/wdi-question/SKILL.md +88 -0
  85. package/kit/skills/wdi-reconcile/.gitkeep +0 -0
  86. package/kit/skills/wdi-reconcile/SKILL.md +146 -0
  87. package/kit/skills/wdi-report/SKILL.md +205 -0
  88. package/kit/skills/wdi-review/SKILL.md +118 -0
  89. package/kit/skills/wdi-systematic-debugging/SKILL.md +193 -0
  90. package/kit/skills/wdi-systematic-debugging/references/condition-based-waiting.md +115 -0
  91. package/kit/skills/wdi-systematic-debugging/references/defense-in-depth.md +122 -0
  92. package/kit/skills/wdi-systematic-debugging/references/find-polluter.sh +72 -0
  93. package/kit/skills/wdi-systematic-debugging/references/root-cause-tracing.md +169 -0
  94. package/kit/skills/wdi-ux/SKILL.md +145 -0
  95. package/kit-overlay/AGENTS.md +196 -0
  96. package/kit-overlay/README.md +66 -0
  97. package/kit-overlay/constitution.md +135 -0
  98. package/kit-overlay/portability.md +91 -0
  99. package/kit-overlay/repo-guide.md +97 -0
  100. package/lib/agents-block.mjs +52 -0
  101. package/lib/identity.mjs +65 -0
  102. package/package.json +37 -0
  103. package/scaffold/.control/decisions/.gitkeep +0 -0
  104. package/scaffold/.control/generated/.gitkeep +2 -0
  105. package/scaffold/.control/meetings/.gitkeep +0 -0
  106. package/scaffold/.control/memlog/.gitkeep +0 -0
  107. package/scaffold/.control/product-glossary.md +21 -0
  108. package/scaffold/.control/project-non-technical-log.md +23 -0
  109. package/scaffold/.control/questions/answered.md +11 -0
  110. package/scaffold/.control/questions/assumptions.md +15 -0
  111. package/scaffold/.control/questions/blocking.md +21 -0
  112. package/scaffold/.control/questions/external.md +11 -0
  113. package/scaffold/.control/registry/components.yaml +21 -0
  114. package/scaffold/.control/registry/decisions.yaml +6 -0
  115. package/scaffold/.control/registry/defects.yaml +3 -0
  116. package/scaffold/.control/registry/index.yaml +46 -0
  117. package/scaffold/.control/registry/requirements.yaml +15 -0
  118. package/scaffold/.control/registry/risks.yaml +5 -0
  119. package/scaffold/.control/registry/usecases.yaml +6 -0
  120. package/scaffold/.control/registry/waves.yaml +5 -0
  121. package/scaffold/.control/structure-codebase.md +19 -0
  122. package/scaffold/.control/structure-document.md +25 -0
@@ -0,0 +1,46 @@
1
+ # index.yaml — peta kendali
2
+ #
3
+ # Memuat yang tidak punya rumah di registry lain: identitas produk, kedalaman global, peran, jatah
4
+ # waktu gate, jatah pertanyaan terbuka, dan kosakata `touches`.
5
+
6
+ # IDENTITAS PRODUK. Satu-satunya tempat terstruktur. Diisi di G1.
7
+ # constitution.md Pasal 1 dan judul brief mengutip nilai ini — mereka MUST NOT menjadi sumber kedua.
8
+ product:
9
+ name: "{product}"
10
+ client: ""
11
+
12
+ # KEDALAMAN GLOBAL. Satu-satunya knob kedalaman dokumen, dan ia MUST NOT ikut mengendalikan intensitas
13
+ # review — itu `risk_accepted` per komponen di components.yaml.
14
+ # catalog daftar UC + tiga inventaris + C4; nol berkas tambahan per komponen. G4 dilewati
15
+ # outline + alur penuh maks 3 UC, business rule lokal, Decision Summary, daftar LC
16
+ # guarded + Failure Behaviour seluruh boundary, Inherited Constraints, dokumen integrasi
17
+ # deep + ABCE, spec kontrak per endpoint, data dictionary, flow, state machine, skenario
18
+ # Default `catalog` bila baris ini tidak ada. Baris per komponen di components.yaml MENANG atas ini.
19
+ # Tidak ada scope ketiga: `mode` MUST NOT di-override per wave maupun per SPEC.md.
20
+ mode: catalog
21
+
22
+ # GATE YANG SUDAH LULUS. Ditulis hanya atas keputusan pemilik repo di gate-nya sendiri, dan MUST NOT
23
+ # diisi agent untuk membuka jalan bagi dirinya.
24
+ gates_passed: []
25
+
26
+ roles: []
27
+ # - role: Product Owner
28
+ # files: []
29
+
30
+ gates:
31
+ G1: { name: Problem, stage: 1, budget_minutes: 20 }
32
+ G2: { name: Product, stage: 2, budget_minutes: 45 }
33
+ G3: { name: Blueprint, stage: 3, budget_minutes: 45 }
34
+ G4: { name: Component, stage: 4, budget_minutes: 30 }
35
+ G5: { name: Release, stage: 5, budget_minutes: 10 }
36
+
37
+ question_budget:
38
+ blocking_per_component: 3
39
+ assumptions_per_gate: 15
40
+
41
+ wave_sizes:
42
+ S: { stories: "<=3", note: "tanpa FR baru; G4 dan G5 digabung satu sesi 20 menit" }
43
+ M: { stories: "4-12", note: "seperti biasa" }
44
+ L: { stories: ">12", note: "atau container baru; retrospektif dijalankan" }
45
+
46
+ touches_vocabulary: []
@@ -0,0 +1,15 @@
1
+ # requirements.yaml — SSOT untuk BG · CAP · FR · NFR · UJ
2
+ #
3
+ # Kunci berbahasa Inggris; isi nilainya Bahasa Indonesia.
4
+ # Nomor dialokasikan DARI SINI dan MUST NOT dimulai ulang per dokumen, per komponen, atau per rilis.
5
+ # Deretnya global untuk satu produk.
6
+
7
+ goals: []
8
+
9
+ capabilities: []
10
+
11
+ functional: []
12
+
13
+ nonfunctional: []
14
+
15
+ journeys: []
@@ -0,0 +1,5 @@
1
+ # risks.yaml — Risk Register
2
+ #
3
+ # `pivot_trigger` adalah kondisi terukur yang membuat berbelok atau menyerah jadi tindakan benar.
4
+
5
+ risks: []
@@ -0,0 +1,6 @@
1
+ # usecases.yaml — SSOT untuk UC
2
+ #
3
+ # `critical: true` bila UC itu menyentuh UANG, DATA PRIBADI, atau TINDAKAN TAK-TERBALIKKAN.
4
+ # Label ini menentukan sesuatu HANYA pada `mode: deep`.
5
+
6
+ usecases: []
@@ -0,0 +1,5 @@
1
+ # waves.yaml — rencana kerja.
2
+ #
3
+ # `release` MUST disebut tiap wave. STATUS STORY MUST NOT DISALIN KE SINI.
4
+
5
+ waves: []
@@ -0,0 +1,19 @@
1
+ ---
2
+ type: structure
3
+ scope: codebase
4
+ verified: null
5
+ commit: null
6
+ ---
7
+
8
+ # Codebase Structure
9
+
10
+ Written and refreshed only by `wdi-init` intent `structure`, never by hand. Rules live in
11
+ `.constitution/structure-guide.md`.
12
+
13
+ ## Verified
14
+
15
+ Not yet derived.
16
+
17
+ ## Top level
18
+
19
+ Not yet derived. `wdi-init` intent `structure` fills this from the tree on disk.
@@ -0,0 +1,25 @@
1
+ ---
2
+ type: structure
3
+ scope: document
4
+ verified: null
5
+ commit: null
6
+ ---
7
+
8
+ # Document Structure
9
+
10
+ Written and refreshed only by `wdi-init` intent `structure`, never by hand. Rules live in
11
+ `.constitution/structure-guide.md`.
12
+
13
+ ## Verified
14
+
15
+ Not yet derived.
16
+
17
+ ## Top level
18
+
19
+ ```text
20
+ .constitution/ # how we work — not yet mapped
21
+ .control/ # what currently holds — not yet mapped
22
+ .what/ # what was promised — empty
23
+ .how/ # how it is built — empty
24
+ _bmad-output/ # run workspace
25
+ ```