@codedrifters/configulator 0.0.261 → 0.0.263
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 -17
- package/lib/index.d.ts +61 -17
- package/lib/index.js +514 -102
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +514 -102
- 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 }
|
|
@@ -14456,7 +14590,7 @@ var slackBundle = {
|
|
|
14456
14590
|
// src/agent/bundles/software-profile.ts
|
|
14457
14591
|
var softwareProfileAnalystSubAgent = {
|
|
14458
14592
|
name: "software-profile-analyst",
|
|
14459
|
-
description: "Researches a software product (competitor, adjacent, incumbent, enabler, infrastructure, or ecosystem-tool) from public sources, produces a structured markdown profile,
|
|
14593
|
+
description: "Researches a software product (competitor, adjacent, incumbent, enabler, infrastructure, or ecosystem-tool) from public sources, produces a structured markdown profile, contributes rows to a shared feature matrix ranked against configurable segment-importance weights, maps features back to the BCM capability model and flags unmapped features, then enqueues downstream `bcm:outline`, `company:research`, and `people:research` issues for new sub-capabilities, the vendor company, and primary-attribution founders/leaders surfaced during profiling. One product per session, tracked by software:* GitHub issue labels.",
|
|
14460
14594
|
model: AGENT_MODEL.POWERFUL,
|
|
14461
14595
|
maxTurns: 80,
|
|
14462
14596
|
platforms: { cursor: { exclude: true } },
|
|
@@ -14466,8 +14600,9 @@ var softwareProfileAnalystSubAgent = {
|
|
|
14466
14600
|
"You research a single software product from public sources and write",
|
|
14467
14601
|
"a structured markdown profile. Each profile cycle runs across a small",
|
|
14468
14602
|
"sequence of GitHub issues \u2014 one per phase \u2014 and produces a single",
|
|
14469
|
-
"profile file on disk, a set of feature-matrix rows,
|
|
14470
|
-
"follow-up research
|
|
14603
|
+
"profile file on disk, a set of feature-matrix rows, a back-mapping",
|
|
14604
|
+
"onto the BCM capability model, and optional follow-up research",
|
|
14605
|
+
"issues for adjacent products.",
|
|
14471
14606
|
"",
|
|
14472
14607
|
"This agent is **domain-neutral**. It makes no assumptions about what",
|
|
14473
14608
|
"the consuming project sells, which industry it serves, or which",
|
|
@@ -14512,6 +14647,14 @@ var softwareProfileAnalystSubAgent = {
|
|
|
14512
14647
|
" weights belong in `docs/src/content/docs/project-context.md` (or an override",
|
|
14513
14648
|
" passed in the issue body). This agent reads them; it never",
|
|
14514
14649
|
" invents them.",
|
|
14650
|
+
"8. **Map back to the capability model.** The BCM capability model is",
|
|
14651
|
+
" the single source of truth for what the business does. Every",
|
|
14652
|
+
" feature on every profile is mapped to the owning capability in the",
|
|
14653
|
+
" BCM tree during the map phase. Features that match nothing in the",
|
|
14654
|
+
" tree are candidates for new BCM sub-capabilities \u2014 they are",
|
|
14655
|
+
" flagged and handed off to the `bcm-writer` bundle via",
|
|
14656
|
+
" `bcm:outline` issues. This agent never authors BCM documents",
|
|
14657
|
+
" itself.",
|
|
14515
14658
|
"",
|
|
14516
14659
|
"---",
|
|
14517
14660
|
"",
|
|
@@ -14577,14 +14720,15 @@ var softwareProfileAnalystSubAgent = {
|
|
|
14577
14720
|
"## State Machine Overview",
|
|
14578
14721
|
"",
|
|
14579
14722
|
"```",
|
|
14580
|
-
"\u250C\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\
|
|
14581
|
-
"\
|
|
14582
|
-
"\
|
|
14583
|
-
"\u2502
|
|
14584
|
-
"\
|
|
14585
|
-
"\
|
|
14586
|
-
"\
|
|
14587
|
-
"\
|
|
14723
|
+
"\u250C\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u250C\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u250C\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u250C\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510 \u250C\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510",
|
|
14724
|
+
"\u25021.RESEARCH\u2502\u2500\u25B6\u25022.PROFILE \u2502\u2500\u25B6\u25023.MATRIX \u2502\u2500\u25B6\u25024.MAP \u2502\u2500\u25B6\u25025.FOLLOWUP\u2502",
|
|
14725
|
+
"\u2502Collect \u2502 \u2502Write the \u2502 \u2502Extract \u2502 \u2502Map each \u2502 \u2502Enqueue \u2502",
|
|
14726
|
+
"\u2502public \u2502 \u2502structured\u2502 \u2502feature \u2502 \u2502feature to\u2502 \u2502research \u2502",
|
|
14727
|
+
"\u2502sources \u2502 \u2502markdown \u2502 \u2502rows and \u2502 \u2502BCM \u2502 \u2502for \u2502",
|
|
14728
|
+
"\u2502into \u2502 \u2502profile to\u2502 \u2502score \u2502 \u2502capability\u2502 \u2502adjacent \u2502",
|
|
14729
|
+
"\u2502bounded \u2502 \u2502<PROFILES>\u2502 \u2502against \u2502 \u2502and flag \u2502 \u2502products \u2502",
|
|
14730
|
+
"\u2502notes file\u2502 \u2502 \u2502 \u2502weights \u2502 \u2502gaps \u2502 \u2502surfaced \u2502",
|
|
14731
|
+
"\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518",
|
|
14588
14732
|
"```",
|
|
14589
14733
|
"",
|
|
14590
14734
|
"**Issue labels encode the phase:**",
|
|
@@ -14593,20 +14737,22 @@ var softwareProfileAnalystSubAgent = {
|
|
|
14593
14737
|
"|-------|-------|-------------|",
|
|
14594
14738
|
"| `software:research` | 1. Research | Gather public sources. Write a bounded research-notes file. Create the profile issue. |",
|
|
14595
14739
|
"| `software:profile` | 2. Profile | Read the research notes. Write the structured profile to `<PROFILES_DIR>`. Create the matrix issue. |",
|
|
14596
|
-
"| `software:matrix` | 3. Matrix | Read the profile. Extract feature rows into `<MATRIX_FILE>`. Score against segment weights. Create the
|
|
14597
|
-
"| `software:
|
|
14740
|
+
"| `software:matrix` | 3. Matrix | Read the profile. Extract feature rows into `<MATRIX_FILE>`. Score against segment weights. Create the map issue. |",
|
|
14741
|
+
"| `software:map` | 4. Map | Read the profile and matrix rows. Map each feature to the owning BCM capability. Write the mapping back onto the profile. Enqueue `bcm:outline` follow-ups for unmapped features above the configured threshold. Create the followup issue. |",
|
|
14742
|
+
"| `software:followup` | 5. Followup | Read the profile. Enqueue software-research issues for adjacent products surfaced in the profile. |",
|
|
14598
14743
|
"",
|
|
14599
14744
|
"All issues also carry `type:software-profile` and a `status:*` label.",
|
|
14600
14745
|
"",
|
|
14601
14746
|
"**Issue count per product cycle:** 1 research + 1 profile + 1 matrix +",
|
|
14602
|
-
"0\u20131 followup = **
|
|
14603
|
-
"the profile did not surface any adjacent product worth
|
|
14747
|
+
"1 map + 0\u20131 followup = **4\u20135 sessions**. The followup phase is",
|
|
14748
|
+
"skipped when the profile did not surface any adjacent product worth",
|
|
14749
|
+
"researching.",
|
|
14604
14750
|
"",
|
|
14605
14751
|
"**Shortened paths:**",
|
|
14606
14752
|
"- Research phase determines the product is out of scope (not",
|
|
14607
14753
|
" relevant, insufficient public material) \u2192 research issue closes",
|
|
14608
14754
|
" with a justification and no downstream issues are created \u2192 **1 session**.",
|
|
14609
|
-
"- Narrow product with no adjacent candidates \u2192 **
|
|
14755
|
+
"- Narrow product with no adjacent candidates \u2192 **4 sessions**.",
|
|
14610
14756
|
"",
|
|
14611
14757
|
"---",
|
|
14612
14758
|
"",
|
|
@@ -14625,11 +14771,25 @@ var softwareProfileAnalystSubAgent = {
|
|
|
14625
14771
|
"| `<PRODUCT_SLUG>` | Short kebab-case slug identifying the product | derived from the product name |",
|
|
14626
14772
|
"| `<COMPANY_PROFILES_DIR>` | Where existing company profiles live (for duplicate detection during followup) | `docs/companies/profiles/` |",
|
|
14627
14773
|
"| `<PEOPLE_PROFILES_DIR>` | Where existing people profiles live (for duplicate detection during followup) | `docs/people/profiles/` |",
|
|
14774
|
+
`| \`<BCM_DOC_ROOT>\` | Root folder for BCM capability-model documents (used by Phase 4 to locate capabilities) | \`${DEFAULT_AGENT_PATHS.bcmRoot}/\` |`,
|
|
14775
|
+
"| `<BCM_CAPABILITY_MAP>` | Capability-map file that lists the L1/L2/L3 hierarchy | `<BCM_DOC_ROOT>/capability-map.md` |",
|
|
14776
|
+
"| `<UNMAPPED_THRESHOLD>` | Minimum number of unmapped features on a single profile that triggers a `bcm:outline` follow-up for that feature cluster | `1` (every unmapped feature triggers a `bcm:outline`) |",
|
|
14628
14777
|
"",
|
|
14629
14778
|
"If `docs/src/content/docs/project-context.md` specifies a different software-research",
|
|
14630
14779
|
"tree (for example by reusing the research-pipeline deliverables",
|
|
14631
14780
|
"folder), prefer that. Otherwise fall back to the defaults above.",
|
|
14632
14781
|
"",
|
|
14782
|
+
"The `<BCM_DOC_ROOT>` default above is sourced from configulator's",
|
|
14783
|
+
"`DEFAULT_AGENT_PATHS.bcmRoot`. If the consuming project's capability",
|
|
14784
|
+
"model lives somewhere else, pass an override in the invoking issue",
|
|
14785
|
+
"body or extend this rule in `agentConfig.rules` \u2014 reading",
|
|
14786
|
+
"`agentConfig.paths.bcmRoot` directly is not currently wired through",
|
|
14787
|
+
"to rule content at synth time. Override `<UNMAPPED_THRESHOLD>` the",
|
|
14788
|
+
"same way when the default (one `bcm:outline` per unmapped feature)",
|
|
14789
|
+
"is too noisy \u2014 for example, raise it to `3` to require at least",
|
|
14790
|
+
"three unmapped features on a single profile before any follow-ups",
|
|
14791
|
+
"are filed.",
|
|
14792
|
+
"",
|
|
14633
14793
|
"---",
|
|
14634
14794
|
"",
|
|
14635
14795
|
"## Agent Loop",
|
|
@@ -14638,7 +14798,7 @@ var softwareProfileAnalystSubAgent = {
|
|
|
14638
14798
|
"",
|
|
14639
14799
|
"1. Claim one open `type:software-profile` issue using phase priority:",
|
|
14640
14800
|
" `software:research` > `software:profile` > `software:matrix` >",
|
|
14641
|
-
" `software:followup`.",
|
|
14801
|
+
" `software:map` > `software:followup`.",
|
|
14642
14802
|
"2. Transition `status:ready` \u2192 `status:in-progress` and create the",
|
|
14643
14803
|
" branch per your project's branch-naming convention.",
|
|
14644
14804
|
"3. Execute the phase handler that matches the issue's `software:*`",
|
|
@@ -14773,7 +14933,12 @@ var softwareProfileAnalystSubAgent = {
|
|
|
14773
14933
|
"",
|
|
14774
14934
|
" ## Features",
|
|
14775
14935
|
" <grouped bullet list of notable features, each cited. These become",
|
|
14776
|
-
" the rows in the feature matrix during Phase 3
|
|
14936
|
+
" the rows in the feature matrix during Phase 3 and the rows of the",
|
|
14937
|
+
" capability mapping during Phase 4.>",
|
|
14938
|
+
"",
|
|
14939
|
+
" ## Capability Mapping",
|
|
14940
|
+
" _To be filled in during Phase 4 (Map). Leave as",
|
|
14941
|
+
" `_Pending capability mapping \u2014 filled in Phase 4._` until then._",
|
|
14777
14942
|
"",
|
|
14778
14943
|
" ## Technology Signals",
|
|
14779
14944
|
" <stack hints from docs, integrations, and public engineering",
|
|
@@ -14879,18 +15044,141 @@ var softwareProfileAnalystSubAgent = {
|
|
|
14879
15044
|
"",
|
|
14880
15045
|
"5. **Update the matrix front-matter** (`updated: YYYY-MM-DD`).",
|
|
14881
15046
|
"",
|
|
14882
|
-
"6. **
|
|
14883
|
-
" `
|
|
14884
|
-
"
|
|
14885
|
-
"
|
|
14886
|
-
"
|
|
15047
|
+
"6. **Create the `software:map` issue** with",
|
|
15048
|
+
" `Depends on: #<matrix-issue>`. Its body references the profile",
|
|
15049
|
+
" path, the matrix file path, the BCM document root",
|
|
15050
|
+
" (`<BCM_DOC_ROOT>`), the capability map file",
|
|
15051
|
+
" (`<BCM_CAPABILITY_MAP>` if it exists), and the unmapped-feature",
|
|
15052
|
+
" threshold (`<UNMAPPED_THRESHOLD>`). The map phase always runs \u2014",
|
|
15053
|
+
" every profile is mapped back to the capability model regardless",
|
|
15054
|
+
" of whether any adjacent products were surfaced.",
|
|
14887
15055
|
"",
|
|
14888
15056
|
"7. **Commit and push** the matrix file (and any profile updates).",
|
|
14889
15057
|
" Close the matrix issue.",
|
|
14890
15058
|
"",
|
|
14891
15059
|
"---",
|
|
14892
15060
|
"",
|
|
14893
|
-
"## Phase 4:
|
|
15061
|
+
"## Phase 4: Map (`software:map`)",
|
|
15062
|
+
"",
|
|
15063
|
+
"**Goal:** Map each feature on the profile back to the owning",
|
|
15064
|
+
"capability in the BCM capability model, write the mapping onto the",
|
|
15065
|
+
"profile, and enqueue `bcm:outline` follow-ups for features that do",
|
|
15066
|
+
"not match any existing capability.",
|
|
15067
|
+
"",
|
|
15068
|
+
"**Budget:** No new web searches. Read the profile, matrix, and BCM",
|
|
15069
|
+
"tree; write the mapping section onto the profile; open",
|
|
15070
|
+
"`bcm:outline` issues for the gaps.",
|
|
15071
|
+
"",
|
|
15072
|
+
"### Capability Mapping Format",
|
|
15073
|
+
"",
|
|
15074
|
+
"The mapping lives in the `## Capability Mapping` section of the",
|
|
15075
|
+
"profile file. It is a table with one row per feature and explicit",
|
|
15076
|
+
"evidence for each mapping decision:",
|
|
15077
|
+
"",
|
|
15078
|
+
"```markdown",
|
|
15079
|
+
"## Capability Mapping",
|
|
15080
|
+
"",
|
|
15081
|
+
"_Mapped against `<BCM_CAPABILITY_MAP>` on YYYY-MM-DD._",
|
|
15082
|
+
"",
|
|
15083
|
+
"| feature | capability (id \xB7 name) | tier | confidence | notes |",
|
|
15084
|
+
"|---------|-----------------------|------|------------|-------|",
|
|
15085
|
+
"| <feature> | <bcm-id> \xB7 <capability name> | L1/L2/L3 | high/medium/low | <evidence or rationale> |",
|
|
15086
|
+
"| <feature> | _unmapped_ | \u2014 | \u2014 | Candidate for new BCM sub-capability. Tracked in #<bcm-outline-issue> |",
|
|
15087
|
+
"```",
|
|
15088
|
+
"",
|
|
15089
|
+
"Confidence levels:",
|
|
15090
|
+
"",
|
|
15091
|
+
"- **high** \u2014 the feature's jobs-to-be-done clearly match the",
|
|
15092
|
+
" capability's definition and business object.",
|
|
15093
|
+
"- **medium** \u2014 the feature plausibly maps to the capability, but the",
|
|
15094
|
+
" match is partial (e.g. the feature covers only one facet of the",
|
|
15095
|
+
" capability, or the capability's definition is broader than the",
|
|
15096
|
+
" feature).",
|
|
15097
|
+
"- **low** \u2014 the feature overlaps the capability only tangentially.",
|
|
15098
|
+
" Prefer `_unmapped_` over a low-confidence match when the feature",
|
|
15099
|
+
" is a genuine capability gap rather than a near-miss.",
|
|
15100
|
+
"",
|
|
15101
|
+
"### Steps",
|
|
15102
|
+
"",
|
|
15103
|
+
"1. **Load the BCM tree.** Read `<BCM_CAPABILITY_MAP>` if it exists,",
|
|
15104
|
+
" otherwise walk `<BCM_DOC_ROOT>/` for capability-model documents.",
|
|
15105
|
+
" Build an in-session index of `{ id, name, tier, business_object }`",
|
|
15106
|
+
" entries. If the tree is empty (no BCM documents yet), note the",
|
|
15107
|
+
" gap in the profile's `## Risks / Open Questions`, skip the",
|
|
15108
|
+
" per-feature mapping, and mark **every** feature as a candidate",
|
|
15109
|
+
" for a new sub-capability \u2014 subject to `<UNMAPPED_THRESHOLD>`.",
|
|
15110
|
+
"",
|
|
15111
|
+
"2. **Read the profile file** and extract the `## Features` bullets.",
|
|
15112
|
+
" Each bullet is one row in the mapping table.",
|
|
15113
|
+
"",
|
|
15114
|
+
"3. **Map each feature to the best-fit capability.** Preferred",
|
|
15115
|
+
" algorithm:",
|
|
15116
|
+
" - Match against the capability's **business object** first (the",
|
|
15117
|
+
" thing the capability acts on).",
|
|
15118
|
+
" - Then match against the capability's **definition** and",
|
|
15119
|
+
" jobs-to-be-done.",
|
|
15120
|
+
" - Tie-break in favor of the most specific (deepest tier)",
|
|
15121
|
+
" capability \u2014 an L3 match beats an L2 match that covers it.",
|
|
15122
|
+
"",
|
|
15123
|
+
"4. **Record low-confidence mappings explicitly** \u2014 never hide a weak",
|
|
15124
|
+
" match behind a high-confidence label. If the best available",
|
|
15125
|
+
" match is low-confidence, mark the feature `_unmapped_` instead",
|
|
15126
|
+
" and describe the near-miss in the `notes` column.",
|
|
15127
|
+
"",
|
|
15128
|
+
"5. **Count unmapped features.** If the count meets or exceeds",
|
|
15129
|
+
" `<UNMAPPED_THRESHOLD>` (default `1`), open one `bcm:outline`",
|
|
15130
|
+
" issue per unmapped feature. The issue must carry:",
|
|
15131
|
+
"",
|
|
15132
|
+
" - `type:bcm-document`",
|
|
15133
|
+
" - `bcm:outline`",
|
|
15134
|
+
" - `priority:medium`",
|
|
15135
|
+
" - `status:ready`",
|
|
15136
|
+
"",
|
|
15137
|
+
" The issue body must include:",
|
|
15138
|
+
" - A **discovery source** line naming this software profile",
|
|
15139
|
+
" (`Discovered while mapping: <product name>`)",
|
|
15140
|
+
" - A link to the software profile path",
|
|
15141
|
+
" (`Software profile: <PROFILES_DIR>/<PRODUCT_SLUG>.md`)",
|
|
15142
|
+
" - The feature name, its one-line description from the profile,",
|
|
15143
|
+
" and a candidate capability name framed as a noun (BIZBOK-aligned)",
|
|
15144
|
+
" - Enough identifying metadata that the `bcm-writer` agent can",
|
|
15145
|
+
" begin the outline phase without revisiting this software",
|
|
15146
|
+
" profile",
|
|
15147
|
+
"",
|
|
15148
|
+
"6. **Avoid duplicate `bcm:outline` issues.** Before opening one,",
|
|
15149
|
+
" scan `<BCM_DOC_ROOT>/` for an existing capability that covers",
|
|
15150
|
+
" the feature (in case the tree grew between the matrix and map",
|
|
15151
|
+
" phases) and scan open issues carrying `bcm:outline` so this",
|
|
15152
|
+
" phase never re-queues a capability that is already being",
|
|
15153
|
+
" outlined. If a match is found, reuse it as a cross-reference in",
|
|
15154
|
+
" the mapping table instead of opening a new issue.",
|
|
15155
|
+
"",
|
|
15156
|
+
"7. **Write the `## Capability Mapping` section** back onto the",
|
|
15157
|
+
" profile file, replacing the `_Pending capability mapping \u2014 filled",
|
|
15158
|
+
" in Phase 4._` placeholder. Preserve every other section of the",
|
|
15159
|
+
" profile verbatim \u2014 this phase only rewrites the mapping section.",
|
|
15160
|
+
"",
|
|
15161
|
+
"8. **Create the `software:followup` issue** with",
|
|
15162
|
+
" `Depends on: #<map-issue>`. Its body references the profile path",
|
|
15163
|
+
" and lists any adjacent products the profile's Follow-up",
|
|
15164
|
+
" Candidates section identified. Skip creating the followup issue",
|
|
15165
|
+
" only when the profile lists zero adjacent products, zero",
|
|
15166
|
+
" primary-attribution people, and the vendor already has a",
|
|
15167
|
+
" company profile \u2014 note the skip in the map issue's closing",
|
|
15168
|
+
" comment.",
|
|
15169
|
+
"",
|
|
15170
|
+
"9. **Assume the peer is present.** This phase assumes the",
|
|
15171
|
+
" `bcm-writer` bundle is enabled in the consuming project. If the",
|
|
15172
|
+
" bundle has been disabled, flag the map issue with",
|
|
15173
|
+
" `status:needs-attention` and list the unmapped features that",
|
|
15174
|
+
" could not be routed \u2014 never invent an alternative label",
|
|
15175
|
+
" taxonomy.",
|
|
15176
|
+
"",
|
|
15177
|
+
"10. **Commit and push** the updated profile. Close the map issue.",
|
|
15178
|
+
"",
|
|
15179
|
+
"---",
|
|
15180
|
+
"",
|
|
15181
|
+
"## Phase 5: Followup (`software:followup`)",
|
|
14894
15182
|
"",
|
|
14895
15183
|
"**Goal:** Create downstream research issues for the adjacent products,",
|
|
14896
15184
|
"vendor company, and primary-attribution people surfaced in the",
|
|
@@ -15010,10 +15298,15 @@ var softwareProfileAnalystSubAgent = {
|
|
|
15010
15298
|
"",
|
|
15011
15299
|
"- `<NOTES_DIR>/` \u2014 research-notes files (Phase 1)",
|
|
15012
15300
|
"- `<PROFILES_DIR>/` \u2014 software profiles (Phase 2, updated in later",
|
|
15013
|
-
" phases)",
|
|
15301
|
+
" phases including the `## Capability Mapping` section in Phase 4)",
|
|
15014
15302
|
"- `<MATRIX_FILE>` \u2014 shared feature matrix (Phase 3)",
|
|
15015
15303
|
"",
|
|
15016
|
-
"In Phase 4, this agent
|
|
15304
|
+
"In Phase 4, this agent **creates `bcm:outline` issues** for every",
|
|
15305
|
+
"unmapped feature that meets the `<UNMAPPED_THRESHOLD>` so the",
|
|
15306
|
+
"`bcm-writer` bundle can author the new sub-capability. It never",
|
|
15307
|
+
"authors BCM capability-model documents itself.",
|
|
15308
|
+
"",
|
|
15309
|
+
"In Phase 5, this agent also **creates `company:research` and",
|
|
15017
15310
|
"`people:research` issues** for the vendor company and primary-",
|
|
15018
15311
|
"attribution people surfaced in the profile that are not already",
|
|
15019
15312
|
"tracked under `<COMPANY_PROFILES_DIR>/` or `<PEOPLE_PROFILES_DIR>/`.",
|
|
@@ -15022,15 +15315,18 @@ var softwareProfileAnalystSubAgent = {
|
|
|
15022
15315
|
"`people-profile-analyst` agents, which pick up the issues this",
|
|
15023
15316
|
"pipeline creates.",
|
|
15024
15317
|
"",
|
|
15025
|
-
"The pipeline produces **software profiles, notes, and
|
|
15026
|
-
"
|
|
15027
|
-
"
|
|
15028
|
-
"
|
|
15029
|
-
"
|
|
15318
|
+
"The pipeline produces **software profiles, notes, matrix rows, and capability mappings**.",
|
|
15319
|
+
"Deeper research on adjacent products is delegated to new cycles of",
|
|
15320
|
+
"this same pipeline via `software:research` issues. New BCM",
|
|
15321
|
+
"sub-capabilities for unmapped features are delegated to the",
|
|
15322
|
+
"`bcm-writer` bundle via `bcm:outline` issues. Deeper research on",
|
|
15323
|
+
"the vendor company and primary-attribution people is delegated to",
|
|
15324
|
+
"the `company-profile` and `people-profile` bundles via",
|
|
15030
15325
|
"`company:research` and `people:research` issues. This agent never",
|
|
15031
|
-
"writes company profiles, person profiles, formal
|
|
15032
|
-
"documents, or comparative long-form analyses itself.
|
|
15033
|
-
"boundary clean so the software-profile pipeline stays
|
|
15326
|
+
"writes BCM documents, company profiles, person profiles, formal",
|
|
15327
|
+
"requirement documents, or comparative long-form analyses itself.",
|
|
15328
|
+
"Keep this boundary clean so the software-profile pipeline stays",
|
|
15329
|
+
"generic.",
|
|
15034
15330
|
"",
|
|
15035
15331
|
"---",
|
|
15036
15332
|
"",
|
|
@@ -15045,31 +15341,41 @@ var softwareProfileAnalystSubAgent = {
|
|
|
15045
15341
|
" `docs/src/content/docs/project-context.md` or an explicit issue-body override. If",
|
|
15046
15342
|
" neither is available, fall back to the single-segment default and",
|
|
15047
15343
|
" flag the gap \u2014 never guess.",
|
|
15048
|
-
"- **Delegate, don't duplicate.**
|
|
15049
|
-
"
|
|
15050
|
-
"
|
|
15051
|
-
"
|
|
15052
|
-
"
|
|
15053
|
-
"
|
|
15054
|
-
"
|
|
15055
|
-
"
|
|
15056
|
-
"
|
|
15344
|
+
"- **Delegate, don't duplicate.** Unmapped capabilities are handed off",
|
|
15345
|
+
" to the `bcm-writer` bundle via `bcm:outline` issues in Phase 4.",
|
|
15346
|
+
" The vendor company and primary-attribution people surfaced during",
|
|
15347
|
+
" profiling are handed off to the `company-profile` and",
|
|
15348
|
+
" `people-profile` bundles via `company:research` and",
|
|
15349
|
+
" `people:research` issues in Phase 5 \u2014 never inlined as BCM",
|
|
15350
|
+
" documents, company profiles, or person profiles in this pipeline.",
|
|
15351
|
+
"- **Check before enqueueing.** Before opening a `bcm:outline`,",
|
|
15352
|
+
" `company:research`, or `people:research` issue, verify no existing",
|
|
15353
|
+
" document or open issue already covers the candidate. Reuse",
|
|
15354
|
+
" existing BCM documents and profiles as cross-references rather",
|
|
15355
|
+
" than re-queuing work.",
|
|
15356
|
+
"- **Respect the threshold.** Phase 4 opens `bcm:outline` issues only",
|
|
15357
|
+
" when the count of unmapped features on a single profile meets or",
|
|
15358
|
+
" exceeds `<UNMAPPED_THRESHOLD>`. The default is `1` \u2014 one unmapped",
|
|
15359
|
+
" feature triggers one outline issue. Raise the threshold in the",
|
|
15360
|
+
" invoking issue body or in the consuming project's",
|
|
15361
|
+
" `agentConfig.rules` when the default is too noisy.",
|
|
15057
15362
|
"- **Restrain the queue \u2014 people only.** The vendor company always",
|
|
15058
15363
|
" qualifies (duplicate check aside). For people, only enqueue",
|
|
15059
15364
|
" research for those with **primary attribution** \u2014 founders, the",
|
|
15060
15365
|
" current CEO, principal creators, lead maintainers, or the head of",
|
|
15061
15366
|
" product. Do not open issues for every name on the vendor's about",
|
|
15062
15367
|
" page, every investor, or every advisor.",
|
|
15063
|
-
"- **Produce profiles
|
|
15064
|
-
" documents
|
|
15065
|
-
"
|
|
15066
|
-
"
|
|
15067
|
-
"
|
|
15368
|
+
"- **Produce profiles, matrix rows, and capability mappings \u2014 not",
|
|
15369
|
+
" BCM documents, requirement documents, or evaluation documents.**",
|
|
15370
|
+
" Do not open `type:requirement` or formal evaluation issues from",
|
|
15371
|
+
" this pipeline, and never author BCM capability-model documents",
|
|
15372
|
+
" inline. Follow-up work is scoped through `software:research`,",
|
|
15373
|
+
" `bcm:outline`, `company:research`, and `people:research` only."
|
|
15068
15374
|
].join("\n")
|
|
15069
15375
|
};
|
|
15070
15376
|
var profileSoftwareSkill = {
|
|
15071
15377
|
name: "profile-software",
|
|
15072
|
-
description: "Kick off a software-profile pipeline. Creates a software:research issue for the given product and dispatches Phase 1 (Research) in the software-profile-analyst agent. Phase 4 (Followup) enqueues downstream `company:research` and `people:research` issues for the vendor company and primary-attribution founders/leaders surfaced in the profile.",
|
|
15378
|
+
description: "Kick off a software-profile pipeline. Creates a software:research issue for the given product and dispatches Phase 1 (Research) in the software-profile-analyst agent. Phase 4 (Map) writes a BCM capability mapping onto the profile and enqueues `bcm:outline` issues for unmapped features. Phase 5 (Followup) enqueues downstream `company:research` and `people:research` issues for the vendor company and primary-attribution founders/leaders surfaced in the profile.",
|
|
15073
15379
|
disableModelInvocation: true,
|
|
15074
15380
|
userInvocable: true,
|
|
15075
15381
|
context: "fork",
|
|
@@ -15096,6 +15402,9 @@ var profileSoftwareSkill = {
|
|
|
15096
15402
|
"- `weights: <table>` \u2014 override the segment-importance weights for",
|
|
15097
15403
|
" this profile cycle (otherwise loaded from",
|
|
15098
15404
|
" `docs/src/content/docs/project-context.md`)",
|
|
15405
|
+
"- `unmapped_threshold: <n>` \u2014 override the Phase 4 threshold for",
|
|
15406
|
+
" opening `bcm:outline` issues (default `1` \u2014 one unmapped feature",
|
|
15407
|
+
" triggers one outline issue)",
|
|
15099
15408
|
"- `sources: <list>` \u2014 additional authorized sources beyond public web",
|
|
15100
15409
|
"",
|
|
15101
15410
|
"## Default Paths",
|
|
@@ -15115,16 +15424,20 @@ var profileSoftwareSkill = {
|
|
|
15115
15424
|
"2. Execute Phase 1 (Research) of the software-profile-analyst",
|
|
15116
15425
|
" agent.",
|
|
15117
15426
|
"3. Phase 1 creates the `software:profile` issue. Phase 2 creates",
|
|
15118
|
-
" the `software:matrix` issue. Phase 3
|
|
15119
|
-
" `software:followup` issue
|
|
15120
|
-
"
|
|
15427
|
+
" the `software:matrix` issue. Phase 3 creates the `software:map`",
|
|
15428
|
+
" issue. Phase 4 creates the `software:followup` issue (unless the",
|
|
15429
|
+
" profile surfaced zero follow-ups). Each downstream issue",
|
|
15430
|
+
" declares its `Depends on:` predecessor.",
|
|
15121
15431
|
"",
|
|
15122
15432
|
"## Output",
|
|
15123
15433
|
"",
|
|
15124
15434
|
"- A research-notes file under the project's notes directory",
|
|
15125
|
-
"- A single software profile under the profiles directory",
|
|
15435
|
+
"- A single software profile under the profiles directory, including",
|
|
15436
|
+
" a `## Capability Mapping` section written in Phase 4",
|
|
15126
15437
|
"- One or more rows appended to the shared feature-matrix file,",
|
|
15127
15438
|
" scored against the configured segment weights",
|
|
15439
|
+
"- `bcm:outline` issues for each unmapped feature above the",
|
|
15440
|
+
" configured threshold (handed off to the `bcm-writer` bundle)",
|
|
15128
15441
|
"- Optional follow-up `software:research` issues for adjacent",
|
|
15129
15442
|
" products surfaced in the profile",
|
|
15130
15443
|
"- `company:research` issue for the vendor company (handed off to",
|
|
@@ -15132,46 +15445,132 @@ var profileSoftwareSkill = {
|
|
|
15132
15445
|
"- `people:research` issues for primary-attribution founders, CEOs,",
|
|
15133
15446
|
" or principal creators (handed off to the `people-profile`",
|
|
15134
15447
|
" bundle)",
|
|
15135
|
-
"- This pipeline produces **software profiles, notes,
|
|
15136
|
-
"
|
|
15137
|
-
" profiles, or formal requirement
|
|
15448
|
+
"- This pipeline produces **software profiles, notes, matrix rows,",
|
|
15449
|
+
" and capability mappings** \u2014 it does not write BCM documents,",
|
|
15450
|
+
" company profiles, person profiles, or formal requirement",
|
|
15451
|
+
" documents itself."
|
|
15452
|
+
].join("\n")
|
|
15453
|
+
};
|
|
15454
|
+
var mapSoftwareSkill = {
|
|
15455
|
+
name: "map-software",
|
|
15456
|
+
description: "Kick off a standalone software-capability mapping session. Creates a software:map issue for an already-profiled product and dispatches Phase 4 (Map) in the software-profile-analyst agent. Produces the `## Capability Mapping` section on the profile and enqueues `bcm:outline` issues for unmapped features above the configured threshold.",
|
|
15457
|
+
disableModelInvocation: true,
|
|
15458
|
+
userInvocable: true,
|
|
15459
|
+
context: "fork",
|
|
15460
|
+
agent: "software-profile-analyst",
|
|
15461
|
+
platforms: { cursor: { exclude: true } },
|
|
15462
|
+
instructions: [
|
|
15463
|
+
"# Map Software",
|
|
15464
|
+
"",
|
|
15465
|
+
"Kick off a standalone `software:map` session for a product that",
|
|
15466
|
+
"already has a profile file and matrix rows on disk. Creates a",
|
|
15467
|
+
"`software:map` issue carrying the profile path and dispatches Phase",
|
|
15468
|
+
"4 (Map) in the software-profile-analyst agent.",
|
|
15469
|
+
"",
|
|
15470
|
+
"Use this skill when:",
|
|
15471
|
+
"",
|
|
15472
|
+
"- A profile was written before the map phase existed and is still",
|
|
15473
|
+
" carrying the `_Pending capability mapping \u2014 filled in Phase 4._`",
|
|
15474
|
+
" placeholder.",
|
|
15475
|
+
"- The BCM tree has grown enough that a previously-mapped profile",
|
|
15476
|
+
" should be re-mapped against the updated capability model.",
|
|
15477
|
+
"- A profile's features were edited after the map phase ran and the",
|
|
15478
|
+
" mapping table is now out of date.",
|
|
15479
|
+
"",
|
|
15480
|
+
"## Usage",
|
|
15481
|
+
"",
|
|
15482
|
+
"/map-software <product-slug-or-profile-path>",
|
|
15483
|
+
"",
|
|
15484
|
+
"Optional extensions in the issue body:",
|
|
15485
|
+
"- `unmapped_threshold: <n>` \u2014 override the threshold for opening",
|
|
15486
|
+
" `bcm:outline` issues (default `1`)",
|
|
15487
|
+
"- `bcm_doc_root: <path>` \u2014 override the BCM document root",
|
|
15488
|
+
" (otherwise the configulator default at",
|
|
15489
|
+
" `DEFAULT_AGENT_PATHS.bcmRoot`)",
|
|
15490
|
+
"- `capability_map: <path>` \u2014 override the capability-map file",
|
|
15491
|
+
" (otherwise `<BCM_DOC_ROOT>/capability-map.md`)",
|
|
15492
|
+
"",
|
|
15493
|
+
"## Default Paths",
|
|
15494
|
+
"",
|
|
15495
|
+
"If the project has no override in `docs/src/content/docs/project-context.md` or",
|
|
15496
|
+
"`agentConfig.rules`, the mapping reads from:",
|
|
15497
|
+
"",
|
|
15498
|
+
`- \`${DEFAULT_AGENT_PATHS.bcmRoot}/\` \u2014 BCM capability-model documents`,
|
|
15499
|
+
`- \`${DEFAULT_AGENT_PATHS.bcmRoot}/capability-map.md\` \u2014 capability map`,
|
|
15500
|
+
"",
|
|
15501
|
+
"and writes back to `docs/software/profiles/<slug>.md` under the",
|
|
15502
|
+
"`## Capability Mapping` section only. No other section of the",
|
|
15503
|
+
"profile is rewritten.",
|
|
15504
|
+
"",
|
|
15505
|
+
"## Steps",
|
|
15506
|
+
"",
|
|
15507
|
+
"1. Create a `software:map` issue with `type:software-profile`,",
|
|
15508
|
+
" `priority:medium`, and `status:ready`. Body must include the",
|
|
15509
|
+
" profile path and any overrides.",
|
|
15510
|
+
"2. Execute Phase 4 (Map) of the software-profile-analyst agent.",
|
|
15511
|
+
"3. Phase 4 writes the `## Capability Mapping` section, enqueues",
|
|
15512
|
+
" `bcm:outline` issues for unmapped features above the threshold,",
|
|
15513
|
+
" and \u2014 when the profile lists adjacent products or",
|
|
15514
|
+
" primary-attribution people \u2014 creates the `software:followup`",
|
|
15515
|
+
" issue.",
|
|
15516
|
+
"",
|
|
15517
|
+
"## Output",
|
|
15518
|
+
"",
|
|
15519
|
+
"- An updated `## Capability Mapping` section on the target profile",
|
|
15520
|
+
"- `bcm:outline` issues for each unmapped feature above the",
|
|
15521
|
+
" configured threshold (handed off to the `bcm-writer` bundle)",
|
|
15522
|
+
"- An optional `software:followup` issue when the profile surfaced",
|
|
15523
|
+
" adjacent products, a vendor company without an existing profile,",
|
|
15524
|
+
" or primary-attribution people",
|
|
15525
|
+
"- This skill does not run Phase 1\u20133 \u2014 it assumes the profile and",
|
|
15526
|
+
" matrix rows already exist on disk."
|
|
15138
15527
|
].join("\n")
|
|
15139
15528
|
};
|
|
15140
15529
|
var softwareProfileBundle = {
|
|
15141
15530
|
name: "software-profile",
|
|
15142
|
-
description: "Software research, profiling,
|
|
15531
|
+
description: "Software research, profiling, feature-matrix, and capability-mapping pipeline: research, profile, matrix, map, followup. Enabled by default; domain-neutral; filesystem-durable between phases; ranks features against configurable segment-importance weights and maps features back to the BCM capability model. Phase 4 (Map) hands unmapped features off to the `bcm-writer` bundle via `bcm:outline` issues. Phase 5 (Followup) hands the vendor company and primary-attribution founders/leaders off to the `company-profile` and `people-profile` bundles via `company:research` and `people:research` issues.",
|
|
15143
15532
|
appliesWhen: () => true,
|
|
15144
15533
|
rules: [
|
|
15145
15534
|
{
|
|
15146
15535
|
name: "software-profile-workflow",
|
|
15147
|
-
description: "Describes the
|
|
15536
|
+
description: "Describes the 5-phase software-profile pipeline, the software:* label taxonomy, the generic software-type taxonomy, the segment-weights convention that drives feature-matrix scoring, and the capability-mapping hand-off to the bcm-writer bundle.",
|
|
15148
15537
|
scope: AGENT_RULE_SCOPE.ALWAYS,
|
|
15149
15538
|
content: [
|
|
15150
15539
|
"# Software Profile Workflow",
|
|
15151
15540
|
"",
|
|
15152
15541
|
"Use `/profile-software <product-name>` to kick off a software",
|
|
15153
|
-
"research, profiling,
|
|
15154
|
-
"runs in up to
|
|
15155
|
-
"each tracked by its own GitHub
|
|
15156
|
-
"`software:research`, `software:profile`,
|
|
15157
|
-
"`software:
|
|
15158
|
-
"",
|
|
15159
|
-
"
|
|
15160
|
-
"
|
|
15161
|
-
"
|
|
15162
|
-
"
|
|
15163
|
-
"
|
|
15164
|
-
"
|
|
15165
|
-
"
|
|
15166
|
-
"
|
|
15167
|
-
"
|
|
15168
|
-
"
|
|
15169
|
-
"
|
|
15542
|
+
"research, profiling, feature-matrix, and capability-mapping",
|
|
15543
|
+
"pipeline. The pipeline runs in up to 5 phases \u2014 research,",
|
|
15544
|
+
"profile, matrix, map, followup \u2014 each tracked by its own GitHub",
|
|
15545
|
+
"issue labeled `software:research`, `software:profile`,",
|
|
15546
|
+
"`software:matrix`, `software:map`, or `software:followup`. All",
|
|
15547
|
+
"issues carry `type:software-profile`.",
|
|
15548
|
+
"",
|
|
15549
|
+
"The pipeline produces **software profiles, research notes, rows",
|
|
15550
|
+
"in a shared feature matrix, and capability mappings onto the",
|
|
15551
|
+
"BCM tree**. Features are ranked against segment-importance",
|
|
15552
|
+
"weights declared in `docs/src/content/docs/project-context.md`",
|
|
15553
|
+
"under a `## Segment Weights` section. Features that do not map",
|
|
15554
|
+
"to any existing capability in the BCM tree are flagged during",
|
|
15555
|
+
"the map phase as candidates for new BCM sub-capabilities and",
|
|
15556
|
+
"handed off to the `bcm-writer` bundle via `bcm:outline` issues",
|
|
15557
|
+
"(subject to a configurable threshold). Deeper research on",
|
|
15558
|
+
"adjacent products surfaced in a profile is delegated to new",
|
|
15559
|
+
"cycles of this same pipeline via `software:followup` issues.",
|
|
15560
|
+
"Deeper research on the vendor company and primary-attribution",
|
|
15561
|
+
"founders/product leaders is delegated to the `company-profile`",
|
|
15562
|
+
"and `people-profile` bundles via `company:research` and",
|
|
15563
|
+
"`people:research` issues opened during Phase 5 (Followup).",
|
|
15564
|
+
"",
|
|
15565
|
+
"Use `/map-software <product-slug>` to kick off a standalone",
|
|
15566
|
+
"`software:map` session for a profile that already exists on",
|
|
15567
|
+
"disk \u2014 for example, when the BCM tree has grown enough that a",
|
|
15568
|
+
"previously-mapped profile should be re-mapped.",
|
|
15170
15569
|
"",
|
|
15171
15570
|
"See the `software-profile-analyst` agent definition for full",
|
|
15172
15571
|
"workflow details, default paths, the software-type taxonomy,",
|
|
15173
|
-
"the segment-weights convention,
|
|
15174
|
-
"instructions."
|
|
15572
|
+
"the segment-weights convention, the capability-mapping format,",
|
|
15573
|
+
"and phase-by-phase instructions."
|
|
15175
15574
|
].join("\n"),
|
|
15176
15575
|
platforms: {
|
|
15177
15576
|
cursor: { exclude: true }
|
|
@@ -15179,13 +15578,13 @@ var softwareProfileBundle = {
|
|
|
15179
15578
|
tags: ["workflow"]
|
|
15180
15579
|
}
|
|
15181
15580
|
],
|
|
15182
|
-
skills: [profileSoftwareSkill],
|
|
15581
|
+
skills: [profileSoftwareSkill, mapSoftwareSkill],
|
|
15183
15582
|
subAgents: [softwareProfileAnalystSubAgent],
|
|
15184
15583
|
labels: [
|
|
15185
15584
|
{
|
|
15186
15585
|
name: "type:software-profile",
|
|
15187
15586
|
color: "0E8A16",
|
|
15188
|
-
description: "Work that produces or maintains a software profile, research notes,
|
|
15587
|
+
description: "Work that produces or maintains a software profile, research notes, feature-matrix rows, or capability mappings"
|
|
15189
15588
|
},
|
|
15190
15589
|
{
|
|
15191
15590
|
name: "software:research",
|
|
@@ -15202,10 +15601,15 @@ var softwareProfileBundle = {
|
|
|
15202
15601
|
color: "D4C5F9",
|
|
15203
15602
|
description: "Phase 3: extract feature rows into the shared feature matrix and score them against segment weights"
|
|
15204
15603
|
},
|
|
15604
|
+
{
|
|
15605
|
+
name: "software:map",
|
|
15606
|
+
color: "A2EEEF",
|
|
15607
|
+
description: "Phase 4: map each feature back to the BCM capability model, write the mapping onto the profile, and enqueue `bcm:outline` issues for unmapped features above the configured threshold"
|
|
15608
|
+
},
|
|
15205
15609
|
{
|
|
15206
15610
|
name: "software:followup",
|
|
15207
15611
|
color: "FBCA04",
|
|
15208
|
-
description: "Phase
|
|
15612
|
+
description: "Phase 5: enqueue follow-up research issues for adjacent products, the vendor company, and primary-attribution people surfaced in the profile"
|
|
15209
15613
|
}
|
|
15210
15614
|
]
|
|
15211
15615
|
};
|
|
@@ -16088,18 +16492,24 @@ function renderMeetingTypes(types, agendaTemplateRoot) {
|
|
|
16088
16492
|
"This project declares a meeting-type taxonomy through",
|
|
16089
16493
|
"`AgentConfigOptions.meetings.meetingTypes`. When classifying a",
|
|
16090
16494
|
"meeting transcript, pick the `id` from this list that best fits the",
|
|
16091
|
-
"meeting; do **not** invent new type identifiers.
|
|
16092
|
-
`
|
|
16093
|
-
"",
|
|
16094
|
-
"
|
|
16095
|
-
"
|
|
16495
|
+
"meeting; do **not** invent new type identifiers. The `Kind` column",
|
|
16496
|
+
"maps each concrete `id` onto the generic meeting-kind taxonomy",
|
|
16497
|
+
"(`planning` / `review` / `brainstorm` / `standup` / `external` /",
|
|
16498
|
+
"`other`) documented in the **Meeting type handling** section \u2014",
|
|
16499
|
+
"apply the type-specific rules listed there based on this kind.",
|
|
16500
|
+
"Agenda-template paths below are resolved relative to",
|
|
16501
|
+
`\`${resolvedRoot}\`.`,
|
|
16502
|
+
"",
|
|
16503
|
+
"| ID | Label | Kind | Scope | Cadence | Default duration | Agenda template |",
|
|
16504
|
+
"|----|-------|------|-------|---------|------------------|-----------------|"
|
|
16096
16505
|
];
|
|
16097
16506
|
for (const type of types) {
|
|
16507
|
+
const kind = type.kind ? `\`${type.kind}\`` : "\u2014";
|
|
16098
16508
|
const cadence = type.cadence ? `\`${type.cadence}\`` : "\u2014";
|
|
16099
16509
|
const duration = type.defaultDurationMinutes !== void 0 ? `${type.defaultDurationMinutes} min` : "\u2014";
|
|
16100
16510
|
const template = type.agendaTemplatePath ? `\`${type.agendaTemplatePath}\`` : "\u2014";
|
|
16101
16511
|
lines.push(
|
|
16102
|
-
`| \`${type.id}\` | ${type.label} | \`${type.scope}\` | ${cadence} | ${duration} | ${template} |`
|
|
16512
|
+
`| \`${type.id}\` | ${type.label} | ${kind} | \`${type.scope}\` | ${cadence} | ${duration} | ${template} |`
|
|
16103
16513
|
);
|
|
16104
16514
|
}
|
|
16105
16515
|
return lines.join("\n");
|
|
@@ -16110,10 +16520,12 @@ function renderMeetingAreas(areas) {
|
|
|
16110
16520
|
"",
|
|
16111
16521
|
"This project declares a meeting-area routing map through",
|
|
16112
16522
|
"`AgentConfigOptions.meetings.meetingAreas`. When a meeting note's",
|
|
16113
|
-
"frontmatter carries an `
|
|
16114
|
-
"
|
|
16115
|
-
"
|
|
16116
|
-
"
|
|
16523
|
+
"frontmatter carries an `areas:` list, route phase-4 direct edits",
|
|
16524
|
+
"into the corresponding sub-trees of the docs root",
|
|
16525
|
+
"(`AgentPathsConfig.docsRoot`). See the **Areas filtering** section",
|
|
16526
|
+
"of the `meeting-analyst` agent for the full gating contract.",
|
|
16527
|
+
"Meetings whose `areas` list is empty or does not match any",
|
|
16528
|
+
"declared entry fall back to the default meetings root.",
|
|
16117
16529
|
"",
|
|
16118
16530
|
"| Area ID | Label | Doc-root sub-folder |",
|
|
16119
16531
|
"|---------|-------|---------------------|"
|