@synap-core/workspace-templates 0.47.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.
- package/README.md +3 -2
- package/capabilities/unipile-linkedin.capability.json +39 -3
- package/dist/{define-BAPO0xZf.d.ts → define-Dto5_E47.d.ts} +15 -3
- package/dist/index.d.ts +2 -2
- package/dist/index.js +244 -158
- package/dist/index.js.map +1 -1
- package/dist/wire.d.ts +1 -1
- package/package.json +1 -1
- package/src/brand-library.yaml +6 -6
- package/src/builder.yaml +17 -12
- package/src/content-os.template.test.ts +38 -22
- package/src/content-os.video-takes.template.test.ts +4 -2
- package/src/content-os.yaml +33 -23
- package/src/crm-absorbs-outreach.template.test.ts +5 -1
- package/src/crm.yaml +19 -11
- package/src/decisions-wave.template.test.ts +99 -5
- package/src/finance.yaml +11 -6
- package/src/lead-becomes-client.template.test.ts +4 -1
- package/src/lifecycle-declarations.test.ts +1 -1
- package/src/marketing.yaml +3 -3
- package/src/operations.yaml +8 -8
- package/src/postiz-contract.test.ts +3 -2
- package/src/process-contract.validate.test.ts +4 -1
- package/src/publish-official-lib.test.ts +8 -7
- package/src/research-base.yaml +2 -2
- package/src/research-decision.yaml +1 -1
- package/src/ship-a-change.template.test.ts +11 -2
- package/src/templates.ts +80 -59
- package/src/types.ts +15 -3
- package/src/unipile-lookups-read-only.test.ts +1 -0
- package/src/validate-flow.ts +15 -1
- package/src/validate.ts +40 -4
package/src/templates.ts
CHANGED
|
@@ -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
|
-
"
|
|
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
|
|
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
|
-
"
|
|
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
|
-
"
|
|
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": "
|
|
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
|
-
"
|
|
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
|
-
"
|
|
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;
|
|
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
|
-
"
|
|
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
|
|
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
|
-
"
|
|
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
|
-
"
|
|
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
|
-
"
|
|
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
|
|
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
|
-
"
|
|
13078
|
+
"onApproved": "Scheduled",
|
|
13071
13079
|
"goal": "Set the send date and queue the issue.",
|
|
13072
13080
|
"criteria": [
|
|
13073
13081
|
{
|
|
@@ -15261,8 +15269,8 @@ const DATA = {
|
|
|
15261
15269
|
"key": "pursue",
|
|
15262
15270
|
"name": "Pursue",
|
|
15263
15271
|
"category": "completed",
|
|
15264
|
-
"
|
|
15265
|
-
"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.",
|
|
15266
15274
|
"criteria": [
|
|
15267
15275
|
{
|
|
15268
15276
|
"key": "lead-book-meeting",
|
|
@@ -15299,7 +15307,7 @@ const DATA = {
|
|
|
15299
15307
|
{
|
|
15300
15308
|
"name": "Win a deal",
|
|
15301
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.",
|
|
15302
|
-
"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, 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.",
|
|
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.",
|
|
15303
15311
|
"subjectProfile": {
|
|
15304
15312
|
"profileSlug": "deal"
|
|
15305
15313
|
},
|
|
@@ -15412,8 +15420,15 @@ const DATA = {
|
|
|
15412
15420
|
"key": "send",
|
|
15413
15421
|
"name": "Send proposal",
|
|
15414
15422
|
"category": "started",
|
|
15415
|
-
"
|
|
15416
|
-
"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
|
+
],
|
|
15417
15432
|
"gate": {
|
|
15418
15433
|
"kind": "human"
|
|
15419
15434
|
},
|
|
@@ -15442,6 +15457,7 @@ const DATA = {
|
|
|
15442
15457
|
"name": "Negotiate",
|
|
15443
15458
|
"category": "started",
|
|
15444
15459
|
"subjectStatus": "negotiating",
|
|
15460
|
+
"onApproved": "won",
|
|
15445
15461
|
"goal": "Answer objections, log every counter-offer on the deal, and propose the next step.",
|
|
15446
15462
|
"gate": {
|
|
15447
15463
|
"kind": "check"
|
|
@@ -15464,7 +15480,6 @@ const DATA = {
|
|
|
15464
15480
|
"key": "won",
|
|
15465
15481
|
"name": "Won",
|
|
15466
15482
|
"category": "completed",
|
|
15467
|
-
"subjectStatus": "won",
|
|
15468
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.",
|
|
15469
15484
|
"gate": {
|
|
15470
15485
|
"kind": "human"
|
|
@@ -16135,7 +16150,7 @@ const DATA = {
|
|
|
16135
16150
|
{
|
|
16136
16151
|
"name": "Personalized Outreach",
|
|
16137
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.",
|
|
16138
|
-
"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.",
|
|
16139
16154
|
"subjectProfile": {
|
|
16140
16155
|
"profileSlug": "campaign"
|
|
16141
16156
|
},
|
|
@@ -16239,8 +16254,8 @@ const DATA = {
|
|
|
16239
16254
|
"key": "finish",
|
|
16240
16255
|
"name": "Finish",
|
|
16241
16256
|
"category": "completed",
|
|
16242
|
-
"
|
|
16243
|
-
"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.",
|
|
16244
16259
|
"criteria": [
|
|
16245
16260
|
{
|
|
16246
16261
|
"key": "outreach-reply-rate",
|
|
@@ -16256,7 +16271,7 @@ const DATA = {
|
|
|
16256
16271
|
{
|
|
16257
16272
|
"name": "Read the reply to an outreach message",
|
|
16258
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.",
|
|
16259
|
-
"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.",
|
|
16260
16275
|
"subjectProfile": {
|
|
16261
16276
|
"profileSlug": "outreach-touch"
|
|
16262
16277
|
},
|
|
@@ -16286,6 +16301,7 @@ const DATA = {
|
|
|
16286
16301
|
"key": "wait",
|
|
16287
16302
|
"name": "Waiting for a reply",
|
|
16288
16303
|
"category": "started",
|
|
16304
|
+
"onApproved": "replied",
|
|
16289
16305
|
"goal": "Watch the conversation for a reply, a bounce, or the follow-up date passing in silence.",
|
|
16290
16306
|
"indefinite": true,
|
|
16291
16307
|
"criteria": [
|
|
@@ -16302,7 +16318,6 @@ const DATA = {
|
|
|
16302
16318
|
"key": "replied",
|
|
16303
16319
|
"name": "Replied",
|
|
16304
16320
|
"category": "completed",
|
|
16305
|
-
"subjectStatus": "replied",
|
|
16306
16321
|
"goal": "Summarise the reply for a person and propose the next step — the free estimate or a meeting; never open a deal.",
|
|
16307
16322
|
"gate": {
|
|
16308
16323
|
"kind": "check"
|
|
@@ -18412,7 +18427,7 @@ const DATA = {
|
|
|
18412
18427
|
{
|
|
18413
18428
|
"name": "Bill a client",
|
|
18414
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.",
|
|
18415
|
-
"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.",
|
|
18416
18431
|
"subjectProfile": {
|
|
18417
18432
|
"profileSlug": "invoice"
|
|
18418
18433
|
},
|
|
@@ -18471,8 +18486,14 @@ const DATA = {
|
|
|
18471
18486
|
"key": "send",
|
|
18472
18487
|
"name": "Send",
|
|
18473
18488
|
"category": "started",
|
|
18474
|
-
"
|
|
18475
|
-
"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
|
+
],
|
|
18476
18497
|
"gate": {
|
|
18477
18498
|
"kind": "human"
|
|
18478
18499
|
},
|
|
@@ -18573,7 +18594,7 @@ const DATA = {
|
|
|
18573
18594
|
{
|
|
18574
18595
|
"name": "Approve an expense",
|
|
18575
18596
|
"description": "Review an expense against its budget, get a person's approval, and record the payment.",
|
|
18576
|
-
"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.",
|
|
18577
18598
|
"subjectProfile": {
|
|
18578
18599
|
"profileSlug": "expense"
|
|
18579
18600
|
},
|
|
@@ -18599,6 +18620,7 @@ const DATA = {
|
|
|
18599
18620
|
"name": "Review",
|
|
18600
18621
|
"category": "planned",
|
|
18601
18622
|
"subjectStatus": "pending",
|
|
18623
|
+
"onApproved": "approved",
|
|
18602
18624
|
"goal": "Check the expense's facts and receipt and link the budget it counts against.",
|
|
18603
18625
|
"criteria": [
|
|
18604
18626
|
{
|
|
@@ -18621,7 +18643,7 @@ const DATA = {
|
|
|
18621
18643
|
"key": "approve",
|
|
18622
18644
|
"name": "Approve",
|
|
18623
18645
|
"category": "started",
|
|
18624
|
-
"
|
|
18646
|
+
"onApproved": "paid",
|
|
18625
18647
|
"goal": "A person approves the spend.",
|
|
18626
18648
|
"gate": {
|
|
18627
18649
|
"kind": "human"
|
|
@@ -18634,7 +18656,6 @@ const DATA = {
|
|
|
18634
18656
|
"key": "pay",
|
|
18635
18657
|
"name": "Pay",
|
|
18636
18658
|
"category": "completed",
|
|
18637
|
-
"subjectStatus": "paid",
|
|
18638
18659
|
"goal": "A person confirms the expense was paid; link the account it was paid from.",
|
|
18639
18660
|
"gate": {
|
|
18640
18661
|
"kind": "human"
|
|
@@ -27404,7 +27425,7 @@ const DATA = {
|
|
|
27404
27425
|
{
|
|
27405
27426
|
"name": "Run a campaign",
|
|
27406
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.",
|
|
27407
|
-
"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.",
|
|
27408
27429
|
"subjectProfile": {
|
|
27409
27430
|
"profileSlug": "campaign"
|
|
27410
27431
|
},
|
|
@@ -27530,8 +27551,8 @@ const DATA = {
|
|
|
27530
27551
|
"key": "report",
|
|
27531
27552
|
"name": "Report",
|
|
27532
27553
|
"category": "completed",
|
|
27533
|
-
"
|
|
27534
|
-
"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.",
|
|
27535
27556
|
"criteria": [
|
|
27536
27557
|
{
|
|
27537
27558
|
"key": "campaign-results",
|
|
@@ -29952,7 +29973,7 @@ const DATA = {
|
|
|
29952
29973
|
{
|
|
29953
29974
|
"name": "Deliver a client engagement",
|
|
29954
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.",
|
|
29955
|
-
"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.",
|
|
29956
29977
|
"subjectProfile": {
|
|
29957
29978
|
"profileSlug": "engagement"
|
|
29958
29979
|
},
|
|
@@ -30050,6 +30071,7 @@ const DATA = {
|
|
|
30050
30071
|
"key": "deliver",
|
|
30051
30072
|
"name": "Deliver",
|
|
30052
30073
|
"category": "started",
|
|
30074
|
+
"onApproved": "completed",
|
|
30053
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.",
|
|
30054
30076
|
"indefinite": true,
|
|
30055
30077
|
"criteria": [
|
|
@@ -30073,7 +30095,6 @@ const DATA = {
|
|
|
30073
30095
|
"key": "close",
|
|
30074
30096
|
"name": "Close",
|
|
30075
30097
|
"category": "completed",
|
|
30076
|
-
"subjectStatus": "completed",
|
|
30077
30098
|
"goal": "Write the closing review, create the closing invoice, propose the renewal; a person approves the close.",
|
|
30078
30099
|
"gate": {
|
|
30079
30100
|
"kind": "human"
|
|
@@ -30087,7 +30108,7 @@ const DATA = {
|
|
|
30087
30108
|
{
|
|
30088
30109
|
"name": "Deliver a deliverable",
|
|
30089
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.",
|
|
30090
|
-
"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.",
|
|
30091
30112
|
"subjectProfile": {
|
|
30092
30113
|
"profileSlug": "deliverable"
|
|
30093
30114
|
},
|
|
@@ -30172,7 +30193,7 @@ const DATA = {
|
|
|
30172
30193
|
"key": "send",
|
|
30173
30194
|
"name": "Send to client",
|
|
30174
30195
|
"category": "started",
|
|
30175
|
-
"
|
|
30196
|
+
"onApproved": "delivered",
|
|
30176
30197
|
"goal": "A person approves sending; record the delivered date.",
|
|
30177
30198
|
"gate": {
|
|
30178
30199
|
"kind": "human"
|
|
@@ -30217,7 +30238,7 @@ const DATA = {
|
|
|
30217
30238
|
{
|
|
30218
30239
|
"name": "Get a contract signed",
|
|
30219
30240
|
"description": "Take a client contract from draft to signed and active, with a person approving what is sent and confirming the signature.",
|
|
30220
|
-
"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.",
|
|
30221
30242
|
"subjectProfile": {
|
|
30222
30243
|
"profileSlug": "contract"
|
|
30223
30244
|
},
|
|
@@ -30271,7 +30292,7 @@ const DATA = {
|
|
|
30271
30292
|
"key": "send",
|
|
30272
30293
|
"name": "Send",
|
|
30273
30294
|
"category": "started",
|
|
30274
|
-
"
|
|
30295
|
+
"onApproved": "sent",
|
|
30275
30296
|
"goal": "A person approves the contract before it goes to the client.",
|
|
30276
30297
|
"gate": {
|
|
30277
30298
|
"kind": "human"
|
|
@@ -30312,8 +30333,8 @@ const DATA = {
|
|
|
30312
30333
|
"key": "active",
|
|
30313
30334
|
"name": "Active",
|
|
30314
30335
|
"category": "completed",
|
|
30315
|
-
"
|
|
30316
|
-
"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.",
|
|
30317
30338
|
"criteria": [
|
|
30318
30339
|
{
|
|
30319
30340
|
"key": "contract-document-linked",
|
|
@@ -32170,7 +32191,7 @@ const DATA = {
|
|
|
32170
32191
|
{
|
|
32171
32192
|
"name": "Research a Question",
|
|
32172
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.",
|
|
32173
|
-
"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.",
|
|
32174
32195
|
"subjectProfile": {
|
|
32175
32196
|
"profileSlug": "question"
|
|
32176
32197
|
},
|
|
@@ -32247,6 +32268,7 @@ const DATA = {
|
|
|
32247
32268
|
"key": "weigh",
|
|
32248
32269
|
"name": "Weigh",
|
|
32249
32270
|
"category": "started",
|
|
32271
|
+
"onApproved": "answered",
|
|
32250
32272
|
"goal": "Form hypotheses, link evidence for and against, and emit findings with calibrated confidence.",
|
|
32251
32273
|
"criteria": [
|
|
32252
32274
|
{
|
|
@@ -32269,7 +32291,6 @@ const DATA = {
|
|
|
32269
32291
|
"key": "answer",
|
|
32270
32292
|
"name": "Answer",
|
|
32271
32293
|
"category": "completed",
|
|
32272
|
-
"subjectStatus": "answered",
|
|
32273
32294
|
"goal": "Record the research, its conclusion and confidence, and mark the question answered.",
|
|
32274
32295
|
"gate": {
|
|
32275
32296
|
"kind": "check"
|
|
@@ -32737,6 +32758,7 @@ const DATA = {
|
|
|
32737
32758
|
"name": "Prepare",
|
|
32738
32759
|
"category": "started",
|
|
32739
32760
|
"subjectStatus": "proposed",
|
|
32761
|
+
"onApproved": "accepted",
|
|
32740
32762
|
"goal": "Summarise the question, the options, the evidence and the recommendation in one screen.",
|
|
32741
32763
|
"criteria": [
|
|
32742
32764
|
{
|
|
@@ -32752,7 +32774,6 @@ const DATA = {
|
|
|
32752
32774
|
"key": "accept",
|
|
32753
32775
|
"name": "Accept",
|
|
32754
32776
|
"category": "completed",
|
|
32755
|
-
"subjectStatus": "accepted",
|
|
32756
32777
|
"goal": "A person accepts the decision.",
|
|
32757
32778
|
"gate": {
|
|
32758
32779
|
"kind": "human"
|
package/src/types.ts
CHANGED
|
@@ -668,11 +668,23 @@ export interface TemplatePlaybookStage {
|
|
|
668
668
|
*/
|
|
669
669
|
gate?: { kind: "human" | "check"; proposalType?: "playbook.stage_gate" };
|
|
670
670
|
/**
|
|
671
|
-
* The value of the subject kind's lifecycle property this
|
|
672
|
-
*
|
|
673
|
-
* (governed
|
|
671
|
+
* The IN-PROGRESS value of the subject kind's lifecycle property while this
|
|
672
|
+
* stage is worked (In Draft, Review). Entering the stage writes it to the
|
|
673
|
+
* subject (governed; a gated stage at its gate's pass); the subject
|
|
674
|
+
* ENTERING it advances an open run to the stage.
|
|
674
675
|
*/
|
|
675
676
|
subjectStatus?: string;
|
|
677
|
+
/**
|
|
678
|
+
* The RESULT value this stage's APPROVED work reaches (Scripted, sent, won;
|
|
679
|
+
* decision D2): written when the stage's `expectedOutputs` are all
|
|
680
|
+
* delivered, else when the next stage's gate passes. With neither (a last
|
|
681
|
+
* stage, an ungated next stage, no required output) the pod never writes
|
|
682
|
+
* it, never on a session's end: it stays declared for the follow and
|
|
683
|
+
* `flow.of`, and the stage's goal names the move for whoever finishes it
|
|
684
|
+
* (validate.ts `stage-on-approved-no-signal`). The subject ENTERING it
|
|
685
|
+
* advances an open run to the NEXT stage. Pod `PlaybookStage.onApproved`.
|
|
686
|
+
*/
|
|
687
|
+
onApproved?: string;
|
|
676
688
|
/** Where a rejected human gate / failed check sends the run back (a stage key or name). */
|
|
677
689
|
onFail?: { toStage: string };
|
|
678
690
|
[key: string]: unknown;
|