create-agentic-pdlc 2.3.0 → 2.4.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/.agentic-pdlc/metrics/raw/2026-W22.jsonl +114 -0
- package/.github/ISSUE_TEMPLATE/bug.md +53 -0
- package/.github/ISSUE_TEMPLATE/feature.md +54 -0
- package/.github/ISSUE_TEMPLATE/task.md +33 -0
- package/.github/workflows/add-to-board.yml +1 -1
- package/.github/workflows/agent-trigger.yml +4 -4
- package/.github/workflows/agentic-metrics.yml +150 -27
- package/.github/workflows/ci.yml +1 -1
- package/.github/workflows/npm-publish.yml +2 -2
- package/.github/workflows/pdlc-health-check.yml +1 -1
- package/.github/workflows/pdlc-stage-gate.yml +2 -2
- package/.github/workflows/project-automation.yml +51 -12
- package/.github/workflows/qa-agent.yml +22 -11
- package/.github/workflows/qa-gate.yml +51 -0
- package/AGENTS.md +50 -8
- package/CLAUDE.md +2 -0
- package/SETUP.md +2 -1
- package/adapters/claude-code/skill.md +32 -11
- package/adapters/hooks/pdlc-stage-gate.sh +3 -8
- package/bin/cli.js +23 -2
- package/docs/pdlc.md +5 -5
- package/docs/superpowers/plans/2026-05-28-jules-label-pat-split.md +240 -0
- package/docs/superpowers/plans/2026-05-29-agentic-pulse-rework-taxonomy.md +474 -0
- package/docs/superpowers/plans/2026-05-29-qa-gate-enforcement.md +354 -0
- package/docs/superpowers/specs/2026-05-29-agentic-pulse-rework-taxonomy-design.md +122 -0
- package/package.json +1 -1
- package/templates/.github/ISSUE_TEMPLATE/bug.md +53 -0
- package/templates/.github/ISSUE_TEMPLATE/feature.md +54 -0
- package/templates/.github/ISSUE_TEMPLATE/task.md +33 -0
- package/templates/.github/workflows/add-to-board.yml +4 -4
- package/templates/.github/workflows/agent-trigger.yml +22 -13
- package/{.agentic-pdlc/templates → templates}/.github/workflows/agentic-metrics.yml +150 -27
- package/templates/.github/workflows/ci.yml +1 -1
- package/templates/.github/workflows/pdlc-health-check.yml +1 -1
- package/templates/.github/workflows/pdlc-stage-gate.yml +2 -2
- package/templates/.github/workflows/project-automation.yml +71 -32
- package/templates/.github/workflows/qa-agent.yml +32 -18
- package/templates/.github/workflows/qa-gate.yml +51 -0
- package/templates/AGENTS.md +57 -29
- package/templates/docs/pdlc.md +4 -4
- package/.agentic-pdlc/templates/.github/CODEOWNERS +0 -5
- package/.agentic-pdlc/templates/.github/copilot-instructions.md +0 -12
- package/.agentic-pdlc/templates/.github/workflows/add-to-board.yml +0 -38
- package/.agentic-pdlc/templates/.github/workflows/agent-trigger.yml +0 -146
- package/.agentic-pdlc/templates/.github/workflows/auto-approve.yml +0 -16
- package/.agentic-pdlc/templates/.github/workflows/ci.yml +0 -54
- package/.agentic-pdlc/templates/.github/workflows/pdlc-health-check.yml +0 -121
- package/.agentic-pdlc/templates/.github/workflows/pdlc-stage-gate.yml +0 -51
- package/.agentic-pdlc/templates/.github/workflows/project-automation.yml +0 -274
- package/.agentic-pdlc/templates/.github/workflows/protect-workflows.yml +0 -21
- package/.agentic-pdlc/templates/.github/workflows/qa-agent.yml +0 -128
- package/.agentic-pdlc/templates/AGENTS.md +0 -104
- package/.agentic-pdlc/templates/docs/pdlc.md +0 -123
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
# {{PROJECT_NAME}} — AI Agent Instructions
|
|
2
|
-
|
|
3
|
-
This template is the contract between the project and any external AI agent
|
|
4
|
-
(Claude Code, Cursor, Copilot, Jules, Codex, Sweep, etc.). Read this before committing any change.
|
|
5
|
-
|
|
6
|
-
## Project Overview
|
|
7
|
-
|
|
8
|
-
{{PROJECT_DESCRIPTION}}
|
|
9
|
-
|
|
10
|
-
**Structure:**
|
|
11
|
-
{{PROJECT_STRUCTURE}}
|
|
12
|
-
|
|
13
|
-
## Before Any Change
|
|
14
|
-
|
|
15
|
-
```bash
|
|
16
|
-
git fetch origin && git checkout main && git pull
|
|
17
|
-
```
|
|
18
|
-
|
|
19
|
-
Always start from the current `main` HEAD. Never work over stale snapshots.
|
|
20
|
-
|
|
21
|
-
## Invariants / Non-negotiable business rules
|
|
22
|
-
|
|
23
|
-
{{INVARIANTS}}
|
|
24
|
-
<!-- Examples:
|
|
25
|
-
1. **Human-in-the-Loop** — No external side-effect actions without explicit human approval.
|
|
26
|
-
2. **Immutable Audit-Log** — It's strictly forbidden to UPDATE/DELETE on audit_log; INSERT only.
|
|
27
|
-
3. **Credential Isolation** — Decryption occurs only in a specific service.
|
|
28
|
-
-->
|
|
29
|
-
|
|
30
|
-
## Mandatory Workflow
|
|
31
|
-
|
|
32
|
-
0. **Identity**: Always prefix your GitHub comments with `🤖 **Agent:** ` to distinguish yourself.
|
|
33
|
-
1. **Initial State**: When beginning work on a new issue, your very first action must be to apply the `stage:brainstorming` label using the GitHub CLI (`gh issue edit <N> --add-label "stage:brainstorming"`).
|
|
34
|
-
2. Read the issue entirely — understand its type (US/BUG/TASK/SPIKE) and the Acceptance Criteria.
|
|
35
|
-
3. Read `docs/pdlc.md` — understand the PDLC and the Definition of Done in this project.
|
|
36
|
-
4. Read all files mentioned in the issue's technical context.
|
|
37
|
-
5. Implement the **minimum viable change** that satisfies the ACs — do not refactor beyond scope.
|
|
38
|
-
6. Run tests: `{{TEST_COMMAND}}`
|
|
39
|
-
7. Run typecheck (if applicable): `{{TYPECHECK_COMMAND}}`
|
|
40
|
-
8. Create a Pull Request with `Closes #N` in the body — automation moves the board.
|
|
41
|
-
|
|
42
|
-
### Spec format (Upstream Agents)
|
|
43
|
-
|
|
44
|
-
When detailing a solution in an issue body, you must **always** include both the user story and the acceptance criteria. Never append only the ACs to an existing text; rewrite the full issue body in this standard format:
|
|
45
|
-
|
|
46
|
-
```
|
|
47
|
-
**As** [user],
|
|
48
|
-
**I want** [action],
|
|
49
|
-
**so that** [benefit].
|
|
50
|
-
|
|
51
|
-
---
|
|
52
|
-
|
|
53
|
-
## Acceptance Criteria
|
|
54
|
-
|
|
55
|
-
**AC1 — ...**
|
|
56
|
-
- Given ...
|
|
57
|
-
- When ...
|
|
58
|
-
- Then ...
|
|
59
|
-
|
|
60
|
-
**AC2 — ...**
|
|
61
|
-
...
|
|
62
|
-
|
|
63
|
-
## Files to modify
|
|
64
|
-
- `path/to/file.ts` — what changes
|
|
65
|
-
```
|
|
66
|
-
|
|
67
|
-
## Stage Transition Rules (non-negotiable)
|
|
68
|
-
|
|
69
|
-
MUST apply `stage:brainstorming` label immediately on starting work — before reading
|
|
70
|
-
any code, before invoking any skill. Then read context and present problem summary
|
|
71
|
-
+ 2–3 solution options in a single message.
|
|
72
|
-
|
|
73
|
-
MUST NOT add `stage:detailing` label until the user has explicitly selected
|
|
74
|
-
an approach in the current conversation turn. Work done in a prior
|
|
75
|
-
planning session does NOT count as confirmation.
|
|
76
|
-
|
|
77
|
-
MUST NOT add `spec:approved`, `stage:development`, or manually add
|
|
78
|
-
`stage:approval` — these represent final human approval or the result of it.
|
|
79
|
-
`stage:approval` is only set by system automation after you provide a complete
|
|
80
|
-
spec for human review. Adding them manually triggers irreversible automation
|
|
81
|
-
(Jules dispatch, board move).
|
|
82
|
-
|
|
83
|
-
Each stage transition requires a fresh explicit signal from the user in the same
|
|
84
|
-
session where the transition happens. These rules have no exceptions.
|
|
85
|
-
|
|
86
|
-
## What NOT to do
|
|
87
|
-
|
|
88
|
-
- Never commit directly to `main`.
|
|
89
|
-
- Never open a PR without passing the tests.
|
|
90
|
-
- Never implement beyond the immediate scope of the issue.
|
|
91
|
-
- Never create future-proofing abstractions for hypothetical features.
|
|
92
|
-
- The agent MUST NOT apply these labels under any circumstances (PM only):
|
|
93
|
-
- `spec:approved`: triggers Jules dispatch + board move to Development.
|
|
94
|
-
- `qa:approved`: triggers board move to Code Review.
|
|
95
|
-
- `qa:needs-work`: signals the PR requires changes and halts the flow.
|
|
96
|
-
{{EXTRA_DONT}}
|
|
97
|
-
|
|
98
|
-
## Project Standards
|
|
99
|
-
|
|
100
|
-
- **Tests:** `{{TEST_COMMAND}}`
|
|
101
|
-
- **Lint/Types:** `{{LINT_COMMAND}}`
|
|
102
|
-
- **Typecheck:** `{{TYPECHECK_COMMAND}}`
|
|
103
|
-
- **Build:** `{{BUILD_COMMAND}}`
|
|
104
|
-
{{EXTRA_PATTERNS}}
|
|
@@ -1,123 +0,0 @@
|
|
|
1
|
-
# PDLC — {{PROJECT_NAME}}
|
|
2
|
-
|
|
3
|
-
## Board Columns
|
|
4
|
-
|
|
5
|
-
| Column | Meaning | Who moves the card |
|
|
6
|
-
|---|---|---|
|
|
7
|
-
| 💡 Idea | Backlog — tell agent: "work on issue #XX" | Don't move manually |
|
|
8
|
-
| 🧠 Brainstorming | AI reading context, proposing approaches and trade-offs | Label `stage:brainstorming` |
|
|
9
|
-
| 📐 Detail Solution | Claude is writing the technical spec | Label `stage:detailing` |
|
|
10
|
-
| ✅ Approval | Spec ready, awaiting `spec:approved` label | Label `spec:approved` |
|
|
11
|
-
| ⚙️ Development | Agent implementing the spec | Label `stage:development` |
|
|
12
|
-
| 🧪 Testing | CI pipeline or AI QA Agent running (Variant B) | GitHub Actions / QA Agent |
|
|
13
|
-
| 👁 Code Review / PR | PR opened (Variant A) or QA passed (Variant B) | GitHub Actions |
|
|
14
|
-
| 🚀 Ready for Production | Merged | GitHub Actions |
|
|
15
|
-
|
|
16
|
-
<!--
|
|
17
|
-
Adapt columns as needed. The functional baseline is:
|
|
18
|
-
💡 Idea → ⚙️ Development → 👁 Code Review / PR → 🚀 Ready for Production
|
|
19
|
-
-->
|
|
20
|
-
|
|
21
|
-
## Workflow Variants (QA Agent)
|
|
22
|
-
|
|
23
|
-
- **Variant A (Default):** PRs bypass the `Testing` column and land directly in `Code Review / PR`.
|
|
24
|
-
- **Variant B (QA Agent Enabled):** PRs land in the `Testing` column first. An AI QA agent verifies the PR, adding `qa:pass` or `qa:fail`. Only after a `qa:pass` is the issue moved to `Code Review / PR`.
|
|
25
|
-
|
|
26
|
-
## Board Identifiers (GitHub Projects)
|
|
27
|
-
|
|
28
|
-
```
|
|
29
|
-
PROJECT_ID = {{PROJECT_ID}}
|
|
30
|
-
STATUS_FIELD = {{STATUS_FIELD_ID}}
|
|
31
|
-
REPO = {{REPO_OWNER}}/{{REPO_NAME}}
|
|
32
|
-
```
|
|
33
|
-
|
|
34
|
-
## Column Option IDs
|
|
35
|
-
|
|
36
|
-
| Column | Option ID |
|
|
37
|
-
|---|---|
|
|
38
|
-
| 💡 Idea | `{{ID_IDEA}}` |
|
|
39
|
-
| 🧠 Brainstorming | `{{ID_BRAINSTORMING}}` |
|
|
40
|
-
| 📐 Detail Solution | `{{ID_DETAIL}}` |
|
|
41
|
-
| ✅ Approval | `{{ID_APPROVAL}}` |
|
|
42
|
-
| ⚙️ Development | `{{ID_DEVELOPMENT}}` |
|
|
43
|
-
| 🧪 Testing | `{{ID_TESTING}}` |
|
|
44
|
-
| 👁 Code Review / PR | `{{ID_CODE_REVIEW_PR}}` |
|
|
45
|
-
| 🚀 Ready for Production | `{{ID_READY_FOR_PRODUCTION}}` |
|
|
46
|
-
|
|
47
|
-
## Agent × Phase Mapping
|
|
48
|
-
|
|
49
|
-
| Phase | Responsible |
|
|
50
|
-
|---|---|
|
|
51
|
-
| 💡 → 📐 (upstream) | Claude (or ideation agent) in conversational session |
|
|
52
|
-
| ⚙️ → 🔀 (downstream) | {{IMPLEMENTATION_AGENT}} (e.g. Jules `@google-labs-jules`) |
|
|
53
|
-
| 👁 Code Review / PR | Human (you) |
|
|
54
|
-
| Automatic transitions | GitHub Actions |
|
|
55
|
-
|
|
56
|
-
## Issue Title Conventions
|
|
57
|
-
|
|
58
|
-
```
|
|
59
|
-
[icon] [PREFIX]: [short description, imperative tense]
|
|
60
|
-
|
|
61
|
-
👤 US: user story
|
|
62
|
-
🐛 BUG: bug
|
|
63
|
-
🔧 TASK: operational task
|
|
64
|
-
🔬 SPIKE: exploration/evaluation spike
|
|
65
|
-
```
|
|
66
|
-
|
|
67
|
-
## Labels
|
|
68
|
-
|
|
69
|
-
| Label | Entity | Color | Meaning |
|
|
70
|
-
|---|---|---|---|
|
|
71
|
-
| `stage:brainstorming` | Issue | Pink | Proposed approaches awaiting PM gate |
|
|
72
|
-
| `stage:detailing` | Issue | Blue | Technical spec is being written |
|
|
73
|
-
| `stage:development` | Issue | Orange | Agent is implementing the spec |
|
|
74
|
-
| `spec:approved` | Issue | Green | Gate 2 — agent is cleared to implement |
|
|
75
|
-
| `pr:in-review` | PR | Yellow | Awaiting code review |
|
|
76
|
-
| `pr:approved` | PR | Green | Code review approved |
|
|
77
|
-
| `type:us` | Issue | Blue | New feature or behavioral change — full flow |
|
|
78
|
-
| `type:task` | Issue | Yellow | Operational/non-functional change — full flow |
|
|
79
|
-
| `type:bug` | Issue | Red | Something broken — full flow |
|
|
80
|
-
| `type:spike` | Issue | Gray | Research/evaluation — never reaches Development |
|
|
81
|
-
|
|
82
|
-
## Approval Gates
|
|
83
|
-
|
|
84
|
-
**Gate 1 — PM/Ideation (Brainstorming):**
|
|
85
|
-
Agent presents problem summary + 2–3 solution options in a single message. You select an approach.
|
|
86
|
-
Format: *"Option X"* or *"Go with B"* or *"Approved — proceed with option X."*
|
|
87
|
-
|
|
88
|
-
**Gate 2 — Tech Lead (Spec):**
|
|
89
|
-
You add the `spec:approved` label to the issue after reviewing the technical spec in the body.
|
|
90
|
-
This triggers the implementation agent via `agent-trigger.yml`.
|
|
91
|
-
|
|
92
|
-
## Shortcuts by Type
|
|
93
|
-
|
|
94
|
-
The `type:*` label is the authoritative signal — set automatically by the agent via type inference (see `adapters/claude-code/skill.md`). Title prefixes (`🔧 TASK:`, `👤 US:`) are hints for humans; the label drives the flow.
|
|
95
|
-
|
|
96
|
-
| Label | Flow |
|
|
97
|
-
|---|---|
|
|
98
|
-
| `type:us` | brainstorming → Gate 1 → detailing → approval |
|
|
99
|
-
| `type:task` | brainstorming → Gate 1 → detailing → approval |
|
|
100
|
-
| `type:bug` | brainstorming → Gate 1 → detailing → approval |
|
|
101
|
-
| `type:spike` | brainstorming → Gate 1 → detailing → conclusion comment (never reaches Development) |
|
|
102
|
-
|
|
103
|
-
If no `type:*` label present and agent confidence < 85%, defaults to `type:us` (safe fallback — never skips gates by omission).
|
|
104
|
-
|
|
105
|
-
## Bypass Mechanism
|
|
106
|
-
|
|
107
|
-
Agents MUST NOT skip any stage. The ONLY authorized bypasses are:
|
|
108
|
-
|
|
109
|
-
| Mechanism | Who authorizes | What it bypasses |
|
|
110
|
-
|---|---|---|
|
|
111
|
-
| `human-approved` label on issue | PM (human) only | All stage gates |
|
|
112
|
-
| Branch prefix `hotfix/` | PM (human) only | PR gate only |
|
|
113
|
-
|
|
114
|
-
Agents MUST NOT self-authorize a bypass. Stop and ask the PM explicitly.
|
|
115
|
-
|
|
116
|
-
## Definition of Done
|
|
117
|
-
|
|
118
|
-
An issue is truly done when:
|
|
119
|
-
- [ ] All Acceptance Criteria described in the body are implemented
|
|
120
|
-
- [ ] Tests passing: `{{TEST_COMMAND}}`
|
|
121
|
-
- [ ] No invariant violations (CI green)
|
|
122
|
-
- [ ] Associated PR explicitly contains `Closes #N`
|
|
123
|
-
- [ ] Basic manual smoke test executed after deploy (when applicable)
|