@synap-core/workspace-templates 0.46.0 → 0.48.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.
Files changed (54) hide show
  1. package/README.md +4 -3
  2. package/automations/lead-converted-becomes-client.automation.json +89 -0
  3. package/automations/lead-converted-becomes-client.catalog.json +13 -0
  4. package/capabilities/apify.capability.json +8 -1
  5. package/capabilities/apollo.capability.json +8 -1
  6. package/capabilities/cal-com.capability.json +8 -1
  7. package/capabilities/exa.capability.json +8 -1
  8. package/capabilities/fal-ai.capability.json +8 -1
  9. package/capabilities/fal-media-lab.capability.json +8 -1
  10. package/capabilities/fireflies.capability.json +8 -1
  11. package/capabilities/mailgun.capability.json +8 -1
  12. package/capabilities/omniroute.capability.json +7 -1
  13. package/capabilities/posthog-analytics.capability.json +7 -1
  14. package/capabilities/postiz.capability.json +7 -1
  15. package/capabilities/replicate-rvm.capability.json +21 -5
  16. package/capabilities/stripe.capability.json +10 -1
  17. package/capabilities/unipile-linkedin.capability.json +39 -3
  18. package/capabilities/vercel.capability.json +8 -1
  19. package/dist/{define-BAPO0xZf.d.ts → define-Dto5_E47.d.ts} +15 -3
  20. package/dist/index.d.ts +2 -2
  21. package/dist/index.js +623 -96
  22. package/dist/index.js.map +1 -1
  23. package/dist/wire.d.ts +1 -1
  24. package/package.json +1 -1
  25. package/src/agency-os.yaml +1 -1
  26. package/src/brand-library.yaml +6 -6
  27. package/src/builder.yaml +17 -12
  28. package/src/content-os.template.test.ts +38 -22
  29. package/src/content-os.video-takes.template.test.ts +4 -2
  30. package/src/content-os.yaml +33 -23
  31. package/src/crm-absorbs-outreach.template.test.ts +5 -1
  32. package/src/crm.yaml +53 -30
  33. package/src/decisions-wave.template.test.ts +99 -5
  34. package/src/finance.yaml +11 -6
  35. package/src/foundation.yaml +22 -10
  36. package/src/grants.yaml +4 -0
  37. package/src/intent.test.ts +4 -2
  38. package/src/lead-automations.test.ts +93 -0
  39. package/src/lead-becomes-client.template.test.ts +137 -0
  40. package/src/lifecycle-declarations.test.ts +20 -1
  41. package/src/lifecycle-presets.test.ts +39 -7
  42. package/src/marketing.yaml +3 -3
  43. package/src/operations.yaml +155 -24
  44. package/src/postiz-contract.test.ts +3 -2
  45. package/src/process-contract.validate.test.ts +4 -1
  46. package/src/publish-official-lib.test.ts +8 -7
  47. package/src/research-base.yaml +2 -2
  48. package/src/research-decision.yaml +1 -1
  49. package/src/ship-a-change.template.test.ts +11 -2
  50. package/src/templates.ts +223 -74
  51. package/src/types.ts +15 -3
  52. package/src/unipile-lookups-read-only.test.ts +1 -0
  53. package/src/validate-flow.ts +15 -1
  54. package/src/validate.ts +40 -4
package/src/templates.ts CHANGED
@@ -41,7 +41,7 @@ const DATA = {
41
41
  "slug": "operations",
42
42
  "kind": "workspace",
43
43
  "relation": "require",
44
- "reason": "Client engagements, deliverables and contracts — where won deals are delivered."
44
+ "reason": "Clients, their engagements, deliverables and contracts — where a lead that signs becomes a client, is onboarded and delivered."
45
45
  },
46
46
  {
47
47
  "slug": "finance",
@@ -3319,7 +3319,7 @@ const DATA = {
3319
3319
  {
3320
3320
  "name": "Make a brand asset",
3321
3321
  "description": "Turn a request for a logo, image, icon or template into a draft built from the approved brand, and approve it with a person before anything uses it.",
3322
- "goalTemplate": "Make this brand asset ({asset}); each stage moves its status. DRAFT: read the request and the approved brand only — approved colours, fonts, references and the active token set; never a draft — and load the creative-director skill to pick the recipe. Make the draft (or up to three variants, each its own asset derived from this one) and record the generator, prompt and parameters on it. Stop there: with variants, the pod asks the person which one to keep and wakes you with their choice (its id is in the answer); when they want none, draft again. APPROVE: a person approves one draft as final (with variants, the one they kept). Until then nothing may use it. Deprecating an asset is a person's call.",
3322
+ "goalTemplate": "Make this brand asset ({asset}); each stage moves its status when its work is approved. DRAFT: read the request and the approved brand only — approved colours, fonts, references and the active token set; never a draft — and load the creative-director skill to pick the recipe. Make the draft (or up to three variants, each its own asset derived from this one) and record the generator, prompt and parameters on it. Stop there: with variants, the pod asks the person which one to keep and wakes you with their choice (its id is in the answer); when they want none, draft again. APPROVE: a person approves one draft as final (with variants, the one they kept). Until then nothing may use it. Deprecating an asset is a person's call.",
3323
3323
  "subjectProfile": {
3324
3324
  "profileSlug": "brand-asset"
3325
3325
  },
@@ -3349,6 +3349,7 @@ const DATA = {
3349
3349
  "name": "Draft",
3350
3350
  "category": "started",
3351
3351
  "subjectStatus": "draft",
3352
+ "onApproved": "approved",
3352
3353
  "goal": "Build the draft from approved brand sources only and record how it was made.",
3353
3354
  "criteria": [
3354
3355
  {
@@ -3389,7 +3390,6 @@ const DATA = {
3389
3390
  "key": "approve",
3390
3391
  "name": "Approve",
3391
3392
  "category": "completed",
3392
- "subjectStatus": "approved",
3393
3393
  "goal": "A person approves one draft as final; with variants, the one they kept.",
3394
3394
  "gate": {
3395
3395
  "kind": "human"
@@ -3403,7 +3403,7 @@ const DATA = {
3403
3403
  {
3404
3404
  "name": "Write the brand voice",
3405
3405
  "description": "Draft or revise the brand voice guide from what the brand already publishes, and approve it with a person.",
3406
- "goalTemplate": "Write this brand voice guide ({guide}); each stage moves its status. DRAFT: read the brand identity, the approved assets and the last posts and emails the brand published; write the voice in a few traits, each with a do and a don't taken from real examples, and the words to use and avoid. APPROVE: a person approves the guide; then it is what every draft is checked against. Retiring a guide is a person's call.",
3406
+ "goalTemplate": "Write this brand voice guide ({guide}); each stage moves its status when its work is approved. DRAFT: read the brand identity, the approved assets and the last posts and emails the brand published; write the voice in a few traits, each with a do and a don't taken from real examples, and the words to use and avoid. APPROVE: a person approves the guide; then it is what every draft is checked against. Retiring a guide is a person's call.",
3407
3407
  "subjectProfile": {
3408
3408
  "profileSlug": "brand-voice-guide"
3409
3409
  },
@@ -3423,6 +3423,7 @@ const DATA = {
3423
3423
  "name": "Draft",
3424
3424
  "category": "started",
3425
3425
  "subjectStatus": "draft",
3426
+ "onApproved": "approved",
3426
3427
  "goal": "Write the voice traits with real do and don't examples, and the words to use and avoid.",
3427
3428
  "criteria": [
3428
3429
  {
@@ -3438,7 +3439,6 @@ const DATA = {
3438
3439
  "key": "approve",
3439
3440
  "name": "Approve",
3440
3441
  "category": "completed",
3441
- "subjectStatus": "approved",
3442
3442
  "goal": "A person approves the guide.",
3443
3443
  "gate": {
3444
3444
  "kind": "human"
@@ -3452,7 +3452,7 @@ const DATA = {
3452
3452
  {
3453
3453
  "name": "Write a content guideline",
3454
3454
  "description": "Distil approved references into a content guideline (base, format or the frame for one goal), and approve it with a person.",
3455
- "goalTemplate": "Write this content guideline ({guideline}); each stage moves its status. DRAFT: read the brand identity, the approved voice guide and the approved references; load the content-taste skill. Write what to take and what to avoid as rules a maker can follow, link the guideline to every reference it was distilled from, and fill the summary. For a frame guideline, set the goal and give the structure in order. APPROVE: a person approves the guideline; then content is made and checked against it. Retiring a guideline is a person's call.",
3455
+ "goalTemplate": "Write this content guideline ({guideline}); each stage moves its status when its work is approved. DRAFT: read the brand identity, the approved voice guide and the approved references; load the content-taste skill. Write what to take and what to avoid as rules a maker can follow, link the guideline to every reference it was distilled from, and fill the summary. For a frame guideline, set the goal and give the structure in order. APPROVE: a person approves the guideline; then content is made and checked against it. Retiring a guideline is a person's call.",
3456
3456
  "subjectProfile": {
3457
3457
  "profileSlug": "content-guideline"
3458
3458
  },
@@ -3472,6 +3472,7 @@ const DATA = {
3472
3472
  "name": "Draft",
3473
3473
  "category": "started",
3474
3474
  "subjectStatus": "draft",
3475
+ "onApproved": "approved",
3475
3476
  "goal": "Distil the approved references into rules a maker can follow, linked to their sources.",
3476
3477
  "criteria": [
3477
3478
  {
@@ -3494,7 +3495,6 @@ const DATA = {
3494
3495
  "key": "approve",
3495
3496
  "name": "Approve",
3496
3497
  "category": "completed",
3497
- "subjectStatus": "approved",
3498
3498
  "goal": "A person approves the guideline.",
3499
3499
  "gate": {
3500
3500
  "kind": "human"
@@ -6409,6 +6409,7 @@ const DATA = {
6409
6409
  "key": "verify",
6410
6410
  "name": "Verify",
6411
6411
  "category": "started",
6412
+ "onApproved": "implemented",
6412
6413
  "goal": "Run the gates, capture the implemented story and compare it with the design (and the current story when there is one), and walk the screen in the running app; write what passed and what failed.",
6413
6414
  "gate": {
6414
6415
  "kind": "check"
@@ -6451,7 +6452,6 @@ const DATA = {
6451
6452
  "key": "done",
6452
6453
  "name": "Done",
6453
6454
  "category": "completed",
6454
- "subjectStatus": "implemented",
6455
6455
  "goal": "A person confirms the pull request merged and the screen matches the approved design; approving writes implemented.",
6456
6456
  "gate": {
6457
6457
  "kind": "human"
@@ -6977,8 +6977,8 @@ const DATA = {
6977
6977
  "key": "verify",
6978
6978
  "name": "Criteria verified",
6979
6979
  "category": "completed",
6980
- "subjectStatus": "done",
6981
- "goal": "Grade every criterion of the session with its evidence, separating VERIFIED (gate or check output quoted) from NEEDS-DOGFOOD; the feature reads Shipped once a person accepts it.",
6980
+ "onApproved": "done",
6981
+ "goal": "Grade every criterion of the session with its evidence, separating VERIFIED (gate or check output quoted) from NEEDS-DOGFOOD. Then, when a feature is bound, move it to done yourself (update_entity, featureStatus done, expectedStatus the status you read); nothing else moves it. Your move into done comes back proposed for the person to approve, which is success; the feature reads Shipped once they accept it.",
6982
6982
  "criteria": [
6983
6983
  {
6984
6984
  "key": "criteria-verified",
@@ -7265,7 +7265,8 @@ const DATA = {
7265
7265
  },
7266
7266
  {
7267
7267
  "key": "verify",
7268
- "goal": "Grade every criterion of the session with its evidence, separating VERIFIED (gate or check output quoted) from NEEDS-DOGFOOD, capture what was learned, and end with the graded criteria as your answer.",
7268
+ "onApproved": "done",
7269
+ "goal": "Grade every criterion of the session with its evidence, separating VERIFIED (gate or check output quoted) from NEEDS-DOGFOOD, and capture what was learned. Then, when a feature is bound, move it to done yourself (synap_update_entity, featureStatus done, expectedStatus the status you read); nothing else moves it. Your move into done comes back proposed for the person to approve, which is success. End with the graded criteria as your answer.",
7269
7270
  "name": "Criteria verified",
7270
7271
  "category": "completed",
7271
7272
  "criteria": [
@@ -7278,8 +7279,7 @@ const DATA = {
7278
7279
  }
7279
7280
  ],
7280
7281
  "description": "Shared land stage. Never report unverified work as verified. File the lesson, decision or finding the work produced (engineering-memory skill, rule dogfood-journal). Close what you opened: asks answered or withdrawn, worktree removed once merged, then synap_complete_session. Moving the feature to done is a proposal the person approves. Tools: synap_update_session, synap_capture, synap_complete_session. Gate: none.",
7281
- "tier": "quick",
7282
- "subjectStatus": "done"
7282
+ "tier": "quick"
7283
7283
  }
7284
7284
  ]
7285
7285
  },
@@ -7539,7 +7539,8 @@ const DATA = {
7539
7539
  },
7540
7540
  {
7541
7541
  "key": "verify",
7542
- "goal": "Grade every criterion of the session with its evidence, separating VERIFIED (gate or check output quoted) from NEEDS-DOGFOOD, capture what was learned, and end with the graded criteria as your answer.",
7542
+ "onApproved": "fixed",
7543
+ "goal": "Grade every criterion of the session with its evidence, separating VERIFIED (gate or check output quoted) from NEEDS-DOGFOOD, and capture what was learned. Then move the issue to fixed yourself (synap_update_entity, issueStatus fixed, expectedStatus the status you read); nothing else moves it. Your move into fixed comes back proposed for the person to approve, which is success. End with the graded criteria as your answer.",
7543
7544
  "name": "Criteria verified",
7544
7545
  "category": "completed",
7545
7546
  "criteria": [
@@ -7552,8 +7553,7 @@ const DATA = {
7552
7553
  }
7553
7554
  ],
7554
7555
  "description": "Shared land stage. Never report unverified work as verified. File the lesson, decision or finding the work produced (engineering-memory skill, rule dogfood-journal). Close what you opened: asks answered or withdrawn, worktree removed once merged, then synap_complete_session. Moving the issue to fixed is a proposal the person approves. Tools: synap_update_session, synap_capture, synap_complete_session. Gate: none.",
7555
- "tier": "quick",
7556
- "subjectStatus": "fixed"
7556
+ "tier": "quick"
7557
7557
  }
7558
7558
  ]
7559
7559
  },
@@ -8178,23 +8178,30 @@ const DATA = {
8178
8178
  {
8179
8179
  "key": "fix",
8180
8180
  "name": "Fix it",
8181
- "goal": "Find the root cause and ship the fix as a gated PR or commit",
8181
+ "goal": "Find the root cause and ship the fix as a gated PR or commit. Once the pull request is open (or the gated commit pushed), move the session to Fix merged.",
8182
8182
  "category": "started",
8183
8183
  "subjectStatus": "fixing"
8184
8184
  },
8185
8185
  {
8186
8186
  "key": "merged",
8187
8187
  "name": "Fix merged",
8188
- "goal": "The fix is on main (a merged PR or a gated commit)",
8188
+ "goal": "Record the fix's pull request on this stage's Merged fix output with its url as the ref, and leave it open (synap_update_session); the pod closes it when the pull request merges into main, and that moves the finding to fixed. A fix landed as a gated commit, with no pull request, marks the output done with the commit's url as its ref. Never move the finding yourself.",
8189
8189
  "category": "started",
8190
- "subjectStatus": "fixed"
8190
+ "onApproved": "fixed",
8191
+ "expectedOutputs": [
8192
+ {
8193
+ "kind": "pull_request",
8194
+ "label": "Merged fix",
8195
+ "relationToSubject": "none"
8196
+ }
8197
+ ]
8191
8198
  },
8192
8199
  {
8193
8200
  "key": "verified",
8194
8201
  "name": "Live and verified",
8195
- "goal": "The fix runs on the pod (its build contains the fix) and the finding no longer happens",
8202
+ "goal": "The fix runs on the pod (its build contains the fix) and the finding no longer happens. Then move the finding to verified yourself (synap_update_entity, status verified, expectedStatus fixed); nothing else moves it, and your move into verified comes back proposed for the person to approve, which is success.",
8196
8203
  "category": "completed",
8197
- "subjectStatus": "verified"
8204
+ "onApproved": "verified"
8198
8205
  }
8199
8206
  ]
8200
8207
  },
@@ -10241,6 +10248,7 @@ const DATA = {
10241
10248
  "Short Video",
10242
10249
  "Long Video",
10243
10250
  "Carousel",
10251
+ "Text Post",
10244
10252
  "Image Post",
10245
10253
  "Story",
10246
10254
  "Newsletter Section",
@@ -12462,7 +12470,7 @@ const DATA = {
12462
12470
  {
12463
12471
  "name": "Produce Content",
12464
12472
  "description": "Take a briefed post from brief to script to published in any format — text, visual or video (HyperFrames) — from the pod's brand kit, one stage per post status, with a person approving the script before anything is generated.",
12465
- "goalTemplate": "Produce content for {platform} from this idea ({post}) in the {format} format. Read the brand first from the pod's brand kit (GET /api/hub/brand/kit) — never re-derive it from a website capture — and load the creative-director skill (linked to this space) to pick the approved brand-template (layout and recipe), references and assets for this format and style; drafts never feed generation. Work the stages in order; each stage moves the post's status. SCRIPT before anything is made: write the script or outline for the format (carousel slide outline, deck outline, video script and storyboard, or the text draft) by filling the narrative frame for the post's goal — the approved content-guideline of type frame for that goal, else the default frame (sell: story, example, lesson, link; hot-take: claim, tension, reason, invitation; tutorial: promise, steps, result, next; product-demo: problem, real screen, outcome, try it). A person approves the script before the draft; nothing is generated from an unapproved script. At the draft, run the creative-director readiness check first (approved references, an approved base guideline, an approved brand-template for this format); if anything is missing, stop and route to the content-taste skill or brand onboarding instead of improvising. Then branch on the format. TEXT (article, thread, newsletter section, caption): draft it with a scroll-stopping hook and a clear CTA. VISUAL: build it pass by pass through the edit-loop skill, a person answering each pass — a carousel, LinkedIn PDF or image post as a layered composition saved on the post (carousel-format), a deck, PDF document or presentation in Open Design (open-design-edit). VIDEO (short or long video): first pick the route — FROM SCRATCH (script, storyboard, frames), FROM A VOICE (an existing voice-over or talk: transcribe it, cut on its beats, build the frames under it) or RE-EDIT (existing footage plus a voice: cut, caption, add music and motion); takes ({takes}) mean RE-EDIT, and the Draft stage says how takes, transcripts and passes are handled. Then run the HyperFrames workflow on your own agent with HYPERFRAMES_NO_TELEMETRY=1, from the kit's frame.md (format=frame-md), with GSAP vendored locally — never `hyperframes publish`, never a cloud render. For a visual or video format, record a content-composition made for this post (for a video: the brief and storyboard documents, the project zip, the MP4, key-frame stills and the brand-kit hash). Keep every format on the post's pillar and the brand voice. A human approves the script before the draft, each pass as it is built, and the draft on the preview at Review. At Schedule, a post whose account is a Postiz channel is queued through the capability that serves publish_post (postiz_schedule_post); that queueing is itself a proposal a person approves. Nothing publishes itself, and the post reads Published only once it went live: reported by Postiz, or confirmed by a person at Publish.",
12473
+ "goalTemplate": "Produce content for {platform} from this idea ({post}) in the {format} format. Read the brand first from the pod's brand kit (GET /api/hub/brand/kit) — never re-derive it from a website capture — and load the creative-director skill (linked to this space) to pick the approved brand-template (layout and recipe), references and assets for this format and style; drafts never feed generation. Work the stages in order; a stage's approved work moves the post's status. SCRIPT before anything is made: write the script or outline for the format (carousel slide outline, deck outline, video script and storyboard, or the text draft) by filling the narrative frame for the post's goal — the approved content-guideline of type frame for that goal, else the default frame (sell: story, example, lesson, link; hot-take: claim, tension, reason, invitation; tutorial: promise, steps, result, next; product-demo: problem, real screen, outcome, try it). A person approves the script before the draft; nothing is generated from an unapproved script. At the draft, run the creative-director readiness check first (approved references, an approved base guideline, an approved brand-template for this format); if anything is missing, stop and route to the content-taste skill or brand onboarding instead of improvising. Then branch on the format. TEXT (article, thread, newsletter section, caption): draft it with a scroll-stopping hook and a clear CTA. VISUAL: build it pass by pass through the edit-loop skill, a person answering each pass — a carousel, LinkedIn PDF or image post as a layered composition saved on the post (carousel-format), a deck, PDF document or presentation in Open Design (open-design-edit). VIDEO (short or long video): first pick the route — FROM SCRATCH (script, storyboard, frames), FROM A VOICE (an existing voice-over or talk: transcribe it, cut on its beats, build the frames under it) or RE-EDIT (existing footage plus a voice: cut, caption, add music and motion); takes ({takes}) mean RE-EDIT, and the Draft stage says how takes, transcripts and passes are handled. Then run the HyperFrames workflow on your own agent with HYPERFRAMES_NO_TELEMETRY=1, from the kit's frame.md (format=frame-md), with GSAP vendored locally — never `hyperframes publish`, never a cloud render. For a visual or video format, record a content-composition made for this post (for a video: the brief and storyboard documents, the project zip, the MP4, key-frame stills and the brand-kit hash). Keep every format on the post's pillar and the brand voice. A human approves the script before the draft, each pass as it is built, and the draft on the preview at Review. At Schedule, a post whose account is a Postiz channel is queued through the capability that serves publish_post (postiz_schedule_post); that queueing is itself a proposal a person approves. Nothing publishes itself, and the post reads Published only once it went live: written by Publish due posts, reported by Postiz, or moved by a person once it is live. The gate at Publish approves the schedule (the post reads Scheduled).",
12466
12474
  "subjectProfile": {
12467
12475
  "profileSlug": "post"
12468
12476
  },
@@ -12524,8 +12532,8 @@ const DATA = {
12524
12532
  "key": "brief",
12525
12533
  "name": "Brief",
12526
12534
  "category": "planned",
12527
- "subjectStatus": "Briefed",
12528
- "goal": "Pin down the post's angle, platform, format, pillar and journey stage before anything is drafted. A run starts at this stage without moving the post: if the post still reads Idea, move it to Briefed first (synap_update_entity, post-status Briefed, expectedStatus Idea). Then advance the run through every stage in order (currentStage), never skipping one, takes included: entering a stage moves the post to its status, and a reply that says proposed is success.",
12535
+ "onApproved": "Briefed",
12536
+ "goal": "Pin down the post's angle, platform, format, pillar and journey stage before anything is drafted. A run starts at this stage without moving the post. Once the brief is set, move the post to Briefed if it still reads Idea (synap_update_entity, post-status Briefed, expectedStatus Idea): Briefed means the brief is done. Then advance the run through every stage in order (currentStage), never skipping one, takes included. A stage moves the post when its work is APPROVED, not when it is entered: the approved Script moves it to Scripted, the Draft gate's approval to In Draft, the Publish gate's approval to Scheduled; a reply that says proposed is success.",
12529
12537
  "criteria": [
12530
12538
  {
12531
12539
  "key": "brief-has-hook",
@@ -12547,7 +12555,7 @@ const DATA = {
12547
12555
  "key": "script",
12548
12556
  "name": "Script",
12549
12557
  "category": "started",
12550
- "subjectStatus": "Scripted",
12558
+ "onApproved": "Scripted",
12551
12559
  "goal": "Write the script or outline for the post's format — carousel slide outline, deck outline, video script and storyboard, or the text draft — by filling the narrative frame for the post's goal (the approved content-guideline of type frame for that goal, else the default frame). With takes (the RE-EDIT route), the script is the cut plan: what is kept of the takes' words, in order, and why (the facecam-edit skill's plan), so the person approves the cut before any pass is built.",
12552
12560
  "expectedOutputs": [
12553
12561
  {
@@ -12642,7 +12650,7 @@ const DATA = {
12642
12650
  "key": "schedule",
12643
12651
  "name": "Schedule",
12644
12652
  "category": "started",
12645
- "subjectStatus": "Scheduled",
12653
+ "onApproved": "Scheduled",
12646
12654
  "goal": "Set the publish date and queue the post on its account: its post-account, else the Personal account (account-owner) of its network (founder, 4 Nov). When that platform carries unipile-account-id (Unipile, the default; decision A, 3 Nov: approving is the yes, nothing asks again), arm it for Publish due posts in one write: post-account set to that platform, publish-account-id to its unipile-account-id, publish-as-organization to its linkedin-organization-id when it is a LinkedIn company page, publish-text to the approved caption or text, publish-media to the approved pictures or video as pod file ids in order (at most 10), publish-at-ms to 09:00 Europe/Paris on the publish date in epoch milliseconds, and publish-outcome queued. Publish due posts sends it through unipile_publish_post on that day and writes the result back. For each other account in post-copy-to (the same post) or post-reshare-on (a LinkedIn repost), create one Scheduled post armed the same way on that account, with post-copy-of set to this post and post-send-mode copy or reshare; a repost has empty publish-text and no media, and waits (publish-outcome waiting) until this post is out. When the account is a Postiz channel (it carries postiz-integration-id and postiz-provider), queue it with postiz_schedule_post: type schedule, the publish date, the approved text, the media links in order, and postEntityId set to this post. When a person approves that run, the pod records the returned postId on the post as postiz-post-id. Any other account: queue it where the account lives and say how.",
12647
12655
  "criteria": [
12648
12656
  {
@@ -12666,8 +12674,8 @@ const DATA = {
12666
12674
  "key": "publish",
12667
12675
  "name": "Publish",
12668
12676
  "category": "completed",
12669
- "subjectStatus": "Published",
12670
- "goal": "The post is live at its URL. Armed for Unipile, Publish due posts sends it on its day and writes Published, post-url and published-at itself; a send that fails writes publish-outcome failed and publish-error and leaves the post at Scheduled, for a person to fix and arm again. Queued through Postiz, Postiz reports it (its webhook records the URL and Published); otherwise a person confirms it, and approving writes Published.",
12677
+ "onApproved": "Published",
12678
+ "goal": "The post is live at its URL. Armed for Unipile, Publish due posts sends it on its day and writes Published, post-url and published-at itself; a send that fails writes publish-outcome failed and publish-error and leaves the post at Scheduled, for a person to fix and arm again. Queued through Postiz, Postiz reports it (its webhook records the URL and Published); otherwise a person moves the post to Published once it is live.",
12671
12679
  "gate": {
12672
12680
  "kind": "human"
12673
12681
  },
@@ -13067,7 +13075,7 @@ const DATA = {
13067
13075
  "key": "scheduled",
13068
13076
  "name": "Scheduled",
13069
13077
  "category": "started",
13070
- "subjectStatus": "Scheduled",
13078
+ "onApproved": "Scheduled",
13071
13079
  "goal": "Set the send date and queue the issue.",
13072
13080
  "criteria": [
13073
13081
  {
@@ -13953,9 +13961,6 @@ const DATA = {
13953
13961
  {
13954
13962
  "profile": "lead"
13955
13963
  },
13956
- {
13957
- "profile": "client"
13958
- },
13959
13964
  {
13960
13965
  "profile": "deal"
13961
13966
  },
@@ -15150,7 +15155,7 @@ const DATA = {
15150
15155
  {
15151
15156
  "name": "Qualify a lead",
15152
15157
  "description": "Research one lead, decide with a person whether it is worth pursuing, and set a pursued lead qualified with \"book a meeting\" as its next action.",
15153
- "goalTemplate": "Qualify this lead ({lead}). RESEARCH: verify and enrich only facts you can support — company, role, size, recent signal — and record the source of each. SCORE: assess fit against the offers and the ideal client, set the ICP score, qualification notes and outreach channels, and write the step you recommend as the lead's next action: `nextAction` one imperative line (e.g. \"Send the first message on LinkedIn\") and `nextActionAt` its date, and say in the qualification notes whether you recommend pursuing, nurturing or dropping it. Stop there: the pod asks the person to pick pursue, nurture or drop and wakes you with their answer, which is the decision. DECIDE: record it on the lead. NURTURE: set the lead to nurturing, with `nextAction` to check in again and `nextActionAt` the date they gave (three months out when they gave none). DROP: write their reason in `disqualificationReason` and move the lead to disqualified; that move is the person's (disqualified is human-only), so it comes back proposed for them to approve, which is success; never write it another way. PURSUE: only when they chose pursue, set the lead to qualified with `nextAction` \"Book a meeting\" (one line naming the channel, e.g. \"Ask for a meeting on LinkedIn\") and `nextActionAt` its date. Never create a deal: a deal is opened when a person records a booked meeting, and that same step converts the lead. Never mark the lead a client.",
15158
+ "goalTemplate": "Qualify this lead ({lead}). RESEARCH: verify and enrich only facts you can support — company, role, size, recent signal — and record the source of each. SCORE: assess fit against the offers and the ideal client, set the ICP score, qualification notes and outreach channels, and write the step you recommend as the lead's next action: `nextAction` one imperative line (e.g. \"Send the first message on LinkedIn\") and `nextActionAt` its date, and say in the qualification notes whether you recommend pursuing, nurturing or dropping it. Stop there: the pod asks the person to pick pursue, nurture or drop and wakes you with their answer, which is the decision. DECIDE: record it on the lead. NURTURE: set the lead to nurturing, with `nextAction` to check in again and `nextActionAt` the date they gave (three months out when they gave none). DROP: write their reason in `disqualificationReason` and move the lead to disqualified; that move is the person's (disqualified is human-only), so it comes back proposed for them to approve, which is success; never write it another way. PURSUE: only when they chose pursue, set the lead to qualified with `nextAction` \"Book a meeting\" (one line naming the channel, e.g. \"Ask for a meeting on LinkedIn\") and `nextActionAt` its date. Never create a deal: a deal is opened when a person records a booked meeting. Never move the lead to converted and never mark it a client: the lead converts when the client signs, and that is a person's move.",
15154
15159
  "subjectProfile": {
15155
15160
  "profileSlug": "lead"
15156
15161
  },
@@ -15264,8 +15269,8 @@ const DATA = {
15264
15269
  "key": "pursue",
15265
15270
  "name": "Pursue",
15266
15271
  "category": "completed",
15267
- "subjectStatus": "qualified",
15268
- "goal": "Only after the person chose pursue, set the lead qualified with nextAction \"Book a meeting\" (one line naming the channel) and its nextActionAt. Open no deal.",
15272
+ "onApproved": "qualified",
15273
+ "goal": "Only after the person chose pursue, set the lead qualified yourself (update_facet on the lead role, leadStage qualified, expectedStatus the status you read; nothing else moves it) with nextAction \"Book a meeting\" (one line naming the channel) and its nextActionAt. Open no deal.",
15269
15274
  "criteria": [
15270
15275
  {
15271
15276
  "key": "lead-book-meeting",
@@ -15302,7 +15307,7 @@ const DATA = {
15302
15307
  {
15303
15308
  "name": "Win a deal",
15304
15309
  "description": "Take a deal from first conversation to won or lost — qualify it, write and send the proposal, negotiate, and hand a won deal to delivery, with a person deciding every commitment.",
15305
- "goalTemplate": "Work this deal ({deal}) through its stages; each stage moves the deal's commercial stage. QUALIFY: from the pod (the company, its people, every past message and meeting) and public sources, establish the four facts a proposal needs — the problem the buyer wants solved and what it costs them, a budget range, who signs, and when they need it — and link the people involved to the deal. Do not guess a fact: when one is missing, ask the person who owns the relationship. WRITE: draft the proposal document (scope, deliverables, timeline, price, terms) from the agency's offers and past won proposals, and set the deal's value and close date. SEND: a person approves the proposal before it goes to the client; nothing is sent without that approval. AWAIT: wait for the client's answer and record it on the deal. NEGOTIATE: its check reads that answer; log every objection and counter-offer and propose the next step. WON: once a person confirms the client said yes, reuse the engagement Operations already has for this company; only when there is none, open one at proposed with its client set to the company. Then attach the client role to the company with handoff status handed_off. The daily \"Pick up handed-off clients\" automation skips any client that already has an engagement, so no second one is opened. A lost deal is a person's call — record why it was lost.",
15310
+ "goalTemplate": "Work this deal ({deal}) through its stages; each stage moves the deal's commercial stage when its work is approved (the sent proposal moves it to Proposal sent). QUALIFY: from the pod (the company, its people, every past message and meeting) and public sources, establish the four facts a proposal needs — the problem the buyer wants solved and what it costs them, a budget range, who signs, and when they need it — and link the people involved to the deal. Do not guess a fact: when one is missing, ask the person who owns the relationship. WRITE: draft the proposal document (scope, deliverables, timeline, price, terms) from the agency's offers and past won proposals, and set the deal's value and close date. SEND: a person approves the proposal before it goes to the client; nothing is sent without that approval. AWAIT: wait for the client's answer and record it on the deal. NEGOTIATE: its check reads that answer; log every objection and counter-offer and propose the next step. WON: once a person confirms the client said yes, propose moving the deal's lead (the company's lead, else the person's) to converted, which means signed. That move is the person's (converted is human-only), so it comes back proposed for them to approve, which is success. Never attach the client role and never open an engagement yourself: once the person approves, the pod stamps the lead, makes the company (or person) a client handed off to Operations, and Operations' \"Onboard a client\" opens or reuses the engagement. A lost deal is a person's call — record why it was lost.",
15306
15311
  "subjectProfile": {
15307
15312
  "profileSlug": "deal"
15308
15313
  },
@@ -15337,11 +15342,6 @@ const DATA = {
15337
15342
  {
15338
15343
  "kind": "document",
15339
15344
  "label": "Proposal"
15340
- },
15341
- {
15342
- "kind": "engagement",
15343
- "label": "Client engagement",
15344
- "relationToSubject": "relates_to"
15345
15345
  }
15346
15346
  ],
15347
15347
  "metadata": {
@@ -15420,8 +15420,15 @@ const DATA = {
15420
15420
  "key": "send",
15421
15421
  "name": "Send proposal",
15422
15422
  "category": "started",
15423
- "subjectStatus": "proposed",
15424
- "goal": "A person approves the proposal; then send it to the decision maker and record when.",
15423
+ "onApproved": "proposed",
15424
+ "goal": "A person approves the proposal; then send it to the decision maker with send_message and record when. Once it has gone, mark this stage's Sent proposal output done with the sent message as its ref (update_run); that moves the deal to Proposal sent. Never move the deal yourself.",
15425
+ "expectedOutputs": [
15426
+ {
15427
+ "kind": "document",
15428
+ "label": "Sent proposal",
15429
+ "relationToSubject": "none"
15430
+ }
15431
+ ],
15425
15432
  "gate": {
15426
15433
  "kind": "human"
15427
15434
  },
@@ -15450,6 +15457,7 @@ const DATA = {
15450
15457
  "name": "Negotiate",
15451
15458
  "category": "started",
15452
15459
  "subjectStatus": "negotiating",
15460
+ "onApproved": "won",
15453
15461
  "goal": "Answer objections, log every counter-offer on the deal, and propose the next step.",
15454
15462
  "gate": {
15455
15463
  "kind": "check"
@@ -15472,8 +15480,7 @@ const DATA = {
15472
15480
  "key": "won",
15473
15481
  "name": "Won",
15474
15482
  "category": "completed",
15475
- "subjectStatus": "won",
15476
- "goal": "A person confirms the client said yes; then reuse the company's engagement in Operations (open one only when none exists) and attach the client role to the company.",
15483
+ "goal": "A person confirms the client said yes; then propose moving the deal's lead to converted (signed), which the person approves. That approved move makes the company (or person) a client handed off to Operations, which onboards it.",
15477
15484
  "gate": {
15478
15485
  "kind": "human"
15479
15486
  },
@@ -16143,7 +16150,7 @@ const DATA = {
16143
16150
  {
16144
16151
  "name": "Personalized Outreach",
16145
16152
  "description": "Run one outreach campaign — write the angle and its offer, pick the people, draft one personal first message each as a proposed message in their channel; a person approves the list, then approves each message, which the pod sends.",
16146
- "goalTemplate": "Run this outreach campaign ({campaign}) on {channel}; each stage moves its status. If its type is not outreach, stop and say so. PREPARE: write the target audience, the value proposition and the call to action (from the By kind of lead row that fits the audience, when one does). Pick the people to reach from the pod (and public sources when the pod has too few), resolving each one before creating anything, link each as a member of the campaign with the lead role (lead source cold-outreach when it has none), and for each draft one first message to that person in this campaign's angle. DRAFT RULES: each draft is one proposed message in the channel of the person it is written to, filed through the pod's send door: run messaging.send with to = that person's entity id (for a company lead, its decider: when that person is not in the pod, create them through the entity door with only their own fields, such as name, role and LinkedIn URL, never the company's website, domain or email), text = the message, and provider linkedin or email. Read their channel first (channel.resolve, then feed.read) for what was already said. The pod files it for a person to review in that channel; it goes out only once they approve it. Never call a tool's own send verb (Unipile, Gmail), never create an outreach touch, a note or a task holding the message, and never use synap_capture for it. Never send. A LinkedIn message is drafted whatever their reach: the pod holds a draft to someone who is not a connection yet, shows it with the next step and lets it go out once they connect, so never hold a draft back for want of a connection. Draft it, then, in this order: (1) a person with no linkedinUrl: find their profile with linkedin_find_profile (their full name and company); on a match, propose its linkedinUrl and linkedinProviderId on the person for a person to approve; on none or several, ask the person to choose among its candidates (the process \"Find their LinkedIn\" does this for one lead). (2) Read their linkedinConnection, which only the pod writes (never set it or linkedinInvitedAt): connected, nothing more; none or not set, ask to connect with linkedin_send_invite (it refuses someone already connected or already invited: then nothing more); pending, the draft waits for them; ignored, draft by email instead when they have an email address. While the draft waits for them to connect, set the lead's nextAction to \"Wait for <name> to accept the LinkedIn request\" and its nextActionAt 7 days later. An email message needs none of this. RULES: follow the rules this process follows, in order: Voice, then By kind of lead (the first row that fits the lead; a given campaign's angle comes first). A rule shown as not available is left out: say so. START: a person approves the audience, the offer and the list, then reviews each proposed message in its channel and approves it; nothing goes out before they approve it, and the agent never sends. Once a message is sent, follow the cadence, so \"Follow up on leads in outreach\" drafts the next one. CADENCE: when a message is sent (a person approved its proposed message, so it is an outbound message in the channel), set its lead's lastContactedAt to the sent day, count the messages sent to the lead (the outbound messages in its channels, read with channel.resolve and feed.read: for a company lead, the channels of the person written to there), and set the lead's next action: after the first message, nextAction \"Follow up with <name> if no reply\" and nextActionAt the sent day + 3 days; after the first follow-up, nextAction \"Follow up with <name> a last time if no reply\" and nextActionAt the sent day + 7 days; after the second follow-up, nextAction \"No reply after two follow-ups: nurture or drop <name>\" and nextActionAt the sent day + 7 days, and when that date passes with no reply, \"Follow up on leads in outreach\" proposes nurturing. Never a third follow-up. Propose moving a lead at qualified to outreach through the status door, with its expected status. A reply stops the cadence: a reply is an inbound message after our last outbound one in the channel, and \"Follow up on leads in outreach\" reads it and proposes the next step. FINISH: when every person written to has replied or their follow-ups ended in silence, record in the campaign notes how many messages were sent (the outbound messages in their channels), how many got a reply and how many led to a booked meeting. Pausing or cancelling is a person's call.",
16153
+ "goalTemplate": "Run this outreach campaign ({campaign}) on {channel}; each stage moves its status when its work is approved, and at Finish you move it to completed yourself. If its type is not outreach, stop and say so. PREPARE: write the target audience, the value proposition and the call to action (from the By kind of lead row that fits the audience, when one does). Pick the people to reach from the pod (and public sources when the pod has too few), resolving each one before creating anything, link each as a member of the campaign with the lead role (lead source cold-outreach when it has none), and for each draft one first message to that person in this campaign's angle. DRAFT RULES: each draft is one proposed message in the channel of the person it is written to, filed through the pod's send door: run messaging.send with to = that person's entity id (for a company lead, its decider: when that person is not in the pod, create them through the entity door with only their own fields, such as name, role and LinkedIn URL, never the company's website, domain or email), text = the message, and provider linkedin or email. Read their channel first (channel.resolve, then feed.read) for what was already said. The pod files it for a person to review in that channel; it goes out only once they approve it. Never call a tool's own send verb (Unipile, Gmail), never create an outreach touch, a note or a task holding the message, and never use synap_capture for it. Never send. A LinkedIn message is drafted whatever their reach: the pod holds a draft to someone who is not a connection yet, shows it with the next step and lets it go out once they connect, so never hold a draft back for want of a connection. Draft it, then, in this order: (1) a person with no linkedinUrl: find their profile with linkedin_find_profile (their full name and company); on a match, propose its linkedinUrl and linkedinProviderId on the person for a person to approve; on none or several, ask the person to choose among its candidates (the process \"Find their LinkedIn\" does this for one lead). (2) Read their linkedinConnection, which only the pod writes (never set it or linkedinInvitedAt): connected, nothing more; none or not set, ask to connect with linkedin_send_invite (it refuses someone already connected or already invited: then nothing more); pending, the draft waits for them; ignored, draft by email instead when they have an email address. While the draft waits for them to connect, set the lead's nextAction to \"Wait for <name> to accept the LinkedIn request\" and its nextActionAt 7 days later. An email message needs none of this. RULES: follow the rules this process follows, in order: Voice, then By kind of lead (the first row that fits the lead; a given campaign's angle comes first). A rule shown as not available is left out: say so. START: a person approves the audience, the offer and the list, then reviews each proposed message in its channel and approves it; nothing goes out before they approve it, and the agent never sends. Once a message is sent, follow the cadence, so \"Follow up on leads in outreach\" drafts the next one. CADENCE: when a message is sent (a person approved its proposed message, so it is an outbound message in the channel), set its lead's lastContactedAt to the sent day, count the messages sent to the lead (the outbound messages in its channels, read with channel.resolve and feed.read: for a company lead, the channels of the person written to there), and set the lead's next action: after the first message, nextAction \"Follow up with <name> if no reply\" and nextActionAt the sent day + 3 days; after the first follow-up, nextAction \"Follow up with <name> a last time if no reply\" and nextActionAt the sent day + 7 days; after the second follow-up, nextAction \"No reply after two follow-ups: nurture or drop <name>\" and nextActionAt the sent day + 7 days, and when that date passes with no reply, \"Follow up on leads in outreach\" proposes nurturing. Never a third follow-up. Propose moving a lead at qualified to outreach through the status door, with its expected status. A reply stops the cadence: a reply is an inbound message after our last outbound one in the channel, and \"Follow up on leads in outreach\" reads it and proposes the next step. FINISH: when every person written to has replied or their follow-ups ended in silence, record in the campaign notes how many messages were sent (the outbound messages in their channels), how many got a reply and how many led to a booked meeting. Pausing or cancelling is a person's call.",
16147
16154
  "subjectProfile": {
16148
16155
  "profileSlug": "campaign"
16149
16156
  },
@@ -16247,8 +16254,8 @@ const DATA = {
16247
16254
  "key": "finish",
16248
16255
  "name": "Finish",
16249
16256
  "category": "completed",
16250
- "subjectStatus": "completed",
16251
- "goal": "Record how many messages were sent, how many got a reply and how many led to a booked meeting.",
16257
+ "onApproved": "completed",
16258
+ "goal": "Record how many messages were sent, how many got a reply and how many led to a booked meeting, then move the campaign to completed yourself (update_entity, campaign-status completed, expectedStatus active); nothing else moves it, and your move into completed comes back proposed for the person to approve, which is success.",
16252
16259
  "criteria": [
16253
16260
  {
16254
16261
  "key": "outreach-reply-rate",
@@ -16264,7 +16271,7 @@ const DATA = {
16264
16271
  {
16265
16272
  "name": "Read the reply to an outreach message",
16266
16273
  "description": "Once a person has marked an outreach touch sent (messages recorded before the channels), watch for the reply; summarise it and propose the next step — the free estimate or a meeting — and never open a deal.",
16267
- "goalTemplate": "Watch this sent outreach message ({touch}) for a reply; each stage moves its status. WAIT: watch its conversation. Set it bounced when it did not reach the person, or no response when its lead's next action date passes with no reply; that date is the cadence's (the sent day + 3 days after the first message, the sent day + 7 days after each follow-up), so when the lead has none, count from this message's sent date. The next message is drafted by \"Follow up on leads in outreach\", not here. When this message is the second follow-up (the third message sent to the lead) and its date passes with no reply, mark it no response and propose moving the lead to nurturing through the status door, with its expected status; there is never a third follow-up. REPLIED: its check reads the reply. Summarise it for a person. When they show interest, propose the next step — prepare the free estimate (\"Prepare a pre-sale estimate\") or book a meeting — and propose moving the lead to engaged; when they decline, propose nurturing or disqualified with their reason (in `disqualificationReason`). Unless you propose dropping them, write the next step you propose on the lead as `nextAction`, one imperative line (e.g. \"Book a meeting with Ana\"; \"Check in again\" for nurturing), and `nextActionAt`, the date they named or today; never leave it only in the summary. BOUNCED: set the lead's `nextAction` to find another way to reach them and `nextActionAt` to today. Never open a deal: a deal is opened only when a person records a booked meeting. Never answer the reply yourself; a person does. Opened is recorded by a person.",
16274
+ "goalTemplate": "Watch this sent outreach message ({touch}) for a reply; each stage moves its status when its work is approved. WAIT: watch its conversation. Set it bounced when it did not reach the person, or no response when its lead's next action date passes with no reply; that date is the cadence's (the sent day + 3 days after the first message, the sent day + 7 days after each follow-up), so when the lead has none, count from this message's sent date. The next message is drafted by \"Follow up on leads in outreach\", not here. When this message is the second follow-up (the third message sent to the lead) and its date passes with no reply, mark it no response and propose moving the lead to nurturing through the status door, with its expected status; there is never a third follow-up. REPLIED: its check reads the reply. Summarise it for a person. When they show interest, propose the next step — prepare the free estimate (\"Prepare a pre-sale estimate\") or book a meeting — and propose moving the lead to engaged; when they decline, propose nurturing or disqualified with their reason (in `disqualificationReason`). Unless you propose dropping them, write the next step you propose on the lead as `nextAction`, one imperative line (e.g. \"Book a meeting with Ana\"; \"Check in again\" for nurturing), and `nextActionAt`, the date they named or today; never leave it only in the summary. BOUNCED: set the lead's `nextAction` to find another way to reach them and `nextActionAt` to today. Never open a deal: a deal is opened only when a person records a booked meeting. Never answer the reply yourself; a person does. Opened is recorded by a person.",
16268
16275
  "subjectProfile": {
16269
16276
  "profileSlug": "outreach-touch"
16270
16277
  },
@@ -16294,6 +16301,7 @@ const DATA = {
16294
16301
  "key": "wait",
16295
16302
  "name": "Waiting for a reply",
16296
16303
  "category": "started",
16304
+ "onApproved": "replied",
16297
16305
  "goal": "Watch the conversation for a reply, a bounce, or the follow-up date passing in silence.",
16298
16306
  "indefinite": true,
16299
16307
  "criteria": [
@@ -16310,7 +16318,6 @@ const DATA = {
16310
16318
  "key": "replied",
16311
16319
  "name": "Replied",
16312
16320
  "category": "completed",
16313
- "subjectStatus": "replied",
16314
16321
  "goal": "Summarise the reply for a person and propose the next step — the free estimate or a meeting; never open a deal.",
16315
16322
  "gate": {
16316
16323
  "kind": "check"
@@ -18420,7 +18427,7 @@ const DATA = {
18420
18427
  {
18421
18428
  "name": "Bill a client",
18422
18429
  "description": "Take an invoice from draft to paid — prepare it, send it with a person's approval, chase it when late, and confirm the payment.",
18423
- "goalTemplate": "Bill this invoice ({invoice}); each stage moves its status. PREPARE: set the invoice number, customer, amount, currency, issue date and due date from the engagement or deal it bills, and check the amount against what was agreed. SEND: a person approves the invoice before it goes to the client; record the issue date. DUE: wait for the payment; look for it in the bank or payment provider (match the amount and the reference), and move on once it is found or the due date has passed. PAID: its check reads the payment; set the paid date and link the account it was deposited to. When the due date passed unpaid, the check sends the run to CHASE instead: the invoice becomes overdue and you draft a polite reminder for a person to send; once the payment is found, move the run back to Paid. Voiding an invoice is a person's call.",
18430
+ "goalTemplate": "Bill this invoice ({invoice}); each stage moves its status when its work is approved. PREPARE: set the invoice number, customer, amount, currency, issue date and due date from the engagement or deal it bills, and check the amount against what was agreed. SEND: a person approves the invoice before it goes to the client; record the issue date. DUE: wait for the payment; look for it in the bank or payment provider (match the amount and the reference), and move on once it is found or the due date has passed. PAID: its check reads the payment; set the paid date and link the account it was deposited to. When the due date passed unpaid, the check sends the run to CHASE instead: the invoice becomes overdue and you draft a polite reminder for a person to send; once the payment is found, move the run back to Paid. Voiding an invoice is a person's call.",
18424
18431
  "subjectProfile": {
18425
18432
  "profileSlug": "invoice"
18426
18433
  },
@@ -18479,8 +18486,14 @@ const DATA = {
18479
18486
  "key": "send",
18480
18487
  "name": "Send",
18481
18488
  "category": "started",
18482
- "subjectStatus": "sent",
18483
- "goal": "A person approves the invoice before it goes to the client.",
18489
+ "onApproved": "sent",
18490
+ "goal": "A person approves the invoice before it goes to the client; then send it to the client with send_message. Once it has gone, mark the Invoice sent to the client output done with the sent message as its ref (update_run); that moves the invoice to sent. Never move the invoice yourself.",
18491
+ "expectedOutputs": [
18492
+ {
18493
+ "kind": "document",
18494
+ "label": "Invoice sent to the client"
18495
+ }
18496
+ ],
18484
18497
  "gate": {
18485
18498
  "kind": "human"
18486
18499
  },
@@ -18581,7 +18594,7 @@ const DATA = {
18581
18594
  {
18582
18595
  "name": "Approve an expense",
18583
18596
  "description": "Review an expense against its budget, get a person's approval, and record the payment.",
18584
- "goalTemplate": "Handle this expense ({expense}); each stage moves its status. REVIEW: check the vendor, amount, date, category and receipt, link the budget it counts against and say how much of that budget is left after it. APPROVE: a person approves or rejects the spend. PAY: a person confirms it was paid; link the account it was paid from. Reimbursement and rejection are a person's call.",
18597
+ "goalTemplate": "Handle this expense ({expense}); each stage moves its status when its work is approved. REVIEW: check the vendor, amount, date, category and receipt, link the budget it counts against and say how much of that budget is left after it. APPROVE: a person approves or rejects the spend. PAY: a person confirms it was paid; link the account it was paid from. Reimbursement and rejection are a person's call.",
18585
18598
  "subjectProfile": {
18586
18599
  "profileSlug": "expense"
18587
18600
  },
@@ -18607,6 +18620,7 @@ const DATA = {
18607
18620
  "name": "Review",
18608
18621
  "category": "planned",
18609
18622
  "subjectStatus": "pending",
18623
+ "onApproved": "approved",
18610
18624
  "goal": "Check the expense's facts and receipt and link the budget it counts against.",
18611
18625
  "criteria": [
18612
18626
  {
@@ -18629,7 +18643,7 @@ const DATA = {
18629
18643
  "key": "approve",
18630
18644
  "name": "Approve",
18631
18645
  "category": "started",
18632
- "subjectStatus": "approved",
18646
+ "onApproved": "paid",
18633
18647
  "goal": "A person approves the spend.",
18634
18648
  "gate": {
18635
18649
  "kind": "human"
@@ -18642,7 +18656,6 @@ const DATA = {
18642
18656
  "key": "pay",
18643
18657
  "name": "Pay",
18644
18658
  "category": "completed",
18645
- "subjectStatus": "paid",
18646
18659
  "goal": "A person confirms the expense was paid; link the account it was paid from.",
18647
18660
  "gate": {
18648
18661
  "kind": "human"
@@ -19183,6 +19196,10 @@ const DATA = {
19183
19196
  "key": "prospect",
19184
19197
  "category": "open"
19185
19198
  },
19199
+ {
19200
+ "key": "onboarding",
19201
+ "category": "open"
19202
+ },
19186
19203
  {
19187
19204
  "key": "active",
19188
19205
  "category": "active"
@@ -19209,6 +19226,7 @@ const DATA = {
19209
19226
  "inputType": "select",
19210
19227
  "enumValues": [
19211
19228
  "prospect",
19229
+ "onboarding",
19212
19230
  "active",
19213
19231
  "paused",
19214
19232
  "former",
@@ -20908,6 +20926,10 @@ const DATA = {
20908
20926
  "key": "prospect",
20909
20927
  "category": "open"
20910
20928
  },
20929
+ {
20930
+ "key": "onboarding",
20931
+ "category": "open"
20932
+ },
20911
20933
  {
20912
20934
  "key": "active",
20913
20935
  "category": "active"
@@ -20934,6 +20956,7 @@ const DATA = {
20934
20956
  "inputType": "select",
20935
20957
  "enumValues": [
20936
20958
  "prospect",
20959
+ "onboarding",
20937
20960
  "active",
20938
20961
  "paused",
20939
20962
  "former",
@@ -27402,7 +27425,7 @@ const DATA = {
27402
27425
  {
27403
27426
  "name": "Run a campaign",
27404
27427
  "description": "Take a campaign from brief to results — goal, audience, plan, content, launch with a person's approval, and a report on the leads it brought.",
27405
- "goalTemplate": "Run this campaign ({campaign}); each stage moves its status. BRIEF: write the campaign's goal as a number, its target audience, channel, budget, start and end dates, from the brand kit and the agency's offers. PLAN: list the pieces to make and the outreach to send, each with a date. MAKE: create each piece as a post at the Idea status in Content OS and each outreach sequence as an outreach campaign, so their own processes produce them. LAUNCH: a person approves the launch; nothing is published, sent or paid for before that. REPORT: after the end date, record the lead count and conversion rate, link every new lead the campaign brought, and write what worked and what to change. Pausing or cancelling is a person's call.",
27428
+ "goalTemplate": "Run this campaign ({campaign}); each stage moves its status when its work is approved. BRIEF: write the campaign's goal as a number, its target audience, channel, budget, start and end dates, from the brand kit and the agency's offers. PLAN: list the pieces to make and the outreach to send, each with a date. MAKE: create each piece as a post at the Idea status in Content OS and each outreach sequence as an outreach campaign, so their own processes produce them. LAUNCH: a person approves the launch; nothing is published, sent or paid for before that. REPORT: after the end date, record the lead count and conversion rate, link every new lead the campaign brought, and write what worked and what to change. Pausing or cancelling is a person's call.",
27406
27429
  "subjectProfile": {
27407
27430
  "profileSlug": "campaign"
27408
27431
  },
@@ -27528,8 +27551,8 @@ const DATA = {
27528
27551
  "key": "report",
27529
27552
  "name": "Report",
27530
27553
  "category": "completed",
27531
- "subjectStatus": "completed",
27532
- "goal": "Record lead count and conversion rate, link the leads, and write what to change.",
27554
+ "onApproved": "completed",
27555
+ "goal": "Record lead count and conversion rate, link the leads, and write what to change, then move the campaign to completed yourself (update_entity, campaign-status completed, expectedStatus active); nothing else moves it, and your move into completed comes back proposed for the person to approve, which is success.",
27533
27556
  "criteria": [
27534
27557
  {
27535
27558
  "key": "campaign-results",
@@ -28694,7 +28717,7 @@ const DATA = {
28694
28717
  "slug": "operations",
28695
28718
  "domain": "company",
28696
28719
  "name": "Operations",
28697
- "description": "Deliver client work end to end — the engagements you're running, the deliverables due inside them, and the contracts that govern them. Won deals from CRM hand off into engagements here.",
28720
+ "description": "Deliver client work end to end — the clients you serve, the engagements you're running, the deliverables due inside them, and the contracts that govern them. A lead that signs in the CRM becomes a client here, is onboarded, and its work runs as an engagement.",
28698
28721
  "icon": "briefcase",
28699
28722
  "color": "#0F766E",
28700
28723
  "tags": [
@@ -28763,6 +28786,9 @@ const DATA = {
28763
28786
  },
28764
28787
  {
28765
28788
  "profile": "deliverable"
28789
+ },
28790
+ {
28791
+ "profile": "client"
28766
28792
  }
28767
28793
  ]
28768
28794
  }
@@ -28787,10 +28813,17 @@ const DATA = {
28787
28813
  "slug": "foundation",
28788
28814
  "kind": "workspace",
28789
28815
  "relation": "require",
28790
- "reason": "Provides the pod-wide `client` role the daily client-briefing automation queries."
28816
+ "reason": "Provides the pod-wide `client` role this space onboards and serves (Clients board, Onboard a client) and its automations query."
28791
28817
  }
28792
28818
  ],
28793
28819
  "profiles": [
28820
+ {
28821
+ "slug": "client",
28822
+ "displayName": "Client",
28823
+ "scope": "shared",
28824
+ "profileKind": "role",
28825
+ "properties": []
28826
+ },
28794
28827
  {
28795
28828
  "slug": "engagement",
28796
28829
  "displayName": "Engagement",
@@ -28845,7 +28878,7 @@ const DATA = {
28845
28878
  "slug": "engagement-client",
28846
28879
  "label": "Client",
28847
28880
  "valueType": "entity_id",
28848
- "targetProfileSlug": "company",
28881
+ "targetProfileSlug": "client",
28849
28882
  "inputType": "entity_select"
28850
28883
  },
28851
28884
  {
@@ -29167,6 +29200,16 @@ const DATA = {
29167
29200
  }
29168
29201
  ],
29169
29202
  "views": [
29203
+ {
29204
+ "name": "Clients",
29205
+ "slug": "clients",
29206
+ "type": "kanban",
29207
+ "scopeProfileSlug": "client",
29208
+ "config": {
29209
+ "groupByField": "clientStatus"
29210
+ },
29211
+ "description": "Clients on a board by status, from onboarding to active."
29212
+ },
29170
29213
  {
29171
29214
  "name": "Engagements",
29172
29215
  "slug": "engagements",
@@ -29257,6 +29300,12 @@ const DATA = {
29257
29300
  "defaultView": "Engagements",
29258
29301
  "defaultApp": null,
29259
29302
  "sidebarItems": [
29303
+ {
29304
+ "kind": "view",
29305
+ "viewName": "Clients",
29306
+ "label": "Clients",
29307
+ "icon": "users"
29308
+ },
29260
29309
  {
29261
29310
  "kind": "view",
29262
29311
  "viewName": "Engagements",
@@ -29540,7 +29589,7 @@ const DATA = {
29540
29589
  {
29541
29590
  "key": "operations-crm-handoff-pickup",
29542
29591
  "name": "Pick up handed-off clients",
29543
- "description": "Daily. Finds pod-wide clients the CRM marked ready or handed off that have no engagement yet, and opens the delivery shell for them — a proposed engagement plus a draft contract, both linked to the client. Deduped per client, so it is safe to re-run.",
29592
+ "description": "Daily safety net. Finds pod-wide clients the CRM marked ready or handed off that have no engagement yet (Onboard a client normally opens it), and opens the delivery shell for them — a proposed engagement plus a draft contract, both linked to the client. Deduped per client on the engagement's client, the key Onboard a client uses too, so it is safe to re-run.",
29544
29593
  "triggerType": "cron",
29545
29594
  "triggerConfig": {
29546
29595
  "expression": "0 7 * * *"
@@ -29821,10 +29870,110 @@ const DATA = {
29821
29870
  }
29822
29871
  ],
29823
29872
  "playbooks": [
29873
+ {
29874
+ "name": "Onboard a client",
29875
+ "description": "Welcome a new client, open or reuse their engagement, and have a person confirm the kick-off — the client moves from onboarding to active.",
29876
+ "goalTemplate": "Onboard this new client ({client}); each stage moves the client's status. WELCOME: read how they became a client — the converted lead, the won deal and its proposal, every message with them, and the handoff notes on the client role — and write a short brief in the client's notes: what they bought, who signs, and what they expect first. Draft one welcome message to them as a proposed message in their channel, through the pod's send door (messaging.send): a person approves it before it is sent; never send it another way. ENGAGEMENT: find the engagement whose client is this client (the daily pick-up may already have opened one) and reuse it. Only when there is none, open one at proposed with its client set to this client and its scope and value from the won deal, and link it to the client. Never open a second one. Opening it starts \"Deliver a client engagement\". KICK-OFF: propose the kick-off (its date, who attends, what is decided there) as the engagement's next step; a person confirms the kick-off happened, which makes the client active.",
29877
+ "subjectProfile": {
29878
+ "profileSlug": "client"
29879
+ },
29880
+ "activators": [
29881
+ {
29882
+ "on": "created",
29883
+ "mode": "propose"
29884
+ }
29885
+ ],
29886
+ "params": [
29887
+ {
29888
+ "name": "client",
29889
+ "type": "entity",
29890
+ "label": "Client",
29891
+ "required": true
29892
+ }
29893
+ ],
29894
+ "executor": "is-agent",
29895
+ "status": "active",
29896
+ "tools": [
29897
+ "list_records",
29898
+ "send_message"
29899
+ ],
29900
+ "metadata": {
29901
+ "lineage": {
29902
+ "method": "Agency client onboarding: welcome, engagement set-up, kick-off"
29903
+ }
29904
+ },
29905
+ "stages": [
29906
+ {
29907
+ "key": "welcome",
29908
+ "name": "Welcome",
29909
+ "category": "planned",
29910
+ "subjectStatus": "onboarding",
29911
+ "goal": "Write the client brief in the client's notes and propose a welcome message in their channel for a person to approve.",
29912
+ "criteria": [
29913
+ {
29914
+ "key": "welcome-brief",
29915
+ "statement": "The client's notes hold a short brief — what they bought, who signs, and what they expect first.",
29916
+ "check": {
29917
+ "kind": "judge"
29918
+ }
29919
+ },
29920
+ {
29921
+ "key": "welcome-message-proposed",
29922
+ "statement": "A welcome message to the client is proposed in their channel for a person to approve.",
29923
+ "check": {
29924
+ "kind": "judge"
29925
+ }
29926
+ }
29927
+ ]
29928
+ },
29929
+ {
29930
+ "key": "engagement",
29931
+ "name": "Open or reuse the engagement",
29932
+ "category": "started",
29933
+ "goal": "Reuse the engagement whose client is this client; only when none exists, open one at proposed with its client set and link it to the client.",
29934
+ "expectedOutputs": [
29935
+ {
29936
+ "kind": "engagement",
29937
+ "label": "Client engagement",
29938
+ "relationToSubject": "engagement_for_client"
29939
+ }
29940
+ ],
29941
+ "criteria": [
29942
+ {
29943
+ "key": "engagement-one-per-client",
29944
+ "statement": "Exactly one engagement names this client as its client.",
29945
+ "check": {
29946
+ "kind": "judge"
29947
+ }
29948
+ },
29949
+ {
29950
+ "key": "engagement-linked",
29951
+ "statement": "That engagement is linked to the client.",
29952
+ "check": {
29953
+ "kind": "judge"
29954
+ }
29955
+ }
29956
+ ]
29957
+ },
29958
+ {
29959
+ "key": "kickoff",
29960
+ "name": "Kick-off confirmed",
29961
+ "category": "completed",
29962
+ "subjectStatus": "active",
29963
+ "goal": "A person confirms the kick-off happened; the client becomes active.",
29964
+ "gate": {
29965
+ "kind": "human"
29966
+ },
29967
+ "onFail": {
29968
+ "toStage": "engagement"
29969
+ }
29970
+ }
29971
+ ]
29972
+ },
29824
29973
  {
29825
29974
  "name": "Deliver a client engagement",
29826
29975
  "description": "Run one client engagement from kick-off to close — scope, contract, deliverables, final review and the closing invoice — with a person approving the start and the close.",
29827
- "goalTemplate": "Run this client engagement ({engagement}); each stage moves its status. KICK-OFF: read the won deal, the proposal and every message with the client; write the scope, owner, start and end dates and value on the engagement; create one deliverable per promised output (each with a due date and an owner); reuse the draft contract already linked to the engagement (the daily client pick-up opens one), and create a draft contract only when none is linked. START: a person confirms the contract is signed and the work may start. DELIVER: track every deliverable to accepted (or cancelled by a person), flag any deliverable past its due date, and end with your answer: a short status of what moved and what is late. CLOSE: once every deliverable is accepted or cancelled, write the closing review (what was delivered, what slipped, what the client said), create the closing invoice in Finance at the draft status for the engagement value still owed (when the engagement bills per deliverable, subtract every milestone invoice already created for it), and propose the renewal or next engagement. A person approves the close. Pausing or cancelling an engagement is a person's call.",
29976
+ "goalTemplate": "Run this client engagement ({engagement}); each stage moves its status when its work is approved. KICK-OFF: read the won deal, the proposal and every message with the client; write the scope, owner, start and end dates and value on the engagement; create one deliverable per promised output (each with a due date and an owner); reuse the draft contract already linked to the engagement (the daily client pick-up opens one), and create a draft contract only when none is linked. START: a person confirms the contract is signed and the work may start. DELIVER: track every deliverable to accepted (or cancelled by a person), flag any deliverable past its due date, and end with your answer: a short status of what moved and what is late. CLOSE: once every deliverable is accepted or cancelled, write the closing review (what was delivered, what slipped, what the client said), create the closing invoice in Finance at the draft status for the engagement value still owed (when the engagement bills per deliverable, subtract every milestone invoice already created for it), and propose the renewal or next engagement. A person approves the close. Pausing or cancelling an engagement is a person's call.",
29828
29977
  "subjectProfile": {
29829
29978
  "profileSlug": "engagement"
29830
29979
  },
@@ -29922,6 +30071,7 @@ const DATA = {
29922
30071
  "key": "deliver",
29923
30072
  "name": "Deliver",
29924
30073
  "category": "started",
30074
+ "onApproved": "completed",
29925
30075
  "goal": "Track every deliverable to accepted or cancelled, and end with a short status of what moved and what is late as your answer.",
29926
30076
  "indefinite": true,
29927
30077
  "criteria": [
@@ -29945,7 +30095,6 @@ const DATA = {
29945
30095
  "key": "close",
29946
30096
  "name": "Close",
29947
30097
  "category": "completed",
29948
- "subjectStatus": "completed",
29949
30098
  "goal": "Write the closing review, create the closing invoice, propose the renewal; a person approves the close.",
29950
30099
  "gate": {
29951
30100
  "kind": "human"
@@ -29959,7 +30108,7 @@ const DATA = {
29959
30108
  {
29960
30109
  "name": "Deliver a deliverable",
29961
30110
  "description": "Take one deliverable from in progress to accepted by the client — plan, produce, review internally, send, get the client's sign-off, and bill it when the engagement bills per deliverable.",
29962
- "goalTemplate": "Deliver this deliverable ({deliverable}); each stage moves its status. PLAN: read the engagement's scope and the client's brief, and write what done looks like for this deliverable. PRODUCE: make it, or break it into tasks for the people who will. REVIEW: check it against what done looks like before anyone outside sees it. SEND: a person approves before it goes to the client; record the date it was delivered. ACCEPTED: a person confirms the client accepted it; if the client asked for changes, go back to producing. Then read the engagement's billing: only when it bills per deliverable, create this deliverable's invoice in Finance at the draft status for its share of the engagement value, linked to the deliverable. When it bills at close, create no invoice; the engagement's close bills it.",
30111
+ "goalTemplate": "Deliver this deliverable ({deliverable}); each stage moves its status when its work is approved. PLAN: read the engagement's scope and the client's brief, and write what done looks like for this deliverable. PRODUCE: make it, or break it into tasks for the people who will. REVIEW: check it against what done looks like before anyone outside sees it. SEND: a person approves before it goes to the client; record the date it was delivered. ACCEPTED: a person confirms the client accepted it; if the client asked for changes, go back to producing. Then read the engagement's billing: only when it bills per deliverable, create this deliverable's invoice in Finance at the draft status for its share of the engagement value, linked to the deliverable. When it bills at close, create no invoice; the engagement's close bills it.",
29963
30112
  "subjectProfile": {
29964
30113
  "profileSlug": "deliverable"
29965
30114
  },
@@ -30044,7 +30193,7 @@ const DATA = {
30044
30193
  "key": "send",
30045
30194
  "name": "Send to client",
30046
30195
  "category": "started",
30047
- "subjectStatus": "delivered",
30196
+ "onApproved": "delivered",
30048
30197
  "goal": "A person approves sending; record the delivered date.",
30049
30198
  "gate": {
30050
30199
  "kind": "human"
@@ -30089,7 +30238,7 @@ const DATA = {
30089
30238
  {
30090
30239
  "name": "Get a contract signed",
30091
30240
  "description": "Take a client contract from draft to signed and active, with a person approving what is sent and confirming the signature.",
30092
- "goalTemplate": "Get this contract ({contract}) signed; each stage moves its status. DRAFT: fill the contract from the engagement's scope, value, dates and the agency's standard terms, and list every term that differs from the standard. SEND: a person approves the contract before it goes to the client; once it went, the pod asks the person for the signed file and wakes you with it. SIGNED: link the signed file on the contract; the person's approval confirms both sides signed. ACTIVE: set the start and end dates and link the signed document. Expiry and termination are a person's call.",
30241
+ "goalTemplate": "Get this contract ({contract}) signed; each stage moves its status when its work is approved. DRAFT: fill the contract from the engagement's scope, value, dates and the agency's standard terms, and list every term that differs from the standard. SEND: a person approves the contract before it goes to the client; once it went, the pod asks the person for the signed file and wakes you with it. SIGNED: link the signed file on the contract; the person's approval confirms both sides signed. ACTIVE: set the start and end dates and link the signed document. Expiry and termination are a person's call.",
30093
30242
  "subjectProfile": {
30094
30243
  "profileSlug": "contract"
30095
30244
  },
@@ -30143,7 +30292,7 @@ const DATA = {
30143
30292
  "key": "send",
30144
30293
  "name": "Send",
30145
30294
  "category": "started",
30146
- "subjectStatus": "sent",
30295
+ "onApproved": "sent",
30147
30296
  "goal": "A person approves the contract before it goes to the client.",
30148
30297
  "gate": {
30149
30298
  "kind": "human"
@@ -30184,8 +30333,8 @@ const DATA = {
30184
30333
  "key": "active",
30185
30334
  "name": "Active",
30186
30335
  "category": "completed",
30187
- "subjectStatus": "active",
30188
- "goal": "Set the dates and link the signed document on the contract.",
30336
+ "onApproved": "active",
30337
+ "goal": "Set the dates and link the signed document on the contract, then move the contract to active yourself (update_entity, contract-status active, expectedStatus signed); nothing else moves it.",
30189
30338
  "criteria": [
30190
30339
  {
30191
30340
  "key": "contract-document-linked",
@@ -32042,7 +32191,7 @@ const DATA = {
32042
32191
  {
32043
32192
  "name": "Research a Question",
32044
32193
  "description": "Investigate a question end-to-end — gather and rank sources (keeping the rejected ones), weigh hypotheses, emit findings with calibrated confidence, and map them onto the knowledge graph.",
32045
- "goalTemplate": "Investigate the question {question} and record the WHOLE investigation, not just the answer; each stage moves the question's status. FRAME: restate the question so it can be answered, and say what evidence would answer it. GATHER: use the source-triage skill to gather sources widely via web search, classify each by type and credibility, and create a `source` entity for every one — including the ones you rejected, marked rejected with a reason (never silently drop a source). WEIGH: form the candidate answers as `hypothesis` entities that answer the question; link every source that bears on a hypothesis with `supports` or `contradicts`; use the evidence-synthesis skill to emit `research-finding` entities with honestly calibrated confidence, each `supported_by` its sources and `derived_from` this research; use the concept-cartography skill to place the findings onto the knowledge map. ANSWER: create the `research` entity that `investigates` the question and `explored` the sources, write its conclusion and confidence, and set the question to answered. Abandoning a question is a person's call. Every write is proposal-gated and reviewable.",
32194
+ "goalTemplate": "Investigate the question {question} and record the WHOLE investigation, not just the answer; each stage moves the question's status when its work is approved. FRAME: restate the question so it can be answered, and say what evidence would answer it. GATHER: use the source-triage skill to gather sources widely via web search, classify each by type and credibility, and create a `source` entity for every one — including the ones you rejected, marked rejected with a reason (never silently drop a source). WEIGH: form the candidate answers as `hypothesis` entities that answer the question; link every source that bears on a hypothesis with `supports` or `contradicts`; use the evidence-synthesis skill to emit `research-finding` entities with honestly calibrated confidence, each `supported_by` its sources and `derived_from` this research; use the concept-cartography skill to place the findings onto the knowledge map. ANSWER: create the `research` entity that `investigates` the question and `explored` the sources, write its conclusion and confidence, and set the question to answered. Abandoning a question is a person's call. Every write is proposal-gated and reviewable.",
32046
32195
  "subjectProfile": {
32047
32196
  "profileSlug": "question"
32048
32197
  },
@@ -32119,6 +32268,7 @@ const DATA = {
32119
32268
  "key": "weigh",
32120
32269
  "name": "Weigh",
32121
32270
  "category": "started",
32271
+ "onApproved": "answered",
32122
32272
  "goal": "Form hypotheses, link evidence for and against, and emit findings with calibrated confidence.",
32123
32273
  "criteria": [
32124
32274
  {
@@ -32141,7 +32291,6 @@ const DATA = {
32141
32291
  "key": "answer",
32142
32292
  "name": "Answer",
32143
32293
  "category": "completed",
32144
- "subjectStatus": "answered",
32145
32294
  "goal": "Record the research, its conclusion and confidence, and mark the question answered.",
32146
32295
  "gate": {
32147
32296
  "kind": "check"
@@ -32609,6 +32758,7 @@ const DATA = {
32609
32758
  "name": "Prepare",
32610
32759
  "category": "started",
32611
32760
  "subjectStatus": "proposed",
32761
+ "onApproved": "accepted",
32612
32762
  "goal": "Summarise the question, the options, the evidence and the recommendation in one screen.",
32613
32763
  "criteria": [
32614
32764
  {
@@ -32624,7 +32774,6 @@ const DATA = {
32624
32774
  "key": "accept",
32625
32775
  "name": "Accept",
32626
32776
  "category": "completed",
32627
- "subjectStatus": "accepted",
32628
32777
  "goal": "A person accepts the decision.",
32629
32778
  "gate": {
32630
32779
  "kind": "human"