create-agdf 0.1.3 → 0.1.5

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.
Files changed (35) hide show
  1. package/README.md +8 -4
  2. package/bin/create-agdf.js +57 -9
  3. package/generated/.agents/plugins/marketplace.json +20 -0
  4. package/generated/.github/copilot-instructions.md +10 -0
  5. package/generated/.github/instructions/agdf-governance.instructions.md +13 -0
  6. package/generated/plugins/agdf/.codex-plugin/plugin.json +30 -0
  7. package/generated/plugins/agdf/control/README.md +39 -0
  8. package/generated/plugins/agdf/control/templates/AGDF_RUN.md +84 -0
  9. package/generated/plugins/agdf/control/templates/AGENT_QUALITY_CONTRACTS.json +78 -0
  10. package/generated/plugins/agdf/control/templates/CONTEXT_GRAPH.md +51 -0
  11. package/generated/plugins/agdf/control/templates/MASTER_BACKLOG.md +29 -0
  12. package/generated/plugins/agdf/control/templates/SOT_REGISTRY.md +25 -0
  13. package/generated/plugins/agdf/hooks/hooks.json +15 -0
  14. package/generated/plugins/agdf/hooks/session-start.sh +10 -0
  15. package/generated/plugins/agdf/meta/agdf-constitution.md +312 -0
  16. package/generated/plugins/agdf/meta/agdf-copilot-agents.md +77 -0
  17. package/generated/plugins/agdf/meta/agdf-runtime-contract.md +85 -0
  18. package/generated/plugins/agdf/meta/agdf-tenets.md +191 -0
  19. package/generated/plugins/agdf/skills/agdf-brownfield-analysis/SKILL.md +116 -0
  20. package/generated/plugins/agdf/skills/agdf-brownfield-analysis/help.md +23 -0
  21. package/generated/plugins/agdf/skills/agdf-clean-implementation-review/SKILL.md +100 -0
  22. package/generated/plugins/agdf/skills/agdf-clean-implementation-review/help.md +23 -0
  23. package/generated/plugins/agdf/skills/agdf-code-review/SKILL.md +94 -0
  24. package/generated/plugins/agdf/skills/agdf-code-review/help.md +23 -0
  25. package/generated/plugins/agdf/skills/agdf-delivery-closeout/SKILL.md +109 -0
  26. package/generated/plugins/agdf/skills/agdf-delivery-closeout/help.md +23 -0
  27. package/generated/plugins/agdf/skills/agdf-gate-check/SKILL.md +92 -0
  28. package/generated/plugins/agdf/skills/agdf-gate-check/help.md +23 -0
  29. package/generated/plugins/agdf/skills/agdf-qa-gate/SKILL.md +110 -0
  30. package/generated/plugins/agdf/skills/agdf-qa-gate/help.md +23 -0
  31. package/generated/plugins/agdf/skills/agdf-release-or/SKILL.md +124 -0
  32. package/generated/plugins/agdf/skills/agdf-release-or/help.md +23 -0
  33. package/generated/plugins/agdf/skills/agdf-task-plan-review/SKILL.md +115 -0
  34. package/generated/plugins/agdf/skills/agdf-task-plan-review/help.md +23 -0
  35. package/package.json +2 -2
@@ -0,0 +1,110 @@
1
+ ---
2
+ name: agdf-qa-gate
3
+ 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.
4
+ ---
5
+
6
+ # qa-gate
7
+
8
+ ## Purpose
9
+ Make the formal QA gate decision.
10
+
11
+ This skill is the only final QA decision point for `pass | revise | block`.
12
+
13
+ It answers:
14
+
15
+ - whether `QA pass` is allowed
16
+ - whether the implementation must be revised
17
+ - whether a hard blocker remains
18
+ - whether relevant TP tasks are sufficiently verified
19
+ - whether P0/P1 tasks are complete
20
+ - whether Brownfield fit is sufficient
21
+ - whether solution integrity is sufficient
22
+ - whether blockers, critical risks, or missing evidence remain
23
+
24
+ ## Runtime Contract
25
+ Use `../../meta/agdf-runtime-contract.md` for Quality Contract output, Context Graph fields, gate terms, and non-duplication rules.
26
+
27
+ QA-specific `decision` is exactly `pass | revise | block`.
28
+ `pass` is allowed only when TP coverage, Brownfield fit, solution integrity, and relevant documentation/Context Graph impact are sufficiently evidenced.
29
+ `sot_drift` must not pass silently as a warning.
30
+
31
+ ## Rules
32
+ 1. No QA pass without strong evidence.
33
+ 2. TP is the reference, not merely working code.
34
+ 3. P0/P1 gaps block `pass`.
35
+ 4. Brownfield fit is mandatory.
36
+ 5. UI surface integrity is mandatory for UI-impacting changes.
37
+ 6. Solution integrity is mandatory.
38
+ 7. Always output exactly one decision: `pass`, `revise`, or `block`.
39
+ 8. Open risks, missing tests, partial TP coverage, or side effects must be visible.
40
+
41
+ ## When To Use
42
+ - after `CD+Tests`
43
+ - after `agdf-code-review`
44
+ - after `agdf-task-plan-review`
45
+ - after `agdf-clean-implementation-review`
46
+ - before UAT
47
+ - before any claim that implementation is done, releasable, or QA-ready
48
+ - when evidence from Brownfield, TP, or clean-review skills exists
49
+
50
+ Important:
51
+
52
+ - `CD+Tests` is implementation and test status only.
53
+ - Without review evidence and TP coverage, `QA pass` is not allowed.
54
+
55
+ ## Inputs
56
+ Use what is available:
57
+
58
+ - approved TP and TP Review
59
+ - Brownfield Analysis
60
+ - Clean Implementation Review
61
+ - `agdf-code-review` or Code Review Report
62
+ - test/build results
63
+ - documentation impact review
64
+ - runtime or UI evidence
65
+ - known blockers and risks
66
+
67
+ If evidence is missing, lower the decision accordingly.
68
+
69
+ ## Workflow
70
+ 1. Confirm the relevant gate context.
71
+ 2. Verify TP coverage.
72
+ 3. Verify P0/P1 completion.
73
+ 4. Verify Brownfield fit.
74
+ 5. Verify solution integrity.
75
+ 6. Verify tests and evidence strength.
76
+ 7. Verify documentation and Context Graph impact if relevant.
77
+ 8. Decide:
78
+ - `pass`
79
+ - `revise`
80
+ - `block`
81
+ 9. State the single required next step.
82
+
83
+ ## Output
84
+ Use this shape:
85
+
86
+ ```text
87
+ ## QA Gate
88
+ - decision: pass | revise | block
89
+ - evidence:
90
+ - missing_evidence:
91
+ - risks:
92
+ - required_next_step:
93
+ - impact_codes:
94
+ ```
95
+
96
+ If Context Graph impact is relevant, include the fields from `../../meta/agdf-runtime-contract.md`.
97
+
98
+ ## Decision Guidance
99
+ - `pass`: required TP tasks are done, evidence is strong, no blocking Brownfield or solution-integrity risk remains.
100
+ - `revise`: implementation is plausible but missing evidence, partial tasks, UX gaps, or fixable integrity issues remain.
101
+ - `block`: hard prerequisite, approval, product semantics, security/compliance, SoT drift, or critical behaviour is unresolved.
102
+
103
+ ## Forbidden
104
+ This skill must not:
105
+
106
+ - grant QA pass from a green build alone
107
+ - hide partial task completion
108
+ - replace UAT
109
+ - treat missing reviews as completed
110
+ - downgrade SoT drift to harmless warning
@@ -0,0 +1,23 @@
1
+ ## NAME
2
+
3
+ `agdf-qa-gate` - QA gate
4
+
5
+ ## SYNOPSIS
6
+
7
+ `/agdf-qa-gate` [`--help`|`-h`]
8
+
9
+ ## DESCRIPTION
10
+
11
+ Makes the formal QA gate decision (`pass | revise | block`) based on TP coverage, Brownfield fit, solution integrity, evidence, and open blockers.
12
+
13
+ ## EXAMPLES
14
+
15
+ Trigger the skill:
16
+
17
+ ```text
18
+ > /agdf-qa-gate
19
+ ```
20
+
21
+ ## SEE ALSO
22
+
23
+ See the full SKILL.md for detailed workflow, output format, and decision logic.
@@ -0,0 +1,124 @@
1
+ ---
2
+ name: agdf-release-or
3
+ 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.
4
+ ---
5
+
6
+ # release-or
7
+
8
+ ## Purpose
9
+ Produce the Orchestration Report (OR) as the mandatory closeout for a relevant run.
10
+
11
+ It reports:
12
+
13
+ - current user gate
14
+ - whether the run is `pass`, `revise`, `block`, or not yet QA-decided
15
+ - what was delivered
16
+ - what was intentionally not delivered
17
+ - missing approvals
18
+ - TP coverage status
19
+ - Brownfield fit
20
+ - solution integrity
21
+ - documentation impact
22
+ - Context Graph impact
23
+ - open risks, blockers, retained fallbacks, and exit criteria
24
+ - next permissible step
25
+ - whether further quality follow-up is useful
26
+
27
+ ## Runtime Contract
28
+ Use `../../meta/agdf-runtime-contract.md` for Quality Contract output, Context Graph fields, gate terms, and non-duplication rules.
29
+
30
+ 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.
31
+
32
+ ## Rules
33
+ 1. OR is always allowed and mandatory for relevant runs.
34
+ 2. OR is an audit report, not a blocking gate.
35
+ 3. Do not leak artefacts from blocked later gates.
36
+ 4. Use OR-lite when early gates block.
37
+ 5. Use OR-full only within the allowed scope.
38
+ 6. Report status, not marketing language.
39
+ 7. Name missing approvals, partial implementation, risks, fallbacks, Brownfield issues, and open defects.
40
+ 8. Retained fallbacks require visible exit criteria and cleanup path.
41
+ 9. End with the immediately permissible next step.
42
+ 10. `CD+Tests` is not completion.
43
+
44
+ ## When To Use
45
+ - at the end of every relevant run
46
+ - after artefact creation
47
+ - when a gate blocks
48
+ - after `CD+Tests`
49
+ - after `agdf-code-review`
50
+ - after QA
51
+ - after UAT
52
+ - whenever a compact audit closeout is needed
53
+
54
+ ## Inputs
55
+ Use what is available:
56
+
57
+ - current gate
58
+ - existing approvals
59
+ - artefacts created in this run
60
+ - intentionally not delivered content
61
+ - Task Plan
62
+ - `agdf-task-plan-review`
63
+ - `agdf-brownfield-analysis`
64
+ - `agdf-clean-implementation-review`
65
+ - `agdf-code-review`
66
+ - QA Report
67
+ - UAT Report
68
+ - documentation impact review
69
+ - Context Graph impact
70
+ - known risks, defects, fallbacks, and open questions
71
+ - test/build status and relevant metrics
72
+
73
+ If information is missing, state the gap instead of guessing.
74
+
75
+ ## Workflow
76
+ 1. Determine the current gate and earliest blocker.
77
+ 2. Determine report depth:
78
+ - `OR-lite`: gate status, allowed/forbidden outputs, missing approval, next step
79
+ - `OR-full`: also delivered artefacts, TP coverage, Brownfield fit, solution integrity, risks, fallbacks, QA/UAT status
80
+ 3. Record delivered vs intentionally not delivered content.
81
+ 4. Summarize TP coverage if a TP exists.
82
+ 5. Summarize Brownfield fit and solution integrity if reviewed.
83
+ 6. Summarize tests and verification.
84
+ 7. Summarize documentation and Context Graph impact if relevant.
85
+ 8. Name retained fallbacks and exit criteria.
86
+ 9. Set exactly one next permissible step.
87
+ 10. Set exactly one quality outlook.
88
+ 11. Add a commit-ready handoff only when code changes exist and the delivery state allows it.
89
+
90
+ ## Output
91
+ Use a compact structure:
92
+
93
+ ```text
94
+ ## OR
95
+ - gate:
96
+ - status:
97
+ - delivered:
98
+ - intentionally_not_delivered:
99
+ - evidence:
100
+ - missing_evidence:
101
+ - risks:
102
+ - retained_fallbacks:
103
+ - required_next_step:
104
+ - quality_outlook:
105
+ ```
106
+
107
+ When Context Graph impact is relevant, include the fields from `../../meta/agdf-runtime-contract.md`.
108
+
109
+ For code-changing closeouts that are commit-near, append:
110
+
111
+ ```text
112
+ Commit title:
113
+ Commit body:
114
+ Migration/Rollout note:
115
+ ```
116
+
117
+ ## Forbidden
118
+ This skill must not:
119
+
120
+ - decide QA in place of `agdf-qa-gate`
121
+ - call `CD+Tests` complete, QA-ready, or release-ready
122
+ - hide missing approvals
123
+ - provide later-gate content while an earlier gate blocks
124
+ - execute commit, push, or PR actions
@@ -0,0 +1,23 @@
1
+ ## NAME
2
+
3
+ `agdf-release-or` - release OR
4
+
5
+ ## SYNOPSIS
6
+
7
+ `/agdf-release-or` [`--help`|`-h`]
8
+
9
+ ## DESCRIPTION
10
+
11
+ Creates the mandatory Orchestration Report (OR) for a run. Summarizes gate status, delivered artefacts, TP coverage, Brownfield fit, solution integrity, open points, and the next permissible step.
12
+
13
+ ## EXAMPLES
14
+
15
+ Trigger the skill:
16
+
17
+ ```text
18
+ > /agdf-release-or
19
+ ```
20
+
21
+ ## SEE ALSO
22
+
23
+ See the full SKILL.md for detailed workflow, output format, and decision logic.
@@ -0,0 +1,115 @@
1
+ ---
2
+ name: agdf-task-plan-review
3
+ 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.
4
+ ---
5
+
6
+ # task-plan-review
7
+
8
+ ## Purpose
9
+ Verify whether implementation actually satisfies the approved Task Plan.
10
+
11
+ For each relevant task, this skill determines:
12
+
13
+ - whether the task is fully, partially, or not completed
14
+ - which acceptance criteria are done, partial, missing, or not verifiable
15
+ - which files, tests, runtime evidence, or UI evidence support the finding
16
+ - evidence strength
17
+ - which gaps must be handed to `agdf-qa-gate`
18
+
19
+ This skill provides TP coverage. It is not the final QA decision.
20
+
21
+ ## Runtime Contract
22
+ Use `../../meta/agdf-runtime-contract.md` for Quality Contract output, Context Graph fields, gate terms, and non-duplication rules.
23
+
24
+ TP-specific output must evaluate every relevant `task_id` with completion status, AC coverage, evidence, missing evidence, and QA-relevant gaps.
25
+ 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.
26
+
27
+ ## Rules
28
+ 1. The Task Plan is the reference, not plausible code.
29
+ 2. No assumptions without evidence.
30
+ 3. Evaluate each relevant `task_id` individually.
31
+ 4. `fully_done` requires strong evidence.
32
+ 5. A green build alone does not prove TP completion.
33
+ 6. UI/state/render/recovery tasks need visible evidence, not only code.
34
+ 7. Partial implementation must be marked `partially_done`.
35
+ 8. P0/P1 gaps must be handed to QA.
36
+ 9. Out-of-scope changes must be reported.
37
+ 10. When evidence is unclear, fail closed to at least `partially_done`.
38
+
39
+ ## Clarifications
40
+ ### TP Slice Before Target State
41
+ If the TP explicitly defines a preparatory, additive, or limited slice, evaluate that exact scope.
42
+ `fully_done` is allowed for a completed slice even if the larger target state remains open.
43
+
44
+ ### Missing Priorities
45
+ If no priorities are defined, do not invent them. Mark the gap and treat QA relevance conservatively.
46
+
47
+ ### Missing Acceptance Criteria
48
+ If ACs are unclear, derive only obvious expectations from title, goal, and scope. Mark AC basis as incomplete and lower evidence confidence as needed.
49
+
50
+ ## When To Use
51
+ - after `CD+Tests`
52
+ - before `QA`
53
+ - when TP completion is unclear
54
+ - when the user asks for TP fulfilment
55
+ - when UI/state/runtime invariants are affected
56
+ - when several agents or work steps touched the same TP
57
+
58
+ ## Inputs
59
+ Use what is available:
60
+
61
+ - Task Plan
62
+ - `task_id`, `story_id`, priorities
63
+ - acceptance criteria or success goals
64
+ - changed files
65
+ - tests and test results
66
+ - build results
67
+ - runtime/UI evidence
68
+ - known deviations and scope decisions
69
+
70
+ If TP or relevant tasks are missing, do not claim reliable TP coverage.
71
+
72
+ ## Output
73
+ Use this compact structure:
74
+
75
+ ```text
76
+ ## TP Coverage
77
+ | task_id | status | evidence | missing_evidence | QA impact |
78
+ |---|---|---|---|---|
79
+
80
+ ## Summary
81
+ - fully_done:
82
+ - partially_done:
83
+ - not_done:
84
+ - out_of_scope_changes:
85
+ - risks:
86
+ - required_next_step:
87
+ ```
88
+
89
+ Completion status:
90
+
91
+ - `fully_done`
92
+ - `partially_done`
93
+ - `not_done`
94
+
95
+ AC status:
96
+
97
+ - `done`
98
+ - `partial`
99
+ - `missing`
100
+ - `not_verifiable`
101
+
102
+ Evidence confidence:
103
+
104
+ - `high`
105
+ - `medium`
106
+ - `low`
107
+
108
+ ## Forbidden
109
+ This skill must not:
110
+
111
+ - decide final QA
112
+ - mark tasks fully done from code existence alone
113
+ - hide partial work
114
+ - upgrade missing evidence into confidence
115
+ - reinterpret the TP scope
@@ -0,0 +1,23 @@
1
+ ## NAME
2
+
3
+ `agdf-task-plan-review` - task plan review
4
+
5
+ ## SYNOPSIS
6
+
7
+ `/agdf-task-plan-review` [`--help`|`-h`]
8
+
9
+ ## DESCRIPTION
10
+
11
+ Checks after code changes and before QA whether the approved Task Plan tasks were fully, partially, or not completed. Provides reliable TP coverage as input for the QA gate decision.
12
+
13
+ ## EXAMPLES
14
+
15
+ Trigger the skill:
16
+
17
+ ```text
18
+ > /agdf-task-plan-review
19
+ ```
20
+
21
+ ## SEE ALSO
22
+
23
+ See the full SKILL.md for detailed workflow, output format, and decision logic.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "create-agdf",
3
- "version": "0.1.3",
4
- "description": "Bootstrap AGDF repository instructions, skills and control templates for GitHub Copilot; AGDF also ships as Claude Code and Codex plugins.",
3
+ "version": "0.1.5",
4
+ "description": "Bootstrap AGDF repository-local Codex plugin marketplaces, Copilot instructions, skills and control templates.",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "bin",