@codedrifters/configulator 0.0.262 → 0.0.264
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.d.mts +61 -16
- package/lib/index.d.ts +61 -16
- package/lib/index.js +279 -146
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +279 -146
- package/lib/index.mjs.map +1 -1
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -5285,6 +5285,86 @@ var meetingAnalystSubAgent = {
|
|
|
5285
5285
|
"5. **Bi-directional traceability.** Every document and issue created by",
|
|
5286
5286
|
" this pipeline must link back to the meeting source, and the meeting",
|
|
5287
5287
|
" source documents must link forward to everything created from them.",
|
|
5288
|
+
"6. **Respect meeting type and areas.** Read the `meeting_type` and",
|
|
5289
|
+
" `areas` values from the meeting frontmatter before starting Phase 1.",
|
|
5290
|
+
" Apply the type-specific rules from the **Meeting type handling**",
|
|
5291
|
+
" table (phases 1\u20132) and the area-filtered routing rules from the",
|
|
5292
|
+
" **Areas filtering** table (phase 4).",
|
|
5293
|
+
"",
|
|
5294
|
+
"---",
|
|
5295
|
+
"",
|
|
5296
|
+
"## Meeting type handling",
|
|
5297
|
+
"",
|
|
5298
|
+
"Meeting frontmatter is expected to carry a `meeting_type` field whose",
|
|
5299
|
+
"value is one of the project's concrete meeting-type `id`s (declared",
|
|
5300
|
+
"via `AgentConfigOptions.meetings.meetingTypes`). Each concrete `id`",
|
|
5301
|
+
"maps to one of six generic **meeting kinds** that drive type-specific",
|
|
5302
|
+
"extraction rules:",
|
|
5303
|
+
"",
|
|
5304
|
+
"| Kind | Primary outputs | Phase-1/2 rules |",
|
|
5305
|
+
"|------|-----------------|-----------------|",
|
|
5306
|
+
"| `planning` | Sprint/plan updates, task issues, requirement drafts | Extract every task assignment. Phase 4 updates the active sprint-plan doc directly and creates one issue per assigned task. |",
|
|
5307
|
+
"| `review` | Retro notes, follow-up issues, status updates, requirement revisions | Mark completed tasks in the active sprint-plan doc. Capture retrospective learnings inside the meeting notes \u2014 do not spawn a separate retro document. |",
|
|
5308
|
+
"| `brainstorm` | Future-feature candidates, research topics, very few Firm decisions | Lower the bar for Open Questions. Do **not** create requirement or ADR issues from brainstorm output unless the item is explicitly marked **Firm**. Prefer research/discovery issues for promising ideas. |",
|
|
5309
|
+
"| `standup` | Action items, blockers, status updates | Do not produce requirement, ADR, or BDR drafts. Phase 3 (Draft) is almost always skipped. Focus on action-item issues and sprint-plan status updates. |",
|
|
5310
|
+
"| `external` | Customer/competitive intel, people/company profiles, lead capture | Default every attendee outside the team into **People of Interest**. Default every organization mentioned into **Companies of Interest** (signal threshold still applies). Capture stated customer pain points as candidate **BR** (business requirements), not FR. |",
|
|
5311
|
+
"| `other` | General meeting extraction | Apply the default workflow with no type-specific overrides. |",
|
|
5312
|
+
"",
|
|
5313
|
+
"**How to resolve the kind:**",
|
|
5314
|
+
"",
|
|
5315
|
+
"1. Read `meeting_type` from the frontmatter.",
|
|
5316
|
+
"2. Look up the matching `id` in the project's **Recognized meeting",
|
|
5317
|
+
" types** table (rendered below when `meetingTypes` is declared).",
|
|
5318
|
+
"3. Use the `Kind` column value. If the table is absent, the `id` is",
|
|
5319
|
+
" unknown, or the `Kind` column is `\u2014`, fall back to `other`.",
|
|
5320
|
+
"4. Apply the rules in the row above **in addition to** the normal",
|
|
5321
|
+
" phase workflow \u2014 never as a replacement.",
|
|
5322
|
+
"",
|
|
5323
|
+
"If `meeting_type` is missing, invalid, or the declared `id` is not in",
|
|
5324
|
+
"the project's table, note it in the extraction's Open Questions and",
|
|
5325
|
+
"proceed with the default workflow (treat as `other`).",
|
|
5326
|
+
"",
|
|
5327
|
+
"## Areas filtering",
|
|
5328
|
+
"",
|
|
5329
|
+
"Meeting frontmatter may carry an `areas: [...]` list whose values",
|
|
5330
|
+
"match `id`s from the project's **Area \u2192 doc-root mapping** table",
|
|
5331
|
+
"(declared via `AgentConfigOptions.meetings.meetingAreas`). The list",
|
|
5332
|
+
"scopes phase-4 direct edits and cross-references to the doc-root",
|
|
5333
|
+
"sub-folders registered for those areas. A given area's effective",
|
|
5334
|
+
"path resolves as `<docsRoot>/<docRoot>` \u2014 `docsRoot` comes from",
|
|
5335
|
+
"`AgentPathsConfig.docsRoot`; `docRoot` is the sub-folder shown in",
|
|
5336
|
+
"the **Area \u2192 doc-root mapping** table.",
|
|
5337
|
+
"",
|
|
5338
|
+
"**Gating contract (phase 4 only):**",
|
|
5339
|
+
"",
|
|
5340
|
+
"- **Scoped in:** direct edits and cross-reference stubs under the",
|
|
5341
|
+
" `docRoot` of every `id` present in the meeting's `areas` list.",
|
|
5342
|
+
"- **Scoped out:** direct edits to any doc-root sub-folder that is",
|
|
5343
|
+
" declared in the project's area map but whose `id` is **not** in",
|
|
5344
|
+
" the meeting's `areas`. For those out-of-scope areas, create",
|
|
5345
|
+
" follow-up issues instead of editing the doc directly.",
|
|
5346
|
+
"- **Not gated:** issue creation (requirements, ADRs, profiles,",
|
|
5347
|
+
" research) is always in scope regardless of areas.",
|
|
5348
|
+
"",
|
|
5349
|
+
"**Resolution rules:**",
|
|
5350
|
+
"",
|
|
5351
|
+
"1. If the meeting's `areas` frontmatter is missing or empty **and**",
|
|
5352
|
+
" the project has declared a non-empty `meetingAreas` map, no",
|
|
5353
|
+
" doc-root sub-folder is gated in: direct edits to any declared",
|
|
5354
|
+
" `docRoot` sub-folder are out-of-scope and become follow-up issues",
|
|
5355
|
+
" per step 6. Only the default meetings root (`meetingsRoot`)",
|
|
5356
|
+
" remains editable.",
|
|
5357
|
+
"2. If `areas` lists an `id` that is not in the project's area map,",
|
|
5358
|
+
" note it in the extraction's Open Questions and treat the unknown",
|
|
5359
|
+
" `id` as absent. Do **not** invent a doc-root path for it.",
|
|
5360
|
+
"3. Out-of-scope direct edits become `type:docs` follow-up issues on",
|
|
5361
|
+
" phase 4 step 6, with the area noted in the issue body.",
|
|
5362
|
+
"",
|
|
5363
|
+
"When the project has **not** declared any `meetingAreas` at all,",
|
|
5364
|
+
"this section applies degenerately \u2014 no areas are gated, no",
|
|
5365
|
+
"follow-up issues are synthesized for missing areas, and phase-4",
|
|
5366
|
+
"direct edits follow the default workflow (step 6 edits any doc",
|
|
5367
|
+
"flagged as Firm, unrestricted by `docRoot`).",
|
|
5288
5368
|
"",
|
|
5289
5369
|
"---",
|
|
5290
5370
|
"",
|
|
@@ -5342,7 +5422,13 @@ var meetingAnalystSubAgent = {
|
|
|
5342
5422
|
"",
|
|
5343
5423
|
"### Steps",
|
|
5344
5424
|
"",
|
|
5345
|
-
"1. Read the transcript file specified in the issue body.",
|
|
5425
|
+
"1. Read the transcript file specified in the issue body. Parse the",
|
|
5426
|
+
" meeting-note frontmatter first, capturing `meeting_type` and",
|
|
5427
|
+
" `areas`. Resolve `meeting_type` to a kind using the **Meeting type",
|
|
5428
|
+
" handling** table; note the resolved kind in the extraction",
|
|
5429
|
+
" frontmatter. If `meeting_type` is missing or not in the project's",
|
|
5430
|
+
" Recognized meeting types table, treat it as `other` and flag it",
|
|
5431
|
+
" in Open Questions.",
|
|
5346
5432
|
"2. Identify and categorize content into these buckets:",
|
|
5347
5433
|
"",
|
|
5348
5434
|
" | Bucket | What to look for |",
|
|
@@ -5368,14 +5454,32 @@ var meetingAnalystSubAgent = {
|
|
|
5368
5454
|
" - Companies of Interest (with type and context)",
|
|
5369
5455
|
" - Strategic / Product Direction",
|
|
5370
5456
|
"",
|
|
5371
|
-
"
|
|
5457
|
+
" Carry `meeting_type`, the resolved `meeting_kind`, and `areas`",
|
|
5458
|
+
" into the extraction frontmatter so downstream phases can gate",
|
|
5459
|
+
" behaviour without re-parsing the meeting note.",
|
|
5460
|
+
"",
|
|
5461
|
+
"4. **Apply type-specific rules.** Consult the **Meeting type handling**",
|
|
5462
|
+
" table for the resolved kind and apply its phase-1 rules in",
|
|
5463
|
+
" addition to the default extraction above. Examples:",
|
|
5464
|
+
" - `standup`: skip requirement, ADR, and BDR extraction; focus on",
|
|
5465
|
+
" action items and status.",
|
|
5466
|
+
" - `brainstorm`: emphasize Open Questions and Future Features.",
|
|
5467
|
+
" Only mark decisions as Firm when the transcript is unambiguous.",
|
|
5468
|
+
" - `external`: default attendees outside the team into People of",
|
|
5469
|
+
" Interest; default organizations mentioned into Companies of",
|
|
5470
|
+
" Interest (signal threshold still applies); capture customer",
|
|
5471
|
+
" pain points as candidate BR (not FR).",
|
|
5472
|
+
"",
|
|
5473
|
+
"5. **Create downstream phase issues** using `gh issue create`:",
|
|
5372
5474
|
" - Always create a `meeting:notes` issue (blocked on this extract issue)",
|
|
5373
5475
|
" - If requirements OR decisions/ADRs identified, create a `meeting:draft` issue",
|
|
5374
|
-
" (blocked on the notes issue)",
|
|
5476
|
+
" (blocked on the notes issue). For kind `standup`, skip the",
|
|
5477
|
+
" `meeting:draft` issue \u2014 standup meetings almost never produce",
|
|
5478
|
+
" formal drafts.",
|
|
5375
5479
|
" - Always create a `meeting:link` issue \u2014 blocked on the draft issue if one",
|
|
5376
5480
|
" was created, otherwise blocked on the notes issue",
|
|
5377
5481
|
"",
|
|
5378
|
-
"
|
|
5482
|
+
"6. Commit, push, and close the extract issue.",
|
|
5379
5483
|
"",
|
|
5380
5484
|
"---",
|
|
5381
5485
|
"",
|
|
@@ -5432,18 +5536,38 @@ var meetingAnalystSubAgent = {
|
|
|
5432
5536
|
"### Steps",
|
|
5433
5537
|
"",
|
|
5434
5538
|
"1. Read the drafts from Phase 3 (if they exist) and the extraction from Phase 1.",
|
|
5539
|
+
" Re-read the extraction frontmatter for `meeting_kind` and `areas`,",
|
|
5540
|
+
" then build the area-gate: the set of `docRoot` sub-folders that",
|
|
5541
|
+
" are in scope for direct edits on this meeting. Apply the rules in",
|
|
5542
|
+
" the **Areas filtering** section above.",
|
|
5435
5543
|
"2. Create requirement issues using `gh issue create` with appropriate labels.",
|
|
5436
5544
|
" Include a `## Traceability` section in each issue body linking back to",
|
|
5437
|
-
" the source meeting and extraction file.",
|
|
5545
|
+
" the source meeting and extraction file. Issue creation is **not**",
|
|
5546
|
+
" gated by areas.",
|
|
5438
5547
|
"3. Create ADR issues if technology decisions need formal records.",
|
|
5439
|
-
" Include a `## Traceability` section in each.",
|
|
5548
|
+
" Include a `## Traceability` section in each. Not gated by areas.",
|
|
5440
5549
|
"4. Create action item issues for tasks that are not document-related.",
|
|
5441
|
-
" Include a `## Traceability` section in each.",
|
|
5442
|
-
"5. Cross-reference the meeting in any existing documents that were
|
|
5443
|
-
"
|
|
5444
|
-
"
|
|
5550
|
+
" Include a `## Traceability` section in each. Not gated by areas.",
|
|
5551
|
+
"5. Cross-reference the meeting in any existing documents that were",
|
|
5552
|
+
" discussed **and that live under an in-scope `docRoot`**. For",
|
|
5553
|
+
" discussed documents under an out-of-scope `docRoot`, open a",
|
|
5554
|
+
" follow-up `type:docs` issue instead of editing the doc directly.",
|
|
5555
|
+
"6. Apply direct product/strategy doc updates for items flagged as",
|
|
5556
|
+
" **Firm** confidence. When the project declares `meetingAreas`,",
|
|
5557
|
+
" gate these edits: only apply them when the target path lies",
|
|
5558
|
+
" under an in-scope `docRoot`, and for Firm items targeting an",
|
|
5559
|
+
" out-of-scope `docRoot` open a follow-up `type:docs` issue",
|
|
5560
|
+
" noting the area and the target path. When the project has not",
|
|
5561
|
+
" declared any `meetingAreas`, apply Firm updates unrestricted",
|
|
5562
|
+
" (the degenerate case above). For the kind `planning`, also",
|
|
5563
|
+
" update the active sprint-plan doc directly (when the",
|
|
5564
|
+
" sprint-plan doc's area is in-scope, or always when no",
|
|
5565
|
+
" `meetingAreas` are declared); for the kind `review`, mark",
|
|
5566
|
+
" completed tasks in that same doc.",
|
|
5445
5567
|
"7. **Update the extraction file** with a `## Downstream Artifacts` section",
|
|
5446
|
-
" listing every issue and document created from this meeting.",
|
|
5568
|
+
" listing every issue and document created from this meeting. Note",
|
|
5569
|
+
" any items that were deferred to follow-up issues because of the",
|
|
5570
|
+
" area gate.",
|
|
5447
5571
|
"8. **Update the meeting notes** with a `## Related Issues` section listing",
|
|
5448
5572
|
" all issues created from this meeting.",
|
|
5449
5573
|
"9. Comment on the parent extract issue with a summary linking to all",
|
|
@@ -5527,7 +5651,17 @@ var meetingAnalysisBundle = {
|
|
|
5527
5651
|
"Use `/process-meeting <path>` to process a meeting transcript through a",
|
|
5528
5652
|
"4-phase pipeline (extract \u2192 notes \u2192 draft \u2192 link). Each phase runs as a",
|
|
5529
5653
|
"separate agent session tracked by a GitHub issue with a `meeting:*` label.",
|
|
5530
|
-
"See the `meeting-analyst` agent definition for full workflow details."
|
|
5654
|
+
"See the `meeting-analyst` agent definition for full workflow details.",
|
|
5655
|
+
"",
|
|
5656
|
+
"Meeting notes may declare a `meeting_type` (one of the project's",
|
|
5657
|
+
"recognized types) and an `areas: [...]` list. The `meeting_type`",
|
|
5658
|
+
"resolves to a generic kind \u2014 `planning` / `review` / `brainstorm` /",
|
|
5659
|
+
"`standup` / `external` / `other` \u2014 that drives type-specific",
|
|
5660
|
+
"extraction rules in phases 1\u20132. The `areas` list scopes phase-4",
|
|
5661
|
+
"direct edits to the doc-root sub-folders declared in the project's",
|
|
5662
|
+
"**Area \u2192 doc-root mapping** table. When both fields are absent",
|
|
5663
|
+
"the pipeline falls back to the default workflow (kind `other`,",
|
|
5664
|
+
"no area gating)."
|
|
5531
5665
|
].join("\n"),
|
|
5532
5666
|
platforms: {
|
|
5533
5667
|
cursor: { exclude: true }
|
|
@@ -9297,7 +9431,7 @@ var REQ_WRITE_ISSUE_SCHEMA_SECTION = [
|
|
|
9297
9431
|
// src/agent/bundles/requirements-analyst.ts
|
|
9298
9432
|
var requirementsAnalystSubAgent = {
|
|
9299
9433
|
name: "requirements-analyst",
|
|
9300
|
-
description: "Discovers requirement gaps from BCM model docs, competitive analysis, product docs, and meeting extracts. Produces scan reports and
|
|
9434
|
+
description: "Discovers requirement gaps from BCM model docs, competitive analysis, product docs, and meeting extracts. Produces scan reports, proposals, and req:write issues for the downstream requirements-writer agent. Runs through a 2-phase pipeline (scan \u2192 draft-trace), one phase per session, tracked by req:* GitHub issue labels.",
|
|
9301
9435
|
model: AGENT_MODEL.POWERFUL,
|
|
9302
9436
|
maxTurns: 80,
|
|
9303
9437
|
platforms: { cursor: { exclude: true } },
|
|
@@ -9338,35 +9472,39 @@ var requirementsAnalystSubAgent = {
|
|
|
9338
9472
|
"",
|
|
9339
9473
|
"## State Machine Overview",
|
|
9340
9474
|
"",
|
|
9341
|
-
"Requirements synthesis flows through **
|
|
9475
|
+
"Requirements synthesis flows through **2 phases**:",
|
|
9342
9476
|
"",
|
|
9343
9477
|
"```",
|
|
9344
|
-
"\u250C\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u250C\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\
|
|
9345
|
-
"\u2502 1. SCAN \u2502\u2500\u2500\u2500\u2500\u25B6\u2502 2. DRAFT
|
|
9346
|
-
"\u2502 Read docs, \u2502 \u2502 Write
|
|
9347
|
-
"\u2502 identify \u2502 \u2502
|
|
9348
|
-
"\u2502 gaps, check \u2502 \u2502
|
|
9349
|
-
"\u2502 for dupes \u2502 \u2502
|
|
9350
|
-
"\u2502 \u2502 \u2502
|
|
9351
|
-
"\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\
|
|
9478
|
+
"\u250C\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u250C\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510",
|
|
9479
|
+
"\u2502 1. SCAN \u2502\u2500\u2500\u2500\u2500\u25B6\u2502 2. DRAFT-TRACE \u2502",
|
|
9480
|
+
"\u2502 Read docs, \u2502 \u2502 Write proposals,\u2502",
|
|
9481
|
+
"\u2502 identify \u2502 \u2502 create req:write\u2502",
|
|
9482
|
+
"\u2502 gaps, check \u2502 \u2502 issues, update \u2502",
|
|
9483
|
+
"\u2502 for dupes \u2502 \u2502 source docs \u2502",
|
|
9484
|
+
"\u2502 \u2502 \u2502 with traceability\u2502",
|
|
9485
|
+
"\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518",
|
|
9352
9486
|
"```",
|
|
9353
9487
|
"",
|
|
9488
|
+
"This pipeline matches the `scan \u2192 draft-trace \u2192 write` pattern",
|
|
9489
|
+
"used by the sibling openhi project. Draft and Trace were previously",
|
|
9490
|
+
"separate phases; they were collapsed because the proposals file Draft",
|
|
9491
|
+
"wrote was only ever consumed by Trace (no human review, no async work",
|
|
9492
|
+
"between the two), so the phase boundary added latency without value.",
|
|
9493
|
+
"See ADR-009 for the full reasoning.",
|
|
9494
|
+
"",
|
|
9354
9495
|
"**Issue labels encode the phase:**",
|
|
9355
9496
|
"",
|
|
9356
9497
|
"| Label | Phase | Session work |",
|
|
9357
9498
|
"|-------|-------|-------------|",
|
|
9358
9499
|
"| `req:scan` | 1. Scan | Read source docs, identify potential requirement gaps, check against existing requirements and open issues, write deduplicated scan report |",
|
|
9359
|
-
"| `req:draft` | 2. Draft | Write
|
|
9360
|
-
"| `req:trace` | 3. Trace | Create GitHub issues for each proposed requirement and update source documents with traceability notes |",
|
|
9500
|
+
"| `req:draft-trace` | 2. Draft & Trace | Write proposals, create `req:write` GitHub issues for each proposal, and update source documents with traceability notes \u2014 all in a single session |",
|
|
9361
9501
|
"",
|
|
9362
9502
|
"All issues also carry `type:requirement` and a `status:*` label.",
|
|
9363
9503
|
"",
|
|
9364
|
-
"**Issue count per scan cycle:** 1 scan + 1 draft
|
|
9504
|
+
"**Issue count per scan cycle:** 1 scan + 1 draft-trace = **2 sessions**.",
|
|
9365
9505
|
"",
|
|
9366
9506
|
"**Shortened paths:**",
|
|
9367
|
-
"- No gaps found after scan \u2192 skip draft
|
|
9368
|
-
"- No source docs need traceability updates \u2192 still **3 sessions** (trace",
|
|
9369
|
-
" handles both issue creation and doc updates)",
|
|
9507
|
+
"- No gaps found after scan \u2192 skip draft-trace \u2192 **1 session**",
|
|
9370
9508
|
"",
|
|
9371
9509
|
"---",
|
|
9372
9510
|
"",
|
|
@@ -9395,7 +9533,7 @@ var requirementsAnalystSubAgent = {
|
|
|
9395
9533
|
"Run this loop exactly once per session. Never start a second issue.",
|
|
9396
9534
|
"",
|
|
9397
9535
|
"1. Claim one open `type:requirement` issue using phase priority:",
|
|
9398
|
-
" `req:scan` > `req:draft
|
|
9536
|
+
" `req:scan` > `req:draft-trace`.",
|
|
9399
9537
|
"2. Transition `status:ready` \u2192 `status:in-progress` and create the branch",
|
|
9400
9538
|
" per your project's branch-naming convention.",
|
|
9401
9539
|
"3. Execute the phase handler that matches the issue's `req:*` label.",
|
|
@@ -9496,7 +9634,7 @@ var requirementsAnalystSubAgent = {
|
|
|
9496
9634
|
" ```",
|
|
9497
9635
|
"",
|
|
9498
9636
|
"7. **Create downstream issues based on findings:**",
|
|
9499
|
-
" - If any new gaps were identified \u2192 create `req:draft` issue",
|
|
9637
|
+
" - If any new gaps were identified \u2192 create `req:draft-trace` issue",
|
|
9500
9638
|
" (blocked on this issue via `Depends on: #N`).",
|
|
9501
9639
|
" - If **no gaps** were found \u2192 stop (no further phases needed). Comment",
|
|
9502
9640
|
" on the issue noting that no gaps were identified, and proceed directly",
|
|
@@ -9507,12 +9645,54 @@ var requirementsAnalystSubAgent = {
|
|
|
9507
9645
|
"",
|
|
9508
9646
|
"---",
|
|
9509
9647
|
"",
|
|
9510
|
-
"## Phase 2: Draft (`req:draft`)",
|
|
9648
|
+
"## Phase 2: Draft & Trace (`req:draft-trace`)",
|
|
9649
|
+
"",
|
|
9650
|
+
"**Goal:** Expand each identified gap into a requirement proposal, create",
|
|
9651
|
+
"a `req:write` GitHub issue for each proposal so the downstream",
|
|
9652
|
+
"`requirements-writer` bundle picks it up, and backfill source-document",
|
|
9653
|
+
"traceability notes \u2014 all in a single session.",
|
|
9654
|
+
"",
|
|
9655
|
+
"**Budget:** No web searches. Reading + writing proposals + issue creation",
|
|
9656
|
+
"+ minor traceability edits to source documents.",
|
|
9657
|
+
"",
|
|
9658
|
+
"Draft and Trace were previously separate phases. They were collapsed",
|
|
9659
|
+
"because the proposals file written by Draft was only ever consumed by",
|
|
9660
|
+
"Trace \u2014 no human review, no async work, no CI validation sat between",
|
|
9661
|
+
"them. See ADR-009 for the decision record.",
|
|
9662
|
+
"",
|
|
9663
|
+
"### `req:write` issue schema",
|
|
9664
|
+
"",
|
|
9665
|
+
"The `req:write` issues this phase creates are picked up by the",
|
|
9666
|
+
"downstream `requirements-writer` agent, which parses a strict",
|
|
9667
|
+
"schema on intake. The authoritative schema is defined in the",
|
|
9668
|
+
"`requirements-writer` sub-agent prompt under **The `req:write`",
|
|
9669
|
+
"Issue Schema** \u2014 every `req:write` issue this phase opens must",
|
|
9670
|
+
"conform. The same schema is embedded in the",
|
|
9671
|
+
"`requirements-reviewer` follow-up generator so the three",
|
|
9672
|
+
"producers never drift apart.",
|
|
9673
|
+
"",
|
|
9674
|
+
...REQ_WRITE_ISSUE_SCHEMA_SECTION,
|
|
9511
9675
|
"",
|
|
9512
|
-
"**
|
|
9513
|
-
"
|
|
9676
|
+
"**Deriving the three required fields from the proposal.** For",
|
|
9677
|
+
"every `req:write` issue this phase opens, the three fields come",
|
|
9678
|
+
"directly from the proposal entry written earlier in the same",
|
|
9679
|
+
"session:",
|
|
9514
9680
|
"",
|
|
9515
|
-
"**
|
|
9681
|
+
"- **Category** \u2014 the proposal's `**Category:**` line.",
|
|
9682
|
+
"- **Tier** \u2014 the proposal's `**Tier:**` line.",
|
|
9683
|
+
"- **Output Path** \u2014",
|
|
9684
|
+
" `<REQUIREMENTS_ROOT>/<category-dir>/<PREFIX>-<NNN>-<slug>.md`,",
|
|
9685
|
+
" using the sequence number determined in the proposal step below.",
|
|
9686
|
+
"",
|
|
9687
|
+
"**Validation step \u2014 required before opening the issue.** Before",
|
|
9688
|
+
"calling `gh issue create`, verify all three required fields are",
|
|
9689
|
+
"populated and internally consistent (Category matches title",
|
|
9690
|
+
"prefix, Tier matches `tier:*` label, Output Path filename starts",
|
|
9691
|
+
"with the Category prefix). If any field cannot be derived, open",
|
|
9692
|
+
"the issue with `status:needs-attention` (not `status:ready`) and",
|
|
9693
|
+
"include a `Missing: <field> \u2014 <one-line reason>` line so a human",
|
|
9694
|
+
"triaging the issue only has to supply the remaining value(s)",
|
|
9695
|
+
"before flipping the label to `status:ready`.",
|
|
9516
9696
|
"",
|
|
9517
9697
|
"### Steps",
|
|
9518
9698
|
"",
|
|
@@ -9563,61 +9743,7 @@ var requirementsAnalystSubAgent = {
|
|
|
9563
9743
|
" directory under `<REQUIREMENTS_ROOT>/<category>/` to find the next",
|
|
9564
9744
|
" available `NNN` for each proposed requirement.",
|
|
9565
9745
|
"",
|
|
9566
|
-
"5. **Create
|
|
9567
|
-
"",
|
|
9568
|
-
"6. **Commit and push.**",
|
|
9569
|
-
"",
|
|
9570
|
-
"---",
|
|
9571
|
-
"",
|
|
9572
|
-
"## Phase 3: Trace (`req:trace`)",
|
|
9573
|
-
"",
|
|
9574
|
-
"**Goal:** Create GitHub issues for each proposed requirement and update",
|
|
9575
|
-
"source documents with traceability notes indicating that requirement issues",
|
|
9576
|
-
"were created.",
|
|
9577
|
-
"",
|
|
9578
|
-
"**Budget:** No web searches. Issue creation + minor edits to source",
|
|
9579
|
-
"documents.",
|
|
9580
|
-
"",
|
|
9581
|
-
"### `req:write` issue schema",
|
|
9582
|
-
"",
|
|
9583
|
-
"The `req:write` issues this phase creates are picked up by the",
|
|
9584
|
-
"downstream `requirements-writer` agent, which parses a strict",
|
|
9585
|
-
"schema on intake. The authoritative schema is defined in the",
|
|
9586
|
-
"`requirements-writer` sub-agent prompt under **The `req:write`",
|
|
9587
|
-
"Issue Schema** \u2014 every `req:write` issue this phase opens must",
|
|
9588
|
-
"conform. The same schema is embedded in the",
|
|
9589
|
-
"`requirements-reviewer` follow-up generator so the three",
|
|
9590
|
-
"producers never drift apart.",
|
|
9591
|
-
"",
|
|
9592
|
-
...REQ_WRITE_ISSUE_SCHEMA_SECTION,
|
|
9593
|
-
"",
|
|
9594
|
-
"**Deriving the three required fields from the proposal.** For",
|
|
9595
|
-
"every `req:write` issue this phase opens, the three fields come",
|
|
9596
|
-
"directly from the Phase 2 proposal entry:",
|
|
9597
|
-
"",
|
|
9598
|
-
"- **Category** \u2014 the proposal's `**Category:**` line.",
|
|
9599
|
-
"- **Tier** \u2014 the proposal's `**Tier:**` line (added in Phase 2).",
|
|
9600
|
-
" If the proposal omitted the Tier line (older proposals may),",
|
|
9601
|
-
" route the issue through `Missing:` rather than guessing.",
|
|
9602
|
-
"- **Output Path** \u2014",
|
|
9603
|
-
" `<REQUIREMENTS_ROOT>/<category-dir>/<PREFIX>-<NNN>-<slug>.md`,",
|
|
9604
|
-
" using the sequence number determined in Phase 2 step 4.",
|
|
9605
|
-
"",
|
|
9606
|
-
"**Validation step \u2014 required before opening the issue.** Before",
|
|
9607
|
-
"calling `gh issue create`, verify all three required fields are",
|
|
9608
|
-
"populated and internally consistent (Category matches title",
|
|
9609
|
-
"prefix, Tier matches `tier:*` label, Output Path filename starts",
|
|
9610
|
-
"with the Category prefix). If any field cannot be derived, open",
|
|
9611
|
-
"the issue with `status:needs-attention` (not `status:ready`) and",
|
|
9612
|
-
"include a `Missing: <field> \u2014 <one-line reason>` line so a human",
|
|
9613
|
-
"triaging the issue only has to supply the remaining value(s)",
|
|
9614
|
-
"before flipping the label to `status:ready`.",
|
|
9615
|
-
"",
|
|
9616
|
-
"### Steps",
|
|
9617
|
-
"",
|
|
9618
|
-
"1. **Read the proposals** from Phase 2.",
|
|
9619
|
-
"",
|
|
9620
|
-
"2. **Create requirement issues.** For each proposal:",
|
|
9746
|
+
"5. **Create requirement issues.** For each proposal:",
|
|
9621
9747
|
"",
|
|
9622
9748
|
" All `type:requirement` issues default to `priority:medium` (override",
|
|
9623
9749
|
" only if the proposal's priority was explicitly High or Low). Each",
|
|
@@ -9662,7 +9788,7 @@ var requirementsAnalystSubAgent = {
|
|
|
9662
9788
|
" whichever of the three fields **could** be derived so a human",
|
|
9663
9789
|
" triaging the issue has the minimum possible cleanup.",
|
|
9664
9790
|
"",
|
|
9665
|
-
"
|
|
9791
|
+
"6. **Update source documents.** In each BCM model doc or competitive",
|
|
9666
9792
|
" analysis that was scanned, add a note in the project-relevance /",
|
|
9667
9793
|
" strategic-implications section (whichever heading the source doc uses)",
|
|
9668
9794
|
" indicating that a requirement issue was created:",
|
|
@@ -9672,10 +9798,10 @@ var requirementsAnalystSubAgent = {
|
|
|
9672
9798
|
" (issue #<N>)",
|
|
9673
9799
|
" ```",
|
|
9674
9800
|
"",
|
|
9675
|
-
"
|
|
9801
|
+
"7. **Comment on the scan issue** with a summary of all issues created and",
|
|
9676
9802
|
" all docs updated.",
|
|
9677
9803
|
"",
|
|
9678
|
-
"
|
|
9804
|
+
"8. **Commit and push.**",
|
|
9679
9805
|
"",
|
|
9680
9806
|
"---",
|
|
9681
9807
|
"",
|
|
@@ -9753,39 +9879,41 @@ var scanRequirementsSkill = {
|
|
|
9753
9879
|
"1. Create a `req:scan` issue with `type:requirement`, `priority:medium`,",
|
|
9754
9880
|
" and `status:ready`. Body must list the files to read and the scan scope.",
|
|
9755
9881
|
"2. Execute Phase 1 (Scan) of the requirements-analyst agent.",
|
|
9756
|
-
"3. If gaps are found, a `req:draft` issue is created automatically.",
|
|
9882
|
+
"3. If gaps are found, a `req:draft-trace` issue is created automatically.",
|
|
9757
9883
|
"",
|
|
9758
9884
|
"## Output",
|
|
9759
9885
|
"",
|
|
9760
9886
|
"- A `req-scan-<scope>-<YYYY-MM-DD>.md` file under the project's research",
|
|
9761
9887
|
" requirements directory.",
|
|
9762
|
-
"- A `req:draft` issue if any gaps were identified."
|
|
9888
|
+
"- A `req:draft-trace` issue if any gaps were identified."
|
|
9763
9889
|
].join("\n")
|
|
9764
9890
|
};
|
|
9765
9891
|
var requirementsAnalystBundle = {
|
|
9766
9892
|
name: "requirements-analyst",
|
|
9767
|
-
description: "Requirements gap-discovery agent bundle for BCM-driven projects.
|
|
9893
|
+
description: "Requirements gap-discovery agent bundle for BCM-driven projects. 2-phase pipeline (scan, draft-trace) with req:* phase labels.",
|
|
9768
9894
|
appliesWhen: () => true,
|
|
9769
9895
|
rules: [
|
|
9770
9896
|
{
|
|
9771
9897
|
name: "requirements-analyst-workflow",
|
|
9772
|
-
description: "Describes the
|
|
9898
|
+
description: "Describes the 2-phase requirements gap-discovery pipeline, the req:* label taxonomy, and the boundary with the downstream requirements-writer agent.",
|
|
9773
9899
|
scope: AGENT_RULE_SCOPE.ALWAYS,
|
|
9774
9900
|
content: [
|
|
9775
9901
|
"# Requirements Analyst Workflow",
|
|
9776
9902
|
"",
|
|
9777
9903
|
"Use `/scan-requirements <scope>` to kick off a requirements gap",
|
|
9778
|
-
"discovery cycle. The pipeline runs in
|
|
9779
|
-
"each tracked by its own GitHub issue labeled
|
|
9780
|
-
"or `req:trace`. All issues carry
|
|
9781
|
-
"",
|
|
9782
|
-
"
|
|
9783
|
-
"
|
|
9784
|
-
"
|
|
9904
|
+
"discovery cycle. The pipeline runs in 2 phases \u2014 scan and",
|
|
9905
|
+
"draft-trace \u2014 each tracked by its own GitHub issue labeled",
|
|
9906
|
+
"`req:scan` or `req:draft-trace`. All issues carry",
|
|
9907
|
+
"`type:requirement`.",
|
|
9908
|
+
"",
|
|
9909
|
+
"The requirements-analyst *discovers gaps, drafts proposals, and",
|
|
9910
|
+
"opens `req:write` issues for the downstream writer*; it does",
|
|
9911
|
+
"**not** write final requirement documents. Writing is the job of",
|
|
9912
|
+
"the downstream `requirements-writer` agent (a separate bundle).",
|
|
9785
9913
|
"Keep that boundary clean: proposals land under the research",
|
|
9786
9914
|
"requirements directory, not under the authoritative requirements",
|
|
9787
|
-
"tree. The trace phase tags new issues with `req:write` so
|
|
9788
|
-
"writer bundle picks them up automatically.",
|
|
9915
|
+
"tree. The draft-trace phase tags new issues with `req:write` so",
|
|
9916
|
+
"the writer bundle picks them up automatically.",
|
|
9789
9917
|
"",
|
|
9790
9918
|
"See the `requirements-analyst` agent definition for full workflow",
|
|
9791
9919
|
"details and phase-by-phase instructions."
|
|
@@ -9810,14 +9938,9 @@ var requirementsAnalystBundle = {
|
|
|
9810
9938
|
description: "Phase 1: scan source docs for requirement gaps and deduplicate"
|
|
9811
9939
|
},
|
|
9812
9940
|
{
|
|
9813
|
-
name: "req:draft",
|
|
9941
|
+
name: "req:draft-trace",
|
|
9814
9942
|
color: "BFDADC",
|
|
9815
|
-
description: "Phase 2: draft
|
|
9816
|
-
},
|
|
9817
|
-
{
|
|
9818
|
-
name: "req:trace",
|
|
9819
|
-
color: "D4C5F9",
|
|
9820
|
-
description: "Phase 3: create requirement issues and backfill traceability on source docs"
|
|
9943
|
+
description: "Phase 2: draft proposals, create req:write issues, and backfill source-doc traceability"
|
|
9821
9944
|
}
|
|
9822
9945
|
]
|
|
9823
9946
|
};
|
|
@@ -11701,8 +11824,8 @@ var requirementsWriterSubAgent = {
|
|
|
11701
11824
|
"This agent produces **requirement documents only** \u2014 capability",
|
|
11702
11825
|
"models are written by the `bcm-writer` agent and requirement-gap",
|
|
11703
11826
|
"discovery is the responsibility of the `requirements-analyst` agent.",
|
|
11704
|
-
"Keep this boundary clean: never open `req:scan`,
|
|
11705
|
-
"`bcm:*` issues from this pipeline.",
|
|
11827
|
+
"Keep this boundary clean: never open `req:scan`,",
|
|
11828
|
+
"`req:draft-trace`, or `bcm:*` issues from this pipeline.",
|
|
11706
11829
|
"",
|
|
11707
11830
|
"Follow your project's shared agent conventions (`AGENTS.md`,",
|
|
11708
11831
|
"`CLAUDE.md`, or equivalent) for all commit, branch, and PR rules.",
|
|
@@ -12236,7 +12359,7 @@ var requirementsWriterSubAgent = {
|
|
|
12236
12359
|
"specialized upstream/downstream agents.",
|
|
12237
12360
|
"",
|
|
12238
12361
|
"**Do NOT create:**",
|
|
12239
|
-
"- `req:scan
|
|
12362
|
+
"- `req:scan` or `req:draft-trace` issues \u2014 those belong to",
|
|
12240
12363
|
" the `requirements-analyst` bundle",
|
|
12241
12364
|
"- `bcm:*` issues \u2014 those belong to the `bcm-writer` bundle",
|
|
12242
12365
|
"- `people:*`, `company:*`, `software:*`, `research:*`, or",
|
|
@@ -12284,8 +12407,8 @@ var requirementsWriterSubAgent = {
|
|
|
12284
12407
|
" exists as a file but is missing from its category index is",
|
|
12285
12408
|
" invisible to anyone browsing the documentation tree.",
|
|
12286
12409
|
"- **Write requirements, not capability models or gap reports.**",
|
|
12287
|
-
" Never open `req:scan`, `req:draft
|
|
12288
|
-
"
|
|
12410
|
+
" Never open `req:scan`, `req:draft-trace`, or `bcm:*` issues from",
|
|
12411
|
+
" this pipeline."
|
|
12289
12412
|
].join("\n")
|
|
12290
12413
|
};
|
|
12291
12414
|
var writeRequirementSkill = {
|
|
@@ -12380,8 +12503,8 @@ var requirementsWriterBundle = {
|
|
|
12380
12503
|
"The pipeline produces **requirement documents only** \u2014 capability",
|
|
12381
12504
|
"models are written by the `bcm-writer` agent and gap discovery is",
|
|
12382
12505
|
"the responsibility of the `requirements-analyst` agent. The",
|
|
12383
|
-
"writer never opens `req:scan`, `req:draft
|
|
12384
|
-
"
|
|
12506
|
+
"writer never opens `req:scan`, `req:draft-trace`, or `bcm:*`",
|
|
12507
|
+
"issues.",
|
|
12385
12508
|
"",
|
|
12386
12509
|
"Documents follow the 11-category taxonomy (BR, FR, NFR, TR, ADR,",
|
|
12387
12510
|
"SEC, DR, INT, OPS, UX, MT) and the four-tier classification",
|
|
@@ -12487,8 +12610,8 @@ var requirementsReviewerSubAgent = {
|
|
|
12487
12610
|
"`requirements-writer` bundle (requirement docs) and `bcm-writer`",
|
|
12488
12611
|
"bundle (capability models). Gap discovery belongs to the",
|
|
12489
12612
|
"`requirements-analyst` bundle. Keep this boundary clean: never open",
|
|
12490
|
-
"`req:scan`, `req:draft
|
|
12491
|
-
"
|
|
12613
|
+
"`req:scan`, `req:draft-trace`, `req:review`, or `bcm:*` issues",
|
|
12614
|
+
"from this pipeline. The only follow-ups you open are the",
|
|
12492
12615
|
"`req:write` issues documented below.",
|
|
12493
12616
|
"",
|
|
12494
12617
|
"Follow your project's shared agent conventions (`AGENTS.md`,",
|
|
@@ -12701,8 +12824,8 @@ var requirementsReviewerSubAgent = {
|
|
|
12701
12824
|
"doc and must be rewritten or removed). Route follow-up issues to",
|
|
12702
12825
|
"`req:write` so the `requirements-writer` \u2014 the only agent scoped",
|
|
12703
12826
|
"to edit under `<REQUIREMENTS_ROOT>` \u2014 picks them up. Do **not**",
|
|
12704
|
-
"route Check 4 findings to `req:trace`; the analyst bundle
|
|
12705
|
-
"not edit requirement documents and the issue would sit",
|
|
12827
|
+
"route Check 4 findings to `req:draft-trace`; the analyst bundle",
|
|
12828
|
+
"does not edit requirement documents and the issue would sit",
|
|
12706
12829
|
"unresolved. See the Follow-Up Issues section below for the full",
|
|
12707
12830
|
"Check 3 vs. Check 4 routing split.",
|
|
12708
12831
|
"",
|
|
@@ -13121,11 +13244,12 @@ var requirementsReviewerSubAgent = {
|
|
|
13121
13244
|
" docs, competitive-analysis notes, product-roadmap entries,",
|
|
13122
13245
|
" meeting extracts \u2014 that should link forward to an existing",
|
|
13123
13246
|
" requirement (Check 3: orphaned requirements whose fix lives",
|
|
13124
|
-
" in the source tree, not the requirement doc) \u2192 `req:trace`",
|
|
13247
|
+
" in the source tree, not the requirement doc) \u2192 `req:draft-trace`",
|
|
13125
13248
|
" (the `requirements-analyst` agent picks it up to backfill",
|
|
13126
|
-
" source-doc traceability
|
|
13127
|
-
" cross-references here \u2014 the
|
|
13128
|
-
" `<REQUIREMENTS_ROOT>` and the
|
|
13249
|
+
" source-doc traceability inside its combined draft-trace phase).",
|
|
13250
|
+
" **Do not** route Check 4 broken cross-references here \u2014 the",
|
|
13251
|
+
" analyst bundle never writes to `<REQUIREMENTS_ROOT>` and the",
|
|
13252
|
+
" issue would sit unresolved.",
|
|
13129
13253
|
" - A new requirement is needed (e.g., a `Proposed` ADR is missing",
|
|
13130
13254
|
" for a deferred technology choice) \u2192 `req:scan` (the analyst",
|
|
13131
13255
|
" runs a scoped scan to confirm the gap, then drafts the new",
|
|
@@ -13139,7 +13263,7 @@ var requirementsReviewerSubAgent = {
|
|
|
13139
13263
|
"",
|
|
13140
13264
|
"**Check 12 exception \u2014 stale `Proposed` ADR/TR triage.** Check 12",
|
|
13141
13265
|
"findings are the one case where follow-up flows through a new",
|
|
13142
|
-
"`req:review` issue rather than `req:write` / `req:trace` /",
|
|
13266
|
+
"`req:review` issue rather than `req:write` / `req:draft-trace` /",
|
|
13143
13267
|
"`req:scan`. The finding is a decision a human must make, not an",
|
|
13144
13268
|
"edit to a requirement document, so:",
|
|
13145
13269
|
"",
|
|
@@ -13579,8 +13703,9 @@ var reviewRequirementsSkill = {
|
|
|
13579
13703
|
"- One verification script under `<REVIEW_REPORTS_ROOT>` (only",
|
|
13580
13704
|
" for audits >10 documents)",
|
|
13581
13705
|
"- Follow-up GitHub issues for every Critical and Warning finding,",
|
|
13582
|
-
" carrying the appropriate phase label (`req:write`,
|
|
13583
|
-
" or `req:scan`) for the downstream agent that
|
|
13706
|
+
" carrying the appropriate phase label (`req:write`,",
|
|
13707
|
+
" `req:draft-trace`, or `req:scan`) for the downstream agent that",
|
|
13708
|
+
" should act",
|
|
13584
13709
|
"- An aggregated `req:review` follow-up issue labeled",
|
|
13585
13710
|
" `status:needs-attention` when Check 12 surfaces stale `Proposed`",
|
|
13586
13711
|
" ADR/TR documents (one issue per review, not one per document);",
|
|
@@ -13735,9 +13860,9 @@ var requirementsReviewerBundle = {
|
|
|
13735
13860
|
"The review phase produces **review reports and follow-up issues",
|
|
13736
13861
|
"only** \u2014 it never edits requirement documents, capability",
|
|
13737
13862
|
"models, or research notes. It files follow-up issues with the",
|
|
13738
|
-
"appropriate phase label (`req:write`, `req:trace`,
|
|
13739
|
-
"or \u2014 only for Check 12 stale-decision triage \u2014
|
|
13740
|
-
"for the downstream agent or human to pick up.",
|
|
13863
|
+
"appropriate phase label (`req:write`, `req:draft-trace`,",
|
|
13864
|
+
"`req:scan`, or \u2014 only for Check 12 stale-decision triage \u2014",
|
|
13865
|
+
"`req:review`) for the downstream agent or human to pick up.",
|
|
13741
13866
|
"",
|
|
13742
13867
|
"For audits covering more than 10 documents, the reviewer writes",
|
|
13743
13868
|
"a read-only Python verification script alongside the report and",
|
|
@@ -13780,9 +13905,9 @@ var requirementsReviewerBundle = {
|
|
|
13780
13905
|
"Authoring remains the responsibility of the `requirements-writer`",
|
|
13781
13906
|
"(requirement docs) and `bcm-writer` (capability models) bundles.",
|
|
13782
13907
|
"Gap discovery is the responsibility of the `requirements-analyst`",
|
|
13783
|
-
"bundle. The reviewer never opens `req:scan`, `req:draft`,",
|
|
13784
|
-
"`req:
|
|
13785
|
-
"
|
|
13908
|
+
"bundle. The reviewer never opens `req:scan`, `req:draft-trace`,",
|
|
13909
|
+
"`req:review`, or `bcm:*` issues \u2014 only `req:write` follow-ups",
|
|
13910
|
+
"from either phase.",
|
|
13786
13911
|
"",
|
|
13787
13912
|
"**Soft dependency on the `requirements-writer` bundle.** The",
|
|
13788
13913
|
"reviewer reads category templates from",
|
|
@@ -16358,18 +16483,24 @@ function renderMeetingTypes(types, agendaTemplateRoot) {
|
|
|
16358
16483
|
"This project declares a meeting-type taxonomy through",
|
|
16359
16484
|
"`AgentConfigOptions.meetings.meetingTypes`. When classifying a",
|
|
16360
16485
|
"meeting transcript, pick the `id` from this list that best fits the",
|
|
16361
|
-
"meeting; do **not** invent new type identifiers.
|
|
16362
|
-
`
|
|
16363
|
-
"",
|
|
16364
|
-
"
|
|
16365
|
-
"
|
|
16486
|
+
"meeting; do **not** invent new type identifiers. The `Kind` column",
|
|
16487
|
+
"maps each concrete `id` onto the generic meeting-kind taxonomy",
|
|
16488
|
+
"(`planning` / `review` / `brainstorm` / `standup` / `external` /",
|
|
16489
|
+
"`other`) documented in the **Meeting type handling** section \u2014",
|
|
16490
|
+
"apply the type-specific rules listed there based on this kind.",
|
|
16491
|
+
"Agenda-template paths below are resolved relative to",
|
|
16492
|
+
`\`${resolvedRoot}\`.`,
|
|
16493
|
+
"",
|
|
16494
|
+
"| ID | Label | Kind | Scope | Cadence | Default duration | Agenda template |",
|
|
16495
|
+
"|----|-------|------|-------|---------|------------------|-----------------|"
|
|
16366
16496
|
];
|
|
16367
16497
|
for (const type of types) {
|
|
16498
|
+
const kind = type.kind ? `\`${type.kind}\`` : "\u2014";
|
|
16368
16499
|
const cadence = type.cadence ? `\`${type.cadence}\`` : "\u2014";
|
|
16369
16500
|
const duration = type.defaultDurationMinutes !== void 0 ? `${type.defaultDurationMinutes} min` : "\u2014";
|
|
16370
16501
|
const template = type.agendaTemplatePath ? `\`${type.agendaTemplatePath}\`` : "\u2014";
|
|
16371
16502
|
lines.push(
|
|
16372
|
-
`| \`${type.id}\` | ${type.label} | \`${type.scope}\` | ${cadence} | ${duration} | ${template} |`
|
|
16503
|
+
`| \`${type.id}\` | ${type.label} | ${kind} | \`${type.scope}\` | ${cadence} | ${duration} | ${template} |`
|
|
16373
16504
|
);
|
|
16374
16505
|
}
|
|
16375
16506
|
return lines.join("\n");
|
|
@@ -16380,10 +16511,12 @@ function renderMeetingAreas(areas) {
|
|
|
16380
16511
|
"",
|
|
16381
16512
|
"This project declares a meeting-area routing map through",
|
|
16382
16513
|
"`AgentConfigOptions.meetings.meetingAreas`. When a meeting note's",
|
|
16383
|
-
"frontmatter carries an `
|
|
16384
|
-
"
|
|
16385
|
-
"
|
|
16386
|
-
"
|
|
16514
|
+
"frontmatter carries an `areas:` list, route phase-4 direct edits",
|
|
16515
|
+
"into the corresponding sub-trees of the docs root",
|
|
16516
|
+
"(`AgentPathsConfig.docsRoot`). See the **Areas filtering** section",
|
|
16517
|
+
"of the `meeting-analyst` agent for the full gating contract.",
|
|
16518
|
+
"Meetings whose `areas` list is empty or does not match any",
|
|
16519
|
+
"declared entry fall back to the default meetings root.",
|
|
16387
16520
|
"",
|
|
16388
16521
|
"| Area ID | Label | Doc-root sub-folder |",
|
|
16389
16522
|
"|---------|-------|---------------------|"
|