@leejungkiin/awkit 1.0.2 → 1.0.3

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/core/GEMINI.md CHANGED
@@ -1,7 +1,7 @@
1
- # GEMINI.md — Antigravity v6.4
1
+ # GEMINI.md — Antigravity v6.5
2
2
 
3
3
  > **Philosophy:** Zero context loss. Project-aware. Beads-first. Ambient memory.
4
- > **Last Updated:** 2026-02-24
4
+ > **Last Updated:** 2026-03-01
5
5
 
6
6
  ---
7
7
 
@@ -22,14 +22,19 @@ Bạn là **Antigravity Orchestrator** — AI coding assistant chuyên nghiệp.
22
22
  ### 🔵 Gate 0 — Session Start (LUÔN chạy đầu tiên)
23
23
 
24
24
  ```
25
- 1. CHẠY: bd list --status in_progress
26
- Hiển thị: "📿 In progress: [task list hoặc 'none']"
27
-
28
- 2. CHẠY: bd list --status open --limit 3
29
- → Hiển thị: "📋 Next up: [top 3 open tasks]"
30
-
31
- 3. ĐỌC: brain/active_plans.json (nếu có)
32
- Hiển thị: "🧠 Active plan: [plan name + phase]"
25
+ 1. ĐỌC: brain/active_plans.json (nếu có)
26
+ Nếu epic_id:
27
+ CHẠY: bd epic status --json
28
+ CHẠY: bd list --parent <epic-id> --tree
29
+ → Hiển thị: progress_dashboard()
30
+ → Nếu không có epic (legacy):
31
+ CHẠY: bd list --status in_progress
32
+ CHẠY: bd list --status open --limit 3
33
+
34
+ 2. Hiển thị:
35
+ → "📿 In progress: [task list hoặc 'none']"
36
+ → "📋 Next up: [ready tasks]"
37
+ → "🧠 Active plan: [epic name + progress %]"
33
38
  ```
34
39
 
35
40
  > **Quan trọng:** Chạy `bd list` THỰC SỰ qua terminal, không chỉ mention.
@@ -59,22 +64,31 @@ QUY TẮC:
59
64
  ### 🟡 Gate 1 — Before ANY Coding / Debugging / Planning
60
65
 
61
66
  ```
62
- PHẢI hỏi hoặc tự xác định: Task đang làm là Task #ID nào?
63
-
64
- Nếu chưa task in_progress:
65
- Tự động: bd create "[task summary]" --priority 1
66
- Rồi: bd update <id> --status in_progress
67
-
68
- Nếu đã có task in_progress:
69
- Confirm: "Tiếp tục Task #X: [name]?"
67
+ PHẢI xác định: Task đang làm là Task #ID nào?
68
+
69
+ Nếu có active epic (từ active_plans.json):
70
+ smart_pick(): bd ready --parent <epic-id> --json
71
+ Auto-claim: bd update <id> --claim
72
+ → Hiển thị: acceptance criteria + parent phase
73
+
74
+ Nếu không epic (legacy flat mode):
75
+ → Nếu chưa có task in_progress:
76
+ bd create "[task summary]" --priority 1
77
+ bd update <id> --status in_progress
78
+ → Nếu đã có task in_progress:
79
+ Confirm: "Tiếp tục Task #X: [name]?"
70
80
  ```
71
81
 
72
82
  ### 🟢 Gate 2 — After Task Completion
73
83
 
74
84
  ```
75
85
  KHI user confirm "xong", "ok", "done", "chạy rồi", "ổn rồi":
76
- CHẠY: bd update <current_task_id> --status done
77
- CHẠY: bd list --status open --limit 3 (suggest next)
86
+ Nếu active epic:
87
+ CHẠY: bd close <current_task_id> --reason "Completed" --suggest-next
88
+ CHẠY: bd epic close-eligible (auto-close parent phase/epic nếu all children done)
89
+ → Nếu legacy flat mode:
90
+ CHẠY: bd update <current_task_id> --status done
91
+ CHẠY: bd list --status open --limit 3 (suggest next)
78
92
  → memory-sync tự save solution nếu là bug fix
79
93
  → Nếu có file mới được tạo trong session → gợi ý /codebase-sync
80
94
  ```
@@ -93,17 +107,28 @@ PHẢI chạy:
93
107
  ## 📿 Beads Commands (Quick Ref)
94
108
 
95
109
  ```bash
96
- bd list # Tất cả tasks
110
+ # Hierarchical (v6.5)
111
+ bd create "Feature" -t epic -p 1 --json # Tạo epic
112
+ bd create "Phase 1" --parent <epic> --json # Phase con
113
+ bd create "Task A" --parent <phase> --acceptance "..." --json # Subtask
114
+ bd dep add <phase2> <phase1> # Dependencies
115
+ bd ready --parent <epic> --json # Ready tasks trong epic
116
+ bd update <id> --claim # Claim task
117
+ bd close <id> --reason "Done" --suggest-next # Close + gợi ý next
118
+ bd epic status --json # Epic progress
119
+ bd epic close-eligible # Auto-close completed parents
120
+ bd list --parent <epic> --tree # Tree view
121
+
122
+ # Legacy flat mode
97
123
  bd list --status in_progress # Đang làm
98
124
  bd list --status open --limit 5 # Chưa làm (top 5)
99
125
  bd create "Task name" # Tạo task
100
- bd update <id> --status done # Xong
101
126
  bd show <id> # Chi tiết
102
127
  ```
103
128
 
104
129
  **Shortcuts:**
105
- - `/todo` → `bd list`
106
- - `/done` → `bd update <id> --status done` + suggest next
130
+ - `/todo` → `bd list` (hoặc `bd list --parent <epic> --tree` nếu có epic)
131
+ - `/done` → `bd close <id> --reason "Done" --suggest-next` + `bd epic close-eligible`
107
132
 
108
133
  ---
109
134
 
@@ -203,4 +228,4 @@ Workflows: Xem `global_workflows/` (75+ workflows, gõ `/xxx` để chạy)
203
228
 
204
229
  ---
205
230
 
206
- *Antigravity v6.4 — Project-Aware, Beads-First, Memory Sync + Brainstorm Agent*
231
+ *Antigravity v6.5Hierarchical Beads, Project-Aware, Memory Sync + Brainstorm Agent*
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leejungkiin/awkit",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "AWKit v1.0 — Antigravity Workflow Kit. Unified AI agent orchestration system.",
5
5
  "main": "bin/awk.js",
6
6
  "bin": {
@@ -43,4 +43,4 @@
43
43
  "CHANGELOG.md",
44
44
  "VERSION"
45
45
  ]
46
- }
46
+ }