@agentworkforce/workload-router 0.3.0 → 0.4.0
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/CHANGELOG.md +8 -0
- package/dist/generated/personas.d.ts +65 -0
- package/dist/generated/personas.d.ts.map +1 -1
- package/dist/generated/personas.js +56 -0
- package/dist/generated/personas.js.map +1 -1
- package/dist/index.d.ts +105 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +269 -19
- package/dist/index.js.map +1 -1
- package/dist/index.test.js +121 -1
- package/dist/index.test.js.map +1 -1
- package/package.json +4 -2
- package/routing-profiles/default.json +4 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to `@agentworkforce/workload-router` will be documented in this file.
|
|
4
|
+
|
|
5
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
|
+
|
|
8
|
+
## [Unreleased]
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export declare const agentRelayE2eConductor: {
|
|
2
2
|
readonly id: "agent-relay-e2e-conductor";
|
|
3
3
|
readonly intent: "sage-cloud-e2e-conduction";
|
|
4
|
+
readonly tags: readonly ["testing"];
|
|
4
5
|
readonly description: "Conducts full sage ↔ cloud ↔ Slack end-to-end validation by standing up a docker-compose stack (postgres, mock-slack, mock-nango, cloud-web, miniflare-sage) and driving production-shaped Slack fixtures through it.";
|
|
5
6
|
readonly tiers: {
|
|
6
7
|
readonly best: {
|
|
@@ -35,6 +36,7 @@ export declare const agentRelayE2eConductor: {
|
|
|
35
36
|
export declare const architecturePlanner: {
|
|
36
37
|
readonly id: "architecture-planner";
|
|
37
38
|
readonly intent: "architecture-plan";
|
|
39
|
+
readonly tags: readonly ["planning"];
|
|
38
40
|
readonly description: "Produces architecture plans, tradeoffs, and migration paths.";
|
|
39
41
|
readonly tiers: {
|
|
40
42
|
readonly best: {
|
|
@@ -69,6 +71,7 @@ export declare const architecturePlanner: {
|
|
|
69
71
|
export declare const capabilityDiscoverer: {
|
|
70
72
|
readonly id: "capability-discoverer";
|
|
71
73
|
readonly intent: "capability-discovery";
|
|
74
|
+
readonly tags: readonly ["discovery"];
|
|
72
75
|
readonly description: "Finds existing skills, agents, and hooks for a project by searching both the skills.sh ecosystem and prpm.dev instead of hand-rolling new logic. Picks the best fit across providers and emits the exact install command.";
|
|
73
76
|
readonly skills: readonly [{
|
|
74
77
|
readonly id: "skill.sh/find-skills";
|
|
@@ -112,6 +115,7 @@ export declare const capabilityDiscoverer: {
|
|
|
112
115
|
export declare const cloudSandboxInfra: {
|
|
113
116
|
readonly id: "cloud-sandbox-infra";
|
|
114
117
|
readonly intent: "cloud-sandbox-infra";
|
|
118
|
+
readonly tags: readonly ["implementation"];
|
|
115
119
|
readonly description: "Implements cloud infrastructure features: sandbox provisioning, session management, credential handling, executor wiring, and Daytona SDK integration.";
|
|
116
120
|
readonly tiers: {
|
|
117
121
|
readonly best: {
|
|
@@ -146,6 +150,7 @@ export declare const cloudSandboxInfra: {
|
|
|
146
150
|
export declare const cloudSlackProxyGuard: {
|
|
147
151
|
readonly id: "cloud-slack-proxy-guard";
|
|
148
152
|
readonly intent: "cloud-slack-proxy-guard";
|
|
153
|
+
readonly tags: readonly ["implementation"];
|
|
149
154
|
readonly description: "Owns the canonical POST /api/v1/proxy/slack route in cloud — enforces allow-listed methods, shared-secret auth, rate limits, audit log, and stable {ok,data,code,retryAfterMs} envelope so sage and other clients never talk to Slack directly.";
|
|
150
155
|
readonly tiers: {
|
|
151
156
|
readonly best: {
|
|
@@ -180,6 +185,7 @@ export declare const cloudSlackProxyGuard: {
|
|
|
180
185
|
export declare const codeReviewer: {
|
|
181
186
|
readonly id: "code-reviewer";
|
|
182
187
|
readonly intent: "review";
|
|
188
|
+
readonly tags: readonly ["review"];
|
|
183
189
|
readonly description: "Reviews pull requests for correctness, risk, and maintainability.";
|
|
184
190
|
readonly tiers: {
|
|
185
191
|
readonly best: {
|
|
@@ -214,6 +220,7 @@ export declare const codeReviewer: {
|
|
|
214
220
|
export declare const debuggerPersona: {
|
|
215
221
|
readonly id: "debugger";
|
|
216
222
|
readonly intent: "debugging";
|
|
223
|
+
readonly tags: readonly ["debugging"];
|
|
217
224
|
readonly description: "Drives root-cause debugging for failing builds, regressions, and runtime defects with minimal corrective changes.";
|
|
218
225
|
readonly tiers: {
|
|
219
226
|
readonly best: {
|
|
@@ -248,6 +255,7 @@ export declare const debuggerPersona: {
|
|
|
248
255
|
export declare const flakeHunter: {
|
|
249
256
|
readonly id: "flake-hunter";
|
|
250
257
|
readonly intent: "flake-investigation";
|
|
258
|
+
readonly tags: readonly ["testing", "debugging"];
|
|
251
259
|
readonly description: "Diagnoses intermittent test failures and removes root-cause nondeterminism instead of masking it.";
|
|
252
260
|
readonly tiers: {
|
|
253
261
|
readonly best: {
|
|
@@ -282,6 +290,7 @@ export declare const flakeHunter: {
|
|
|
282
290
|
export declare const frontendImplementer: {
|
|
283
291
|
readonly id: "frontend-implementer";
|
|
284
292
|
readonly intent: "implement-frontend";
|
|
293
|
+
readonly tags: readonly ["implementation"];
|
|
285
294
|
readonly description: "Implements frontend UI features with strong UX and maintainable code.";
|
|
286
295
|
readonly tiers: {
|
|
287
296
|
readonly best: {
|
|
@@ -316,6 +325,7 @@ export declare const frontendImplementer: {
|
|
|
316
325
|
export declare const npmProvenancePublisher: {
|
|
317
326
|
readonly id: "npm-provenance-publisher";
|
|
318
327
|
readonly intent: "npm-provenance";
|
|
328
|
+
readonly tags: readonly ["release"];
|
|
319
329
|
readonly description: "Sets up and verifies secure npm publishing via GitHub Actions OIDC trusted publishing with provenance attestations.";
|
|
320
330
|
readonly skills: readonly [{
|
|
321
331
|
readonly id: "prpm/npm-trusted-publishing";
|
|
@@ -355,6 +365,7 @@ export declare const npmProvenancePublisher: {
|
|
|
355
365
|
export declare const opencodeWorkflowSpecialist: {
|
|
356
366
|
readonly id: "opencode-workflow-specialist";
|
|
357
367
|
readonly intent: "opencode-workflow-correctness";
|
|
368
|
+
readonly tags: readonly ["debugging"];
|
|
358
369
|
readonly description: "Diagnoses and repairs opencode-based agent-relay workflow failures across SDK, broker, cloud bootstrap, and CLI layers";
|
|
359
370
|
readonly tiers: {
|
|
360
371
|
readonly best: {
|
|
@@ -386,9 +397,56 @@ export declare const opencodeWorkflowSpecialist: {
|
|
|
386
397
|
};
|
|
387
398
|
};
|
|
388
399
|
};
|
|
400
|
+
export declare const posthogAgent: {
|
|
401
|
+
readonly id: "posthog";
|
|
402
|
+
readonly intent: "posthog";
|
|
403
|
+
readonly tags: readonly ["analytics"];
|
|
404
|
+
readonly description: "Narrow PostHog assistant wired to the PostHog MCP server via mcp-remote (OAuth). Answers product-analytics questions, inspects events/insights/feature flags, and navigates the configured PostHog project. First run opens a browser for OAuth; tokens cache in ~/.mcp-auth. To use a personal API key instead, override mcpServers locally (see PostHog's 'MCP Server' preset).";
|
|
405
|
+
readonly skills: readonly [];
|
|
406
|
+
readonly mcpServers: {
|
|
407
|
+
readonly posthog: {
|
|
408
|
+
readonly type: "stdio";
|
|
409
|
+
readonly command: "npx";
|
|
410
|
+
readonly args: readonly ["-y", "mcp-remote@latest", "https://mcp.posthog.com/mcp"];
|
|
411
|
+
};
|
|
412
|
+
};
|
|
413
|
+
readonly permissions: {
|
|
414
|
+
readonly allow: readonly ["mcp__posthog"];
|
|
415
|
+
};
|
|
416
|
+
readonly tiers: {
|
|
417
|
+
readonly best: {
|
|
418
|
+
readonly harness: "claude";
|
|
419
|
+
readonly model: "claude-opus-4-6";
|
|
420
|
+
readonly systemPrompt: "You are a PostHog product-analytics assistant with access to the PostHog MCP server. Use the MCP tools to answer questions about events, insights, dashboards, feature flags, cohorts, and session recordings in the user's configured project. Prefer PostHog query tools over speculation; cite insight/dashboard ids when referencing specific objects. If an action would modify PostHog state (creating insights, flipping flags, deleting data), summarize the change and confirm before calling the mutating tool. Be concise and show concrete numbers.";
|
|
421
|
+
readonly harnessSettings: {
|
|
422
|
+
readonly reasoning: "high";
|
|
423
|
+
readonly timeoutSeconds: 900;
|
|
424
|
+
};
|
|
425
|
+
};
|
|
426
|
+
readonly "best-value": {
|
|
427
|
+
readonly harness: "claude";
|
|
428
|
+
readonly model: "claude-sonnet-4-6";
|
|
429
|
+
readonly systemPrompt: "You are a PostHog product-analytics assistant with access to the PostHog MCP server. Use the MCP tools to answer questions about events, insights, dashboards, feature flags, cohorts, and session recordings in the user's configured project. Prefer PostHog query tools over speculation; cite insight/dashboard ids when referencing specific objects. If an action would modify PostHog state, summarize the change and confirm before calling the mutating tool. Be concise.";
|
|
430
|
+
readonly harnessSettings: {
|
|
431
|
+
readonly reasoning: "medium";
|
|
432
|
+
readonly timeoutSeconds: 600;
|
|
433
|
+
};
|
|
434
|
+
};
|
|
435
|
+
readonly minimum: {
|
|
436
|
+
readonly harness: "claude";
|
|
437
|
+
readonly model: "claude-haiku-4-5-20251001";
|
|
438
|
+
readonly systemPrompt: "You are a PostHog product-analytics assistant in concise mode with access to the PostHog MCP server. Use MCP tools to read events/insights/flags/cohorts. Confirm before any state mutation. Keep answers short.";
|
|
439
|
+
readonly harnessSettings: {
|
|
440
|
+
readonly reasoning: "low";
|
|
441
|
+
readonly timeoutSeconds: 300;
|
|
442
|
+
};
|
|
443
|
+
};
|
|
444
|
+
};
|
|
445
|
+
};
|
|
389
446
|
export declare const requirementsAnalyst: {
|
|
390
447
|
readonly id: "requirements-analyst";
|
|
391
448
|
readonly intent: "requirements-analysis";
|
|
449
|
+
readonly tags: readonly ["planning"];
|
|
392
450
|
readonly description: "Turns rough feature ideas into explicit acceptance criteria, edge cases, and open questions before planning or coding begins.";
|
|
393
451
|
readonly tiers: {
|
|
394
452
|
readonly best: {
|
|
@@ -423,6 +481,7 @@ export declare const requirementsAnalyst: {
|
|
|
423
481
|
export declare const sageProactiveRewirer: {
|
|
424
482
|
readonly id: "sage-proactive-rewirer";
|
|
425
483
|
readonly intent: "sage-proactive-rewire";
|
|
484
|
+
readonly tags: readonly ["implementation"];
|
|
426
485
|
readonly description: "Rewires sage's proactive Slack paths (follow-up-checker, stale-thread-detector, context-watcher, pr-matcher) to resolve connectionId and providerConfigKey from stored state rather than guessing from team_id or environment defaults.";
|
|
427
486
|
readonly tiers: {
|
|
428
487
|
readonly best: {
|
|
@@ -457,6 +516,7 @@ export declare const sageProactiveRewirer: {
|
|
|
457
516
|
export declare const sageSlackEgressMigrator: {
|
|
458
517
|
readonly id: "sage-slack-egress-migrator";
|
|
459
518
|
readonly intent: "sage-slack-egress-migration";
|
|
519
|
+
readonly tags: readonly ["implementation"];
|
|
460
520
|
readonly description: "Migrates sage Slack egress off direct NangoClient onto the @relayfile/sdk ConnectionProvider abstraction without introducing hardcoded providerConfigKey defaults.";
|
|
461
521
|
readonly tiers: {
|
|
462
522
|
readonly best: {
|
|
@@ -491,6 +551,7 @@ export declare const sageSlackEgressMigrator: {
|
|
|
491
551
|
export declare const securityReviewer: {
|
|
492
552
|
readonly id: "security-reviewer";
|
|
493
553
|
readonly intent: "security-review";
|
|
554
|
+
readonly tags: readonly ["review"];
|
|
494
555
|
readonly description: "Reviews code and plans for exploitable security risks, unsafe defaults, and missing defensive controls.";
|
|
495
556
|
readonly tiers: {
|
|
496
557
|
readonly best: {
|
|
@@ -525,6 +586,7 @@ export declare const securityReviewer: {
|
|
|
525
586
|
export declare const tddGuard: {
|
|
526
587
|
readonly id: "tdd-guard";
|
|
527
588
|
readonly intent: "tdd-enforcement";
|
|
589
|
+
readonly tags: readonly ["testing"];
|
|
528
590
|
readonly description: "Enforces red-green-refactor discipline so teams prove behavior before implementation.";
|
|
529
591
|
readonly tiers: {
|
|
530
592
|
readonly best: {
|
|
@@ -559,6 +621,7 @@ export declare const tddGuard: {
|
|
|
559
621
|
export declare const technicalWriter: {
|
|
560
622
|
readonly id: "technical-writer";
|
|
561
623
|
readonly intent: "documentation";
|
|
624
|
+
readonly tags: readonly ["documentation"];
|
|
562
625
|
readonly description: "Produces accurate developer-facing documentation, READMEs, API notes, and change guidance grounded in the actual code.";
|
|
563
626
|
readonly tiers: {
|
|
564
627
|
readonly best: {
|
|
@@ -593,6 +656,7 @@ export declare const technicalWriter: {
|
|
|
593
656
|
export declare const testStrategist: {
|
|
594
657
|
readonly id: "test-strategist";
|
|
595
658
|
readonly intent: "test-strategy";
|
|
659
|
+
readonly tags: readonly ["testing"];
|
|
596
660
|
readonly description: "Designs pragmatic test plans, risk-ranked coverage, and the smallest test set that buys confidence.";
|
|
597
661
|
readonly tiers: {
|
|
598
662
|
readonly best: {
|
|
@@ -627,6 +691,7 @@ export declare const testStrategist: {
|
|
|
627
691
|
export declare const verifierPersona: {
|
|
628
692
|
readonly id: "verifier";
|
|
629
693
|
readonly intent: "verification";
|
|
694
|
+
readonly tags: readonly ["testing", "review"];
|
|
630
695
|
readonly description: "Checks whether completion claims are actually supported by fresh evidence, acceptance criteria coverage, and relevant tests.";
|
|
631
696
|
readonly tiers: {
|
|
632
697
|
readonly best: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"personas.d.ts","sourceRoot":"","sources":["../../src/generated/personas.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,sBAAsB
|
|
1
|
+
{"version":3,"file":"personas.d.ts","sourceRoot":"","sources":["../../src/generated/personas.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyBzB,CAAC;AAEX,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyBtB,CAAC;AAEX,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqCvB,CAAC;AAEX,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyBpB,CAAC;AAEX,eAAO,MAA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;;;;;;;;;;;;;;;;;;CAkClB,CAAC"}
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
export const agentRelayE2eConductor = {
|
|
4
4
|
"id": "agent-relay-e2e-conductor",
|
|
5
5
|
"intent": "sage-cloud-e2e-conduction",
|
|
6
|
+
"tags": ["testing"],
|
|
6
7
|
"description": "Conducts full sage ↔ cloud ↔ Slack end-to-end validation by standing up a docker-compose stack (postgres, mock-slack, mock-nango, cloud-web, miniflare-sage) and driving production-shaped Slack fixtures through it.",
|
|
7
8
|
"tiers": {
|
|
8
9
|
"best": {
|
|
@@ -28,6 +29,7 @@ export const agentRelayE2eConductor = {
|
|
|
28
29
|
export const architecturePlanner = {
|
|
29
30
|
"id": "architecture-planner",
|
|
30
31
|
"intent": "architecture-plan",
|
|
32
|
+
"tags": ["planning"],
|
|
31
33
|
"description": "Produces architecture plans, tradeoffs, and migration paths.",
|
|
32
34
|
"tiers": {
|
|
33
35
|
"best": {
|
|
@@ -53,6 +55,7 @@ export const architecturePlanner = {
|
|
|
53
55
|
export const capabilityDiscoverer = {
|
|
54
56
|
"id": "capability-discoverer",
|
|
55
57
|
"intent": "capability-discovery",
|
|
58
|
+
"tags": ["discovery"],
|
|
56
59
|
"description": "Finds existing skills, agents, and hooks for a project by searching both the skills.sh ecosystem and prpm.dev instead of hand-rolling new logic. Picks the best fit across providers and emits the exact install command.",
|
|
57
60
|
"skills": [
|
|
58
61
|
{
|
|
@@ -90,6 +93,7 @@ export const capabilityDiscoverer = {
|
|
|
90
93
|
export const cloudSandboxInfra = {
|
|
91
94
|
"id": "cloud-sandbox-infra",
|
|
92
95
|
"intent": "cloud-sandbox-infra",
|
|
96
|
+
"tags": ["implementation"],
|
|
93
97
|
"description": "Implements cloud infrastructure features: sandbox provisioning, session management, credential handling, executor wiring, and Daytona SDK integration.",
|
|
94
98
|
"tiers": {
|
|
95
99
|
"best": {
|
|
@@ -115,6 +119,7 @@ export const cloudSandboxInfra = {
|
|
|
115
119
|
export const cloudSlackProxyGuard = {
|
|
116
120
|
"id": "cloud-slack-proxy-guard",
|
|
117
121
|
"intent": "cloud-slack-proxy-guard",
|
|
122
|
+
"tags": ["implementation"],
|
|
118
123
|
"description": "Owns the canonical POST /api/v1/proxy/slack route in cloud — enforces allow-listed methods, shared-secret auth, rate limits, audit log, and stable {ok,data,code,retryAfterMs} envelope so sage and other clients never talk to Slack directly.",
|
|
119
124
|
"tiers": {
|
|
120
125
|
"best": {
|
|
@@ -140,6 +145,7 @@ export const cloudSlackProxyGuard = {
|
|
|
140
145
|
export const codeReviewer = {
|
|
141
146
|
"id": "code-reviewer",
|
|
142
147
|
"intent": "review",
|
|
148
|
+
"tags": ["review"],
|
|
143
149
|
"description": "Reviews pull requests for correctness, risk, and maintainability.",
|
|
144
150
|
"tiers": {
|
|
145
151
|
"best": {
|
|
@@ -165,6 +171,7 @@ export const codeReviewer = {
|
|
|
165
171
|
export const debuggerPersona = {
|
|
166
172
|
"id": "debugger",
|
|
167
173
|
"intent": "debugging",
|
|
174
|
+
"tags": ["debugging"],
|
|
168
175
|
"description": "Drives root-cause debugging for failing builds, regressions, and runtime defects with minimal corrective changes.",
|
|
169
176
|
"tiers": {
|
|
170
177
|
"best": {
|
|
@@ -199,6 +206,7 @@ export const debuggerPersona = {
|
|
|
199
206
|
export const flakeHunter = {
|
|
200
207
|
"id": "flake-hunter",
|
|
201
208
|
"intent": "flake-investigation",
|
|
209
|
+
"tags": ["testing", "debugging"],
|
|
202
210
|
"description": "Diagnoses intermittent test failures and removes root-cause nondeterminism instead of masking it.",
|
|
203
211
|
"tiers": {
|
|
204
212
|
"best": {
|
|
@@ -224,6 +232,7 @@ export const flakeHunter = {
|
|
|
224
232
|
export const frontendImplementer = {
|
|
225
233
|
"id": "frontend-implementer",
|
|
226
234
|
"intent": "implement-frontend",
|
|
235
|
+
"tags": ["implementation"],
|
|
227
236
|
"description": "Implements frontend UI features with strong UX and maintainable code.",
|
|
228
237
|
"tiers": {
|
|
229
238
|
"best": {
|
|
@@ -249,6 +258,7 @@ export const frontendImplementer = {
|
|
|
249
258
|
export const npmProvenancePublisher = {
|
|
250
259
|
"id": "npm-provenance-publisher",
|
|
251
260
|
"intent": "npm-provenance",
|
|
261
|
+
"tags": ["release"],
|
|
252
262
|
"description": "Sets up and verifies secure npm publishing via GitHub Actions OIDC trusted publishing with provenance attestations.",
|
|
253
263
|
"skills": [
|
|
254
264
|
{
|
|
@@ -281,6 +291,7 @@ export const npmProvenancePublisher = {
|
|
|
281
291
|
export const opencodeWorkflowSpecialist = {
|
|
282
292
|
"id": "opencode-workflow-specialist",
|
|
283
293
|
"intent": "opencode-workflow-correctness",
|
|
294
|
+
"tags": ["debugging"],
|
|
284
295
|
"description": "Diagnoses and repairs opencode-based agent-relay workflow failures across SDK, broker, cloud bootstrap, and CLI layers",
|
|
285
296
|
"tiers": {
|
|
286
297
|
"best": {
|
|
@@ -303,9 +314,47 @@ export const opencodeWorkflowSpecialist = {
|
|
|
303
314
|
}
|
|
304
315
|
}
|
|
305
316
|
};
|
|
317
|
+
export const posthogAgent = {
|
|
318
|
+
"id": "posthog",
|
|
319
|
+
"intent": "posthog",
|
|
320
|
+
"tags": ["analytics"],
|
|
321
|
+
"description": "Narrow PostHog assistant wired to the PostHog MCP server via mcp-remote (OAuth). Answers product-analytics questions, inspects events/insights/feature flags, and navigates the configured PostHog project. First run opens a browser for OAuth; tokens cache in ~/.mcp-auth. To use a personal API key instead, override mcpServers locally (see PostHog's 'MCP Server' preset).",
|
|
322
|
+
"skills": [],
|
|
323
|
+
"mcpServers": {
|
|
324
|
+
"posthog": {
|
|
325
|
+
"type": "stdio",
|
|
326
|
+
"command": "npx",
|
|
327
|
+
"args": ["-y", "mcp-remote@latest", "https://mcp.posthog.com/mcp"]
|
|
328
|
+
}
|
|
329
|
+
},
|
|
330
|
+
"permissions": {
|
|
331
|
+
"allow": ["mcp__posthog"]
|
|
332
|
+
},
|
|
333
|
+
"tiers": {
|
|
334
|
+
"best": {
|
|
335
|
+
"harness": "claude",
|
|
336
|
+
"model": "claude-opus-4-6",
|
|
337
|
+
"systemPrompt": "You are a PostHog product-analytics assistant with access to the PostHog MCP server. Use the MCP tools to answer questions about events, insights, dashboards, feature flags, cohorts, and session recordings in the user's configured project. Prefer PostHog query tools over speculation; cite insight/dashboard ids when referencing specific objects. If an action would modify PostHog state (creating insights, flipping flags, deleting data), summarize the change and confirm before calling the mutating tool. Be concise and show concrete numbers.",
|
|
338
|
+
"harnessSettings": { "reasoning": "high", "timeoutSeconds": 900 }
|
|
339
|
+
},
|
|
340
|
+
"best-value": {
|
|
341
|
+
"harness": "claude",
|
|
342
|
+
"model": "claude-sonnet-4-6",
|
|
343
|
+
"systemPrompt": "You are a PostHog product-analytics assistant with access to the PostHog MCP server. Use the MCP tools to answer questions about events, insights, dashboards, feature flags, cohorts, and session recordings in the user's configured project. Prefer PostHog query tools over speculation; cite insight/dashboard ids when referencing specific objects. If an action would modify PostHog state, summarize the change and confirm before calling the mutating tool. Be concise.",
|
|
344
|
+
"harnessSettings": { "reasoning": "medium", "timeoutSeconds": 600 }
|
|
345
|
+
},
|
|
346
|
+
"minimum": {
|
|
347
|
+
"harness": "claude",
|
|
348
|
+
"model": "claude-haiku-4-5-20251001",
|
|
349
|
+
"systemPrompt": "You are a PostHog product-analytics assistant in concise mode with access to the PostHog MCP server. Use MCP tools to read events/insights/flags/cohorts. Confirm before any state mutation. Keep answers short.",
|
|
350
|
+
"harnessSettings": { "reasoning": "low", "timeoutSeconds": 300 }
|
|
351
|
+
}
|
|
352
|
+
}
|
|
353
|
+
};
|
|
306
354
|
export const requirementsAnalyst = {
|
|
307
355
|
"id": "requirements-analyst",
|
|
308
356
|
"intent": "requirements-analysis",
|
|
357
|
+
"tags": ["planning"],
|
|
309
358
|
"description": "Turns rough feature ideas into explicit acceptance criteria, edge cases, and open questions before planning or coding begins.",
|
|
310
359
|
"tiers": {
|
|
311
360
|
"best": {
|
|
@@ -340,6 +389,7 @@ export const requirementsAnalyst = {
|
|
|
340
389
|
export const sageProactiveRewirer = {
|
|
341
390
|
"id": "sage-proactive-rewirer",
|
|
342
391
|
"intent": "sage-proactive-rewire",
|
|
392
|
+
"tags": ["implementation"],
|
|
343
393
|
"description": "Rewires sage's proactive Slack paths (follow-up-checker, stale-thread-detector, context-watcher, pr-matcher) to resolve connectionId and providerConfigKey from stored state rather than guessing from team_id or environment defaults.",
|
|
344
394
|
"tiers": {
|
|
345
395
|
"best": {
|
|
@@ -365,6 +415,7 @@ export const sageProactiveRewirer = {
|
|
|
365
415
|
export const sageSlackEgressMigrator = {
|
|
366
416
|
"id": "sage-slack-egress-migrator",
|
|
367
417
|
"intent": "sage-slack-egress-migration",
|
|
418
|
+
"tags": ["implementation"],
|
|
368
419
|
"description": "Migrates sage Slack egress off direct NangoClient onto the @relayfile/sdk ConnectionProvider abstraction without introducing hardcoded providerConfigKey defaults.",
|
|
369
420
|
"tiers": {
|
|
370
421
|
"best": {
|
|
@@ -390,6 +441,7 @@ export const sageSlackEgressMigrator = {
|
|
|
390
441
|
export const securityReviewer = {
|
|
391
442
|
"id": "security-reviewer",
|
|
392
443
|
"intent": "security-review",
|
|
444
|
+
"tags": ["review"],
|
|
393
445
|
"description": "Reviews code and plans for exploitable security risks, unsafe defaults, and missing defensive controls.",
|
|
394
446
|
"tiers": {
|
|
395
447
|
"best": {
|
|
@@ -424,6 +476,7 @@ export const securityReviewer = {
|
|
|
424
476
|
export const tddGuard = {
|
|
425
477
|
"id": "tdd-guard",
|
|
426
478
|
"intent": "tdd-enforcement",
|
|
479
|
+
"tags": ["testing"],
|
|
427
480
|
"description": "Enforces red-green-refactor discipline so teams prove behavior before implementation.",
|
|
428
481
|
"tiers": {
|
|
429
482
|
"best": {
|
|
@@ -449,6 +502,7 @@ export const tddGuard = {
|
|
|
449
502
|
export const technicalWriter = {
|
|
450
503
|
"id": "technical-writer",
|
|
451
504
|
"intent": "documentation",
|
|
505
|
+
"tags": ["documentation"],
|
|
452
506
|
"description": "Produces accurate developer-facing documentation, READMEs, API notes, and change guidance grounded in the actual code.",
|
|
453
507
|
"tiers": {
|
|
454
508
|
"best": {
|
|
@@ -483,6 +537,7 @@ export const technicalWriter = {
|
|
|
483
537
|
export const testStrategist = {
|
|
484
538
|
"id": "test-strategist",
|
|
485
539
|
"intent": "test-strategy",
|
|
540
|
+
"tags": ["testing"],
|
|
486
541
|
"description": "Designs pragmatic test plans, risk-ranked coverage, and the smallest test set that buys confidence.",
|
|
487
542
|
"tiers": {
|
|
488
543
|
"best": {
|
|
@@ -508,6 +563,7 @@ export const testStrategist = {
|
|
|
508
563
|
export const verifierPersona = {
|
|
509
564
|
"id": "verifier",
|
|
510
565
|
"intent": "verification",
|
|
566
|
+
"tags": ["testing", "review"],
|
|
511
567
|
"description": "Checks whether completion claims are actually supported by fresh evidence, acceptance criteria coverage, and relevant tests.",
|
|
512
568
|
"tiers": {
|
|
513
569
|
"best": {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"personas.js","sourceRoot":"","sources":["../../src/generated/personas.ts"],"names":[],"mappings":"AAAA,2EAA2E;AAC3E,yDAAyD;AAEzD,MAAM,CAAC,MAAM,sBAAsB,GAAG;IACpC,IAAI,EAAE,2BAA2B;IACjC,QAAQ,EAAE,2BAA2B;IACrC,aAAa,EAAE,uNAAuN;IACtO,OAAO,EAAE;QACP,MAAM,EAAE;YACN,SAAS,EAAE,OAAO;YAClB,OAAO,EAAE,4BAA4B;YACrC,cAAc,EAAE,4rEAA4rE;YAC5sE,iBAAiB,EAAE,EAAE,WAAW,EAAE,MAAM,EAAE,gBAAgB,EAAE,IAAI,EAAE;SACnE;QACD,YAAY,EAAE;YACZ,SAAS,EAAE,UAAU;YACrB,OAAO,EAAE,qBAAqB;YAC9B,cAAc,EAAE,27BAA27B;YAC38B,iBAAiB,EAAE,EAAE,WAAW,EAAE,QAAQ,EAAE,gBAAgB,EAAE,IAAI,EAAE;SACrE;QACD,SAAS,EAAE;YACT,SAAS,EAAE,UAAU;YACrB,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,EAAE,cAAc;IACxB,aAAa,EAAE,8HAA8H;IAC7I,OAAO,EAAE;QACP,MAAM,EAAE;YACN,SAAS,EAAE,OAAO;YAClB,OAAO,EAAE,4BAA4B;YACrC,cAAc,EAAE,g7BAAg7B;YACh8B,iBAAiB,EAAE;gBACjB,WAAW,EAAE,MAAM;gBACnB,gBAAgB,EAAE,IAAI;aACvB;SACF;QACD,YAAY,EAAE;YACZ,SAAS,EAAE,UAAU;YACrB,OAAO,EAAE,qBAAqB;YAC9B,cAAc,EAAE,gfAAgf;YAChgB,iBAAiB,EAAE;gBACjB,WAAW,EAAE,QAAQ;gBACrB,gBAAgB,EAAE,GAAG;aACtB;SACF;QACD,SAAS,EAAE;YACT,SAAS,EAAE,UAAU;YACrB,OAAO,EAAE,4BAA4B;YACrC,cAAc,EAAE,uZAAuZ;YACva,iBAAiB,EAAE;gBACjB,WAAW,EAAE,KAAK;gBAClB,gBAAgB,EAAE,GAAG;aACtB;SACF;KACF;CACO,CAAC"}
|
|
1
|
+
{"version":3,"file":"personas.js","sourceRoot":"","sources":["../../src/generated/personas.ts"],"names":[],"mappings":"AAAA,2EAA2E;AAC3E,yDAAyD;AAEzD,MAAM,CAAC,MAAM,sBAAsB,GAAG;IACpC,IAAI,EAAE,2BAA2B;IACjC,QAAQ,EAAE,2BAA2B;IACrC,MAAM,EAAE,CAAC,SAAS,CAAC;IACnB,aAAa,EAAE,uNAAuN;IACtO,OAAO,EAAE;QACP,MAAM,EAAE;YACN,SAAS,EAAE,OAAO;YAClB,OAAO,EAAE,4BAA4B;YACrC,cAAc,EAAE,4rEAA4rE;YAC5sE,iBAAiB,EAAE,EAAE,WAAW,EAAE,MAAM,EAAE,gBAAgB,EAAE,IAAI,EAAE;SACnE;QACD,YAAY,EAAE;YACZ,SAAS,EAAE,UAAU;YACrB,OAAO,EAAE,qBAAqB;YAC9B,cAAc,EAAE,27BAA27B;YAC38B,iBAAiB,EAAE,EAAE,WAAW,EAAE,QAAQ,EAAE,gBAAg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D,YAAY,EAAE;YACZ,SAAS,EAAE,UAAU;YACrB,OAAO,EAAE,qBAAqB;YAC9B,cAAc,EAAE,knBAAknB;YACloB,iBAAiB,EAAE,EAAE,WAAW,EAAE,QAAQ,EAAE,gBAAgB,EAAE,GAAG,EAAE;SACpE;QACD,SAAS,EAAE;YACT,SAAS,EAAE,UAAU;YACrB,OAAO,EAAE,gCAAgC;YACzC,cAAc,EAAE,+hBAA+hB;YAC/iB,iBAAiB,EAAE,EAAE,WAAW,EAAE,KAAK,EAAE,gBAAgB,EAAE,GAAG,EAAE;SACjE;KACF;CACO,CAAC;AAEX,MAAM,CAAC,MAAM,eAAe,GAAG;IAC7B,IAAI,EAAE,UAAU;IAChB,QAAQ,EAAE,cAAc;IACxB,MAAM,EAAE,CAAC,SAAS,EAAE,QAAQ,CAAC;IAC7B,aAAa,EAAE,8HAA8H;IAC7I,OAAO,EAAE;QACP,MAAM,EAAE;YACN,SAAS,EAAE,OAAO;YAClB,OAAO,EAAE,4BAA4B;YACrC,cAAc,EAAE,g7BAAg7B;YACh8B,iBAAiB,EAAE;gBACjB,WAAW,EAAE,MAAM;gBACnB,gBAAgB,EAAE,IAAI;aACvB;SACF;QACD,YAAY,EAAE;YACZ,SAAS,EAAE,UAAU;YACrB,OAAO,EAAE,qBAAqB;YAC9B,cAAc,EAAE,gfAAgf;YAChgB,iBAAiB,EAAE;gBACjB,WAAW,EAAE,QAAQ;gBACrB,gBAAgB,EAAE,GAAG;aACtB;SACF;QACD,SAAS,EAAE;YACT,SAAS,EAAE,UAAU;YACrB,OAAO,EAAE,4BAA4B;YACrC,cAAc,EAAE,uZAAuZ;YACva,iBAAiB,EAAE;gBACjB,WAAW,EAAE,KAAK;gBAClB,gBAAgB,EAAE,GAAG;aACtB;SACF;KACF;CACO,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
export declare const HARNESS_VALUES: readonly ["opencode", "codex", "claude"];
|
|
2
2
|
export declare const PERSONA_TIERS: readonly ["best", "best-value", "minimum"];
|
|
3
|
-
export declare const
|
|
3
|
+
export declare const PERSONA_TAGS: readonly ["planning", "implementation", "review", "testing", "debugging", "documentation", "release", "discovery", "analytics"];
|
|
4
|
+
export declare const PERSONA_INTENTS: readonly ["implement-frontend", "review", "architecture-plan", "requirements-analysis", "debugging", "security-review", "documentation", "verification", "test-strategy", "tdd-enforcement", "flake-investigation", "opencode-workflow-correctness", "npm-provenance", "cloud-sandbox-infra", "sage-slack-egress-migration", "sage-proactive-rewire", "cloud-slack-proxy-guard", "sage-cloud-e2e-conduction", "capability-discovery", "posthog"];
|
|
4
5
|
export type Harness = (typeof HARNESS_VALUES)[number];
|
|
5
6
|
export type PersonaTier = (typeof PERSONA_TIERS)[number];
|
|
6
7
|
export type PersonaIntent = (typeof PERSONA_INTENTS)[number];
|
|
8
|
+
export type PersonaTag = (typeof PERSONA_TAGS)[number];
|
|
7
9
|
export interface HarnessSettings {
|
|
8
10
|
reasoning: 'low' | 'medium' | 'high';
|
|
9
11
|
timeoutSeconds: number;
|
|
@@ -24,12 +26,69 @@ export interface PersonaSkill {
|
|
|
24
26
|
source: string;
|
|
25
27
|
description: string;
|
|
26
28
|
}
|
|
29
|
+
export declare const PERMISSION_MODES: readonly ["default", "acceptEdits", "bypassPermissions", "plan"];
|
|
30
|
+
export type PermissionMode = (typeof PERMISSION_MODES)[number];
|
|
31
|
+
/**
|
|
32
|
+
* Persona-level permission policy for the harness session. Translates to the
|
|
33
|
+
* harness's native allow/deny/mode flags at spawn time. Tool-pattern syntax is
|
|
34
|
+
* passed through verbatim — `"mcp__posthog"` to allow every posthog MCP tool,
|
|
35
|
+
* `"mcp__posthog__projects-get"` for a specific one, `"Bash(git *)"` for a
|
|
36
|
+
* shell pattern. See the target harness's docs for the exact grammar.
|
|
37
|
+
*/
|
|
38
|
+
export interface PersonaPermissions {
|
|
39
|
+
/** Tool names/patterns to auto-approve. */
|
|
40
|
+
allow?: string[];
|
|
41
|
+
/** Tool names/patterns to always block. */
|
|
42
|
+
deny?: string[];
|
|
43
|
+
/** Permission mode for the session. */
|
|
44
|
+
mode?: PermissionMode;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* MCP server config, structured to match Claude Code's `--mcp-config` JSON
|
|
48
|
+
* verbatim so the whole object can be passed through untouched. Values inside
|
|
49
|
+
* `headers` / `env` / `args` / `url` / `command` may be literal strings or
|
|
50
|
+
* `$VAR` / `${VAR}` references. Resolution happens in the runner/CLI at spawn
|
|
51
|
+
* time — this package only defines the shape, not the interpolation policy.
|
|
52
|
+
*/
|
|
53
|
+
export type McpServerSpec = {
|
|
54
|
+
type: 'http' | 'sse';
|
|
55
|
+
url: string;
|
|
56
|
+
headers?: Record<string, string>;
|
|
57
|
+
} | {
|
|
58
|
+
type: 'stdio';
|
|
59
|
+
command: string;
|
|
60
|
+
args?: string[];
|
|
61
|
+
env?: Record<string, string>;
|
|
62
|
+
};
|
|
27
63
|
export interface PersonaSpec {
|
|
28
64
|
id: string;
|
|
29
65
|
intent: PersonaIntent;
|
|
66
|
+
/**
|
|
67
|
+
* Free-form classification labels (from {@link PERSONA_TAGS}). Every persona
|
|
68
|
+
* has at least one; a persona may carry multiple tags when it spans concerns
|
|
69
|
+
* (e.g. `['testing', 'implementation']`).
|
|
70
|
+
*/
|
|
71
|
+
tags: PersonaTag[];
|
|
30
72
|
description: string;
|
|
31
73
|
skills: PersonaSkill[];
|
|
32
74
|
tiers: Record<PersonaTier, PersonaRuntime>;
|
|
75
|
+
/**
|
|
76
|
+
* Environment variables injected into the harness child process.
|
|
77
|
+
* Values may be literal strings or `$VAR` references resolved from the
|
|
78
|
+
* caller's environment at spawn time.
|
|
79
|
+
*/
|
|
80
|
+
env?: Record<string, string>;
|
|
81
|
+
/**
|
|
82
|
+
* MCP servers to attach to the harness session. Only wired for `claude`
|
|
83
|
+
* today (via `--mcp-config`); other harnesses warn and skip.
|
|
84
|
+
*/
|
|
85
|
+
mcpServers?: Record<string, McpServerSpec>;
|
|
86
|
+
/**
|
|
87
|
+
* Permission policy (allow/deny lists, mode) for the harness session.
|
|
88
|
+
* Only wired for `claude` today (via `--allowedTools`, `--disallowedTools`,
|
|
89
|
+
* `--permission-mode`); other harnesses warn and skip.
|
|
90
|
+
*/
|
|
91
|
+
permissions?: PersonaPermissions;
|
|
33
92
|
}
|
|
34
93
|
export interface RoutingProfileRule {
|
|
35
94
|
tier: PersonaTier;
|
|
@@ -46,6 +105,9 @@ export interface PersonaSelection {
|
|
|
46
105
|
runtime: PersonaRuntime;
|
|
47
106
|
skills: PersonaSkill[];
|
|
48
107
|
rationale: string;
|
|
108
|
+
env?: Record<string, string>;
|
|
109
|
+
mcpServers?: Record<string, McpServerSpec>;
|
|
110
|
+
permissions?: PersonaPermissions;
|
|
49
111
|
}
|
|
50
112
|
export declare const SKILL_SOURCE_KINDS: readonly ["prpm", "skill.sh"];
|
|
51
113
|
export type SkillSourceKind = (typeof SKILL_SOURCE_KINDS)[number];
|
|
@@ -57,6 +119,24 @@ export interface HarnessSkillTarget {
|
|
|
57
119
|
dir: string;
|
|
58
120
|
}
|
|
59
121
|
export declare const HARNESS_SKILL_TARGETS: Record<Harness, HarnessSkillTarget>;
|
|
122
|
+
/**
|
|
123
|
+
* Options for {@link materializeSkills} / {@link materializeSkillsFor}.
|
|
124
|
+
*
|
|
125
|
+
* `installRoot` stages skills under an out-of-repo directory (typically
|
|
126
|
+
* `~/.agent-workforce/sessions/<id>/claude/plugin`) that doubles as a Claude
|
|
127
|
+
* Code plugin root. The SDK generates the scaffold (`.claude-plugin/plugin.json`
|
|
128
|
+
* and a `skills` symlink pointing at `.claude/skills/`), prpm installs into
|
|
129
|
+
* `<installRoot>/.claude/skills/<name>/`, and post-run cleanup removes the
|
|
130
|
+
* entire `installRoot` in one `rm -rf` — no files ever touch the repo.
|
|
131
|
+
*
|
|
132
|
+
* Only honored for `harness === 'claude'`. Passing `installRoot` with another
|
|
133
|
+
* harness throws. The caller must supply an absolute path; when the generated
|
|
134
|
+
* install command runs, it `mkdir -p`s `installRoot` and any missing parents
|
|
135
|
+
* needed for the scaffold (`.claude-plugin/`, `.claude/skills/`).
|
|
136
|
+
*/
|
|
137
|
+
export interface SkillMaterializationOptions {
|
|
138
|
+
installRoot?: string;
|
|
139
|
+
}
|
|
60
140
|
export interface SkillInstall {
|
|
61
141
|
skillId: string;
|
|
62
142
|
/** Original `source` string from the persona JSON. */
|
|
@@ -82,6 +162,13 @@ export interface SkillInstall {
|
|
|
82
162
|
export interface SkillMaterializationPlan {
|
|
83
163
|
harness: Harness;
|
|
84
164
|
installs: SkillInstall[];
|
|
165
|
+
/**
|
|
166
|
+
* Absolute path to the out-of-repo stage directory, when the plan was
|
|
167
|
+
* produced with {@link SkillMaterializationOptions.installRoot}. When set,
|
|
168
|
+
* the install artifacts emit plugin scaffolding at this root and cleanup
|
|
169
|
+
* removes the whole directory instead of individual skill paths.
|
|
170
|
+
*/
|
|
171
|
+
sessionInstallRoot?: string;
|
|
85
172
|
}
|
|
86
173
|
export interface PersonaInstallContext {
|
|
87
174
|
/** Pure install plan for the persona's skills. Describes what would be installed and where, with no side effects. */
|
|
@@ -287,12 +374,12 @@ export declare class PersonaExecutionError extends Error {
|
|
|
287
374
|
*
|
|
288
375
|
* Pure function — does not execute commands or touch the filesystem.
|
|
289
376
|
*/
|
|
290
|
-
export declare function materializeSkills(skills: readonly PersonaSkill[], harness: Harness): SkillMaterializationPlan;
|
|
377
|
+
export declare function materializeSkills(skills: readonly PersonaSkill[], harness: Harness, options?: SkillMaterializationOptions): SkillMaterializationPlan;
|
|
291
378
|
/**
|
|
292
379
|
* Convenience wrapper: derive the install plan directly from a resolved
|
|
293
380
|
* persona selection, using its tier's harness automatically.
|
|
294
381
|
*/
|
|
295
|
-
export declare function materializeSkillsFor(selection: PersonaSelection): SkillMaterializationPlan;
|
|
382
|
+
export declare function materializeSkillsFor(selection: PersonaSelection, options?: SkillMaterializationOptions): SkillMaterializationPlan;
|
|
296
383
|
export declare const personaCatalog: Record<PersonaIntent, PersonaSpec>;
|
|
297
384
|
export declare const routingProfiles: {
|
|
298
385
|
readonly default: RoutingProfile;
|
|
@@ -380,6 +467,21 @@ export declare function usePersona(intent: PersonaIntent, options?: {
|
|
|
380
467
|
harness?: Harness;
|
|
381
468
|
tier?: PersonaTier;
|
|
382
469
|
profile?: RoutingProfile | RoutingProfileId;
|
|
470
|
+
/**
|
|
471
|
+
* Stage claude skills under this absolute directory instead of the
|
|
472
|
+
* repo's `.claude/skills/`. See {@link SkillMaterializationOptions.installRoot}.
|
|
473
|
+
*/
|
|
474
|
+
installRoot?: string;
|
|
475
|
+
}): PersonaContext;
|
|
476
|
+
/**
|
|
477
|
+
* Same as {@link usePersona}, but takes a pre-resolved {@link PersonaSelection}
|
|
478
|
+
* instead of an intent. Use this when you have a selection produced outside
|
|
479
|
+
* the standard repo catalog — for example, a user-local persona override
|
|
480
|
+
* loaded from disk — and want the same install/sendMessage surface.
|
|
481
|
+
*/
|
|
482
|
+
export declare function useSelection(baseSelection: PersonaSelection, options?: {
|
|
483
|
+
harness?: Harness;
|
|
484
|
+
installRoot?: string;
|
|
383
485
|
}): PersonaContext;
|
|
384
486
|
export * from './eval.js';
|
|
385
487
|
//# sourceMappingURL=index.d.ts.map
|