Commit b41323a
committed
feat(ca-demo): frozen middle results record their workflow lineage
User question exposed the gap: middle results were stored BESIDE the
frozen workflow (linked only by the inspector's heuristic), not
structurally attached to it. The artifact now records plan_hash and
produced_by_step at freeze time; revisions inherit the lineage. Design
kept deliberate: the plan envelope stays a question-agnostic TEMPLATE
(embedding per-question instances would bloat and conflate it) — middle
results are per-task-input instances that REFERENCE their plan. The
inspector attaches artifacts to workflow cards by recorded lineage
(heuristic fallback for pre-lineage records) and renders the lineage on
each card. Lineage pinned by tests incl. revision inheritance.1 parent 9592610 commit b41323a
3 files changed
Lines changed: 74 additions & 18 deletions
File tree
- contributing/samples/workflows/authored_workflow_ca_demo
- bq_ca_planner
Lines changed: 16 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1444 | 1444 | | |
1445 | 1445 | | |
1446 | 1446 | | |
| 1447 | + | |
| 1448 | + | |
1447 | 1449 | | |
1448 | 1450 | | |
1449 | 1451 | | |
| |||
1476 | 1478 | | |
1477 | 1479 | | |
1478 | 1480 | | |
| 1481 | + | |
| 1482 | + | |
| 1483 | + | |
| 1484 | + | |
| 1485 | + | |
| 1486 | + | |
| 1487 | + | |
| 1488 | + | |
1479 | 1489 | | |
1480 | 1490 | | |
1481 | 1491 | | |
| |||
1836 | 1846 | | |
1837 | 1847 | | |
1838 | 1848 | | |
1839 | | - | |
| 1849 | + | |
1840 | 1850 | | |
1841 | | - | |
1842 | | - | |
| 1851 | + | |
| 1852 | + | |
1843 | 1853 | | |
1844 | 1854 | | |
1845 | | - | |
| 1855 | + | |
1846 | 1856 | | |
1847 | 1857 | | |
1848 | 1858 | | |
1849 | 1859 | | |
1850 | 1860 | | |
1851 | 1861 | | |
1852 | 1862 | | |
| 1863 | + | |
| 1864 | + | |
1853 | 1865 | | |
1854 | 1866 | | |
1855 | 1867 | | |
| |||
Lines changed: 42 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
183 | 190 | | |
184 | | - | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | | - | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
190 | 204 | | |
191 | 205 | | |
192 | 206 | | |
| |||
206 | 220 | | |
207 | 221 | | |
208 | 222 | | |
209 | | - | |
210 | | - | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
211 | 233 | | |
212 | 234 | | |
213 | 235 | | |
| |||
216 | 238 | | |
217 | 239 | | |
218 | 240 | | |
219 | | - | |
| 241 | + | |
220 | 242 | | |
221 | 243 | | |
222 | 244 | | |
| |||
440 | 462 | | |
441 | 463 | | |
442 | 464 | | |
443 | | - | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
444 | 472 | | |
445 | 473 | | |
446 | 474 | | |
| |||
Lines changed: 16 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1139 | 1139 | | |
1140 | 1140 | | |
1141 | 1141 | | |
| 1142 | + | |
| 1143 | + | |
| 1144 | + | |
| 1145 | + | |
| 1146 | + | |
| 1147 | + | |
| 1148 | + | |
| 1149 | + | |
| 1150 | + | |
| 1151 | + | |
| 1152 | + | |
| 1153 | + | |
| 1154 | + | |
| 1155 | + | |
| 1156 | + | |
| 1157 | + | |
1142 | 1158 | | |
1143 | 1159 | | |
1144 | 1160 | | |
| |||
0 commit comments