@codedrifters/configulator 0.0.414 → 0.0.415
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.js +212 -68
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +212 -68
- package/lib/index.mjs.map +1 -1
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -6211,6 +6211,58 @@ function buildBaseBundle(paths = DEFAULT_AGENT_PATHS, conventions = DEFAULT_BASE
|
|
|
6211
6211
|
}
|
|
6212
6212
|
var baseBundle = buildBaseBundle();
|
|
6213
6213
|
|
|
6214
|
+
// src/agent/bundles/issue-close.ts
|
|
6215
|
+
var ISSUE_CLOSE_SECTION_TITLE = "Issue closing";
|
|
6216
|
+
var ISSUE_CLOSE_RULE_REFERENCE = `per the **${ISSUE_CLOSE_SECTION_TITLE}** rule`;
|
|
6217
|
+
function renderIssueClosePolicySection() {
|
|
6218
|
+
return [
|
|
6219
|
+
`## ${ISSUE_CLOSE_SECTION_TITLE}`,
|
|
6220
|
+
"",
|
|
6221
|
+
"**Never close a phase issue that your PR is going to close for**",
|
|
6222
|
+
"**you.** Most projects put a closing keyword (`Closes #<n>`) in the",
|
|
6223
|
+
"PR body, so the issue closes when the PR merges \u2014 and that merge is",
|
|
6224
|
+
"what drives the documented `status:ready-for-review` \u2192",
|
|
6225
|
+
"`status:done` transition.",
|
|
6226
|
+
"",
|
|
6227
|
+
"Closing the issue yourself at the end of a phase pre-empts all of",
|
|
6228
|
+
"that:",
|
|
6229
|
+
"",
|
|
6230
|
+
"- the PR's `Closes #<n>` line becomes a no-op \u2014 nothing happens at",
|
|
6231
|
+
" merge time;",
|
|
6232
|
+
"- the issue closes while still carrying `status:in-progress` or",
|
|
6233
|
+
" `status:ready-for-review`, so its labels describe a state it has",
|
|
6234
|
+
" already left;",
|
|
6235
|
+
"- any caller that applies a status label afterwards is labelling a",
|
|
6236
|
+
" closed issue, and a caller that verifies workflow state has to",
|
|
6237
|
+
" reopen the issue to put it back in the pipeline.",
|
|
6238
|
+
"",
|
|
6239
|
+
"So whenever a phase step tells you to close its issue, resolve it",
|
|
6240
|
+
"against your project's PR workflow first:",
|
|
6241
|
+
"",
|
|
6242
|
+
"1. **The PR closes it.** Your PR body carries `Closes #<n>` for this",
|
|
6243
|
+
" issue \u2014 commit, push, open the PR, and leave the issue **open**.",
|
|
6244
|
+
" Post the phase outcome the step asks for as an ordinary comment",
|
|
6245
|
+
" on the issue, not as a closing comment, and let the merge perform",
|
|
6246
|
+
" the close.",
|
|
6247
|
+
"2. **The PR does not close it.** There is no closing keyword for",
|
|
6248
|
+
" this issue, or the phase lands no PR at all \u2014 close the issue",
|
|
6249
|
+
" yourself, with the outcome comment the step describes.",
|
|
6250
|
+
"",
|
|
6251
|
+
"### Always close directly",
|
|
6252
|
+
"",
|
|
6253
|
+
"Two cases never wait on a merge:",
|
|
6254
|
+
"",
|
|
6255
|
+
"- **Aborts.** A phase that stops without a deliverable \u2014 nothing",
|
|
6256
|
+
" relevant found, a duplicate, an ambiguity handed off with",
|
|
6257
|
+
" `status:needs-attention` \u2014 closes its issue directly. No PR will",
|
|
6258
|
+
" ever reference it.",
|
|
6259
|
+
"- **Someone else's issue.** Closing an issue other than the one you",
|
|
6260
|
+
" are working (a parent issue your phase resolves, a superseded",
|
|
6261
|
+
" sibling) is bookkeeping, not the workflow close. A closing keyword",
|
|
6262
|
+
" only ever covers the issues your PR body names."
|
|
6263
|
+
];
|
|
6264
|
+
}
|
|
6265
|
+
|
|
6214
6266
|
// src/agent/bundles/bcm-writer.ts
|
|
6215
6267
|
function buildBcmWriterSubAgent(paths, issueDefaults) {
|
|
6216
6268
|
return {
|
|
@@ -6406,7 +6458,8 @@ function buildBcmWriterSubAgent(paths, issueDefaults) {
|
|
|
6406
6458
|
" branch per your project's branch-naming convention.",
|
|
6407
6459
|
"3. Execute the phase handler that matches the issue's `bcm:*` label.",
|
|
6408
6460
|
"4. Commit, push, open a PR (if applicable), and close the issue per",
|
|
6409
|
-
|
|
6461
|
+
` your project's PR workflow \u2014 see the **${ISSUE_CLOSE_SECTION_TITLE}**`,
|
|
6462
|
+
" section below before you close anything yourself.",
|
|
6410
6463
|
" Stamp every PR you open with the `origin:agent` label \u2014 see the",
|
|
6411
6464
|
" **Origin label** section below.",
|
|
6412
6465
|
"",
|
|
@@ -6420,6 +6473,10 @@ function buildBcmWriterSubAgent(paths, issueDefaults) {
|
|
|
6420
6473
|
"",
|
|
6421
6474
|
"---",
|
|
6422
6475
|
"",
|
|
6476
|
+
...renderIssueClosePolicySection(),
|
|
6477
|
+
"",
|
|
6478
|
+
"---",
|
|
6479
|
+
"",
|
|
6423
6480
|
"## Phase 1: Outline (`bcm:outline`)",
|
|
6424
6481
|
"",
|
|
6425
6482
|
"**Goal:** Identify the capability (name-as-noun, business object, tier)",
|
|
@@ -6508,7 +6565,8 @@ function buildBcmWriterSubAgent(paths, issueDefaults) {
|
|
|
6508
6565
|
" `Depends on: #<outline-issue>`. Its body references the outline",
|
|
6509
6566
|
" file path.",
|
|
6510
6567
|
"",
|
|
6511
|
-
"10. **Commit and push** the outline file. Close the outline issue
|
|
6568
|
+
"10. **Commit and push** the outline file. Close the outline issue",
|
|
6569
|
+
` ${ISSUE_CLOSE_RULE_REFERENCE}.`,
|
|
6512
6570
|
"",
|
|
6513
6571
|
"---",
|
|
6514
6572
|
"",
|
|
@@ -6595,7 +6653,8 @@ function buildBcmWriterSubAgent(paths, issueDefaults) {
|
|
|
6595
6653
|
" `Depends on: #<scaffold-issue>`. Its body references the BCM",
|
|
6596
6654
|
" document path and the outline file path.",
|
|
6597
6655
|
"",
|
|
6598
|
-
"5. **Commit and push** the BCM document. Close the scaffold issue
|
|
6656
|
+
"5. **Commit and push** the BCM document. Close the scaffold issue",
|
|
6657
|
+
` ${ISSUE_CLOSE_RULE_REFERENCE}.`,
|
|
6599
6658
|
"",
|
|
6600
6659
|
"---",
|
|
6601
6660
|
"",
|
|
@@ -6684,7 +6743,7 @@ function buildBcmWriterSubAgent(paths, issueDefaults) {
|
|
|
6684
6743
|
" those into downstream issues.",
|
|
6685
6744
|
"",
|
|
6686
6745
|
"11. **Commit and push** the updated BCM document. Close the context",
|
|
6687
|
-
|
|
6746
|
+
` issue ${ISSUE_CLOSE_RULE_REFERENCE}.`,
|
|
6688
6747
|
"",
|
|
6689
6748
|
"---",
|
|
6690
6749
|
"",
|
|
@@ -6778,7 +6837,7 @@ function buildBcmWriterSubAgent(paths, issueDefaults) {
|
|
|
6778
6837
|
"",
|
|
6779
6838
|
"8. **Commit and push** the registry update, capability-map update,",
|
|
6780
6839
|
" cross-link edits, and BCM-document revision-history row. Close the",
|
|
6781
|
-
|
|
6840
|
+
` connect issue ${ISSUE_CLOSE_RULE_REFERENCE}.`,
|
|
6782
6841
|
"",
|
|
6783
6842
|
"---",
|
|
6784
6843
|
"",
|
|
@@ -7710,7 +7769,8 @@ function buildBusinessModelsAnalystSubAgent(paths) {
|
|
|
7710
7769
|
"3. Execute the phase handler that matches the issue's",
|
|
7711
7770
|
" `business-models:*` label.",
|
|
7712
7771
|
"4. Commit, push, open a PR (if applicable), and close the issue per",
|
|
7713
|
-
|
|
7772
|
+
` your project's PR workflow \u2014 see the **${ISSUE_CLOSE_SECTION_TITLE}**`,
|
|
7773
|
+
" section below before you close anything yourself.",
|
|
7714
7774
|
" Stamp every PR you open with the `origin:agent` label \u2014 see the",
|
|
7715
7775
|
" **Origin label** section below.",
|
|
7716
7776
|
"",
|
|
@@ -7724,6 +7784,10 @@ function buildBusinessModelsAnalystSubAgent(paths) {
|
|
|
7724
7784
|
"",
|
|
7725
7785
|
"---",
|
|
7726
7786
|
"",
|
|
7787
|
+
...renderIssueClosePolicySection(),
|
|
7788
|
+
"",
|
|
7789
|
+
"---",
|
|
7790
|
+
"",
|
|
7727
7791
|
"## Phase 1: Scan (`business-models:scan`)",
|
|
7728
7792
|
"",
|
|
7729
7793
|
"**Goal:** Read upstream industry and profile artifacts to identify",
|
|
@@ -7802,7 +7866,8 @@ function buildBusinessModelsAnalystSubAgent(paths) {
|
|
|
7802
7866
|
" references the scan report, the industry, the segment name, and",
|
|
7803
7867
|
" the authorized source list.",
|
|
7804
7868
|
"",
|
|
7805
|
-
"8. **Commit and push** the scan report. Close the scan issue
|
|
7869
|
+
"8. **Commit and push** the scan report. Close the scan issue",
|
|
7870
|
+
` ${ISSUE_CLOSE_RULE_REFERENCE}.`,
|
|
7806
7871
|
"",
|
|
7807
7872
|
"---",
|
|
7808
7873
|
"",
|
|
@@ -7874,7 +7939,8 @@ function buildBusinessModelsAnalystSubAgent(paths) {
|
|
|
7874
7939
|
" `Depends on: #<canvas-issue>`. Its body references the path to",
|
|
7875
7940
|
" the canvas document and names the industry and segment.",
|
|
7876
7941
|
"",
|
|
7877
|
-
"9. **Commit and push** the canvas document. Close the canvas issue
|
|
7942
|
+
"9. **Commit and push** the canvas document. Close the canvas issue",
|
|
7943
|
+
` ${ISSUE_CLOSE_RULE_REFERENCE}.`,
|
|
7878
7944
|
"",
|
|
7879
7945
|
"---",
|
|
7880
7946
|
"",
|
|
@@ -8005,7 +8071,7 @@ function buildBusinessModelsAnalystSubAgent(paths) {
|
|
|
8005
8071
|
" summary: value-stream count, variation coverage, and the list of",
|
|
8006
8072
|
" `bcm:outline` issues created.",
|
|
8007
8073
|
"",
|
|
8008
|
-
|
|
8074
|
+
`12. **Close the complete issue** ${ISSUE_CLOSE_RULE_REFERENCE}.`,
|
|
8009
8075
|
"",
|
|
8010
8076
|
"---",
|
|
8011
8077
|
"",
|
|
@@ -8619,7 +8685,8 @@ function buildCompanyProfileAnalystSubAgent(paths, issueDefaults, tier) {
|
|
|
8619
8685
|
"3. Execute the phase handler that matches the issue's `company:*`",
|
|
8620
8686
|
" label.",
|
|
8621
8687
|
"4. Commit, push, open a PR (if applicable), and close the issue per",
|
|
8622
|
-
|
|
8688
|
+
` your project's PR workflow \u2014 see the **${ISSUE_CLOSE_SECTION_TITLE}**`,
|
|
8689
|
+
" section below before you close anything yourself.",
|
|
8623
8690
|
" Stamp every PR you open with the `origin:agent` label \u2014 see the",
|
|
8624
8691
|
" **Origin label** section below.",
|
|
8625
8692
|
"",
|
|
@@ -8633,6 +8700,10 @@ function buildCompanyProfileAnalystSubAgent(paths, issueDefaults, tier) {
|
|
|
8633
8700
|
"",
|
|
8634
8701
|
"---",
|
|
8635
8702
|
"",
|
|
8703
|
+
...renderIssueClosePolicySection(),
|
|
8704
|
+
"",
|
|
8705
|
+
"---",
|
|
8706
|
+
"",
|
|
8636
8707
|
"## Phase 1: Research (`company:research`)",
|
|
8637
8708
|
"",
|
|
8638
8709
|
"**Goal:** Gather public sources into a bounded research-notes file.",
|
|
@@ -8698,7 +8769,8 @@ function buildCompanyProfileAnalystSubAgent(paths, issueDefaults, tier) {
|
|
|
8698
8769
|
" Its body references the notes file path and the requested company",
|
|
8699
8770
|
" type.",
|
|
8700
8771
|
"",
|
|
8701
|
-
"6. **Commit and push** the notes file. Close the research issue
|
|
8772
|
+
"6. **Commit and push** the notes file. Close the research issue",
|
|
8773
|
+
` ${ISSUE_CLOSE_RULE_REFERENCE}.`,
|
|
8702
8774
|
"",
|
|
8703
8775
|
"---",
|
|
8704
8776
|
"",
|
|
@@ -8808,7 +8880,8 @@ function buildCompanyProfileAnalystSubAgent(paths, issueDefaults, tier) {
|
|
|
8808
8880
|
" no business-model canvases at all (Phase 4 will detect and exit",
|
|
8809
8881
|
" gracefully in that case).",
|
|
8810
8882
|
"",
|
|
8811
|
-
"7. **Commit and push** the profile file. Close the draft issue
|
|
8883
|
+
"7. **Commit and push** the profile file. Close the draft issue",
|
|
8884
|
+
` ${ISSUE_CLOSE_RULE_REFERENCE}.`,
|
|
8812
8885
|
"",
|
|
8813
8886
|
"---",
|
|
8814
8887
|
"",
|
|
@@ -8904,7 +8977,7 @@ function buildCompanyProfileAnalystSubAgent(paths, issueDefaults, tier) {
|
|
|
8904
8977
|
" because a profile already exists).",
|
|
8905
8978
|
"",
|
|
8906
8979
|
"8. **Commit and push** (if the profile was updated). Close the",
|
|
8907
|
-
|
|
8980
|
+
` followup issue ${ISSUE_CLOSE_RULE_REFERENCE}.`,
|
|
8908
8981
|
"",
|
|
8909
8982
|
"---",
|
|
8910
8983
|
"",
|
|
@@ -8953,7 +9026,7 @@ function buildCompanyProfileAnalystSubAgent(paths, issueDefaults, tier) {
|
|
|
8953
9026
|
` the consuming project declares in \`${paths.docsRoot}/project-context.md\`).`,
|
|
8954
9027
|
" If the directory does not exist or contains no canvases, exit",
|
|
8955
9028
|
" gracefully: add a short note to the profile's `## Risks / Open",
|
|
8956
|
-
|
|
9029
|
+
` Questions\` section and close the issue ${ISSUE_CLOSE_RULE_REFERENCE}.`,
|
|
8957
9030
|
"",
|
|
8958
9031
|
"4. **For each candidate canvas, score the match.** For each canvas:",
|
|
8959
9032
|
" - Read the Customer Segments, Key Activities, Value Propositions,",
|
|
@@ -9024,8 +9097,9 @@ function buildCompanyProfileAnalystSubAgent(paths, issueDefaults, tier) {
|
|
|
9024
9097
|
" | YYYY-MM-DD | Matched to business models: <comma-separated segment list> |",
|
|
9025
9098
|
" ```",
|
|
9026
9099
|
"",
|
|
9027
|
-
"9. **Commit and push.**
|
|
9028
|
-
"
|
|
9100
|
+
"9. **Commit and push.** Report the matched segments on the match",
|
|
9101
|
+
" issue with a short comment, and close it",
|
|
9102
|
+
` ${ISSUE_CLOSE_RULE_REFERENCE}.`,
|
|
9029
9103
|
"",
|
|
9030
9104
|
"---",
|
|
9031
9105
|
"",
|
|
@@ -9117,8 +9191,9 @@ function buildCompanyProfileAnalystSubAgent(paths, issueDefaults, tier) {
|
|
|
9117
9191
|
" update the corresponding entry under `referencedIn` and the",
|
|
9118
9192
|
" research-area doc that links to this profile.",
|
|
9119
9193
|
"",
|
|
9120
|
-
"9. **Commit and push.**
|
|
9121
|
-
"
|
|
9194
|
+
"9. **Commit and push.** Report the delta on the refresh issue with",
|
|
9195
|
+
" a short comment (or `no material change`), and close it",
|
|
9196
|
+
` ${ISSUE_CLOSE_RULE_REFERENCE}.`,
|
|
9122
9197
|
"",
|
|
9123
9198
|
"---",
|
|
9124
9199
|
"",
|
|
@@ -9232,8 +9307,9 @@ function buildCompanyProfileAnalystSubAgent(paths, issueDefaults, tier) {
|
|
|
9232
9307
|
" from a profile to the analysis document should be added by a",
|
|
9233
9308
|
" follow-up `company:match` pass, not by this phase.",
|
|
9234
9309
|
"",
|
|
9235
|
-
"7. **Commit and push.**
|
|
9236
|
-
"
|
|
9310
|
+
"7. **Commit and push.** Name the analysis document path on the",
|
|
9311
|
+
" analyze issue with a short comment, and close it",
|
|
9312
|
+
` ${ISSUE_CLOSE_RULE_REFERENCE}.`,
|
|
9237
9313
|
"",
|
|
9238
9314
|
"---",
|
|
9239
9315
|
"",
|
|
@@ -10070,7 +10146,8 @@ function buildCustomerProfileAnalystSubAgent(paths, issueDefaults, tier) {
|
|
|
10070
10146
|
"3. Execute the phase handler that matches the issue's `customer:*`",
|
|
10071
10147
|
" label.",
|
|
10072
10148
|
"4. Commit, push, open a PR (if applicable), and close the issue per",
|
|
10073
|
-
|
|
10149
|
+
` your project's PR workflow \u2014 see the **${ISSUE_CLOSE_SECTION_TITLE}**`,
|
|
10150
|
+
" section below before you close anything yourself.",
|
|
10074
10151
|
" Stamp every PR you open with the `origin:agent` label \u2014 see the",
|
|
10075
10152
|
" **Origin label** section below.",
|
|
10076
10153
|
"",
|
|
@@ -10084,6 +10161,10 @@ function buildCustomerProfileAnalystSubAgent(paths, issueDefaults, tier) {
|
|
|
10084
10161
|
"",
|
|
10085
10162
|
"---",
|
|
10086
10163
|
"",
|
|
10164
|
+
...renderIssueClosePolicySection(),
|
|
10165
|
+
"",
|
|
10166
|
+
"---",
|
|
10167
|
+
"",
|
|
10087
10168
|
"## Phase 1: Discover (`customer:discover`)",
|
|
10088
10169
|
"",
|
|
10089
10170
|
"**Goal:** Identify and segment the customer archetypes relevant to",
|
|
@@ -10169,7 +10250,7 @@ function buildCustomerProfileAnalystSubAgent(paths, issueDefaults, tier) {
|
|
|
10169
10250
|
" priority archetype.",
|
|
10170
10251
|
"",
|
|
10171
10252
|
"7. **Commit and push** the discovery report. Close the discover",
|
|
10172
|
-
|
|
10253
|
+
` issue ${ISSUE_CLOSE_RULE_REFERENCE}.`,
|
|
10173
10254
|
"",
|
|
10174
10255
|
"---",
|
|
10175
10256
|
"",
|
|
@@ -10248,7 +10329,8 @@ function buildCustomerProfileAnalystSubAgent(paths, issueDefaults, tier) {
|
|
|
10248
10329
|
"",
|
|
10249
10330
|
"10. **Verify all handoffs were created** before committing.",
|
|
10250
10331
|
"",
|
|
10251
|
-
"11. **Commit and push** the archetype page. Close the profile issue
|
|
10332
|
+
"11. **Commit and push** the archetype page. Close the profile issue",
|
|
10333
|
+
` ${ISSUE_CLOSE_RULE_REFERENCE}.`,
|
|
10252
10334
|
"",
|
|
10253
10335
|
"---",
|
|
10254
10336
|
"",
|
|
@@ -10381,7 +10463,7 @@ function buildCustomerProfileAnalystSubAgent(paths, issueDefaults, tier) {
|
|
|
10381
10463
|
...renderIssueTypeAssignmentStep(),
|
|
10382
10464
|
"",
|
|
10383
10465
|
"10. **Commit and push** the competitor-analysis page and the",
|
|
10384
|
-
|
|
10466
|
+
` updated archetype page. Close the competitors issue ${ISSUE_CLOSE_RULE_REFERENCE}.`,
|
|
10385
10467
|
"",
|
|
10386
10468
|
"---",
|
|
10387
10469
|
"",
|
|
@@ -13028,7 +13110,8 @@ function buildIndustryDiscoveryAnalystSubAgent(paths, issueDefaults) {
|
|
|
13028
13110
|
"3. Execute the phase handler that matches the issue's `industry:*`",
|
|
13029
13111
|
" label.",
|
|
13030
13112
|
"4. Commit, push, open a PR (if applicable), and close the issue per",
|
|
13031
|
-
|
|
13113
|
+
` your project's PR workflow \u2014 see the **${ISSUE_CLOSE_SECTION_TITLE}**`,
|
|
13114
|
+
" section below before you close anything yourself.",
|
|
13032
13115
|
" Stamp every PR you open with the `origin:agent` label \u2014 see the",
|
|
13033
13116
|
" **Origin label** section below.",
|
|
13034
13117
|
"",
|
|
@@ -13042,6 +13125,10 @@ function buildIndustryDiscoveryAnalystSubAgent(paths, issueDefaults) {
|
|
|
13042
13125
|
"",
|
|
13043
13126
|
"---",
|
|
13044
13127
|
"",
|
|
13128
|
+
...renderIssueClosePolicySection(),
|
|
13129
|
+
"",
|
|
13130
|
+
"---",
|
|
13131
|
+
"",
|
|
13045
13132
|
"## Phase 1: Discover (`industry:discover`)",
|
|
13046
13133
|
"",
|
|
13047
13134
|
"**Goal:** Enumerate candidate industry verticals into a bounded",
|
|
@@ -13106,7 +13193,8 @@ function buildIndustryDiscoveryAnalystSubAgent(paths, issueDefaults) {
|
|
|
13106
13193
|
" file path and the fit rubric source (invoking issue, project",
|
|
13107
13194
|
" context, or scaffold).",
|
|
13108
13195
|
"",
|
|
13109
|
-
"6. **Commit and push** the candidate file. Close the discover issue
|
|
13196
|
+
"6. **Commit and push** the candidate file. Close the discover issue",
|
|
13197
|
+
` ${ISSUE_CLOSE_RULE_REFERENCE}.`,
|
|
13110
13198
|
"",
|
|
13111
13199
|
"---",
|
|
13112
13200
|
"",
|
|
@@ -13167,7 +13255,8 @@ function buildIndustryDiscoveryAnalystSubAgent(paths, issueDefaults) {
|
|
|
13167
13255
|
" `Depends on: #<evaluate-issue>`. Its body references the evaluation",
|
|
13168
13256
|
" file path and lists the verticals that clear the threshold (if any).",
|
|
13169
13257
|
"",
|
|
13170
|
-
"6. **Commit and push** the evaluation file. Close the evaluate issue
|
|
13258
|
+
"6. **Commit and push** the evaluation file. Close the evaluate issue",
|
|
13259
|
+
` ${ISSUE_CLOSE_RULE_REFERENCE}.`,
|
|
13171
13260
|
"",
|
|
13172
13261
|
"---",
|
|
13173
13262
|
"",
|
|
@@ -13230,7 +13319,8 @@ function buildIndustryDiscoveryAnalystSubAgent(paths, issueDefaults) {
|
|
|
13230
13319
|
" table so each row references its newly-created `research:scope`",
|
|
13231
13320
|
" issue number.",
|
|
13232
13321
|
"",
|
|
13233
|
-
"6. **Commit and push** the plan file. Close the plan issue
|
|
13322
|
+
"6. **Commit and push** the plan file. Close the plan issue",
|
|
13323
|
+
` ${ISSUE_CLOSE_RULE_REFERENCE}.`,
|
|
13234
13324
|
"",
|
|
13235
13325
|
"---",
|
|
13236
13326
|
"",
|
|
@@ -13593,7 +13683,8 @@ function buildMaintenanceAuditSubAgent(paths, tier) {
|
|
|
13593
13683
|
"3. Execute the phase handler that matches the issue's `maint:*`",
|
|
13594
13684
|
" label.",
|
|
13595
13685
|
"4. Commit, push, open a PR (if applicable), and close the issue per",
|
|
13596
|
-
|
|
13686
|
+
` your project's PR workflow \u2014 see the **${ISSUE_CLOSE_SECTION_TITLE}**`,
|
|
13687
|
+
" section below before you close anything yourself.",
|
|
13597
13688
|
" Stamp every PR you open with the `origin:agent` label \u2014 see the",
|
|
13598
13689
|
" **Origin label** section below.",
|
|
13599
13690
|
"",
|
|
@@ -13609,6 +13700,10 @@ function buildMaintenanceAuditSubAgent(paths, tier) {
|
|
|
13609
13700
|
"",
|
|
13610
13701
|
"---",
|
|
13611
13702
|
"",
|
|
13703
|
+
...renderIssueClosePolicySection(),
|
|
13704
|
+
"",
|
|
13705
|
+
"---",
|
|
13706
|
+
"",
|
|
13612
13707
|
"## Phase 1: Scan (`maint:scan`)",
|
|
13613
13708
|
"",
|
|
13614
13709
|
"**Goal:** Walk the configured doc tree, check every cross-reference",
|
|
@@ -13705,11 +13800,13 @@ function buildMaintenanceAuditSubAgent(paths, tier) {
|
|
|
13705
13800
|
"5. **Decide the next step:**",
|
|
13706
13801
|
" - **No findings** \u2192 comment on the scan issue noting a clean",
|
|
13707
13802
|
" audit, commit the (still valuable) empty report, close the",
|
|
13708
|
-
|
|
13803
|
+
` issue ${ISSUE_CLOSE_RULE_REFERENCE}. Do not create a`,
|
|
13804
|
+
" `maint:fix` issue.",
|
|
13709
13805
|
" - **All findings need human judgment** \u2192 commit the report,",
|
|
13710
13806
|
" comment on the scan issue summarizing the findings, apply",
|
|
13711
|
-
" `status:needs-attention`, and close the issue
|
|
13712
|
-
|
|
13807
|
+
" `status:needs-attention`, and close the issue",
|
|
13808
|
+
` ${ISSUE_CLOSE_RULE_REFERENCE}. Do not create a \`maint:fix\` or`,
|
|
13809
|
+
" `maint:verify` issue.",
|
|
13713
13810
|
" - **At least one auto-fixable finding** \u2192 create a `maint:fix`",
|
|
13714
13811
|
" issue (blocked on this scan issue via `Depends on: #N`). The",
|
|
13715
13812
|
" fix issue body must reference the audit report path, enumerate",
|
|
@@ -13824,9 +13921,9 @@ function buildMaintenanceAuditSubAgent(paths, tier) {
|
|
|
13824
13921
|
"",
|
|
13825
13922
|
" If the fix phase applied **zero** auto-fixes (every finding was",
|
|
13826
13923
|
" `stale-finding` or `flag-for-human`), skip the verify issue \u2014",
|
|
13827
|
-
" there is nothing to verify.
|
|
13828
|
-
|
|
13829
|
-
" re-scan.",
|
|
13924
|
+
" there is nothing to verify. Summarize on the fix issue and close",
|
|
13925
|
+
` it ${ISSUE_CLOSE_RULE_REFERENCE}, comment on the scan issue, and`,
|
|
13926
|
+
" let a human decide whether to re-scan.",
|
|
13830
13927
|
"",
|
|
13831
13928
|
"9. **Commit and push.**",
|
|
13832
13929
|
"",
|
|
@@ -13932,8 +14029,8 @@ function buildMaintenanceAuditSubAgent(paths, tier) {
|
|
|
13932
14029
|
" re-scope the cycle. Do not auto-close the parent scan issue",
|
|
13933
14030
|
" in this case.",
|
|
13934
14031
|
"",
|
|
13935
|
-
"6. **Commit and push.**
|
|
13936
|
-
|
|
14032
|
+
"6. **Commit and push.** Comment the verdict on the verify issue in",
|
|
14033
|
+
` one line, and close it ${ISSUE_CLOSE_RULE_REFERENCE}.`,
|
|
13937
14034
|
"",
|
|
13938
14035
|
"---",
|
|
13939
14036
|
"",
|
|
@@ -14211,7 +14308,9 @@ function buildMeetingAnalystSubAgent(tier) {
|
|
|
14211
14308
|
"",
|
|
14212
14309
|
"1. Each meeting produces up to 4 GitHub issues (one per phase)",
|
|
14213
14310
|
"2. Each issue carries a `meeting:*` label identifying the phase",
|
|
14214
|
-
"3. You pick up one issue, execute that phase, commit/push, then close
|
|
14311
|
+
"3. You pick up one issue, execute that phase, commit/push, then close",
|
|
14312
|
+
` the issue \u2014 see the **${ISSUE_CLOSE_SECTION_TITLE}** section below`,
|
|
14313
|
+
" before you close anything yourself",
|
|
14215
14314
|
"4. Phase 1 (Extract) creates the downstream phase issues for phases 2-4",
|
|
14216
14315
|
"5. Each downstream issue includes `Depends on: #N` linking to its predecessor",
|
|
14217
14316
|
"",
|
|
@@ -14505,6 +14604,10 @@ function buildMeetingAnalystSubAgent(tier) {
|
|
|
14505
14604
|
"",
|
|
14506
14605
|
"---",
|
|
14507
14606
|
"",
|
|
14607
|
+
...renderIssueClosePolicySection(),
|
|
14608
|
+
"",
|
|
14609
|
+
"---",
|
|
14610
|
+
"",
|
|
14508
14611
|
"## Phase 1: Extract (`meeting:extract`)",
|
|
14509
14612
|
"",
|
|
14510
14613
|
"**Goal:** Read the available meeting inputs (notes, transcript, or both)",
|
|
@@ -14646,7 +14749,8 @@ function buildMeetingAnalystSubAgent(tier) {
|
|
|
14646
14749
|
" commit-path verification step (`git show HEAD:<index-path>`",
|
|
14647
14750
|
" + grep count) against that commit before pushing.",
|
|
14648
14751
|
"",
|
|
14649
|
-
"9. **Push and close.** Push the branch
|
|
14752
|
+
"9. **Push and close.** Push the branch, then close the extract issue",
|
|
14753
|
+
` ${ISSUE_CLOSE_RULE_REFERENCE}.`,
|
|
14650
14754
|
"",
|
|
14651
14755
|
"---",
|
|
14652
14756
|
"",
|
|
@@ -14744,7 +14848,7 @@ function buildMeetingAnalystSubAgent(tier) {
|
|
|
14744
14848
|
" commit** whose only file is the shared index. Run the",
|
|
14745
14849
|
" commit-path verification step against that commit before",
|
|
14746
14850
|
" pushing.",
|
|
14747
|
-
|
|
14851
|
+
`7. Push, then close the notes issue ${ISSUE_CLOSE_RULE_REFERENCE}.`,
|
|
14748
14852
|
"",
|
|
14749
14853
|
"---",
|
|
14750
14854
|
"",
|
|
@@ -14776,7 +14880,8 @@ function buildMeetingAnalystSubAgent(tier) {
|
|
|
14776
14880
|
" - Stated preferences or decisions",
|
|
14777
14881
|
" - Status: Proposed or Decided",
|
|
14778
14882
|
"5. Summarize product/strategy document updates needed.",
|
|
14779
|
-
"6. Commit, push, and close the draft issue
|
|
14883
|
+
"6. Commit, push, and close the draft issue",
|
|
14884
|
+
` ${ISSUE_CLOSE_RULE_REFERENCE}.`,
|
|
14780
14885
|
"",
|
|
14781
14886
|
"---",
|
|
14782
14887
|
"",
|
|
@@ -14888,7 +14993,8 @@ function buildMeetingAnalystSubAgent(tier) {
|
|
|
14888
14993
|
" meeting.",
|
|
14889
14994
|
"9. Comment on the parent extract issue with a summary linking to all",
|
|
14890
14995
|
" created artifacts.",
|
|
14891
|
-
"10. Commit and push (if any file changes were made), then close the
|
|
14996
|
+
"10. Commit and push (if any file changes were made), then close the",
|
|
14997
|
+
` link issue ${ISSUE_CLOSE_RULE_REFERENCE}.`,
|
|
14892
14998
|
"",
|
|
14893
14999
|
"---",
|
|
14894
15000
|
"",
|
|
@@ -20538,7 +20644,8 @@ function buildPeopleProfileAnalystSubAgent(paths, issueDefaults, tier) {
|
|
|
20538
20644
|
"3. Execute the phase handler that matches the issue's `people:*`",
|
|
20539
20645
|
" label.",
|
|
20540
20646
|
"4. Commit, push, open a PR (if applicable), and close the issue per",
|
|
20541
|
-
|
|
20647
|
+
` your project's PR workflow \u2014 see the **${ISSUE_CLOSE_SECTION_TITLE}**`,
|
|
20648
|
+
" section below before you close anything yourself.",
|
|
20542
20649
|
" Stamp every PR you open with the `origin:agent` label \u2014 see the",
|
|
20543
20650
|
" **Origin label** section below.",
|
|
20544
20651
|
"",
|
|
@@ -20552,6 +20659,10 @@ function buildPeopleProfileAnalystSubAgent(paths, issueDefaults, tier) {
|
|
|
20552
20659
|
"",
|
|
20553
20660
|
"---",
|
|
20554
20661
|
"",
|
|
20662
|
+
...renderIssueClosePolicySection(),
|
|
20663
|
+
"",
|
|
20664
|
+
"---",
|
|
20665
|
+
"",
|
|
20555
20666
|
"## Phase 1: Research (`people:research`)",
|
|
20556
20667
|
"",
|
|
20557
20668
|
"**Goal:** Gather public sources into a bounded research-notes file.",
|
|
@@ -20622,7 +20733,8 @@ function buildPeopleProfileAnalystSubAgent(paths, issueDefaults, tier) {
|
|
|
20622
20733
|
" Its body references the notes file path, the requested role, and",
|
|
20623
20734
|
" any refresh-mode flags.",
|
|
20624
20735
|
"",
|
|
20625
|
-
"7. **Commit and push** the notes file. Close the research issue
|
|
20736
|
+
"7. **Commit and push** the notes file. Close the research issue",
|
|
20737
|
+
` ${ISSUE_CLOSE_RULE_REFERENCE}.`,
|
|
20626
20738
|
"",
|
|
20627
20739
|
"---",
|
|
20628
20740
|
"",
|
|
@@ -20724,7 +20836,8 @@ function buildPeopleProfileAnalystSubAgent(paths, issueDefaults, tier) {
|
|
|
20724
20836
|
" followup when the profile surfaced no cross-reference candidates",
|
|
20725
20837
|
" at all; note this in the draft issue's closing comment.",
|
|
20726
20838
|
"",
|
|
20727
|
-
"5. **Commit and push** the profile file. Close the draft issue
|
|
20839
|
+
"5. **Commit and push** the profile file. Close the draft issue",
|
|
20840
|
+
` ${ISSUE_CLOSE_RULE_REFERENCE}.`,
|
|
20728
20841
|
"",
|
|
20729
20842
|
"---",
|
|
20730
20843
|
"",
|
|
@@ -20856,7 +20969,7 @@ function buildPeopleProfileAnalystSubAgent(paths, issueDefaults, tier) {
|
|
|
20856
20969
|
" enqueued for research).",
|
|
20857
20970
|
"",
|
|
20858
20971
|
"11. **Commit and push** the updated profile. Close the followup",
|
|
20859
|
-
|
|
20972
|
+
` issue ${ISSUE_CLOSE_RULE_REFERENCE}.`,
|
|
20860
20973
|
"",
|
|
20861
20974
|
"---",
|
|
20862
20975
|
"",
|
|
@@ -20940,8 +21053,9 @@ function buildPeopleProfileAnalystSubAgent(paths, issueDefaults, tier) {
|
|
|
20940
21053
|
" even if a search surfaces them. Privacy guardrails from Phase 1",
|
|
20941
21054
|
" apply to every refresh.",
|
|
20942
21055
|
"",
|
|
20943
|
-
"8. **Commit and push.**
|
|
20944
|
-
"
|
|
21056
|
+
"8. **Commit and push.** Report the delta on the refresh issue with",
|
|
21057
|
+
" a short comment (or `no material change`), and close it",
|
|
21058
|
+
` ${ISSUE_CLOSE_RULE_REFERENCE}.`,
|
|
20945
21059
|
"",
|
|
20946
21060
|
"---",
|
|
20947
21061
|
"",
|
|
@@ -25384,7 +25498,8 @@ function buildRegulatoryResearchAnalystSubAgent(paths, issueDefaults) {
|
|
|
25384
25498
|
"3. Execute the phase handler that matches the issue's `regulatory:*`",
|
|
25385
25499
|
" label.",
|
|
25386
25500
|
"4. Commit, push, open a PR (if applicable), and close the issue per",
|
|
25387
|
-
|
|
25501
|
+
` your project's PR workflow \u2014 see the **${ISSUE_CLOSE_SECTION_TITLE}**`,
|
|
25502
|
+
" section below before you close anything yourself.",
|
|
25388
25503
|
" Stamp every PR you open with the `origin:agent` label \u2014 see the",
|
|
25389
25504
|
" **Origin label** section below.",
|
|
25390
25505
|
"",
|
|
@@ -25398,6 +25513,10 @@ function buildRegulatoryResearchAnalystSubAgent(paths, issueDefaults) {
|
|
|
25398
25513
|
"",
|
|
25399
25514
|
"---",
|
|
25400
25515
|
"",
|
|
25516
|
+
...renderIssueClosePolicySection(),
|
|
25517
|
+
"",
|
|
25518
|
+
"---",
|
|
25519
|
+
"",
|
|
25401
25520
|
"## Phase 1: Scan (`regulatory:scan`)",
|
|
25402
25521
|
"",
|
|
25403
25522
|
"**Goal:** Enumerate regulations applicable to a given scope \u2014",
|
|
@@ -25515,7 +25634,7 @@ function buildRegulatoryResearchAnalystSubAgent(paths, issueDefaults) {
|
|
|
25515
25634
|
" page H1.",
|
|
25516
25635
|
"",
|
|
25517
25636
|
"8. **Commit and push** the scan report and the scope index page.",
|
|
25518
|
-
|
|
25637
|
+
` Close the scan issue ${ISSUE_CLOSE_RULE_REFERENCE}.`,
|
|
25519
25638
|
"",
|
|
25520
25639
|
"---",
|
|
25521
25640
|
"",
|
|
@@ -25589,7 +25708,7 @@ function buildRegulatoryResearchAnalystSubAgent(paths, issueDefaults) {
|
|
|
25589
25708
|
"9. **Verify all handoffs were created** before committing.",
|
|
25590
25709
|
"",
|
|
25591
25710
|
"10. **Commit and push** the regulation page. Close the research",
|
|
25592
|
-
|
|
25711
|
+
` issue ${ISSUE_CLOSE_RULE_REFERENCE}.`,
|
|
25593
25712
|
"",
|
|
25594
25713
|
"---",
|
|
25595
25714
|
"",
|
|
@@ -25733,7 +25852,7 @@ function buildRegulatoryResearchAnalystSubAgent(paths, issueDefaults) {
|
|
|
25733
25852
|
...renderIssueTypeAssignmentStep(),
|
|
25734
25853
|
"",
|
|
25735
25854
|
"7. **Commit and push** the updated regulation page. Close the",
|
|
25736
|
-
|
|
25855
|
+
` impact issue ${ISSUE_CLOSE_RULE_REFERENCE}.`,
|
|
25737
25856
|
"",
|
|
25738
25857
|
"---",
|
|
25739
25858
|
"",
|
|
@@ -31237,7 +31356,8 @@ function buildResearchAnalystSubAgent(paths) {
|
|
|
31237
31356
|
"3. Execute the phase handler that matches the issue's `research:*`",
|
|
31238
31357
|
" label.",
|
|
31239
31358
|
"4. Commit, push, open a PR (if applicable), and close the issue per",
|
|
31240
|
-
|
|
31359
|
+
` your project's PR workflow \u2014 see the **${ISSUE_CLOSE_SECTION_TITLE}**`,
|
|
31360
|
+
" section below before you close anything yourself.",
|
|
31241
31361
|
" Stamp every PR you open with the `origin:agent` label \u2014 see the",
|
|
31242
31362
|
" **Origin label** section below.",
|
|
31243
31363
|
"",
|
|
@@ -31251,6 +31371,10 @@ function buildResearchAnalystSubAgent(paths) {
|
|
|
31251
31371
|
"",
|
|
31252
31372
|
"---",
|
|
31253
31373
|
"",
|
|
31374
|
+
...renderIssueClosePolicySection(),
|
|
31375
|
+
"",
|
|
31376
|
+
"---",
|
|
31377
|
+
"",
|
|
31254
31378
|
"## Phase 1: Scope (`research:scope`)",
|
|
31255
31379
|
"",
|
|
31256
31380
|
"**Goal:** Turn a natural-language research question into a bounded",
|
|
@@ -31326,7 +31450,8 @@ function buildResearchAnalystSubAgent(paths) {
|
|
|
31326
31450
|
" issues. Its body references the scope file and lists every slice",
|
|
31327
31451
|
" output path that verify must read.",
|
|
31328
31452
|
"",
|
|
31329
|
-
"7. **Commit and push** the scope file. Close the scope issue
|
|
31453
|
+
"7. **Commit and push** the scope file. Close the scope issue",
|
|
31454
|
+
` ${ISSUE_CLOSE_RULE_REFERENCE}.`,
|
|
31330
31455
|
"",
|
|
31331
31456
|
"---",
|
|
31332
31457
|
"",
|
|
@@ -31383,7 +31508,8 @@ function buildResearchAnalystSubAgent(paths) {
|
|
|
31383
31508
|
" cut and flag it for the verify phase \u2014 do not expand into other",
|
|
31384
31509
|
" slices' territory.",
|
|
31385
31510
|
"",
|
|
31386
|
-
"6. **Commit and push** the slice note. Close the slice issue
|
|
31511
|
+
"6. **Commit and push** the slice note. Close the slice issue",
|
|
31512
|
+
` ${ISSUE_CLOSE_RULE_REFERENCE}.`,
|
|
31387
31513
|
"",
|
|
31388
31514
|
"---",
|
|
31389
31515
|
"",
|
|
@@ -31448,7 +31574,8 @@ function buildResearchAnalystSubAgent(paths) {
|
|
|
31448
31574
|
"6. **Comment on the scope issue** with a summary linking to the",
|
|
31449
31575
|
" deliverable and verification report.",
|
|
31450
31576
|
"",
|
|
31451
|
-
"7. **Commit and push.** Close the verify issue
|
|
31577
|
+
"7. **Commit and push.** Close the verify issue",
|
|
31578
|
+
` ${ISSUE_CLOSE_RULE_REFERENCE}.`,
|
|
31452
31579
|
"",
|
|
31453
31580
|
"---",
|
|
31454
31581
|
"",
|
|
@@ -31988,7 +32115,8 @@ function buildSoftwareProfileAnalystSubAgent(paths, issueDefaults, tier) {
|
|
|
31988
32115
|
"3. Execute the phase handler that matches the issue's `software:*`",
|
|
31989
32116
|
" label.",
|
|
31990
32117
|
"4. Commit, push, open a PR (if applicable), and close the issue per",
|
|
31991
|
-
|
|
32118
|
+
` your project's PR workflow \u2014 see the **${ISSUE_CLOSE_SECTION_TITLE}**`,
|
|
32119
|
+
" section below before you close anything yourself.",
|
|
31992
32120
|
" Stamp every PR you open with the `origin:agent` label \u2014 see the",
|
|
31993
32121
|
" **Origin label** section below.",
|
|
31994
32122
|
"",
|
|
@@ -32002,6 +32130,10 @@ function buildSoftwareProfileAnalystSubAgent(paths, issueDefaults, tier) {
|
|
|
32002
32130
|
"",
|
|
32003
32131
|
"---",
|
|
32004
32132
|
"",
|
|
32133
|
+
...renderIssueClosePolicySection(),
|
|
32134
|
+
"",
|
|
32135
|
+
"---",
|
|
32136
|
+
"",
|
|
32005
32137
|
"## Phase 1: Research (`software:research`)",
|
|
32006
32138
|
"",
|
|
32007
32139
|
"**Goal:** Gather public sources into a bounded research-notes file.",
|
|
@@ -32068,7 +32200,8 @@ function buildSoftwareProfileAnalystSubAgent(paths, issueDefaults, tier) {
|
|
|
32068
32200
|
" `Depends on: #<research-issue>`. Its body references the notes",
|
|
32069
32201
|
" file path and the requested software type.",
|
|
32070
32202
|
"",
|
|
32071
|
-
"6. **Commit and push** the notes file. Close the research issue
|
|
32203
|
+
"6. **Commit and push** the notes file. Close the research issue",
|
|
32204
|
+
` ${ISSUE_CLOSE_RULE_REFERENCE}.`,
|
|
32072
32205
|
"",
|
|
32073
32206
|
"---",
|
|
32074
32207
|
"",
|
|
@@ -32163,7 +32296,8 @@ function buildSoftwareProfileAnalystSubAgent(paths, issueDefaults, tier) {
|
|
|
32163
32296
|
" path, the matrix file path, and the segment-weights source",
|
|
32164
32297
|
` (\`${paths.docsRoot}/project-context.md\` or an explicit override).`,
|
|
32165
32298
|
"",
|
|
32166
|
-
"5. **Commit and push** the profile file. Close the profile issue
|
|
32299
|
+
"5. **Commit and push** the profile file. Close the profile issue",
|
|
32300
|
+
` ${ISSUE_CLOSE_RULE_REFERENCE}.`,
|
|
32167
32301
|
"",
|
|
32168
32302
|
"---",
|
|
32169
32303
|
"",
|
|
@@ -32273,7 +32407,8 @@ function buildSoftwareProfileAnalystSubAgent(paths, issueDefaults, tier) {
|
|
|
32273
32407
|
" count on the product slug as the unique marker) against",
|
|
32274
32408
|
" that commit before pushing.",
|
|
32275
32409
|
"",
|
|
32276
|
-
"9. **Push and close.** Push the branch
|
|
32410
|
+
"9. **Push and close.** Push the branch, then close the matrix issue",
|
|
32411
|
+
` ${ISSUE_CLOSE_RULE_REFERENCE}.`,
|
|
32277
32412
|
"",
|
|
32278
32413
|
"---",
|
|
32279
32414
|
"",
|
|
@@ -32395,7 +32530,8 @@ function buildSoftwareProfileAnalystSubAgent(paths, issueDefaults, tier) {
|
|
|
32395
32530
|
" could not be routed \u2014 never invent an alternative label",
|
|
32396
32531
|
" taxonomy.",
|
|
32397
32532
|
"",
|
|
32398
|
-
"10. **Commit and push** the updated profile. Close the map issue
|
|
32533
|
+
"10. **Commit and push** the updated profile. Close the map issue",
|
|
32534
|
+
` ${ISSUE_CLOSE_RULE_REFERENCE}.`,
|
|
32399
32535
|
"",
|
|
32400
32536
|
"---",
|
|
32401
32537
|
"",
|
|
@@ -32515,7 +32651,7 @@ function buildSoftwareProfileAnalystSubAgent(paths, issueDefaults, tier) {
|
|
|
32515
32651
|
" were enqueued for research).",
|
|
32516
32652
|
"",
|
|
32517
32653
|
"9. **Commit and push** (if the profile was updated). Close the",
|
|
32518
|
-
|
|
32654
|
+
` followup issue ${ISSUE_CLOSE_RULE_REFERENCE}.`,
|
|
32519
32655
|
"",
|
|
32520
32656
|
"---",
|
|
32521
32657
|
"",
|
|
@@ -33132,7 +33268,8 @@ function buildStandardsResearchAnalystSubAgent(paths, issueDefaults) {
|
|
|
33132
33268
|
"3. Execute the phase handler that matches the issue's `standards:*`",
|
|
33133
33269
|
" label.",
|
|
33134
33270
|
"4. Commit, push, open a PR (if applicable), and close the issue per",
|
|
33135
|
-
|
|
33271
|
+
` your project's PR workflow \u2014 see the **${ISSUE_CLOSE_SECTION_TITLE}**`,
|
|
33272
|
+
" section below before you close anything yourself.",
|
|
33136
33273
|
" Stamp every PR you open with the `origin:agent` label \u2014 see the",
|
|
33137
33274
|
" **Origin label** section below.",
|
|
33138
33275
|
"",
|
|
@@ -33146,6 +33283,10 @@ function buildStandardsResearchAnalystSubAgent(paths, issueDefaults) {
|
|
|
33146
33283
|
"",
|
|
33147
33284
|
"---",
|
|
33148
33285
|
"",
|
|
33286
|
+
...renderIssueClosePolicySection(),
|
|
33287
|
+
"",
|
|
33288
|
+
"---",
|
|
33289
|
+
"",
|
|
33149
33290
|
"## Phase 1: Scope (`standards:scope`)",
|
|
33150
33291
|
"",
|
|
33151
33292
|
"**Goal:** Plan the research campaign for a standard \u2014 identify which",
|
|
@@ -33230,7 +33371,8 @@ function buildStandardsResearchAnalystSubAgent(paths, issueDefaults) {
|
|
|
33230
33371
|
" in parallel with research issues \u2014 they do not depend on",
|
|
33231
33372
|
" research completing.",
|
|
33232
33373
|
"",
|
|
33233
|
-
"8. **Commit and push** the query plan. Close the scope issue
|
|
33374
|
+
"8. **Commit and push** the query plan. Close the scope issue",
|
|
33375
|
+
` ${ISSUE_CLOSE_RULE_REFERENCE}.`,
|
|
33234
33376
|
"",
|
|
33235
33377
|
"---",
|
|
33236
33378
|
"",
|
|
@@ -33379,7 +33521,8 @@ function buildStandardsResearchAnalystSubAgent(paths, issueDefaults) {
|
|
|
33379
33521
|
" entity in both tables, confirm an existing profile or a fresh",
|
|
33380
33522
|
" handoff issue exists. Do not commit with missing handoffs.",
|
|
33381
33523
|
"",
|
|
33382
|
-
"8. **Commit and push** the version page. Close the research issue
|
|
33524
|
+
"8. **Commit and push** the version page. Close the research issue",
|
|
33525
|
+
` ${ISSUE_CLOSE_RULE_REFERENCE}.`,
|
|
33383
33526
|
"",
|
|
33384
33527
|
"---",
|
|
33385
33528
|
"",
|
|
@@ -33445,7 +33588,8 @@ function buildStandardsResearchAnalystSubAgent(paths, issueDefaults) {
|
|
|
33445
33588
|
" entity. This handoff is optional \u2014 if no domain entities show",
|
|
33446
33589
|
" gaps, skip it.",
|
|
33447
33590
|
"",
|
|
33448
|
-
"6. **Commit and push** the overview page. Close the compare issue
|
|
33591
|
+
"6. **Commit and push** the overview page. Close the compare issue",
|
|
33592
|
+
` ${ISSUE_CLOSE_RULE_REFERENCE}.`,
|
|
33449
33593
|
"",
|
|
33450
33594
|
"---",
|
|
33451
33595
|
"",
|
|
@@ -33583,7 +33727,7 @@ function buildStandardsResearchAnalystSubAgent(paths, issueDefaults) {
|
|
|
33583
33727
|
"8. **Create `<EXTENSIONS_DIR>`** if it does not yet exist.",
|
|
33584
33728
|
"",
|
|
33585
33729
|
"9. **Commit and push** the extension analysis. Close the extension",
|
|
33586
|
-
|
|
33730
|
+
` issue ${ISSUE_CLOSE_RULE_REFERENCE}.`,
|
|
33587
33731
|
"",
|
|
33588
33732
|
"---",
|
|
33589
33733
|
"",
|
|
@@ -33684,7 +33828,7 @@ function buildStandardsResearchAnalystSubAgent(paths, issueDefaults) {
|
|
|
33684
33828
|
...renderIssueTypeAssignmentStep(),
|
|
33685
33829
|
"",
|
|
33686
33830
|
"7. **Commit and push** the organization page. Close the",
|
|
33687
|
-
|
|
33831
|
+
` organizations issue ${ISSUE_CLOSE_RULE_REFERENCE}.`,
|
|
33688
33832
|
"",
|
|
33689
33833
|
"---",
|
|
33690
33834
|
"",
|