@rubytech/create-maxy-code 0.1.319 → 0.1.321
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/dist/__tests__/base-toolchain-deps.test.js +67 -0
- package/dist/index.js +7 -1
- package/package.json +1 -1
- package/payload/platform/config/brand.json +1 -1
- package/payload/platform/lib/graph-style/dist/index.d.ts.map +1 -1
- package/payload/platform/lib/graph-style/dist/index.js +15 -0
- package/payload/platform/lib/graph-style/dist/index.js.map +1 -1
- package/payload/platform/lib/graph-style/src/index.ts +16 -0
- package/payload/platform/lib/graph-write/dist/index.d.ts.map +1 -1
- package/payload/platform/lib/graph-write/dist/index.js +3 -0
- package/payload/platform/lib/graph-write/dist/index.js.map +1 -1
- package/payload/platform/lib/graph-write/src/index.ts +3 -0
- package/payload/platform/lib/models/dist/index.d.ts +14 -0
- package/payload/platform/lib/models/dist/index.d.ts.map +1 -1
- package/payload/platform/lib/models/dist/index.js +22 -1
- package/payload/platform/lib/models/dist/index.js.map +1 -1
- package/payload/platform/lib/models/src/index.ts +26 -0
- package/payload/platform/neo4j/schema.cypher +103 -0
- package/payload/platform/plugins/admin/skills/platform-architecture/SKILL.md +40 -10
- package/payload/platform/plugins/docs/references/admin-ui.md +26 -5
- package/payload/platform/plugins/docs/references/neo4j.md +9 -0
- package/payload/platform/plugins/docs/references/platform.md +1 -1
- package/payload/platform/plugins/docs/references/plugins-guide.md +2 -2
- package/payload/platform/plugins/docs/references/troubleshooting.md +1 -1
- package/payload/platform/plugins/memory/mcp/dist/lib/__tests__/schema-loader.test.js +28 -0
- package/payload/platform/plugins/memory/mcp/dist/lib/__tests__/schema-loader.test.js.map +1 -1
- package/payload/platform/plugins/memory/mcp/dist/lib/__tests__/typed-edge-schema.test.js +7 -1
- package/payload/platform/plugins/memory/mcp/dist/lib/__tests__/typed-edge-schema.test.js.map +1 -1
- package/payload/platform/plugins/memory/mcp/dist/lib/typed-edge-schema.d.ts.map +1 -1
- package/payload/platform/plugins/memory/mcp/dist/lib/typed-edge-schema.js +19 -1
- package/payload/platform/plugins/memory/mcp/dist/lib/typed-edge-schema.js.map +1 -1
- package/payload/platform/plugins/memory/references/schema-knowledge-work.md +80 -0
- package/payload/platform/plugins/projects/PLUGIN.md +11 -0
- package/payload/platform/plugins/projects/references/meeting-to-tasks.md +34 -0
- package/payload/platform/plugins/projects/references/prioritization.md +43 -0
- package/payload/platform/plugins/projects/references/risk-premortem.md +34 -0
- package/payload/platform/plugins/projects/references/sprint.md +5 -1
- package/payload/platform/plugins/projects/references/stakeholder-map.md +43 -0
- package/payload/platform/scripts/installer-device-verify.sh +38 -0
- package/payload/platform/services/claude-session-manager/dist/http-server.d.ts.map +1 -1
- package/payload/platform/services/claude-session-manager/dist/http-server.js +24 -6
- package/payload/platform/services/claude-session-manager/dist/http-server.js.map +1 -1
- package/payload/platform/services/claude-session-manager/dist/jsonl-enumerator.d.ts +6 -0
- package/payload/platform/services/claude-session-manager/dist/jsonl-enumerator.d.ts.map +1 -1
- package/payload/platform/services/claude-session-manager/dist/jsonl-enumerator.js +17 -3
- package/payload/platform/services/claude-session-manager/dist/jsonl-enumerator.js.map +1 -1
- package/payload/platform/services/claude-session-manager/dist/permission-mode-tail.d.ts +3 -1
- package/payload/platform/services/claude-session-manager/dist/permission-mode-tail.d.ts.map +1 -1
- package/payload/platform/services/claude-session-manager/dist/permission-mode-tail.js.map +1 -1
- package/payload/platform/services/claude-session-manager/dist/pty-spawner.d.ts +2 -1
- package/payload/platform/services/claude-session-manager/dist/pty-spawner.d.ts.map +1 -1
- package/payload/platform/services/claude-session-manager/dist/pty-spawner.js +10 -3
- package/payload/platform/services/claude-session-manager/dist/pty-spawner.js.map +1 -1
- package/payload/platform/services/claude-session-manager/dist/rc-daemon.d.ts +1 -25
- package/payload/platform/services/claude-session-manager/dist/rc-daemon.d.ts.map +1 -1
- package/payload/platform/services/claude-session-manager/dist/rc-daemon.js +23 -95
- package/payload/platform/services/claude-session-manager/dist/rc-daemon.js.map +1 -1
- package/payload/platform/services/claude-session-manager/dist/settings-permission-mode.d.ts +9 -0
- package/payload/platform/services/claude-session-manager/dist/settings-permission-mode.d.ts.map +1 -1
- package/payload/platform/services/claude-session-manager/dist/settings-permission-mode.js +29 -0
- package/payload/platform/services/claude-session-manager/dist/settings-permission-mode.js.map +1 -1
- package/payload/premium-plugins/venture-studio/PLUGIN.md +12 -3
- package/payload/premium-plugins/venture-studio/skills/investor-data-room/SKILL.md +14 -0
- package/payload/premium-plugins/venture-studio/skills/investor-data-room/references/competitive-battlecard.md +37 -0
- package/payload/premium-plugins/venture-studio/skills/investor-data-room/references/competitor-analysis.md +32 -0
- package/payload/premium-plugins/venture-studio/skills/investor-data-room/references/monetization-strategy.md +35 -0
- package/payload/premium-plugins/venture-studio/skills/investor-data-room/references/pricing-strategy.md +37 -0
- package/payload/premium-plugins/venture-studio/skills/investor-data-room/references/strategy-frameworks.md +46 -0
- package/payload/premium-plugins/venture-studio/skills/legal-essentials/SKILL.md +65 -0
- package/payload/premium-plugins/venture-studio/skills/zero-to-prototype/SKILL.md +6 -0
- package/payload/premium-plugins/venture-studio/skills/zero-to-prototype/references/market-sizing.md +58 -0
- package/payload/premium-plugins/venture-studio/skills/zero-to-prototype/references/strategy-red-team.md +41 -0
- package/payload/server/maxy-edge.js +1 -1
- package/payload/server/public/assets/{AdminLoginScreens-CrdmA3KA.js → AdminLoginScreens-DKwWudsP.js} +1 -1
- package/payload/server/public/assets/AdminShell-BsPsXvJv.js +1 -0
- package/payload/server/public/assets/{Checkbox-DXisJRUK.js → Checkbox-V5ubVZG1.js} +1 -1
- package/payload/server/public/assets/OperatorConversations-DOGCHZhv.css +1 -0
- package/payload/server/public/assets/OperatorConversations-DPRRlS_z.js +9 -0
- package/payload/server/public/assets/{admin-DX5lZxWt.js → admin-Cfqj5N4P.js} +1 -1
- package/payload/server/public/assets/{browser-Bxx8w8BA.js → browser-CtMwlpyW.js} +1 -1
- package/payload/server/public/assets/chat-Bm11OGsU.js +1 -0
- package/payload/server/public/assets/data-7_dN5vN5.js +1 -0
- package/payload/server/public/assets/{graph-B59N222f.js → graph-Bez5QF37.js} +3 -3
- package/payload/server/public/assets/graph-labels-BkbaBPIP.js +1 -0
- package/payload/server/public/assets/operator-F5KHg5WG.js +1 -0
- package/payload/server/public/assets/page-CExyEcvh.js +30 -0
- package/payload/server/public/assets/{public-BcqXGSaE.js → public-wy93nfmL.js} +1 -1
- package/payload/server/public/browser.html +4 -4
- package/payload/server/public/chat.html +5 -5
- package/payload/server/public/data.html +4 -4
- package/payload/server/public/graph.html +6 -6
- package/payload/server/public/index.html +6 -6
- package/payload/server/public/operator.html +7 -7
- package/payload/server/public/public.html +5 -5
- package/payload/server/server.js +109 -9
- package/payload/server/public/assets/AdminShell-0meAFBva.js +0 -1
- package/payload/server/public/assets/OperatorConversations-DBy2G8q3.js +0 -9
- package/payload/server/public/assets/OperatorConversations-DvRXfq3q.css +0 -1
- package/payload/server/public/assets/chat-CT9YrNtI.js +0 -1
- package/payload/server/public/assets/data-B9NtsXgF.js +0 -1
- package/payload/server/public/assets/graph-labels-70w-1ov0.js +0 -1
- package/payload/server/public/assets/operator-DpRAhwQN.js +0 -1
- package/payload/server/public/assets/page-Ehjc9b9V.js +0 -30
- /package/payload/server/{chunk-NCRJQEZ3.js → chunk-GRKG3KNN.js} +0 -0
|
@@ -43,8 +43,14 @@ import { emitRcLife } from './rc-life.js';
|
|
|
43
43
|
// Canonical known-models list (single source of truth). Imported from the
|
|
44
44
|
// prebuilt dist — services keep `rootDir: src`, and the path resolves
|
|
45
45
|
// identically in the shipped payload (services are not relocated).
|
|
46
|
-
import {
|
|
46
|
+
import { OPUS_MODEL } from '../../../lib/models/dist/index.js';
|
|
47
47
|
const TAG = '[claude-session-manager]';
|
|
48
|
+
// Task 956 — the fixed admin session params. Pinned into settings.json at boot
|
|
49
|
+
// and on reapply so every admin spawn/resume runs identically, regardless of
|
|
50
|
+
// account.json. Effort 'medium' and mode 'bypassPermissions' are members of the
|
|
51
|
+
// canonical lib/models tuples (EffortLevel / PermissionMode).
|
|
52
|
+
const ADMIN_EFFORT = 'medium';
|
|
53
|
+
const ADMIN_PERMISSION_MODE = 'bypassPermissions';
|
|
48
54
|
const BACKOFF_BASE_MS = 1_000;
|
|
49
55
|
const BACKOFF_MAX_MS = 60_000;
|
|
50
56
|
const STABLE_RUN_MS = 60_000;
|
|
@@ -105,53 +111,6 @@ function tcpProbe(host, port, timeoutMs) {
|
|
|
105
111
|
sock.once('error', () => finish(false));
|
|
106
112
|
});
|
|
107
113
|
}
|
|
108
|
-
/** Read account.json.adminModel. Returns null when the file is absent,
|
|
109
|
-
* unparseable, or the field is empty — the daemon still starts (the
|
|
110
|
-
* composer falls back to claude's own default model) but the
|
|
111
|
-
* inception-model lever is logged as unset. */
|
|
112
|
-
export function readAdminModel(accountDir) {
|
|
113
|
-
try {
|
|
114
|
-
const raw = readFileSync(join(accountDir, 'account.json'), 'utf8');
|
|
115
|
-
const parsed = JSON.parse(raw);
|
|
116
|
-
return typeof parsed.adminModel === 'string' && parsed.adminModel.trim()
|
|
117
|
-
? parsed.adminModel.trim()
|
|
118
|
-
: null;
|
|
119
|
-
}
|
|
120
|
-
catch {
|
|
121
|
-
return null;
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
/** Spawn-time guard for the persisted adminModel. Returns the raw value when
|
|
125
|
-
* it is a selectable model, and `null` (absent/empty) unchanged — the
|
|
126
|
-
* composer then uses claude's own default. When the persisted id names a
|
|
127
|
-
* model that is no longer selectable (an install created before that model
|
|
128
|
-
* was retired, e.g. claude-fable-5), it falls back to the current default
|
|
129
|
-
* and logs the substitution. This is the single point that guarantees no
|
|
130
|
-
* admin spawn argv ever carries a model id absent from the known set; a dead
|
|
131
|
-
* selected model becomes a logged fallback, never a silent non-reply or a
|
|
132
|
-
* doomed spawn. Read-time only — operator data (account.json) is untouched. */
|
|
133
|
-
export function resolveAdminModel(accountDir, logger) {
|
|
134
|
-
const persisted = readAdminModel(accountDir);
|
|
135
|
-
if (persisted === null || isSelectableModel(persisted))
|
|
136
|
-
return persisted;
|
|
137
|
-
logger(`${TAG} op=model-fallback selected=${persisted} resolved=${OPUS_MODEL} reason=unavailable`);
|
|
138
|
-
return OPUS_MODEL;
|
|
139
|
-
}
|
|
140
|
-
/** Read account.json.effort. Returns the validated effort level, or null when
|
|
141
|
-
* the file is absent/unparseable, the field is empty, or the value is not a
|
|
142
|
-
* settings.json-accepted level (e.g. legacy `"auto"`). Null leaves the
|
|
143
|
-
* effortLevel key untouched so claude's own default applies. */
|
|
144
|
-
export function readAdminEffort(accountDir) {
|
|
145
|
-
try {
|
|
146
|
-
const raw = readFileSync(join(accountDir, 'account.json'), 'utf8');
|
|
147
|
-
const parsed = JSON.parse(raw);
|
|
148
|
-
const value = typeof parsed.effort === 'string' ? parsed.effort.trim().toLowerCase() : '';
|
|
149
|
-
return isEffortLevel(value) ? value : null;
|
|
150
|
-
}
|
|
151
|
-
catch {
|
|
152
|
-
return null;
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
114
|
/** Read-merge-write settings.json so only the `effortLevel` key is owned. Every
|
|
156
115
|
* other key (model, hooks, permissions, …) is preserved verbatim. Mirrors
|
|
157
116
|
* `mergeSettingsModel`'s ownership + atomic-write contract — the file is shared
|
|
@@ -184,20 +143,6 @@ export function mergeSettingsEffortLevel(claudeConfigDir, effortLevel, logger) {
|
|
|
184
143
|
logger(`${TAG} rc-daemon settings-effort-write-failed path=${settingsPath} err=${err instanceof Error ? err.message : String(err)}`);
|
|
185
144
|
}
|
|
186
145
|
}
|
|
187
|
-
/** Read account.json.adminPermissionMode. Null when absent/unparseable or not
|
|
188
|
-
* one of the 5 composer-writable modes — null leaves permissions.defaultMode
|
|
189
|
-
* untouched so the brand seed / claude default governs. */
|
|
190
|
-
export function readAdminPermissionMode(accountDir) {
|
|
191
|
-
try {
|
|
192
|
-
const raw = readFileSync(join(accountDir, 'account.json'), 'utf8');
|
|
193
|
-
const parsed = JSON.parse(raw);
|
|
194
|
-
const value = typeof parsed.adminPermissionMode === 'string' ? parsed.adminPermissionMode.trim() : '';
|
|
195
|
-
return isPermissionMode(value) ? value : null;
|
|
196
|
-
}
|
|
197
|
-
catch {
|
|
198
|
-
return null;
|
|
199
|
-
}
|
|
200
|
-
}
|
|
201
146
|
/** Read-merge-write settings.json owning ONLY the nested
|
|
202
147
|
* `permissions.defaultMode` key. Every sibling permissions key (allow, deny,
|
|
203
148
|
* …) and every top-level key (model, effortLevel, hooks, …) is preserved.
|
|
@@ -341,17 +286,13 @@ export function mergeSettingsModel(claudeConfigDir, adminModel, logger) {
|
|
|
341
286
|
* manager re-applies the levers into settings.json here so the NEXT
|
|
342
287
|
* spawned session honours them without a daemon restart. Same functions,
|
|
343
288
|
* same key ownership, same atomic-write contract as boot. */
|
|
344
|
-
export function reapplyAdminLevers(
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
const permissionMode = readAdminPermissionMode(accountDir);
|
|
352
|
-
if (permissionMode)
|
|
353
|
-
mergeSettingsPermissionMode(claudeConfigDir, permissionMode, logger);
|
|
354
|
-
return { model, effortLevel, permissionMode };
|
|
289
|
+
export function reapplyAdminLevers(_accountDir, claudeConfigDir, logger) {
|
|
290
|
+
// Task 956 — fixed admin params (see startRcDaemon). account.json is ignored;
|
|
291
|
+
// the endpoint can only re-pin Opus/medium/bypass, never re-introduce a lever.
|
|
292
|
+
mergeSettingsModel(claudeConfigDir, OPUS_MODEL, logger);
|
|
293
|
+
mergeSettingsEffortLevel(claudeConfigDir, ADMIN_EFFORT, logger);
|
|
294
|
+
mergeSettingsPermissionMode(claudeConfigDir, ADMIN_PERMISSION_MODE, logger);
|
|
295
|
+
return { model: OPUS_MODEL, effortLevel: ADMIN_EFFORT, permissionMode: ADMIN_PERMISSION_MODE };
|
|
355
296
|
}
|
|
356
297
|
/** Compose the env carried by the rc-daemon child and by Task 543's
|
|
357
298
|
* sessions-pane spawn route. Exported so the route's HTTP handler can
|
|
@@ -403,27 +344,14 @@ function buildDaemonEnv(deps) {
|
|
|
403
344
|
export function startRcDaemon(deps) {
|
|
404
345
|
const now = deps.now ?? (() => Date.now());
|
|
405
346
|
const setTimer = deps.setTimer ?? ((fn, ms) => setTimeout(fn, ms));
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
if (adminEffort) {
|
|
415
|
-
mergeSettingsEffortLevel(deps.claudeConfigDir, adminEffort, deps.logger);
|
|
416
|
-
}
|
|
417
|
-
else {
|
|
418
|
-
deps.logger(`${TAG} rc-daemon settings-effort unset reason=effort-absent-or-invalid accountDir=${deps.accountDir} (session uses claude default)`);
|
|
419
|
-
}
|
|
420
|
-
const adminPermissionMode = readAdminPermissionMode(deps.accountDir);
|
|
421
|
-
if (adminPermissionMode) {
|
|
422
|
-
mergeSettingsPermissionMode(deps.claudeConfigDir, adminPermissionMode, deps.logger);
|
|
423
|
-
}
|
|
424
|
-
else {
|
|
425
|
-
deps.logger(`${TAG} rc-daemon settings-permission-mode unset reason=adminPermissionMode-absent-or-invalid accountDir=${deps.accountDir} (settings.json/brand-seed governs)`);
|
|
426
|
-
}
|
|
347
|
+
// Task 956 — admin session params are fixed: every admin spawn/resume runs
|
|
348
|
+
// Opus 4.8 (1M) / medium / bypassPermissions, independent of any account.json
|
|
349
|
+
// override. The /chat composer no longer carries mode/model/effort levers, so
|
|
350
|
+
// these settings.json keys are pinned here (the single inception-lever site
|
|
351
|
+
// both the rc-spawn webchat path and the claude.ai/code PTY read).
|
|
352
|
+
mergeSettingsModel(deps.claudeConfigDir, OPUS_MODEL, deps.logger);
|
|
353
|
+
mergeSettingsEffortLevel(deps.claudeConfigDir, ADMIN_EFFORT, deps.logger);
|
|
354
|
+
mergeSettingsPermissionMode(deps.claudeConfigDir, ADMIN_PERMISSION_MODE, deps.logger);
|
|
427
355
|
// Task 578 — pre-seed RC consent so the headless `claude rc` spawn
|
|
428
356
|
// does not hang at `Enable Remote Control? (y/n)`. Called here for
|
|
429
357
|
// the first spawn; also re-asserted inside spawnOnce so a supervised
|
|
@@ -484,7 +412,7 @@ export function startRcDaemon(deps) {
|
|
|
484
412
|
return;
|
|
485
413
|
}
|
|
486
414
|
current = pty;
|
|
487
|
-
deps.logger(`${TAG} rc-daemon start accountId=${deps.accountId} cwd=${deps.spawnCwd} pid=${pty.pid} model=${
|
|
415
|
+
deps.logger(`${TAG} rc-daemon start accountId=${deps.accountId} cwd=${deps.spawnCwd} pid=${pty.pid} model=${OPUS_MODEL} name-prefix=${deps.brandProductName} spawnMethod=node-pty`);
|
|
488
416
|
emitRcLife(deps.logger, 'spawned', 'rc-daemon', 'node-pty', 'daemon', unitToken, {
|
|
489
417
|
pid: pty.pid,
|
|
490
418
|
scopeUnit: `claude-session-${unitToken}.scope`,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rc-daemon.js","sourceRoot":"","sources":["../src/rc-daemon.ts"],"names":[],"mappings":"AAAA,wDAAwD;AACxD,EAAE;AACF,wEAAwE;AACxE,yEAAyE;AACzE,2EAA2E;AAC3E,2EAA2E;AAC3E,0EAA0E;AAC1E,EAAE;AACF,sEAAsE;AACtE,EAAE;AACF,sEAAsE;AACtE,2EAA2E;AAC3E,yEAAyE;AACzE,0EAA0E;AAC1E,qEAAqE;AACrE,EAAE;AACF,2EAA2E;AAC3E,0EAA0E;AAC1E,6EAA6E;AAC7E,4EAA4E;AAC5E,gFAAgF;AAChF,kEAAkE;AAClE,oEAAoE;AACpE,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,4EAA4E;AAC5E,0EAA0E;AAC1E,EAAE;AACF,4EAA4E;AAC5E,4EAA4E;AAC5E,2EAA2E;AAC3E,4EAA4E;AAC5E,0EAA0E;AAC1E,8DAA8D;AAC9D,8DAA8D;AAC9D,0EAA0E;AAE1E,OA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AAC;IACH,CAAC,CAAA;IAED,KAAK,qBAAqB,EAAE,CAAA;IAE5B,OAAO;QACL,KAAK;YACH,OAAO,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;QACxB,CAAC;QACD,IAAI;YACF,OAAO,GAAG,IAAI,CAAA;YACd,IAAI,OAAO,EAAE,CAAC;gBACZ,4DAA4D;gBAC5D,4DAA4D;gBAC5D,6DAA6D;gBAC7D,8DAA8D;gBAC9D,mCAAmC;gBACnC,IAAI,CAAC;oBAAC,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC,CAAA;gBAAC,CAAC;gBAAC,MAAM,CAAC,CAAC,kBAAkB,CAAC,CAAC;gBAC5D,IAAI,CAAC;oBAAC,OAAO,CAAC,OAAO,EAAE,EAAE,CAAA;gBAAC,CAAC;gBAAC,MAAM,CAAC,CAAC,4BAA4B,CAAC,CAAC;gBAClE,OAAO,GAAG,IAAI,CAAA;YAChB,CAAC;YACD,IAAI,CAAC,MAAM,CAAC,GAAG,GAAG,gCAAgC,IAAI,CAAC,SAAS,EAAE,CAAC,CAAA;QACrE,CAAC;KACF,CAAA;AACH,CAAC"}
|
|
@@ -1,3 +1,12 @@
|
|
|
1
1
|
import { type PermissionMode } from './pty-spawner.js';
|
|
2
2
|
export declare function resolveSettingsPermissionMode(claudeConfigDir: string): PermissionMode;
|
|
3
|
+
/** Settings.json `model` — the inception-model lever the binary reads when an
|
|
4
|
+
* rc-spawn argv carries no `--model`. Null when absent/unparseable. Read fresh
|
|
5
|
+
* per spawn; mirrors resolveSettingsPermissionMode so the argv lifeline reports
|
|
6
|
+
* the model the session actually runs under. */
|
|
7
|
+
export declare function resolveSettingsModel(claudeConfigDir: string): string | null;
|
|
8
|
+
/** Settings.json `effortLevel`. Null when absent/unparseable or not a
|
|
9
|
+
* settings-accepted level. Drives the read-only composer effort label and the
|
|
10
|
+
* argv lifeline's effort field. */
|
|
11
|
+
export declare function resolveSettingsEffort(claudeConfigDir: string): string | null;
|
|
3
12
|
//# sourceMappingURL=settings-permission-mode.d.ts.map
|
package/payload/platform/services/claude-session-manager/dist/settings-permission-mode.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"settings-permission-mode.d.ts","sourceRoot":"","sources":["../src/settings-permission-mode.ts"],"names":[],"mappings":"AAaA,OAAO,EAAoB,KAAK,cAAc,EAAE,MAAM,kBAAkB,CAAA;
|
|
1
|
+
{"version":3,"file":"settings-permission-mode.d.ts","sourceRoot":"","sources":["../src/settings-permission-mode.ts"],"names":[],"mappings":"AAaA,OAAO,EAAoB,KAAK,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAGxE,wBAAgB,6BAA6B,CAAC,eAAe,EAAE,MAAM,GAAG,cAAc,CAYrF;AAED;;;iDAGiD;AACjD,wBAAgB,oBAAoB,CAAC,eAAe,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAQ3E;AAED;;oCAEoC;AACpC,wBAAgB,qBAAqB,CAAC,eAAe,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAS5E"}
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
import { join } from 'node:path';
|
|
12
12
|
import { readFileSync } from 'node:fs';
|
|
13
13
|
import { PERMISSION_MODES } from './pty-spawner.js';
|
|
14
|
+
import { isEffortLevel } from '../../../lib/models/dist/index.js';
|
|
14
15
|
export function resolveSettingsPermissionMode(claudeConfigDir) {
|
|
15
16
|
try {
|
|
16
17
|
const raw = readFileSync(join(claudeConfigDir, 'settings.json'), 'utf8');
|
|
@@ -25,4 +26,32 @@ export function resolveSettingsPermissionMode(claudeConfigDir) {
|
|
|
25
26
|
}
|
|
26
27
|
return 'default';
|
|
27
28
|
}
|
|
29
|
+
/** Settings.json `model` — the inception-model lever the binary reads when an
|
|
30
|
+
* rc-spawn argv carries no `--model`. Null when absent/unparseable. Read fresh
|
|
31
|
+
* per spawn; mirrors resolveSettingsPermissionMode so the argv lifeline reports
|
|
32
|
+
* the model the session actually runs under. */
|
|
33
|
+
export function resolveSettingsModel(claudeConfigDir) {
|
|
34
|
+
try {
|
|
35
|
+
const raw = readFileSync(join(claudeConfigDir, 'settings.json'), 'utf8');
|
|
36
|
+
const parsed = JSON.parse(raw);
|
|
37
|
+
return typeof parsed.model === 'string' && parsed.model.length > 0 ? parsed.model : null;
|
|
38
|
+
}
|
|
39
|
+
catch {
|
|
40
|
+
return null;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
/** Settings.json `effortLevel`. Null when absent/unparseable or not a
|
|
44
|
+
* settings-accepted level. Drives the read-only composer effort label and the
|
|
45
|
+
* argv lifeline's effort field. */
|
|
46
|
+
export function resolveSettingsEffort(claudeConfigDir) {
|
|
47
|
+
try {
|
|
48
|
+
const raw = readFileSync(join(claudeConfigDir, 'settings.json'), 'utf8');
|
|
49
|
+
const parsed = JSON.parse(raw);
|
|
50
|
+
const v = typeof parsed.effortLevel === 'string' ? parsed.effortLevel : '';
|
|
51
|
+
return isEffortLevel(v) ? v : null;
|
|
52
|
+
}
|
|
53
|
+
catch {
|
|
54
|
+
return null;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
28
57
|
//# sourceMappingURL=settings-permission-mode.js.map
|
package/payload/platform/services/claude-session-manager/dist/settings-permission-mode.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"settings-permission-mode.js","sourceRoot":"","sources":["../src/settings-permission-mode.ts"],"names":[],"mappings":"AAAA,8DAA8D;AAC9D,EAAE;AACF,4EAA4E;AAC5E,0EAA0E;AAC1E,0EAA0E;AAC1E,wDAAwD;AACxD,2EAA2E;AAC3E,wEAAwE;AACxE,0EAA0E;AAC1E,8DAA8D;AAE9D,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAA;AAChC,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AACtC,OAAO,EAAE,gBAAgB,EAAuB,MAAM,kBAAkB,CAAA;
|
|
1
|
+
{"version":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AAK,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAA;IAC1F,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,IAAI,CAAA;IACb,CAAC;AACH,CAAC;AAED;;oCAEoC;AACpC,MAAM,UAAU,qBAAqB,CAAC,eAAuB;IAC3D,IAAI,CAAC;QACH,MAAM,GAAG,GAAG,YAAY,CAAC,IAAI,CAAC,eAAe,EAAE,eAAe,CAAC,EAAE,MAAM,CAAC,CAAA;QACxE,MAAM,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,CAA8B,CAAA;QAC3D,MAAM,CAAC,GAAG,OAAO,MAAM,CAAC,WAAW,KAAK,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,CAAA;QAC1E,OAAO,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAA;IACpC,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,IAAI,CAAA;IACb,CAAC;AACH,CAAC"}
|
|
@@ -91,6 +91,14 @@ The following intent phrases route to specific skills. These calls are gated by
|
|
|
91
91
|
| "draft the deck blueprint" / "build the deck" | `investor-data-room` (Stage 4) |
|
|
92
92
|
| "draft the prospectus" / "investment prospectus" | `investor-data-room` (Stage 4b) |
|
|
93
93
|
| "render the PDFs" / "print-ready deliverables" | `investor-data-room` (Stage 5) |
|
|
94
|
+
| "size the market" / "TAM SAM SOM" / "how big is this market" | `zero-to-prototype` (`skills/zero-to-prototype/references/market-sizing.md`) |
|
|
95
|
+
| "red-team the plan" / "what could kill this" / "rank our assumptions" | `zero-to-prototype` (`skills/zero-to-prototype/references/strategy-red-team.md`) |
|
|
96
|
+
| "how should we price this" / "pricing strategy" | `investor-data-room` (`skills/investor-data-room/references/pricing-strategy.md`) |
|
|
97
|
+
| "what's the revenue model" / "monetization strategy" | `investor-data-room` (`skills/investor-data-room/references/monetization-strategy.md`) |
|
|
98
|
+
| "competitor teardown" / "competitive analysis" | `investor-data-room` (`skills/investor-data-room/references/competitor-analysis.md`) |
|
|
99
|
+
| "build a battlecard" / "how do we sell against X" | `investor-data-room` (`skills/investor-data-room/references/competitive-battlecard.md`) |
|
|
100
|
+
| "SWOT" / "PESTLE" / "Porter's five forces" / "Ansoff" | `investor-data-room` (`skills/investor-data-room/references/strategy-frameworks.md`) |
|
|
101
|
+
| "draft an NDA" / "confidentiality agreement" / "draft a privacy policy" / "GDPR policy" | `legal-essentials` |
|
|
94
102
|
|
|
95
103
|
When the operator's intent matches a row but the scaffold does not yet exist, run the first-conversation routing sequence above before the skill fires.
|
|
96
104
|
|
|
@@ -110,10 +118,11 @@ Founder-facing. Direct, evidence-based, no flattery. You are the chief of staff
|
|
|
110
118
|
|
|
111
119
|
## References
|
|
112
120
|
|
|
113
|
-
The
|
|
121
|
+
The six skills shipped under this plugin carry their own SKILL.md detail:
|
|
114
122
|
|
|
115
123
|
- `skills/office-hours/SKILL.md` — YC office-hours forcing questions in startup + builder modes; outputs the design-doc substrate every later artefact derives from.
|
|
116
124
|
- `skills/brand-pack/SKILL.md` — brand identity (palette, typography, tone, logo) tokenised for the data-room artefacts to consume.
|
|
117
|
-
- `skills/zero-to-prototype/SKILL.md` —
|
|
125
|
+
- `skills/zero-to-prototype/SKILL.md` — frameworks for customer discovery, validation, positioning, PMF measurement, landing page, PRD, plus market sizing (TAM/SAM/SOM) and the pre-fundraise strategy red-team.
|
|
118
126
|
- `skills/prototype-host/SKILL.md` — scaffolds the landing page or wedge prototype, allocates a port, edits the brand's cloudflared ingress, runs the dev server under a systemd-user unit, and verifies the public URL returns HTTP 200.
|
|
119
|
-
- `skills/investor-data-room/SKILL.md` — full seed-raise pack: data room scaffold, business plan, term sheet, deck blueprint, prospectus, A4 print pipeline.
|
|
127
|
+
- `skills/investor-data-room/SKILL.md` — full seed-raise pack: data room scaffold, business plan, term sheet, deck blueprint, prospectus, A4 print pipeline; carries the pricing, monetization, competitor, battlecard, and strategy-framework method references.
|
|
128
|
+
- `skills/legal-essentials/SKILL.md` — drafts an NDA (mutual/one-way) and a UK-GDPR/PECR privacy policy into `02-corporate-legal/`; drafts for solicitor review, never invented company particulars.
|
|
@@ -371,6 +371,20 @@ References: `references/html-pdf-pipeline.md` for the canonical `render-pdf.mjs`
|
|
|
371
371
|
- `references/termsheet-template.md` — A4-portrait term-sheet structure, cap-table reconciliation, common defects
|
|
372
372
|
- `templates/prospectus/` — A4-portrait prospectus + term-sheet HTML templates and the shared `render-pdf.mjs` (consumed by Stages 3b, 4b, 5)
|
|
373
373
|
|
|
374
|
+
### Analytical frameworks (load on-demand)
|
|
375
|
+
|
|
376
|
+
Method-only references for the market, financial, and strategy sections. Load the one the live question needs; do not run them for completeness. Each routes every quantitative figure through the `research-assistant` specialist (with `deep-research` / `data-research`) and cites it — no fabricated numbers. Apply `internal-workings-scrub.md` before any output reaches a public artefact.
|
|
377
|
+
|
|
378
|
+
| Framework | File | Feeds |
|
|
379
|
+
|---|---|---|
|
|
380
|
+
| Pricing strategy | `references/pricing-strategy.md` | `04-financials/`, business-plan §6, prospectus |
|
|
381
|
+
| Monetization strategy | `references/monetization-strategy.md` | `04-financials/`, business-plan §6, prospectus |
|
|
382
|
+
| Competitor analysis | `references/competitor-analysis.md` | `08-market/`, business-plan §8 |
|
|
383
|
+
| Competitive battlecard | `references/competitive-battlecard.md` | `08-market/`, business-plan §7 GTM |
|
|
384
|
+
| Strategy frameworks (SWOT / PESTLE / Porter's / Ansoff) | `references/strategy-frameworks.md` | `08-market/`, business-plan §4/§7/§8, prospectus |
|
|
385
|
+
|
|
386
|
+
Market sizing (TAM/SAM/SOM) and the pre-fundraise strategy red-team live in the sibling `zero-to-prototype/references/` (`market-sizing.md`, `strategy-red-team.md`) and feed `08-market/` + business-plan §4.
|
|
387
|
+
|
|
374
388
|
## Reference example
|
|
375
389
|
|
|
376
390
|
When this skill has previously rendered a data room for the current operator, that directory is the canonical example — read it before drafting. When no prior data room exists for the operator, the fallback reference is `references/data-room-structure.md` (section-by-section purpose statements) plus the per-stage references listed above.
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# Competitive Battlecard
|
|
2
|
+
|
|
3
|
+
The method for a sales-ready one-pager per key competitor — the fast-reference an operator (or a founder in a sales call) uses to position against a named alternative. Built from the analytical teardown in `competitor-analysis.md`. Output lands in `08-market/` and supports the go-to-market narrative (business-plan §7).
|
|
4
|
+
|
|
5
|
+
## What this produces
|
|
6
|
+
One card per priority competitor: who they are, where they win, where they lose to you, the objection-handlers, and the trap questions that expose their weakness — all grounded in the sourced facts from `competitor-analysis.md`. Apply `internal-workings-scrub.md` to anything that reaches a public-facing document; battlecards are usually internal, but the facts must still be sourced.
|
|
7
|
+
|
|
8
|
+
## Citation discipline (binding)
|
|
9
|
+
A battlecard is only useful if its claims are true. Every factual line — their pricing, their limitation, their funding — traces to the sourced profile in `competitor-analysis.md`, which routes through the `research-assistant` specialist with `deep-research`. Do not put a claim on a card you cannot source; mark gaps `source pending — route to research-assistant`. A card that arms a founder with a wrong fact loses the deal.
|
|
10
|
+
|
|
11
|
+
## Process
|
|
12
|
+
|
|
13
|
+
### 1. Pick the competitors worth a card
|
|
14
|
+
Only the alternatives you actually lose deals to or get compared against. Three to five cards beat fifteen. The status quo ("they'll just keep doing it manually") deserves a card.
|
|
15
|
+
|
|
16
|
+
### 2. Build the card on a fixed template
|
|
17
|
+
Each card, same shape:
|
|
18
|
+
- **Who they are** — one line, sourced.
|
|
19
|
+
- **Where they win** — the honest reasons a buyer picks them (credibility matters; pretending they have no strengths loses trust).
|
|
20
|
+
- **Where they lose to us** — the structural weakness from the teardown, stated as a buyer outcome.
|
|
21
|
+
- **Objection handlers** — the two or three things their salesperson says about you, and the true one-line response to each.
|
|
22
|
+
- **Trap questions** — questions the buyer can ask the competitor that expose the weakness (e.g. "can I take my data and leave?").
|
|
23
|
+
|
|
24
|
+
### 3. Keep it to outcomes, not features
|
|
25
|
+
A battlecard sells the buyer's outcome, not your feature list. "They lock your data in their cloud; you can't leave without losing it" beats "we support data export".
|
|
26
|
+
|
|
27
|
+
### 4. Keep it current
|
|
28
|
+
Competitor facts go stale. Each card carries the source so it can be re-checked; when a competitor's pricing or capability changes, re-run the `research-assistant` lookup and update the card.
|
|
29
|
+
|
|
30
|
+
## Output
|
|
31
|
+
`08-market/` working notes, one card per priority competitor, each tracing its facts to `competitor-analysis.md`. Supports business-plan §7 GTM and live sales positioning.
|
|
32
|
+
|
|
33
|
+
## Common failures
|
|
34
|
+
- Pretending the competitor has no strengths — buyers see through it.
|
|
35
|
+
- Feature-versus-feature instead of outcome-versus-outcome.
|
|
36
|
+
- Stale facts with no source to re-check against.
|
|
37
|
+
- A card for every competitor instead of the few that matter.
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# Competitor Analysis
|
|
2
|
+
|
|
3
|
+
The method for a structured competitor teardown that feeds the business plan's competition section. Output lands in `08-market/` and feeds business-plan §8 "Competition". This is the analytical backbone; the sales-facing one-pager built from it is `competitive-battlecard.md`.
|
|
4
|
+
|
|
5
|
+
## What this produces
|
|
6
|
+
A competitor set grouped by **how they fail the buyer**, each with a sourced profile, and a differentiation paragraph stating the architectural inversion that the incumbents structurally cannot copy. Apply `internal-workings-scrub.md` before anything reaches a public document.
|
|
7
|
+
|
|
8
|
+
## Citation discipline (binding)
|
|
9
|
+
Every factual claim about a competitor — pricing, funding, customer count, feature presence, market position — is a **sourced claim**. Route competitor facts through the `research-assistant` specialist with `deep-research`; cite each. Do not assert a competitor "can't do X" or "charges Y" from memory. Unsourced claims are written `source pending — route to research-assistant`. A teardown built on remembered facts is a liability in diligence — competitors read these.
|
|
10
|
+
|
|
11
|
+
## Process
|
|
12
|
+
|
|
13
|
+
### 1. Define the competitive set by failure mode
|
|
14
|
+
Don't list competitors flat — group them by the **category of how they fail the buyer** (the data-room's standing structure uses three failing categories, e.g. incumbents with bolted-on AI, horizontal providers inaccessible to the ICP, full-migration replacements). Each group shares a structural weakness you exploit. Include the status quo ("doing nothing") as a competitor — it is usually the real one.
|
|
15
|
+
|
|
16
|
+
### 2. Profile each competitor on a fixed axis set
|
|
17
|
+
For comparability, profile every competitor on the same axes: what they do, who they serve, sourced pricing, sourced funding/scale, the specific way they fail your buyer, and switching cost for their customers. Same axes for all → a real comparison, not a brochure.
|
|
18
|
+
|
|
19
|
+
### 3. State the differentiation as an inversion
|
|
20
|
+
The differentiation paragraph names the **structural** reason you win — the architectural choice (data sovereignty, CRM-agnosticism, public-first wedge, etc.) that the incumbent cannot match without breaking their own model. "We're better/faster/cheaper" is not differentiation; "they cannot do this without abandoning their core business" is.
|
|
21
|
+
|
|
22
|
+
### 4. Counter the most-direct competitor explicitly
|
|
23
|
+
Name the single closest alternative and write the head-to-head rebuttal — the one sentence an investor will test you on. Source the claim it rests on.
|
|
24
|
+
|
|
25
|
+
## Output
|
|
26
|
+
`08-market/` working notes → business-plan §8. Format: the failure-mode groupings, a fixed-axis profile per competitor with citations, the inversion differentiation paragraph, and the direct-competitor counter.
|
|
27
|
+
|
|
28
|
+
## Common failures
|
|
29
|
+
- A flat feature-grid with no failure-mode structure.
|
|
30
|
+
- Competitor facts from memory — wrong and dangerous.
|
|
31
|
+
- "Differentiation" that is just adjectives, not a structural inversion.
|
|
32
|
+
- Omitting the status quo as a competitor.
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# Monetization Strategy
|
|
2
|
+
|
|
3
|
+
The method for turning a product into a revenue model: how the business makes money, from whom, over what time, and how that compounds. Pricing (`pricing-strategy.md`) sets the number on one tier; monetization sets the **shape of revenue across the whole relationship and the whole market**. Output lands in `04-financials/` and feeds business-plan §6 "The Business Model" and the prospectus.
|
|
4
|
+
|
|
5
|
+
## What this produces
|
|
6
|
+
The revenue architecture: the streams, the wedge→upsell path, the expansion mechanics, and the future network/platform revenue — each tied to evidence and reconciled against the financial model. Apply `internal-workings-scrub.md` before anything reaches a public document.
|
|
7
|
+
|
|
8
|
+
## Citation discipline (binding)
|
|
9
|
+
Every quantitative claim — attach/expansion rates, comparable monetization multiples, market spend that a future stream taps — is a **sourced claim**. Route benchmarks (typical net revenue retention, attach rates, comparable take-rates) through the `research-assistant` specialist with `deep-research`. Mark anything unsourced `source pending — route to research-assistant`. Projected expansion rates must cite a comparable or be flagged as an assumption, never stated as fact.
|
|
10
|
+
|
|
11
|
+
## Process
|
|
12
|
+
|
|
13
|
+
### 1. Map the revenue streams
|
|
14
|
+
List every way money comes in, now and planned: subscription, usage, services, and any future network-effect or platform-take revenue. For each, state whether it exists today or is a forward bet, and what gates it (the milestone that turns it on).
|
|
15
|
+
|
|
16
|
+
### 2. Define the wedge → upsell path
|
|
17
|
+
The narrowest unit of value (the wedge) earns trust and the right to sell the high-value product. State the mechanic: what the wedge delivers, what triggers the upsell, and the expected path from wedge ACV to full ACV. This is the monetization thesis — it must match the GTM "horse before cart" logic in business-plan §7.
|
|
18
|
+
|
|
19
|
+
### 3. Choose the expansion engine
|
|
20
|
+
How does revenue per customer grow without a new sale? Seat expansion, usage growth, tier upgrade, cross-sell. Name the one that dominates and tie it to a sourced or evidenced retention/expansion assumption. Land-and-expand only counts if the expand step has evidence.
|
|
21
|
+
|
|
22
|
+
### 4. Sequence future streams to milestones
|
|
23
|
+
Network-effect or platform revenue is real only when its gating milestone is named (e.g. "federation revenue turns on once N accounts are live"). Put it on the model as a forward stream with its trigger, not as day-one revenue.
|
|
24
|
+
|
|
25
|
+
### 5. Reconcile to the model
|
|
26
|
+
The streams and rates here must roll up to the ARR trajectory in business-plan §12 and the SOM in §4. If monetization implies a number the model doesn't show, one is wrong — reconcile explicitly (see the sibling `zero-to-prototype/references/market-sizing.md` reconciliation discipline).
|
|
27
|
+
|
|
28
|
+
## Output
|
|
29
|
+
`04-financials/` working notes → business-plan §6 and the prospectus. Each stream: status (live/forward), mechanic, gating milestone, and a citation for every benchmark.
|
|
30
|
+
|
|
31
|
+
## Common failures
|
|
32
|
+
- Counting forward network revenue as if it were live.
|
|
33
|
+
- An "expand" motion with no evidence the expand step happens.
|
|
34
|
+
- Attach/retention rates asserted, not sourced or evidenced.
|
|
35
|
+
- Monetization that contradicts the ARR line in the financial model.
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# Pricing Strategy
|
|
2
|
+
|
|
3
|
+
The method for setting a defensible price for the wedge and the full product. Output lands in `04-financials/` (unit economics) and feeds business-plan §6 "The Business Model" and the prospectus. Apply the `internal-workings-scrub.md` doctrine to anything that reaches a public document.
|
|
4
|
+
|
|
5
|
+
## What this produces
|
|
6
|
+
A price (or price band) per tier, with the **basis** stated: what the price is anchored to, why a buyer pays it, and what it implies for ACV, gross margin, and the LTV:CAC the financial model depends on.
|
|
7
|
+
|
|
8
|
+
## Citation discipline (binding)
|
|
9
|
+
Pricing is built from numbers — competitor prices, willingness-to-pay signals, cost-to-serve, comparable ACVs. Every such number is a **sourced claim**, not a guess. Route competitor pricing, comparable contract values, and willingness-to-pay benchmarks through the `research-assistant` specialist (with `deep-research` / `data-research`); quote the citation. Any figure you cannot source is written `source pending — route to research-assistant`. A price defended by invented competitor numbers is a failed price.
|
|
10
|
+
|
|
11
|
+
## Process
|
|
12
|
+
|
|
13
|
+
### 1. Choose the pricing basis
|
|
14
|
+
Pick the anchor deliberately — they produce very different numbers:
|
|
15
|
+
- **Cost-plus** — cost-to-serve plus a margin. Floor only; never the headline for software.
|
|
16
|
+
- **Competitor-anchored** — relative to the sourced price of the closest alternative (including "the status quo / doing nothing", which often has a real cost).
|
|
17
|
+
- **Value-based** — a share of the quantified value the buyer gets (time saved × loaded cost, revenue gained, risk avoided). The strongest basis when the value is sourced and legible to the buyer.
|
|
18
|
+
|
|
19
|
+
Most seed-stage pricing is value-based with a competitor-anchored sanity check.
|
|
20
|
+
|
|
21
|
+
### 2. Quantify value and willingness to pay
|
|
22
|
+
State the buyer's gain in their units, sourced or evidenced from discovery (the sibling `zero-to-prototype/references/commitment-signals.md` and `mom-test.md`). Price as a fraction of that gain that still leaves the buyer clearly ahead. Cross-check against willingness-to-pay signals from real conversations, not assertion.
|
|
23
|
+
|
|
24
|
+
### 3. Set the structure
|
|
25
|
+
Decide the model (per-seat, usage, flat subscription, tiered) and the tiers. Keep tiers to the few a founder can explain in one breath. Name the wedge price (the narrow public-by-default entry) and the upsell price separately — the wedge→upsell path is the monetization thesis, detailed in `monetization-strategy.md`.
|
|
26
|
+
|
|
27
|
+
### 4. Reconcile to unit economics
|
|
28
|
+
The chosen price must produce an ACV that makes the model work: **LTV:CAC ≥ 3:1** target, **gross margin ≥ 70%** steady-state (the data-room's standing targets). If the price can't clear these with defensible CAC and churn, the price, the segment, or the cost structure is wrong — say which. Compute-cost pass-through follows the data-room doctrine: never mark up LLM compute; the customer pays the provider directly.
|
|
29
|
+
|
|
30
|
+
## Output
|
|
31
|
+
`04-financials/` working notes → business-plan §6 and the prospectus. Each tier: price, basis, ACV implication, and a citation for every external figure.
|
|
32
|
+
|
|
33
|
+
## Common failures
|
|
34
|
+
- Cost-plus pricing for value-dense software — leaves money on the table.
|
|
35
|
+
- Competitor prices asserted from memory instead of sourced.
|
|
36
|
+
- Tiers a buyer can't tell apart.
|
|
37
|
+
- A price that quietly breaks the LTV:CAC the financial model assumes.
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# Strategy Frameworks — SWOT, PESTLE, Porter's Five Forces, Ansoff
|
|
2
|
+
|
|
3
|
+
Four classic strategy lenses in one file, each a structured way to reason about the market and the company's position. They feed the business plan's market and strategy sections (business-plan §4 "The Market", §7 "Go-to-Market", §8 "Competition") and the prospectus narrative. Output lands in `08-market/` working notes. Apply `internal-workings-scrub.md` before anything reaches a public document.
|
|
4
|
+
|
|
5
|
+
## When to use which
|
|
6
|
+
- **SWOT** — a fast internal/external snapshot before a strategy discussion. Weakest of the four on its own; strongest as a summary after the others.
|
|
7
|
+
- **PESTLE** — when the macro environment (regulation, technology shifts, economics) materially shapes the opportunity. Essential where a regulatory tailwind is part of the thesis.
|
|
8
|
+
- **Porter's Five Forces** — when the question is industry attractiveness and where structural profit pools sit.
|
|
9
|
+
- **Ansoff** — when the question is growth direction: which product/market expansion to pursue next.
|
|
10
|
+
|
|
11
|
+
Pick the lens that answers the live question; don't run all four for completeness.
|
|
12
|
+
|
|
13
|
+
## Citation discipline (binding)
|
|
14
|
+
Each lens pulls in external facts — market growth, regulatory change, supplier concentration, competitor moves, market sizes for adjacencies. Every such fact is a **sourced claim**, routed through the `research-assistant` specialist with `deep-research`. Mark unsourced inputs `source pending — route to research-assistant`. A PESTLE bullet asserting a regulation that doesn't exist, or a Five Forces claim about supplier power with no evidence, is worse than no analysis.
|
|
15
|
+
|
|
16
|
+
## SWOT
|
|
17
|
+
Four quadrants. **Strengths / Weaknesses** are internal and present; **Opportunities / Threats** are external and forward. Discipline: each entry must be specific and, if external, sourced. "Strong team" is filler; "founder shipped the same substrate at prior company" is a strength. Use SWOT to *summarise* after deeper analysis, then derive 2–3 strategic moves from the interactions (e.g. Strength × Opportunity).
|
|
18
|
+
|
|
19
|
+
## PESTLE
|
|
20
|
+
Six external factors: **Political, Economic, Social, Technological, Legal, Environmental.** For each, state the factor, whether it's a tailwind or headwind, and the sourced evidence. Most factors won't move the business — name the two or three that do and why. The Legal factor connects to the data room's compliance section (business-plan §10) and, for legal artefacts, to the `legal-essentials` skill.
|
|
21
|
+
|
|
22
|
+
## Porter's Five Forces
|
|
23
|
+
Rate each force (low/medium/high) **with the reason and evidence**:
|
|
24
|
+
- **Competitive rivalry** — how many, how fierce, on what basis.
|
|
25
|
+
- **Threat of new entrants** — how high are the barriers (capital, regulation, data, network effects)?
|
|
26
|
+
- **Supplier power** — concentration and switching cost of your key inputs (including the foundation-model provider).
|
|
27
|
+
- **Buyer power** — concentration and switching cost of your customers.
|
|
28
|
+
- **Threat of substitutes** — including the status quo / doing nothing.
|
|
29
|
+
The output is a view of where profit pools are defensible and which force you must actively manage.
|
|
30
|
+
|
|
31
|
+
## Ansoff Matrix
|
|
32
|
+
Two axes — existing/new product × existing/new market — give four growth strategies:
|
|
33
|
+
- **Market penetration** (existing product, existing market) — lowest risk.
|
|
34
|
+
- **Market development** (existing product, new market) — the domestic-adjacency / international-upside moves.
|
|
35
|
+
- **Product development** (new product, existing market) — the upsell path.
|
|
36
|
+
- **Diversification** (new product, new market) — highest risk, rarely the seed-stage move.
|
|
37
|
+
Use it to sequence expansion: name which quadrant the next 12 months target and why, tying to the monetization expansion engine (`monetization-strategy.md`) and SOM trajectory (the sibling `zero-to-prototype/references/market-sizing.md`).
|
|
38
|
+
|
|
39
|
+
## Output
|
|
40
|
+
`08-market/` working notes → business-plan §4/§7/§8 and prospectus. Each lens: the structured analysis, sourced external inputs, and the 2–3 strategic implications drawn from it (a framework with no "so what" is wasted).
|
|
41
|
+
|
|
42
|
+
## Common failures
|
|
43
|
+
- Running all four for completeness instead of the one that answers the question.
|
|
44
|
+
- Generic bullets ("strong brand") with no specificity or source.
|
|
45
|
+
- Stopping at the grid without deriving strategic moves.
|
|
46
|
+
- Asserting macro/regulatory facts (PESTLE, Five Forces) without citation.
|