@codedrifters/configulator 0.0.211 → 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/lib/index.mjs CHANGED
@@ -717,9 +717,10 @@ var baseBundle = {
717
717
  "|-------|----------|",
718
718
  "| `status:ready` | The issue is fully specified, has no open blockers, and is available for a worker to pick up. |",
719
719
  "| `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. |",
720
- "| `status:in-progress` | A worker has claimed the issue and a branch exists. Set when the worker starts; cleared only on completion or failure. |",
720
+ "| `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. |",
721
+ "| `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. |",
721
722
  "| `status:needs-attention` | Automated triage has flagged the issue for human review (stale, failed worker, or ambiguous state). Humans reset this label manually. |",
722
- "| `status:done` | The change has shipped. Usually set when the PR merges and the issue closes. |",
723
+ "| `status:done` | The change has shipped. Set when the PR merges and the issue closes. |",
723
724
  "",
724
725
  "### Blocking Rules",
725
726
  "",
@@ -741,9 +742,9 @@ var baseBundle = {
741
742
  " either blocking rule applies.",
742
743
  "- **Worker claims the issue** \u2192 remove `status:ready`, add",
743
744
  " `status:in-progress`. A branch must exist before this transition.",
744
- "- **Worker opens a PR** \u2192 leave `status:in-progress` in place until the",
745
- " PR merges. Do not pre-flip to `status:done`.",
746
- "- **PR merges / issue closes** \u2192 remove `status:in-progress`, add",
745
+ "- **Worker opens a PR** \u2192 remove `status:in-progress`, add",
746
+ " `status:ready-for-review`. The PR URL should be posted on the issue.",
747
+ "- **PR merges / issue closes** \u2192 remove `status:ready-for-review`, add",
747
748
  " `status:done`.",
748
749
  "- **Dependency resolves** \u2192 if the issue was `status:blocked` solely because",
749
750
  " of the dependency-blocking rule, remove `status:blocked` and add",
@@ -760,8 +761,9 @@ var baseBundle = {
760
761
  " by CI. Those are expected self-healing behaviors, not failures.",
761
762
  "",
762
763
  "An issue must always carry exactly one of `status:ready`, `status:blocked`,",
763
- "`status:in-progress`, or `status:done`. The `status:needs-attention` label",
764
- "is additive \u2014 it coexists with whichever of those four applies."
764
+ "`status:in-progress`, `status:ready-for-review`, or `status:done`. The",
765
+ "`status:needs-attention` label is additive \u2014 it coexists with whichever of",
766
+ "those five applies."
765
767
  ].join("\n"),
766
768
  tags: ["workflow"]
767
769
  },
@@ -2038,8 +2040,8 @@ var profileCompanySkill = {
2038
2040
  };
2039
2041
  var companyProfileBundle = {
2040
2042
  name: "company-profile",
2041
- description: "Company research and profiling pipeline: research, draft profile, followup. Opt-in only; domain-neutral; filesystem-durable between phases.",
2042
- appliesWhen: () => false,
2043
+ description: "Company research and profiling pipeline: research, draft profile, followup. Enabled by default; domain-neutral; filesystem-durable between phases.",
2044
+ appliesWhen: () => true,
2043
2045
  rules: [
2044
2046
  {
2045
2047
  name: "company-profile-workflow",
@@ -2704,8 +2706,8 @@ var discoverIndustriesSkill = {
2704
2706
  };
2705
2707
  var industryDiscoveryBundle = {
2706
2708
  name: "industry-discovery",
2707
- description: "Industry-vertical discovery pipeline: discover candidates, evaluate against a fit rubric, plan downstream research. Opt-in only; domain-neutral; filesystem-durable between phases.",
2708
- appliesWhen: () => false,
2709
+ description: "Industry-vertical discovery pipeline: discover candidates, evaluate against a fit rubric, plan downstream research. Enabled by default; domain-neutral; filesystem-durable between phases.",
2710
+ appliesWhen: () => true,
2709
2711
  rules: [
2710
2712
  {
2711
2713
  name: "industry-discovery-workflow",
@@ -3247,8 +3249,8 @@ var maintenanceAuditSkill = {
3247
3249
  };
3248
3250
  var maintenanceAuditBundle = {
3249
3251
  name: "maintenance-audit",
3250
- description: "Documentation-maintenance agent bundle. 2-phase pipeline (scan, fix) with maint:* phase labels for auditing registries and cross-references and applying idempotent fixes.",
3251
- appliesWhen: () => false,
3252
+ description: "Documentation-maintenance agent bundle. 2-phase pipeline (scan, fix) with maint:* phase labels for auditing registries and cross-references and applying idempotent fixes. Enabled by default.",
3253
+ appliesWhen: () => true,
3252
3254
  rules: [
3253
3255
  {
3254
3256
  name: "maintenance-audit-workflow",
@@ -4283,11 +4285,14 @@ var issueWorkerSubAgent = {
4283
4285
  "",
4284
4286
  "## Phase 8: Update Status",
4285
4287
  "",
4286
- "After the PR is created:",
4288
+ "After the PR is created, transition the issue to the review phase:",
4287
4289
  "```bash",
4288
- 'gh issue edit <number> --remove-label "status:in-progress" --add-label "status:done"',
4290
+ 'gh issue edit <number> --remove-label "status:in-progress" --add-label "status:ready-for-review"',
4289
4291
  "```",
4290
4292
  "",
4293
+ "Do **not** set `status:done` here \u2014 the `pr-reviewer` sub-agent is",
4294
+ "responsible for that transition once the PR successfully merges.",
4295
+ "",
4291
4296
  "## Phase 9: Branch Cleanup",
4292
4297
  "",
4293
4298
  "The PR will not auto-merge until the `pr-reviewer` enables it. Poll the PR",
@@ -4856,8 +4861,8 @@ var profilePersonSkill = {
4856
4861
  };
4857
4862
  var peopleProfileBundle = {
4858
4863
  name: "people-profile",
4859
- description: "People research and profiling pipeline: research, draft profile, followup. Opt-in only; domain-neutral; filesystem-durable between phases; cross-references existing companies, software, and meeting notes without creating new downstream issues.",
4860
- appliesWhen: () => false,
4864
+ description: "People research and profiling pipeline: research, draft profile, followup. Enabled by default; domain-neutral; filesystem-durable between phases; cross-references existing companies, software, and meeting notes without creating new downstream issues.",
4865
+ appliesWhen: () => true,
4861
4866
  rules: [
4862
4867
  {
4863
4868
  name: "people-profile-workflow",
@@ -5176,6 +5181,14 @@ var prReviewerSubAgent = {
5176
5181
  " git fetch --prune origin",
5177
5182
  " git branch -d <branch-name> 2>/dev/null || git branch -D <branch-name> 2>/dev/null || true",
5178
5183
  " ```",
5184
+ " Transition the linked issue to `status:done` (replaces whichever of",
5185
+ " `status:ready-for-review` or `status:in-progress` it was carrying):",
5186
+ " ```bash",
5187
+ " gh issue edit <issue-number> \\",
5188
+ ' --remove-label "status:ready-for-review" \\',
5189
+ ' --remove-label "status:in-progress" \\',
5190
+ ' --add-label "status:done"',
5191
+ " ```",
5179
5192
  " Then check the linked issue state:",
5180
5193
  " ```bash",
5181
5194
  " gh issue view <issue-number> --json state --jq '.state'",
@@ -6583,8 +6596,8 @@ var researchSkill = {
6583
6596
  };
6584
6597
  var researchPipelineBundle = {
6585
6598
  name: "research-pipeline",
6586
- description: "Generic research micro-task pipeline: scope, N-way slice search/synthesize, and verify. Opt-in only; domain-neutral; filesystem-durable between phases.",
6587
- appliesWhen: () => false,
6599
+ description: "Generic research micro-task pipeline: scope, N-way slice search/synthesize, and verify. Enabled by default; domain-neutral; filesystem-durable between phases.",
6600
+ appliesWhen: () => true,
6588
6601
  rules: [
6589
6602
  {
6590
6603
  name: "research-pipeline-workflow",
@@ -7229,8 +7242,8 @@ var profileSoftwareSkill = {
7229
7242
  };
7230
7243
  var softwareProfileBundle = {
7231
7244
  name: "software-profile",
7232
- description: "Software research, profiling, and feature-matrix pipeline: research, profile, matrix, followup. Opt-in only; domain-neutral; filesystem-durable between phases; ranks features against configurable segment-importance weights.",
7233
- appliesWhen: () => false,
7245
+ description: "Software research, profiling, and feature-matrix pipeline: research, profile, matrix, followup. Enabled by default; domain-neutral; filesystem-durable between phases; ranks features against configurable segment-importance weights.",
7246
+ appliesWhen: () => true,
7234
7247
  rules: [
7235
7248
  {
7236
7249
  name: "software-profile-workflow",
@@ -9823,6 +9836,11 @@ var DEFAULT_STATUS_LABELS = [
9823
9836
  color: "FBCA04",
9824
9837
  description: "Actively being worked on"
9825
9838
  },
9839
+ {
9840
+ name: "status:ready-for-review",
9841
+ color: "1D76DB",
9842
+ description: "PR opened and awaiting review"
9843
+ },
9826
9844
  {
9827
9845
  name: "status:blocked",
9828
9846
  color: "D93F0B",