agentic-sdlc 1.5.1 → 1.6.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.
- package/.agent/rules/artifacts.md +78 -76
- package/.agent/rules/git-workflow.md +44 -24
- package/.agent/rules/global.md +8 -4
- package/.agent/skills/role-dev.md +9 -4
- package/.agent/skills/role-devops.md +5 -0
- package/.agent/skills/role-tester.md +11 -3
- package/.agent/templates/CHANGELOG-Template.md +2 -2
- package/.agent/templates/Design-Verification-Report-Template.md +4 -4
- package/.agent/templates/DevOps-Plan-Template.md +7 -0
- package/.agent/workflows/brain.md +32 -33
- package/.agent/workflows/cycle.md +11 -11
- package/.agent/workflows/orchestrator.md +12 -12
- package/CHANGELOG.md +17 -0
- package/bin/cli.js +5 -1
- package/package.json +1 -1
- package/.agent/skills/role-qa.md +0 -81
|
@@ -1,77 +1,79 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: Artifact and Naming Conventions
|
|
3
|
-
---
|
|
4
|
-
# Artifact & Naming Conventions
|
|
5
|
-
## ⚠️ DOCUMENTATION LOCATION RULE (PROJECT-SPECIFIC)
|
|
6
|
-
Documentation MUST be located within each project's directory, NOT in the root docs/ folder (except for global guides).
|
|
7
|
-
### Correct Structure
|
|
8
|
-
`
|
|
9
|
-
root/
|
|
10
|
-
├── docs/ (Global System Docs ONLY)
|
|
11
|
-
│ ├── ARCHITECTURE.md
|
|
12
|
-
│ └── BRAIN-GUIDE.md
|
|
13
|
-
│
|
|
14
|
-
└── projects/
|
|
15
|
-
└── [project-name]/
|
|
16
|
-
└── docs/ (Project Specific Docs)
|
|
17
|
-
└── sprints/
|
|
18
|
-
└── sprint-[N]/
|
|
19
|
-
├── plans/
|
|
20
|
-
├── requirements/
|
|
21
|
-
├── designs/
|
|
22
|
-
└── logs/
|
|
23
|
-
`
|
|
24
|
-
## Artifact Naming Convention
|
|
25
|
-
Use versioned names attached to the current Sprint:
|
|
26
|
-
| Artifact | Owner |
|
|
27
|
-
|----------|-------|
|
|
28
|
-
| Project-Plan-Sprint-[N]-v*.md | PM |
|
|
29
|
-
| Product-Backlog-Sprint-[N]-v*.md | PO |
|
|
30
|
-
| UIUX-Design-Spec-Sprint-[N]-v*.md | UIUX |
|
|
31
|
-
| System-Design-Spec-Sprint-[N]-v*.md | SA |
|
|
32
|
-
| Design-Verification-Report-Sprint-[N]-v*.md | QA |
|
|
33
|
-
| Security-Review-Report-Sprint-[N]-v*.md | SecA |
|
|
34
|
-
| Development-Log-Sprint-[N]-v*.md | DEV |
|
|
35
|
-
| DevOps-Plan-and-Log-Sprint-[N]-v*.md | DevOps |
|
|
36
|
-
| Test-Report-Sprint-[N]-v*.md | TESTER |
|
|
37
|
-
| Phase-Report-Sprint-[N]-v*.md | REPORTER |
|
|
38
|
-
| Master-Documentation.md | REPORTER |
|
|
39
|
-
| Final-Project-Report.md | REPORTER |
|
|
40
|
-
| Final-Approval-Report.md | STAKEHOLDER |
|
|
41
|
-
## ⚠️ CRITICAL LOCATION RULE (SPRINT FOLDERS)
|
|
42
|
-
ALL project artifacts MUST be created in the **PROJECT'S** workspace with organized structure based on **Sprint**:
|
|
43
|
-
**Base Directory:** projects/[project-name]/docs/sprints/sprint-[N]/
|
|
44
|
-
| Category | Folder Path | Content Example | Owner |
|
|
45
|
-
|----------|-------------|-----------------|-------|
|
|
46
|
-
| Plans | .../plans/ | Project-Plan-Sprint-[N]-v*.md, Product-Backlog-Sprint-[N]-v*.md | PM, PO |
|
|
47
|
-
| Designs | .../designs/ | System-Design-Spec-Sprint-[N]-v*.md, UIUX-Design-Spec-Sprint-[N]-v*.md | SA, UIUX |
|
|
48
|
-
| Reviews | .../reviews/ | Design-Verification-Report-Sprint-[N]-v*.md, Security-Review-Report-Sprint-[N]-v*.md | QA, SecA |
|
|
49
|
-
| Logs | .../logs/ | Development-Log-Sprint-[N]-v*.md, DevOps-Plan-and-Log-Sprint-[N]-v*.md | DEV, DevOps |
|
|
50
|
-
| Tests | .../tests/ | Test-Report-Sprint-[N]-v*.md | TESTER |
|
|
51
|
-
| Reports | .../reports/ | Phase-Report-Sprint-[N]-v*.md | REPORTER |
|
|
52
|
-
| Global | .../global/reports/ | Final-Project-Report.md, Final-Approval-Report.md | REPORTER, STAKEHOLDER |
|
|
53
|
-
| Global | projects/[project-name]/docs/global/ | Master-Documentation.md | REPORTER |
|
|
54
|
-
**FORBIDDEN LOCATIONS:**
|
|
55
|
-
- .agent/ directory (reserved for instructions only)
|
|
56
|
-
- Global docs/ folder for project-specific artifacts.
|
|
57
|
-
## ⚠️ CHANGELOG RULE
|
|
58
|
-
**
|
|
59
|
-
|
|
60
|
-
-
|
|
61
|
-
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
|
68
|
-
|
|
69
|
-
| **
|
|
70
|
-
| **
|
|
71
|
-
| **
|
|
72
|
-
| **
|
|
73
|
-
| **
|
|
74
|
-
| **
|
|
75
|
-
| **
|
|
76
|
-
| **
|
|
1
|
+
---
|
|
2
|
+
description: Artifact and Naming Conventions
|
|
3
|
+
---
|
|
4
|
+
# Artifact & Naming Conventions
|
|
5
|
+
## ⚠️ DOCUMENTATION LOCATION RULE (PROJECT-SPECIFIC)
|
|
6
|
+
Documentation MUST be located within each project's directory, NOT in the root docs/ folder (except for global guides).
|
|
7
|
+
### Correct Structure
|
|
8
|
+
`
|
|
9
|
+
root/
|
|
10
|
+
├── docs/ (Global System Docs ONLY)
|
|
11
|
+
│ ├── ARCHITECTURE.md
|
|
12
|
+
│ └── BRAIN-GUIDE.md
|
|
13
|
+
│
|
|
14
|
+
└── projects/
|
|
15
|
+
└── [project-name]/
|
|
16
|
+
└── docs/ (Project Specific Docs)
|
|
17
|
+
└── sprints/
|
|
18
|
+
└── sprint-[N]/
|
|
19
|
+
├── plans/
|
|
20
|
+
├── requirements/
|
|
21
|
+
├── designs/
|
|
22
|
+
└── logs/
|
|
23
|
+
`
|
|
24
|
+
## Artifact Naming Convention
|
|
25
|
+
Use versioned names attached to the current Sprint:
|
|
26
|
+
| Artifact | Owner |
|
|
27
|
+
|----------|-------|
|
|
28
|
+
| Project-Plan-Sprint-[N]-v*.md | PM |
|
|
29
|
+
| Product-Backlog-Sprint-[N]-v*.md | PO |
|
|
30
|
+
| UIUX-Design-Spec-Sprint-[N]-v*.md | UIUX |
|
|
31
|
+
| System-Design-Spec-Sprint-[N]-v*.md | SA |
|
|
32
|
+
| Design-Verification-Report-Sprint-[N]-v*.md | QA |
|
|
33
|
+
| Security-Review-Report-Sprint-[N]-v*.md | SecA |
|
|
34
|
+
| Development-Log-Sprint-[N]-v*.md | DEV |
|
|
35
|
+
| DevOps-Plan-and-Log-Sprint-[N]-v*.md | DevOps |
|
|
36
|
+
| Test-Report-Sprint-[N]-v*.md | TESTER |
|
|
37
|
+
| Phase-Report-Sprint-[N]-v*.md | REPORTER |
|
|
38
|
+
| Master-Documentation.md | REPORTER |
|
|
39
|
+
| Final-Project-Report.md | REPORTER |
|
|
40
|
+
| Final-Approval-Report.md | STAKEHOLDER |
|
|
41
|
+
## ⚠️ CRITICAL LOCATION RULE (SPRINT FOLDERS)
|
|
42
|
+
ALL project artifacts MUST be created in the **PROJECT'S** workspace with organized structure based on **Sprint**:
|
|
43
|
+
**Base Directory:** projects/[project-name]/docs/sprints/sprint-[N]/
|
|
44
|
+
| Category | Folder Path | Content Example | Owner |
|
|
45
|
+
|----------|-------------|-----------------|-------|
|
|
46
|
+
| Plans | .../plans/ | Project-Plan-Sprint-[N]-v*.md, Product-Backlog-Sprint-[N]-v*.md | PM, PO |
|
|
47
|
+
| Designs | .../designs/ | System-Design-Spec-Sprint-[N]-v*.md, UIUX-Design-Spec-Sprint-[N]-v*.md | SA, UIUX |
|
|
48
|
+
| Reviews | .../reviews/ | Design-Verification-Report-Sprint-[N]-v*.md, Security-Review-Report-Sprint-[N]-v*.md | QA, SecA |
|
|
49
|
+
| Logs | .../logs/ | Development-Log-Sprint-[N]-v*.md, DevOps-Plan-and-Log-Sprint-[N]-v*.md | DEV, DevOps |
|
|
50
|
+
| Tests | .../tests/ | Test-Report-Sprint-[N]-v*.md | TESTER |
|
|
51
|
+
| Reports | .../reports/ | Phase-Report-Sprint-[N]-v*.md | REPORTER |
|
|
52
|
+
| Global | .../global/reports/ | Final-Project-Report.md, Final-Approval-Report.md | REPORTER, STAKEHOLDER |
|
|
53
|
+
| Global | projects/[project-name]/docs/global/ | Master-Documentation.md | REPORTER |
|
|
54
|
+
**FORBIDDEN LOCATIONS:**
|
|
55
|
+
- .agent/ directory (reserved for instructions only)
|
|
56
|
+
- Global docs/ folder for project-specific artifacts.
|
|
57
|
+
## ⚠️ CHANGELOG RULE (UPDATED 2026-01-04)
|
|
58
|
+
**Repository vs Project:**
|
|
59
|
+
1. **Root CHANGELOG.md:** ALLOWED for **Repository versioning only**.
|
|
60
|
+
- MUST be managed AUTOMATICALLY by `release.py`.
|
|
61
|
+
- Manual edits are FORBIDDEN except for fixing formatting.
|
|
62
|
+
2. **Project Reports:**
|
|
63
|
+
- Detailed project changes must still be documented in sprint reports.
|
|
64
|
+
- Use Phase-Report-Sprint-[N]-v*.md for detailed tracking.
|
|
65
|
+
## Mandatory Documentation Tags
|
|
66
|
+
Every action must be tagged with appropriate hashtags:
|
|
67
|
+
| Category | Tags |
|
|
68
|
+
|----------|------|
|
|
69
|
+
| **Planning** | #planning, #product-owner, #backlog |
|
|
70
|
+
| **Design** | #designing, #uiux-design |
|
|
71
|
+
| **Verification** | #verify-design, #security-review |
|
|
72
|
+
| **Development** | #development, #devops |
|
|
73
|
+
| **Testing** | #testing |
|
|
74
|
+
| **Bug Fixes** | #fixbug-critical, #fixbug-high, #fixbug-medium, #fixbug-low |
|
|
75
|
+
| **Status** | #blocked, #hotfix, #rollback |
|
|
76
|
+
| **Deployment** | #deployed-staging, #deployed-production |
|
|
77
|
+
| **Research** | #searching |
|
|
78
|
+
| **Reporting** | #reporting, #stakeholder-review |
|
|
77
79
|
| **Knowledge** | #knowledge-base, #lessons-learned |
|
|
@@ -1,25 +1,45 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: Unified Git and Task Workflow (Branching, Committing, Merging)
|
|
3
|
-
---
|
|
4
|
-
# Git & Task Management Workflow
|
|
5
|
-
**Requirement:** All tasks and artifacts must follow the **Branch-Based Workflow**.
|
|
6
|
-
## A. Branching Strategy (MANDATORY)
|
|
7
|
-
❌ **NEVER** commit directly to main or master.
|
|
8
|
-
### Branch Naming Convention
|
|
9
|
-
| Type | Prefix | Use Case |
|
|
10
|
-
|------|--------|----------|
|
|
11
|
-
| **Planning** | plan/ | Project plans, product backlogs |
|
|
12
|
-
| **Design** | design/ | Architecture schematics, UI specs |
|
|
13
|
-
| **Feature** |
|
|
14
|
-
| **Fix** |
|
|
15
|
-
| **Docs** | docs/ | General documentation |
|
|
16
|
-
**Format:** prefix/TASK-ID-short-name (e.g., plan/SPRINT-2-setup)
|
|
17
|
-
### Workflow
|
|
18
|
-
1. **Start:** git checkout -b prefix/TASK-ID-name from main.
|
|
19
|
-
2. **Work:** Create artifacts or code.
|
|
20
|
-
3. **Push:** git push -u origin prefix/TASK-ID-name.
|
|
21
|
-
4. **Docs-as-Code:** Treat documentation exactly like code.
|
|
22
|
-
## B. Definition of Done (DoD)
|
|
23
|
-
1. Branch created.
|
|
24
|
-
2. Artifacts implemented.
|
|
1
|
+
---
|
|
2
|
+
description: Unified Git and Task Workflow (Branching, Committing, Merging)
|
|
3
|
+
---
|
|
4
|
+
# Git & Task Management Workflow
|
|
5
|
+
**Requirement:** All tasks and artifacts must follow the **Branch-Based Workflow**.
|
|
6
|
+
## A. Branching Strategy (MANDATORY)
|
|
7
|
+
❌ **NEVER** commit directly to main or master.
|
|
8
|
+
### Branch Naming Convention
|
|
9
|
+
| Type | Prefix | Use Case |
|
|
10
|
+
|------|--------|----------|
|
|
11
|
+
| **Planning** | plan/ | Project plans, product backlogs |
|
|
12
|
+
| **Design** | design/ | Architecture schematics, UI specs |
|
|
13
|
+
| **Feature** | feat/ | New functionality |
|
|
14
|
+
| **Fix** | fix/ | Bug fixes |
|
|
15
|
+
| **Docs** | docs/ | General documentation |
|
|
16
|
+
**Format:** prefix/TASK-ID-short-name (e.g., plan/SPRINT-2-setup)
|
|
17
|
+
### Workflow
|
|
18
|
+
1. **Start:** git checkout -b prefix/TASK-ID-name from main.
|
|
19
|
+
2. **Work:** Create artifacts or code.
|
|
20
|
+
3. **Push:** git push -u origin prefix/TASK-ID-name.
|
|
21
|
+
4. **Docs-as-Code:** Treat documentation exactly like code.
|
|
22
|
+
## B. Definition of Done (DoD)
|
|
23
|
+
1. Branch created.
|
|
24
|
+
2. Artifacts implemented.
|
|
25
25
|
3. Pull Request created & merged.
|
|
26
|
+
## C. Release Workflow (AUTOMATED)
|
|
27
|
+
Releases are managed by the Release Agent (`release.py`).
|
|
28
|
+
1. **Trigger:** Human or CI runs `/release`.
|
|
29
|
+
2. **Commit:** Agent creates `chore(release): vX.Y.Z` commit.
|
|
30
|
+
3. **Tag:** Agent creates `vX.Y.Z` tag.
|
|
31
|
+
4. **Push:** Agent pushes commit and tags.
|
|
32
|
+
## D. Commit Conventions (MANDATORY)
|
|
33
|
+
We follow [Conventional Commits](https://www.conventionalcommits.org/) to enable automated semantic versioning.
|
|
34
|
+
**Format:** `type(scope): description`
|
|
35
|
+
**Types:**
|
|
36
|
+
- `feat`: New feature (MINOR bump)
|
|
37
|
+
- `fix`: Bug fix (PATCH bump)
|
|
38
|
+
- `docs`: Documentation only
|
|
39
|
+
- `style`: Formatting, missing semi-colons, etc.
|
|
40
|
+
- `refactor`: Code change that neither fixes a bug nor adds a feature
|
|
41
|
+
- `perf`: Code change that improves performance
|
|
42
|
+
- `test`: Adding missing tests or correcting existing tests
|
|
43
|
+
- `chore`: Build process, auxiliary tools, libraries updates
|
|
44
|
+
**Breaking Changes:**
|
|
45
|
+
Append `!` after type/scope (e.g., `feat!: drop support for Node 12`) for MAJOR bump.
|
package/.agent/rules/global.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# TeamLifecycle Global Rules & Conventions
|
|
2
|
-
(Version 1.
|
|
2
|
+
(Version 1.5 – Strict IT SDLC Simulation for Google Antigravity)
|
|
3
3
|
|
|
4
|
-
**Last Updated:** 2026-01-
|
|
4
|
+
**Last Updated:** 2026-01-04
|
|
5
5
|
**Maintainer:** Project Team
|
|
6
6
|
|
|
7
7
|
---
|
|
@@ -134,6 +134,11 @@ Use this at the end of **every artifact**:
|
|
|
134
134
|
#[appropriate-tags]
|
|
135
135
|
```
|
|
136
136
|
|
|
137
|
+
### 8. Tooling Standards (New)
|
|
138
|
+
- **Polyglot Support:** Tools should run in environment-agnostic ways (e.g. CLI bridges).
|
|
139
|
+
- **Testing:** All tools MUST be covered by integration tests in `tests/`.
|
|
140
|
+
- **CLI Interface:** All tools MUST support `--help` for discoverability.
|
|
141
|
+
|
|
137
142
|
---
|
|
138
143
|
|
|
139
144
|
## Final Note
|
|
@@ -150,10 +155,9 @@ Use this at the end of **every artifact**:
|
|
|
150
155
|
|
|
151
156
|
| Version | Date | Changes |
|
|
152
157
|
|---------|------|---------|
|
|
158
|
+
| 1.5 | 2026-01-04 | Added Tooling Standards, Polyglot Support. |
|
|
153
159
|
| 1.4 | 2026-01-01 | Split large rules into artifacts.md, git-workflow.md, knowledge-base.md |
|
|
154
160
|
| 1.3 | 2026-01-01 | Added Task Management & Atomic Git Commit Rules |
|
|
155
161
|
| 1.2 | 2026-01-01 | Migrated to Native Agent structure (.agent/). Updated paths. |
|
|
156
162
|
| 1.1 | 2025-12-23 | Added PO role, new tags (#product-owner, #backlog, #blocked, #hotfix, #rollback, #deployed-*), Definition of Done, Cross-Role Dependencies diagram, Incident/Hotfix workflow, Changelog |
|
|
157
163
|
| 1.0 | Initial | Initial release with 10 roles and core SDLC flow |
|
|
158
|
-
|
|
159
|
-
|
|
@@ -62,6 +62,11 @@ kb compound search "architecture-pattern"
|
|
|
62
62
|
- Communicate blockers immediately
|
|
63
63
|
- Share learnings with team via KB
|
|
64
64
|
|
|
65
|
+
### 7. Tooling Standards
|
|
66
|
+
- **Polyglot:** Support Python/Node environments (use `agentic-sdlc` bridge).
|
|
67
|
+
- **Testing:** ALL new tools must include integration tests in `tests/`.
|
|
68
|
+
- **CLI:** Ensure tools have `-h/--help` support.
|
|
69
|
+
|
|
65
70
|
## Artifact Requirements
|
|
66
71
|
|
|
67
72
|
**Focus on code, not logs.**
|
|
@@ -90,16 +95,16 @@ kb compound search "architecture-pattern"
|
|
|
90
95
|
### How to Document
|
|
91
96
|
```bash
|
|
92
97
|
# Interactive KB entry creation
|
|
93
|
-
kb add
|
|
98
|
+
agentic-sdlc kb add
|
|
94
99
|
|
|
95
100
|
# Or compound add (auto-syncs to Neo4j)
|
|
96
|
-
kb compound add
|
|
101
|
+
agentic-sdlc kb compound add
|
|
97
102
|
|
|
98
103
|
# Update index
|
|
99
|
-
kb index
|
|
104
|
+
agentic-sdlc kb index
|
|
100
105
|
|
|
101
106
|
# Full sync to Neo4j Brain
|
|
102
|
-
kb compound sync
|
|
107
|
+
agentic-sdlc kb compound sync
|
|
103
108
|
```
|
|
104
109
|
|
|
105
110
|
### KB Entry Template
|
|
@@ -30,6 +30,11 @@ When acting as @DEVOPS, you are the DevOps Engineer r#devops #deployment #infras
|
|
|
30
30
|
- Deploy to staging for verification.
|
|
31
31
|
- Deploy to production after final approval.
|
|
32
32
|
|
|
33
|
+
### 4. **Release Management:**
|
|
34
|
+
- Manage versioning via `/release` workflow.
|
|
35
|
+
- Execute `agentic-sdlc release` for automated version bump, tag, and publish.
|
|
36
|
+
- Ensure `CHANGELOG.md` is updated automatically.
|
|
37
|
+
|
|
33
38
|
### 4. **Self-Learning:**
|
|
34
39
|
- Run: `python tools/neo4j/sync_skills_to_neo4j.py`t.
|
|
35
40
|
|
|
@@ -217,9 +217,17 @@ After testing:
|
|
|
217
217
|
- Run: `python tools/research/research_agent.py --bug "[description]" --type bug`
|
|
218
218
|
|
|
219
219
|
### 1. **Design Verification (Phase 4):**
|
|
220
|
-
- Review
|
|
221
|
-
|
|
222
|
-
|
|
220
|
+
- **Review Artifacts:**
|
|
221
|
+
- Review `Project-Plan-v*.md`
|
|
222
|
+
- Review `UIUX-Design-Spec-Sprint-[N]-v*.md`
|
|
223
|
+
- Review `Backend-Design-Spec-Sprint-[N]-v*.md`
|
|
224
|
+
- **Verification Checklist:**
|
|
225
|
+
- [ ] Requirement coverage (all features addressed)
|
|
226
|
+
- [ ] Design consistency (UI vs Backend)
|
|
227
|
+
- [ ] Testability assessment
|
|
228
|
+
- [ ] Edge cases & error scenarios identified
|
|
229
|
+
- **Action:** Create `Design-Verification-Report-Sprint-[N].md`.
|
|
230
|
+
- **Decision:** APPROVED / REJECTED.
|
|
223
231
|
|
|
224
232
|
### 2. **Testing Execution (Phase 6):**
|
|
225
233
|
- Run E2E tests using Playwright MCP.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Changelog Template
|
|
2
2
|
|
|
3
|
-
**⚠️ IMPORTANT:** This is a TEMPLATE
|
|
3
|
+
**⚠️ IMPORTANT:** This is a TEMPLATE. Root `CHANGELOG.md` is managed AUTOMATICALLY by `release.py`.
|
|
4
4
|
|
|
5
5
|
All project changes should be documented in:
|
|
6
6
|
- Sprint-specific: `docs/sprints/sprint-[N]/reports/Phase-Report-Sprint-[N]-v*.md`
|
|
@@ -58,7 +58,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
58
58
|
|
|
59
59
|
## Usage Guidelines
|
|
60
60
|
|
|
61
|
-
1. **DO NOT**
|
|
61
|
+
1. **DO NOT** manually edit CHANGELOG.md in project root (Automation Only)
|
|
62
62
|
2. **DO** document changes in Phase Reports per sprint
|
|
63
63
|
3. **DO** consolidate in Final Project Report
|
|
64
64
|
4. **DO** use semantic versioning for releases
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|-------|-------|
|
|
6
6
|
| Version | [X.0] |
|
|
7
7
|
| Date | [YYYY-MM-DD] |
|
|
8
|
-
| Author | @
|
|
8
|
+
| Author | @TESTER |
|
|
9
9
|
| Status | Pass / Fail / Conditional Pass |
|
|
10
10
|
|
|
11
11
|
---
|
|
@@ -30,17 +30,17 @@
|
|
|
30
30
|
### 3.1 Completeness
|
|
31
31
|
| ID | Finding | Severity | Status |
|
|
32
32
|
|----|---------|----------|--------|
|
|
33
|
-
|
|
|
33
|
+
| VER-001 | [Finding description] | High/Med/Low | Open/Resolved |
|
|
34
34
|
|
|
35
35
|
### 3.2 Consistency
|
|
36
36
|
| ID | Finding | Severity | Status |
|
|
37
37
|
|----|---------|----------|--------|
|
|
38
|
-
|
|
|
38
|
+
| VER-002 | [Finding description] | High/Med/Low | Open/Resolved |
|
|
39
39
|
|
|
40
40
|
### 3.3 Testability
|
|
41
41
|
| ID | Finding | Severity | Status |
|
|
42
42
|
|----|---------|----------|--------|
|
|
43
|
-
|
|
|
43
|
+
| VER-003 | [Finding description] | High/Med/Low | Open/Resolved |
|
|
44
44
|
|
|
45
45
|
## 4. Requirements Traceability
|
|
46
46
|
| Requirement | Design Reference | Covered |
|
|
@@ -28,6 +28,13 @@
|
|
|
28
28
|
| Staging | [staging-url] | Pre-production testing |
|
|
29
29
|
| Production | [prod-url] | Live environment |
|
|
30
30
|
|
|
31
|
+
## 3. Release Strategy
|
|
32
|
+
| Component | Strategy | Details |
|
|
33
|
+
|-----------|----------|---------|
|
|
34
|
+
| Versioning | SemVer | Automated via `release.py` |
|
|
35
|
+
| Tagging | Git Tags | vX.Y.Z |
|
|
36
|
+
| Publish | [npm/docker] | [Registry URL] |
|
|
37
|
+
|
|
31
38
|
## 3. CI/CD Pipeline
|
|
32
39
|
|
|
33
40
|
```
|
|
@@ -16,72 +16,71 @@ Brain is NOT an executor—it monitors, detects issues, routes to handlers, scor
|
|
|
16
16
|
|
|
17
17
|
### Observer (Halt on Errors)
|
|
18
18
|
```bash
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
19
|
+
agentic-sdlc run tools/brain/observer.py --watch # Monitor workflows
|
|
20
|
+
agentic-sdlc run tools/brain/observer.py --halt "Err" # Halt system
|
|
21
|
+
agentic-sdlc run tools/brain/observer.py --resume # Resume after halt
|
|
22
22
|
```
|
|
23
23
|
|
|
24
24
|
### Judge (Score Quality)
|
|
25
25
|
```bash
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
26
|
+
agentic-sdlc run tools/brain/judge.py --score "path/to/report.md"
|
|
27
|
+
agentic-sdlc run tools/brain/judge.py --review --sprint 1
|
|
28
|
+
agentic-sdlc run tools/brain/judge.py --threshold 7 # Set pass threshold
|
|
29
29
|
```
|
|
30
30
|
|
|
31
31
|
### Learner (Auto-Learning)
|
|
32
32
|
```bash
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
33
|
+
agentic-sdlc learn --learn "Task completed"
|
|
34
|
+
agentic-sdlc learn --watch
|
|
35
|
+
agentic-sdlc learn --stats
|
|
36
36
|
```
|
|
37
37
|
|
|
38
38
|
### A/B Tester (Compare Options)
|
|
39
39
|
```bash
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
40
|
+
agentic-sdlc run tools/brain/ab_tester.py --create "Test description"
|
|
41
|
+
agentic-sdlc run tools/brain/ab_tester.py --compare --test-id TEST-001
|
|
42
|
+
agentic-sdlc run tools/brain/ab_tester.py --select A --test-id TEST-001
|
|
43
43
|
```
|
|
44
44
|
|
|
45
45
|
### Model Optimizer (Token Efficiency)
|
|
46
46
|
```bash
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
agentic-sdlc run tools/brain/model_optimizer.py --recommend "Task description"
|
|
48
|
+
agentic-sdlc run tools/brain/model_optimizer.py --record --model "gemini-2.5" --tokens 1500
|
|
49
49
|
```
|
|
50
50
|
|
|
51
51
|
### Self-Improver (Create Improvement Plans)
|
|
52
52
|
```bash
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
53
|
+
agentic-sdlc run tools/brain/self_improver.py --analyze # Analyze all data
|
|
54
|
+
agentic-sdlc run tools/brain/self_improver.py --plan # Create improvement plan
|
|
55
|
+
agentic-sdlc run tools/brain/self_improver.py --apply-plan PLAN-ID
|
|
56
56
|
```
|
|
57
57
|
|
|
58
58
|
## State Management
|
|
59
59
|
```bash
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
60
|
+
agentic-sdlc brain init 1 # Initialize sprint
|
|
61
|
+
agentic-sdlc brain status # Check status
|
|
62
|
+
agentic-sdlc brain transition STATE --reason "Reason"
|
|
63
|
+
agentic-sdlc brain validate # Validate state
|
|
64
|
+
agentic-sdlc brain rollback # Rollback
|
|
65
65
|
```
|
|
66
66
|
|
|
67
67
|
## Supervisor Commands
|
|
68
68
|
```bash
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
69
|
+
agentic-sdlc brain watch # Monitor workflows
|
|
70
|
+
agentic-sdlc run tools/brain/brain_cli.py route "request" # Route to workflow
|
|
71
|
+
agentic-sdlc health # Health check
|
|
72
72
|
```
|
|
73
73
|
|
|
74
74
|
## Sync Commands
|
|
75
75
|
```bash
|
|
76
|
-
|
|
77
|
-
|
|
76
|
+
agentic-sdlc kb compound sync
|
|
77
|
+
agentic-sdlc kb compound sync --full
|
|
78
78
|
```
|
|
79
79
|
|
|
80
80
|
#brain #root-layer #meta-controller
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
---
|
|
84
|
-
|
|
85
|
-
## ENFORCEMENT REMINDER
|
|
86
|
-
Before executing, complete /preflight checks.
|
|
87
81
|
|
|
82
|
+
|
|
83
|
+
---
|
|
84
|
+
|
|
85
|
+
## ENFORCEMENT REMINDER
|
|
86
|
+
Before executing, complete /preflight checks.
|
|
@@ -11,14 +11,14 @@ description: [Process] Complete Task Lifecycle - Plan → Work → Review → Co
|
|
|
11
11
|
4. **SELF-LEARNING:** After completion, update Neo4j.
|
|
12
12
|
|
|
13
13
|
### 0.0 **Team Communication (MANDATORY):**
|
|
14
|
-
- **Check History:** `
|
|
15
|
-
- **Announce Start:** `
|
|
14
|
+
- **Check History:** `agentic-sdlc run tools/communication/cli.py history --channel general --limit 10`
|
|
15
|
+
- **Announce Start:** `agentic-sdlc run tools/communication/cli.py send --channel general --thread "SDLC-Flow" --role AGENT --content "Starting /cycle for [Task]."`
|
|
16
16
|
|
|
17
17
|
## Workflow Steps
|
|
18
18
|
|
|
19
19
|
### 1. Research Phase (MANDATORY)
|
|
20
20
|
```bash
|
|
21
|
-
|
|
21
|
+
agentic-sdlc research --feature "[task]" --type feature
|
|
22
22
|
```
|
|
23
23
|
- [ ] Search KB for similar implementations.
|
|
24
24
|
- [ ] Check GitHub issues for context.
|
|
@@ -47,15 +47,15 @@ git push -u origin feat/TASK-ID-name
|
|
|
47
47
|
|
|
48
48
|
### 7. Self-Learning (MANDATORY)
|
|
49
49
|
```bash
|
|
50
|
-
|
|
51
|
-
|
|
50
|
+
agentic-sdlc kb compound sync
|
|
51
|
+
agentic-sdlc learn --record-success "TASK-ID" --task-type "feature"
|
|
52
52
|
```
|
|
53
53
|
- Update `CHANGELOG.md`.
|
|
54
54
|
|
|
55
|
-
#cycle #workflow #git-flow #self-learning---
|
|
56
|
-
## ⚠️ ENFORCEMENT REMINDER
|
|
57
|
-
Before executing this workflow, agent MUST:
|
|
58
|
-
1. Have completed /preflight checks
|
|
59
|
-
2. Searched knowledge base for similar tasks
|
|
60
|
-
3. Checked current brain state
|
|
55
|
+
#cycle #workflow #git-flow #self-learning---
|
|
56
|
+
## ⚠️ ENFORCEMENT REMINDER
|
|
57
|
+
Before executing this workflow, agent MUST:
|
|
58
|
+
1. Have completed /preflight checks
|
|
59
|
+
2. Searched knowledge base for similar tasks
|
|
60
|
+
3. Checked current brain state
|
|
61
61
|
Failure to complete pre-flight = workflow violation.
|
|
@@ -13,16 +13,16 @@ All phases must be executed in order. No skipping.
|
|
|
13
13
|
|
|
14
14
|
## State Machine Integration
|
|
15
15
|
This workflow follows the state machine defined in `@BRAIN`. Before each phase transition:
|
|
16
|
-
1. Run `
|
|
17
|
-
2. Run `
|
|
16
|
+
1. Run `agentic-sdlc brain validate` to check prerequisites
|
|
17
|
+
2. Run `agentic-sdlc brain transition <NEW_STATE>` to update state
|
|
18
18
|
3. Artifacts required per state are validated automatically
|
|
19
19
|
|
|
20
20
|
### 0.0 **Team Communication (MANDATORY):**
|
|
21
|
-
- **Announce:** `
|
|
21
|
+
- **Announce:** `agentic-sdlc run tools/communication/cli.py send --channel general --thread "SDLC-Flow" --role ORCHESTRATOR --content "Starting Full SDLC Automation."`
|
|
22
22
|
|
|
23
23
|
### 0.1 **Initialize State (If New Sprint):**
|
|
24
24
|
```bash
|
|
25
|
-
|
|
25
|
+
agentic-sdlc brain init <SPRINT_NUMBER>
|
|
26
26
|
```
|
|
27
27
|
|
|
28
28
|
## SDLC Flow (State Transitions)
|
|
@@ -55,14 +55,14 @@ python tools/brain/brain_cli.py init <SPRINT_NUMBER>
|
|
|
55
55
|
- Update CHANGELOG, Final Review.
|
|
56
56
|
|
|
57
57
|
### Phase 11: Self-Learning
|
|
58
|
-
- Run: `
|
|
59
|
-
- Run: `
|
|
58
|
+
- Run: `agentic-sdlc kb compound sync`
|
|
59
|
+
- Run: `agentic-sdlc learn --record-success`
|
|
60
60
|
|
|
61
61
|
#orchestrator #automation #sdlc
|
|
62
|
-
---
|
|
63
|
-
## ⚠️ ENFORCEMENT REMINDER
|
|
64
|
-
Before executing this workflow, agent MUST:
|
|
65
|
-
1. Have completed /preflight checks
|
|
66
|
-
2. Searched knowledge base for similar tasks
|
|
67
|
-
3. Checked current brain state
|
|
62
|
+
---
|
|
63
|
+
## ⚠️ ENFORCEMENT REMINDER
|
|
64
|
+
Before executing this workflow, agent MUST:
|
|
65
|
+
1. Have completed /preflight checks
|
|
66
|
+
2. Searched knowledge base for similar tasks
|
|
67
|
+
3. Checked current brain state
|
|
68
68
|
Failure to complete pre-flight = workflow violation.
|
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,23 @@ All notable changes to this project will be documented in this file.
|
|
|
4
4
|
|
|
5
5
|
## [Unreleased]
|
|
6
6
|
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## [1.6.0] - 2026-01-04 (Sprint 6)
|
|
10
|
+
|
|
11
|
+
### Added
|
|
12
|
+
- add release management tool for automated changelog generation and version bumping based on conventional commits
|
|
13
|
+
|
|
14
|
+
### Documentation
|
|
15
|
+
- [Workflows] standardize on agentic-sdlc cli and unified roles
|
|
16
|
+
- [Templates] update templates for unified roles and automation
|
|
17
|
+
- [Skills] consolidate roles and update for release/automation
|
|
18
|
+
- [Rules] update release workflow and tooling standards
|
|
19
|
+
|
|
20
|
+
### Testing
|
|
21
|
+
- add release manager tests and fix breaking change detection
|
|
22
|
+
|
|
23
|
+
|
|
7
24
|
---
|
|
8
25
|
|
|
9
26
|
## [1.5.1] - 2026-01-04 (Sprint 6)
|
package/bin/cli.js
CHANGED
|
@@ -13,7 +13,9 @@ const commands = {
|
|
|
13
13
|
'agent': 'tools/run.py',
|
|
14
14
|
'validate': 'tools/validation/validate.py',
|
|
15
15
|
'health': 'tools/validation/health-check.py',
|
|
16
|
-
'setup': 'tools/setup/init.py'
|
|
16
|
+
'setup': 'tools/setup/init.py',
|
|
17
|
+
'brain': 'tools/brain/brain_cli.py',
|
|
18
|
+
'research': 'tools/research/research_agent.py'
|
|
17
19
|
};
|
|
18
20
|
|
|
19
21
|
const args = process.argv.slice(2);
|
|
@@ -29,6 +31,8 @@ function printUsage() {
|
|
|
29
31
|
console.log(" validate Validate system");
|
|
30
32
|
console.log(" health Check health");
|
|
31
33
|
console.log(" setup Initialize project");
|
|
34
|
+
console.log(" brain Brain system management");
|
|
35
|
+
console.log(" research Research agent");
|
|
32
36
|
}
|
|
33
37
|
|
|
34
38
|
if (!command || command === '--help' || command === '-h') {
|
package/package.json
CHANGED
package/.agent/skills/role-qa.md
DELETED
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
inclusion: manual
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
# Quality Assurance (QA) Role
|
|
6
|
-
|
|
7
|
-
When acting as @QA, you are the Quality Assurance engineer responsible for design review and testing strategy.
|
|
8
|
-
|
|
9
|
-
## Role Activation
|
|
10
|
-
Activate when user mentions: `@QA`, "quality assurance", "design review", "testing strategy"
|
|
11
|
-
|
|
12
|
-
## Primary Responsibilities
|
|
13
|
-
|
|
14
|
-
1. **Review Design Artifacts**
|
|
15
|
-
- Read `Project-Plan-v*.md`
|
|
16
|
-
- Review `UIUX-Design-Spec-Sprint-[N]-v*.md`
|
|
17
|
-
- Review `Backend-Design-Spec-Sprint-[N]-v*.md`
|
|
18
|
-
|
|
19
|
-
2. **Perform Design Review**
|
|
20
|
-
- Verify requirement coverage (all features addressed)
|
|
21
|
-
- Check consistency between UI and backend designs
|
|
22
|
-
- Assess testability of proposed solutions
|
|
23
|
-
- Identify edge cases and error scenarios
|
|
24
|
-
- Validate acceptance criteria are clear
|
|
25
|
-
|
|
26
|
-
3. **Define Testing Strategy**
|
|
27
|
-
- Specify types of testing needed (unit, integration, E2E)
|
|
28
|
-
- Define test classes and scenarios
|
|
29
|
-
- Document acceptance criteria for each feature
|
|
30
|
-
- Identify testing tools and frameworks
|
|
31
|
-
|
|
32
|
-
4. **Risk Assessment**
|
|
33
|
-
- Identify potential quality risks
|
|
34
|
-
- Flag incomplete or ambiguous requirements
|
|
35
|
-
- Highlight areas needing clarification
|
|
36
|
-
|
|
37
|
-
5. **Make Decision**
|
|
38
|
-
- APPROVED: Design is complete and testable
|
|
39
|
-
- REJECTED: Critical issues must be addressed
|
|
40
|
-
|
|
41
|
-
## Artifact Requirements
|
|
42
|
-
|
|
43
|
-
**Output Location:** `docs/sprints/sprint-[N]/reviews/`
|
|
44
|
-
**Filename Format:** `Design-Verification-Report-Sprint-[N]-v[version].md`
|
|
45
|
-
|
|
46
|
-
**Required Sections:**
|
|
47
|
-
- Review Summary
|
|
48
|
-
- Requirement Coverage Analysis
|
|
49
|
-
- Design Consistency Check
|
|
50
|
-
- Testability Assessment
|
|
51
|
-
- Edge Cases & Error Scenarios
|
|
52
|
-
- Testing Strategy
|
|
53
|
-
- Issues Found (Critical/High/Medium/Low)
|
|
54
|
-
- Decision: APPROVED or REJECTED
|
|
55
|
-
|
|
56
|
-
## Strict Rules
|
|
57
|
-
|
|
58
|
-
- ❌ NEVER approve if critical/high issues exist
|
|
59
|
-
- ❌ NEVER place artifacts in `.agent/` directory
|
|
60
|
-
- ✅ ALWAYS document with `#verify-design` tag
|
|
61
|
-
- ✅ ALWAYS provide clear decision with reasoning
|
|
62
|
-
|
|
63
|
-
## Communication Template
|
|
64
|
-
|
|
65
|
-
End your report with:
|
|
66
|
-
|
|
67
|
-
```markdown
|
|
68
|
-
### Design Review Decision: [APPROVED / REJECTED]
|
|
69
|
-
|
|
70
|
-
### Next Step:
|
|
71
|
-
- If APPROVED: @DEV @DEVOPS - Please proceed with implementation
|
|
72
|
-
- If REJECTED: @SA @UIUX - Please address the issues listed above and submit revised designs
|
|
73
|
-
|
|
74
|
-
#verify-design #qa
|
|
75
|
-
```
|
|
76
|
-
|
|
77
|
-
## MCP Tools to Leverage
|
|
78
|
-
|
|
79
|
-
- **File Tools** - Read all design artifacts
|
|
80
|
-
- **Web Search** - Research testing best practices
|
|
81
|
-
- **Diagnostic Tools** - Check for existing test coverage
|