dw-kit 1.9.0 → 1.9.2
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/.claude/agents/planner.md +100 -100
- package/.claude/agents/quality-checker.md +86 -86
- package/.claude/agents/researcher.md +93 -93
- package/.claude/agents/reviewer.md +126 -126
- package/.claude/hooks/supply-chain-scan.sh +0 -0
- package/.claude/rules/code-style.md +37 -37
- package/.claude/settings.json +2 -28
- package/.claude/skills/dw-kit-report/SKILL.md +38 -7
- package/.claude/skills/dw-plan/template-plan.md +47 -47
- package/.claude/skills/dw-research/template-research.md +51 -51
- package/.claude/skills/dw-review/checklist.md +88 -88
- package/.claude/skills/dw-thinking/THINKING.md +91 -91
- package/.claude/templates/agent-report.md +35 -35
- package/.claude/templates/en/task-context.md +77 -73
- package/.claude/templates/en/task-plan.md +83 -79
- package/.claude/templates/en/task-progress.md +69 -65
- package/.claude/templates/pr-template.md +56 -56
- package/.claude/templates/task-context.md +77 -73
- package/.claude/templates/task-plan.md +83 -79
- package/.claude/templates/task-progress.md +69 -65
- package/.dw/adapters/claude-cli/extensions/README.md +36 -36
- package/.dw/adapters/claude-cli/generated/README.md +23 -23
- package/.dw/adapters/claude-cli/overrides/README.md +37 -37
- package/.dw/adapters/generic/README.md +21 -21
- package/.dw/config/presets/enterprise.yml +52 -52
- package/.dw/config/presets/small-team.yml +39 -39
- package/.dw/config/presets/solo-quick.yml +37 -37
- package/.dw/core/AGENTS.md +53 -53
- package/.dw/core/QUALITY.md +220 -220
- package/.dw/core/THINKING.md +126 -126
- package/.dw/core/WORKFLOW.md +17 -12
- package/.dw/core/templates/v2/spec.md +2 -0
- package/.dw/core/templates/v2/tracking.md +2 -0
- package/.dw/core/templates/v3/task.md +15 -22
- package/.dw/core/templates/vi/task-context.md +96 -92
- package/.dw/core/templates/vi/task-plan.md +97 -93
- package/.dw/core/templates/vi/task-progress.md +60 -56
- package/LICENSE +201 -201
- package/NOTICE +26 -26
- package/README.md +1 -1
- package/bin/dw.mjs +28 -28
- package/package.json +1 -1
- package/src/commands/claude-vn-fix.mjs +267 -267
- package/src/commands/prompt.mjs +112 -112
- package/src/commands/validate.mjs +102 -102
- package/src/lib/clipboard.mjs +24 -24
- package/src/lib/goal-store.mjs +2 -14
- package/src/lib/platform.mjs +39 -39
- package/src/lib/prompt-suggest.mjs +84 -84
- package/src/lib/timeline-parser.mjs +54 -15
- package/src/lib/ui.mjs +66 -66
- package/src/lib/update-checker.mjs +73 -73
- package/.dw/security/advisory-snapshot.json +0 -157
|
@@ -1,79 +1,83 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
##
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
##
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
- **
|
|
29
|
-
- **
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
- **
|
|
33
|
-
- **
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
- **
|
|
37
|
-
- **
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
- **
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
|
76
|
-
|
|
77
|
-
|
|
|
78
|
-
|
|
|
79
|
-
|
|
|
1
|
+
<!-- ⚠️ LEGACY TEMPLATE — do not use for new tasks. -->
|
|
2
|
+
<!-- Canonical task doc lineage = v3 (.dw/core/templates/v3/task.md), per ADR-0008 / ADR-0020. -->
|
|
3
|
+
<!-- Kept only as reference for `dw task migrate` + reading legacy task docs. -->
|
|
4
|
+
|
|
5
|
+
# Plan: [Task Name]
|
|
6
|
+
|
|
7
|
+
## Created: [date]
|
|
8
|
+
## Status: Draft | Approved | In Progress | Done
|
|
9
|
+
## Approved by: [name / role]
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
## Solution Summary
|
|
14
|
+
|
|
15
|
+
[1-2 paragraphs describing the goal and chosen approach]
|
|
16
|
+
|
|
17
|
+
## Options Considered
|
|
18
|
+
|
|
19
|
+
| # | Option | Pros | Cons | Selected? |
|
|
20
|
+
|---|--------|------|------|-----------|
|
|
21
|
+
| 1 | [Approach A] | | | **Selected** |
|
|
22
|
+
| 2 | [Approach B] | | | Rejected — reason: |
|
|
23
|
+
|
|
24
|
+
## Subtasks
|
|
25
|
+
|
|
26
|
+
### ST-1: [Subtask name]
|
|
27
|
+
- **Description**: [Specific, actionable]
|
|
28
|
+
- **Files**: [List of files to change]
|
|
29
|
+
- **Acceptance Criteria**:
|
|
30
|
+
- [ ] [Condition 1]
|
|
31
|
+
- [ ] [Condition 2]
|
|
32
|
+
- **Dependencies**: none
|
|
33
|
+
- **Estimate**: [effort — if estimation enabled]
|
|
34
|
+
|
|
35
|
+
### ST-2: [Subtask name]
|
|
36
|
+
- **Description**: ...
|
|
37
|
+
- **Files**: ...
|
|
38
|
+
- **Acceptance Criteria**:
|
|
39
|
+
- [ ] ...
|
|
40
|
+
- **Dependencies**: ST-1
|
|
41
|
+
- **Estimate**: ...
|
|
42
|
+
|
|
43
|
+
<!-- Add more subtasks as needed -->
|
|
44
|
+
|
|
45
|
+
## Risks & Assumptions
|
|
46
|
+
|
|
47
|
+
| # | Type | Description | Probability | Impact | Mitigation |
|
|
48
|
+
|---|------|-------------|-------------|--------|------------|
|
|
49
|
+
| 1 | Assumption | | | | Verify by: |
|
|
50
|
+
| 2 | Risk | | High/Med/Low | High/Med/Low | |
|
|
51
|
+
|
|
52
|
+
## Edge Cases
|
|
53
|
+
|
|
54
|
+
- [ ] [Edge case 1 — when it occurs, how to handle]
|
|
55
|
+
- [ ] [Edge case 2]
|
|
56
|
+
|
|
57
|
+
## System Impact
|
|
58
|
+
|
|
59
|
+
- **Affected modules**: [list]
|
|
60
|
+
- **API changes**: [new/modified/removed endpoints]
|
|
61
|
+
- **Database changes**: [migrations needed]
|
|
62
|
+
- **Backward compatibility**: [Yes/No — details]
|
|
63
|
+
- **Breaking changes**: [if any]
|
|
64
|
+
|
|
65
|
+
## Perspectives & Trade-offs
|
|
66
|
+
|
|
67
|
+
| Decision | User impact | Developer impact | Security | Ops/Deploy |
|
|
68
|
+
|----------|-------------|------------------|----------|------------|
|
|
69
|
+
| [Decision 1] | | | | |
|
|
70
|
+
|
|
71
|
+
<!-- Section below only shown when flags.estimation = true -->
|
|
72
|
+
|
|
73
|
+
## Estimation Summary
|
|
74
|
+
|
|
75
|
+
| Phase | Estimate | Notes |
|
|
76
|
+
|-------|----------|-------|
|
|
77
|
+
| Research | [done] | |
|
|
78
|
+
| Planning | [done] | |
|
|
79
|
+
| Coding | | |
|
|
80
|
+
| Testing | | |
|
|
81
|
+
| Review | | |
|
|
82
|
+
| Documentation | | |
|
|
83
|
+
| **Total** | **[sum]** | |
|
|
@@ -1,65 +1,69 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
##
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
1
|
+
<!-- ⚠️ LEGACY TEMPLATE — do not use for new tasks. -->
|
|
2
|
+
<!-- Canonical task doc lineage = v3 (.dw/core/templates/v3/task.md), per ADR-0008 / ADR-0020. -->
|
|
3
|
+
<!-- Kept only as reference for `dw task migrate` + reading legacy task docs. -->
|
|
4
|
+
|
|
5
|
+
# Progress: [Task Name]
|
|
6
|
+
|
|
7
|
+
## Status: Not Started | In Progress | Blocked | Done
|
|
8
|
+
## Branch: [branch-name]
|
|
9
|
+
## Started: [date]
|
|
10
|
+
## Completed: [date — when done]
|
|
11
|
+
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
## Subtask Progress
|
|
15
|
+
|
|
16
|
+
| # | Subtask | Status | Commit | Owner | Notes |
|
|
17
|
+
|---|---------|--------|--------|-------|-------|
|
|
18
|
+
| ST-1 | | Pending | | | |
|
|
19
|
+
| ST-2 | | Pending | | | |
|
|
20
|
+
|
|
21
|
+
**Status values**: Pending → In Progress → Done | Blocked | Skipped
|
|
22
|
+
|
|
23
|
+
## Changelog
|
|
24
|
+
|
|
25
|
+
Record all deviations from the original plan.
|
|
26
|
+
|
|
27
|
+
### [date] — [description of change]
|
|
28
|
+
- **Reason**: [why the change was made]
|
|
29
|
+
- **Impact**: [which subtasks are affected]
|
|
30
|
+
- **Decision by**: [human / agent / both]
|
|
31
|
+
|
|
32
|
+
## New Findings
|
|
33
|
+
|
|
34
|
+
Record when assumptions are wrong, new risks appear, or scope changes.
|
|
35
|
+
|
|
36
|
+
| # | Finding | Impact | Action | Status |
|
|
37
|
+
|---|---------|--------|--------|--------|
|
|
38
|
+
| 1 | | | | Resolved / Open |
|
|
39
|
+
|
|
40
|
+
## Blockers
|
|
41
|
+
|
|
42
|
+
- [ ] [Blocker 1] — owner: [who is responsible] — since: [date]
|
|
43
|
+
|
|
44
|
+
<!-- Section below only shown when flags.log_work = true -->
|
|
45
|
+
|
|
46
|
+
## Effort Log
|
|
47
|
+
|
|
48
|
+
| Date | Subtask | Work type | Estimate | Actual | Notes |
|
|
49
|
+
|------|---------|-----------|----------|--------|-------|
|
|
50
|
+
| | | coding/testing/review | | | |
|
|
51
|
+
|
|
52
|
+
### Effort Summary
|
|
53
|
+
|
|
54
|
+
| Metric | Value |
|
|
55
|
+
|--------|-------|
|
|
56
|
+
| Total Estimate | |
|
|
57
|
+
| Total Actual | |
|
|
58
|
+
| Variance | |
|
|
59
|
+
| Accuracy | % |
|
|
60
|
+
|
|
61
|
+
## Handoff Notes
|
|
62
|
+
|
|
63
|
+
Record at end of session so next person/agent can continue without asking.
|
|
64
|
+
|
|
65
|
+
### Session [date]
|
|
66
|
+
- **Currently at**: ST-[N] — [describe current state]
|
|
67
|
+
- **Important context**: [decisions, gotchas]
|
|
68
|
+
- **Next steps**: [what to do immediately]
|
|
69
|
+
- **Watch out for**: [warnings, edge cases encountered]
|
|
@@ -1,56 +1,56 @@
|
|
|
1
|
-
## Tóm Tắt
|
|
2
|
-
|
|
3
|
-
[Mô tả ngắn: thay đổi gì, tại sao]
|
|
4
|
-
|
|
5
|
-
## Loại Thay Đổi
|
|
6
|
-
|
|
7
|
-
- [ ] Feature mới (feat)
|
|
8
|
-
- [ ] Bug fix (fix)
|
|
9
|
-
- [ ] Refactoring (refactor)
|
|
10
|
-
- [ ] Tests (test)
|
|
11
|
-
- [ ] Documentation (docs)
|
|
12
|
-
- [ ] Performance (perf)
|
|
13
|
-
- [ ] Chore/Config (chore)
|
|
14
|
-
|
|
15
|
-
## Thay Đổi Chi Tiết
|
|
16
|
-
|
|
17
|
-
- [Thay đổi 1]: [mô tả]
|
|
18
|
-
- [Thay đổi 2]: [mô tả]
|
|
19
|
-
|
|
20
|
-
## Task Documentation
|
|
21
|
-
|
|
22
|
-
- Plan: `.dw/tasks/[task-name]/[task-name]-plan.md`
|
|
23
|
-
- Context: `.dw/tasks/[task-name]/[task-name]-context.md`
|
|
24
|
-
- Progress: `.dw/tasks/[task-name]/[task-name]-progress.md`
|
|
25
|
-
|
|
26
|
-
## Testing
|
|
27
|
-
|
|
28
|
-
- [ ] Unit tests pass
|
|
29
|
-
- [ ] Integration tests pass (nếu applicable)
|
|
30
|
-
- [ ] Manual testing done
|
|
31
|
-
- [ ] Edge cases đã test: [liệt kê]
|
|
32
|
-
|
|
33
|
-
## Checklist
|
|
34
|
-
|
|
35
|
-
- [ ] Code tuân thủ conventions (`.claude/rules/code-style.md`)
|
|
36
|
-
- [ ] Commit messages đúng format
|
|
37
|
-
- [ ] Không có sensitive data (secrets, tokens, .env)
|
|
38
|
-
- [ ] Không có debug code (console.log, debugger)
|
|
39
|
-
- [ ] Documentation cập nhật (nếu applicable)
|
|
40
|
-
- [ ] Breaking changes đã documented (nếu có)
|
|
41
|
-
- [ ] Backward compatible (hoặc migration plan có sẵn)
|
|
42
|
-
|
|
43
|
-
## Screenshots / Demo
|
|
44
|
-
|
|
45
|
-
[Nếu UI changes — đính kèm screenshots]
|
|
46
|
-
|
|
47
|
-
## Estimate vs Actual
|
|
48
|
-
|
|
49
|
-
| Metric | Giá trị |
|
|
50
|
-
|--------|---------|
|
|
51
|
-
| Estimated | [hours/points] |
|
|
52
|
-
| Actual | [hours/points] |
|
|
53
|
-
| Notes | |
|
|
54
|
-
|
|
55
|
-
---
|
|
56
|
-
> PR này được tạo với sự hỗ trợ của AI Agent (dv-workflow-kit)
|
|
1
|
+
## Tóm Tắt
|
|
2
|
+
|
|
3
|
+
[Mô tả ngắn: thay đổi gì, tại sao]
|
|
4
|
+
|
|
5
|
+
## Loại Thay Đổi
|
|
6
|
+
|
|
7
|
+
- [ ] Feature mới (feat)
|
|
8
|
+
- [ ] Bug fix (fix)
|
|
9
|
+
- [ ] Refactoring (refactor)
|
|
10
|
+
- [ ] Tests (test)
|
|
11
|
+
- [ ] Documentation (docs)
|
|
12
|
+
- [ ] Performance (perf)
|
|
13
|
+
- [ ] Chore/Config (chore)
|
|
14
|
+
|
|
15
|
+
## Thay Đổi Chi Tiết
|
|
16
|
+
|
|
17
|
+
- [Thay đổi 1]: [mô tả]
|
|
18
|
+
- [Thay đổi 2]: [mô tả]
|
|
19
|
+
|
|
20
|
+
## Task Documentation
|
|
21
|
+
|
|
22
|
+
- Plan: `.dw/tasks/[task-name]/[task-name]-plan.md`
|
|
23
|
+
- Context: `.dw/tasks/[task-name]/[task-name]-context.md`
|
|
24
|
+
- Progress: `.dw/tasks/[task-name]/[task-name]-progress.md`
|
|
25
|
+
|
|
26
|
+
## Testing
|
|
27
|
+
|
|
28
|
+
- [ ] Unit tests pass
|
|
29
|
+
- [ ] Integration tests pass (nếu applicable)
|
|
30
|
+
- [ ] Manual testing done
|
|
31
|
+
- [ ] Edge cases đã test: [liệt kê]
|
|
32
|
+
|
|
33
|
+
## Checklist
|
|
34
|
+
|
|
35
|
+
- [ ] Code tuân thủ conventions (`.claude/rules/code-style.md`)
|
|
36
|
+
- [ ] Commit messages đúng format
|
|
37
|
+
- [ ] Không có sensitive data (secrets, tokens, .env)
|
|
38
|
+
- [ ] Không có debug code (console.log, debugger)
|
|
39
|
+
- [ ] Documentation cập nhật (nếu applicable)
|
|
40
|
+
- [ ] Breaking changes đã documented (nếu có)
|
|
41
|
+
- [ ] Backward compatible (hoặc migration plan có sẵn)
|
|
42
|
+
|
|
43
|
+
## Screenshots / Demo
|
|
44
|
+
|
|
45
|
+
[Nếu UI changes — đính kèm screenshots]
|
|
46
|
+
|
|
47
|
+
## Estimate vs Actual
|
|
48
|
+
|
|
49
|
+
| Metric | Giá trị |
|
|
50
|
+
|--------|---------|
|
|
51
|
+
| Estimated | [hours/points] |
|
|
52
|
+
| Actual | [hours/points] |
|
|
53
|
+
| Notes | |
|
|
54
|
+
|
|
55
|
+
---
|
|
56
|
+
> PR này được tạo với sự hỗ trợ của AI Agent (dv-workflow-kit)
|
|
@@ -1,73 +1,77 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
##
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
##
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
- [
|
|
70
|
-
|
|
71
|
-
##
|
|
72
|
-
|
|
73
|
-
[
|
|
1
|
+
<!-- ⚠️ LEGACY TEMPLATE — do not use for new tasks. -->
|
|
2
|
+
<!-- Canonical task doc lineage = v3 (.dw/core/templates/v3/task.md), per ADR-0008 / ADR-0020. -->
|
|
3
|
+
<!-- Kept only as reference for `dw task migrate` + reading legacy task docs. -->
|
|
4
|
+
|
|
5
|
+
# Context: [Task Name]
|
|
6
|
+
|
|
7
|
+
## Ngày khảo sát: [date]
|
|
8
|
+
## Người thực hiện: [dev / agent]
|
|
9
|
+
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
## Yêu Cầu Gốc
|
|
13
|
+
|
|
14
|
+
> [Copy/paste yêu cầu từ user, ticket, hoặc BA requirements doc]
|
|
15
|
+
|
|
16
|
+
## Codebase Analysis
|
|
17
|
+
|
|
18
|
+
### Files Liên Quan
|
|
19
|
+
|
|
20
|
+
| # | File | Vai trò | Cần thay đổi? | Ghi chú |
|
|
21
|
+
|---|------|---------|----------------|---------|
|
|
22
|
+
| 1 | | | | |
|
|
23
|
+
|
|
24
|
+
### Kiến Trúc Hiện Tại
|
|
25
|
+
|
|
26
|
+
```
|
|
27
|
+
[Mô tả luồng hiện tại, có thể dùng ASCII diagram]
|
|
28
|
+
|
|
29
|
+
Input → [Module A] → [Module B] → Output
|
|
30
|
+
↓
|
|
31
|
+
[Database]
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
### Data Flow
|
|
35
|
+
|
|
36
|
+
- **Input**: [Dữ liệu đầu vào từ đâu, format gì]
|
|
37
|
+
- **Processing**: [Logic xử lý chính]
|
|
38
|
+
- **Output**: [Kết quả đi đâu, format gì]
|
|
39
|
+
- **Storage**: [Lưu ở đâu, schema gì]
|
|
40
|
+
|
|
41
|
+
## Dependencies
|
|
42
|
+
|
|
43
|
+
### Upstream (task phụ thuộc vào)
|
|
44
|
+
- [ ] [Module/API/Service] — [vai trò]
|
|
45
|
+
|
|
46
|
+
### Downstream (bị ảnh hưởng bởi task)
|
|
47
|
+
- [ ] [Module/API/Service] — [ảnh hưởng thế nào]
|
|
48
|
+
|
|
49
|
+
## Patterns & Conventions Phát Hiện
|
|
50
|
+
|
|
51
|
+
| Pattern | Mô tả | Ví dụ (file:line) |
|
|
52
|
+
|---------|--------|--------------------|
|
|
53
|
+
| | | |
|
|
54
|
+
|
|
55
|
+
## Test Coverage Hiện Tại
|
|
56
|
+
|
|
57
|
+
- [ ] Có tests cho khu vực liên quan? [Có/Không]
|
|
58
|
+
- Test files: [danh sách]
|
|
59
|
+
- Coverage: [% hoặc mô tả]
|
|
60
|
+
- Gaps: [thiếu test ở đâu]
|
|
61
|
+
|
|
62
|
+
## Giả Định
|
|
63
|
+
|
|
64
|
+
| # | Giả định | Cần kiểm chứng? | Nếu sai thì sao? |
|
|
65
|
+
|---|----------|------------------|-------------------|
|
|
66
|
+
| 1 | | Có / Không | |
|
|
67
|
+
|
|
68
|
+
## Hạn Chế Đã Biết
|
|
69
|
+
- [Hạn chế 1]
|
|
70
|
+
|
|
71
|
+
## Chưa Rõ / Cần Làm Rõ
|
|
72
|
+
- [ ] [Câu hỏi 1] — cần hỏi ai?
|
|
73
|
+
- [ ] [Câu hỏi 2]
|
|
74
|
+
|
|
75
|
+
## Ghi Chú Bổ Sung
|
|
76
|
+
|
|
77
|
+
[Bất kỳ thông tin quan trọng khác: gotchas, tech debt, lịch sử thay đổi gần đây]
|