@synap-core/workspace-templates 0.39.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synap-core/workspace-templates",
3
- "version": "0.39.0",
3
+ "version": "0.41.0",
4
4
  "type": "module",
5
5
  "description": "Canonical workspace definitions — YAML source + typed exports for browser, backend, CLI, and marketplace",
6
6
  "repository": {
@@ -91,9 +91,12 @@ playbooks:
91
91
  REVIEW: list deals with no next step, engagements with a deliverable past
92
92
  due, invoices overdue, campaigns past their end date without a report,
93
93
  and expenses waiting for approval — each with the one action that would
94
- move it. PLAN: ask the person to `choose` next week's three priorities,
95
- your recommendation first; that answer is the plan. Create a task for
96
- each priority they choose.
94
+ move it — and end your answer with the three priorities you recommend
95
+ for next week, most important first. Stop there: the pod then asks the
96
+ person to pick next week's priorities and wakes you with their answer.
97
+ PLAN: with their answer, create a task for each priority they picked
98
+ (the three you recommended, or the ones they wrote instead); none when
99
+ they want no new priorities.
97
100
  executor: is-agent
98
101
  status: active
99
102
  schedule: { cron: "0 16 * * 5", enabled: false, mode: appointment }
@@ -111,12 +114,23 @@ playbooks:
111
114
  - key: review
112
115
  name: Review
113
116
  category: started
114
- goal: List stuck deals, late deliverables, overdue invoices, unreported campaigns and pending expenses, each with one action.
117
+ 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.
115
118
  criteria:
116
119
  - key: review-every-area
117
120
  statement: Deals, engagements, invoices, campaigns and expenses were each checked, or the review says the space is not installed.
118
121
  check: { kind: judge }
122
+ # Raised by the pod when the turn ends this stage (plan 08e4fba7
123
+ # decision 5): a run has no ask tool. The answer wakes the run at Plan.
124
+ endAsk:
125
+ label: Next week's priorities
126
+ why: The review above ends with the three priorities the run recommends for next week.
127
+ unblocks: The run creates a task for each priority
128
+ ask:
129
+ mode: choose
130
+ options:
131
+ - { label: The three recommended, value: recommended, recommended: true, description: A task is created for each }
132
+ - { label: No new priorities this week, value: none, description: Nothing is created }
119
133
  - key: plan
120
134
  name: Plan
121
135
  category: completed
122
- goal: Ask the person to choose next week's three priorities, your recommendation first; create a task for each.
136
+ 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.
@@ -1180,10 +1180,11 @@ playbooks:
1180
1180
  references and the active token set; never a draft — and load the
1181
1181
  creative-director skill to pick the recipe. Make the draft (or up to
1182
1182
  three variants, each its own asset derived from this one) and record the
1183
- generator, prompt and parameters on it. APPROVE: a person approves one
1184
- draft as final; with variants, the approval asks them to `choose` one,
1185
- your recommendation first, and that choice is the approval. Until then
1186
- nothing may use it.
1183
+ generator, prompt and parameters on it. Stop there: with variants, the
1184
+ pod asks the person which one to keep and wakes you with their choice
1185
+ (its id is in the answer); when they want none, draft again. APPROVE: a
1186
+ person approves one draft as final (with variants, the one they kept).
1187
+ Until then nothing may use it.
1187
1188
  Deprecating an asset is a person's call.
1188
1189
  subjectProfile:
1189
1190
  profileSlug: brand-asset
@@ -1207,11 +1208,23 @@ playbooks:
1207
1208
  - key: asset-provenance
1208
1209
  statement: The asset records its generator, prompt and parameters, or says it was made by hand.
1209
1210
  check: { kind: judge }
1211
+ # Raised by the pod when the turn ends this stage (plan 08e4fba7
1212
+ # decision 5), with the variants derived from this asset as the
1213
+ # options; a single draft (no variant) asks nothing.
1214
+ endAsk:
1215
+ label: Variant to keep
1216
+ why: The run made several variants of this asset.
1217
+ unblocks: The variant you keep goes to approval
1218
+ ask:
1219
+ mode: choose
1220
+ options:
1221
+ - { label: "None of them: draft again", value: redo, description: The run makes new variants }
1222
+ optionsFrom: { relation: derived_from }
1210
1223
  - key: approve
1211
1224
  name: Approve
1212
1225
  category: completed
1213
1226
  subjectStatus: approved
1214
- goal: A person approves one draft as final; with variants, they choose one, recommended first.
1227
+ goal: A person approves one draft as final; with variants, the one they kept.
1215
1228
  gate: { kind: human }
1216
1229
  onFail: { toStage: draft }
1217
1230
 
package/src/crm.yaml CHANGED
@@ -1057,9 +1057,10 @@ playbooks:
1057
1057
  client, set the ICP score, qualification notes and outreach channels,
1058
1058
  and write the step you recommend as the lead's next action: `nextAction`
1059
1059
  one imperative line (e.g. "Send the first message on LinkedIn") and
1060
- `nextActionAt` its date. DECIDE: ask the person to `choose` pursue,
1061
- nurture or drop, your recommendation first; that answer is the
1062
- decision. NURTURE: set the lead to nurturing, with `nextAction` to check
1060
+ `nextActionAt` its date, and say in the qualification notes whether you
1061
+ recommend pursuing, nurturing or dropping it. Stop there: the pod asks
1062
+ the person to pick pursue, nurture or drop and wakes you with their
1063
+ answer, which is the decision. DECIDE: record it on the lead. NURTURE: set the lead to nurturing, with `nextAction` to check
1063
1064
  in again and `nextActionAt` the date they gave (three months out when
1064
1065
  they gave none). DROP: write their reason in `disqualificationReason`
1065
1066
  and move the lead to disqualified; that move is the person's
@@ -1095,7 +1096,7 @@ playbooks:
1095
1096
  - key: score
1096
1097
  name: Score
1097
1098
  category: started
1098
- goal: Set the ICP score, qualification notes and outreach channels, and the recommended step as the lead's nextAction and nextActionAt.
1099
+ 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.
1099
1100
  criteria:
1100
1101
  - key: lead-score-set
1101
1102
  statement: The lead has an ICP score and a written reason for it.
@@ -1103,10 +1104,22 @@ playbooks:
1103
1104
  - key: lead-next-action
1104
1105
  statement: The lead's nextAction is one imperative line and its nextActionAt is set.
1105
1106
  check: { kind: judge }
1107
+ # Raised by the pod when the turn ends this stage (plan 08e4fba7
1108
+ # decision 5): a run has no ask tool. The answer wakes the run at Decide.
1109
+ endAsk:
1110
+ label: Pursue, nurture or drop
1111
+ why: The lead is researched and scored; its qualification notes say which the run recommends.
1112
+ unblocks: The run sets the lead from your answer
1113
+ ask:
1114
+ mode: choose
1115
+ options:
1116
+ - { label: Pursue, value: pursue, description: "Qualified, with booking a meeting as its next action" }
1117
+ - { label: Nurture, value: nurture, description: The run sets a date to check in again }
1118
+ - { label: Drop, value: drop, description: Disqualified once you approve the move }
1106
1119
  - key: decide
1107
1120
  name: Decide
1108
1121
  category: started
1109
- goal: Ask the person to choose pursue, nurture or drop, your recommendation first, and record the answer 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.
1122
+ 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.
1110
1123
  criteria:
1111
1124
  - key: lead-decision-chosen
1112
1125
  statement: The person chose pursue, nurture or drop, and the lead records the choice.
package/src/finance.yaml CHANGED
@@ -733,9 +733,12 @@ playbooks:
733
733
  description: Once a month, reconcile the accounts, chase what is owed, and record runway, burn and revenue for a person to review.
734
734
  goalTemplate: >-
735
735
  Close the month. RECONCILE: compare each account's balance with the bank
736
- or payment provider and list every difference; when an account has no
737
- bank or payment-provider connection, ask the person to `provide` it (a
738
- connection, never a password in a form). RECEIVABLES: list unpaid
736
+ or payment provider and list every difference, and every account with
737
+ no bank or payment-provider connection. Stop there: the pod asks the
738
+ person whether to go on or to connect those accounts first (a
739
+ connection, never a password in a form) and wakes you with their
740
+ answer; when they connected them, reconcile those accounts again.
741
+ RECEIVABLES: list unpaid
739
742
  and overdue invoices and propose a reminder for each overdue one.
740
743
  PAYABLES: list expenses still pending or approved but unpaid. METRICS:
741
744
  record this month's cash in bank, net burn, runway in months and monthly
@@ -754,11 +757,23 @@ playbooks:
754
757
  - key: reconcile
755
758
  name: Reconcile
756
759
  category: started
757
- goal: Compare every account with the bank or payment provider and list differences.
760
+ goal: Compare every account with the bank or payment provider and list differences, and every account with no connection.
758
761
  criteria:
759
762
  - key: accounts-reconciled
760
763
  statement: Every active account has a balance compared with its source, and every difference is listed.
761
764
  check: { kind: judge }
765
+ # Raised by the pod when the turn ends this stage (plan 08e4fba7
766
+ # decision 5): a run has no ask tool. The answer wakes the run at
767
+ # Receivables.
768
+ endAsk:
769
+ label: Unconnected accounts
770
+ why: The reconciliation above lists every difference and every account with no bank or payment-provider connection.
771
+ unblocks: The run goes on with the close
772
+ ask:
773
+ mode: choose
774
+ options:
775
+ - { label: Go on with the close, value: continue, recommended: true, description: Unconnected accounts stay listed in the month-end note }
776
+ - { label: "I connected them: reconcile again", value: reconcile_again, description: The run reconciles the newly connected accounts first }
762
777
  - key: receivables
763
778
  name: Receivables
764
779
  category: started
@@ -1096,8 +1096,9 @@ playbooks:
1096
1096
  DRAFT: fill the contract from the engagement's scope, value, dates and
1097
1097
  the agency's standard terms, and list every term that differs from the
1098
1098
  standard. SEND: a person approves the contract before it goes to the
1099
- client. SIGNED: ask the person to `provide` the signed file; their
1100
- approval confirms both sides signed. ACTIVE: set the start and end dates and link the signed
1099
+ client; once it went, the pod asks the person for the signed file and
1100
+ wakes you with it. SIGNED: link the signed file on the contract; the
1101
+ person's approval confirms both sides signed. ACTIVE: set the start and end dates and link the signed
1101
1102
  document. Expiry and termination are a person's call.
1102
1103
  subjectProfile:
1103
1104
  profileSlug: contract
@@ -1129,11 +1130,20 @@ playbooks:
1129
1130
  goal: A person approves the contract before it goes to the client.
1130
1131
  gate: { kind: human }
1131
1132
  onFail: { toStage: draft }
1133
+ # Raised by the pod when a turn ends this stage (plan 08e4fba7
1134
+ # decision 5): a run has no ask tool. The file wakes the run at Signed.
1135
+ endAsk:
1136
+ label: Signed contract file
1137
+ why: The contract went to the client for signature.
1138
+ unblocks: The run links the signed file on the contract
1139
+ ask:
1140
+ mode: provide
1141
+ provide: { kind: file, accept: [".pdf", "image/*"] }
1132
1142
  - key: signed
1133
1143
  name: Signed
1134
1144
  category: started
1135
1145
  subjectStatus: signed
1136
- goal: Ask the person to provide the signed file; their approval confirms both sides signed.
1146
+ goal: Link the signed file the person provided on the contract; their approval confirms both sides signed.
1137
1147
  gate: { kind: human }
1138
1148
  onFail: { toStage: send }
1139
1149
  - key: active
package/src/templates.ts CHANGED
@@ -114,7 +114,7 @@ const DATA = {
114
114
  {
115
115
  "name": "Weekly review",
116
116
  "description": "Once a week, empty the inbox, check every open deal, engagement and invoice, and choose next week's priorities with a person.",
117
- "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 — each with the one action that would move it. PLAN: ask the person to `choose` next week's three priorities, your recommendation first; that answer is the plan. Create a task for each priority they choose.",
117
+ "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 — each with the one action that would move it — 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.",
118
118
  "executor": "is-agent",
119
119
  "status": "active",
120
120
  "schedule": {
@@ -146,7 +146,7 @@ const DATA = {
146
146
  "key": "review",
147
147
  "name": "Review",
148
148
  "category": "started",
149
- "goal": "List stuck deals, late deliverables, overdue invoices, unreported campaigns and pending expenses, each with one action.",
149
+ "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.",
150
150
  "criteria": [
151
151
  {
152
152
  "key": "review-every-area",
@@ -155,13 +155,34 @@ const DATA = {
155
155
  "kind": "judge"
156
156
  }
157
157
  }
158
- ]
158
+ ],
159
+ "endAsk": {
160
+ "label": "Next week's priorities",
161
+ "why": "The review above ends with the three priorities the run recommends for next week.",
162
+ "unblocks": "The run creates a task for each priority",
163
+ "ask": {
164
+ "mode": "choose",
165
+ "options": [
166
+ {
167
+ "label": "The three recommended",
168
+ "value": "recommended",
169
+ "recommended": true,
170
+ "description": "A task is created for each"
171
+ },
172
+ {
173
+ "label": "No new priorities this week",
174
+ "value": "none",
175
+ "description": "Nothing is created"
176
+ }
177
+ ]
178
+ }
179
+ }
159
180
  },
160
181
  {
161
182
  "key": "plan",
162
183
  "name": "Plan",
163
184
  "category": "completed",
164
- "goal": "Ask the person to choose next week's three priorities, your recommendation first; create a task for each."
185
+ "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."
165
186
  }
166
187
  ]
167
188
  }
@@ -3292,7 +3313,7 @@ const DATA = {
3292
3313
  {
3293
3314
  "name": "Make a brand asset",
3294
3315
  "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.",
3295
- "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. APPROVE: a person approves one draft as final; with variants, the approval asks them to `choose` one, your recommendation first, and that choice is the approval. Until then nothing may use it. Deprecating an asset is a person's call.",
3316
+ "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.",
3296
3317
  "subjectProfile": {
3297
3318
  "profileSlug": "brand-asset"
3298
3319
  },
@@ -3338,14 +3359,32 @@ const DATA = {
3338
3359
  "kind": "judge"
3339
3360
  }
3340
3361
  }
3341
- ]
3362
+ ],
3363
+ "endAsk": {
3364
+ "label": "Variant to keep",
3365
+ "why": "The run made several variants of this asset.",
3366
+ "unblocks": "The variant you keep goes to approval",
3367
+ "ask": {
3368
+ "mode": "choose",
3369
+ "options": [
3370
+ {
3371
+ "label": "None of them: draft again",
3372
+ "value": "redo",
3373
+ "description": "The run makes new variants"
3374
+ }
3375
+ ]
3376
+ },
3377
+ "optionsFrom": {
3378
+ "relation": "derived_from"
3379
+ }
3380
+ }
3342
3381
  },
3343
3382
  {
3344
3383
  "key": "approve",
3345
3384
  "name": "Approve",
3346
3385
  "category": "completed",
3347
3386
  "subjectStatus": "approved",
3348
- "goal": "A person approves one draft as final; with variants, they choose one, recommended first.",
3387
+ "goal": "A person approves one draft as final; with variants, the one they kept.",
3349
3388
  "gate": {
3350
3389
  "kind": "human"
3351
3390
  },
@@ -14592,7 +14631,7 @@ const DATA = {
14592
14631
  {
14593
14632
  "name": "Qualify a lead",
14594
14633
  "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.",
14595
- "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. DECIDE: ask the person to `choose` pursue, nurture or drop, your recommendation first; that answer is the decision. 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.",
14634
+ "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.",
14596
14635
  "subjectProfile": {
14597
14636
  "profileSlug": "lead"
14598
14637
  },
@@ -14637,7 +14676,7 @@ const DATA = {
14637
14676
  "key": "score",
14638
14677
  "name": "Score",
14639
14678
  "category": "started",
14640
- "goal": "Set the ICP score, qualification notes and outreach channels, and the recommended step as the lead's nextAction and nextActionAt.",
14679
+ "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.",
14641
14680
  "criteria": [
14642
14681
  {
14643
14682
  "key": "lead-score-set",
@@ -14653,13 +14692,38 @@ const DATA = {
14653
14692
  "kind": "judge"
14654
14693
  }
14655
14694
  }
14656
- ]
14695
+ ],
14696
+ "endAsk": {
14697
+ "label": "Pursue, nurture or drop",
14698
+ "why": "The lead is researched and scored; its qualification notes say which the run recommends.",
14699
+ "unblocks": "The run sets the lead from your answer",
14700
+ "ask": {
14701
+ "mode": "choose",
14702
+ "options": [
14703
+ {
14704
+ "label": "Pursue",
14705
+ "value": "pursue",
14706
+ "description": "Qualified, with booking a meeting as its next action"
14707
+ },
14708
+ {
14709
+ "label": "Nurture",
14710
+ "value": "nurture",
14711
+ "description": "The run sets a date to check in again"
14712
+ },
14713
+ {
14714
+ "label": "Drop",
14715
+ "value": "drop",
14716
+ "description": "Disqualified once you approve the move"
14717
+ }
14718
+ ]
14719
+ }
14720
+ }
14657
14721
  },
14658
14722
  {
14659
14723
  "key": "decide",
14660
14724
  "name": "Decide",
14661
14725
  "category": "started",
14662
- "goal": "Ask the person to choose pursue, nurture or drop, your recommendation first, and record the answer 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.",
14726
+ "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.",
14663
14727
  "criteria": [
14664
14728
  {
14665
14729
  "key": "lead-decision-chosen",
@@ -17943,7 +18007,7 @@ const DATA = {
17943
18007
  {
17944
18008
  "name": "Close the month",
17945
18009
  "description": "Once a month, reconcile the accounts, chase what is owed, and record runway, burn and revenue for a person to review.",
17946
- "goalTemplate": "Close the month. RECONCILE: compare each account's balance with the bank or payment provider and list every difference; when an account has no bank or payment-provider connection, ask the person to `provide` it (a connection, never a password in a form). 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 — what changed, what is at risk, what to decide — and wait for their approval before closing.",
18010
+ "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 — what changed, what is at risk, what to decide — and wait for their approval before closing.",
17947
18011
  "executor": "is-agent",
17948
18012
  "status": "active",
17949
18013
  "schedule": {
@@ -17972,7 +18036,7 @@ const DATA = {
17972
18036
  "key": "reconcile",
17973
18037
  "name": "Reconcile",
17974
18038
  "category": "started",
17975
- "goal": "Compare every account with the bank or payment provider and list differences.",
18039
+ "goal": "Compare every account with the bank or payment provider and list differences, and every account with no connection.",
17976
18040
  "criteria": [
17977
18041
  {
17978
18042
  "key": "accounts-reconciled",
@@ -17981,7 +18045,28 @@ const DATA = {
17981
18045
  "kind": "judge"
17982
18046
  }
17983
18047
  }
17984
- ]
18048
+ ],
18049
+ "endAsk": {
18050
+ "label": "Unconnected accounts",
18051
+ "why": "The reconciliation above lists every difference and every account with no bank or payment-provider connection.",
18052
+ "unblocks": "The run goes on with the close",
18053
+ "ask": {
18054
+ "mode": "choose",
18055
+ "options": [
18056
+ {
18057
+ "label": "Go on with the close",
18058
+ "value": "continue",
18059
+ "recommended": true,
18060
+ "description": "Unconnected accounts stay listed in the month-end note"
18061
+ },
18062
+ {
18063
+ "label": "I connected them: reconcile again",
18064
+ "value": "reconcile_again",
18065
+ "description": "The run reconciles the newly connected accounts first"
18066
+ }
18067
+ ]
18068
+ }
18069
+ }
17985
18070
  },
17986
18071
  {
17987
18072
  "key": "receivables",
@@ -29353,7 +29438,7 @@ const DATA = {
29353
29438
  {
29354
29439
  "name": "Get a contract signed",
29355
29440
  "description": "Take a client contract from draft to signed and active, with a person approving what is sent and confirming the signature.",
29356
- "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. SIGNED: ask the person to `provide` the signed file; their 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.",
29441
+ "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.",
29357
29442
  "subjectProfile": {
29358
29443
  "profileSlug": "contract"
29359
29444
  },
@@ -29414,6 +29499,21 @@ const DATA = {
29414
29499
  },
29415
29500
  "onFail": {
29416
29501
  "toStage": "draft"
29502
+ },
29503
+ "endAsk": {
29504
+ "label": "Signed contract file",
29505
+ "why": "The contract went to the client for signature.",
29506
+ "unblocks": "The run links the signed file on the contract",
29507
+ "ask": {
29508
+ "mode": "provide",
29509
+ "provide": {
29510
+ "kind": "file",
29511
+ "accept": [
29512
+ ".pdf",
29513
+ "image/*"
29514
+ ]
29515
+ }
29516
+ }
29417
29517
  }
29418
29518
  },
29419
29519
  {
@@ -29421,7 +29521,7 @@ const DATA = {
29421
29521
  "name": "Signed",
29422
29522
  "category": "started",
29423
29523
  "subjectStatus": "signed",
29424
- "goal": "Ask the person to provide the signed file; their approval confirms both sides signed.",
29524
+ "goal": "Link the signed file the person provided on the contract; their approval confirms both sides signed.",
29425
29525
  "gate": {
29426
29526
  "kind": "human"
29427
29527
  },