@bendyline/gilde 0.1.17 → 0.1.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -2
- package/authoring/chat-models/README.md +26 -0
- package/authoring/chat-models/btl4-35b-q4.json +142 -0
- package/authoring/chat-models/btl4-compact-iq2.json +142 -0
- package/authoring/chat-models/deepseek-r1-8b-q4.json +53 -0
- package/authoring/chat-models/deepseek-v4-flash-284b-mxfp4.json +110 -0
- package/authoring/chat-models/deepseek-v4-flash-284b-q2.json +110 -0
- package/authoring/chat-models/deepseek-v4-flash-284b-q2q4.json +111 -0
- package/authoring/chat-models/deepseek-v4-flash-284b-q4.json +113 -0
- package/authoring/chat-models/gemma4-12b-q4.json +190 -0
- package/authoring/chat-models/gemma4-12b-q8.json +164 -0
- package/authoring/chat-models/gemma4-26b-q4.json +90 -0
- package/authoring/chat-models/gemma4-31b-q4.json +81 -0
- package/authoring/chat-models/gemma4-e2b-q4.json +76 -0
- package/authoring/chat-models/gemma4-e4b-q4.json +71 -0
- package/authoring/chat-models/glm-5.2-754b-q2.json +60 -0
- package/authoring/chat-models/gpt-oss-120b-q4.json +48 -0
- package/authoring/chat-models/gpt-oss-20b-q4.json +47 -0
- package/authoring/chat-models/laguna-s-2.1-118b-q4.json +127 -0
- package/authoring/chat-models/laguna-s-2.1-118b-q6.json +121 -0
- package/authoring/chat-models/laguna-s-2.1-118b-q8.json +127 -0
- package/authoring/chat-models/lfm2.5-2.6b-q4.json +39 -0
- package/authoring/chat-models/llama3.2-3b-q4.json +42 -0
- package/authoring/chat-models/mistral-7b-q4.json +53 -0
- package/authoring/chat-models/mistral-medium-3.5-128b-q4.json +57 -0
- package/authoring/chat-models/muse-glimmer-30b-q4.json +126 -0
- package/authoring/chat-models/nemotron3-nano-30b-q4.json +49 -0
- package/authoring/chat-models/nemotron3-super-120b-q4.json +41 -0
- package/authoring/chat-models/ornith-35b-q4.json +145 -0
- package/authoring/chat-models/ornith-35b-q8.json +145 -0
- package/authoring/chat-models/ornith-9b-q4.json +146 -0
- package/authoring/chat-models/qwen3.5-122b-a10b-q4.json +172 -0
- package/authoring/chat-models/qwen3.5-2b-q4.json +70 -0
- package/authoring/chat-models/qwen3.5-4b-q4.json +61 -0
- package/authoring/chat-models/qwen3.5-9b-q4.json +61 -0
- package/authoring/chat-models/qwen3.6-27b-q4.json +66 -0
- package/authoring/chat-models/qwen3.6-27b-q8.json +153 -0
- package/authoring/chat-models/qwen3.6-35b-a3b-q4.json +154 -0
- package/authoring/chat-models/qwen3.6-35b-a3b-q8.json +154 -0
- package/authoring/chat-models/talkie-1930-13b-q4.json +74 -0
- package/authoring/chat-models/ternary-bonsai-27b-q2.json +144 -0
- package/authoring/gstack/LICENSE.gstack +21 -0
- package/authoring/gstack/README.md +50 -0
- package/authoring/gstack/evals/cso.json +152 -0
- package/authoring/gstack/evals/design-consultation.json +201 -0
- package/authoring/gstack/evals/document-generate.json +174 -0
- package/authoring/gstack/evals/investigate.json +153 -0
- package/authoring/gstack/evals/office-hours.json +141 -0
- package/authoring/gstack/evals/plan-ceo-review.json +135 -0
- package/authoring/gstack/evals/qa-only.json +376 -0
- package/authoring/gstack/evals/retro.json +191 -0
- package/authoring/gstack/evals/spec.json +162 -0
- package/authoring/gstack/overlays/cso.json +132 -0
- package/authoring/gstack/overlays/design-consultation.json +153 -0
- package/authoring/gstack/overlays/document-generate.json +124 -0
- package/authoring/gstack/overlays/investigate.json +128 -0
- package/authoring/gstack/overlays/office-hours.json +119 -0
- package/authoring/gstack/overlays/plan-ceo-review.json +128 -0
- package/authoring/gstack/overlays/qa-only.json +145 -0
- package/authoring/gstack/overlays/retro.json +132 -0
- package/authoring/gstack/overlays/spec.json +140 -0
- package/authoring/gstack/persona-drafts/cso.about.md +9 -0
- package/authoring/gstack/persona-drafts/design-consultation.about.md +9 -0
- package/authoring/gstack/persona-drafts/office-hours.about.md +9 -0
- package/authoring/gstack/persona-drafts/qa-only.about.md +5 -0
- package/authoring/gstack/persona-drafts/spec.about.md +26 -0
- package/authoring/gstack/snapshots/cso/SKILL.md +1285 -0
- package/authoring/gstack/snapshots/design-consultation/SKILL.md +1230 -0
- package/authoring/gstack/snapshots/document-generate/SKILL.md +1252 -0
- package/authoring/gstack/snapshots/investigate/SKILL.md +1074 -0
- package/authoring/gstack/snapshots/office-hours/SKILL.md +1697 -0
- package/authoring/gstack/snapshots/plan-ceo-review/SKILL.md +1476 -0
- package/authoring/gstack/snapshots/qa-only/SKILL.md +1256 -0
- package/authoring/gstack/snapshots/retro/SKILL.md +1812 -0
- package/authoring/gstack/snapshots/spec/SKILL.md +2359 -0
- package/authoring/gstack/wave.json +103 -0
- package/data/chat-models/gl/glm-5.2-754b-q2/manifest.json +65 -0
- package/data/chat-models/gl/glm-5.2-754b-q2/versions/1.0.0/manifest.json +18 -0
- package/data/chat-models/gp/gpt-oss-120b-q4/manifest.json +5 -5
- package/data/chat-models/gp/gpt-oss-120b-q4/versions/1.1.0/manifest.json +135 -0
- package/data/chat-models/index.json +1 -1
- package/data/chat-models/mu/muse-glimmer-30b-q4/manifest.json +135 -0
- package/data/chat-models/mu/muse-glimmer-30b-q4/versions/1.0.0/manifest.json +20 -0
- package/data/connector-types/gi/github-releases/manifest.json +17 -0
- package/data/connector-types/gi/github-releases/versions/1.0.0/manifest.json +71 -0
- package/data/connector-types/index.json +1 -1
- package/data/craftbook-templates/br/branding-website/versions/1.1.0/craftbook.json +190 -0
- package/data/craftbook-templates/br/branding-website/versions/1.1.0/test.json +164 -0
- package/data/craftbook-templates/br/browser-qa-audit/versions/2.0.0/craftbook.json +358 -0
- package/data/craftbook-templates/br/browser-qa-audit/versions/2.0.0/test.json +376 -0
- package/data/craftbook-templates/ca/careful-mode/versions/1.1.0/craftbook.json +43 -0
- package/data/craftbook-templates/ca/careful-mode/versions/1.1.0/test.json +110 -0
- package/data/craftbook-templates/ca/careful-mode/versions/1.2.0/craftbook.json +43 -0
- package/data/craftbook-templates/ca/careful-mode/versions/1.2.0/test.json +110 -0
- package/data/craftbook-templates/co/content-deck/versions/1.1.0/craftbook.json +185 -0
- package/data/craftbook-templates/co/content-deck/versions/1.1.0/test.json +166 -0
- package/data/craftbook-templates/co/content-deck/versions/1.2.0/craftbook.json +185 -0
- package/data/craftbook-templates/co/content-deck/versions/1.2.0/test.json +169 -0
- package/data/craftbook-templates/co/corpus-email-digest/versions/1.1.0/craftbook.json +189 -0
- package/data/craftbook-templates/co/corpus-email-digest/versions/1.1.0/test.json +182 -0
- package/data/craftbook-templates/co/corpus-email-digest/versions/1.2.0/craftbook.json +189 -0
- package/data/craftbook-templates/co/corpus-email-digest/versions/1.2.0/test.json +187 -0
- package/data/craftbook-templates/de/design-system-consultation/versions/2.0.0/craftbook.json +385 -0
- package/data/craftbook-templates/de/design-system-consultation/versions/2.0.0/test.json +201 -0
- package/data/craftbook-templates/en/engineering-retrospective/versions/2.0.0/craftbook.json +353 -0
- package/data/craftbook-templates/en/engineering-retrospective/versions/2.0.0/test.json +191 -0
- package/data/craftbook-templates/ex/executive-level-review/versions/2.0.0/craftbook.json +347 -0
- package/data/craftbook-templates/ex/executive-level-review/versions/2.0.0/test.json +135 -0
- package/data/craftbook-templates/fr/freeze-scope/versions/1.2.0/craftbook.json +50 -0
- package/data/craftbook-templates/fr/freeze-scope/versions/1.2.0/test.json +131 -0
- package/data/craftbook-templates/fr/freeze-scope/versions/1.3.0/craftbook.json +50 -0
- package/data/craftbook-templates/fr/freeze-scope/versions/1.3.0/test.json +131 -0
- package/data/craftbook-templates/ht/html-arcade-game/versions/1.1.0/craftbook.json +197 -0
- package/data/craftbook-templates/ht/html-arcade-game/versions/1.1.0/test.json +173 -0
- package/data/craftbook-templates/ht/html-arcade-game/versions/1.2.0/craftbook.json +197 -0
- package/data/craftbook-templates/ht/html-arcade-game/versions/1.2.0/test.json +176 -0
- package/data/craftbook-templates/id/idea-office-hours/versions/2.0.0/craftbook.json +333 -0
- package/data/craftbook-templates/id/idea-office-hours/versions/2.0.0/test.json +141 -0
- package/data/craftbook-templates/im/image-set-index/versions/1.1.0/craftbook.json +163 -0
- package/data/craftbook-templates/im/image-set-index/versions/1.1.0/test.json +177 -0
- package/data/craftbook-templates/im/image-set-index/versions/1.2.0/craftbook.json +163 -0
- package/data/craftbook-templates/im/image-set-index/versions/1.2.0/test.json +180 -0
- package/data/craftbook-templates/index.json +1 -1
- package/data/craftbook-templates/pu/pull-request-review/manifest.json +5 -1
- package/data/craftbook-templates/pu/pull-request-review/versions/1.2.0/craftbook.json +159 -0
- package/data/craftbook-templates/pu/pull-request-review/versions/1.2.0/test.json +172 -0
- package/data/craftbook-templates/re/release-artifact-sanity-check/art.json +13 -0
- package/data/craftbook-templates/re/release-artifact-sanity-check/logo.webp +0 -0
- package/data/craftbook-templates/re/release-artifact-sanity-check/manifest.json +24 -0
- package/data/craftbook-templates/re/release-artifact-sanity-check/versions/1.0.0/craftbook.json +202 -0
- package/data/craftbook-templates/re/release-artifact-sanity-check/versions/1.0.0/test.json +138 -0
- package/data/craftbook-templates/ro/root-cause-investigation/versions/2.0.0/craftbook.json +348 -0
- package/data/craftbook-templates/ro/root-cause-investigation/versions/2.0.0/test.json +153 -0
- package/data/craftbook-templates/se/security-architecture-review/versions/2.0.0/craftbook.json +353 -0
- package/data/craftbook-templates/se/security-architecture-review/versions/2.0.0/test.json +152 -0
- package/data/craftbook-templates/sp/spec-authoring/versions/2.0.0/craftbook.json +391 -0
- package/data/craftbook-templates/sp/spec-authoring/versions/2.0.0/test.json +162 -0
- package/data/craftbook-templates/te/technical-documentation/versions/2.0.0/craftbook.json +343 -0
- package/data/craftbook-templates/te/technical-documentation/versions/2.0.0/test.json +174 -0
- package/data/craftbook-templates/tr/translate-content/versions/1.1.0/craftbook.json +84 -0
- package/data/craftbook-templates/tr/translate-content/versions/1.1.0/test.json +141 -0
- package/package.json +10 -4
- package/schemas/chat-model-identity.schema.json +44 -0
- package/schemas/chat-model-version.schema.json +3 -0
- package/schemas/connector-type-identity.schema.json +3 -0
- package/schemas/connector-type-version.schema.json +3 -0
- package/schemas/craftbook-doc.schema.json +3 -0
- package/schemas/craftbook-template-identity.schema.json +3 -0
- package/schemas/craftbook-template-version.schema.json +3 -0
- package/schemas/craftbook-test.schema.json +232 -3
- package/schemas/gezel-template-identity.schema.json +3 -0
- package/schemas/gezel-template-version.schema.json +3 -0
- package/schemas/image-model-identity.schema.json +3 -0
- package/schemas/image-model-version.schema.json +3 -0
- package/schemas/project-type-identity.schema.json +3 -0
- package/schemas/project-type-version.schema.json +3 -0
- package/schemas/toolset-identity.schema.json +3 -0
- package/schemas/toolset-version.schema.json +3 -0
- package/schemas/video-model-identity.schema.json +3 -0
- package/schemas/video-model-version.schema.json +3 -0
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "corpus-email-digest",
|
|
3
|
+
"name": "Daily Email Digest from a Corpus",
|
|
4
|
+
"description": "Produce an email-ready digest that summarizes a corpus of content (docs, feeds, notes) for a recurring send. Scopes what matters and the format first, drafts the digest in a consistent voice, then builds the email-ready output and evaluates for accuracy and scannability.\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. Scope the digest (planner) — what to include, sections, format, length → gated on artifact `digest/scope.md` (markdown-notes)\n2. Draft the digest (copywriter) — write the digest from the corpus, with citations → gated on artifact `digest/draft.md` (markdown-doc)\n3. Build the email output (developer) — render to an email-ready format → gated on `digest.html` (html-page)\n\nThe gates never advance with an unmet criterion, and loop back to the\nowning phase to fix named gaps.\n",
|
|
5
|
+
"entryStepId": "scope",
|
|
6
|
+
"triggers": [
|
|
7
|
+
"daily summary",
|
|
8
|
+
"email digest",
|
|
9
|
+
"summarize this corpus",
|
|
10
|
+
"briefing"
|
|
11
|
+
],
|
|
12
|
+
"steps": [
|
|
13
|
+
{
|
|
14
|
+
"id": "scope",
|
|
15
|
+
"name": "Scope the digest",
|
|
16
|
+
"description": "what to include, sections, format, length",
|
|
17
|
+
"prompt": "List and read every supplied corpus file with workspace tools before scoping. Decide the digest window, included sources, section structure (headline, top items, one line each), target length, tone, citation format, and subject-line convention. Write an **acceptance-criteria checklist** (\"≤ N items per section\", \"every item cites its source\", \"scannable in under a minute\", \"no item outside the window\", \"no invented facts\"). Save the scope + checklist to artifact `digest/scope.md` with `write_artifact`; note the path in task notes.",
|
|
18
|
+
"suggestedRole": "planner",
|
|
19
|
+
"advanceWhen": {
|
|
20
|
+
"file": "digest/scope.md",
|
|
21
|
+
"minBytes": 1,
|
|
22
|
+
"sniff": "nonempty",
|
|
23
|
+
"artifact": true
|
|
24
|
+
},
|
|
25
|
+
"gate": {
|
|
26
|
+
"at": "completion",
|
|
27
|
+
"checks": [
|
|
28
|
+
{
|
|
29
|
+
"kind": "minBytes",
|
|
30
|
+
"file": "digest/scope.md",
|
|
31
|
+
"bytes": 500,
|
|
32
|
+
"artifact": true
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"kind": "sniff",
|
|
36
|
+
"file": "digest/scope.md",
|
|
37
|
+
"sniff": "nonempty",
|
|
38
|
+
"artifact": true
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"kind": "contains",
|
|
42
|
+
"file": "digest/scope.md",
|
|
43
|
+
"pattern": "citation|source",
|
|
44
|
+
"flags": "i",
|
|
45
|
+
"label": "citation policy",
|
|
46
|
+
"artifact": true
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"kind": "contains",
|
|
50
|
+
"file": "digest/scope.md",
|
|
51
|
+
"pattern": "window|fresh|date",
|
|
52
|
+
"flags": "i",
|
|
53
|
+
"label": "freshness window",
|
|
54
|
+
"artifact": true
|
|
55
|
+
}
|
|
56
|
+
],
|
|
57
|
+
"onReject": "scope",
|
|
58
|
+
"maxAttempts": 3
|
|
59
|
+
},
|
|
60
|
+
"next": "draft"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"id": "draft",
|
|
64
|
+
"name": "Draft the digest",
|
|
65
|
+
"description": "write the digest from the corpus, with citations",
|
|
66
|
+
"prompt": "Read artifact `digest/scope.md` with `read_artifact`, then re-read every included corpus source with workspace `read_file`. Write the digest to the scoped structure: a subject line, one tight line per item, and an adjacent source filename/citation for every item. Lead with what matters, keep a consistent voice, and do not invent or merge unsupported facts. Save the complete draft to artifact `digest/draft.md` with `write_artifact`; note the path in task notes.",
|
|
67
|
+
"suggestedRole": "copywriter",
|
|
68
|
+
"advanceWhen": {
|
|
69
|
+
"file": "digest/draft.md",
|
|
70
|
+
"minBytes": 1,
|
|
71
|
+
"sniff": "nonempty",
|
|
72
|
+
"artifact": true
|
|
73
|
+
},
|
|
74
|
+
"gate": {
|
|
75
|
+
"at": "completion",
|
|
76
|
+
"checks": [
|
|
77
|
+
{
|
|
78
|
+
"kind": "minBytes",
|
|
79
|
+
"file": "digest/draft.md",
|
|
80
|
+
"bytes": 700,
|
|
81
|
+
"artifact": true
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"kind": "contains",
|
|
85
|
+
"file": "digest/draft.md",
|
|
86
|
+
"pattern": "subject\\s*:",
|
|
87
|
+
"flags": "i",
|
|
88
|
+
"label": "subject line",
|
|
89
|
+
"artifact": true
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"kind": "contains",
|
|
93
|
+
"file": "digest/draft.md",
|
|
94
|
+
"pattern": "\\.md\\b|source\\s*:",
|
|
95
|
+
"flags": "i",
|
|
96
|
+
"label": "source citations",
|
|
97
|
+
"artifact": true
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"kind": "contains",
|
|
101
|
+
"file": "digest/draft.md",
|
|
102
|
+
"pattern": "(?:^|\\n)#{1,3}\\s+\\S",
|
|
103
|
+
"flags": "i",
|
|
104
|
+
"label": "at least one markdown heading",
|
|
105
|
+
"artifact": true
|
|
106
|
+
}
|
|
107
|
+
],
|
|
108
|
+
"onReject": "draft",
|
|
109
|
+
"maxAttempts": 3
|
|
110
|
+
},
|
|
111
|
+
"next": "build"
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"id": "build",
|
|
115
|
+
"name": "Build the email output",
|
|
116
|
+
"description": "render to an email-ready format",
|
|
117
|
+
"prompt": "Read artifacts `digest/scope.md` and `digest/draft.md` with `read_artifact`. Render the approved draft to workspace `digest.html` with `write_file`. Include the subject line in visible/preheader content, preserve every adjacent source citation, use semantic email-safe tables or blocks, and keep styles inline or in a small embedded style block with no external CSS, scripts, or network assets. On a loop-back, fix only the named gaps. `write_task_note` the workspace output path and item/source counts.",
|
|
118
|
+
"suggestedRole": "developer",
|
|
119
|
+
"advanceWhen": {
|
|
120
|
+
"file": "digest.html",
|
|
121
|
+
"minBytes": 1,
|
|
122
|
+
"sniff": "html-complete"
|
|
123
|
+
},
|
|
124
|
+
"gate": {
|
|
125
|
+
"at": "completion",
|
|
126
|
+
"checks": [
|
|
127
|
+
{
|
|
128
|
+
"kind": "minBytes",
|
|
129
|
+
"file": "digest.html",
|
|
130
|
+
"bytes": 2200
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"kind": "htmlLint",
|
|
134
|
+
"file": "digest.html"
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"kind": "cssMinBytes",
|
|
138
|
+
"bytes": 350,
|
|
139
|
+
"file": "digest.html"
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"kind": "contains",
|
|
143
|
+
"file": "digest.html",
|
|
144
|
+
"pattern": "subject\\s*:",
|
|
145
|
+
"flags": "i",
|
|
146
|
+
"label": "subject line"
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"kind": "contains",
|
|
150
|
+
"file": "digest.html",
|
|
151
|
+
"pattern": "\\.md\\b|source\\s*:",
|
|
152
|
+
"flags": "i",
|
|
153
|
+
"label": "source citations"
|
|
154
|
+
}
|
|
155
|
+
],
|
|
156
|
+
"scripts": [
|
|
157
|
+
{
|
|
158
|
+
"name": "checkHtmlComplete",
|
|
159
|
+
"scope": "standard",
|
|
160
|
+
"inputs": {
|
|
161
|
+
"file": "digest.html"
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
],
|
|
165
|
+
"onReject": "build",
|
|
166
|
+
"maxAttempts": 4
|
|
167
|
+
},
|
|
168
|
+
"next": "evaluate"
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"id": "evaluate",
|
|
172
|
+
"name": "Evaluate",
|
|
173
|
+
"description": "Grade the deliverable against every acceptance criterion. All pass → finish; any fail → loop back and fix the gap.",
|
|
174
|
+
"prompt": "Read workspace `digest.html` with `read_file`, artifacts `digest/scope.md` and `digest/draft.md` with `read_artifact`, and the original corpus files with workspace tools. Check accuracy (every item traces to a corpus fact, nothing invented), citations (each item names its source), scannability, section/item limits, and freshness window. Confirm the HTML preserves the approved draft and has no external dependencies. Write PASS/FAIL per criterion.\n\nThen route — this is the whole point of the loop:\n\n- **Every criterion PASSES →** call `advance_task_step({ ref, stepId: \"evaluate\", next: \"finish\" })`.\n- **Any criterion FAILS →** write the specific gaps to notes, then call `advance_task_step({ ref, stepId: \"evaluate\", next: \"build\" })` to loop back. The builder fixes exactly those gaps.\n\nNever route to `finish` while any criterion is unmet. 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). After ~3 unproductive loops, stop and report DONE_WITH_CONCERNS so the user can step in.",
|
|
175
|
+
"suggestedRole": "reviewer",
|
|
176
|
+
"next": "build"
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
"id": "finish",
|
|
180
|
+
"name": "Finish",
|
|
181
|
+
"description": "All acceptance criteria met. Stamp a short summary and report DONE.",
|
|
182
|
+
"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.",
|
|
183
|
+
"suggestedRole": "developer",
|
|
184
|
+
"terminal": true
|
|
185
|
+
}
|
|
186
|
+
],
|
|
187
|
+
"version": "1.2.0",
|
|
188
|
+
"releasedAt": "2026-08-10T00:00:00Z"
|
|
189
|
+
}
|
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"title": "Corpus-grounded email-digest workflow",
|
|
4
|
+
"objective": "Run the Daily Email Digest from a Corpus craftbook and verify scoped citation rules and a source-grounded draft precede the final email-ready HTML.",
|
|
5
|
+
"tags": [
|
|
6
|
+
"html-page",
|
|
7
|
+
"corpus",
|
|
8
|
+
"workflow"
|
|
9
|
+
],
|
|
10
|
+
"prompt": "Use the Daily Email Digest from a Corpus craftbook. Read every file under workspace `corpus/` and build workspace `digest.html` for a Friday leadership update. Include a visible subject line, three sections (Wins, Watchouts, Next Actions), one tight line per item, and an adjacent source filename for every item. Scope the digest and write a cited draft before rendering it. Use inline or embedded email-safe CSS only, with no scripts or external assets.",
|
|
11
|
+
"setup": {
|
|
12
|
+
"projectName": "Corpus Email Digest Eval",
|
|
13
|
+
"about": "Self-contained workflow eval for the Daily Email Digest from a Corpus craftbook. Source files are in the workspace, scope/draft deliverables belong in artifacts, and the final email belongs at workspace/digest.html.",
|
|
14
|
+
"missionObjectives": "Produce an accurate, scannable HTML email digest from all seeded corpus files with a subject line, three sections, adjacent source citations, and no invented items.",
|
|
15
|
+
"files": [
|
|
16
|
+
{
|
|
17
|
+
"path": "corpus/win-fulfillment.md",
|
|
18
|
+
"content": "# Fulfillment Note\nDate: 2026-06-24\nSource: win-fulfillment.md\n\nThe packing cell cleared a two-day backlog after introducing color-coded shelf labels. Error reships dropped from 19 last week to 7 this week.\n"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"path": "corpus/watchout-carrier.md",
|
|
22
|
+
"content": "# Carrier Watchout\nDate: 2026-06-25\nSource: watchout-carrier.md\n\nNorthline carrier scans are arriving up to 14 hours late for Zone 5 parcels. Customer support is seeing duplicate status tickets from premium subscribers.\n"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"path": "corpus/action-finance.md",
|
|
26
|
+
"content": "# Finance Action\nDate: 2026-06-26\nSource: action-finance.md\n\nFinance needs the exception export by Tuesday noon so it can approve the pilot automation budget before the July planning meeting.\n"
|
|
27
|
+
}
|
|
28
|
+
],
|
|
29
|
+
"worker": {
|
|
30
|
+
"name": "Jules",
|
|
31
|
+
"role": "Developer"
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"mocks": [],
|
|
35
|
+
"success": {
|
|
36
|
+
"summary": "A craftbook task produces scoped citation rules, a source-grounded artifact draft, and a complete email-ready workspace/digest.html.",
|
|
37
|
+
"deliverables": [
|
|
38
|
+
{
|
|
39
|
+
"path": "digest.html",
|
|
40
|
+
"kind": "html-page",
|
|
41
|
+
"minBytes": 2200,
|
|
42
|
+
"checks": [
|
|
43
|
+
{
|
|
44
|
+
"kind": "cssMinBytes",
|
|
45
|
+
"bytes": 350,
|
|
46
|
+
"file": "digest.html"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"kind": "contains",
|
|
50
|
+
"file": "digest.html",
|
|
51
|
+
"pattern": "Subject:",
|
|
52
|
+
"flags": "i"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"kind": "contains",
|
|
56
|
+
"file": "digest.html",
|
|
57
|
+
"pattern": "Wins[\\s\\S]*Watchouts[\\s\\S]*(?:Next Actions|Actions)",
|
|
58
|
+
"flags": "i"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"kind": "contains",
|
|
62
|
+
"file": "digest.html",
|
|
63
|
+
"pattern": "win-fulfillment\\.md"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"kind": "contains",
|
|
67
|
+
"file": "digest.html",
|
|
68
|
+
"pattern": "watchout-carrier\\.md"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"kind": "contains",
|
|
72
|
+
"file": "digest.html",
|
|
73
|
+
"pattern": "action-finance\\.md"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"kind": "contains",
|
|
77
|
+
"file": "digest.html",
|
|
78
|
+
"pattern": "19[\\s\\S]*7|7[\\s\\S]*19"
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"kind": "contains",
|
|
82
|
+
"file": "digest.html",
|
|
83
|
+
"pattern": "14 hours|Tuesday noon",
|
|
84
|
+
"flags": "i"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"kind": "notContains",
|
|
88
|
+
"file": "digest.html",
|
|
89
|
+
"pattern": "<script\\b|https?://",
|
|
90
|
+
"flags": "i"
|
|
91
|
+
}
|
|
92
|
+
]
|
|
93
|
+
}
|
|
94
|
+
],
|
|
95
|
+
"checks": [
|
|
96
|
+
{
|
|
97
|
+
"kind": "minBytes",
|
|
98
|
+
"file": "digest/scope.md",
|
|
99
|
+
"bytes": 500,
|
|
100
|
+
"artifact": true
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"kind": "contains",
|
|
104
|
+
"file": "digest/scope.md",
|
|
105
|
+
"pattern": "(?:citation|source)[\\s\\S]*(?:window|fresh|date)",
|
|
106
|
+
"flags": "i",
|
|
107
|
+
"artifact": true
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"kind": "minBytes",
|
|
111
|
+
"file": "digest/draft.md",
|
|
112
|
+
"bytes": 700,
|
|
113
|
+
"artifact": true
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"kind": "contains",
|
|
117
|
+
"file": "digest/draft.md",
|
|
118
|
+
"pattern": "subject\\s*:[\\s\\S]*win-fulfillment\\.md[\\s\\S]*watchout-carrier\\.md[\\s\\S]*action-finance\\.md",
|
|
119
|
+
"flags": "i",
|
|
120
|
+
"artifact": true
|
|
121
|
+
}
|
|
122
|
+
],
|
|
123
|
+
"taskNotes": {
|
|
124
|
+
"minBytes": 160,
|
|
125
|
+
"checks": [
|
|
126
|
+
{
|
|
127
|
+
"kind": "contains",
|
|
128
|
+
"file": "task-notes.md",
|
|
129
|
+
"pattern": "scope\\.md",
|
|
130
|
+
"flags": "i"
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"kind": "contains",
|
|
134
|
+
"file": "task-notes.md",
|
|
135
|
+
"pattern": "draft\\.md",
|
|
136
|
+
"flags": "i"
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"kind": "contains",
|
|
140
|
+
"file": "task-notes.md",
|
|
141
|
+
"pattern": "digest\\.html",
|
|
142
|
+
"flags": "i"
|
|
143
|
+
}
|
|
144
|
+
],
|
|
145
|
+
"requireCraftbookTask": true
|
|
146
|
+
},
|
|
147
|
+
"taskGraph": {
|
|
148
|
+
"requireCraftbookTask": true,
|
|
149
|
+
"requireTerminalStep": true
|
|
150
|
+
},
|
|
151
|
+
"unchangedFixtures": [
|
|
152
|
+
"corpus/win-fulfillment.md",
|
|
153
|
+
"corpus/watchout-carrier.md",
|
|
154
|
+
"corpus/action-finance.md"
|
|
155
|
+
]
|
|
156
|
+
},
|
|
157
|
+
"rubric": {
|
|
158
|
+
"artifact": {
|
|
159
|
+
"path": "digest.html",
|
|
160
|
+
"kind": "html"
|
|
161
|
+
},
|
|
162
|
+
"axes": [
|
|
163
|
+
{
|
|
164
|
+
"name": "grounding",
|
|
165
|
+
"description": "Every digest item preserves a source fact and names the adjacent source without invented operational detail."
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"name": "scannability",
|
|
169
|
+
"description": "The subject, sections, hierarchy, and one-line items can be understood in under a minute."
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
"name": "email readiness",
|
|
173
|
+
"description": "The HTML is self-contained, conservatively styled, and readable in an email-client-shaped viewport."
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
"name": "workflow evidence",
|
|
177
|
+
"description": "Scope and draft artifacts are substantive and align with the final email."
|
|
178
|
+
}
|
|
179
|
+
]
|
|
180
|
+
},
|
|
181
|
+
"qualityFocus": [
|
|
182
|
+
"craftbook attribution",
|
|
183
|
+
"source-read enforcement",
|
|
184
|
+
"adjacent citations",
|
|
185
|
+
"artifact-to-workspace handoff"
|
|
186
|
+
]
|
|
187
|
+
}
|