@synap-core/workspace-templates 0.40.0 → 0.41.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/dist/index.js +116 -16
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/agency-os.yaml +19 -5
- package/src/brand-library.yaml +18 -5
- package/src/crm.yaml +18 -5
- package/src/finance.yaml +19 -4
- package/src/operations.yaml +13 -3
- package/src/templates.ts +116 -16
package/dist/index.js
CHANGED
|
@@ -179,7 +179,7 @@ var DATA = {
|
|
|
179
179
|
{
|
|
180
180
|
"name": "Weekly review",
|
|
181
181
|
"description": "Once a week, empty the inbox, check every open deal, engagement and invoice, and choose next week's priorities with a person.",
|
|
182
|
-
"goalTemplate": "Run the weekly review. COLLECT: list everything captured this week that was never clarified, every question waiting on a person, and every session still open. CLARIFY: propose what each unclarified capture is. REVIEW: list deals with no next step, engagements with a deliverable past due, invoices overdue, campaigns past their end date without a report, and expenses waiting for approval \u2014 each with the one action that would move it.
|
|
182
|
+
"goalTemplate": "Run the weekly review. COLLECT: list everything captured this week that was never clarified, every question waiting on a person, and every session still open. CLARIFY: propose what each unclarified capture is. REVIEW: list deals with no next step, engagements with a deliverable past due, invoices overdue, campaigns past their end date without a report, and expenses waiting for approval \u2014 each with the one action that would move it \u2014 and end your answer with the three priorities you recommend for next week, most important first. Stop there: the pod then asks the person to pick next week's priorities and wakes you with their answer. PLAN: with their answer, create a task for each priority they picked (the three you recommended, or the ones they wrote instead); none when they want no new priorities.",
|
|
183
183
|
"executor": "is-agent",
|
|
184
184
|
"status": "active",
|
|
185
185
|
"schedule": {
|
|
@@ -211,7 +211,7 @@ var DATA = {
|
|
|
211
211
|
"key": "review",
|
|
212
212
|
"name": "Review",
|
|
213
213
|
"category": "started",
|
|
214
|
-
"goal": "List stuck deals, late deliverables, overdue invoices, unreported campaigns and pending expenses, each with one action.",
|
|
214
|
+
"goal": "List stuck deals, late deliverables, overdue invoices, unreported campaigns and pending expenses, each with one action, and end with the three priorities you recommend for next week.",
|
|
215
215
|
"criteria": [
|
|
216
216
|
{
|
|
217
217
|
"key": "review-every-area",
|
|
@@ -220,13 +220,34 @@ var DATA = {
|
|
|
220
220
|
"kind": "judge"
|
|
221
221
|
}
|
|
222
222
|
}
|
|
223
|
-
]
|
|
223
|
+
],
|
|
224
|
+
"endAsk": {
|
|
225
|
+
"label": "Next week's priorities",
|
|
226
|
+
"why": "The review above ends with the three priorities the run recommends for next week.",
|
|
227
|
+
"unblocks": "The run creates a task for each priority",
|
|
228
|
+
"ask": {
|
|
229
|
+
"mode": "choose",
|
|
230
|
+
"options": [
|
|
231
|
+
{
|
|
232
|
+
"label": "The three recommended",
|
|
233
|
+
"value": "recommended",
|
|
234
|
+
"recommended": true,
|
|
235
|
+
"description": "A task is created for each"
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
"label": "No new priorities this week",
|
|
239
|
+
"value": "none",
|
|
240
|
+
"description": "Nothing is created"
|
|
241
|
+
}
|
|
242
|
+
]
|
|
243
|
+
}
|
|
244
|
+
}
|
|
224
245
|
},
|
|
225
246
|
{
|
|
226
247
|
"key": "plan",
|
|
227
248
|
"name": "Plan",
|
|
228
249
|
"category": "completed",
|
|
229
|
-
"goal": "
|
|
250
|
+
"goal": "Create a task for each priority the person picked (the three recommended, or the ones they wrote); none when they want no new priorities."
|
|
230
251
|
}
|
|
231
252
|
]
|
|
232
253
|
}
|
|
@@ -3359,7 +3380,7 @@ var DATA = {
|
|
|
3359
3380
|
{
|
|
3360
3381
|
"name": "Make a brand asset",
|
|
3361
3382
|
"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.",
|
|
3362
|
-
"goalTemplate": "Make this brand asset ({asset}); each stage moves its status. DRAFT: read the request and the approved brand only \u2014 approved colours, fonts, references and the active token set; never a draft \u2014 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.
|
|
3383
|
+
"goalTemplate": "Make this brand asset ({asset}); each stage moves its status. DRAFT: read the request and the approved brand only \u2014 approved colours, fonts, references and the active token set; never a draft \u2014 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.",
|
|
3363
3384
|
"subjectProfile": {
|
|
3364
3385
|
"profileSlug": "brand-asset"
|
|
3365
3386
|
},
|
|
@@ -3405,14 +3426,32 @@ var DATA = {
|
|
|
3405
3426
|
"kind": "judge"
|
|
3406
3427
|
}
|
|
3407
3428
|
}
|
|
3408
|
-
]
|
|
3429
|
+
],
|
|
3430
|
+
"endAsk": {
|
|
3431
|
+
"label": "Variant to keep",
|
|
3432
|
+
"why": "The run made several variants of this asset.",
|
|
3433
|
+
"unblocks": "The variant you keep goes to approval",
|
|
3434
|
+
"ask": {
|
|
3435
|
+
"mode": "choose",
|
|
3436
|
+
"options": [
|
|
3437
|
+
{
|
|
3438
|
+
"label": "None of them: draft again",
|
|
3439
|
+
"value": "redo",
|
|
3440
|
+
"description": "The run makes new variants"
|
|
3441
|
+
}
|
|
3442
|
+
]
|
|
3443
|
+
},
|
|
3444
|
+
"optionsFrom": {
|
|
3445
|
+
"relation": "derived_from"
|
|
3446
|
+
}
|
|
3447
|
+
}
|
|
3409
3448
|
},
|
|
3410
3449
|
{
|
|
3411
3450
|
"key": "approve",
|
|
3412
3451
|
"name": "Approve",
|
|
3413
3452
|
"category": "completed",
|
|
3414
3453
|
"subjectStatus": "approved",
|
|
3415
|
-
"goal": "A person approves one draft as final; with variants,
|
|
3454
|
+
"goal": "A person approves one draft as final; with variants, the one they kept.",
|
|
3416
3455
|
"gate": {
|
|
3417
3456
|
"kind": "human"
|
|
3418
3457
|
},
|
|
@@ -14669,7 +14708,7 @@ var DATA = {
|
|
|
14669
14708
|
{
|
|
14670
14709
|
"name": "Qualify a lead",
|
|
14671
14710
|
"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.',
|
|
14672
|
-
"goalTemplate": 'Qualify this lead ({lead}). RESEARCH: verify and enrich only facts you can support \u2014 company, role, size, recent signal \u2014 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.
|
|
14711
|
+
"goalTemplate": 'Qualify this lead ({lead}). RESEARCH: verify and enrich only facts you can support \u2014 company, role, size, recent signal \u2014 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.',
|
|
14673
14712
|
"subjectProfile": {
|
|
14674
14713
|
"profileSlug": "lead"
|
|
14675
14714
|
},
|
|
@@ -14714,7 +14753,7 @@ var DATA = {
|
|
|
14714
14753
|
"key": "score",
|
|
14715
14754
|
"name": "Score",
|
|
14716
14755
|
"category": "started",
|
|
14717
|
-
"goal": "Set the ICP score, qualification notes and outreach channels, and the recommended step as the lead's nextAction and nextActionAt.",
|
|
14756
|
+
"goal": "Set the ICP score, qualification notes (with whether you recommend pursuing, nurturing or dropping it) and outreach channels, and the recommended step as the lead's nextAction and nextActionAt.",
|
|
14718
14757
|
"criteria": [
|
|
14719
14758
|
{
|
|
14720
14759
|
"key": "lead-score-set",
|
|
@@ -14730,13 +14769,38 @@ var DATA = {
|
|
|
14730
14769
|
"kind": "judge"
|
|
14731
14770
|
}
|
|
14732
14771
|
}
|
|
14733
|
-
]
|
|
14772
|
+
],
|
|
14773
|
+
"endAsk": {
|
|
14774
|
+
"label": "Pursue, nurture or drop",
|
|
14775
|
+
"why": "The lead is researched and scored; its qualification notes say which the run recommends.",
|
|
14776
|
+
"unblocks": "The run sets the lead from your answer",
|
|
14777
|
+
"ask": {
|
|
14778
|
+
"mode": "choose",
|
|
14779
|
+
"options": [
|
|
14780
|
+
{
|
|
14781
|
+
"label": "Pursue",
|
|
14782
|
+
"value": "pursue",
|
|
14783
|
+
"description": "Qualified, with booking a meeting as its next action"
|
|
14784
|
+
},
|
|
14785
|
+
{
|
|
14786
|
+
"label": "Nurture",
|
|
14787
|
+
"value": "nurture",
|
|
14788
|
+
"description": "The run sets a date to check in again"
|
|
14789
|
+
},
|
|
14790
|
+
{
|
|
14791
|
+
"label": "Drop",
|
|
14792
|
+
"value": "drop",
|
|
14793
|
+
"description": "Disqualified once you approve the move"
|
|
14794
|
+
}
|
|
14795
|
+
]
|
|
14796
|
+
}
|
|
14797
|
+
}
|
|
14734
14798
|
},
|
|
14735
14799
|
{
|
|
14736
14800
|
"key": "decide",
|
|
14737
14801
|
"name": "Decide",
|
|
14738
14802
|
"category": "started",
|
|
14739
|
-
"goal": "
|
|
14803
|
+
"goal": "Record the person's answer (pursue, nurture or drop) on the lead; a nurtured lead gets a nextAction to check in and its nextActionAt, a dropped one its disqualificationReason and a proposed move to disqualified.",
|
|
14740
14804
|
"criteria": [
|
|
14741
14805
|
{
|
|
14742
14806
|
"key": "lead-decision-chosen",
|
|
@@ -18022,7 +18086,7 @@ var DATA = {
|
|
|
18022
18086
|
{
|
|
18023
18087
|
"name": "Close the month",
|
|
18024
18088
|
"description": "Once a month, reconcile the accounts, chase what is owed, and record runway, burn and revenue for a person to review.",
|
|
18025
|
-
"goalTemplate": "Close the month. RECONCILE: compare each account's balance with the bank or payment provider and list every difference
|
|
18089
|
+
"goalTemplate": "Close the month. RECONCILE: compare each account's balance with the bank or payment provider and list every difference, and every account with no bank or payment-provider connection. Stop there: the pod asks the person whether to go on or to connect those accounts first (a connection, never a password in a form) and wakes you with their answer; when they connected them, reconcile those accounts again. RECEIVABLES: list unpaid and overdue invoices and propose a reminder for each overdue one. PAYABLES: list expenses still pending or approved but unpaid. METRICS: record this month's cash in bank, net burn, runway in months and monthly recurring revenue as financial metrics, each with its as-of date and how it was computed. REVIEW: write a one-page month-end note for a person \u2014 what changed, what is at risk, what to decide \u2014 and wait for their approval before closing.",
|
|
18026
18090
|
"executor": "is-agent",
|
|
18027
18091
|
"status": "active",
|
|
18028
18092
|
"schedule": {
|
|
@@ -18051,7 +18115,7 @@ var DATA = {
|
|
|
18051
18115
|
"key": "reconcile",
|
|
18052
18116
|
"name": "Reconcile",
|
|
18053
18117
|
"category": "started",
|
|
18054
|
-
"goal": "Compare every account with the bank or payment provider and list differences.",
|
|
18118
|
+
"goal": "Compare every account with the bank or payment provider and list differences, and every account with no connection.",
|
|
18055
18119
|
"criteria": [
|
|
18056
18120
|
{
|
|
18057
18121
|
"key": "accounts-reconciled",
|
|
@@ -18060,7 +18124,28 @@ var DATA = {
|
|
|
18060
18124
|
"kind": "judge"
|
|
18061
18125
|
}
|
|
18062
18126
|
}
|
|
18063
|
-
]
|
|
18127
|
+
],
|
|
18128
|
+
"endAsk": {
|
|
18129
|
+
"label": "Unconnected accounts",
|
|
18130
|
+
"why": "The reconciliation above lists every difference and every account with no bank or payment-provider connection.",
|
|
18131
|
+
"unblocks": "The run goes on with the close",
|
|
18132
|
+
"ask": {
|
|
18133
|
+
"mode": "choose",
|
|
18134
|
+
"options": [
|
|
18135
|
+
{
|
|
18136
|
+
"label": "Go on with the close",
|
|
18137
|
+
"value": "continue",
|
|
18138
|
+
"recommended": true,
|
|
18139
|
+
"description": "Unconnected accounts stay listed in the month-end note"
|
|
18140
|
+
},
|
|
18141
|
+
{
|
|
18142
|
+
"label": "I connected them: reconcile again",
|
|
18143
|
+
"value": "reconcile_again",
|
|
18144
|
+
"description": "The run reconciles the newly connected accounts first"
|
|
18145
|
+
}
|
|
18146
|
+
]
|
|
18147
|
+
}
|
|
18148
|
+
}
|
|
18064
18149
|
},
|
|
18065
18150
|
{
|
|
18066
18151
|
"key": "receivables",
|
|
@@ -29475,7 +29560,7 @@ Recent conversation (oldest first, JSON): {{steps.read-comms.output.messages}}`
|
|
|
29475
29560
|
{
|
|
29476
29561
|
"name": "Get a contract signed",
|
|
29477
29562
|
"description": "Take a client contract from draft to signed and active, with a person approving what is sent and confirming the signature.",
|
|
29478
|
-
"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
|
|
29563
|
+
"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.",
|
|
29479
29564
|
"subjectProfile": {
|
|
29480
29565
|
"profileSlug": "contract"
|
|
29481
29566
|
},
|
|
@@ -29536,6 +29621,21 @@ Recent conversation (oldest first, JSON): {{steps.read-comms.output.messages}}`
|
|
|
29536
29621
|
},
|
|
29537
29622
|
"onFail": {
|
|
29538
29623
|
"toStage": "draft"
|
|
29624
|
+
},
|
|
29625
|
+
"endAsk": {
|
|
29626
|
+
"label": "Signed contract file",
|
|
29627
|
+
"why": "The contract went to the client for signature.",
|
|
29628
|
+
"unblocks": "The run links the signed file on the contract",
|
|
29629
|
+
"ask": {
|
|
29630
|
+
"mode": "provide",
|
|
29631
|
+
"provide": {
|
|
29632
|
+
"kind": "file",
|
|
29633
|
+
"accept": [
|
|
29634
|
+
".pdf",
|
|
29635
|
+
"image/*"
|
|
29636
|
+
]
|
|
29637
|
+
}
|
|
29638
|
+
}
|
|
29539
29639
|
}
|
|
29540
29640
|
},
|
|
29541
29641
|
{
|
|
@@ -29543,7 +29643,7 @@ Recent conversation (oldest first, JSON): {{steps.read-comms.output.messages}}`
|
|
|
29543
29643
|
"name": "Signed",
|
|
29544
29644
|
"category": "started",
|
|
29545
29645
|
"subjectStatus": "signed",
|
|
29546
|
-
"goal": "
|
|
29646
|
+
"goal": "Link the signed file the person provided on the contract; their approval confirms both sides signed.",
|
|
29547
29647
|
"gate": {
|
|
29548
29648
|
"kind": "human"
|
|
29549
29649
|
},
|