@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/capabilities/media-download.capability.json +2 -1
- package/capabilities/media-ffmpeg.capability.json +2 -1
- package/capabilities/media-matte.capability.json +2 -1
- package/capabilities/media-transcribe.capability.json +2 -1
- 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
|
@@ -226,11 +226,12 @@
|
|
|
226
226
|
{
|
|
227
227
|
"name": "download-media",
|
|
228
228
|
"kind": "instruction",
|
|
229
|
+
"intent": "download_media",
|
|
229
230
|
"scope": "pod",
|
|
230
231
|
"description": "How to download a video or its audio with yt-dlp on the computer that has it, and the terms rule that comes first.",
|
|
231
232
|
"code": "# Download a video or its audio on this computer\n\n**First, the rule.** Downloading can breach a platform's terms of service and the creator's copyright. Download only what the person owns, is licensed to use, or uses under a fair-use review they have done. Never use it to re-upload someone else's video. When it is not clear, ask.\n\n1. Check the tool is here: `synap tools verify media-download`. Not installed: ask the person first.\n2. YouTube needs a JavaScript runtime to solve its challenges: the install put deno inside yt-dlp's own environment and yt-dlp uses it by itself, no flag needed. If yt-dlp still warns \"No supported JavaScript runtime could be found\", the tool was installed before deno was part of it: install it again (`synap tools install media-download`).\n3. Ask yt-dlp to print where the file landed: `--print after_move:filepath`.\n\n```\n# the best MP4 (H.264 + AAC), the easiest file to edit\nyt-dlp -t mp4 -P OUT_DIR -o \"%(upload_date>%Y-%m-%d)s %(title).80B [%(id)s].%(ext)s\" --print after_move:filepath URL\n# audio only, ready to transcribe (16 kHz mono WAV)\nyt-dlp -x --audio-format wav --postprocessor-args \"ExtractAudio:-ar 16000 -ac 1\" -P OUT_DIR URL\n# one section, with subtitles, metadata and the thumbnail\nyt-dlp -t mp4 --download-sections \"*00:01:10-00:02:05\" --write-subs --write-auto-subs --sub-langs \"en.*,fr.*\" --write-info-json --write-thumbnail -P OUT_DIR URL\n```\n\nStore the source URL with the file, so where it came from is never lost.\n\n**Gotchas**\n- yt-dlp merges video and audio with ffmpeg: media-ffmpeg must be installed on the same computer; pass `--ffmpeg-location` with its pinned path.\n- Logged-in content (`--cookies-from-browser firefox`) reads the person's browser cookies: only with their explicit yes, and with a dedicated account (a logged-in account can be rate-limited or banned). Chrome cookies often fail on Windows; prefer Firefox.\n- `.80B` in the name template cuts the title at 80 bytes, safe on every filesystem.\n"
|
|
232
233
|
}
|
|
233
234
|
],
|
|
234
|
-
"provides": []
|
|
235
|
+
"provides": ["download_media"]
|
|
235
236
|
}
|
|
236
237
|
}
|
|
@@ -1513,11 +1513,12 @@
|
|
|
1513
1513
|
{
|
|
1514
1514
|
"name": "run-ffmpeg-recipe",
|
|
1515
1515
|
"kind": "instruction",
|
|
1516
|
+
"intent": "edit_video",
|
|
1516
1517
|
"scope": "pod",
|
|
1517
1518
|
"description": "How to run one of this capability's ffmpeg recipes on the computer that has it: check the tool, fill the params, run the steps with the pinned ffmpeg.",
|
|
1518
1519
|
"code": "# Run an ffmpeg recipe on this computer\n\nThis capability is ffmpeg, installed and checked on a computer, plus a library of named recipes (spec.recipes). Use a recipe instead of writing an ffmpeg command: each one carries the settings that avoid the usual mistakes (colour range, loudness, safe zones, pixel format).\n\n1. Check the tool is here: `synap tools verify media-ffmpeg`. If it is not installed, ask the person before installing (`synap tools install media-ffmpeg`).\n2. Pick the recipe by name. Read its `gotchas` before you run it.\n3. Fill its `params`: every required one, and change a default only for a reason you can say.\n4. Run its `steps` in order, in one scratch folder (`{workdir}`), with the ffmpeg this capability pinned (`install.<os>.bins`), never whichever ffmpeg is first on PATH. A `python` step runs the recipe's helper script, written to disk only if its sha256 matches.\n5. If the recipe lists `needs`, check them first: `ffmpeg -hide_banner -filters` must show each filter, `ffmpeg -hide_banner -encoders` each encoder.\n\nWork in intermediates at high quality (`-crf 12 -preset veryfast` or ProRes) and encode for a platform once, at the end, with an `export-*` recipe.\n\nA typical Reel from a landscape talking-head take: audio-extract, then transcribe (media-transcribe); silence-cut, then transcribe again; reframe-crop; lut-grade; captions-burn-in; loudness-normalize; export-reels.\n"
|
|
1519
1520
|
}
|
|
1520
1521
|
],
|
|
1521
|
-
"provides": []
|
|
1522
|
+
"provides": ["edit_video"]
|
|
1522
1523
|
}
|
|
1523
1524
|
}
|
|
@@ -185,11 +185,12 @@
|
|
|
185
185
|
{
|
|
186
186
|
"name": "matte-on-computer",
|
|
187
187
|
"kind": "instruction",
|
|
188
|
+
"intent": "edit_video",
|
|
188
189
|
"scope": "pod",
|
|
189
190
|
"description": "How to make a person matte of a video on the computer that has this tool (Apple Vision on a Mac, Robust Video Matting on Linux), then composite it with media-ffmpeg; Replicate only on a yes.",
|
|
190
191
|
"code": "# Cut the person out of a video on this computer\n\nThe result is a matte video (white = the person) to composite a new background with the media-ffmpeg recipe `background-replace`. The facecam-edit skill walks the whole edit; this is the matte step.\n\n1. Check the tool is here: `synap tools verify media-matte`. Not installed: ask the person first (on Linux it installs Robust Video Matting, GPL-3.0, about 2 GB with PyTorch).\n2. Make the matte:\n\n**Mac: synap-matte (Apple Vision, built on this Mac, free, nothing leaves it)**\n```\nsynap-matte take.mp4 matte.mov accurate\n```\nThe matte has the take's size, frame times and rotation. Use the take itself as the foreground.\n\n**Linux (best with an NVIDIA GPU): Robust Video Matting** (`{tools}` is the folder `synap tools install` put it in; `synap tools verify media-matte` prints it)\n```\nrvm-python {tools}/rvm/inference.py --variant mobilenetv3 --checkpoint {tools}/rvm/rvm_mobilenetv3.pth --device cuda \\\n --input-source take.mp4 --downsample-ratio 0.25 --output-type video \\\n --output-alpha pha.mp4 --output-foreground fgr.mp4 --output-video-mbps 20 --seq-chunk 12\n```\n`--device cpu` without a GPU (slow: offline batches only). Downsample 0.25 for 1080p, 0.125 for 4K. Use `fgr.mp4` as the foreground: its colours are cleaned of the old room.\n\n3. Composite with `background-replace` (fg, matte, background, the take for its sound). Show a 5-second side-by-side preview before the full render.\n\n**No computer has the tool?** The pod capability `replicate-rvm` runs the same model on Replicate, billed to the person's own Replicate account. Offer it with its price, and only use it after a yes, per tool; never silently.\n\n**Gotchas**\n- A per-frame image model (rembg, u2net at 320 px) flickers and turns hair to mush: never use it for video.\n- RVM is GPL-3.0: it is installed from its author's repository on the person's computer, never bundled or shipped by Synap.\n"
|
|
191
192
|
}
|
|
192
193
|
],
|
|
193
|
-
"provides": []
|
|
194
|
+
"provides": ["edit_video"]
|
|
194
195
|
}
|
|
195
196
|
}
|
|
@@ -272,11 +272,12 @@
|
|
|
272
272
|
{
|
|
273
273
|
"name": "transcribe-on-computer",
|
|
274
274
|
"kind": "instruction",
|
|
275
|
+
"intent": "transcribe_media",
|
|
275
276
|
"scope": "pod",
|
|
276
277
|
"description": "How to transcribe a video or audio file on the computer that has this tool: extract 16 kHz audio, run mlx-whisper (Mac) or faster-whisper (Linux, Windows) with word timings, keep SRT, VTT and the words JSON, and write transcript.json for the video playbooks.",
|
|
277
278
|
"code": "# Transcribe a video or audio file on this computer\n\nThe result is a timed transcript: subtitles (SRT and VTT) and a JSON file with every word's start and end (`segments[].words[]`: word, start, end, probability). The words JSON is what the `captions-burn-in` and silence recipes of media-ffmpeg read. The video playbooks (Content OS: a take's transcript, \"## Words\") read `transcript.json`, written by step 5 from the words JSON: one `{\"text\", \"start\", \"end\"}` per word, in seconds (HyperFrames' shape). Nothing leaves the computer and no AI tokens are spent.\n\n1. Check the tool is here: `synap tools verify media-transcribe`. Not installed: ask the person before installing (the model is a 1.6 GB download).\n2. Turn the input into 16 kHz mono WAV with the media-ffmpeg recipe `audio-extract` (a video goes in, `audio.wav` comes out).\n3. Run the tool for this computer, with word timings ON and the model named (never the tiny default):\n\n**Mac (Apple Silicon): mlx-whisper**\n```\nmlx_whisper audio.wav --model mlx-community/whisper-large-v3-turbo -f all -o OUT_DIR --word-timestamps True --condition-on-previous-text False\n```\nAdd `--language en` (or fr...) when you know it. For subtitle lines, `--max-words-per-line 4` (it needs word timestamps).\n\n**Linux and Windows: faster-whisper (whisper-ctranslate2)**\n```\nwhisper-ctranslate2 audio.wav --model large-v3-turbo --output_format all --output_dir OUT_DIR --word_timestamps True --vad_filter True\n```\nOn a computer without an NVIDIA GPU add `--device cpu --compute_type int8`.\n\n4. Keep the four files beside the source: `.srt`, `.vtt`, `.txt`, `.json`.\n5. Write `transcript.json`, the file the video playbooks read: save this script as `to_transcript.py` in the scratch folder and run it on the words JSON (`audio.json` when the input was `audio.wav`). Use `python3` (`python` on Windows): Python is already on this computer, jq may not be.\n```\npython3 to_transcript.py OUT_DIR/audio.json OUT_DIR/transcript.json\n```\n```python\n# to_transcript.py WORDS_JSON OUT: whisper's words JSON -> [{\"text\", \"start\", \"end\"}], one entry per word, in seconds\nimport json, sys\nsrc, out = sys.argv[1], sys.argv[2]\nwith open(src, encoding=\"utf-8\") as f:\n data = json.load(f)\nsegments = data.get(\"segments\") if isinstance(data, dict) else None\nif not isinstance(segments, list):\n sys.exit(f\"to_transcript: {src} has no segments: it is not the whisper words JSON (use the .json the transcriber wrote)\")\nif any(not isinstance(s.get(\"words\"), list) for s in segments):\n sys.exit(f\"to_transcript: {src} has no word timings: transcribe again with word timestamps on\")\nwords = [{\"text\": w[\"word\"].strip(), \"start\": round(w[\"start\"], 3), \"end\": round(w[\"end\"], 3)}\n for s in segments for w in s[\"words\"] if w[\"word\"].strip()]\nwith open(out, \"w\", encoding=\"utf-8\") as f:\n json.dump(words, f, ensure_ascii=False, indent=1)\nprint(f\"{out}: {len(words)} words\")\n```\nA JSON with no segments, or with no word timings, stops with a message and exit code 1 and writes nothing: fix the transcription, never hand on an empty file. Audio with no speech gives `[]`, which is a true empty result.\n\n**No Python on the computer?** whisper.cpp is a single program (MIT): `brew install whisper-cpp` on a Mac, or built from github.com/ggml-org/whisper.cpp; then `whisper-cli -m ggml-large-v3-turbo.bin -f audio.wav -osrt -ovtt -ojf -of OUT`. Its full JSON has token timings, not the `segments[].words[]` shape, so the caption recipe cannot read it as is.\n\n**Gotchas**\n- Long silences can make whisper repeat itself: `--condition-on-previous-text False` (mlx) and `--vad_filter True` (faster-whisper) stop it.\n- After a silence cut, transcribe the CUT file again so word timings match.\n- A GPU on Linux needs CUDA 12 and cuDNN 9 for faster-whisper.\n"
|
|
278
279
|
}
|
|
279
280
|
],
|
|
280
|
-
"provides": []
|
|
281
|
+
"provides": ["transcribe_media"]
|
|
281
282
|
}
|
|
282
283
|
}
|
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
|
},
|