@bendyline/gilde 0.3.17 → 0.3.18
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/authoring/chat-models/kolibri-1.1-75b-iq2.json +1 -1
- package/authoring/chat-models/minicpm5-15b-a2.5b-q4.json +138 -0
- package/authoring/chat-models/qwen3.8-flash-next-iq4.json +4 -14
- package/authoring/chat-models/qwen4-35b-a3b-q4.json +200 -0
- package/data/chat-models/index.json +1 -1
- package/data/chat-models/ko/kolibri-1.1-75b-iq2/manifest.json +1 -1
- package/data/chat-models/mi/minicpm5-15b-a2.5b-q4/manifest.json +186 -0
- package/data/chat-models/mi/minicpm5-15b-a2.5b-q4/versions/1.0.0/manifest.json +64 -0
- package/data/chat-models/mi/minicpm5-15b-a2.5b-q4/versions/1.0.1/manifest.json +64 -0
- package/data/chat-models/qw/qwen3.8-flash-next-iq4/manifest.json +3 -211
- package/data/chat-models/qw/qwen3.8-flash-next-iq4/versions/1.1.2/manifest.json +36 -0
- package/data/chat-models/qw/qwen4-35b-a3b-q4/manifest.json +317 -0
- package/data/chat-models/qw/qwen4-35b-a3b-q4/versions/1.0.0/manifest.json +120 -0
- package/data/chat-models/qw/qwen4-35b-a3b-q4/versions/1.0.1/manifest.json +135 -0
- package/data/chat-models/raw-index.json +1 -1
- package/data/craftbook-templates/al/album-curate/versions/1.0.6/craftbook.json +344 -0
- package/data/craftbook-templates/al/album-curate/versions/1.0.6/test.json +160 -0
- package/data/craftbook-templates/al/album-curate/versions/1.0.7/craftbook.json +362 -0
- package/data/craftbook-templates/al/album-curate/versions/1.0.7/test.json +192 -0
- package/data/craftbook-templates/an/annual-document-review/versions/1.0.5/craftbook.json +306 -0
- package/data/craftbook-templates/an/annual-document-review/versions/1.0.5/test.json +115 -0
- package/data/craftbook-templates/ce/celebration-day-plan/manifest.json +22 -0
- package/data/craftbook-templates/ce/celebration-day-plan/versions/1.0.0/craftbook.json +242 -0
- package/data/craftbook-templates/ce/celebration-day-plan/versions/1.0.0/test.json +118 -0
- package/data/craftbook-templates/da/dataset-clean/versions/1.2.7/craftbook.json +263 -0
- package/data/craftbook-templates/da/dataset-clean/versions/1.2.7/test.json +111 -0
- package/data/craftbook-templates/em/email-template/versions/1.0.6/craftbook.json +335 -0
- package/data/craftbook-templates/em/email-template/versions/1.0.6/test.json +112 -0
- package/data/craftbook-templates/ex/expense-categorize/manifest.json +0 -5
- package/data/craftbook-templates/ex/expense-categorize/versions/1.0.7/craftbook.json +306 -0
- package/data/craftbook-templates/ex/expense-categorize/versions/1.0.7/test.json +120 -0
- package/data/craftbook-templates/ex/expense-categorize/versions/1.0.9/craftbook.json +330 -0
- package/data/craftbook-templates/ex/expense-categorize/versions/1.0.9/test.json +120 -0
- package/data/craftbook-templates/fa/family-story-chapter/manifest.json +0 -5
- package/data/craftbook-templates/fa/family-story-chapter/versions/1.0.6/craftbook.json +213 -0
- package/data/craftbook-templates/fa/family-story-chapter/versions/1.0.6/test.json +118 -0
- package/data/craftbook-templates/fa/family-story-chapter/versions/1.0.7/craftbook.json +249 -0
- package/data/craftbook-templates/fa/family-story-chapter/versions/1.0.7/test.json +121 -0
- package/data/craftbook-templates/fa/family-story-chapter/versions/1.0.8/craftbook.json +269 -0
- package/data/craftbook-templates/fa/family-story-chapter/versions/1.0.8/test.json +147 -0
- package/data/craftbook-templates/fa/faq-from-docs/versions/1.1.3/craftbook.json +275 -0
- package/data/craftbook-templates/fa/faq-from-docs/versions/1.1.3/test.json +116 -0
- package/data/craftbook-templates/fo/folder-to-audio/versions/1.0.6/craftbook.json +263 -0
- package/data/craftbook-templates/fo/folder-to-audio/versions/1.0.6/test.json +114 -0
- package/data/craftbook-templates/in/inbox-triage/manifest.json +0 -4
- package/data/craftbook-templates/in/inbox-triage/versions/1.0.6/craftbook.json +305 -0
- package/data/craftbook-templates/in/inbox-triage/versions/1.0.6/test.json +175 -0
- package/data/craftbook-templates/in/inbox-triage/versions/1.0.7/craftbook.json +311 -0
- package/data/craftbook-templates/in/inbox-triage/versions/1.0.7/test.json +189 -0
- package/data/craftbook-templates/in/invoice-generator/manifest.json +0 -4
- package/data/craftbook-templates/in/invoice-generator/versions/1.0.6/craftbook.json +246 -0
- package/data/craftbook-templates/in/invoice-generator/versions/1.0.6/test.json +183 -0
- package/data/craftbook-templates/index.json +1 -1
- package/data/craftbook-templates/me/meeting-minutes/manifest.json +1 -5
- package/data/craftbook-templates/me/meeting-minutes/versions/1.1.3/craftbook.json +276 -0
- package/data/craftbook-templates/me/meeting-minutes/versions/1.1.3/test.json +97 -0
- package/data/craftbook-templates/me/meeting-minutes/versions/1.1.4/craftbook.json +272 -0
- package/data/craftbook-templates/me/meeting-minutes/versions/1.1.4/test.json +97 -0
- package/data/craftbook-templates/me/meeting-notes-to-actions/versions/1.1.4/craftbook.json +285 -0
- package/data/craftbook-templates/me/meeting-notes-to-actions/versions/1.1.4/samples/team-sync/notes.md +47 -0
- package/data/craftbook-templates/me/meeting-notes-to-actions/versions/1.1.4/test.json +90 -0
- package/data/craftbook-templates/me/memory-prompt-session/manifest.json +0 -4
- package/data/craftbook-templates/me/memory-prompt-session/versions/1.0.5/craftbook.json +317 -0
- package/data/craftbook-templates/me/memory-prompt-session/versions/1.0.5/test.json +237 -0
- package/data/craftbook-templates/mo/mock-interview/manifest.json +0 -4
- package/data/craftbook-templates/mo/mock-interview/versions/1.0.7/craftbook.json +352 -0
- package/data/craftbook-templates/mo/mock-interview/versions/1.0.7/test.json +209 -0
- package/data/craftbook-templates/of/offer-compare/versions/1.0.6/craftbook.json +244 -0
- package/data/craftbook-templates/of/offer-compare/versions/1.0.6/test.json +129 -0
- package/data/craftbook-templates/on/onboarding-checklist/versions/1.0.6/craftbook.json +248 -0
- package/data/craftbook-templates/on/onboarding-checklist/versions/1.0.6/test.json +101 -0
- package/data/craftbook-templates/ph/photo-cull/versions/1.0.6/craftbook.json +315 -0
- package/data/craftbook-templates/ph/photo-cull/versions/1.0.6/test.json +196 -0
- package/data/craftbook-templates/ph/photo-cull/versions/1.0.7/craftbook.json +336 -0
- package/data/craftbook-templates/ph/photo-cull/versions/1.0.7/test.json +204 -0
- package/data/craftbook-templates/pr/pre-departure-countdown/manifest.json +0 -1
- package/data/craftbook-templates/pr/pre-departure-countdown/versions/1.0.6/craftbook.json +306 -0
- package/data/craftbook-templates/pr/pre-departure-countdown/versions/1.0.6/test.json +119 -0
- package/data/craftbook-templates/pr/pre-departure-countdown/versions/1.0.7/craftbook.json +315 -0
- package/data/craftbook-templates/pr/pre-departure-countdown/versions/1.0.7/test.json +127 -0
- package/data/craftbook-templates/pu/pull-request-review/versions/1.9.19/craftbook.json +611 -0
- package/data/craftbook-templates/pu/pull-request-review/versions/1.9.19/test.json +156 -0
- package/data/craftbook-templates/pu/pull-request-review/versions/1.9.20/craftbook.json +632 -0
- package/data/craftbook-templates/pu/pull-request-review/versions/1.9.20/test.json +156 -0
- package/data/craftbook-templates/raw-index.json +1 -1
- package/data/craftbook-templates/re/reading-list/versions/1.0.6/craftbook.json +247 -0
- package/data/craftbook-templates/re/reading-list/versions/1.0.6/test.json +101 -0
- package/data/craftbook-templates/re/receipt-ocr-ledger/manifest.json +0 -4
- package/data/craftbook-templates/re/receipt-ocr-ledger/versions/1.0.7/craftbook.json +312 -0
- package/data/craftbook-templates/re/receipt-ocr-ledger/versions/1.0.7/test.json +160 -0
- package/data/craftbook-templates/re/receipt-ocr-ledger/versions/1.0.8/craftbook.json +322 -0
- package/data/craftbook-templates/re/receipt-ocr-ledger/versions/1.0.8/test.json +194 -0
- package/data/craftbook-templates/re/receipt-ocr-ledger/versions/1.0.9/craftbook.json +353 -0
- package/data/craftbook-templates/re/receipt-ocr-ledger/versions/1.0.9/test.json +215 -0
- package/data/craftbook-templates/re/record-a-relative/manifest.json +0 -1
- package/data/craftbook-templates/re/record-a-relative/versions/1.0.5/craftbook.json +318 -0
- package/data/craftbook-templates/re/record-a-relative/versions/1.0.5/test.json +208 -0
- package/data/craftbook-templates/re/record-a-relative/versions/1.0.6/craftbook.json +381 -0
- package/data/craftbook-templates/re/record-a-relative/versions/1.0.6/test.json +224 -0
- package/data/craftbook-templates/re/resume-cv/manifest.json +1 -5
- package/data/craftbook-templates/re/resume-cv/versions/1.0.6/craftbook.json +310 -0
- package/data/craftbook-templates/re/resume-cv/versions/1.0.6/test.json +121 -0
- package/data/craftbook-templates/re/resume-cv/versions/1.0.7/craftbook.json +312 -0
- package/data/craftbook-templates/re/resume-cv/versions/1.0.7/test.json +129 -0
- package/data/craftbook-templates/re/resume-cv/versions/1.0.8/craftbook.json +329 -0
- package/data/craftbook-templates/re/resume-cv/versions/1.0.8/test.json +144 -0
- package/data/craftbook-templates/re/reviewer-loop/versions/1.0.4/craftbook.json +178 -0
- package/data/craftbook-templates/re/reviewer-loop/versions/1.0.4/test.json +117 -0
- package/data/craftbook-templates/ro/rough-cut-assembly/versions/1.0.7/craftbook.json +333 -0
- package/data/craftbook-templates/ro/rough-cut-assembly/versions/1.0.7/test.json +142 -0
- package/data/craftbook-templates/se/seasonal-maintenance-sweep/manifest.json +0 -1
- package/data/craftbook-templates/se/seasonal-maintenance-sweep/versions/1.0.6/craftbook.json +307 -0
- package/data/craftbook-templates/se/seasonal-maintenance-sweep/versions/1.0.6/test.json +121 -0
- package/data/craftbook-templates/se/seasonal-maintenance-sweep/versions/1.0.7/craftbook.json +314 -0
- package/data/craftbook-templates/se/seasonal-maintenance-sweep/versions/1.0.7/test.json +121 -0
- package/data/craftbook-templates/su/subscription-audit/manifest.json +0 -5
- package/data/craftbook-templates/su/subscription-audit/versions/1.0.6/craftbook.json +307 -0
- package/data/craftbook-templates/su/subscription-audit/versions/1.0.6/test.json +134 -0
- package/data/craftbook-templates/su/subscription-audit/versions/1.0.7/craftbook.json +300 -0
- package/data/craftbook-templates/su/subscription-audit/versions/1.0.7/test.json +140 -0
- package/data/craftbook-templates/su/subscription-audit/versions/1.0.8/craftbook.json +320 -0
- package/data/craftbook-templates/su/subscription-audit/versions/1.0.8/test.json +144 -0
- package/data/craftbook-templates/su/summarize-long/manifest.json +0 -1
- package/data/craftbook-templates/su/summarize-long/versions/1.0.7/craftbook.json +251 -0
- package/data/craftbook-templates/su/summarize-long/versions/1.0.7/test.json +115 -0
- package/data/craftbook-templates/su/summarize-long/versions/1.0.8/craftbook.json +261 -0
- package/data/craftbook-templates/su/summarize-long/versions/1.0.8/test.json +123 -0
- package/data/craftbook-templates/su/survey-analysis/versions/1.0.6/craftbook.json +345 -0
- package/data/craftbook-templates/su/survey-analysis/versions/1.0.6/test.json +214 -0
- package/data/craftbook-templates/su/survey-analysis/versions/1.0.7/craftbook.json +362 -0
- package/data/craftbook-templates/su/survey-analysis/versions/1.0.7/test.json +231 -0
- package/data/craftbook-templates/su/survey-analysis/versions/1.0.8/craftbook.json +378 -0
- package/data/craftbook-templates/su/survey-analysis/versions/1.0.8/test.json +240 -0
- package/data/craftbook-templates/ta/tailor-resume/manifest.json +0 -4
- package/data/craftbook-templates/ta/tailor-resume/versions/1.0.7/craftbook.json +255 -0
- package/data/craftbook-templates/ta/tailor-resume/versions/1.0.7/test.json +113 -0
- package/data/craftbook-templates/ta/tailor-resume/versions/1.0.8/craftbook.json +267 -0
- package/data/craftbook-templates/ta/tailor-resume/versions/1.0.8/test.json +120 -0
- package/data/craftbook-templates/ta/tailor-resume/versions/1.0.9/craftbook.json +278 -0
- package/data/craftbook-templates/ta/tailor-resume/versions/1.0.9/test.json +134 -0
- package/data/craftbook-templates/to/tone-rewrite/manifest.json +0 -1
- package/data/craftbook-templates/to/tone-rewrite/versions/1.0.6/craftbook.json +245 -0
- package/data/craftbook-templates/to/tone-rewrite/versions/1.0.6/test.json +120 -0
- package/data/craftbook-templates/to/tone-rewrite/versions/1.0.7/craftbook.json +243 -0
- package/data/craftbook-templates/to/tone-rewrite/versions/1.0.7/test.json +127 -0
- package/data/craftbook-templates/to/topic-explainer/versions/1.0.6/craftbook.json +319 -0
- package/data/craftbook-templates/to/topic-explainer/versions/1.0.6/test.json +124 -0
- package/data/craftbook-templates/to/topic-explainer/versions/1.0.7/craftbook.json +327 -0
- package/data/craftbook-templates/to/topic-explainer/versions/1.0.7/test.json +131 -0
- package/data/craftbook-templates/tr/transcribe-audio/manifest.json +0 -5
- package/data/craftbook-templates/tr/transcribe-audio/versions/1.0.6/craftbook.json +248 -0
- package/data/craftbook-templates/tr/transcribe-audio/versions/1.0.6/test.json +137 -0
- package/data/craftbook-templates/tr/transcribe-audio/versions/1.0.7/craftbook.json +324 -0
- package/data/craftbook-templates/tr/transcribe-audio/versions/1.0.7/test.json +197 -0
- package/data/craftbook-templates/tr/translate-content/versions/1.1.6/craftbook.json +141 -0
- package/data/craftbook-templates/tr/translate-content/versions/1.1.6/test.json +172 -0
- package/data/craftbook-templates/tr/translate-content/versions/1.1.7/craftbook.json +143 -0
- package/data/craftbook-templates/tr/translate-content/versions/1.1.7/test.json +202 -0
- package/data/craftbook-templates/tr/translate-content/versions/1.1.8/craftbook.json +151 -0
- package/data/craftbook-templates/tr/translate-content/versions/1.1.8/test.json +206 -0
- package/data/craftbook-templates/tr/translate-content/versions/1.1.9/craftbook.json +165 -0
- package/data/craftbook-templates/tr/translate-content/versions/1.1.9/test.json +237 -0
- package/data/craftbook-templates/vi/visit-prep/manifest.json +0 -5
- package/data/craftbook-templates/vi/visit-prep/versions/1.0.6/craftbook.json +303 -0
- package/data/craftbook-templates/vi/visit-prep/versions/1.0.6/test.json +134 -0
- package/data/craftbook-templates/vi/visit-prep/versions/1.0.7/craftbook.json +326 -0
- package/data/craftbook-templates/vi/visit-prep/versions/1.0.7/test.json +152 -0
- package/data/craftbook-templates/we/weekly-menu-plan/versions/1.1.0/craftbook.json +309 -0
- package/data/craftbook-templates/we/weekly-menu-plan/versions/1.1.0/test.json +152 -0
- package/data/craftbook-templates/we/weekly-review/versions/1.0.7/craftbook.json +253 -0
- package/data/craftbook-templates/we/weekly-review/versions/1.0.7/test.json +113 -0
- package/data/craftbook-templates/ye/year-in-review/manifest.json +0 -5
- package/data/craftbook-templates/ye/year-in-review/versions/1.0.6/craftbook.json +314 -0
- package/data/craftbook-templates/ye/year-in-review/versions/1.0.6/test.json +140 -0
- package/data/gezel-templates/index.json +1 -1
- package/data/gezel-templates/raw-index.json +1 -1
- package/data/gezel-templates/re/reviewer/versions/1.4.2/about.md +53 -0
- package/data/gezel-templates/re/reviewer/versions/1.4.2/manifest.json +21 -0
- package/data/gezel-templates/re/reviewer/versions/1.4.3/about.md +53 -0
- package/data/gezel-templates/re/reviewer/versions/1.4.3/manifest.json +21 -0
- package/data/image-models/index.json +1 -1
- package/data/image-models/mi/ming-image-0.2-design-q8/manifest.json +39 -0
- package/data/image-models/mi/ming-image-0.2-design-q8/versions/1.0.0/manifest.json +37 -0
- package/data/image-models/raw-index.json +1 -1
- package/data/project-types/ca/caregiving-binder/versions/1.2.1/about.md +7 -0
- package/data/project-types/ca/caregiving-binder/versions/1.2.1/care.json +4 -0
- package/data/project-types/ca/caregiving-binder/versions/1.2.1/manifest.json +233 -0
- package/data/project-types/ca/caregiving-binder/versions/1.2.1/meds.json +8 -0
- package/data/project-types/ca/caregiving-binder/versions/1.2.1/mission.md +7 -0
- package/data/project-types/ca/caregiving-binder/versions/1.2.1/pages/dashboard/application.js +186 -0
- package/data/project-types/ca/caregiving-binder/versions/1.2.1/pages/dashboard/demo-chat.js +224 -0
- package/data/project-types/ca/caregiving-binder/versions/1.2.1/pages/dashboard/index.html +365 -0
- package/data/project-types/ev/event-planner/versions/1.2.0/about.md +7 -0
- package/data/project-types/ev/event-planner/versions/1.2.0/budget.json +5 -0
- package/data/project-types/ev/event-planner/versions/1.2.0/guests.json +10 -0
- package/data/project-types/ev/event-planner/versions/1.2.0/manifest.json +260 -0
- package/data/project-types/ev/event-planner/versions/1.2.0/mission.md +6 -0
- package/data/project-types/ev/event-planner/versions/1.2.0/pages/dashboard/application.js +234 -0
- package/data/project-types/ev/event-planner/versions/1.2.0/pages/dashboard/demo-chat.js +231 -0
- package/data/project-types/ev/event-planner/versions/1.2.0/pages/dashboard/index.html +322 -0
- package/data/project-types/index.json +1 -1
- package/data/project-types/me/meal-planner/versions/1.2.0/about.md +10 -0
- package/data/project-types/me/meal-planner/versions/1.2.0/manifest.json +259 -0
- package/data/project-types/me/meal-planner/versions/1.2.0/menu.json +5 -0
- package/data/project-types/me/meal-planner/versions/1.2.0/mission.md +5 -0
- package/data/project-types/me/meal-planner/versions/1.2.0/pages/dashboard/application.js +247 -0
- package/data/project-types/me/meal-planner/versions/1.2.0/pages/dashboard/demo-chat.js +134 -0
- package/data/project-types/me/meal-planner/versions/1.2.0/pages/dashboard/index.html +280 -0
- package/data/project-types/me/meal-planner/versions/1.2.0/pantry.json +9 -0
- package/data/project-types/raw-index.json +1 -1
- package/data/project-types/tr/trip-planner/versions/1.1.1/about.md +7 -0
- package/data/project-types/tr/trip-planner/versions/1.1.1/journal.json +4 -0
- package/data/project-types/tr/trip-planner/versions/1.1.1/manifest.json +297 -0
- package/data/project-types/tr/trip-planner/versions/1.1.1/mission.md +4 -0
- package/data/project-types/tr/trip-planner/versions/1.1.1/packing.json +8 -0
- package/data/project-types/tr/trip-planner/versions/1.1.1/pages/dashboard/application.js +176 -0
- package/data/project-types/tr/trip-planner/versions/1.1.1/pages/dashboard/demo-chat.js +264 -0
- package/data/project-types/tr/trip-planner/versions/1.1.1/pages/dashboard/index.html +373 -0
- package/data/project-types/tr/trip-planner/versions/1.1.1/trip.json +8 -0
- package/package.json +1 -1
- package/schemas/chat-model-version.schema.json +3 -0
- package/schemas/craftbook-test.schema.json +1260 -183
|
@@ -0,0 +1,311 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "inbox-triage",
|
|
3
|
+
"name": "Inbox Triage & Reply Drafts",
|
|
4
|
+
"description": "Triage a batch of incoming emails or messages into priority buckets and draft replies for the ones that need them. Locks the triage rules and bucket taxonomy FIRST (urgent / needs-reply / FYI / archive, plus the criteria for each and a reply policy), then classifies every message deterministically against those rules, then a copywriter drafts on-voice replies only for the messages flagged needs-reply. The rules-before-triage ordering is what stops a small model from inventing ad-hoc categories and gives the reviewer something to grade. Use for inbox zero, support-queue triage, email sorting, message prioritization, and auto-drafting responses.\n\nA gallery craftbook generated from an archetype spec. It runs\n`phase → (per-phase gate) → … → evaluate → (loop) → finish`. Each build\nphase that produces a checkable artifact is followed by a **runtime\ngate-checkpoint** — the runtime verifies the artifact and routes with no\nmodel turn, looping back to redo the phase on a miss. The final `evaluate`\nstep holds a static deliverable gate plus a reviewer QA pass. What it adds\nover the generic `build-loop`: a specialist role per phase, a\ndomain-correct ordering, and a concrete per-phase quality bar.\n\nDeliverables marked \"artifact\" land in the project's artifacts drawer (`write_artifact` / `read_artifact`), not the shipped workspace — review output is not product source.\n\nPhases:\n\n1. Rules scope (planner) — lock the bucket taxonomy + triage rules + reply policy → gated on artifact `{{workPath}}/rules-scope.md` (markdown-notes)\n2. Triage (developer) — classify every message against the locked rules → gated on artifact `{{workPath}}/triage.md` (markdown-notes)\n3. Draft replies (copywriter) — write on-voice replies for the flagged messages → gated on `drafts.md` (markdown-doc)\n\nThe gates never advance with an unmet criterion, and loop back to the\nowning phase to fix named gaps.\n",
|
|
5
|
+
"entryStepId": "rules-scope",
|
|
6
|
+
"triggers": [
|
|
7
|
+
"triage my inbox",
|
|
8
|
+
"sort these emails",
|
|
9
|
+
"draft replies",
|
|
10
|
+
"inbox zero",
|
|
11
|
+
"prioritize my messages"
|
|
12
|
+
],
|
|
13
|
+
"paramSchema": {
|
|
14
|
+
"type": "object",
|
|
15
|
+
"properties": {
|
|
16
|
+
"workPath": {
|
|
17
|
+
"type": "string",
|
|
18
|
+
"title": "Working folder",
|
|
19
|
+
"description": "Per-task working folder in the artifacts drawer. Defaults to this task's own folder so runs never collide; override with a stable name when you deliberately want runs to share files.",
|
|
20
|
+
"default": "{{task.dir}}"
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"steps": [
|
|
25
|
+
{
|
|
26
|
+
"id": "rules-scope",
|
|
27
|
+
"name": "Rules scope",
|
|
28
|
+
"description": "lock the bucket taxonomy + triage rules + reply policy",
|
|
29
|
+
"prompt": "Read the inbox export and the owner’s accompanying instructions. In {{workPath}}/rules-scope.md record the four buckets (Urgent, Needs-reply, FYI, Archive), how deadlines and the owner’s preferences determine them, which need replies, and the owner’s requested voice and sign-off. Record the paths of the original messages and supporting notes, and any decisions or names the owner has supplied for the replies.\n\nThe deliverable `{{workPath}}/rules-scope.md` lands in the project's artifacts drawer — write it with `write_artifact` and read it back with `read_artifact`; the shipped workspace stays untouched.",
|
|
30
|
+
"suggestedRole": "planner",
|
|
31
|
+
"advanceWhen": {
|
|
32
|
+
"file": "{{workPath}}/rules-scope.md",
|
|
33
|
+
"minBytes": 1,
|
|
34
|
+
"sniff": "nonempty",
|
|
35
|
+
"artifact": true
|
|
36
|
+
},
|
|
37
|
+
"gate": {
|
|
38
|
+
"at": "completion",
|
|
39
|
+
"checks": [
|
|
40
|
+
{
|
|
41
|
+
"kind": "minBytes",
|
|
42
|
+
"file": "{{workPath}}/rules-scope.md",
|
|
43
|
+
"bytes": 120,
|
|
44
|
+
"artifact": true
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"kind": "sniff",
|
|
48
|
+
"file": "{{workPath}}/rules-scope.md",
|
|
49
|
+
"sniff": "nonempty",
|
|
50
|
+
"artifact": true
|
|
51
|
+
}
|
|
52
|
+
],
|
|
53
|
+
"onReject": "rules-scope",
|
|
54
|
+
"maxAttempts": 3
|
|
55
|
+
},
|
|
56
|
+
"next": "triage",
|
|
57
|
+
"toolPolicy": {
|
|
58
|
+
"disallowBuiltinToolsets": [
|
|
59
|
+
"ai-apps",
|
|
60
|
+
"audio",
|
|
61
|
+
"browser-automation",
|
|
62
|
+
"code-execution",
|
|
63
|
+
"craftbooks",
|
|
64
|
+
"data-tables",
|
|
65
|
+
"entity-intel",
|
|
66
|
+
"git",
|
|
67
|
+
"image-intel",
|
|
68
|
+
"images",
|
|
69
|
+
"role-delegation",
|
|
70
|
+
"role-delegation-escalation",
|
|
71
|
+
"security-intel",
|
|
72
|
+
"team-management",
|
|
73
|
+
"videos",
|
|
74
|
+
"web",
|
|
75
|
+
"workspace-fs-write"
|
|
76
|
+
],
|
|
77
|
+
"outputMedium": "artifact",
|
|
78
|
+
"additionalOutputMedia": [
|
|
79
|
+
"task-note"
|
|
80
|
+
]
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"id": "triage",
|
|
85
|
+
"name": "Triage",
|
|
86
|
+
"description": "classify every message against the locked rules",
|
|
87
|
+
"prompt": "Read {{workPath}}/rules-scope.md and the original messages. Write one row per original message to {{workPath}}/triage.md. Carry its original ID verbatim when present, sender and subject, one full bucket name, why it applies, and whether a reply is owed. Distinguish a deadline today from a routine response. Check every source message has exactly one row.\n\nBefore working, open the artifact input `{{workPath}}/rules-scope.md` with `read_artifact`; do not look for it in the workspace.\n\nThe deliverable `{{workPath}}/triage.md` lands in the project's artifacts drawer — write it with `write_artifact` and read it back with `read_artifact`; the shipped workspace stays untouched.",
|
|
88
|
+
"suggestedRole": "developer",
|
|
89
|
+
"consumes": [
|
|
90
|
+
{
|
|
91
|
+
"file": "{{workPath}}/rules-scope.md",
|
|
92
|
+
"artifact": true
|
|
93
|
+
}
|
|
94
|
+
],
|
|
95
|
+
"advanceWhen": {
|
|
96
|
+
"file": "{{workPath}}/triage.md",
|
|
97
|
+
"minBytes": 1,
|
|
98
|
+
"sniff": "nonempty",
|
|
99
|
+
"artifact": true
|
|
100
|
+
},
|
|
101
|
+
"gate": {
|
|
102
|
+
"at": "completion",
|
|
103
|
+
"checks": [
|
|
104
|
+
{
|
|
105
|
+
"kind": "minBytes",
|
|
106
|
+
"file": "{{workPath}}/triage.md",
|
|
107
|
+
"bytes": 120,
|
|
108
|
+
"artifact": true
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"kind": "sniff",
|
|
112
|
+
"file": "{{workPath}}/triage.md",
|
|
113
|
+
"sniff": "nonempty",
|
|
114
|
+
"artifact": true
|
|
115
|
+
}
|
|
116
|
+
],
|
|
117
|
+
"onReject": "triage",
|
|
118
|
+
"maxAttempts": 3
|
|
119
|
+
},
|
|
120
|
+
"next": "draft",
|
|
121
|
+
"toolPolicy": {
|
|
122
|
+
"disallowBuiltinToolsets": [
|
|
123
|
+
"ai-apps",
|
|
124
|
+
"archives",
|
|
125
|
+
"audio",
|
|
126
|
+
"browser-automation",
|
|
127
|
+
"code-execution",
|
|
128
|
+
"craftbooks",
|
|
129
|
+
"data-tables",
|
|
130
|
+
"entity-intel",
|
|
131
|
+
"git",
|
|
132
|
+
"image-intel",
|
|
133
|
+
"images",
|
|
134
|
+
"role-delegation",
|
|
135
|
+
"role-delegation-escalation",
|
|
136
|
+
"security-intel",
|
|
137
|
+
"team-management",
|
|
138
|
+
"videos",
|
|
139
|
+
"web",
|
|
140
|
+
"workspace-fs-write"
|
|
141
|
+
],
|
|
142
|
+
"outputMedium": "artifact"
|
|
143
|
+
}
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"id": "draft",
|
|
147
|
+
"name": "Draft replies",
|
|
148
|
+
"description": "write on-voice replies for the flagged messages",
|
|
149
|
+
"prompt": "Open {{workPath}}/triage.md and {{workPath}}/rules-scope.md with `read_artifact`. Read the original messages AND the owner’s instructions from the workspace. For each row marked for reply, write one ready-to-send reply with the original subject or ID as its heading. Answer the sender’s actual question with the owner’s names, availability and decisions. If an answer is genuinely missing, list a question for the owner separately. Leave informational or archived items out of the replies. Use `write_file` to save the complete set to `drafts.md` in the project workspace. If no replies are owed, save a short note there saying so. Leave sending to the owner.",
|
|
150
|
+
"suggestedRole": "copywriter",
|
|
151
|
+
"consumes": [
|
|
152
|
+
{
|
|
153
|
+
"file": "{{workPath}}/rules-scope.md",
|
|
154
|
+
"artifact": true
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
"file": "{{workPath}}/triage.md",
|
|
158
|
+
"artifact": true
|
|
159
|
+
}
|
|
160
|
+
],
|
|
161
|
+
"advanceWhen": {
|
|
162
|
+
"file": "drafts.md",
|
|
163
|
+
"minBytes": 1,
|
|
164
|
+
"sniff": "nonempty"
|
|
165
|
+
},
|
|
166
|
+
"gate": {
|
|
167
|
+
"at": "completion",
|
|
168
|
+
"checks": [
|
|
169
|
+
{
|
|
170
|
+
"kind": "minBytes",
|
|
171
|
+
"file": "drafts.md",
|
|
172
|
+
"bytes": 12
|
|
173
|
+
}
|
|
174
|
+
],
|
|
175
|
+
"scripts": [
|
|
176
|
+
{
|
|
177
|
+
"name": "checkContains",
|
|
178
|
+
"scope": "standard",
|
|
179
|
+
"inputs": {
|
|
180
|
+
"file": "drafts.md",
|
|
181
|
+
"pattern": "(?:^|\\n)#{1,3}\\s+\\S",
|
|
182
|
+
"flags": "i"
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
],
|
|
186
|
+
"onReject": "draft",
|
|
187
|
+
"maxAttempts": 4
|
|
188
|
+
},
|
|
189
|
+
"next": "evaluate",
|
|
190
|
+
"toolPolicy": {
|
|
191
|
+
"disallowBuiltinToolsets": [
|
|
192
|
+
"ai-apps",
|
|
193
|
+
"archives",
|
|
194
|
+
"audio",
|
|
195
|
+
"browser-automation",
|
|
196
|
+
"code-execution",
|
|
197
|
+
"craftbooks",
|
|
198
|
+
"data-tables",
|
|
199
|
+
"entity-intel",
|
|
200
|
+
"git",
|
|
201
|
+
"image-intel",
|
|
202
|
+
"images",
|
|
203
|
+
"role-delegation",
|
|
204
|
+
"role-delegation-escalation",
|
|
205
|
+
"security-intel",
|
|
206
|
+
"team-management",
|
|
207
|
+
"videos",
|
|
208
|
+
"web"
|
|
209
|
+
],
|
|
210
|
+
"outputMedium": "workspace"
|
|
211
|
+
}
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"id": "evaluate",
|
|
215
|
+
"name": "Evaluate",
|
|
216
|
+
"description": "Grade the deliverable against every acceptance criterion. All pass → finish; any fail → loop back and fix the gap.",
|
|
217
|
+
"prompt": "Open {{workPath}}/triage.md, {{workPath}}/rules-scope.md, the original messages, the owner’s notes and drafts.md. Match each message by its original ID when supplied and by sender/subject otherwise. Check there is exactly one classification per message. Check each owed reply against the named recipient, the question asked and the owner’s actual decision. Flag a missing draft, placeholder for a known fact, reversed decision, invented promise or reply to an informational item. Return each correction with its message identifier.\n\nThen write your verdict to the artifact `{{task.dir}}/verdict.md` with `write_artifact`: one line per acceptance criterion, each marked **PASS** or **FAIL**, and for every FAIL the specific gap to fix. Then call `advance_task_step({ ref, stepId: \"evaluate\" })` with no target.\n\nThe runtime routes on what you wrote: every criterion PASS → finish; any FAIL → back to `draft`, where the builder fixes exactly the gaps you named. Mark PASS only for a criterion you actually checked. The build phase's completion gate already blocked a grossly incomplete deliverable; your job is the judgment an automated check cannot make (does it actually work, read well, look right).",
|
|
218
|
+
"suggestedRole": "reviewer",
|
|
219
|
+
"consumes": [
|
|
220
|
+
{
|
|
221
|
+
"file": "drafts.md"
|
|
222
|
+
}
|
|
223
|
+
],
|
|
224
|
+
"advanceWhen": {
|
|
225
|
+
"file": "{{task.dir}}/verdict.md",
|
|
226
|
+
"minBytes": 40,
|
|
227
|
+
"sniff": "nonempty",
|
|
228
|
+
"artifact": true
|
|
229
|
+
},
|
|
230
|
+
"gate": {
|
|
231
|
+
"at": "completion",
|
|
232
|
+
"checks": [
|
|
233
|
+
{
|
|
234
|
+
"kind": "contains",
|
|
235
|
+
"file": "{{task.dir}}/verdict.md",
|
|
236
|
+
"pattern": "\\bPASS\\b",
|
|
237
|
+
"label": "verdict lists passing criteria",
|
|
238
|
+
"artifact": true
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
"kind": "notContains",
|
|
242
|
+
"file": "{{task.dir}}/verdict.md",
|
|
243
|
+
"pattern": "\\bFAIL\\b",
|
|
244
|
+
"label": "no criterion marked FAIL",
|
|
245
|
+
"artifact": true
|
|
246
|
+
}
|
|
247
|
+
],
|
|
248
|
+
"onReject": "draft",
|
|
249
|
+
"maxAttempts": 3
|
|
250
|
+
},
|
|
251
|
+
"next": "finish",
|
|
252
|
+
"toolPolicy": {
|
|
253
|
+
"disallowBuiltinToolsets": [
|
|
254
|
+
"ai-apps",
|
|
255
|
+
"archives",
|
|
256
|
+
"audio",
|
|
257
|
+
"browser-automation",
|
|
258
|
+
"code-execution",
|
|
259
|
+
"craftbooks",
|
|
260
|
+
"data-tables",
|
|
261
|
+
"entity-intel",
|
|
262
|
+
"git",
|
|
263
|
+
"image-intel",
|
|
264
|
+
"images",
|
|
265
|
+
"role-delegation",
|
|
266
|
+
"role-delegation-escalation",
|
|
267
|
+
"security-intel",
|
|
268
|
+
"team-management",
|
|
269
|
+
"videos",
|
|
270
|
+
"web",
|
|
271
|
+
"workspace-fs-write"
|
|
272
|
+
],
|
|
273
|
+
"outputMedium": "artifact"
|
|
274
|
+
}
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
"id": "finish",
|
|
278
|
+
"name": "Finish",
|
|
279
|
+
"description": "All acceptance criteria met. Stamp a short summary and report DONE.",
|
|
280
|
+
"prompt": "Every acceptance criterion passed. Write a one-paragraph DONE summary to task notes via `write_task_note`: what was built, the deliverable path(s), and a one-line confirmation that each criterion is met. Then report DONE.",
|
|
281
|
+
"suggestedRole": "developer",
|
|
282
|
+
"terminal": true,
|
|
283
|
+
"toolPolicy": {
|
|
284
|
+
"disallowBuiltinToolsets": [
|
|
285
|
+
"ai-apps",
|
|
286
|
+
"archives",
|
|
287
|
+
"audio",
|
|
288
|
+
"browser-automation",
|
|
289
|
+
"code-execution",
|
|
290
|
+
"craftbooks",
|
|
291
|
+
"data-tables",
|
|
292
|
+
"entity-intel",
|
|
293
|
+
"git",
|
|
294
|
+
"image-intel",
|
|
295
|
+
"images",
|
|
296
|
+
"role-delegation",
|
|
297
|
+
"role-delegation-escalation",
|
|
298
|
+
"security-intel",
|
|
299
|
+
"team-management",
|
|
300
|
+
"videos",
|
|
301
|
+
"web",
|
|
302
|
+
"workspace-fs-write"
|
|
303
|
+
],
|
|
304
|
+
"outputMedium": "task-note"
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
],
|
|
308
|
+
"version": "1.0.7",
|
|
309
|
+
"releasedAt": "2026-12-02T00:00:00Z",
|
|
310
|
+
"minGezelVersion": "1.26233"
|
|
311
|
+
}
|
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"mode": "workflow",
|
|
4
|
+
"title": "Sort a household inbox and prepare two replies",
|
|
5
|
+
"objective": "Time-sensitive pickup and the potluck get distinct appropriate replies. The library notice and promotion need no reply.",
|
|
6
|
+
"tags": [
|
|
7
|
+
"data"
|
|
8
|
+
],
|
|
9
|
+
"prompt": "Could you sort these four messages and draft the replies I owe? Please keep the message IDs next to their categories so I can match them to my inbox. My inbox export and the details you need are in source/. Leave everything as drafts.",
|
|
10
|
+
"setup": {
|
|
11
|
+
"projectName": "Sort a household inbox and prepare two replies",
|
|
12
|
+
"managedWorkspaceWritePolicy": "allow",
|
|
13
|
+
"worker": {
|
|
14
|
+
"name": "Rowan",
|
|
15
|
+
"role": "Workflow Operator",
|
|
16
|
+
"about": "Help the household organize its messages."
|
|
17
|
+
},
|
|
18
|
+
"files": [
|
|
19
|
+
{
|
|
20
|
+
"path": "source/messages.md",
|
|
21
|
+
"content": "Personal inbox export — all messages received November 2, 2026.\n\n[M-41] From Rowan at the activity desk. Subject: Practice pickup. Please reply before 3 pm today with the authorized person’s name for pickup after practice. We need the reply to update the desk list.\n\n[M-42] From Kit at Oak Club. Subject: Friday potluck. Could you tell me by Thursday if your household is coming to Friday’s potluck?\n\n[M-43] From the branch library. Subject: Oak branch reopening. The branch reopens Wednesday. This is a community notice for your reference. No reply needed.\n\n[M-44] From Raincoats Outlet. Subject: Weekend jacket sale. This week only, browse our coat promotion."
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"path": "source/household.md",
|
|
25
|
+
"content": "I am Sam Hart. Today is Monday, November 2, 2026. Tessa Reed is authorized to collect my child after practice today. Our household cannot attend the potluck. I keep neighborhood information for reference and archive retail promotions. Please only prepare drafts."
|
|
26
|
+
}
|
|
27
|
+
]
|
|
28
|
+
},
|
|
29
|
+
"mocks": [],
|
|
30
|
+
"success": {
|
|
31
|
+
"summary": "Time-sensitive pickup and the potluck get distinct appropriate replies. The library notice and promotion need no reply.",
|
|
32
|
+
"deliverables": [
|
|
33
|
+
{
|
|
34
|
+
"path": "{{task.dir}}/rules-scope.md",
|
|
35
|
+
"kind": "markdown-report",
|
|
36
|
+
"artifact": true,
|
|
37
|
+
"minBytes": 120
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"path": "{{task.dir}}/triage.md",
|
|
41
|
+
"kind": "markdown-report",
|
|
42
|
+
"artifact": true,
|
|
43
|
+
"minBytes": 120,
|
|
44
|
+
"checks": [
|
|
45
|
+
{
|
|
46
|
+
"kind": "contains",
|
|
47
|
+
"file": "{{task.dir}}/triage.md",
|
|
48
|
+
"label": "M-41 has category urgent",
|
|
49
|
+
"pattern": "^(?=[^\\n]*\\bM-41\\b)(?=[^\\n]*(?:\\|[ \\t]*|\\bM-41[ \\t]*(?:[:–—-]|→)[ \\t]*|\\b(?:bucket|category)[ \\t]*:[ \\t]*)[*_]*(?:(?:urgent(?:[ \\t]*\\(U\\))?|U))[*_]*(?=[ \\t]*(?:\\||$|[;–—])))[^\\n]+$",
|
|
50
|
+
"flags": "im",
|
|
51
|
+
"artifact": true
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"kind": "notContains",
|
|
55
|
+
"file": "{{task.dir}}/triage.md",
|
|
56
|
+
"label": "M-41 has no conflicting category",
|
|
57
|
+
"pattern": "^(?=[^\\n]*\\bM-41\\b)(?=[^\\n]*(?:\\|[ \\t]*|\\bM-41[ \\t]*(?:[:–—-]|→)[ \\t]*|\\b(?:bucket|category)[ \\t]*:[ \\t]*)[*_]*(?:(?:needs[ -]reply(?:[ \\t]*\\(NR\\))?|NR)|(?:FYI(?:[ \\t]*\\(F\\))?|F)|(?:archive(?:[ \\t]*\\(A\\))?|A))[*_]*(?=[ \\t]*(?:\\||$|[;–—])))[^\\n]+$",
|
|
58
|
+
"flags": "im",
|
|
59
|
+
"artifact": true
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"kind": "contains",
|
|
63
|
+
"file": "{{task.dir}}/triage.md",
|
|
64
|
+
"label": "M-42 has category needs[ -]reply",
|
|
65
|
+
"pattern": "^(?=[^\\n]*\\bM-42\\b)(?=[^\\n]*(?:\\|[ \\t]*|\\bM-42[ \\t]*(?:[:–—-]|→)[ \\t]*|\\b(?:bucket|category)[ \\t]*:[ \\t]*)[*_]*(?:(?:needs[ -]reply(?:[ \\t]*\\(NR\\))?|NR))[*_]*(?=[ \\t]*(?:\\||$|[;–—])))[^\\n]+$",
|
|
66
|
+
"flags": "im",
|
|
67
|
+
"artifact": true
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"kind": "notContains",
|
|
71
|
+
"file": "{{task.dir}}/triage.md",
|
|
72
|
+
"label": "M-42 has no conflicting category",
|
|
73
|
+
"pattern": "^(?=[^\\n]*\\bM-42\\b)(?=[^\\n]*(?:\\|[ \\t]*|\\bM-42[ \\t]*(?:[:–—-]|→)[ \\t]*|\\b(?:bucket|category)[ \\t]*:[ \\t]*)[*_]*(?:(?:urgent(?:[ \\t]*\\(U\\))?|U)|(?:FYI(?:[ \\t]*\\(F\\))?|F)|(?:archive(?:[ \\t]*\\(A\\))?|A))[*_]*(?=[ \\t]*(?:\\||$|[;–—])))[^\\n]+$",
|
|
74
|
+
"flags": "im",
|
|
75
|
+
"artifact": true
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"kind": "contains",
|
|
79
|
+
"file": "{{task.dir}}/triage.md",
|
|
80
|
+
"label": "M-43 has category FYI",
|
|
81
|
+
"pattern": "^(?=[^\\n]*\\bM-43\\b)(?=[^\\n]*(?:\\|[ \\t]*|\\bM-43[ \\t]*(?:[:–—-]|→)[ \\t]*|\\b(?:bucket|category)[ \\t]*:[ \\t]*)[*_]*(?:(?:FYI(?:[ \\t]*\\(F\\))?|F))[*_]*(?=[ \\t]*(?:\\||$|[;–—])))[^\\n]+$",
|
|
82
|
+
"flags": "im",
|
|
83
|
+
"artifact": true
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"kind": "notContains",
|
|
87
|
+
"file": "{{task.dir}}/triage.md",
|
|
88
|
+
"label": "M-43 has no conflicting category",
|
|
89
|
+
"pattern": "^(?=[^\\n]*\\bM-43\\b)(?=[^\\n]*(?:\\|[ \\t]*|\\bM-43[ \\t]*(?:[:–—-]|→)[ \\t]*|\\b(?:bucket|category)[ \\t]*:[ \\t]*)[*_]*(?:(?:urgent(?:[ \\t]*\\(U\\))?|U)|(?:needs[ -]reply(?:[ \\t]*\\(NR\\))?|NR)|(?:archive(?:[ \\t]*\\(A\\))?|A))[*_]*(?=[ \\t]*(?:\\||$|[;–—])))[^\\n]+$",
|
|
90
|
+
"flags": "im",
|
|
91
|
+
"artifact": true
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"kind": "contains",
|
|
95
|
+
"file": "{{task.dir}}/triage.md",
|
|
96
|
+
"label": "M-44 has category archive",
|
|
97
|
+
"pattern": "^(?=[^\\n]*\\bM-44\\b)(?=[^\\n]*(?:\\|[ \\t]*|\\bM-44[ \\t]*(?:[:–—-]|→)[ \\t]*|\\b(?:bucket|category)[ \\t]*:[ \\t]*)[*_]*(?:(?:archive(?:[ \\t]*\\(A\\))?|A))[*_]*(?=[ \\t]*(?:\\||$|[;–—])))[^\\n]+$",
|
|
98
|
+
"flags": "im",
|
|
99
|
+
"artifact": true
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"kind": "notContains",
|
|
103
|
+
"file": "{{task.dir}}/triage.md",
|
|
104
|
+
"label": "M-44 has no conflicting category",
|
|
105
|
+
"pattern": "^(?=[^\\n]*\\bM-44\\b)(?=[^\\n]*(?:\\|[ \\t]*|\\bM-44[ \\t]*(?:[:–—-]|→)[ \\t]*|\\b(?:bucket|category)[ \\t]*:[ \\t]*)[*_]*(?:(?:urgent(?:[ \\t]*\\(U\\))?|U)|(?:needs[ -]reply(?:[ \\t]*\\(NR\\))?|NR)|(?:FYI(?:[ \\t]*\\(F\\))?|F))[*_]*(?=[ \\t]*(?:\\||$|[;–—])))[^\\n]+$",
|
|
106
|
+
"flags": "im",
|
|
107
|
+
"artifact": true
|
|
108
|
+
}
|
|
109
|
+
]
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"path": "drafts.md",
|
|
113
|
+
"kind": "markdown-report",
|
|
114
|
+
"minBytes": 70,
|
|
115
|
+
"checks": [
|
|
116
|
+
{
|
|
117
|
+
"kind": "contains",
|
|
118
|
+
"file": "drafts.md",
|
|
119
|
+
"label": "pickup reply identifies the authorized person",
|
|
120
|
+
"pattern": "^[ \\t]*(?!>)(?:(?:#{1,6}[ \\t]+|(?:[*_]{0,2})(?:subject[ \\t]*:|re[ \\t]*:|draft[ \\t]+\\d+|M-4[1-4]\\b)|(?:practice pickup|friday potluck)[ \\t]*$)[^\\n]{0,90}(?:practice pickup|M-41|pickup)|(?:practice pickup|M-41|pickup)[ \\t]*:?[ \\t]*$)[^\\n]*\\n(?:(?!^[ \\t]*(?:#{1,6}[ \\t]+|(?:[*_]{0,2})(?:subject[ \\t]*:|re[ \\t]*:|draft[ \\t]+\\d+|M-4[1-4]\\b)|(?:practice pickup|friday potluck)[ \\t]*$)|^[ \\t]*>)[\\s\\S]){0,1000}?(?:Tessa Reed[^.!?\\n]{0,85}(?:pick.?up|collect|authoriz)|(?:pick.?up|collect|authoriz)[^.!?\\n]{0,85}Tessa Reed)",
|
|
121
|
+
"flags": "im"
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"kind": "contains",
|
|
125
|
+
"file": "drafts.md",
|
|
126
|
+
"label": "potluck reply declines",
|
|
127
|
+
"pattern": "^[ \\t]*(?!>)(?:(?:#{1,6}[ \\t]+|(?:[*_]{0,2})(?:subject[ \\t]*:|re[ \\t]*:|draft[ \\t]+\\d+|M-4[1-4]\\b)|(?:practice pickup|friday potluck)[ \\t]*$)[^\\n]{0,90}(?:Friday potluck|M-42|potluck)|(?:Friday potluck|M-42|potluck)[ \\t]*:?[ \\t]*$)[^\\n]*\\n(?:(?!^[ \\t]*(?:#{1,6}[ \\t]+|(?:[*_]{0,2})(?:subject[ \\t]*:|re[ \\t]*:|draft[ \\t]+\\d+|M-4[1-4]\\b)|(?:practice pickup|friday potluck)[ \\t]*$)|^[ \\t]*>)[\\s\\S]){0,1000}?(?:cannot|can[’\\x27]t|won[’\\x27]t|unable|declin\\w*|can not|(?:have to|must) (?:pass|miss))[^.!?\\n]{0,85}(?:potluck|attend|join|come|make it|be there|invitation)",
|
|
128
|
+
"flags": "im"
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"kind": "notContains",
|
|
132
|
+
"file": "drafts.md",
|
|
133
|
+
"label": "no contradictory acceptance",
|
|
134
|
+
"pattern": "\\b(?:we(?:[’']ll| will| can)|count us in|we(?:[’']re| are) (?:happy|excited) to)\\s+(?:be there|attend|join|come|make it)\\b|\\bcount us in\\b",
|
|
135
|
+
"flags": "im"
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"kind": "notContains",
|
|
139
|
+
"file": "drafts.md",
|
|
140
|
+
"label": "replace known placeholders",
|
|
141
|
+
"pattern": "\\[(?:name|authorized|insert|your name|person)[^\\]\\n]*\\]",
|
|
142
|
+
"flags": "im"
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"kind": "notContains",
|
|
146
|
+
"file": "drafts.md",
|
|
147
|
+
"label": "no draft to library or retailer",
|
|
148
|
+
"pattern": "^\\s*(?:#{1,6}\\s+|[*_]*(?:subject|draft(?:\\s+\\d+)?)\\s*[:|–-]\\s*[*_]*|[-*]\\s+(?:re:\\s*)|re\\s*:\\s*)[^\\n]{0,85}(?:Oak branch reopening|Weekend jacket sale)",
|
|
149
|
+
"flags": "im"
|
|
150
|
+
}
|
|
151
|
+
]
|
|
152
|
+
}
|
|
153
|
+
],
|
|
154
|
+
"taskGraph": {
|
|
155
|
+
"requireCraftbookTask": true,
|
|
156
|
+
"requireTerminalStep": true
|
|
157
|
+
},
|
|
158
|
+
"unchangedFixtures": [
|
|
159
|
+
"source/messages.md",
|
|
160
|
+
"source/household.md"
|
|
161
|
+
],
|
|
162
|
+
"history": [
|
|
163
|
+
{
|
|
164
|
+
"kind": "tool.called",
|
|
165
|
+
"summaryPattern": "\\b(?:send_email|send_mail|send_message_to_recipient)\\b",
|
|
166
|
+
"minEntries": 0,
|
|
167
|
+
"maxEntries": 0,
|
|
168
|
+
"details": {
|
|
169
|
+
"success": true
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
]
|
|
173
|
+
},
|
|
174
|
+
"rubric": {
|
|
175
|
+
"artifact": {
|
|
176
|
+
"path": "drafts.md",
|
|
177
|
+
"kind": "markdown"
|
|
178
|
+
},
|
|
179
|
+
"axes": [
|
|
180
|
+
{
|
|
181
|
+
"name": "Useful replies",
|
|
182
|
+
"description": "Time-sensitive pickup and the potluck get distinct appropriate replies. The library notice and promotion need no reply."
|
|
183
|
+
}
|
|
184
|
+
]
|
|
185
|
+
},
|
|
186
|
+
"qualityFocus": [
|
|
187
|
+
"Sort a household inbox and prepare two replies"
|
|
188
|
+
]
|
|
189
|
+
}
|
|
@@ -3,10 +3,6 @@
|
|
|
3
3
|
"kind": "craftbook-template",
|
|
4
4
|
"id": "invoice-generator",
|
|
5
5
|
"role": "general",
|
|
6
|
-
"category": "business",
|
|
7
|
-
"interests": [
|
|
8
|
-
"business"
|
|
9
|
-
],
|
|
10
6
|
"name": "Invoice Generator",
|
|
11
7
|
"description": "Generate a clean, professional, print-ready invoice from billing details — sender/recipient, line items with quantity and rate, subtotal, tax, total, invoice number, dates, and payment instructions. Scopes the required fields and the tax/total math FIRST (a wrong total is the one unforgivable invoice bug), then builds a polished single-file HTML invoice with an itemized table and correctly computed totals. Use for freelancer/contractor billing, one-off invoices, and invoice templates.",
|
|
12
8
|
"tags": [
|