create-agdf 0.2.7 → 0.2.9
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/NOTICE +10 -0
- package/README.md +37 -12
- package/bin/create-agdf.js +75 -18
- package/generated/.agdf/control/README.md +10 -4
- package/generated/.github/skills/agdf-gate-check/SKILL.md +4 -4
- package/generated/.opencode/AGDF.md +102 -0
- package/generated/.opencode/README.md +19 -0
- package/generated/.opencode/agdf-runtime-contract.md +219 -0
- package/generated/.opencode/agents/agdf-brownfield-analysis.md +142 -0
- package/generated/.opencode/agents/agdf-clean-implementation-review.md +106 -0
- package/generated/.opencode/agents/agdf-code-review.md +100 -0
- package/generated/.opencode/agents/agdf-delivery-closeout.md +115 -0
- package/generated/.opencode/agents/agdf-gate-check.md +155 -0
- package/generated/.opencode/agents/agdf-qa-gate.md +116 -0
- package/generated/.opencode/agents/agdf-release-or.md +130 -0
- package/generated/.opencode/agents/agdf-task-plan-review.md +121 -0
- package/generated/opencode.json +13 -0
- package/generated/plugins/agdf/.codex-plugin/plugin.json +1 -1
- package/generated/plugins/agdf/control/README.md +10 -4
- package/generated/plugins/agdf/hooks/session-start.sh +20 -0
- package/generated/plugins/agdf/meta/agdf-plugin.definition.json +11 -1
- package/generated/plugins/agdf/skills/gate-check/SKILL.md +4 -4
- package/opencode-plugin.js +33 -0
- package/package.json +10 -3
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: commit/PR-near handoff after QA/OR/UAT
|
|
3
|
+
mode: subagent
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
---
|
|
7
|
+
name: agdf-delivery-closeout
|
|
8
|
+
description: Use this skill for the final delivery handoff after QA, OR, or UAT when a run should move toward commit, push, or PR. It standardizes commit-ready summaries, UAT-gated commit offers, and the next delivery step without replacing QA or OR decisions.
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# delivery-closeout
|
|
12
|
+
|
|
13
|
+
## Purpose
|
|
14
|
+
Standardize the operational delivery closeout.
|
|
15
|
+
|
|
16
|
+
It answers:
|
|
17
|
+
|
|
18
|
+
- what operational delivery status applies after QA, OR, or UAT
|
|
19
|
+
- whether a commit-ready Git summary should be provided
|
|
20
|
+
- whether a commit should be actively offered after `Approval: UAT`
|
|
21
|
+
- which next delivery step makes sense: commit, push, PR, rollout, or none
|
|
22
|
+
- whether evidence-based technical follow-up remains useful
|
|
23
|
+
- whether Context Graph follow-up from OR/QA remains open
|
|
24
|
+
|
|
25
|
+
This skill does not replace `agdf-qa-gate`, `agdf-release-or`, user approvals, or gate decisions.
|
|
26
|
+
|
|
27
|
+
## Runtime Contract
|
|
28
|
+
Use `../agdf-runtime-contract.md` for closeout discipline, gate terms, Context Graph fields, and non-duplication rules.
|
|
29
|
+
|
|
30
|
+
## Rules
|
|
31
|
+
1. Delivery follows gate clarity.
|
|
32
|
+
2. Never perform commit, push, or PR automatically.
|
|
33
|
+
3. Use one handoff format:
|
|
34
|
+
- `Commit title`
|
|
35
|
+
- `Commit body`
|
|
36
|
+
- optional `Migration/Rollout note`
|
|
37
|
+
4. `Approval: UAT` unlocks an active commit offer when code changes exist.
|
|
38
|
+
5. No commit handoff for runs without code changes.
|
|
39
|
+
6. Always include exactly one next step and one quality outlook.
|
|
40
|
+
|
|
41
|
+
## When To Use
|
|
42
|
+
- after `QA pass` with code changes
|
|
43
|
+
- after OR when delivery handoff should be clean
|
|
44
|
+
- after `Approval: UAT`
|
|
45
|
+
- when the user asks for commit, push, or PR handoff
|
|
46
|
+
|
|
47
|
+
Do not use as a substitute for `agdf-qa-gate`, `agdf-release-or`, or `agdf-gate-check`.
|
|
48
|
+
|
|
49
|
+
## Inputs
|
|
50
|
+
Use what is available:
|
|
51
|
+
|
|
52
|
+
- QA Report
|
|
53
|
+
- OR
|
|
54
|
+
- current gate status
|
|
55
|
+
- whether code changes exist
|
|
56
|
+
- existing commit-ready summary
|
|
57
|
+
- rollout or migration notes
|
|
58
|
+
- open technical risks or documentation gaps
|
|
59
|
+
- Context Graph impact from OR/QA/review
|
|
60
|
+
|
|
61
|
+
If code-change status is unclear, do not claim a commit handoff.
|
|
62
|
+
|
|
63
|
+
## Workflow
|
|
64
|
+
1. Classify the closeout:
|
|
65
|
+
- `qa_pass_with_code`
|
|
66
|
+
- `qa_pass_without_code`
|
|
67
|
+
- `uat_approved_with_code`
|
|
68
|
+
- `uat_approved_without_code`
|
|
69
|
+
- `non_delivery_closeout`
|
|
70
|
+
2. Derive Git handoff only when code changes exist.
|
|
71
|
+
3. Set exactly one next delivery step:
|
|
72
|
+
- offer commit
|
|
73
|
+
- offer push
|
|
74
|
+
- offer PR
|
|
75
|
+
- no further delivery step
|
|
76
|
+
- run QA/review
|
|
77
|
+
- obtain UAT/approval
|
|
78
|
+
- perform documentation follow-up
|
|
79
|
+
4. Set quality outlook:
|
|
80
|
+
- no further technical follow-up
|
|
81
|
+
- more tests
|
|
82
|
+
- refactoring
|
|
83
|
+
- documentation sharpening
|
|
84
|
+
- monitoring/runtime verification
|
|
85
|
+
5. If `Approval: UAT` exists and code changes were delivered, actively offer the commit but do not run it.
|
|
86
|
+
|
|
87
|
+
## Output
|
|
88
|
+
For code-changing runs:
|
|
89
|
+
|
|
90
|
+
```text
|
|
91
|
+
Delivery status:
|
|
92
|
+
Next step:
|
|
93
|
+
Quality outlook:
|
|
94
|
+
Commit title:
|
|
95
|
+
Commit body:
|
|
96
|
+
Migration/Rollout note:
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
For non-code runs:
|
|
100
|
+
|
|
101
|
+
```text
|
|
102
|
+
Delivery status:
|
|
103
|
+
Next step:
|
|
104
|
+
Quality outlook:
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
## Forbidden
|
|
108
|
+
This skill must not:
|
|
109
|
+
|
|
110
|
+
- decide QA pass
|
|
111
|
+
- replace OR
|
|
112
|
+
- execute commit, push, or PR
|
|
113
|
+
- invent a commit handoff for non-code runs
|
|
114
|
+
- imply new gate approvals
|
|
115
|
+
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: new build/change intent, unclear approval, Structured Delivery, later-gate artefact requested
|
|
3
|
+
mode: subagent
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
---
|
|
7
|
+
name: agdf-gate-check
|
|
8
|
+
description: Use this skill as the default first AGDF skill for any new build, change, extension, refactor, feature, CLI, app, fix with product semantics, Structured Delivery request, unclear approval, later-gate artefact request, or unclear next permissible step. Use it before brownfield-analysis, implementation, formal artefacts, QA, or release when approval/evidence/next action is not already explicit.
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# gate-check
|
|
12
|
+
|
|
13
|
+
## Purpose
|
|
14
|
+
Determine the earliest blocking user approval gate and derive:
|
|
15
|
+
|
|
16
|
+
- the active or blocking gate
|
|
17
|
+
- whether the process is open or blocked
|
|
18
|
+
- currently allowed outputs
|
|
19
|
+
- currently forbidden outputs
|
|
20
|
+
- the exact missing approval
|
|
21
|
+
- the next permissible step
|
|
22
|
+
|
|
23
|
+
This skill must not create later artefacts such as PRD, SD, TP, CD, CR, QA, or UAT when the gate does not allow them.
|
|
24
|
+
|
|
25
|
+
## Runtime Contract
|
|
26
|
+
Use `../agdf-runtime-contract.md` for gate terms, closeout discipline, and non-duplication rules.
|
|
27
|
+
The canonical gate order and transition model live only in the Runtime Contract. This skill evaluates the current state against that model; it must not maintain a second complete gate table.
|
|
28
|
+
|
|
29
|
+
## Agent-Native Control Path
|
|
30
|
+
|
|
31
|
+
AGDF is agent-native first and CLI-verifiable by design.
|
|
32
|
+
This skill is the primary operating path for gate judgement.
|
|
33
|
+
|
|
34
|
+
First inspect the durable control state directly:
|
|
35
|
+
|
|
36
|
+
- `.agdf/control/AGDF_RUN.md`
|
|
37
|
+
- `.agdf/control/MASTER_BACKLOG.md`
|
|
38
|
+
- `.agdf/control/SOT_REGISTRY.md`
|
|
39
|
+
- `.agdf/control/CONTEXT_GRAPH.md`
|
|
40
|
+
- `.agdf/control/AGENT_QUALITY_CONTRACTS.json`
|
|
41
|
+
|
|
42
|
+
If required control files are missing, do not automatically create a full `.agdf/control/` scaffold for a fresh small request.
|
|
43
|
+
The default first action is to draft the minimal UR in the response and request `Approval: UR`.
|
|
44
|
+
Use `init` only when the user explicitly asks for durable AGDF control state, the repository already uses `.agdf/control/` as its live working state, or a deterministic CLI/CI setup path is being executed.
|
|
45
|
+
|
|
46
|
+
Use the executable control path when a machine-readable check is requested, when the gate state is ambiguous, when CI or PR evidence is needed, or when a repository-local automation needs JSON output:
|
|
47
|
+
|
|
48
|
+
```bash
|
|
49
|
+
npm create agdf@latest -- init
|
|
50
|
+
npx --yes create-agdf@latest doctor --json
|
|
51
|
+
npx --yes create-agdf@latest gate-check --json
|
|
52
|
+
npx --yes create-agdf@latest delivery-map --json
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
`init` creates the control scaffold. `doctor` checks whether `.agdf/control/` is actionable. `agdf-gate-check` consumes that result and `AGDF_RUN.md` to report the operative process decision: `open | blocked`, current gate, blocking reason, missing approval, allowed outputs, forbidden outputs, next allowed action and evidence references.
|
|
56
|
+
`delivery-map` reports the durable delivery picture: active artefacts, approvals, Artefact Chain relationships, evidence refs, missing evidence, risks, Context Graph gate effect and machine-readable findings.
|
|
57
|
+
|
|
58
|
+
The CLI reports are validators and JSON evidence, not the primary user experience, not a required ritual for normal work and not a second rule system. If a report says `blocked`, do not continue with later-gate artefacts until the reported blocker is resolved.
|
|
59
|
+
|
|
60
|
+
## Rules
|
|
61
|
+
1. Fail closed when a required approval or artefact status is missing.
|
|
62
|
+
2. The earliest blocking gate wins.
|
|
63
|
+
3. A user approval is valid only as `Approval: <GateName>`.
|
|
64
|
+
4. Treat `Freigabe: <GateName>` as a legacy alias only when reviewing older German runs.
|
|
65
|
+
5. Implicit consent is not approval. "ok", "go ahead", "do it", "approved", "continue", "leg los" and similar phrases do not unlock gates.
|
|
66
|
+
6. Do not preview later artefacts while a gate blocks.
|
|
67
|
+
7. Internal process steps are not user approval gates.
|
|
68
|
+
8. OR-lite is allowed if it does not leak blocked content.
|
|
69
|
+
9. SoT/runtime/product-semantics drift can trigger an early product gate, usually `UR`.
|
|
70
|
+
10. Approval of one user gate permits work on the next allowed gate artefact or required internal step only; it never skips directly to implementation.
|
|
71
|
+
11. New product semantics, functional change or user-visible behaviour change requires a durable UR in `.agdf/control/` or a linked authoritative repository SoT before Brownfield Review, PRD, SD, TP, Brownfield Analysis or implementation.
|
|
72
|
+
12. Approval text and durable artefact presence are separate requirements for UR, PRD, SD, TP and QA report decisions. Approval text without the corresponding persisted or linked artefact keeps the current gate at that gate.
|
|
73
|
+
13. After Brownfield Review, decide the process size before drafting PRD or implementing: `quick_task | structured_slice | structured_delivery | block`.
|
|
74
|
+
14. The Mode/Slice Decision must be visible and evidenced before any Quick Task execution, PRD shortcut or implementation. A decision value without scope reason and evidence is still missing.
|
|
75
|
+
15. Missing or incomplete control state must not push setup work back to the user. For a fresh request, draft the current minimal artefact in the response and request the exact approval. Initialize or write `.agdf/control/` only when durable control state is explicitly requested, already live for the repository, or required for a deterministic CLI/CI setup path. Implementation remains forbidden.
|
|
76
|
+
|
|
77
|
+
## Gate Evaluation
|
|
78
|
+
|
|
79
|
+
If `Approval: UR` is present, do not say implementation is the next step.
|
|
80
|
+
The next step is Brownfield Review when Brownfield, ownership, runtime, policy, persistence, architecture, UI or UX impact is possible; after that, the next step is a Mode/Slice Decision. Do not assume the full PRD/SD/TP chain before the existing-system impact is understood.
|
|
81
|
+
Use the Runtime Contract's Gate Transition Model to derive the current gate, allowed outputs, forbidden outputs and missing approval.
|
|
82
|
+
|
|
83
|
+
## When To Use
|
|
84
|
+
- new user intent to build, add, change, extend, refactor or deliver something
|
|
85
|
+
- Structured Delivery before first artefact creation
|
|
86
|
+
- unclear current gate
|
|
87
|
+
- user says "continue" or similar without exact approval
|
|
88
|
+
- code or a later-gate artefact is requested
|
|
89
|
+
- implementation permission is unclear
|
|
90
|
+
- QA, UAT, or release permission is unclear
|
|
91
|
+
|
|
92
|
+
Not required for simple Quick Tasks without new product scope and without formal artefacts.
|
|
93
|
+
|
|
94
|
+
For a fresh prompt such as "I want to build a small CLI", use this skill first.
|
|
95
|
+
Do not route directly to `agdf-brownfield-analysis` or implementation until this skill or live AGDF control state says that implementation preparation is the next allowed action.
|
|
96
|
+
|
|
97
|
+
## Inputs
|
|
98
|
+
Use what is available:
|
|
99
|
+
|
|
100
|
+
- current user request
|
|
101
|
+
- existing exact approvals
|
|
102
|
+
- status of UR, PRD, SD, TP
|
|
103
|
+
- Brownfield Review status
|
|
104
|
+
- Mode/Slice Decision
|
|
105
|
+
- Brownfield Analysis status
|
|
106
|
+
- CD+Tests, CR, QA, UAT status
|
|
107
|
+
- signs of documentation/runtime/product-semantics drift
|
|
108
|
+
|
|
109
|
+
If a status is not explicit, do not assume it is satisfied.
|
|
110
|
+
|
|
111
|
+
## Workflow
|
|
112
|
+
1. Check exact approvals.
|
|
113
|
+
2. Check artefact status.
|
|
114
|
+
3. Determine the earliest blocking user gate or internal mandatory step.
|
|
115
|
+
4. Derive allowed and forbidden outputs.
|
|
116
|
+
5. Name the exact missing approval, if any.
|
|
117
|
+
6. If consent was only implicit, say it is not yet approval and provide the exact formula.
|
|
118
|
+
7. Ensure the next step follows the gate transition table. In particular, never jump from `Approval: UR` to implementation.
|
|
119
|
+
8. Treat a generic "start", "continue" or "leg los" request as a request to perform only the current next allowed action.
|
|
120
|
+
9. After Brownfield Review, choose the smallest safe process path before creating later artefacts.
|
|
121
|
+
10. If the selected path is not visibly recorded with scope reason and evidence, keep the run at `Mode/Slice Decision`.
|
|
122
|
+
11. When `.agdf/control/` is missing or incomplete, make the next allowed artefact action explicit. For a fresh request, that means draft the minimal UR in the response, then request `Approval: UR`. Do not write a full control scaffold unless durable control state was explicitly requested or is already the repository's live AGDF working state.
|
|
123
|
+
|
|
124
|
+
## Output
|
|
125
|
+
Keep the result short and operational:
|
|
126
|
+
|
|
127
|
+
- **Current gate:** `<GateName or internal step>`
|
|
128
|
+
- **Status:** `open | blocked`
|
|
129
|
+
- **Allowed:** `<allowed outputs>`
|
|
130
|
+
- **Forbidden:** `<forbidden outputs>`
|
|
131
|
+
- **Missing approval:** `Approval: <GateName> | none`
|
|
132
|
+
- **Next step:** `<single permissible next step>`
|
|
133
|
+
|
|
134
|
+
If this skill creates or updates control artefacts, do not paste full file bodies into the chat.
|
|
135
|
+
List paths, summarize the decision, name the blocker or approval needed, and keep the durable content in the files.
|
|
136
|
+
|
|
137
|
+
## Forbidden
|
|
138
|
+
This skill must not:
|
|
139
|
+
|
|
140
|
+
- create PRD before UR approval
|
|
141
|
+
- create PRD before required Brownfield Review is done or explicitly not_applicable
|
|
142
|
+
- create PRD before Mode/Slice Decision is recorded
|
|
143
|
+
- create SD before PRD approval
|
|
144
|
+
- create TP while earlier gates block
|
|
145
|
+
- suggest implementation immediately after `Approval: UR`
|
|
146
|
+
- suggest implementation before Brownfield Review has explicitly selected `quick_task`
|
|
147
|
+
- suggest implementation immediately after `Approval: PRD`
|
|
148
|
+
- suggest implementation immediately after `Approval: SD`
|
|
149
|
+
- treat "ok", "leg los", "go ahead", "approved" or similar wording as gate approval
|
|
150
|
+
- perform full Brownfield Analysis unless explicitly requested
|
|
151
|
+
- provide implementation snippets while implementation is gated
|
|
152
|
+
- paste full `.agdf/control/` files, templates or artefact bodies into the chat unless the user explicitly asks for the full content
|
|
153
|
+
- present QA or UAT as passed without evidence
|
|
154
|
+
- present release as allowed without QA pass and UAT approval where required
|
|
155
|
+
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: final QA decision
|
|
3
|
+
mode: subagent
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
---
|
|
7
|
+
name: agdf-qa-gate
|
|
8
|
+
description: Use this skill before any QA decision to determine whether implementation can be classified as pass, revise, or block based on TP coverage, Brownfield fit, solution integrity, evidence, and open blockers. Use it after CD+Tests, after reviews, and before UAT or release decisions.
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# qa-gate
|
|
12
|
+
|
|
13
|
+
## Purpose
|
|
14
|
+
Make the formal QA gate decision.
|
|
15
|
+
|
|
16
|
+
This skill is the only final QA decision point for `pass | revise | block`.
|
|
17
|
+
|
|
18
|
+
It answers:
|
|
19
|
+
|
|
20
|
+
- whether `QA pass` is allowed
|
|
21
|
+
- whether the implementation must be revised
|
|
22
|
+
- whether a hard blocker remains
|
|
23
|
+
- whether relevant TP tasks are sufficiently verified
|
|
24
|
+
- whether P0/P1 tasks are complete
|
|
25
|
+
- whether Brownfield fit is sufficient
|
|
26
|
+
- whether solution integrity is sufficient
|
|
27
|
+
- whether blockers, critical risks, or missing evidence remain
|
|
28
|
+
|
|
29
|
+
## Runtime Contract
|
|
30
|
+
Use `../agdf-runtime-contract.md` for Quality Contract output, Context Graph fields, gate terms, and non-duplication rules.
|
|
31
|
+
|
|
32
|
+
QA-specific `decision` is exactly `pass | revise | block`.
|
|
33
|
+
`pass` is allowed only when TP coverage, Brownfield fit, solution integrity, and relevant documentation/Context Graph impact are sufficiently evidenced.
|
|
34
|
+
`sot_drift` must not pass silently as a warning.
|
|
35
|
+
|
|
36
|
+
## Rules
|
|
37
|
+
1. No QA pass without strong evidence.
|
|
38
|
+
2. TP is the reference, not merely working code.
|
|
39
|
+
3. P0/P1 gaps block `pass`.
|
|
40
|
+
4. Brownfield fit is mandatory.
|
|
41
|
+
5. UI surface integrity is mandatory for UI-impacting changes.
|
|
42
|
+
6. Solution integrity is mandatory.
|
|
43
|
+
7. Always output exactly one decision: `pass`, `revise`, or `block`.
|
|
44
|
+
8. Open risks, missing tests, partial TP coverage, or side effects must be visible.
|
|
45
|
+
|
|
46
|
+
## When To Use
|
|
47
|
+
- after `CD+Tests`
|
|
48
|
+
- after `agdf-code-review`
|
|
49
|
+
- after `agdf-task-plan-review`
|
|
50
|
+
- after `agdf-clean-implementation-review`
|
|
51
|
+
- before UAT
|
|
52
|
+
- before any claim that implementation is done, releasable, or QA-ready
|
|
53
|
+
- when evidence from Brownfield, TP, or clean-review skills exists
|
|
54
|
+
|
|
55
|
+
Important:
|
|
56
|
+
|
|
57
|
+
- `CD+Tests` is implementation and test status only.
|
|
58
|
+
- Without review evidence and TP coverage, `QA pass` is not allowed.
|
|
59
|
+
|
|
60
|
+
## Inputs
|
|
61
|
+
Use what is available:
|
|
62
|
+
|
|
63
|
+
- approved TP and TP Review
|
|
64
|
+
- Brownfield Analysis
|
|
65
|
+
- Clean Implementation Review
|
|
66
|
+
- `agdf-code-review` or Code Review Report
|
|
67
|
+
- test/build results
|
|
68
|
+
- documentation impact review
|
|
69
|
+
- runtime or UI evidence
|
|
70
|
+
- known blockers and risks
|
|
71
|
+
|
|
72
|
+
If evidence is missing, lower the decision accordingly.
|
|
73
|
+
|
|
74
|
+
## Workflow
|
|
75
|
+
1. Confirm the relevant gate context.
|
|
76
|
+
2. Verify TP coverage.
|
|
77
|
+
3. Verify P0/P1 completion.
|
|
78
|
+
4. Verify Brownfield fit.
|
|
79
|
+
5. Verify solution integrity.
|
|
80
|
+
6. Verify tests and evidence strength.
|
|
81
|
+
7. Verify documentation and Context Graph impact if relevant.
|
|
82
|
+
8. Decide:
|
|
83
|
+
- `pass`
|
|
84
|
+
- `revise`
|
|
85
|
+
- `block`
|
|
86
|
+
9. State the single required next step.
|
|
87
|
+
|
|
88
|
+
## Output
|
|
89
|
+
Use this shape:
|
|
90
|
+
|
|
91
|
+
```text
|
|
92
|
+
## QA Gate
|
|
93
|
+
- decision: pass | revise | block
|
|
94
|
+
- evidence:
|
|
95
|
+
- missing_evidence:
|
|
96
|
+
- risks:
|
|
97
|
+
- required_next_step:
|
|
98
|
+
- impact_codes:
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
If Context Graph impact is relevant, include the fields from `../agdf-runtime-contract.md`.
|
|
102
|
+
|
|
103
|
+
## Decision Guidance
|
|
104
|
+
- `pass`: required TP tasks are done, evidence is strong, no blocking Brownfield or solution-integrity risk remains.
|
|
105
|
+
- `revise`: implementation is plausible but missing evidence, partial tasks, UX gaps, or fixable integrity issues remain.
|
|
106
|
+
- `block`: hard prerequisite, approval, product semantics, security/compliance, SoT drift, or critical behaviour is unresolved.
|
|
107
|
+
|
|
108
|
+
## Forbidden
|
|
109
|
+
This skill must not:
|
|
110
|
+
|
|
111
|
+
- grant QA pass from a green build alone
|
|
112
|
+
- hide partial task completion
|
|
113
|
+
- replace UAT
|
|
114
|
+
- treat missing reviews as completed
|
|
115
|
+
- downgrade SoT drift to harmless warning
|
|
116
|
+
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: auditable closeout for every relevant run
|
|
3
|
+
mode: subagent
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
---
|
|
7
|
+
name: agdf-release-or
|
|
8
|
+
description: Use this skill at the end of every relevant run to produce a compact, auditable Orchestration Report. It summarizes gate status, delivered and intentionally not delivered work, TP coverage, Brownfield fit, solution integrity, open risks, and the next permissible step.
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# release-or
|
|
12
|
+
|
|
13
|
+
## Purpose
|
|
14
|
+
Produce the Orchestration Report (OR) as the mandatory closeout for a relevant run.
|
|
15
|
+
|
|
16
|
+
It reports:
|
|
17
|
+
|
|
18
|
+
- current user gate
|
|
19
|
+
- whether the run is `pass`, `revise`, `block`, or not yet QA-decided
|
|
20
|
+
- what was delivered
|
|
21
|
+
- what was intentionally not delivered
|
|
22
|
+
- missing approvals
|
|
23
|
+
- TP coverage status
|
|
24
|
+
- Brownfield fit
|
|
25
|
+
- solution integrity
|
|
26
|
+
- documentation impact
|
|
27
|
+
- Context Graph impact
|
|
28
|
+
- open risks, blockers, retained fallbacks, and exit criteria
|
|
29
|
+
- next permissible step
|
|
30
|
+
- whether further quality follow-up or a separate delivery closeout is useful
|
|
31
|
+
|
|
32
|
+
## Runtime Contract
|
|
33
|
+
Use `../agdf-runtime-contract.md` for Quality Contract output, Context Graph fields, gate terms, and non-duplication rules.
|
|
34
|
+
|
|
35
|
+
OR-specific output must make gate status, delivered and intentionally not delivered content, missing approvals, missing evidence, risks, retained fallbacks, and the next permissible step visible.
|
|
36
|
+
When `.agdf/control/` is present, persist or link the OR under `.agdf/control/artefacts/<key>/OR.md` and reference it from `AGDF_RUN.md` or `MASTER_BACKLOG.md` when it is steering-relevant.
|
|
37
|
+
Use the Runtime Contract definition of `Relevant Run` to decide whether OR is mandatory or whether a Quick Task mini-closeout is enough.
|
|
38
|
+
|
|
39
|
+
## Rules
|
|
40
|
+
1. OR is always allowed and mandatory for relevant runs as defined in the Runtime Contract.
|
|
41
|
+
2. OR is an audit report, not a blocking gate.
|
|
42
|
+
3. Do not leak artefacts from blocked later gates.
|
|
43
|
+
4. Use OR-lite when early gates block.
|
|
44
|
+
5. Use OR-full only within the allowed scope.
|
|
45
|
+
6. Report status, not marketing language.
|
|
46
|
+
7. Name missing approvals, partial implementation, risks, fallbacks, Brownfield issues, and open defects.
|
|
47
|
+
8. Retained fallbacks require visible exit criteria and cleanup path.
|
|
48
|
+
9. End with the immediately permissible next step.
|
|
49
|
+
10. `CD+Tests` is not completion.
|
|
50
|
+
|
|
51
|
+
## When To Use
|
|
52
|
+
- at the end of every relevant run
|
|
53
|
+
- after artefact creation
|
|
54
|
+
- when a gate blocks
|
|
55
|
+
- after `CD+Tests`
|
|
56
|
+
- after `agdf-code-review`
|
|
57
|
+
- after QA
|
|
58
|
+
- after UAT
|
|
59
|
+
- whenever a compact audit closeout is needed
|
|
60
|
+
|
|
61
|
+
Do not force OR onto a pure explanation, read-only inspection, small review, or local debugging step that produces no durable state change and no gate consequence.
|
|
62
|
+
|
|
63
|
+
## Inputs
|
|
64
|
+
Use what is available:
|
|
65
|
+
|
|
66
|
+
- current gate
|
|
67
|
+
- existing approvals
|
|
68
|
+
- artefacts created in this run
|
|
69
|
+
- intentionally not delivered content
|
|
70
|
+
- Task Plan
|
|
71
|
+
- `agdf-task-plan-review`
|
|
72
|
+
- `agdf-brownfield-analysis`
|
|
73
|
+
- `agdf-clean-implementation-review`
|
|
74
|
+
- `agdf-code-review`
|
|
75
|
+
- QA Report
|
|
76
|
+
- UAT Report
|
|
77
|
+
- documentation impact review
|
|
78
|
+
- Context Graph impact
|
|
79
|
+
- known risks, defects, fallbacks, and open questions
|
|
80
|
+
- test/build status and relevant metrics
|
|
81
|
+
|
|
82
|
+
If information is missing, state the gap instead of guessing.
|
|
83
|
+
|
|
84
|
+
## Workflow
|
|
85
|
+
1. Determine the current gate and earliest blocker.
|
|
86
|
+
2. Determine report depth:
|
|
87
|
+
- `OR-lite`: gate status, allowed/forbidden outputs, missing approval, next step
|
|
88
|
+
- `OR-full`: also delivered artefacts, TP coverage, Brownfield fit, solution integrity, risks, fallbacks, QA/UAT status
|
|
89
|
+
3. Record the selected `Report mode` and durable OR target or link when `.agdf/control/` exists.
|
|
90
|
+
4. Record delivered vs intentionally not delivered content.
|
|
91
|
+
5. Summarize TP coverage if a TP exists.
|
|
92
|
+
6. Summarize Brownfield fit and solution integrity if reviewed.
|
|
93
|
+
7. Summarize tests and verification.
|
|
94
|
+
8. Summarize documentation and Context Graph impact if relevant.
|
|
95
|
+
9. Name retained fallbacks and exit criteria.
|
|
96
|
+
10. Set exactly one next permissible step.
|
|
97
|
+
11. Set exactly one quality outlook.
|
|
98
|
+
12. State whether `agdf-delivery-closeout` is the next operational handoff step when code changes exist and the delivery state allows it.
|
|
99
|
+
|
|
100
|
+
## Output
|
|
101
|
+
Use a compact structure:
|
|
102
|
+
|
|
103
|
+
```text
|
|
104
|
+
## OR
|
|
105
|
+
- gate:
|
|
106
|
+
- report_mode:
|
|
107
|
+
- artefact:
|
|
108
|
+
- status:
|
|
109
|
+
- delivered:
|
|
110
|
+
- intentionally_not_delivered:
|
|
111
|
+
- evidence:
|
|
112
|
+
- missing_evidence:
|
|
113
|
+
- risks:
|
|
114
|
+
- retained_fallbacks:
|
|
115
|
+
- required_next_step:
|
|
116
|
+
- quality_outlook:
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
When Context Graph impact is relevant, include the fields from `../agdf-runtime-contract.md`.
|
|
120
|
+
|
|
121
|
+
## Forbidden
|
|
122
|
+
This skill must not:
|
|
123
|
+
|
|
124
|
+
- decide QA in place of `agdf-qa-gate`
|
|
125
|
+
- call `CD+Tests` complete, QA-ready, or release-ready
|
|
126
|
+
- hide missing approvals
|
|
127
|
+
- provide later-gate content while an earlier gate blocks
|
|
128
|
+
- produce the operative commit/PR handoff owned by `agdf-delivery-closeout`
|
|
129
|
+
- execute commit, push, or PR actions
|
|
130
|
+
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: after implementation and before QA, verify TP coverage
|
|
3
|
+
mode: subagent
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
---
|
|
7
|
+
name: agdf-task-plan-review
|
|
8
|
+
description: Use this skill after code changes and before QA to verify whether the approved Task Plan was actually fulfilled. It checks each task_id against implementation, acceptance criteria, tests, visible evidence, and deviations, and provides TP coverage for QA.
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# task-plan-review
|
|
12
|
+
|
|
13
|
+
## Purpose
|
|
14
|
+
Verify whether implementation actually satisfies the approved Task Plan.
|
|
15
|
+
|
|
16
|
+
For each relevant task, this skill determines:
|
|
17
|
+
|
|
18
|
+
- whether the task is fully, partially, or not completed
|
|
19
|
+
- which acceptance criteria are done, partial, missing, or not verifiable
|
|
20
|
+
- which files, tests, runtime evidence, or UI evidence support the finding
|
|
21
|
+
- evidence strength
|
|
22
|
+
- which gaps must be handed to `agdf-qa-gate`
|
|
23
|
+
|
|
24
|
+
This skill provides TP coverage. It is not the final QA decision.
|
|
25
|
+
|
|
26
|
+
## Runtime Contract
|
|
27
|
+
Use `../agdf-runtime-contract.md` for Quality Contract output, Context Graph fields, gate terms, and non-duplication rules.
|
|
28
|
+
|
|
29
|
+
TP-specific output must evaluate every relevant `task_id` with completion status, AC coverage, evidence, missing evidence, and QA-relevant gaps.
|
|
30
|
+
If `context_graph_required_action` is not `none`, the affected task is complete only if follow-up, evidence, or an intentionally open gap is visible.
|
|
31
|
+
|
|
32
|
+
## Rules
|
|
33
|
+
1. The Task Plan is the reference, not plausible code.
|
|
34
|
+
2. No assumptions without evidence.
|
|
35
|
+
3. Evaluate each relevant `task_id` individually.
|
|
36
|
+
4. `fully_done` requires strong evidence.
|
|
37
|
+
5. A green build alone does not prove TP completion.
|
|
38
|
+
6. UI/state/render/recovery tasks need visible evidence, not only code.
|
|
39
|
+
7. Partial implementation must be marked `partially_done`.
|
|
40
|
+
8. P0/P1 gaps must be handed to QA.
|
|
41
|
+
9. Out-of-scope changes must be reported.
|
|
42
|
+
10. When evidence is unclear, fail closed to at least `partially_done`.
|
|
43
|
+
|
|
44
|
+
## Clarifications
|
|
45
|
+
### TP Slice Before Target State
|
|
46
|
+
If the TP explicitly defines a preparatory, additive, or limited slice, evaluate that exact scope.
|
|
47
|
+
`fully_done` is allowed for a completed slice even if the larger target state remains open.
|
|
48
|
+
|
|
49
|
+
### Missing Priorities
|
|
50
|
+
If no priorities are defined, do not invent them. Mark the gap and treat QA relevance conservatively.
|
|
51
|
+
|
|
52
|
+
### Missing Acceptance Criteria
|
|
53
|
+
If ACs are unclear, derive only obvious expectations from title, goal, and scope. Mark AC basis as incomplete and lower evidence confidence as needed.
|
|
54
|
+
|
|
55
|
+
## When To Use
|
|
56
|
+
- after `CD+Tests`
|
|
57
|
+
- before `QA`
|
|
58
|
+
- when TP completion is unclear
|
|
59
|
+
- when the user asks for TP fulfilment
|
|
60
|
+
- when UI/state/runtime invariants are affected
|
|
61
|
+
- when several agents or work steps touched the same TP
|
|
62
|
+
|
|
63
|
+
## Inputs
|
|
64
|
+
Use what is available:
|
|
65
|
+
|
|
66
|
+
- Task Plan
|
|
67
|
+
- `task_id`, `story_id`, priorities
|
|
68
|
+
- acceptance criteria or success goals
|
|
69
|
+
- changed files
|
|
70
|
+
- tests and test results
|
|
71
|
+
- build results
|
|
72
|
+
- runtime/UI evidence
|
|
73
|
+
- known deviations and scope decisions
|
|
74
|
+
|
|
75
|
+
If TP or relevant tasks are missing, do not claim reliable TP coverage.
|
|
76
|
+
|
|
77
|
+
## Output
|
|
78
|
+
Use this compact structure:
|
|
79
|
+
|
|
80
|
+
```text
|
|
81
|
+
## TP Coverage
|
|
82
|
+
| task_id | status | evidence | missing_evidence | QA impact |
|
|
83
|
+
|---|---|---|---|---|
|
|
84
|
+
|
|
85
|
+
## Summary
|
|
86
|
+
- fully_done:
|
|
87
|
+
- partially_done:
|
|
88
|
+
- not_done:
|
|
89
|
+
- out_of_scope_changes:
|
|
90
|
+
- risks:
|
|
91
|
+
- required_next_step:
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
Completion status:
|
|
95
|
+
|
|
96
|
+
- `fully_done`
|
|
97
|
+
- `partially_done`
|
|
98
|
+
- `not_done`
|
|
99
|
+
|
|
100
|
+
AC status:
|
|
101
|
+
|
|
102
|
+
- `done`
|
|
103
|
+
- `partial`
|
|
104
|
+
- `missing`
|
|
105
|
+
- `not_verifiable`
|
|
106
|
+
|
|
107
|
+
Evidence confidence:
|
|
108
|
+
|
|
109
|
+
- `high`
|
|
110
|
+
- `medium`
|
|
111
|
+
- `low`
|
|
112
|
+
|
|
113
|
+
## Forbidden
|
|
114
|
+
This skill must not:
|
|
115
|
+
|
|
116
|
+
- decide final QA
|
|
117
|
+
- mark tasks fully done from code existence alone
|
|
118
|
+
- hide partial work
|
|
119
|
+
- upgrade missing evidence into confidence
|
|
120
|
+
- reinterpret the TP scope
|
|
121
|
+
|
|
@@ -49,15 +49,21 @@ Keep these files small and reviewable. They are control artefacts, not a second
|
|
|
49
49
|
Create the live files with:
|
|
50
50
|
|
|
51
51
|
```bash
|
|
52
|
-
npm create agdf@latest init
|
|
52
|
+
npm create agdf@latest -- init
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
If only the project language preference is missing or should change after plugin installation, write just the config file:
|
|
56
|
+
|
|
57
|
+
```bash
|
|
58
|
+
npm create agdf@latest -- config --language en
|
|
53
59
|
```
|
|
54
60
|
|
|
55
61
|
Then check whether the live state is actionable:
|
|
56
62
|
|
|
57
63
|
```bash
|
|
58
|
-
npm create agdf@latest doctor
|
|
59
|
-
|
|
60
|
-
|
|
64
|
+
npm create agdf@latest -- doctor
|
|
65
|
+
npx --yes create-agdf@latest doctor --json
|
|
66
|
+
npx --yes create-agdf@latest gate-check --json
|
|
61
67
|
```
|
|
62
68
|
|
|
63
69
|
`doctor` does not replace agent judgment. It catches basic control failures: missing live files, missing current gate, missing next allowed action, empty evidence, empty backlog pointer, empty source-of-truth registry, duplicate active SoT rows and invalid quality contracts.
|