agjan 0.0.27 → 0.0.29
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/dist/cli.js +7 -5
- package/dist/commands/check.js +14 -2
- package/dist/commands/discover.js +7 -3
- package/dist/commands/fix.js +8 -4
- package/dist/commands/gates.js +76 -3
- package/dist/commands/log.js +3 -2
- package/dist/commands/map.js +10 -5
- package/dist/commands/models.js +4 -1
- package/dist/commands/new.js +8 -4
- package/dist/commands/review.js +2 -1
- package/dist/commands/status.js +59 -6
- package/dist/commands/team.js +2 -2
- package/dist/commands/workflow.js +40 -11
- package/dist/config.js +11 -0
- package/dist/customization.js +198 -0
- package/dist/plan.js +3 -1
- package/dist/progress-view.js +5 -2
- package/dist/progress.js +4 -2
- package/dist/qa.js +4 -2
- package/dist/review-policy.js +80 -9
- package/dist/review.js +19 -6
- package/dist/teams.js +27 -12
- package/dist/workflow-skill.js +65 -0
- package/dist/workflow-view.js +87 -21
- package/docs/guide.md +78 -0
- package/docs/workflows-and-teams.md +6 -2
- package/kit/skills/agjan-build/SKILL.md +9 -0
- package/kit/skills/agjan-design/SKILL.md +9 -0
- package/kit/skills/agjan-discover/SKILL.md +9 -0
- package/kit/skills/agjan-fix/SKILL.md +9 -0
- package/kit/skills/agjan-map/SKILL.md +9 -0
- package/kit/skills/agjan-spec/SKILL.md +9 -0
- package/kit/skills/agjan-verify/SKILL.md +10 -1
- package/package.json +1 -1
- package/schemas/approvals.schema.json +2 -1
- package/schemas/config.schema.json +63 -3
- package/schemas/reviews.schema.json +1 -1
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"required": ["description", "workflows", "personas"],
|
|
35
35
|
"properties": {
|
|
36
36
|
"description": { "type": "string" },
|
|
37
|
-
"workflows": { "type": "array", "items": { "
|
|
37
|
+
"workflows": { "type": "array", "items": { "type": "string", "pattern": "^[a-z][a-z0-9-]{1,31}$" }, "minItems": 1, "description": "Built-in workflows (feature, fix, map, discovery) or ones under \"workflows\"." },
|
|
38
38
|
"personas": {
|
|
39
39
|
"description": "A persona per role (implementer, reviewer, tester, analyst, or one under \"roles\"): inline, or the name of one under \"personas\".",
|
|
40
40
|
"type": "object",
|
|
@@ -68,11 +68,71 @@
|
|
|
68
68
|
"additionalProperties": { "$ref": "#/definitions/persona" }
|
|
69
69
|
},
|
|
70
70
|
"team": {
|
|
71
|
-
"description": "The default team per workflow.",
|
|
71
|
+
"description": "The default team per workflow (built-in or under \"workflows\").",
|
|
72
72
|
"type": "object",
|
|
73
|
-
"propertyNames": { "enum": ["feature", "fix", "map", "discovery"] },
|
|
74
73
|
"additionalProperties": { "type": "string" }
|
|
75
74
|
},
|
|
75
|
+
"workflows": {
|
|
76
|
+
"description": "Extra review steps and gates for the built-in workflows (feature, fix, map, discovery), and the project's own workflows, each based on a built-in one (decision 95).",
|
|
77
|
+
"type": "object",
|
|
78
|
+
"additionalProperties": {
|
|
79
|
+
"type": "object",
|
|
80
|
+
"properties": {
|
|
81
|
+
"base": { "enum": ["feature", "fix", "map", "discovery"], "description": "A workflow of the project's own: the built-in workflow it runs on." },
|
|
82
|
+
"description": { "type": "string" },
|
|
83
|
+
"reviews": {
|
|
84
|
+
"type": "array",
|
|
85
|
+
"items": {
|
|
86
|
+
"type": "object",
|
|
87
|
+
"required": ["id", "stage", "description"],
|
|
88
|
+
"properties": {
|
|
89
|
+
"id": { "type": "string", "pattern": "^[a-z][a-z0-9-]{1,31}$" },
|
|
90
|
+
"stage": { "enum": ["spec", "design", "build", "verify", "fix", "map", "proposal"] },
|
|
91
|
+
"description": { "type": "string", "minLength": 1 },
|
|
92
|
+
"role": { "type": "string", "description": "The role whose persona the reviewer works with: reviewer (default) or a role under \"roles\" with agent reviewer." },
|
|
93
|
+
"tier": { "enum": ["fast", "balanced", "deep"] },
|
|
94
|
+
"rounds": { "type": "integer", "minimum": 1 }
|
|
95
|
+
},
|
|
96
|
+
"additionalProperties": false
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
"gates": {
|
|
100
|
+
"type": "array",
|
|
101
|
+
"items": {
|
|
102
|
+
"type": "object",
|
|
103
|
+
"required": ["id", "stage", "description"],
|
|
104
|
+
"properties": {
|
|
105
|
+
"id": { "type": "string", "pattern": "^[a-z][a-z0-9-]{1,31}$" },
|
|
106
|
+
"stage": { "enum": ["spec", "design", "build", "verify", "fix", "map", "proposal"] },
|
|
107
|
+
"description": { "type": "string", "minLength": 1 }
|
|
108
|
+
},
|
|
109
|
+
"additionalProperties": false
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
"review": {
|
|
113
|
+
"description": "This workflow's own review settings over the project's \"review\": each one not set falls back to it, then to agjan's default. Keys of step_rounds and tiers are the base's review steps; qa and build only for a feature-based workflow (agjan check reports others).",
|
|
114
|
+
"type": "object",
|
|
115
|
+
"properties": {
|
|
116
|
+
"build": { "enum": ["area", "task"] },
|
|
117
|
+
"rounds": { "type": "integer", "minimum": 1 },
|
|
118
|
+
"step_rounds": {
|
|
119
|
+
"type": "object",
|
|
120
|
+
"propertyNames": { "enum": ["spec", "design:light", "design", "build", "qa", "verify", "fix", "map", "proposal"] },
|
|
121
|
+
"additionalProperties": { "type": "integer", "minimum": 1 }
|
|
122
|
+
},
|
|
123
|
+
"tiers": {
|
|
124
|
+
"type": "object",
|
|
125
|
+
"propertyNames": { "enum": ["spec", "design:light", "design", "build", "verify", "fix", "map", "proposal"] },
|
|
126
|
+
"additionalProperties": { "enum": ["fast", "balanced", "deep"] }
|
|
127
|
+
},
|
|
128
|
+
"qa": { "enum": ["on", "off"] }
|
|
129
|
+
},
|
|
130
|
+
"additionalProperties": false
|
|
131
|
+
}
|
|
132
|
+
},
|
|
133
|
+
"additionalProperties": false
|
|
134
|
+
}
|
|
135
|
+
},
|
|
76
136
|
"application": { "type": "array", "items": { "type": "string" } },
|
|
77
137
|
"fix": {
|
|
78
138
|
"type": "object",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"additionalProperties": false,
|
|
20
20
|
"properties": {
|
|
21
21
|
"id": { "type": "string", "pattern": "^[A-Z][A-Z0-9]{1,5}-R[1-9][0-9]*$" },
|
|
22
|
-
"step": { "type": "string", "pattern": "^(
|
|
22
|
+
"step": { "type": "string", "pattern": "^(design:light|build:.+|[a-z][a-z0-9-]{1,31})$", "description": "A built-in step, or an extra review step of the unit's workflow (decision 95)." },
|
|
23
23
|
"round": { "type": "integer", "minimum": 1 },
|
|
24
24
|
"at_utc": { "type": "string" },
|
|
25
25
|
"reviewer": {
|