@codedrifters/configulator 0.0.212 → 0.0.213
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/docs/label-taxonomy.md +4 -3
- package/lib/index.js +27 -9
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +27 -9
- package/lib/index.mjs.map +1 -1
- package/package.json +1 -1
package/docs/label-taxonomy.md
CHANGED
|
@@ -20,9 +20,10 @@ regardless of which specific agent bundles a project enables.
|
|
|
20
20
|
|
|
21
21
|
Families in this tier:
|
|
22
22
|
|
|
23
|
-
- **`status:*`** — workflow state (`ready`, `in-progress`,
|
|
24
|
-
`
|
|
25
|
-
|
|
23
|
+
- **`status:*`** — workflow state (`ready`, `in-progress`,
|
|
24
|
+
`ready-for-review`, `blocked`, `done`, `deferred`,
|
|
25
|
+
`needs-attention`). Required by every agent that transitions issues
|
|
26
|
+
through the workflow.
|
|
26
27
|
- **`priority:*`** — scheduling priority (`critical`, `high`, `medium`,
|
|
27
28
|
`low`, `trivial`). Required by the orchestrator to sequence work.
|
|
28
29
|
- **`type:*`** — conventional-commit work type (`feat`, `fix`, `docs`,
|
package/lib/index.js
CHANGED
|
@@ -792,9 +792,10 @@ var baseBundle = {
|
|
|
792
792
|
"|-------|----------|",
|
|
793
793
|
"| `status:ready` | The issue is fully specified, has no open blockers, and is available for a worker to pick up. |",
|
|
794
794
|
"| `status:blocked` | The issue cannot be started yet \u2014 either it declares `Depends on: #N` on an open issue, or it is an epic with one or more open children. |",
|
|
795
|
-
"| `status:in-progress` | A worker has claimed the issue and a branch exists. Set when the worker starts; cleared only
|
|
795
|
+
"| `status:in-progress` | A worker has claimed the issue and a branch exists. Set when the worker starts; cleared only when the worker opens a PR or the issue fails. |",
|
|
796
|
+
"| `status:ready-for-review` | A PR has been opened for this issue and is awaiting review and merge. Replaces `status:in-progress` at the moment the PR opens. |",
|
|
796
797
|
"| `status:needs-attention` | Automated triage has flagged the issue for human review (stale, failed worker, or ambiguous state). Humans reset this label manually. |",
|
|
797
|
-
"| `status:done` | The change has shipped.
|
|
798
|
+
"| `status:done` | The change has shipped. Set when the PR merges and the issue closes. |",
|
|
798
799
|
"",
|
|
799
800
|
"### Blocking Rules",
|
|
800
801
|
"",
|
|
@@ -816,9 +817,9 @@ var baseBundle = {
|
|
|
816
817
|
" either blocking rule applies.",
|
|
817
818
|
"- **Worker claims the issue** \u2192 remove `status:ready`, add",
|
|
818
819
|
" `status:in-progress`. A branch must exist before this transition.",
|
|
819
|
-
"- **Worker opens a PR** \u2192
|
|
820
|
-
" PR
|
|
821
|
-
"- **PR merges / issue closes** \u2192 remove `status:
|
|
820
|
+
"- **Worker opens a PR** \u2192 remove `status:in-progress`, add",
|
|
821
|
+
" `status:ready-for-review`. The PR URL should be posted on the issue.",
|
|
822
|
+
"- **PR merges / issue closes** \u2192 remove `status:ready-for-review`, add",
|
|
822
823
|
" `status:done`.",
|
|
823
824
|
"- **Dependency resolves** \u2192 if the issue was `status:blocked` solely because",
|
|
824
825
|
" of the dependency-blocking rule, remove `status:blocked` and add",
|
|
@@ -835,8 +836,9 @@ var baseBundle = {
|
|
|
835
836
|
" by CI. Those are expected self-healing behaviors, not failures.",
|
|
836
837
|
"",
|
|
837
838
|
"An issue must always carry exactly one of `status:ready`, `status:blocked`,",
|
|
838
|
-
"`status:in-progress`, or `status:done`. The
|
|
839
|
-
"is additive \u2014 it coexists with whichever of
|
|
839
|
+
"`status:in-progress`, `status:ready-for-review`, or `status:done`. The",
|
|
840
|
+
"`status:needs-attention` label is additive \u2014 it coexists with whichever of",
|
|
841
|
+
"those five applies."
|
|
840
842
|
].join("\n"),
|
|
841
843
|
tags: ["workflow"]
|
|
842
844
|
},
|
|
@@ -4358,11 +4360,14 @@ var issueWorkerSubAgent = {
|
|
|
4358
4360
|
"",
|
|
4359
4361
|
"## Phase 8: Update Status",
|
|
4360
4362
|
"",
|
|
4361
|
-
"After the PR is created:",
|
|
4363
|
+
"After the PR is created, transition the issue to the review phase:",
|
|
4362
4364
|
"```bash",
|
|
4363
|
-
'gh issue edit <number> --remove-label "status:in-progress" --add-label "status:
|
|
4365
|
+
'gh issue edit <number> --remove-label "status:in-progress" --add-label "status:ready-for-review"',
|
|
4364
4366
|
"```",
|
|
4365
4367
|
"",
|
|
4368
|
+
"Do **not** set `status:done` here \u2014 the `pr-reviewer` sub-agent is",
|
|
4369
|
+
"responsible for that transition once the PR successfully merges.",
|
|
4370
|
+
"",
|
|
4366
4371
|
"## Phase 9: Branch Cleanup",
|
|
4367
4372
|
"",
|
|
4368
4373
|
"The PR will not auto-merge until the `pr-reviewer` enables it. Poll the PR",
|
|
@@ -5251,6 +5256,14 @@ var prReviewerSubAgent = {
|
|
|
5251
5256
|
" git fetch --prune origin",
|
|
5252
5257
|
" git branch -d <branch-name> 2>/dev/null || git branch -D <branch-name> 2>/dev/null || true",
|
|
5253
5258
|
" ```",
|
|
5259
|
+
" Transition the linked issue to `status:done` (replaces whichever of",
|
|
5260
|
+
" `status:ready-for-review` or `status:in-progress` it was carrying):",
|
|
5261
|
+
" ```bash",
|
|
5262
|
+
" gh issue edit <issue-number> \\",
|
|
5263
|
+
' --remove-label "status:ready-for-review" \\',
|
|
5264
|
+
' --remove-label "status:in-progress" \\',
|
|
5265
|
+
' --add-label "status:done"',
|
|
5266
|
+
" ```",
|
|
5254
5267
|
" Then check the linked issue state:",
|
|
5255
5268
|
" ```bash",
|
|
5256
5269
|
" gh issue view <issue-number> --json state --jq '.state'",
|
|
@@ -9889,6 +9902,11 @@ var DEFAULT_STATUS_LABELS = [
|
|
|
9889
9902
|
color: "FBCA04",
|
|
9890
9903
|
description: "Actively being worked on"
|
|
9891
9904
|
},
|
|
9905
|
+
{
|
|
9906
|
+
name: "status:ready-for-review",
|
|
9907
|
+
color: "1D76DB",
|
|
9908
|
+
description: "PR opened and awaiting review"
|
|
9909
|
+
},
|
|
9892
9910
|
{
|
|
9893
9911
|
name: "status:blocked",
|
|
9894
9912
|
color: "D93F0B",
|