@synap-core/workspace-templates 0.50.0 → 0.52.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.
@@ -277,7 +277,7 @@
277
277
  "provider": "provider"
278
278
  }
279
279
  },
280
- "code": "// Send a LinkedIn connection request, then record a note. v2: invitations are\n// \"relation requests\" — POST /{account_id}/users/me/relation-requests, and the\n// target field is user_id (v1 provider_id). The `providerId` PARAM name is kept\n// so callers/transport don't change.\n// The person may be given by their public identifier (the slug of their profile\n// URL, what a pod app's `to` resolves to) or their member id: either is looked\n// up first (GET /{account}/users/{id}; the visit is not notified) for the member\n// id the request needs. Someone already connected, or with a request already\n// pending, is refused before anything is sent. LinkedIn caps the note at 300\n// characters, so a longer one is refused here rather than by LinkedIn.\nconst accountId = String(args?.accountId ?? '').trim();\nconst target = String(args?.providerId ?? '').trim();\nconst message = typeof args?.message === 'string' && args.message.trim() ? args.message.trim() : undefined;\nif (!accountId) throw new Error('linkedin_send_invite: accountId is required — call unipile_list_accounts first to find yours.');\nif (!target) throw new Error('linkedin_send_invite: providerId (their LinkedIn public identifier or member id) is required');\nif (message && message.length > 300) throw new Error(`linkedin_send_invite: a connection note is at most 300 characters on LinkedIn (this one is ${message.length}).`);\n\nconst account = encodeURIComponent(accountId);\nconst found = await callProvider('unipile_linkedin', 'GET', `/${account}/users/${encodeURIComponent(target)}?variant=linkedin_classic`);\nif (found?.proposed === true) {\n return { success: false, proposed: true, proposalId: found?.proposalId ?? null, providerId: target };\n}\nif (found?.status && (found.status < 200 || found.status >= 300)) throw new Error(`linkedin_send_invite: LinkedIn has no profile for ${target} (status ${found.status}).`);\nconst profile = found?.body ?? found ?? {};\nconst userId = String(profile.provider_id ?? profile.id ?? '').trim();\nif (!userId) throw new Error(`linkedin_send_invite: LinkedIn gave no member id for ${target}.`);\nconst distance = String(profile.network_distance ?? profile.specifics?.linkedin?.network_distance ?? '').toUpperCase();\nconst name = [profile.first_name, profile.last_name].filter(Boolean).join(' ') || target;\nif (distance === 'FIRST_DEGREE' || distance === 'DISTANCE_1') throw new Error(`linkedin_send_invite: ${name} is already one of your LinkedIn connections: send them the message instead.`);\nconst invitation = profile.invitation ?? profile.specifics?.linkedin?.invitation ?? null;\nif (invitation && String(invitation.status ?? '').toUpperCase() === 'PENDING') throw new Error(`linkedin_send_invite: a connection request with ${name} is already pending.`);\n\nconst body = { user_id: userId };\nif (message) body.message = message;\nconst res = await callProvider('unipile_linkedin', 'POST', `/${account}/users/me/relation-requests`, body);\n// GOVERNANCE GUARD: a proposal-gated call returns { proposed:true } and has NOT\n// been sent — never record a not-sent invitation as sent.\nif (res?.proposed === true) {\n return { success: false, proposed: true, proposalId: res?.proposalId ?? null, providerId: userId };\n}\n// v2 returns 201 on success.\nconst ok = res?.status ? res.status >= 200 && res.status < 300 : true;\nif (!ok) throw new Error(`linkedin_send_invite: provider rejected the invitation (status ${res?.status ?? 'unknown'}) for ${name}`);\nconst payload = res?.body ?? res;\nawait propose.entity({\n profileSlug: 'note',\n title: `LinkedIn invitation sent -> ${name}`,\n properties: { action: 'linkedin_send_invite', providerId: userId, publicIdentifier: profile.public_identifier ?? null, networkDistance: distance || null, message: message ?? null, relationRequestId: payload?.id ?? null, status: res?.status ?? null, success: ok, provenance: 'connector', provider: 'unipile' },\n reasoning: 'Recorded the outbound LinkedIn connection request for the activity timeline.'\n});\nreturn { success: ok, providerId: userId, relationRequestId: payload?.id ?? null, status: res?.status ?? null };"
280
+ "code": "// Send a LinkedIn connection request, then record a note. v2: invitations are\n// \"relation requests\" — POST /{account_id}/users/me/relation-requests, and the\n// target field is user_id (v1 provider_id). The `providerId` PARAM name is kept\n// so callers/transport don't change.\n// The person may be given by their public identifier (the slug of their profile\n// URL, what a pod app's `to` resolves to) or their member id: either is looked\n// up first (GET /{account}/users/{id}; the visit is not notified) for the member\n// id the request needs. Someone already connected, or with a request already\n// pending, is refused before anything is sent. LinkedIn caps the note at 300\n// characters, so a longer one is refused here rather than by LinkedIn.\nconst accountId = String(args?.accountId ?? '').trim();\nconst target = String(args?.providerId ?? '').trim();\nconst message = typeof args?.message === 'string' && args.message.trim() ? args.message.trim() : undefined;\nif (!accountId) throw new Error('linkedin_send_invite: accountId is required — call unipile_list_accounts first to find yours.');\nif (!target) throw new Error('linkedin_send_invite: providerId (their LinkedIn public identifier or member id) is required');\nif (message && message.length > 300) throw new Error(`linkedin_send_invite: a connection note is at most 300 characters on LinkedIn (this one is ${message.length}).`);\n\nconst account = encodeURIComponent(accountId);\nconst found = await callProvider('unipile_linkedin', 'GET', `/${account}/users/${encodeURIComponent(target)}?variant=linkedin_classic`);\nif (found?.proposed === true) {\n return { success: false, proposed: true, proposalId: found?.proposalId ?? null, providerId: target };\n}\nif (found?.status && (found.status < 200 || found.status >= 300)) throw new Error(`linkedin_send_invite: LinkedIn has no profile for ${target} (status ${found.status}).`);\nconst profile = found?.body ?? found ?? {};\nconst userId = String(profile.provider_id ?? profile.id ?? '').trim();\nif (!userId) throw new Error(`linkedin_send_invite: LinkedIn gave no member id for ${target}.`);\nconst distance = String(profile.network_distance ?? profile.specifics?.linkedin?.network_distance ?? '').toUpperCase();\nconst name = [profile.first_name, profile.last_name].filter(Boolean).join(' ') || target;\nif (distance === 'FIRST_DEGREE' || distance === 'DISTANCE_1') throw new Error(`linkedin_send_invite: ${name} is already one of your LinkedIn connections: send them the message instead.`);\nconst invitation = profile.invitation ?? profile.specifics?.linkedin?.invitation ?? null;\nif (invitation && String(invitation.status ?? '').toUpperCase() === 'PENDING') throw new Error(`linkedin_send_invite: a connection request with ${name} is already pending.`);\n\nconst body = { user_id: userId };\nif (message) body.message = message;\nconst res = await callProvider('unipile_linkedin', 'POST', `/${account}/users/me/relation-requests`, body);\n// GOVERNANCE GUARD: a proposal-gated call returns { proposed:true } and has NOT\n// been sent — never record a not-sent invitation as sent.\nif (res?.proposed === true) {\n return { success: false, proposed: true, proposalId: res?.proposalId ?? null, providerId: userId };\n}\n// v2 returns 201 on success.\nconst ok = res?.status ? res.status >= 200 && res.status < 300 : true;\nif (!ok) {\n // LinkedIn's own sentence (e.g. \"You cannot resend this invitation yet.\") rides in the error, so a failed approval shows why.\n const why = [res?.body?.detail, res?.body?.message, res?.body?.title].find((v) => typeof v === 'string' && v.trim());\n throw new Error(`linkedin_send_invite: provider rejected the invitation (status ${res?.status ?? 'unknown'}) for ${name}${why ? `: ${String(why).trim().slice(0, 300)}` : ''}`);\n}\nconst payload = res?.body ?? res;\nawait propose.entity({\n profileSlug: 'note',\n title: `LinkedIn invitation sent -> ${name}`,\n properties: { action: 'linkedin_send_invite', providerId: userId, publicIdentifier: profile.public_identifier ?? null, networkDistance: distance || null, message: message ?? null, relationRequestId: payload?.id ?? null, status: res?.status ?? null, success: ok, provenance: 'connector', provider: 'unipile' },\n reasoning: 'Recorded the outbound LinkedIn connection request for the activity timeline.'\n});\nreturn { success: ok, providerId: userId, relationRequestId: payload?.id ?? null, status: res?.status ?? null };"
281
281
  },
282
282
  {
283
283
  "name": "linkedin_search_people",
@@ -4,7 +4,7 @@
4
4
  "meta": {
5
5
  "slug": "vercel",
6
6
  "name": "Vercel — Projects & Deploys",
7
- "description": "Vercel account operations through ONE personal access token (REST API v9-v13): list/get projects, list/get deployments, list project domains, list environment variables, and redeploy a deployment. List verbs default their limit. Connect your Vercel account to use it.",
7
+ "description": "Vercel account operations through ONE personal access token (REST API v9-v13): list/get projects, list/get deployments, list project domains, list environment variables, set one environment variable (Config values only), and redeploy a deployment. List verbs default their limit. Connect your Vercel account to use it.",
8
8
  "tags": [
9
9
  "capability"
10
10
  ],
@@ -14,7 +14,7 @@
14
14
  "spec": {
15
15
  "key": "vercel",
16
16
  "name": "Vercel — Projects & Deploys",
17
- "description": "Vercel REST API (https://api.vercel.com) through ONE vault API key: a Vercel Personal Access Token (Account Settings → Tokens), sent as `Authorization: Bearer <token>`. Read verbs: list projects, get a project, list deployments (optionally filtered by project/target/state), get a deployment, list a project's domains, list a project's environment variables. One write verb: redeploy an existing deployment — side-effecting, so it routes through the capability-execution gate. List verbs default their limit (20, max 100) and all filter params are optional. TEAM SCOPE: a token with access to a Team still needs the team identified — pass `teamId` (or `teamSlug`) on any verb or the request resolves against the personal account; both are optional and only sent when provided. PATHS ARE RELATIVE to the `vercel` tool's `config.baseUrl` (https://api.vercel.com). Environment-variable VALUES are deliberately NOT returned (matching Vercel's dashboard default): the verb lists keys, targets, types and timestamps. NOTE: response-field shaping is best-effort and confirmed against the live API at first run.",
17
+ "description": "Vercel REST API (https://api.vercel.com) through ONE vault API key: a Vercel Personal Access Token (Account Settings → Tokens), sent as `Authorization: Bearer <token>`. Read verbs: list projects, get a project, list deployments (optionally filtered by project/target/state), get a deployment, list a project's domains, list a project's environment variables. Two write verbs, both side-effecting so they route through the capability-execution gate: set (upsert) one environment variable on a project (CONFIG VALUES ONLY: a URL, a public id, never a secret; a credential the pod mints goes through the `inbound_source.connect` verb), and redeploy an existing deployment (an environment change reaches only NEW deployments, so redeploy after setting one). List verbs default their limit (20, max 100) and all filter params are optional. TEAM SCOPE: a token with access to a Team still needs the team identified — pass `teamId` (or `teamSlug`) on any verb or the request resolves against the personal account; both are optional and only sent when provided. PATHS ARE RELATIVE to the `vercel` tool's `config.baseUrl` (https://api.vercel.com). Environment-variable VALUES are deliberately NOT returned (matching Vercel's dashboard default): the verb lists keys, targets, types and timestamps. NOTE: response-field shaping is best-effort and confirmed against the live API at first run.",
18
18
  "params": [
19
19
  {
20
20
  "name": "vercelToken",
@@ -419,6 +419,80 @@
419
419
  }
420
420
  }
421
421
  }
422
+ },
423
+ {
424
+ "name": "vercel_upsert_env",
425
+ "intent": "run_external_job",
426
+ "kind": "declarative",
427
+ "scope": "pod",
428
+ "description": "Creates or updates ONE environment variable on a Vercel project (upsert). Config values only (a URL, a public id), never a secret; a pod-minted credential goes through `inbound_source.connect`. An env change applies only to NEW deployments: call vercel_redeploy afterwards. Side-effecting write — routes through the capability-execution gate. The value is never returned. Args: { projectIdOrName: string, key: string, value: string, type?: string (default 'encrypted'), target?: string (default 'production'), comment?: string, teamId?: string, teamSlug?: string }.",
429
+ "requires": [
430
+ "vercel"
431
+ ],
432
+ "executionMode": "sync",
433
+ "timeoutSeconds": 60,
434
+ "parameters": {
435
+ "comment": "string?",
436
+ "key": "string",
437
+ "projectIdOrName": "string",
438
+ "target": "string?",
439
+ "teamId": "string?",
440
+ "teamSlug": "string?",
441
+ "type": "string?",
442
+ "value": "string"
443
+ },
444
+ "providerSpec": {
445
+ "tool": "vercel",
446
+ "method": "POST",
447
+ "pathTemplate": "/v10/projects/{{projectIdOrName}}/env",
448
+ "query": {
449
+ "upsert": "true",
450
+ "teamId": "{{teamId}}",
451
+ "slug": "{{teamSlug}}"
452
+ },
453
+ "body": {
454
+ "key": "{{key}}",
455
+ "value": "{{value}}",
456
+ "type": "{{type}}",
457
+ "target": [
458
+ "{{target}}"
459
+ ],
460
+ "comment": "{{comment}}"
461
+ },
462
+ "paramMapping": {
463
+ "projectIdOrName": {
464
+ "required": true,
465
+ "encode": "uri"
466
+ },
467
+ "key": {
468
+ "required": true
469
+ },
470
+ "value": {
471
+ "required": true
472
+ },
473
+ "type": {
474
+ "default": "encrypted"
475
+ },
476
+ "target": {
477
+ "default": "production"
478
+ }
479
+ },
480
+ "responseShape": {
481
+ "collectionPath": "failed",
482
+ "collectionAs": "failed",
483
+ "item": {
484
+ "key": "key",
485
+ "code": "error.code"
486
+ },
487
+ "scalar": {
488
+ "id": "created.id",
489
+ "key": "created.key",
490
+ "type": "created.type",
491
+ "target": "created.target",
492
+ "failedCount": "@count"
493
+ }
494
+ }
495
+ }
422
496
  }
423
497
  ],
424
498
  "provides": [
package/dist/index.js CHANGED
@@ -5892,7 +5892,7 @@ var DATA = {
5892
5892
  "displayName": "UI Design",
5893
5893
  "icon": "layout-template",
5894
5894
  "color": "violet",
5895
- "description": "A screen designed from the real component library \u2014 Puck JSON a person reviews on the canvas and a coding agent implements.",
5895
+ "description": "A canvas of screens (one frame each; a single screen is one frame), designed from the real component library \u2014 Puck JSON a person reviews on the canvas and a coding agent implements.",
5896
5896
  "lifecycle": {
5897
5897
  "property": "design-status",
5898
5898
  "options": [
@@ -5996,7 +5996,7 @@ var DATA = {
5996
5996
  {
5997
5997
  "slug": "design-json",
5998
5998
  "label": "Design (Puck JSON)",
5999
- "description": "Puck data: content[] of { type, props: { id, \u2026 } }, root.props, zones. Every type is a component in the Storybook manifest.",
5999
+ "description": "A canvas (schema-version 3): a board { format, frames[] }, one frame per screen, each frame { id, name, x, y, w, h, page } holding a Puck page ({ content[] of { type, props: { id, \u2026 } }, root.props }) in flow layout, layout blocks taking token names, never px. A single screen is a canvas with one frame. Every type, at any depth and in every frame, is a component in the Storybook manifest.",
6000
6000
  "valueType": "json",
6001
6001
  "inputType": "json"
6002
6002
  },
@@ -6010,11 +6010,11 @@ var DATA = {
6010
6010
  {
6011
6011
  "slug": "schema-version",
6012
6012
  "label": "Schema version",
6013
- "description": "Version of the design JSON shape, for migrations.",
6013
+ "description": "Version of the design JSON shape. Always 3: a canvas, a board of frames, one per screen, each holding a page (a single screen is a canvas with one frame). Agents never write 1 or 2; the canvas migrates them on read.",
6014
6014
  "valueType": "number",
6015
6015
  "inputType": "number",
6016
6016
  "constraints": {
6017
- "defaultValue": 1
6017
+ "defaultValue": 3
6018
6018
  }
6019
6019
  },
6020
6020
  {
@@ -6320,7 +6320,7 @@ var DATA = {
6320
6320
  {
6321
6321
  "name": "Design to implementation",
6322
6322
  "description": "Take a UI design request from three variants built only of real Storybook components, through a rubric critique and a person's review on the canvas, to a pull request verified by the gates, a before/after compare and a walk in the running app.",
6323
- "goalTemplate": "Take this UI design ({design}) for {surface} from draft to implemented. Load the designing-with-real-components skill first, and design-critique for the Critique stage. GENERATE: read the Storybook component manifest (/manifests/components.json, or the Storybook MCP), the design's goal and scope and the entities it references, and write THREE variants as Puck JSON \u2014 this design and two sibling ui-designs sharing its variant-group \u2014 using ONLY components the manifest lists, with props each one declares, design tokens and named motion presets only; each variant lays out every state the screen has (empty, loading, failed, full, long content); fill components-used from the JSON and set schema-version. CRITIQUE: judge each variant with the design-critique rubric and write the findings into its critique; a checked or pattern blocker sends the run back to Generate; opinions are never applied. REVIEW: a person compares the variants on the canvas and approves one; nothing is implemented from an unapproved design, and only a person sets approved. IMPLEMENT: read design-json and the Storybook MCP, build the screen from those same real components, open a pull request and record its URL in implementation-pr and the built screen's story in implemented-story-id. VERIFY: typecheck, story coverage, interaction and accessibility tests, visual regression and the token guards are green, the implemented story was captured and compared with the design and the current story, and the screen was walked in the running app. Move the design's status only through its lifecycle (update_entity with expectedStatus); never invent a status.",
6323
+ "goalTemplate": "Take this UI design ({design}) for {surface} from draft to implemented. Load the designing-with-real-components skill first, and design-critique for the Critique stage. GENERATE: read the Storybook component manifest (/manifests/components.json, or the Storybook MCP), the design's goal and scope and the entities it references, and write THREE variants as Puck JSON as a canvas of frames, one per screen (one frame for a single screen) \u2014 this design and two sibling ui-designs sharing its variant-group \u2014 using ONLY components the manifest lists, with props each one declares, design tokens and named motion presets only; each variant lays out every state the screen has (empty, loading, failed, full, long content); fill components-used from the JSON (across every frame of a canvas) and set schema-version (always 3: a canvas of frames, one per screen; never 1 or 2). CRITIQUE: judge each variant with the design-critique rubric and write the findings into its critique; a checked or pattern blocker sends the run back to Generate; opinions are never applied. REVIEW: a person compares the variants on the canvas and approves one; nothing is implemented from an unapproved design, and only a person sets approved. IMPLEMENT: read design-json and the Storybook MCP, build the screen from those same real components, open a pull request and record its URL in implementation-pr and the built screen's story in implemented-story-id. VERIFY: typecheck, story coverage, interaction and accessibility tests, visual regression and the token guards are green, the implemented story was captured and compared with the design and the current story, and the screen was walked in the running app. Move the design's status only through its lifecycle (update_entity with expectedStatus); never invent a status.",
6324
6324
  "subjectProfile": {
6325
6325
  "profileSlug": "ui-design"
6326
6326
  },
@@ -6351,7 +6351,7 @@ var DATA = {
6351
6351
  "name": "Generate",
6352
6352
  "category": "planned",
6353
6353
  "subjectStatus": "draft",
6354
- "goal": "Write three variants as Puck JSON \u2014 this design and two siblings in its variant-group \u2014 from components the Storybook manifest lists, with their declared props, tokens and named motion presets only, each with every state the screen has.",
6354
+ "goal": "Write three variants as Puck JSON as a canvas of frames, one per screen (one frame for a single screen) \u2014 this design and two siblings in its variant-group \u2014 from components the Storybook manifest lists, with their declared props, tokens and named motion presets only, each with every state the screen has.",
6355
6355
  "expectedOutputs": [
6356
6356
  {
6357
6357
  "kind": "ui-design",
@@ -6532,7 +6532,7 @@ var DATA = {
6532
6532
  {
6533
6533
  "name": "Build an app (App Factory)",
6534
6534
  "description": `Turn "let's build app X" into a researched, designed, reviewed and verified app, built from the Website Factory in slices. The person is asked only three times \u2014 the decisions, the design approval, and a first look after slice 1.`,
6535
- "goalTemplate": `Build the app "{name}": {idea}. Path: {path}. Work it as the App Factory: FIRST load pod skill reference/sdk-and-app-templates (the current SDK, the Website Factory pod-app template and what it can do), then each stage's skill with synap_load_skill. INTAKE: find or create the app (resolve first; one devplane_app, never a twin), make it this session's subject, and record the idea in the person's words. RESEARCH (app-factory-research): name-collision check, a data contract per screen with live examples and counts, an identity and permission table (who writes, who approves, can the app's credential do it, with evidence), every platform gap with an id and an owner, and the real sample world; write the plan document. DECISIONS: ask the person 2-4 multiple-choice questions in ONE ask, each with a recommended default; nothing is designed before they answer. DESIGN (app-factory-design-canvas): create the app repo from the Website Factory, draw every page and every state, desktop and phone, with its design-kit in the real components and the person's real data, and publish the canvas. REVIEW (app-factory-design-review): run the three read-only lenses in parallel \u2014 UX surface, component fidelity + contrast + responsive, data contract per element. CONSOLIDATE: one writer merges them into a redesign brief, applies it, and re-runs design:check and design:preview. DESIGN APPROVAL: the person approves the canvas; nothing is built from boards they have not approved. INFRA: open the platform, catalog and factory pull requests the slices need, each gap with its owner, or label a bridge in the UI and the code. BUILD (app-factory-build-slice): slice by slice, server-only credentials, no writes until the person can sign in, the Website Factory gates re-run independently on the devbox; after slice 1 STOP for the person's first look. DOGFOOD: walk the app as the person would and collect their verdict. Branches and pull requests only: never push to main, never publish the catalog, never deploy production. Separate VERIFIED (gate output quoted) from NEEDS-DOGFOOD in every report.`,
6535
+ "goalTemplate": `Build the app "{name}": {idea}. Path: {path}. Work it as the App Factory: FIRST load pod skill reference/sdk-and-app-templates (the current SDK, the Website Factory pod-app template and what it can do), then each stage's skill with synap_load_skill. INTAKE: find or create the app (resolve first; one devplane_app, never a twin), make it this session's subject, and record the idea in the person's words. RESEARCH (app-factory-research): name-collision check, a data contract per screen with live examples and counts, an identity and permission table (who writes, who approves, can the app's credential do it, with evidence), every platform gap with an id and an owner, and the real sample world; write the plan document. DECISIONS: ask the person 2-4 multiple-choice questions in ONE ask, each with a recommended default; nothing is designed before they answer. DESIGN (app-factory-design-canvas): create the app repo from the Website Factory, draw every page and every state, desktop and phone, with its design-kit in the real components and the person's real data, and publish the canvas. REVIEW (app-factory-design-review): run the three read-only lenses in parallel \u2014 UX surface, component fidelity + contrast + responsive, data contract per element. CONSOLIDATE: one writer merges them into a redesign brief, applies it, and re-runs design:check and design:preview. DESIGN APPROVAL: the person approves the canvas; nothing is built from boards they have not approved. INFRA: open the platform, catalog and factory pull requests the slices need, each gap with its owner, or label a bridge in the UI and the code. BUILD (app-factory-build-slice): slice by slice, server-only credentials, no writes until the person can sign in, the Website Factory gates re-run independently on the devbox; after slice 1 STOP for the person's first look. DOGFOOD: walk the app as the person would and collect their verdict. LAUNCH (last, behind the person's go): one door per case, see the stage. Until that go: branches and pull requests only, never push to main, never publish the catalog, never deploy production. Separate VERIFIED (gate output quoted) from NEEDS-DOGFOOD in every report.`,
6536
6536
  "subjectProfile": {
6537
6537
  "profileSlug": "devplane_app"
6538
6538
  },
@@ -6575,6 +6575,13 @@ var DATA = {
6575
6575
  }
6576
6576
  ],
6577
6577
  "executor": "is-agent",
6578
+ "tools": [
6579
+ "vercel_list_projects",
6580
+ "vercel_list_env_vars",
6581
+ "vercel_upsert_env",
6582
+ "vercel_redeploy",
6583
+ "vercel_get_deployment"
6584
+ ],
6578
6585
  "status": "active",
6579
6586
  "criteria": [
6580
6587
  {
@@ -6832,6 +6839,25 @@ var DATA = {
6832
6839
  "relationToSubject": "relates_to"
6833
6840
  }
6834
6841
  ]
6842
+ },
6843
+ {
6844
+ "key": "launch",
6845
+ "name": "Launch",
6846
+ "category": "completed",
6847
+ "goal": "Put the app on its host, one door per case. (a) A Website Factory site: load the launch-site skill, run `pnpm site:launch` as a dry run, then `--apply`, then the person's go, then `--deploy --check`. (b) A site on Vercel that is not from the Website Factory: the vercel verbs, vercel_list_projects, vercel_list_env_vars, vercel_upsert_env (Config values only: a URL or a public id, never a secret), vercel_redeploy (an env change reaches only a new deployment), then vercel_get_deployment until it is ready. (c) Any credential the pod mints for the host (an inbound webhook source's URL and secret): the inbound_source.connect verb; never ask the person to paste a secret and never hold one yourself. After a redeploy, check the deployment live (its state, and the page or form it serves) and quote the result. Record the deployment on the app.",
6848
+ "gate": {
6849
+ "kind": "human"
6850
+ },
6851
+ "onFail": {
6852
+ "toStage": "slices"
6853
+ },
6854
+ "expectedOutputs": [
6855
+ {
6856
+ "kind": "devplane_deployment",
6857
+ "label": "Production deployment (and the host wiring that was approved)",
6858
+ "relationToSubject": "relates_to"
6859
+ }
6860
+ ]
6835
6861
  }
6836
6862
  ]
6837
6863
  },
@@ -14522,6 +14548,8 @@ var DATA = {
14522
14548
  "hiring",
14523
14549
  "asking",
14524
14550
  "tooling",
14551
+ "funding",
14552
+ "new-hire",
14525
14553
  "none"
14526
14554
  ]
14527
14555
  },
@@ -15687,7 +15715,7 @@ var DATA = {
15687
15715
  {
15688
15716
  "name": "Score a list",
15689
15717
  "description": "Score every lead of one list (an audience) from public signals, 1 to 5, signal first, and write the score, the signal, its source and why on each lead; one run for the whole list.",
15690
- "goalTemplate": "Score the leads of the list {audience}: the people and companies with the lead role and a targets link to this audience whose scoredAt is empty or older than {rescoreAfterDays} days, at most {limit} of them, the never-scored ones first. READ: the audience (segment, persona, jobs-to-be-done, traits, description), which are the list's criteria, and the company's offers in Foundation. RESEARCH each lead from public sources only (its website, company page, public profile, job posts, public posts, freelance platforms) and from the pod (past messages, conversations, notes); never collect contact data a person chose to hide, never use a scraped personal database. RUBRIC (its one home): score = signal + fit + warmth, at least 1 and at most 5. SIGNAL, 0 to 2: hiring or asking within the last 90 days = 2, where hiring is a job post or mission offer for automation, AI agents or no-code (n8n, Make, Zapier, Hermes, Claude Code, AI ops and the like) and asking is a public post or freelance request asking for that help; tooling = 1, it uses those tools publicly with no ask; none = 0, nothing found. FIT, 0 to 2: a founder or director of a company of 2 to 30 people in France, or an independent expert or small agency, that is not a competitor = 2; partial (size unknown, outside France, or near the decider rather than the decider) = 1; excluded (an AI or no-code agency that competes, a regulated profession, more than 50 people, a student) = 0. WARMTH, 0 or 1: an existing two-way exchange with the person, or a first-degree connection with messages, = 1. WRITE on each lead's lead role: icpScore (the score), buyingSignal (hiring, asking, tooling or none), buyingSignalSource (the public URL proving the signal, empty for none), scoredAt (today) and qualificationNotes (the points for signal, fit and warmth with one line each, the doubt you could not resolve, and the source URL of every fact). Leave a fact out rather than guess. Write the scores in one batch. Never move a lead's stage, never create a lead, never draft a message. End with a summary: how many leads were scored, how many per score, and the best five with their signal.",
15718
+ "goalTemplate": "Score the leads of the list {audience}: the people and companies with the lead role and a targets link to this audience whose scoredAt is empty or older than {rescoreAfterDays} days, at most {limit} of them, the never-scored ones first. READ: the audience (segment, persona, jobs-to-be-done, traits, description), which are the list's criteria, and the company's offers in Foundation. RESEARCH each lead from public sources only (its website, company page, public profile, job posts, public posts, freelance platforms) and from the pod (past messages, conversations, notes); never collect contact data a person chose to hide, never use a scraped personal database. RUBRIC (its one home): score = signal + fit + warmth, at least 1 and at most 5. SIGNAL, 0 to 2: hiring or asking within the last 90 days = 2, where hiring is a job post or mission offer for automation, AI agents or no-code (n8n, Make, Zapier, Hermes, Claude Code, AI ops and the like) and asking is a public post or freelance request asking for that help; funding or new-hire within the last 90 days = 1, where funding is a fundraise the company announced and new-hire is a new decider (founder, director, head of operations) who joined it; tooling = 1, it uses those tools publicly with no ask; none = 0, nothing found. FIT, 0 to 2: a founder or director of a company of 2 to 30 people in France, or an independent expert or small agency, that is not a competitor = 2; partial (size unknown, outside France, or near the decider rather than the decider) = 1; excluded (an AI or no-code agency that competes, a regulated profession, more than 50 people, a student) = 0. WARMTH, 0 or 1: an existing two-way exchange with the person, or a first-degree connection with messages, = 1. WRITE on each lead's lead role: icpScore (the score), buyingSignal (hiring, asking, tooling, funding, new-hire or none; when several are found write the strongest, in this order: hiring, then asking, then new-hire, then funding, then tooling, then none), buyingSignalSource (the public URL proving the signal, empty for none), scoredAt (today) and qualificationNotes (the points for signal, fit and warmth with one line each, the doubt you could not resolve, and the source URL of every fact). Leave a fact out rather than guess. Write the scores in one batch. Never move a lead's stage, never create a lead, never draft a message. End with a summary: how many leads were scored, how many per score, and the best five with their signal.",
15691
15719
  "subjectProfile": {
15692
15720
  "profileSlug": "audience"
15693
15721
  },