@codedrifters/configulator 0.0.261 → 0.0.262
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 +8 -7
- package/lib/index.d.ts +8 -7
- package/lib/index.js +350 -80
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +350 -80
- package/lib/index.mjs.map +1 -1
- package/package.json +1 -1
package/lib/index.mjs
CHANGED
|
@@ -14358,7 +14358,7 @@ var slackBundle = {
|
|
|
14358
14358
|
// src/agent/bundles/software-profile.ts
|
|
14359
14359
|
var softwareProfileAnalystSubAgent = {
|
|
14360
14360
|
name: "software-profile-analyst",
|
|
14361
|
-
description: "Researches a software product (competitor, adjacent, incumbent, enabler, infrastructure, or ecosystem-tool) from public sources, produces a structured markdown profile,
|
|
14361
|
+
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.",
|
|
14362
14362
|
model: AGENT_MODEL.POWERFUL,
|
|
14363
14363
|
maxTurns: 80,
|
|
14364
14364
|
platforms: { cursor: { exclude: true } },
|
|
@@ -14368,8 +14368,9 @@ var softwareProfileAnalystSubAgent = {
|
|
|
14368
14368
|
"You research a single software product from public sources and write",
|
|
14369
14369
|
"a structured markdown profile. Each profile cycle runs across a small",
|
|
14370
14370
|
"sequence of GitHub issues \u2014 one per phase \u2014 and produces a single",
|
|
14371
|
-
"profile file on disk, a set of feature-matrix rows,
|
|
14372
|
-
"follow-up research
|
|
14371
|
+
"profile file on disk, a set of feature-matrix rows, a back-mapping",
|
|
14372
|
+
"onto the BCM capability model, and optional follow-up research",
|
|
14373
|
+
"issues for adjacent products.",
|
|
14373
14374
|
"",
|
|
14374
14375
|
"This agent is **domain-neutral**. It makes no assumptions about what",
|
|
14375
14376
|
"the consuming project sells, which industry it serves, or which",
|
|
@@ -14414,6 +14415,14 @@ var softwareProfileAnalystSubAgent = {
|
|
|
14414
14415
|
" weights belong in `docs/src/content/docs/project-context.md` (or an override",
|
|
14415
14416
|
" passed in the issue body). This agent reads them; it never",
|
|
14416
14417
|
" invents them.",
|
|
14418
|
+
"8. **Map back to the capability model.** The BCM capability model is",
|
|
14419
|
+
" the single source of truth for what the business does. Every",
|
|
14420
|
+
" feature on every profile is mapped to the owning capability in the",
|
|
14421
|
+
" BCM tree during the map phase. Features that match nothing in the",
|
|
14422
|
+
" tree are candidates for new BCM sub-capabilities \u2014 they are",
|
|
14423
|
+
" flagged and handed off to the `bcm-writer` bundle via",
|
|
14424
|
+
" `bcm:outline` issues. This agent never authors BCM documents",
|
|
14425
|
+
" itself.",
|
|
14417
14426
|
"",
|
|
14418
14427
|
"---",
|
|
14419
14428
|
"",
|
|
@@ -14479,14 +14488,15 @@ var softwareProfileAnalystSubAgent = {
|
|
|
14479
14488
|
"## State Machine Overview",
|
|
14480
14489
|
"",
|
|
14481
14490
|
"```",
|
|
14482
|
-
"\u250C\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\
|
|
14483
|
-
"\
|
|
14484
|
-
"\
|
|
14485
|
-
"\u2502
|
|
14486
|
-
"\
|
|
14487
|
-
"\
|
|
14488
|
-
"\
|
|
14489
|
-
"\
|
|
14491
|
+
"\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",
|
|
14492
|
+
"\u25021.RESEARCH\u2502\u2500\u25B6\u25022.PROFILE \u2502\u2500\u25B6\u25023.MATRIX \u2502\u2500\u25B6\u25024.MAP \u2502\u2500\u25B6\u25025.FOLLOWUP\u2502",
|
|
14493
|
+
"\u2502Collect \u2502 \u2502Write the \u2502 \u2502Extract \u2502 \u2502Map each \u2502 \u2502Enqueue \u2502",
|
|
14494
|
+
"\u2502public \u2502 \u2502structured\u2502 \u2502feature \u2502 \u2502feature to\u2502 \u2502research \u2502",
|
|
14495
|
+
"\u2502sources \u2502 \u2502markdown \u2502 \u2502rows and \u2502 \u2502BCM \u2502 \u2502for \u2502",
|
|
14496
|
+
"\u2502into \u2502 \u2502profile to\u2502 \u2502score \u2502 \u2502capability\u2502 \u2502adjacent \u2502",
|
|
14497
|
+
"\u2502bounded \u2502 \u2502<PROFILES>\u2502 \u2502against \u2502 \u2502and flag \u2502 \u2502products \u2502",
|
|
14498
|
+
"\u2502notes file\u2502 \u2502 \u2502 \u2502weights \u2502 \u2502gaps \u2502 \u2502surfaced \u2502",
|
|
14499
|
+
"\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",
|
|
14490
14500
|
"```",
|
|
14491
14501
|
"",
|
|
14492
14502
|
"**Issue labels encode the phase:**",
|
|
@@ -14495,20 +14505,22 @@ var softwareProfileAnalystSubAgent = {
|
|
|
14495
14505
|
"|-------|-------|-------------|",
|
|
14496
14506
|
"| `software:research` | 1. Research | Gather public sources. Write a bounded research-notes file. Create the profile issue. |",
|
|
14497
14507
|
"| `software:profile` | 2. Profile | Read the research notes. Write the structured profile to `<PROFILES_DIR>`. Create the matrix issue. |",
|
|
14498
|
-
"| `software:matrix` | 3. Matrix | Read the profile. Extract feature rows into `<MATRIX_FILE>`. Score against segment weights. Create the
|
|
14499
|
-
"| `software:
|
|
14508
|
+
"| `software:matrix` | 3. Matrix | Read the profile. Extract feature rows into `<MATRIX_FILE>`. Score against segment weights. Create the map issue. |",
|
|
14509
|
+
"| `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. |",
|
|
14510
|
+
"| `software:followup` | 5. Followup | Read the profile. Enqueue software-research issues for adjacent products surfaced in the profile. |",
|
|
14500
14511
|
"",
|
|
14501
14512
|
"All issues also carry `type:software-profile` and a `status:*` label.",
|
|
14502
14513
|
"",
|
|
14503
14514
|
"**Issue count per product cycle:** 1 research + 1 profile + 1 matrix +",
|
|
14504
|
-
"0\u20131 followup = **
|
|
14505
|
-
"the profile did not surface any adjacent product worth
|
|
14515
|
+
"1 map + 0\u20131 followup = **4\u20135 sessions**. The followup phase is",
|
|
14516
|
+
"skipped when the profile did not surface any adjacent product worth",
|
|
14517
|
+
"researching.",
|
|
14506
14518
|
"",
|
|
14507
14519
|
"**Shortened paths:**",
|
|
14508
14520
|
"- Research phase determines the product is out of scope (not",
|
|
14509
14521
|
" relevant, insufficient public material) \u2192 research issue closes",
|
|
14510
14522
|
" with a justification and no downstream issues are created \u2192 **1 session**.",
|
|
14511
|
-
"- Narrow product with no adjacent candidates \u2192 **
|
|
14523
|
+
"- Narrow product with no adjacent candidates \u2192 **4 sessions**.",
|
|
14512
14524
|
"",
|
|
14513
14525
|
"---",
|
|
14514
14526
|
"",
|
|
@@ -14527,11 +14539,25 @@ var softwareProfileAnalystSubAgent = {
|
|
|
14527
14539
|
"| `<PRODUCT_SLUG>` | Short kebab-case slug identifying the product | derived from the product name |",
|
|
14528
14540
|
"| `<COMPANY_PROFILES_DIR>` | Where existing company profiles live (for duplicate detection during followup) | `docs/companies/profiles/` |",
|
|
14529
14541
|
"| `<PEOPLE_PROFILES_DIR>` | Where existing people profiles live (for duplicate detection during followup) | `docs/people/profiles/` |",
|
|
14542
|
+
`| \`<BCM_DOC_ROOT>\` | Root folder for BCM capability-model documents (used by Phase 4 to locate capabilities) | \`${DEFAULT_AGENT_PATHS.bcmRoot}/\` |`,
|
|
14543
|
+
"| `<BCM_CAPABILITY_MAP>` | Capability-map file that lists the L1/L2/L3 hierarchy | `<BCM_DOC_ROOT>/capability-map.md` |",
|
|
14544
|
+
"| `<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`) |",
|
|
14530
14545
|
"",
|
|
14531
14546
|
"If `docs/src/content/docs/project-context.md` specifies a different software-research",
|
|
14532
14547
|
"tree (for example by reusing the research-pipeline deliverables",
|
|
14533
14548
|
"folder), prefer that. Otherwise fall back to the defaults above.",
|
|
14534
14549
|
"",
|
|
14550
|
+
"The `<BCM_DOC_ROOT>` default above is sourced from configulator's",
|
|
14551
|
+
"`DEFAULT_AGENT_PATHS.bcmRoot`. If the consuming project's capability",
|
|
14552
|
+
"model lives somewhere else, pass an override in the invoking issue",
|
|
14553
|
+
"body or extend this rule in `agentConfig.rules` \u2014 reading",
|
|
14554
|
+
"`agentConfig.paths.bcmRoot` directly is not currently wired through",
|
|
14555
|
+
"to rule content at synth time. Override `<UNMAPPED_THRESHOLD>` the",
|
|
14556
|
+
"same way when the default (one `bcm:outline` per unmapped feature)",
|
|
14557
|
+
"is too noisy \u2014 for example, raise it to `3` to require at least",
|
|
14558
|
+
"three unmapped features on a single profile before any follow-ups",
|
|
14559
|
+
"are filed.",
|
|
14560
|
+
"",
|
|
14535
14561
|
"---",
|
|
14536
14562
|
"",
|
|
14537
14563
|
"## Agent Loop",
|
|
@@ -14540,7 +14566,7 @@ var softwareProfileAnalystSubAgent = {
|
|
|
14540
14566
|
"",
|
|
14541
14567
|
"1. Claim one open `type:software-profile` issue using phase priority:",
|
|
14542
14568
|
" `software:research` > `software:profile` > `software:matrix` >",
|
|
14543
|
-
" `software:followup`.",
|
|
14569
|
+
" `software:map` > `software:followup`.",
|
|
14544
14570
|
"2. Transition `status:ready` \u2192 `status:in-progress` and create the",
|
|
14545
14571
|
" branch per your project's branch-naming convention.",
|
|
14546
14572
|
"3. Execute the phase handler that matches the issue's `software:*`",
|
|
@@ -14675,7 +14701,12 @@ var softwareProfileAnalystSubAgent = {
|
|
|
14675
14701
|
"",
|
|
14676
14702
|
" ## Features",
|
|
14677
14703
|
" <grouped bullet list of notable features, each cited. These become",
|
|
14678
|
-
" the rows in the feature matrix during Phase 3
|
|
14704
|
+
" the rows in the feature matrix during Phase 3 and the rows of the",
|
|
14705
|
+
" capability mapping during Phase 4.>",
|
|
14706
|
+
"",
|
|
14707
|
+
" ## Capability Mapping",
|
|
14708
|
+
" _To be filled in during Phase 4 (Map). Leave as",
|
|
14709
|
+
" `_Pending capability mapping \u2014 filled in Phase 4._` until then._",
|
|
14679
14710
|
"",
|
|
14680
14711
|
" ## Technology Signals",
|
|
14681
14712
|
" <stack hints from docs, integrations, and public engineering",
|
|
@@ -14781,18 +14812,141 @@ var softwareProfileAnalystSubAgent = {
|
|
|
14781
14812
|
"",
|
|
14782
14813
|
"5. **Update the matrix front-matter** (`updated: YYYY-MM-DD`).",
|
|
14783
14814
|
"",
|
|
14784
|
-
"6. **
|
|
14785
|
-
" `
|
|
14786
|
-
"
|
|
14787
|
-
"
|
|
14788
|
-
"
|
|
14815
|
+
"6. **Create the `software:map` issue** with",
|
|
14816
|
+
" `Depends on: #<matrix-issue>`. Its body references the profile",
|
|
14817
|
+
" path, the matrix file path, the BCM document root",
|
|
14818
|
+
" (`<BCM_DOC_ROOT>`), the capability map file",
|
|
14819
|
+
" (`<BCM_CAPABILITY_MAP>` if it exists), and the unmapped-feature",
|
|
14820
|
+
" threshold (`<UNMAPPED_THRESHOLD>`). The map phase always runs \u2014",
|
|
14821
|
+
" every profile is mapped back to the capability model regardless",
|
|
14822
|
+
" of whether any adjacent products were surfaced.",
|
|
14789
14823
|
"",
|
|
14790
14824
|
"7. **Commit and push** the matrix file (and any profile updates).",
|
|
14791
14825
|
" Close the matrix issue.",
|
|
14792
14826
|
"",
|
|
14793
14827
|
"---",
|
|
14794
14828
|
"",
|
|
14795
|
-
"## Phase 4:
|
|
14829
|
+
"## Phase 4: Map (`software:map`)",
|
|
14830
|
+
"",
|
|
14831
|
+
"**Goal:** Map each feature on the profile back to the owning",
|
|
14832
|
+
"capability in the BCM capability model, write the mapping onto the",
|
|
14833
|
+
"profile, and enqueue `bcm:outline` follow-ups for features that do",
|
|
14834
|
+
"not match any existing capability.",
|
|
14835
|
+
"",
|
|
14836
|
+
"**Budget:** No new web searches. Read the profile, matrix, and BCM",
|
|
14837
|
+
"tree; write the mapping section onto the profile; open",
|
|
14838
|
+
"`bcm:outline` issues for the gaps.",
|
|
14839
|
+
"",
|
|
14840
|
+
"### Capability Mapping Format",
|
|
14841
|
+
"",
|
|
14842
|
+
"The mapping lives in the `## Capability Mapping` section of the",
|
|
14843
|
+
"profile file. It is a table with one row per feature and explicit",
|
|
14844
|
+
"evidence for each mapping decision:",
|
|
14845
|
+
"",
|
|
14846
|
+
"```markdown",
|
|
14847
|
+
"## Capability Mapping",
|
|
14848
|
+
"",
|
|
14849
|
+
"_Mapped against `<BCM_CAPABILITY_MAP>` on YYYY-MM-DD._",
|
|
14850
|
+
"",
|
|
14851
|
+
"| feature | capability (id \xB7 name) | tier | confidence | notes |",
|
|
14852
|
+
"|---------|-----------------------|------|------------|-------|",
|
|
14853
|
+
"| <feature> | <bcm-id> \xB7 <capability name> | L1/L2/L3 | high/medium/low | <evidence or rationale> |",
|
|
14854
|
+
"| <feature> | _unmapped_ | \u2014 | \u2014 | Candidate for new BCM sub-capability. Tracked in #<bcm-outline-issue> |",
|
|
14855
|
+
"```",
|
|
14856
|
+
"",
|
|
14857
|
+
"Confidence levels:",
|
|
14858
|
+
"",
|
|
14859
|
+
"- **high** \u2014 the feature's jobs-to-be-done clearly match the",
|
|
14860
|
+
" capability's definition and business object.",
|
|
14861
|
+
"- **medium** \u2014 the feature plausibly maps to the capability, but the",
|
|
14862
|
+
" match is partial (e.g. the feature covers only one facet of the",
|
|
14863
|
+
" capability, or the capability's definition is broader than the",
|
|
14864
|
+
" feature).",
|
|
14865
|
+
"- **low** \u2014 the feature overlaps the capability only tangentially.",
|
|
14866
|
+
" Prefer `_unmapped_` over a low-confidence match when the feature",
|
|
14867
|
+
" is a genuine capability gap rather than a near-miss.",
|
|
14868
|
+
"",
|
|
14869
|
+
"### Steps",
|
|
14870
|
+
"",
|
|
14871
|
+
"1. **Load the BCM tree.** Read `<BCM_CAPABILITY_MAP>` if it exists,",
|
|
14872
|
+
" otherwise walk `<BCM_DOC_ROOT>/` for capability-model documents.",
|
|
14873
|
+
" Build an in-session index of `{ id, name, tier, business_object }`",
|
|
14874
|
+
" entries. If the tree is empty (no BCM documents yet), note the",
|
|
14875
|
+
" gap in the profile's `## Risks / Open Questions`, skip the",
|
|
14876
|
+
" per-feature mapping, and mark **every** feature as a candidate",
|
|
14877
|
+
" for a new sub-capability \u2014 subject to `<UNMAPPED_THRESHOLD>`.",
|
|
14878
|
+
"",
|
|
14879
|
+
"2. **Read the profile file** and extract the `## Features` bullets.",
|
|
14880
|
+
" Each bullet is one row in the mapping table.",
|
|
14881
|
+
"",
|
|
14882
|
+
"3. **Map each feature to the best-fit capability.** Preferred",
|
|
14883
|
+
" algorithm:",
|
|
14884
|
+
" - Match against the capability's **business object** first (the",
|
|
14885
|
+
" thing the capability acts on).",
|
|
14886
|
+
" - Then match against the capability's **definition** and",
|
|
14887
|
+
" jobs-to-be-done.",
|
|
14888
|
+
" - Tie-break in favor of the most specific (deepest tier)",
|
|
14889
|
+
" capability \u2014 an L3 match beats an L2 match that covers it.",
|
|
14890
|
+
"",
|
|
14891
|
+
"4. **Record low-confidence mappings explicitly** \u2014 never hide a weak",
|
|
14892
|
+
" match behind a high-confidence label. If the best available",
|
|
14893
|
+
" match is low-confidence, mark the feature `_unmapped_` instead",
|
|
14894
|
+
" and describe the near-miss in the `notes` column.",
|
|
14895
|
+
"",
|
|
14896
|
+
"5. **Count unmapped features.** If the count meets or exceeds",
|
|
14897
|
+
" `<UNMAPPED_THRESHOLD>` (default `1`), open one `bcm:outline`",
|
|
14898
|
+
" issue per unmapped feature. The issue must carry:",
|
|
14899
|
+
"",
|
|
14900
|
+
" - `type:bcm-document`",
|
|
14901
|
+
" - `bcm:outline`",
|
|
14902
|
+
" - `priority:medium`",
|
|
14903
|
+
" - `status:ready`",
|
|
14904
|
+
"",
|
|
14905
|
+
" The issue body must include:",
|
|
14906
|
+
" - A **discovery source** line naming this software profile",
|
|
14907
|
+
" (`Discovered while mapping: <product name>`)",
|
|
14908
|
+
" - A link to the software profile path",
|
|
14909
|
+
" (`Software profile: <PROFILES_DIR>/<PRODUCT_SLUG>.md`)",
|
|
14910
|
+
" - The feature name, its one-line description from the profile,",
|
|
14911
|
+
" and a candidate capability name framed as a noun (BIZBOK-aligned)",
|
|
14912
|
+
" - Enough identifying metadata that the `bcm-writer` agent can",
|
|
14913
|
+
" begin the outline phase without revisiting this software",
|
|
14914
|
+
" profile",
|
|
14915
|
+
"",
|
|
14916
|
+
"6. **Avoid duplicate `bcm:outline` issues.** Before opening one,",
|
|
14917
|
+
" scan `<BCM_DOC_ROOT>/` for an existing capability that covers",
|
|
14918
|
+
" the feature (in case the tree grew between the matrix and map",
|
|
14919
|
+
" phases) and scan open issues carrying `bcm:outline` so this",
|
|
14920
|
+
" phase never re-queues a capability that is already being",
|
|
14921
|
+
" outlined. If a match is found, reuse it as a cross-reference in",
|
|
14922
|
+
" the mapping table instead of opening a new issue.",
|
|
14923
|
+
"",
|
|
14924
|
+
"7. **Write the `## Capability Mapping` section** back onto the",
|
|
14925
|
+
" profile file, replacing the `_Pending capability mapping \u2014 filled",
|
|
14926
|
+
" in Phase 4._` placeholder. Preserve every other section of the",
|
|
14927
|
+
" profile verbatim \u2014 this phase only rewrites the mapping section.",
|
|
14928
|
+
"",
|
|
14929
|
+
"8. **Create the `software:followup` issue** with",
|
|
14930
|
+
" `Depends on: #<map-issue>`. Its body references the profile path",
|
|
14931
|
+
" and lists any adjacent products the profile's Follow-up",
|
|
14932
|
+
" Candidates section identified. Skip creating the followup issue",
|
|
14933
|
+
" only when the profile lists zero adjacent products, zero",
|
|
14934
|
+
" primary-attribution people, and the vendor already has a",
|
|
14935
|
+
" company profile \u2014 note the skip in the map issue's closing",
|
|
14936
|
+
" comment.",
|
|
14937
|
+
"",
|
|
14938
|
+
"9. **Assume the peer is present.** This phase assumes the",
|
|
14939
|
+
" `bcm-writer` bundle is enabled in the consuming project. If the",
|
|
14940
|
+
" bundle has been disabled, flag the map issue with",
|
|
14941
|
+
" `status:needs-attention` and list the unmapped features that",
|
|
14942
|
+
" could not be routed \u2014 never invent an alternative label",
|
|
14943
|
+
" taxonomy.",
|
|
14944
|
+
"",
|
|
14945
|
+
"10. **Commit and push** the updated profile. Close the map issue.",
|
|
14946
|
+
"",
|
|
14947
|
+
"---",
|
|
14948
|
+
"",
|
|
14949
|
+
"## Phase 5: Followup (`software:followup`)",
|
|
14796
14950
|
"",
|
|
14797
14951
|
"**Goal:** Create downstream research issues for the adjacent products,",
|
|
14798
14952
|
"vendor company, and primary-attribution people surfaced in the",
|
|
@@ -14912,10 +15066,15 @@ var softwareProfileAnalystSubAgent = {
|
|
|
14912
15066
|
"",
|
|
14913
15067
|
"- `<NOTES_DIR>/` \u2014 research-notes files (Phase 1)",
|
|
14914
15068
|
"- `<PROFILES_DIR>/` \u2014 software profiles (Phase 2, updated in later",
|
|
14915
|
-
" phases)",
|
|
15069
|
+
" phases including the `## Capability Mapping` section in Phase 4)",
|
|
14916
15070
|
"- `<MATRIX_FILE>` \u2014 shared feature matrix (Phase 3)",
|
|
14917
15071
|
"",
|
|
14918
|
-
"In Phase 4, this agent
|
|
15072
|
+
"In Phase 4, this agent **creates `bcm:outline` issues** for every",
|
|
15073
|
+
"unmapped feature that meets the `<UNMAPPED_THRESHOLD>` so the",
|
|
15074
|
+
"`bcm-writer` bundle can author the new sub-capability. It never",
|
|
15075
|
+
"authors BCM capability-model documents itself.",
|
|
15076
|
+
"",
|
|
15077
|
+
"In Phase 5, this agent also **creates `company:research` and",
|
|
14919
15078
|
"`people:research` issues** for the vendor company and primary-",
|
|
14920
15079
|
"attribution people surfaced in the profile that are not already",
|
|
14921
15080
|
"tracked under `<COMPANY_PROFILES_DIR>/` or `<PEOPLE_PROFILES_DIR>/`.",
|
|
@@ -14924,15 +15083,18 @@ var softwareProfileAnalystSubAgent = {
|
|
|
14924
15083
|
"`people-profile-analyst` agents, which pick up the issues this",
|
|
14925
15084
|
"pipeline creates.",
|
|
14926
15085
|
"",
|
|
14927
|
-
"The pipeline produces **software profiles, notes, and
|
|
14928
|
-
"
|
|
14929
|
-
"
|
|
14930
|
-
"
|
|
14931
|
-
"
|
|
15086
|
+
"The pipeline produces **software profiles, notes, matrix rows, and capability mappings**.",
|
|
15087
|
+
"Deeper research on adjacent products is delegated to new cycles of",
|
|
15088
|
+
"this same pipeline via `software:research` issues. New BCM",
|
|
15089
|
+
"sub-capabilities for unmapped features are delegated to the",
|
|
15090
|
+
"`bcm-writer` bundle via `bcm:outline` issues. Deeper research on",
|
|
15091
|
+
"the vendor company and primary-attribution people is delegated to",
|
|
15092
|
+
"the `company-profile` and `people-profile` bundles via",
|
|
14932
15093
|
"`company:research` and `people:research` issues. This agent never",
|
|
14933
|
-
"writes company profiles, person profiles, formal
|
|
14934
|
-
"documents, or comparative long-form analyses itself.
|
|
14935
|
-
"boundary clean so the software-profile pipeline stays
|
|
15094
|
+
"writes BCM documents, company profiles, person profiles, formal",
|
|
15095
|
+
"requirement documents, or comparative long-form analyses itself.",
|
|
15096
|
+
"Keep this boundary clean so the software-profile pipeline stays",
|
|
15097
|
+
"generic.",
|
|
14936
15098
|
"",
|
|
14937
15099
|
"---",
|
|
14938
15100
|
"",
|
|
@@ -14947,31 +15109,41 @@ var softwareProfileAnalystSubAgent = {
|
|
|
14947
15109
|
" `docs/src/content/docs/project-context.md` or an explicit issue-body override. If",
|
|
14948
15110
|
" neither is available, fall back to the single-segment default and",
|
|
14949
15111
|
" flag the gap \u2014 never guess.",
|
|
14950
|
-
"- **Delegate, don't duplicate.**
|
|
14951
|
-
"
|
|
14952
|
-
"
|
|
14953
|
-
"
|
|
14954
|
-
"
|
|
14955
|
-
"
|
|
14956
|
-
"
|
|
14957
|
-
"
|
|
14958
|
-
"
|
|
15112
|
+
"- **Delegate, don't duplicate.** Unmapped capabilities are handed off",
|
|
15113
|
+
" to the `bcm-writer` bundle via `bcm:outline` issues in Phase 4.",
|
|
15114
|
+
" The vendor company and primary-attribution people surfaced during",
|
|
15115
|
+
" profiling are handed off to the `company-profile` and",
|
|
15116
|
+
" `people-profile` bundles via `company:research` and",
|
|
15117
|
+
" `people:research` issues in Phase 5 \u2014 never inlined as BCM",
|
|
15118
|
+
" documents, company profiles, or person profiles in this pipeline.",
|
|
15119
|
+
"- **Check before enqueueing.** Before opening a `bcm:outline`,",
|
|
15120
|
+
" `company:research`, or `people:research` issue, verify no existing",
|
|
15121
|
+
" document or open issue already covers the candidate. Reuse",
|
|
15122
|
+
" existing BCM documents and profiles as cross-references rather",
|
|
15123
|
+
" than re-queuing work.",
|
|
15124
|
+
"- **Respect the threshold.** Phase 4 opens `bcm:outline` issues only",
|
|
15125
|
+
" when the count of unmapped features on a single profile meets or",
|
|
15126
|
+
" exceeds `<UNMAPPED_THRESHOLD>`. The default is `1` \u2014 one unmapped",
|
|
15127
|
+
" feature triggers one outline issue. Raise the threshold in the",
|
|
15128
|
+
" invoking issue body or in the consuming project's",
|
|
15129
|
+
" `agentConfig.rules` when the default is too noisy.",
|
|
14959
15130
|
"- **Restrain the queue \u2014 people only.** The vendor company always",
|
|
14960
15131
|
" qualifies (duplicate check aside). For people, only enqueue",
|
|
14961
15132
|
" research for those with **primary attribution** \u2014 founders, the",
|
|
14962
15133
|
" current CEO, principal creators, lead maintainers, or the head of",
|
|
14963
15134
|
" product. Do not open issues for every name on the vendor's about",
|
|
14964
15135
|
" page, every investor, or every advisor.",
|
|
14965
|
-
"- **Produce profiles
|
|
14966
|
-
" documents
|
|
14967
|
-
"
|
|
14968
|
-
"
|
|
14969
|
-
"
|
|
15136
|
+
"- **Produce profiles, matrix rows, and capability mappings \u2014 not",
|
|
15137
|
+
" BCM documents, requirement documents, or evaluation documents.**",
|
|
15138
|
+
" Do not open `type:requirement` or formal evaluation issues from",
|
|
15139
|
+
" this pipeline, and never author BCM capability-model documents",
|
|
15140
|
+
" inline. Follow-up work is scoped through `software:research`,",
|
|
15141
|
+
" `bcm:outline`, `company:research`, and `people:research` only."
|
|
14970
15142
|
].join("\n")
|
|
14971
15143
|
};
|
|
14972
15144
|
var profileSoftwareSkill = {
|
|
14973
15145
|
name: "profile-software",
|
|
14974
|
-
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.",
|
|
15146
|
+
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.",
|
|
14975
15147
|
disableModelInvocation: true,
|
|
14976
15148
|
userInvocable: true,
|
|
14977
15149
|
context: "fork",
|
|
@@ -14998,6 +15170,9 @@ var profileSoftwareSkill = {
|
|
|
14998
15170
|
"- `weights: <table>` \u2014 override the segment-importance weights for",
|
|
14999
15171
|
" this profile cycle (otherwise loaded from",
|
|
15000
15172
|
" `docs/src/content/docs/project-context.md`)",
|
|
15173
|
+
"- `unmapped_threshold: <n>` \u2014 override the Phase 4 threshold for",
|
|
15174
|
+
" opening `bcm:outline` issues (default `1` \u2014 one unmapped feature",
|
|
15175
|
+
" triggers one outline issue)",
|
|
15001
15176
|
"- `sources: <list>` \u2014 additional authorized sources beyond public web",
|
|
15002
15177
|
"",
|
|
15003
15178
|
"## Default Paths",
|
|
@@ -15017,16 +15192,20 @@ var profileSoftwareSkill = {
|
|
|
15017
15192
|
"2. Execute Phase 1 (Research) of the software-profile-analyst",
|
|
15018
15193
|
" agent.",
|
|
15019
15194
|
"3. Phase 1 creates the `software:profile` issue. Phase 2 creates",
|
|
15020
|
-
" the `software:matrix` issue. Phase 3
|
|
15021
|
-
" `software:followup` issue
|
|
15022
|
-
"
|
|
15195
|
+
" the `software:matrix` issue. Phase 3 creates the `software:map`",
|
|
15196
|
+
" issue. Phase 4 creates the `software:followup` issue (unless the",
|
|
15197
|
+
" profile surfaced zero follow-ups). Each downstream issue",
|
|
15198
|
+
" declares its `Depends on:` predecessor.",
|
|
15023
15199
|
"",
|
|
15024
15200
|
"## Output",
|
|
15025
15201
|
"",
|
|
15026
15202
|
"- A research-notes file under the project's notes directory",
|
|
15027
|
-
"- A single software profile under the profiles directory",
|
|
15203
|
+
"- A single software profile under the profiles directory, including",
|
|
15204
|
+
" a `## Capability Mapping` section written in Phase 4",
|
|
15028
15205
|
"- One or more rows appended to the shared feature-matrix file,",
|
|
15029
15206
|
" scored against the configured segment weights",
|
|
15207
|
+
"- `bcm:outline` issues for each unmapped feature above the",
|
|
15208
|
+
" configured threshold (handed off to the `bcm-writer` bundle)",
|
|
15030
15209
|
"- Optional follow-up `software:research` issues for adjacent",
|
|
15031
15210
|
" products surfaced in the profile",
|
|
15032
15211
|
"- `company:research` issue for the vendor company (handed off to",
|
|
@@ -15034,46 +15213,132 @@ var profileSoftwareSkill = {
|
|
|
15034
15213
|
"- `people:research` issues for primary-attribution founders, CEOs,",
|
|
15035
15214
|
" or principal creators (handed off to the `people-profile`",
|
|
15036
15215
|
" bundle)",
|
|
15037
|
-
"- This pipeline produces **software profiles, notes,
|
|
15038
|
-
"
|
|
15039
|
-
" profiles, or formal requirement
|
|
15216
|
+
"- This pipeline produces **software profiles, notes, matrix rows,",
|
|
15217
|
+
" and capability mappings** \u2014 it does not write BCM documents,",
|
|
15218
|
+
" company profiles, person profiles, or formal requirement",
|
|
15219
|
+
" documents itself."
|
|
15220
|
+
].join("\n")
|
|
15221
|
+
};
|
|
15222
|
+
var mapSoftwareSkill = {
|
|
15223
|
+
name: "map-software",
|
|
15224
|
+
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.",
|
|
15225
|
+
disableModelInvocation: true,
|
|
15226
|
+
userInvocable: true,
|
|
15227
|
+
context: "fork",
|
|
15228
|
+
agent: "software-profile-analyst",
|
|
15229
|
+
platforms: { cursor: { exclude: true } },
|
|
15230
|
+
instructions: [
|
|
15231
|
+
"# Map Software",
|
|
15232
|
+
"",
|
|
15233
|
+
"Kick off a standalone `software:map` session for a product that",
|
|
15234
|
+
"already has a profile file and matrix rows on disk. Creates a",
|
|
15235
|
+
"`software:map` issue carrying the profile path and dispatches Phase",
|
|
15236
|
+
"4 (Map) in the software-profile-analyst agent.",
|
|
15237
|
+
"",
|
|
15238
|
+
"Use this skill when:",
|
|
15239
|
+
"",
|
|
15240
|
+
"- A profile was written before the map phase existed and is still",
|
|
15241
|
+
" carrying the `_Pending capability mapping \u2014 filled in Phase 4._`",
|
|
15242
|
+
" placeholder.",
|
|
15243
|
+
"- The BCM tree has grown enough that a previously-mapped profile",
|
|
15244
|
+
" should be re-mapped against the updated capability model.",
|
|
15245
|
+
"- A profile's features were edited after the map phase ran and the",
|
|
15246
|
+
" mapping table is now out of date.",
|
|
15247
|
+
"",
|
|
15248
|
+
"## Usage",
|
|
15249
|
+
"",
|
|
15250
|
+
"/map-software <product-slug-or-profile-path>",
|
|
15251
|
+
"",
|
|
15252
|
+
"Optional extensions in the issue body:",
|
|
15253
|
+
"- `unmapped_threshold: <n>` \u2014 override the threshold for opening",
|
|
15254
|
+
" `bcm:outline` issues (default `1`)",
|
|
15255
|
+
"- `bcm_doc_root: <path>` \u2014 override the BCM document root",
|
|
15256
|
+
" (otherwise the configulator default at",
|
|
15257
|
+
" `DEFAULT_AGENT_PATHS.bcmRoot`)",
|
|
15258
|
+
"- `capability_map: <path>` \u2014 override the capability-map file",
|
|
15259
|
+
" (otherwise `<BCM_DOC_ROOT>/capability-map.md`)",
|
|
15260
|
+
"",
|
|
15261
|
+
"## Default Paths",
|
|
15262
|
+
"",
|
|
15263
|
+
"If the project has no override in `docs/src/content/docs/project-context.md` or",
|
|
15264
|
+
"`agentConfig.rules`, the mapping reads from:",
|
|
15265
|
+
"",
|
|
15266
|
+
`- \`${DEFAULT_AGENT_PATHS.bcmRoot}/\` \u2014 BCM capability-model documents`,
|
|
15267
|
+
`- \`${DEFAULT_AGENT_PATHS.bcmRoot}/capability-map.md\` \u2014 capability map`,
|
|
15268
|
+
"",
|
|
15269
|
+
"and writes back to `docs/software/profiles/<slug>.md` under the",
|
|
15270
|
+
"`## Capability Mapping` section only. No other section of the",
|
|
15271
|
+
"profile is rewritten.",
|
|
15272
|
+
"",
|
|
15273
|
+
"## Steps",
|
|
15274
|
+
"",
|
|
15275
|
+
"1. Create a `software:map` issue with `type:software-profile`,",
|
|
15276
|
+
" `priority:medium`, and `status:ready`. Body must include the",
|
|
15277
|
+
" profile path and any overrides.",
|
|
15278
|
+
"2. Execute Phase 4 (Map) of the software-profile-analyst agent.",
|
|
15279
|
+
"3. Phase 4 writes the `## Capability Mapping` section, enqueues",
|
|
15280
|
+
" `bcm:outline` issues for unmapped features above the threshold,",
|
|
15281
|
+
" and \u2014 when the profile lists adjacent products or",
|
|
15282
|
+
" primary-attribution people \u2014 creates the `software:followup`",
|
|
15283
|
+
" issue.",
|
|
15284
|
+
"",
|
|
15285
|
+
"## Output",
|
|
15286
|
+
"",
|
|
15287
|
+
"- An updated `## Capability Mapping` section on the target profile",
|
|
15288
|
+
"- `bcm:outline` issues for each unmapped feature above the",
|
|
15289
|
+
" configured threshold (handed off to the `bcm-writer` bundle)",
|
|
15290
|
+
"- An optional `software:followup` issue when the profile surfaced",
|
|
15291
|
+
" adjacent products, a vendor company without an existing profile,",
|
|
15292
|
+
" or primary-attribution people",
|
|
15293
|
+
"- This skill does not run Phase 1\u20133 \u2014 it assumes the profile and",
|
|
15294
|
+
" matrix rows already exist on disk."
|
|
15040
15295
|
].join("\n")
|
|
15041
15296
|
};
|
|
15042
15297
|
var softwareProfileBundle = {
|
|
15043
15298
|
name: "software-profile",
|
|
15044
|
-
description: "Software research, profiling,
|
|
15299
|
+
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.",
|
|
15045
15300
|
appliesWhen: () => true,
|
|
15046
15301
|
rules: [
|
|
15047
15302
|
{
|
|
15048
15303
|
name: "software-profile-workflow",
|
|
15049
|
-
description: "Describes the
|
|
15304
|
+
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.",
|
|
15050
15305
|
scope: AGENT_RULE_SCOPE.ALWAYS,
|
|
15051
15306
|
content: [
|
|
15052
15307
|
"# Software Profile Workflow",
|
|
15053
15308
|
"",
|
|
15054
15309
|
"Use `/profile-software <product-name>` to kick off a software",
|
|
15055
|
-
"research, profiling,
|
|
15056
|
-
"runs in up to
|
|
15057
|
-
"each tracked by its own GitHub
|
|
15058
|
-
"`software:research`, `software:profile`,
|
|
15059
|
-
"`software:
|
|
15060
|
-
"",
|
|
15061
|
-
"
|
|
15062
|
-
"
|
|
15063
|
-
"
|
|
15064
|
-
"
|
|
15065
|
-
"
|
|
15066
|
-
"
|
|
15067
|
-
"
|
|
15068
|
-
"
|
|
15069
|
-
"
|
|
15070
|
-
"
|
|
15071
|
-
"
|
|
15310
|
+
"research, profiling, feature-matrix, and capability-mapping",
|
|
15311
|
+
"pipeline. The pipeline runs in up to 5 phases \u2014 research,",
|
|
15312
|
+
"profile, matrix, map, followup \u2014 each tracked by its own GitHub",
|
|
15313
|
+
"issue labeled `software:research`, `software:profile`,",
|
|
15314
|
+
"`software:matrix`, `software:map`, or `software:followup`. All",
|
|
15315
|
+
"issues carry `type:software-profile`.",
|
|
15316
|
+
"",
|
|
15317
|
+
"The pipeline produces **software profiles, research notes, rows",
|
|
15318
|
+
"in a shared feature matrix, and capability mappings onto the",
|
|
15319
|
+
"BCM tree**. Features are ranked against segment-importance",
|
|
15320
|
+
"weights declared in `docs/src/content/docs/project-context.md`",
|
|
15321
|
+
"under a `## Segment Weights` section. Features that do not map",
|
|
15322
|
+
"to any existing capability in the BCM tree are flagged during",
|
|
15323
|
+
"the map phase as candidates for new BCM sub-capabilities and",
|
|
15324
|
+
"handed off to the `bcm-writer` bundle via `bcm:outline` issues",
|
|
15325
|
+
"(subject to a configurable threshold). Deeper research on",
|
|
15326
|
+
"adjacent products surfaced in a profile is delegated to new",
|
|
15327
|
+
"cycles of this same pipeline via `software:followup` issues.",
|
|
15328
|
+
"Deeper research on the vendor company and primary-attribution",
|
|
15329
|
+
"founders/product leaders is delegated to the `company-profile`",
|
|
15330
|
+
"and `people-profile` bundles via `company:research` and",
|
|
15331
|
+
"`people:research` issues opened during Phase 5 (Followup).",
|
|
15332
|
+
"",
|
|
15333
|
+
"Use `/map-software <product-slug>` to kick off a standalone",
|
|
15334
|
+
"`software:map` session for a profile that already exists on",
|
|
15335
|
+
"disk \u2014 for example, when the BCM tree has grown enough that a",
|
|
15336
|
+
"previously-mapped profile should be re-mapped.",
|
|
15072
15337
|
"",
|
|
15073
15338
|
"See the `software-profile-analyst` agent definition for full",
|
|
15074
15339
|
"workflow details, default paths, the software-type taxonomy,",
|
|
15075
|
-
"the segment-weights convention,
|
|
15076
|
-
"instructions."
|
|
15340
|
+
"the segment-weights convention, the capability-mapping format,",
|
|
15341
|
+
"and phase-by-phase instructions."
|
|
15077
15342
|
].join("\n"),
|
|
15078
15343
|
platforms: {
|
|
15079
15344
|
cursor: { exclude: true }
|
|
@@ -15081,13 +15346,13 @@ var softwareProfileBundle = {
|
|
|
15081
15346
|
tags: ["workflow"]
|
|
15082
15347
|
}
|
|
15083
15348
|
],
|
|
15084
|
-
skills: [profileSoftwareSkill],
|
|
15349
|
+
skills: [profileSoftwareSkill, mapSoftwareSkill],
|
|
15085
15350
|
subAgents: [softwareProfileAnalystSubAgent],
|
|
15086
15351
|
labels: [
|
|
15087
15352
|
{
|
|
15088
15353
|
name: "type:software-profile",
|
|
15089
15354
|
color: "0E8A16",
|
|
15090
|
-
description: "Work that produces or maintains a software profile, research notes,
|
|
15355
|
+
description: "Work that produces or maintains a software profile, research notes, feature-matrix rows, or capability mappings"
|
|
15091
15356
|
},
|
|
15092
15357
|
{
|
|
15093
15358
|
name: "software:research",
|
|
@@ -15104,10 +15369,15 @@ var softwareProfileBundle = {
|
|
|
15104
15369
|
color: "D4C5F9",
|
|
15105
15370
|
description: "Phase 3: extract feature rows into the shared feature matrix and score them against segment weights"
|
|
15106
15371
|
},
|
|
15372
|
+
{
|
|
15373
|
+
name: "software:map",
|
|
15374
|
+
color: "A2EEEF",
|
|
15375
|
+
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"
|
|
15376
|
+
},
|
|
15107
15377
|
{
|
|
15108
15378
|
name: "software:followup",
|
|
15109
15379
|
color: "FBCA04",
|
|
15110
|
-
description: "Phase
|
|
15380
|
+
description: "Phase 5: enqueue follow-up research issues for adjacent products, the vendor company, and primary-attribution people surfaced in the profile"
|
|
15111
15381
|
}
|
|
15112
15382
|
]
|
|
15113
15383
|
};
|