claude-code-session-manager 0.141.0 → 0.143.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/.claude-plugin/marketplace.json +1 -1
- package/README.md +76 -153
- package/bin/cli.cjs +11 -0
- package/dist/assets/AppSettings-BO4jDVGO.js +2 -0
- package/dist/assets/{History-DJMiuXyK.js → History-DTttbvPb.js} +1 -1
- package/dist/assets/HomeClaudeConfig-DADP5bfn.js +3 -0
- package/dist/assets/{Panel-Bf1Cf8UL.js → Panel-B_D4Bg7L.js} +1 -1
- package/dist/assets/{ProjectClaudeConfig-BWPpypf9.js → ProjectClaudeConfig-DPnDJKcr.js} +7 -7
- package/dist/assets/Scheduler-CNLjn90m.js +16 -0
- package/dist/assets/{SkillReferenceGraph-Ba4TkX2C.js → SkillReferenceGraph-D1b2aiol.js} +1 -1
- package/dist/assets/{Skills-C1v91GEO.js → Skills-cfV7sgk6.js} +5 -5
- package/dist/assets/{TiptapBody-BrcWVpiW.js → TiptapBody-DVXtEIVy.js} +1 -1
- package/dist/assets/Toggle-CYajnSdx.js +1 -0
- package/dist/assets/{VoiceButton-qivnDV6K.js → VoiceButton-DJ4gGRuE.js} +1 -1
- package/dist/assets/{historyTotals-CMCPTKqC.js → historyTotals-D3MoHY2U.js} +1 -1
- package/dist/assets/index-CdTppjKR.js +3133 -0
- package/dist/assets/{index-DKXdXfka.css → index-DVHIHoJf.css} +1 -1
- package/dist/index.html +2 -2
- package/dist-web/app.css +1 -1
- package/dist-web/app.js +496 -484
- package/package.json +6 -4
- package/plugins/AGENTS.md +4 -3
- package/plugins/session-manager-dev/.claude-plugin/plugin.json +1 -1
- package/plugins/session-manager-dev/hooks/hooks.json +15 -0
- package/plugins/session-manager-dev/hooks/residue-check.cjs +241 -0
- package/plugins/session-manager-dev/skills/builder/SKILL.md +5 -0
- package/plugins/session-manager-dev/skills/develop/SKILL.md +58 -18
- package/plugins/session-manager-dev/skills/develop/standards.md +3 -2
- package/scripts/README.md +2 -0
- package/scripts/hooks/guard-tool-risk.cjs +5 -1
- package/scripts/hooks/lib/guard-tool-risk-policy.cjs +158 -1
- package/scripts/scheduler-mcp-server.cjs +1032 -112
- package/src/main/adminRouteRegistry.cjs +69 -0
- package/src/main/agentLibrary.cjs +72 -4
- package/src/main/agentsIpc.cjs +3 -2
- package/src/main/build-info.json +4 -4
- package/src/main/chatRunner.cjs +336 -23
- package/src/main/config.cjs +35 -1
- package/src/main/docEdit.cjs +4 -2
- package/src/main/health.cjs +129 -2
- package/src/main/index.cjs +110 -52
- package/src/main/ipcSchemas.cjs +172 -8
- package/src/main/lib/AGENTS.md +1 -1
- package/src/main/lib/chatBootRecovery.cjs +2 -0
- package/src/main/lib/claude/agentModelResolve.cjs +51 -25
- package/src/main/lib/claude/agentSnapshot.cjs +186 -0
- package/src/main/lib/claude/environmentProfiles.cjs +242 -0
- package/src/main/lib/claude/jobSandboxPolicy.cjs +241 -33
- package/src/main/lib/claude/personaToolScope.cjs +82 -31
- package/src/main/lib/claude/runClaudeP.cjs +4 -2
- package/src/main/lib/claude/toolRiskMarks.cjs +41 -1
- package/src/main/lib/claude/usageCircuit.cjs +49 -21
- package/src/main/lib/claude/vaultRefs.cjs +277 -0
- package/src/main/lib/demo-video-kit/capture.cjs +282 -12
- package/src/main/lib/demo-video-kit/cast.md +52 -0
- package/src/main/lib/demo-video-kit/character.cjs +778 -30
- package/src/main/lib/demo-video-kit/checks.cjs +120 -1
- package/src/main/lib/demo-video-kit/export.cjs +218 -0
- package/src/main/lib/demo-video-kit/frames.cjs +104 -9
- package/src/main/lib/demo-video-kit/kind-marketing.md +121 -0
- package/src/main/lib/demo-video-kit/kind-tiktok.md +103 -0
- package/src/main/lib/demo-video-kit/kokoroSay.cjs +205 -0
- package/src/main/lib/demo-video-kit/project-home-html.md +43 -0
- package/src/main/lib/demo-video-kit/projectSounds.cjs +191 -0
- package/src/main/lib/demo-video-kit/resumableRun.cjs +298 -0
- package/src/main/lib/demo-video-kit/seedKit.cjs +3 -3
- package/src/main/lib/demo-video-kit/sound.cjs +166 -9
- package/src/main/lib/demo-video-kit/standalone.cjs +231 -0
- package/src/main/lib/demo-video-kit/voiceLane.cjs +233 -0
- package/src/main/lib/demo-video-kit/voiceLibrary.cjs +312 -0
- package/src/main/lib/epic/activeIndexMerge.cjs +5 -0
- package/src/main/lib/epic/artifactAdminRoutes.cjs +211 -0
- package/src/main/lib/epic/artifactIpc.cjs +153 -0
- package/src/main/lib/epic/artifactNotice.cjs +72 -0
- package/src/main/lib/epic/artifactRetention.cjs +356 -0
- package/src/main/lib/epic/artifactStore.cjs +435 -0
- package/src/main/lib/epic/delegationReadiness.cjs +83 -2
- package/src/main/lib/epic/epicAgentRefresh.cjs +97 -0
- package/src/main/lib/epic/epicEventLog.cjs +258 -0
- package/src/main/lib/epic/epicMint.cjs +43 -1
- package/src/main/lib/epic/epicOutsideRead.cjs +1 -0
- package/src/main/lib/epic/epicOutsideState.cjs +18 -4
- package/src/main/lib/epic/epicPurge.cjs +347 -0
- package/src/main/lib/epic/epicReopen.cjs +5 -2
- package/src/main/lib/epic/epicSettle.cjs +4 -13
- package/src/main/lib/epic/epicSpawnPlan.cjs +57 -4
- package/src/main/lib/epic/epicStateEmitter.cjs +248 -0
- package/src/main/lib/epic/epicStatusMirror.cjs +34 -1
- package/src/main/lib/epic/epicTransitions.cjs +139 -0
- package/src/main/lib/epic/epicValidationHook.cjs +94 -4
- package/src/main/lib/epic/guardSpawnSettings.cjs +3 -2
- package/src/main/lib/externalContract.cjs +48 -4
- package/src/main/lib/feedback-remote/autoStartedSession.cjs +1 -1
- package/src/main/lib/feedback-remote/crossProjectReply.cjs +478 -127
- package/src/main/lib/feedback-remote/customerFeedbackAdminRoutes.cjs +16 -3
- package/src/main/lib/feedback-remote/customerFeedbackClient.cjs +11 -6
- package/src/main/lib/feedback-remote/customerFeedbackInbox.cjs +26 -1
- package/src/main/lib/feedback-remote/customerFeedbackIpc.cjs +5 -2
- package/src/main/lib/feedback-remote/feedbackBoxDrain.cjs +409 -0
- package/src/main/lib/feedback-remote/feedbackBoxKeys.cjs +218 -0
- package/src/main/lib/feedback-remote/feedbackEnvelope.cjs +163 -0
- package/src/main/lib/feedback-remote/feedbackRelayClient.cjs +164 -0
- package/src/main/lib/feedback-remote/feedbackReport.cjs +234 -0
- package/src/main/lib/feedback-remote/feedbackSeal.cjs +217 -0
- package/src/main/lib/feedback-remote/localAdminHttp.cjs +108 -2
- package/src/main/lib/feedback-remote/macroAdminRoutes.cjs +32 -1
- package/src/main/lib/feedback-remote/needsYouIpc.cjs +17 -0
- package/src/main/lib/feedback-remote/needsYouStore.cjs +177 -6
- package/src/main/lib/feedback-remote/pendingReplies.cjs +207 -0
- package/src/main/lib/feedback-remote/projectHomeAdminRoutes.cjs +282 -14
- package/src/main/lib/feedback-remote/replyClaims.cjs +159 -0
- package/src/main/lib/feedback-remote/serviceClient.cjs +429 -0
- package/src/main/lib/feedback-remote/serviceMcpSession.cjs +252 -0
- package/src/main/lib/feedback-remote/serviceMcpTools.cjs +284 -0
- package/src/main/lib/feedback-remote/servicePairings.cjs +313 -0
- package/src/main/lib/feedback-remote/serviceStdioBridge.cjs +290 -0
- package/src/main/lib/feedback-remote/siteFeedbackAdminRoutes.cjs +295 -0
- package/src/main/lib/feedback-remote/siteFeedbackInbox.cjs +598 -0
- package/src/main/lib/feedback-remote/siteFeedbackIpc.cjs +86 -0
- package/src/main/lib/feedback-remote/siteFeedbackService.cjs +477 -0
- package/src/main/lib/git/gitWorktree.cjs +8 -0
- package/src/main/lib/git/runtimeStateUntrack.cjs +15 -1
- package/src/main/lib/git/worktreeDeps.cjs +182 -4
- package/src/main/lib/mcpToolCatalog.cjs +399 -29
- package/src/main/lib/opsOwnership.cjs +141 -28
- package/src/main/lib/opsRetentionSettings.cjs +27 -5
- package/src/main/lib/persona-macro/builtinMacros.cjs +7 -2
- package/src/main/lib/persona-macro/macroJobDispatch.cjs +52 -8
- package/src/main/lib/persona-macro/macroJobIpc.cjs +16 -6
- package/src/main/lib/persona-macro/macroLibrary.cjs +49 -7
- package/src/main/lib/persona-macro/personaFrontmatterSchema.cjs +83 -0
- package/src/main/lib/persona-macro/projectVideoToolCheck.cjs +3 -0
- package/src/main/lib/persona-macro/shippedPersonaSeeds.cjs +309 -0
- package/src/main/lib/phaseProjection.cjs +103 -0
- package/src/main/lib/prd/depSlugResolve.cjs +4 -13
- package/src/main/lib/prd/prdBodyPatch.cjs +12 -17
- package/src/main/lib/prd/prdCreate.cjs +387 -228
- package/src/main/lib/prd/prdCriteria.cjs +228 -0
- package/src/main/lib/prd/prdFrontmatter.cjs +43 -3
- package/src/main/lib/prd/prdGateFiles.cjs +125 -49
- package/src/main/lib/prd/prdSizing.cjs +3 -1
- package/src/main/lib/process/cleanEnv.cjs +52 -1
- package/src/main/lib/process/leftoverRenice.cjs +178 -0
- package/src/main/lib/process/memoryScope.cjs +31 -3
- package/src/main/lib/project-pages/pagesLibrary.cjs +72 -6
- package/src/main/lib/project-pages/videoPressLines.cjs +145 -0
- package/src/main/lib/project-pages/videoReviewIpc.cjs +3 -2
- package/src/main/lib/project-pages/videoScriptPress.cjs +260 -0
- package/src/main/lib/project-pages/videoScriptRunRoute.cjs +351 -0
- package/src/main/lib/project-pages/videoScriptSwitchIpc.cjs +49 -0
- package/src/main/lib/project-pages/videoScriptSwitchRoute.cjs +173 -0
- package/src/main/lib/project-pages/voiceAdminRoutes.cjs +175 -0
- package/src/main/lib/project-pages/voicePreview.cjs +196 -0
- package/src/main/lib/project-pages/voicesIpc.cjs +186 -0
- package/src/main/lib/promptSessionSchema.cjs +6 -0
- package/src/main/lib/scheduler/cancelledRow.cjs +57 -0
- package/src/main/lib/scheduler/cpuSample.cjs +133 -42
- package/src/main/lib/scheduler/criteriaChecks.cjs +313 -0
- package/src/main/lib/scheduler/definitionOfDone.cjs +44 -5
- package/src/main/lib/scheduler/heldSchedulerTurns.cjs +238 -0
- package/src/main/lib/scheduler/jobMemoryStats.cjs +324 -0
- package/src/main/lib/scheduler/loadGate.cjs +82 -4
- package/src/main/lib/scheduler/planRecordHarvest.cjs +152 -54
- package/src/main/lib/scheduler/prdOutcomeRecord.cjs +191 -0
- package/src/main/lib/scheduler/queueStore.cjs +16 -0
- package/src/main/lib/scheduler/rcaReport.cjs +79 -15
- package/src/main/lib/scheduler/runLogRetention.cjs +42 -1
- package/src/main/lib/scheduler/scheduleJobSchema.cjs +18 -0
- package/src/main/lib/scheduler/scheduleJobTransitions.cjs +47 -0
- package/src/main/lib/scheduler/schedulerConfig.cjs +47 -0
- package/src/main/lib/scheduler/schedulerPaths.cjs +9 -3
- package/src/main/lib/scheduler/schedulerRuntimeState.cjs +50 -1
- package/src/main/lib/scheduler/sessionSlots.cjs +5 -1
- package/src/main/lib/scheduler/slotsRoute.cjs +251 -0
- package/src/main/lib/scheduler/toolClearance.cjs +258 -0
- package/src/main/lib/scheduler/usageHoldRoute.cjs +97 -0
- package/src/main/lib/scheduler/validatorVerdictSchema.cjs +152 -11
- package/src/main/lib/tasks/memoryConsolidation.cjs +312 -0
- package/src/main/lib/tasks/mitigationReview.cjs +314 -0
- package/src/main/lib/tasks/taskAdminRoutes.cjs +390 -25
- package/src/main/lib/tasks/taskIpc.cjs +22 -18
- package/src/main/lib/tasks/taskLedger.cjs +147 -25
- package/src/main/lib/tasks/taskRun.cjs +186 -17
- package/src/main/lib/tasks/taskSwitch.cjs +85 -12
- package/src/main/lib/tasks/taskSwitchRoute.cjs +172 -0
- package/src/main/lib/telemetry/auditEvents.cjs +204 -6
- package/src/main/lib/telemetry/auditLog.cjs +6 -2
- package/src/main/lib/telemetry/eventsAdminRoutes.cjs +198 -6
- package/src/main/lib/telemetry/webhookDelivery.cjs +205 -0
- package/src/main/lib/telemetry/webhookRegistry.cjs +281 -0
- package/src/main/lib/toolUseClassify.cjs +181 -0
- package/src/main/lib/util/atomicFs.cjs +2 -2
- package/src/main/lib/util/smfileRange.cjs +77 -0
- package/src/main/projectPages.cjs +3 -1
- package/src/main/promptSessionEvents.cjs +21 -1
- package/src/main/pty.cjs +77 -0
- package/src/main/queueOps.cjs +33 -14
- package/src/main/runVerify.cjs +74 -9
- package/src/main/scheduler/AGENTS.md +1 -0
- package/src/main/scheduler/budget.cjs +6 -5
- package/src/main/scheduler/prdParser.cjs +46 -13
- package/src/main/scheduler/reviewLadder.cjs +9 -25
- package/src/main/scheduler/utilizationHold.cjs +191 -0
- package/src/main/scheduler.cjs +1932 -213
- package/src/main/templates/PRD_AUTHORING.md +11 -3
- package/src/main/webRemote.cjs +463 -6
- package/src/preload/api.d.ts +576 -39
- package/src/preload/apiSurface.json +223 -7
- package/src/preload/index.cjs +48 -1
- package/src/seed/agents/architect.md +6 -1
- package/src/seed/agents/blender-artist.md +2 -1
- package/src/seed/agents/competitive-analyst.md +3 -1
- package/src/seed/agents/competitive-researcher.md +2 -1
- package/src/seed/agents/demo-video-builder.md +98 -87
- package/src/seed/agents/dev-lead.md +3 -3
- package/src/seed/agents/project-home-builder.md +9 -31
- package/src/seed/agents/validator.md +23 -23
- package/dist/assets/AppSettings-DExeJhqQ.js +0 -2
- package/dist/assets/HomeClaudeConfig-CTp2tkZ4.js +0 -3
- package/dist/assets/Scheduler-cyr61UAC.js +0 -16
- package/dist/assets/ViewTabs-DXhOWFG0.js +0 -1
- package/dist/assets/index-B2TQz3nd.js +0 -3121
- package/src/main/lib/epic/epicStateWatcher.cjs +0 -157
|
@@ -42,6 +42,12 @@
|
|
|
42
42
|
* refuses `job` on every other surface and on built-ins; a read drops such a
|
|
43
43
|
* stale key (a built-in's job is read live from BUILTIN_MACROS by withBuiltinJobs).
|
|
44
44
|
*
|
|
45
|
+
* A non-built-in 'project-home' or 'project-video' macro may carry `voiceId`, the
|
|
46
|
+
* tool's default library voice (VOICE_ID_RE); a project-video job gets it as
|
|
47
|
+
* SM_VOICE_ID unless the press picks another (macroJobDispatch.cjs). saveMacro
|
|
48
|
+
* refuses it on a 'sessions' macro (VOICE_SURFACE_ONLY) and on a built-in
|
|
49
|
+
* (VOICE_NOT_ON_BUILTIN); a read drops such a stale key.
|
|
50
|
+
*
|
|
45
51
|
* Plain Node, no Electron imports.
|
|
46
52
|
*/
|
|
47
53
|
|
|
@@ -74,6 +80,11 @@ const MacroSurfaceSchema = z.enum(['sessions', 'project-home', 'project-video'])
|
|
|
74
80
|
const PROJECT_VIDEO_ONE_PROJECT = 'a Project Video tool belongs to exactly one project';
|
|
75
81
|
const JOB_SURFACE_ONLY = 'job is allowed only on a Project Video tool';
|
|
76
82
|
const JOB_NOT_ON_BUILTIN = 'a built-in macro job cannot be set';
|
|
83
|
+
const VOICE_SURFACE_ONLY = 'voiceId is allowed only on a Project Home or Project Video tool';
|
|
84
|
+
const VOICE_NOT_ON_BUILTIN = 'a built-in macro voiceId cannot be set';
|
|
85
|
+
const { VOICE_ID_RE } = require('../demo-video-kit/voiceLibrary.cjs');
|
|
86
|
+
const MacroVoiceIdSchema = z.string().regex(VOICE_ID_RE, 'invalid voiceId');
|
|
87
|
+
const VOICE_SURFACES = new Set(['project-home', 'project-video']);
|
|
77
88
|
|
|
78
89
|
/** Repo-relative path a Project Video job may write: '/'-separated, inside the repo, outside ops/git state. */
|
|
79
90
|
const JobRepoPathSchema = z.string().min(1).max(200).superRefine((v, ctx) => {
|
|
@@ -190,10 +201,17 @@ function renderMacroPrompt(prompt, inputs, values) {
|
|
|
190
201
|
* refuses such a job outright; reads stay tolerant.
|
|
191
202
|
*/
|
|
192
203
|
function stripForeignJob(entry) {
|
|
193
|
-
if (!entry || typeof entry !== 'object' || Array.isArray(entry)
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
204
|
+
if (!entry || typeof entry !== 'object' || Array.isArray(entry)) return entry;
|
|
205
|
+
let out = entry;
|
|
206
|
+
if ('job' in out && !(out.surface === 'project-video' && !out.builtin)) {
|
|
207
|
+
const { job: _stale, ...rest } = out;
|
|
208
|
+
out = rest;
|
|
209
|
+
}
|
|
210
|
+
if ('voiceId' in out && !(VOICE_SURFACES.has(out.surface) && !out.builtin)) {
|
|
211
|
+
const { voiceId: _staleVoice, ...rest } = out;
|
|
212
|
+
out = rest;
|
|
213
|
+
}
|
|
214
|
+
return out;
|
|
197
215
|
}
|
|
198
216
|
|
|
199
217
|
const MacroObjectSchema = z.object({
|
|
@@ -215,11 +233,17 @@ const MacroObjectSchema = z.object({
|
|
|
215
233
|
scriptStart: z.boolean().optional(),
|
|
216
234
|
// Background job declaration; only on a non-built-in 'project-video' macro.
|
|
217
235
|
job: MacroJobSchema.optional(),
|
|
236
|
+
// Default library voice; only on a non-built-in 'project-home' / 'project-video' macro.
|
|
237
|
+
voiceId: MacroVoiceIdSchema.optional(),
|
|
218
238
|
}).superRefine((value, ctx) => {
|
|
219
239
|
refineInputs(value, ctx);
|
|
220
240
|
if (value.surface === 'project-video' && !isSingleProject(value.projects)) {
|
|
221
241
|
ctx.addIssue({ code: 'custom', path: ['projects'], message: PROJECT_VIDEO_ONE_PROJECT });
|
|
222
242
|
}
|
|
243
|
+
if (value.voiceId !== undefined) {
|
|
244
|
+
if (value.builtin) ctx.addIssue({ code: 'custom', path: ['voiceId'], message: VOICE_NOT_ON_BUILTIN });
|
|
245
|
+
else if (!VOICE_SURFACES.has(value.surface)) ctx.addIssue({ code: 'custom', path: ['voiceId'], message: VOICE_SURFACE_ONLY });
|
|
246
|
+
}
|
|
223
247
|
});
|
|
224
248
|
const MacroSchema = z.preprocess(stripForeignJob, MacroObjectSchema);
|
|
225
249
|
|
|
@@ -242,6 +266,8 @@ const MacroSaveSchema = z.object({
|
|
|
242
266
|
scriptStart: z.boolean().optional(),
|
|
243
267
|
// Omitted keeps the stored job on update; `null` removes it. Only on a 'project-video' macro.
|
|
244
268
|
job: MacroJobSchema.nullable().optional(),
|
|
269
|
+
// Omitted keeps the stored voiceId on update; `null` removes it. Only on a 'project-home' / 'project-video' macro.
|
|
270
|
+
voiceId: MacroVoiceIdSchema.nullable().optional(),
|
|
245
271
|
}).superRefine(refineInputs);
|
|
246
272
|
|
|
247
273
|
const MacroDeleteSchema = z.object({ id: MacroIdSchema });
|
|
@@ -610,7 +636,7 @@ function isProjectVideoTool(macro, cwd) {
|
|
|
610
636
|
}
|
|
611
637
|
|
|
612
638
|
/** Throws unless the merged save's surface/projects/job combination is allowed. */
|
|
613
|
-
function assertSurfaceRules(saved, parsedJob) {
|
|
639
|
+
function assertSurfaceRules(saved, parsedJob, parsedVoiceId) {
|
|
614
640
|
if (saved.surface === 'project-video' && !isSingleProject(saved.projects)) {
|
|
615
641
|
throw new Error(PROJECT_VIDEO_ONE_PROJECT);
|
|
616
642
|
}
|
|
@@ -618,6 +644,17 @@ function assertSurfaceRules(saved, parsedJob) {
|
|
|
618
644
|
if (saved.builtin) throw new Error(JOB_NOT_ON_BUILTIN);
|
|
619
645
|
if (saved.surface !== 'project-video') throw new Error(JOB_SURFACE_ONLY);
|
|
620
646
|
}
|
|
647
|
+
if (parsedVoiceId !== undefined && parsedVoiceId !== null) {
|
|
648
|
+
if (saved.builtin) throw new Error(VOICE_NOT_ON_BUILTIN);
|
|
649
|
+
if (!VOICE_SURFACES.has(saved.surface)) throw new Error(VOICE_SURFACE_ONLY);
|
|
650
|
+
}
|
|
651
|
+
}
|
|
652
|
+
|
|
653
|
+
/** Apply the save's `voiceId` (omitted = keep, null = remove) and drop any voiceId the surface cannot carry. */
|
|
654
|
+
function applyVoiceId(saved, parsedVoiceId) {
|
|
655
|
+
if (parsedVoiceId === null) delete saved.voiceId;
|
|
656
|
+
else if (parsedVoiceId !== undefined) saved.voiceId = parsedVoiceId;
|
|
657
|
+
if (!VOICE_SURFACES.has(saved.surface) || saved.builtin) delete saved.voiceId;
|
|
621
658
|
}
|
|
622
659
|
|
|
623
660
|
/** Apply the save's `job` (omitted = keep, null = remove) and drop any job the surface cannot carry. */
|
|
@@ -705,8 +742,9 @@ async function saveMacro(input, opts = {}) {
|
|
|
705
742
|
}
|
|
706
743
|
if (parsed.scriptStart === true) saved.scriptStart = true;
|
|
707
744
|
else if (parsed.scriptStart === false) delete saved.scriptStart;
|
|
708
|
-
assertSurfaceRules(saved, parsed.job);
|
|
745
|
+
assertSurfaceRules(saved, parsed.job, parsed.voiceId);
|
|
709
746
|
applyJob(saved, parsed.job);
|
|
747
|
+
applyVoiceId(saved, parsed.voiceId);
|
|
710
748
|
assertPlaceholdersDeclared(saved);
|
|
711
749
|
macros[idx] = saved;
|
|
712
750
|
} else {
|
|
@@ -730,8 +768,9 @@ async function saveMacro(input, opts = {}) {
|
|
|
730
768
|
saved.autoStartTargets = normalizeProjects(parsed.autoStartTargets);
|
|
731
769
|
}
|
|
732
770
|
if (parsed.scriptStart === true) saved.scriptStart = true;
|
|
733
|
-
assertSurfaceRules(saved, parsed.job);
|
|
771
|
+
assertSurfaceRules(saved, parsed.job, parsed.voiceId);
|
|
734
772
|
applyJob(saved, parsed.job);
|
|
773
|
+
applyVoiceId(saved, parsed.voiceId);
|
|
735
774
|
assertPlaceholdersDeclared(saved);
|
|
736
775
|
macros.push(saved);
|
|
737
776
|
}
|
|
@@ -822,6 +861,9 @@ async function removeMacroFromProject(input, opts = {}) {
|
|
|
822
861
|
|
|
823
862
|
module.exports = {
|
|
824
863
|
ALL_PROJECTS,
|
|
864
|
+
VOICE_ID_RE,
|
|
865
|
+
VOICE_SURFACE_ONLY,
|
|
866
|
+
VOICE_NOT_ON_BUILTIN,
|
|
825
867
|
MACRO_INPUT_MAX_LEN,
|
|
826
868
|
MACRO_PLACEHOLDER_RE,
|
|
827
869
|
MacroInputSchema,
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
// @ts-check
|
|
2
|
+
/**
|
|
3
|
+
* The one owning schema for a persona file's FRONTMATTER (the parsed
|
|
4
|
+
* `fm` object splitFrontmatter returns for ~/.claude/agents/*.md or a seed in
|
|
5
|
+
* src/seed/agents/). Managed Agents' "an agent definition is validated" rule,
|
|
6
|
+
* kept local: an invalid persona is refused instead of silently tolerated.
|
|
7
|
+
*
|
|
8
|
+
* - `.strict()` over exactly agentLibrary.cjs's MANAGED_PERSONA_KEYS
|
|
9
|
+
* (imported, never copied) — an unknown key fails, naming the key.
|
|
10
|
+
* - `mcpServers` / `packs` are string lists (or a comma string): the exact
|
|
11
|
+
* MCP servers and context packs a scheduler job running as this persona
|
|
12
|
+
* loads under --strict-mcp-config.
|
|
13
|
+
* - `environment` names a declared environment profile
|
|
14
|
+
* (lib/claude/environmentProfiles.cjs); absent = headless-default.
|
|
15
|
+
* - `model` is required and must be concrete (not `inherit`): every persona
|
|
16
|
+
* can be a PRD `agentType`, so every persona is headless-capable, and an
|
|
17
|
+
* unpinned headless run drifts to the CLI default model.
|
|
18
|
+
*
|
|
19
|
+
* Distinct from agentPersonaSchema.cjs, which validates the structured IPC
|
|
20
|
+
* save payload. Dispatch (agentModelResolve.cjs's resolvePrdPersonaForSpawn)
|
|
21
|
+
* refuses a persona that fails it.
|
|
22
|
+
*/
|
|
23
|
+
'use strict';
|
|
24
|
+
|
|
25
|
+
const { z } = require('zod');
|
|
26
|
+
const { MANAGED_PERSONA_KEYS } = require('../../agentLibrary.cjs');
|
|
27
|
+
|
|
28
|
+
// Parsed frontmatter values are strings; structured callers may pass
|
|
29
|
+
// numbers (seedVersion), booleans (executorOnly) or string lists (tools/tags).
|
|
30
|
+
const FmValue = z.union([z.string(), z.number(), z.boolean(), z.array(z.string())]);
|
|
31
|
+
|
|
32
|
+
const ModelSchema = z
|
|
33
|
+
.string({ error: 'model is required: pin a concrete model (e.g. opus, sonnet, haiku)' })
|
|
34
|
+
.trim()
|
|
35
|
+
.min(1, 'model is required: pin a concrete model (e.g. opus, sonnet, haiku)')
|
|
36
|
+
.refine((v) => v.toLowerCase() !== 'inherit', 'model must be a concrete model, not "inherit" (personas run headless)');
|
|
37
|
+
|
|
38
|
+
/** @type {Record<string, z.ZodType>} */
|
|
39
|
+
const shape = {};
|
|
40
|
+
for (const key of MANAGED_PERSONA_KEYS) shape[key] = FmValue.optional();
|
|
41
|
+
shape.model = ModelSchema;
|
|
42
|
+
// Declared capabilities (personaToolScope.cjs): a string list, or the parsed
|
|
43
|
+
// frontmatter's comma string ("a, b") of non-empty names — never a number or
|
|
44
|
+
// boolean. Every listed name must resolve at dispatch or the job parks.
|
|
45
|
+
const CapabilityList = z.union([
|
|
46
|
+
z.array(z.string().trim().min(1, 'entries must be non-empty names')),
|
|
47
|
+
z.string().trim().min(1, 'must list at least one name (or omit the key)'),
|
|
48
|
+
]);
|
|
49
|
+
shape.mcpServers = CapabilityList.optional();
|
|
50
|
+
shape.packs = CapabilityList.optional();
|
|
51
|
+
// The declared environment profile (lib/claude/environmentProfiles.cjs) a
|
|
52
|
+
// headless run as this persona uses; absent = headless-default. Same name rule
|
|
53
|
+
// as an environment file name. Existence is checked at load, not here.
|
|
54
|
+
shape.environment = z
|
|
55
|
+
.string()
|
|
56
|
+
.trim()
|
|
57
|
+
.regex(/^[a-z0-9][a-z0-9-]*$/, 'environment must be a lowercase, hyphenated profile name (e.g. headless-default)')
|
|
58
|
+
.optional();
|
|
59
|
+
// Not a MANAGED_PERSONA_KEYS entry (the save path preserves it as an
|
|
60
|
+
// unmanaged line), but prdAgentType.cjs's readPersonaDefaultEstimateMinutes
|
|
61
|
+
// reads it at dispatch, so a dispatch-time validation must admit it.
|
|
62
|
+
shape.defaultEstimateMinutes = FmValue.optional();
|
|
63
|
+
|
|
64
|
+
const PersonaFrontmatterSchema = z.object(shape).strict();
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* @param {unknown} fm
|
|
68
|
+
* @returns {{ ok: true } | { ok: false, errors: string[] }}
|
|
69
|
+
*/
|
|
70
|
+
function validatePersonaFrontmatter(fm) {
|
|
71
|
+
const r = PersonaFrontmatterSchema.safeParse(fm);
|
|
72
|
+
if (r.success) return { ok: true };
|
|
73
|
+
const errors = r.error.issues.map((issue) => {
|
|
74
|
+
if (issue.code === 'unrecognized_keys') {
|
|
75
|
+
return `unknown frontmatter key(s): ${issue.keys.join(', ')}`;
|
|
76
|
+
}
|
|
77
|
+
const where = issue.path.length ? issue.path.join('.') : '(frontmatter)';
|
|
78
|
+
return `${where}: ${issue.message}`;
|
|
79
|
+
});
|
|
80
|
+
return { ok: false, errors };
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
module.exports = { PersonaFrontmatterSchema, validatePersonaFrontmatter };
|
|
@@ -68,6 +68,9 @@ async function checkProjectVideoToolRunnable({ cwd, agentName, job } = /** @type
|
|
|
68
68
|
const msg = err && /** @type {Error} */ (err).message ? /** @type {Error} */ (err).message : String(err);
|
|
69
69
|
return { ok: false, error: `${PERSONA_PREFIX} ${msg}` };
|
|
70
70
|
}
|
|
71
|
+
if (persona && persona.refusal) {
|
|
72
|
+
return { ok: false, error: `${PERSONA_PREFIX} ${persona.refusal.code}: ${persona.refusal.detail}` };
|
|
73
|
+
}
|
|
71
74
|
if (!persona || !persona.personaPath) {
|
|
72
75
|
return { ok: false, error: `${PERSONA_PREFIX} persona '${agentName}' could not be read.` };
|
|
73
76
|
}
|
|
@@ -87,6 +87,18 @@ const SHIPPED_PERSONA_SEEDS = deepFreeze({
|
|
|
87
87
|
tools: "Read, Grep, Glob, Bash, Edit, Write",
|
|
88
88
|
},
|
|
89
89
|
},
|
|
90
|
+
{
|
|
91
|
+
commit: "3861-finish-whole-job",
|
|
92
|
+
bodySha256: "c769191b123d30ab967e89066171e3ff73bb90b3fc403c0939bb3a5c394304a1",
|
|
93
|
+
fm: {
|
|
94
|
+
description: "The primary Actor for an Epic's whole interactive conversation — owns overall plan and decomposition, clarifies scope, searches before building, decomposes work into scheduled PRDs via /develop, tracks them to completion, and verifies before calling anything done. Never implements a PRD itself — that's dev-lead's job, one PRD at a time, headless. Task-type framing is the Epic's Mission tag's job, not this persona's.",
|
|
95
|
+
model: "opus",
|
|
96
|
+
effort: "medium",
|
|
97
|
+
tags: "feature, bug, discussion, art",
|
|
98
|
+
title: "Engineering — Architect",
|
|
99
|
+
tools: "Read, Grep, Glob, Bash, Edit, Write",
|
|
100
|
+
},
|
|
101
|
+
},
|
|
90
102
|
],
|
|
91
103
|
"dev-lead": [
|
|
92
104
|
{
|
|
@@ -195,6 +207,30 @@ const SHIPPED_PERSONA_SEEDS = deepFreeze({
|
|
|
195
207
|
tools: "Read, Grep, Glob, Bash, Edit, Write",
|
|
196
208
|
},
|
|
197
209
|
},
|
|
210
|
+
{
|
|
211
|
+
"commit": "mm-registry",
|
|
212
|
+
"bodySha256": "049f6a9a8578638dd426defd430ba481e1aea9073241ff0ee2b0e094924e3086",
|
|
213
|
+
"fm": {
|
|
214
|
+
"description": "Executes exactly one already-scoped PRD at a time, headless, start to finish — reads the PRD's Goal/Acceptance Criteria/Implementation notes and standards.md, implements it, verifies against its own AC, and reports. Has no visibility into the overall plan — that's architect's job. This is the default persona a scheduled PRD runs as: the scheduler resolves a PRD's `agentType` frontmatter field (default `dev-lead`) to this file and launches the headless executor AS this persona via `--append-system-prompt`.",
|
|
215
|
+
"effort": "medium",
|
|
216
|
+
"executorOnly": "true",
|
|
217
|
+
"model": "sonnet",
|
|
218
|
+
"title": "Engineering — Software Engineer",
|
|
219
|
+
"tools": "Read, Grep, Glob, Bash, Edit, Write"
|
|
220
|
+
}
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
commit: "followup-commit-trailers",
|
|
224
|
+
bodySha256: "ca65b05026e3d9f603c5a6efeb0d456686d4413089080ad7596cb9f051162646",
|
|
225
|
+
fm: {
|
|
226
|
+
description: "Executes exactly one already-scoped PRD at a time, headless, start to finish — reads the PRD's Goal/Acceptance Criteria/Implementation notes and standards.md, implements it, verifies against its own AC, and reports. Has no visibility into the overall plan — that's architect's job. This is the default persona a scheduled PRD runs as: the scheduler resolves a PRD's `agentType` frontmatter field (default `dev-lead`) to this file and launches the headless executor AS this persona via `--append-system-prompt`.",
|
|
227
|
+
effort: "medium",
|
|
228
|
+
executorOnly: "true",
|
|
229
|
+
model: "sonnet",
|
|
230
|
+
title: "Engineering — Software Engineer",
|
|
231
|
+
tools: "Read, Grep, Glob, Bash, Edit, Write",
|
|
232
|
+
},
|
|
233
|
+
},
|
|
198
234
|
],
|
|
199
235
|
"project-home-builder": [
|
|
200
236
|
// Not from src/seed git history: this body was written to ~/.claude/agents by this repo's own
|
|
@@ -282,6 +318,30 @@ const SHIPPED_PERSONA_SEEDS = deepFreeze({
|
|
|
282
318
|
effort: "medium",
|
|
283
319
|
},
|
|
284
320
|
},
|
|
321
|
+
{
|
|
322
|
+
commit: "seed-v7",
|
|
323
|
+
bodySha256: "69890c9b83fb8f2f3a10ab2e0b6a932c3f86be9d7c1d40276113d08fc4d5ba28",
|
|
324
|
+
fm: {
|
|
325
|
+
description: "Reads a project and writes ONE Knowledge Page (Overview by default, or How it works, FAQ, or a custom topic) for its Project Home tab, then saves it with a single project_page_write call.",
|
|
326
|
+
tools: "Read, Grep, Glob, Bash, Write, Edit, mcp__session-manager-scheduler__project_home_write, mcp__session-manager-scheduler__project_page_write",
|
|
327
|
+
mcpServers: "session-manager-scheduler",
|
|
328
|
+
title: "Project Home — Builder",
|
|
329
|
+
model: "sonnet",
|
|
330
|
+
effort: "medium",
|
|
331
|
+
},
|
|
332
|
+
},
|
|
333
|
+
{
|
|
334
|
+
commit: "seed-v8",
|
|
335
|
+
bodySha256: "05dce94b324b8df98e74121fd1156d7b35dad78e92261275d81ba7bf5ee890c0",
|
|
336
|
+
fm: {
|
|
337
|
+
description: "Reads a project and writes ONE Knowledge Page (Overview by default, or How it works, FAQ, or a custom topic) for its Project Home tab, then saves it with a single project_page_write call.",
|
|
338
|
+
tools: "Read, Grep, Glob, Bash, Write, Edit, mcp__session-manager-scheduler__project_home_write, mcp__session-manager-scheduler__project_page_write",
|
|
339
|
+
mcpServers: "session-manager-scheduler",
|
|
340
|
+
title: "Project Home — Builder",
|
|
341
|
+
model: "sonnet",
|
|
342
|
+
effort: "medium",
|
|
343
|
+
},
|
|
344
|
+
},
|
|
285
345
|
],
|
|
286
346
|
"validator": [
|
|
287
347
|
{
|
|
@@ -388,6 +448,72 @@ const SHIPPED_PERSONA_SEEDS = deepFreeze({
|
|
|
388
448
|
tools: "Read, Grep, Glob, Bash",
|
|
389
449
|
},
|
|
390
450
|
},
|
|
451
|
+
{
|
|
452
|
+
"commit": "mm-registry",
|
|
453
|
+
"bodySha256": "85760d6b48408f97271c21b7eb5bee51a866265a34a2f4ea8578fa99b2fcd533",
|
|
454
|
+
"fm": {
|
|
455
|
+
"description": "Validates a finished PLAN (the PRDs its validate PRD lists) once, after its last PRD lands — re-runs each PRD's gate, checks every acceptance criterion against the real tree, reviews the plan's combined diff, and reports one VERIFIED/REFUTED verdict per PRD as checked JSON (the CLI enforces the schema). Runs headless as a scheduled PRD (agentType: validator); never edits product code and never queues work.",
|
|
456
|
+
"executorOnly": "true",
|
|
457
|
+
"model": "sonnet",
|
|
458
|
+
"title": "Engineering — Plan Validator",
|
|
459
|
+
"tools": "Read, Grep, Glob, Bash"
|
|
460
|
+
}
|
|
461
|
+
},
|
|
462
|
+
{
|
|
463
|
+
commit: "validator-verdict-criteria",
|
|
464
|
+
bodySha256: "e61b8d66ca07b7edd96bb16b0721f2afa1b7626a432d2528dacc1bfd80ae3c71",
|
|
465
|
+
fm: {
|
|
466
|
+
description: "Validates a finished PLAN (the PRDs its validate PRD lists) once, after its last PRD lands — re-runs each PRD's gate, checks every acceptance criterion against the real tree, reviews the plan's combined diff, and reports one VERIFIED/REFUTED verdict per PRD as checked JSON (the CLI enforces the schema). Runs headless as a scheduled PRD (agentType: validator); never edits product code and never queues work.",
|
|
467
|
+
executorOnly: "true",
|
|
468
|
+
model: "sonnet",
|
|
469
|
+
title: "Engineering — Plan Validator",
|
|
470
|
+
tools: "Read, Grep, Glob, Bash",
|
|
471
|
+
},
|
|
472
|
+
},
|
|
473
|
+
{
|
|
474
|
+
commit: "validator-self-review-only",
|
|
475
|
+
bodySha256: "8177df9ecd027d28ad91f353fd1786076515fcc187d6ce98178af3b5047835c4",
|
|
476
|
+
fm: {
|
|
477
|
+
description: "Validates a finished PLAN (the PRDs its validate PRD lists) once, after its last PRD lands — re-runs each PRD's gate, checks every acceptance criterion against the real tree, reviews the plan's combined diff, and reports one VERIFIED/REFUTED verdict per PRD as checked JSON (the CLI enforces the schema). Runs headless as a scheduled PRD (agentType: validator); never edits product code and never queues work.",
|
|
478
|
+
executorOnly: "true",
|
|
479
|
+
model: "sonnet",
|
|
480
|
+
title: "Engineering — Plan Validator",
|
|
481
|
+
tools: "Read, Grep, Glob, Bash",
|
|
482
|
+
},
|
|
483
|
+
},
|
|
484
|
+
{
|
|
485
|
+
commit: "validator-reads-followup-trailers",
|
|
486
|
+
bodySha256: "55c48dee7ee34391b369abb2998c4be5008738f9df5e803623e38ade0de03977",
|
|
487
|
+
fm: {
|
|
488
|
+
description: "Validates a finished PLAN (the PRDs its validate PRD lists) once, after its last PRD lands — re-runs each PRD's gate, checks every acceptance criterion against the real tree, reviews the plan's combined diff, and reports one VERIFIED/REFUTED verdict per PRD as checked JSON (the CLI enforces the schema). Runs headless as a scheduled PRD (agentType: validator); never edits product code and never queues work.",
|
|
489
|
+
executorOnly: "true",
|
|
490
|
+
model: "sonnet",
|
|
491
|
+
title: "Engineering — Plan Validator",
|
|
492
|
+
tools: "Read, Grep, Glob, Bash",
|
|
493
|
+
},
|
|
494
|
+
},
|
|
495
|
+
{
|
|
496
|
+
commit: "validator-persona-live-checks",
|
|
497
|
+
bodySha256: "c8d07138f40690af0ae8ce54bdb69c5377f99d016c345d19c1f9f54403ecffab",
|
|
498
|
+
fm: {
|
|
499
|
+
description: "Validates a finished PLAN (the PRDs its validate PRD lists) once, after its last PRD lands — re-runs each PRD's gate, checks every acceptance criterion against the real tree, reviews the plan's combined diff, and reports one VERIFIED/REFUTED verdict per PRD as checked JSON (the CLI enforces the schema). Runs headless as a scheduled PRD (agentType: validator); never edits product code and never queues work.",
|
|
500
|
+
executorOnly: "true",
|
|
501
|
+
model: "sonnet",
|
|
502
|
+
title: "Engineering — Plan Validator",
|
|
503
|
+
tools: "Read, Grep, Glob, Bash",
|
|
504
|
+
},
|
|
505
|
+
},
|
|
506
|
+
{
|
|
507
|
+
commit: "validator-persona-under-6000",
|
|
508
|
+
bodySha256: "596a7d674b2e71ee698f51cc98096909de3ddee1f17f0600e54891d1ac794266",
|
|
509
|
+
fm: {
|
|
510
|
+
description: "Validates a finished PLAN (the PRDs its validate PRD lists) once, after its last PRD lands — re-runs each PRD's gate, checks every acceptance criterion against the real tree, reviews the plan's combined diff, and reports one VERIFIED/REFUTED verdict per PRD as checked JSON (the CLI enforces the schema). Runs headless as a scheduled PRD (agentType: validator); never edits product code and never queues work.",
|
|
511
|
+
executorOnly: "true",
|
|
512
|
+
model: "sonnet",
|
|
513
|
+
title: "Engineering — Plan Validator",
|
|
514
|
+
tools: "Read, Grep, Glob, Bash",
|
|
515
|
+
},
|
|
516
|
+
},
|
|
391
517
|
],
|
|
392
518
|
"demo-video-builder": [
|
|
393
519
|
{
|
|
@@ -577,6 +703,136 @@ const SHIPPED_PERSONA_SEEDS = deepFreeze({
|
|
|
577
703
|
effort: "max",
|
|
578
704
|
},
|
|
579
705
|
},
|
|
706
|
+
{
|
|
707
|
+
commit: "seed-v15",
|
|
708
|
+
bodySha256: "b75f3f3bb195fef2b6c451fd6e20c54132764bff4d11253371b948fab4396a5f",
|
|
709
|
+
fm: {
|
|
710
|
+
description: "30-second or 1-minute self-contained HTML/JS demo video for Project Home, saved via project_video_write.",
|
|
711
|
+
tools: "Read, Grep, Glob, Bash, Write, Edit, mcp__session-manager-scheduler__project_demo_video_write, mcp__session-manager-scheduler__project_video_write, mcp__session-manager-scheduler__project_character_write, mcp__session-manager-scheduler__project_video_review_write",
|
|
712
|
+
title: "Project Home — Demo Video",
|
|
713
|
+
model: "opus",
|
|
714
|
+
effort: "max",
|
|
715
|
+
},
|
|
716
|
+
},
|
|
717
|
+
{
|
|
718
|
+
"commit": "mm-registry",
|
|
719
|
+
"bodySha256": "a8e9aaeef7efa62c9efaa3b0338b593516bd75e139058db5dd5cf0082c9e4c12",
|
|
720
|
+
"fm": {
|
|
721
|
+
"description": "30-second or 1-minute self-contained HTML/JS demo video for Project Home, saved via project_video_write.",
|
|
722
|
+
"effort": "max",
|
|
723
|
+
"model": "opus",
|
|
724
|
+
"title": "Project Home — Demo Video",
|
|
725
|
+
"tools": "Read, Grep, Glob, Bash, Write, Edit, mcp__session-manager-scheduler__project_demo_video_write, mcp__session-manager-scheduler__project_video_write, mcp__session-manager-scheduler__project_character_write, mcp__session-manager-scheduler__project_video_review_write"
|
|
726
|
+
}
|
|
727
|
+
},
|
|
728
|
+
{
|
|
729
|
+
commit: "seed-v17",
|
|
730
|
+
bodySha256: "a8e9aaeef7efa62c9efaa3b0338b593516bd75e139058db5dd5cf0082c9e4c12",
|
|
731
|
+
fm: {
|
|
732
|
+
description: "30-second or 1-minute self-contained HTML/JS demo video for Project Home, saved via project_video_write.",
|
|
733
|
+
tools: "Read, Grep, Glob, Bash, Write, Edit, mcp__session-manager-scheduler__project_demo_video_write, mcp__session-manager-scheduler__project_video_write, mcp__session-manager-scheduler__project_character_write, mcp__session-manager-scheduler__project_video_review_write",
|
|
734
|
+
mcpServers: "session-manager-scheduler",
|
|
735
|
+
title: "Project Home — Demo Video",
|
|
736
|
+
model: "opus",
|
|
737
|
+
effort: "max",
|
|
738
|
+
},
|
|
739
|
+
},
|
|
740
|
+
{
|
|
741
|
+
commit: "seed-v18",
|
|
742
|
+
bodySha256: "282b99ac85c30ba6c6075597732cb212e9f1e70d8970643a2a270efe36d5a03d",
|
|
743
|
+
fm: {
|
|
744
|
+
description: "30-second or 1-minute self-contained HTML/JS demo video for Project Home, saved via project_video_write.",
|
|
745
|
+
tools: "Read, Grep, Glob, Bash, Write, Edit, mcp__session-manager-scheduler__project_demo_video_write, mcp__session-manager-scheduler__project_video_write, mcp__session-manager-scheduler__project_character_write, mcp__session-manager-scheduler__project_video_review_write, mcp__session-manager-scheduler__project_video_outcome_write",
|
|
746
|
+
mcpServers: "session-manager-scheduler",
|
|
747
|
+
title: "Project Home — Demo Video",
|
|
748
|
+
model: "opus",
|
|
749
|
+
effort: "max",
|
|
750
|
+
},
|
|
751
|
+
},
|
|
752
|
+
{
|
|
753
|
+
commit: "seed-v19",
|
|
754
|
+
bodySha256: "a6478eea07eaac1665847e08ae1f42bdb0d7b8bddfbcfc491d29ea842771602f",
|
|
755
|
+
fm: {
|
|
756
|
+
description: "30-second or 1-minute self-contained HTML/JS demo video for Project Home, saved via project_video_write.",
|
|
757
|
+
tools: "Read, Grep, Glob, Bash, Write, Edit, mcp__session-manager-scheduler__project_demo_video_write, mcp__session-manager-scheduler__project_video_write, mcp__session-manager-scheduler__project_character_write, mcp__session-manager-scheduler__project_video_review_write, mcp__session-manager-scheduler__project_video_outcome_write",
|
|
758
|
+
mcpServers: "session-manager-scheduler",
|
|
759
|
+
title: "Project Home — Demo Video",
|
|
760
|
+
model: "opus",
|
|
761
|
+
effort: "max",
|
|
762
|
+
},
|
|
763
|
+
},
|
|
764
|
+
{
|
|
765
|
+
commit: "seed-v20",
|
|
766
|
+
bodySha256: "1ec4facff8cf740f57313ffca32fc0abd1dce7438c2642097b530f5b2ed48d0b",
|
|
767
|
+
fm: {
|
|
768
|
+
description: "30-second or 1-minute self-contained HTML/JS demo video for Project Home, saved via project_video_write.",
|
|
769
|
+
tools: "Read, Grep, Glob, Bash, Write, Edit, mcp__session-manager-scheduler__project_demo_video_write, mcp__session-manager-scheduler__project_video_write, mcp__session-manager-scheduler__project_character_write, mcp__session-manager-scheduler__project_video_review_write, mcp__session-manager-scheduler__project_video_outcome_write",
|
|
770
|
+
mcpServers: "session-manager-scheduler",
|
|
771
|
+
title: "Project Home — Demo Video",
|
|
772
|
+
model: "opus",
|
|
773
|
+
effort: "max",
|
|
774
|
+
},
|
|
775
|
+
},
|
|
776
|
+
{
|
|
777
|
+
commit: "seed-v21",
|
|
778
|
+
bodySha256: "f8bd1686767fe0105211d59d48ce5676fa40d0948eb2a496080b57534965ed76",
|
|
779
|
+
fm: {
|
|
780
|
+
description: "30-second or 1-minute self-contained HTML/JS demo video for Project Home, saved via project_video_write.",
|
|
781
|
+
tools: "Read, Grep, Glob, Bash, Write, Edit, mcp__session-manager-scheduler__project_demo_video_write, mcp__session-manager-scheduler__project_video_write, mcp__session-manager-scheduler__project_character_write, mcp__session-manager-scheduler__project_video_review_write, mcp__session-manager-scheduler__project_video_outcome_write",
|
|
782
|
+
mcpServers: "session-manager-scheduler",
|
|
783
|
+
title: "Project Home — Demo Video",
|
|
784
|
+
model: "opus",
|
|
785
|
+
effort: "max",
|
|
786
|
+
},
|
|
787
|
+
},
|
|
788
|
+
{
|
|
789
|
+
commit: "seed-v22",
|
|
790
|
+
bodySha256: "5401a01bcc363cae894655faa613119193e432e28641f8bf4004be3b6b7a8c49",
|
|
791
|
+
fm: {
|
|
792
|
+
description: "30-second or 1-minute self-contained HTML/JS demo video for Project Home, saved via project_video_write.",
|
|
793
|
+
tools: "Read, Grep, Glob, Bash, Write, Edit, mcp__session-manager-scheduler__project_demo_video_write, mcp__session-manager-scheduler__project_video_write, mcp__session-manager-scheduler__project_character_write, mcp__session-manager-scheduler__project_video_review_write, mcp__session-manager-scheduler__project_video_outcome_write",
|
|
794
|
+
mcpServers: "session-manager-scheduler",
|
|
795
|
+
title: "Project Home — Demo Video",
|
|
796
|
+
model: "opus",
|
|
797
|
+
effort: "max",
|
|
798
|
+
},
|
|
799
|
+
},
|
|
800
|
+
{
|
|
801
|
+
commit: "seed-v23",
|
|
802
|
+
bodySha256: "a2a8606a00002f7836fcf680206d37153dd2c31dd7528389402485d0b4e02fb0",
|
|
803
|
+
fm: {
|
|
804
|
+
description: "30-second or 1-minute self-contained HTML/JS demo video for Project Home, saved via project_video_write.",
|
|
805
|
+
tools: "Read, Grep, Glob, Bash, Write, Edit, mcp__session-manager-scheduler__project_demo_video_write, mcp__session-manager-scheduler__project_video_write, mcp__session-manager-scheduler__project_character_write, mcp__session-manager-scheduler__project_video_review_write, mcp__session-manager-scheduler__project_video_outcome_write",
|
|
806
|
+
mcpServers: "session-manager-scheduler",
|
|
807
|
+
title: "Project Home — Demo Video",
|
|
808
|
+
model: "opus",
|
|
809
|
+
effort: "max",
|
|
810
|
+
},
|
|
811
|
+
},
|
|
812
|
+
{
|
|
813
|
+
commit: "seed-v24",
|
|
814
|
+
bodySha256: "0478a7018d9e6bc5b9b4820dd4942518ca997928da10c9ae8558ba40144cf99d",
|
|
815
|
+
fm: {
|
|
816
|
+
description: "30-second or 1-minute self-contained HTML/JS demo video for Project Home, saved via project_video_write.",
|
|
817
|
+
tools: "Read, Grep, Glob, Bash, Write, Edit, mcp__session-manager-scheduler__project_demo_video_write, mcp__session-manager-scheduler__project_video_write, mcp__session-manager-scheduler__project_character_write, mcp__session-manager-scheduler__project_video_review_write, mcp__session-manager-scheduler__project_video_outcome_write",
|
|
818
|
+
mcpServers: "session-manager-scheduler",
|
|
819
|
+
title: "Project Home — Demo Video",
|
|
820
|
+
model: "opus",
|
|
821
|
+
effort: "max",
|
|
822
|
+
},
|
|
823
|
+
},
|
|
824
|
+
{
|
|
825
|
+
commit: "seed-v25",
|
|
826
|
+
bodySha256: "c43fa11636e42f7e4c973557b9052523508cb68109cc34fe78b5a70432bf8318",
|
|
827
|
+
fm: {
|
|
828
|
+
description: "30-second or 1-minute self-contained HTML/JS demo video for Project Home, saved via project_video_write.",
|
|
829
|
+
tools: "Read, Grep, Glob, Bash, Write, Edit, mcp__session-manager-scheduler__project_demo_video_write, mcp__session-manager-scheduler__project_video_write, mcp__session-manager-scheduler__project_character_write, mcp__session-manager-scheduler__project_video_review_write, mcp__session-manager-scheduler__project_video_outcome_write",
|
|
830
|
+
mcpServers: "session-manager-scheduler",
|
|
831
|
+
title: "Project Home — Demo Video",
|
|
832
|
+
model: "opus",
|
|
833
|
+
effort: "max",
|
|
834
|
+
},
|
|
835
|
+
},
|
|
580
836
|
],
|
|
581
837
|
"blender-artist": [
|
|
582
838
|
{
|
|
@@ -592,6 +848,20 @@ const SHIPPED_PERSONA_SEEDS = deepFreeze({
|
|
|
592
848
|
executorOnly: "true",
|
|
593
849
|
},
|
|
594
850
|
},
|
|
851
|
+
{
|
|
852
|
+
commit: "seed-v2",
|
|
853
|
+
bodySha256: "9cc52c7a1e35f81a158cccfd6b05974ed7a95e23cb98666c8f68dab54c9a6b5a",
|
|
854
|
+
fm: {
|
|
855
|
+
description: "Expert 3D character artist for games — modeling, rigging, skinning, shape keys and keyframe animation in Blender, driven headlessly through Blender's Python API and the Blender MCP, verified in-engine with the Godot CLI. Executes exactly one already-scoped art PRD at a time (the dev-lead equivalent for 3D assets). Use for any change whose source of truth is a .blend file.",
|
|
856
|
+
tools: "Read, Grep, Glob, Bash, Edit, Write, mcp__blender__execute_blender_code_for_cli, mcp__blender__get_blendfile_summary_datablocks_for_cli, mcp__blender__get_blendfile_summary_usage_guess_for_cli, mcp__blender__get_blendfile_summary_missing_files_for_cli, mcp__blender__get_python_api_docs, mcp__blender__search_api_docs, mcp__blender__search_manual_docs, mcp__blender__render_thumbnail_to_path, mcp__blender__render_viewport_to_path, mcp__blender__execute_blender_code, mcp__blender__get_objects_summary, mcp__blender__get_object_detail_summary, mcp__blender__get_screenshot_of_area_as_image",
|
|
857
|
+
mcpServers: "blender",
|
|
858
|
+
model: "opus",
|
|
859
|
+
effort: "high",
|
|
860
|
+
tags: "art",
|
|
861
|
+
title: "Games — 3D Character Artist (Blender)",
|
|
862
|
+
executorOnly: "true",
|
|
863
|
+
},
|
|
864
|
+
},
|
|
595
865
|
],
|
|
596
866
|
"competitive-researcher": [
|
|
597
867
|
{
|
|
@@ -605,6 +875,18 @@ const SHIPPED_PERSONA_SEEDS = deepFreeze({
|
|
|
605
875
|
effort: "low",
|
|
606
876
|
},
|
|
607
877
|
},
|
|
878
|
+
{
|
|
879
|
+
commit: "seed-v2",
|
|
880
|
+
bodySha256: "4c6df5cb5a6486ea507fd6f985f324c9bd2557f1aed50ebd30dd666662267fda",
|
|
881
|
+
fm: {
|
|
882
|
+
description: "The Haiku collector for the Competitor matrix — run as a subagent by competitive-analyst, it researches ONE product's official announcements, dev blogs, changelogs and docs plus what users rave about or ask for, and writes cited JSON findings to the path it is given.",
|
|
883
|
+
tools: "WebSearch, WebFetch, Read, Write",
|
|
884
|
+
title: "Research — Competitor collector",
|
|
885
|
+
model: "haiku",
|
|
886
|
+
effort: "low",
|
|
887
|
+
environment: "open-web",
|
|
888
|
+
},
|
|
889
|
+
},
|
|
608
890
|
],
|
|
609
891
|
"competitive-analyst": [
|
|
610
892
|
{
|
|
@@ -619,6 +901,33 @@ const SHIPPED_PERSONA_SEEDS = deepFreeze({
|
|
|
619
901
|
tags: "project-home-builder",
|
|
620
902
|
},
|
|
621
903
|
},
|
|
904
|
+
{
|
|
905
|
+
commit: "seed-v2",
|
|
906
|
+
bodySha256: "8e72237e9b743bb8c26cc701d3ebd6c65212ebf777de37f9eb5f40aeaf224fae",
|
|
907
|
+
fm: {
|
|
908
|
+
description: "The Opus analyst and executor of the Competitor matrix macro — warm-starts from the saved matrix, settles 1..4 competitors, inventories this project's real features, fans out Haiku competitive-researcher subagents, then merges everything into a grouped feature matrix with sentiment and prioritized recommendations and saves it once with project_matrix_write.",
|
|
909
|
+
tools: "Read, Grep, Glob, Bash, Write, WebSearch, WebFetch, Agent, mcp__session-manager-scheduler__project_matrix_read, mcp__session-manager-scheduler__project_matrix_write",
|
|
910
|
+
mcpServers: "session-manager-scheduler",
|
|
911
|
+
title: "Research — Competitor analyst",
|
|
912
|
+
model: "opus",
|
|
913
|
+
effort: "high",
|
|
914
|
+
tags: "project-home-builder",
|
|
915
|
+
},
|
|
916
|
+
},
|
|
917
|
+
{
|
|
918
|
+
commit: "seed-v3",
|
|
919
|
+
bodySha256: "8e72237e9b743bb8c26cc701d3ebd6c65212ebf777de37f9eb5f40aeaf224fae",
|
|
920
|
+
fm: {
|
|
921
|
+
description: "The Opus analyst and executor of the Competitor matrix macro — warm-starts from the saved matrix, settles 1..4 competitors, inventories this project's real features, fans out Haiku competitive-researcher subagents, then merges everything into a grouped feature matrix with sentiment and prioritized recommendations and saves it once with project_matrix_write.",
|
|
922
|
+
tools: "Read, Grep, Glob, Bash, Write, WebSearch, WebFetch, Agent, mcp__session-manager-scheduler__project_matrix_read, mcp__session-manager-scheduler__project_matrix_write",
|
|
923
|
+
mcpServers: "session-manager-scheduler",
|
|
924
|
+
title: "Research — Competitor analyst",
|
|
925
|
+
model: "opus",
|
|
926
|
+
effort: "high",
|
|
927
|
+
tags: "project-home-builder",
|
|
928
|
+
environment: "open-web",
|
|
929
|
+
},
|
|
930
|
+
},
|
|
622
931
|
],
|
|
623
932
|
});
|
|
624
933
|
|