@metabase/cli 0.3.0-alpha.extract-api-client.e9b2dd5 → 0.3.1-alpha.fix-transform-test-ee-path.a3ca6dd
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/dist/{add-collection-B3Ty8SzB.mjs → add-collection-BEg-1pt8.mjs} +6 -9
- package/dist/{alert-DT-ee7yf.mjs → alert-CBwtJ3lE.mjs} +7 -7
- package/dist/{alerts-Bf2RH_p_.mjs → alerts-Bn9ZhFYK.mjs} +7 -7
- package/dist/{append-DFzQRPMd.mjs → append-F7kfyk0p.mjs} +6 -5
- package/dist/{archive-ByvA49Kz.mjs → archive-2VqBgcyE.mjs} +5 -5
- package/dist/{archive-4tmm946K.mjs → archive-3_KVbxIk.mjs} +4 -4
- package/dist/{archive-Cd29QC0c.mjs → archive-7tZyaUWv.mjs} +4 -4
- package/dist/{archive-Dr9Xnx_Z.mjs → archive-Bonv-Hcf.mjs} +6 -6
- package/dist/{archive-C7w49Grr.mjs → archive-BzEvapLz.mjs} +6 -6
- package/dist/{archive-CwAdlv63.mjs → archive-CAwDiQWt2.mjs} +6 -6
- package/dist/{archive-lQqs13Uz.mjs → archive-CE-RKcle.mjs} +6 -6
- package/dist/{archive-B6eXiyER.mjs → archive-Da3-hnRM.mjs} +4 -4
- package/dist/{archive-gid9Y09v.mjs → archive-IBHOtOMk.mjs} +4 -4
- package/dist/{archive-BxNPHxOY.mjs → archive-TBo05bZZ.mjs} +6 -6
- package/dist/{archive-ChORH5JH.mjs → archive-k79AXZhh.mjs} +4 -4
- package/dist/{auth-Dltxua89.mjs → auth-CLZuUSzL.mjs} +5 -5
- package/dist/{body-Cur4NJt9.mjs → body-Q8iNnt-X.mjs} +3 -3
- package/dist/{branches-DchlyU0i.mjs → branches-CjMIMKse.mjs} +4 -7
- package/dist/{cancel-BMQa5R1Z.mjs → cancel-H4vYr5Jv.mjs} +4 -4
- package/dist/{cancel-task-C5CU1pxU.mjs → cancel-task-p09LCbgs.mjs} +5 -8
- package/dist/{card-zyUkr2nS.mjs → card-CEkp1mcI.mjs} +1 -1
- package/dist/card-DlVb10D3.mjs +24 -0
- package/dist/{card-DZxRmver.mjs → card-voh1k4hl.mjs} +14 -11
- package/dist/{cards-SccWvRQD.mjs → cards-DDG6RObF.mjs} +7 -7
- package/dist/cli.mjs +567 -68
- package/dist/client-toDDqakD.mjs +4093 -0
- package/dist/{collection-CfulNRBG.mjs → collection-BxdPxD38.mjs} +1 -1
- package/dist/{collection-CGoVLvcD.mjs → collection-DYM0p3Xl.mjs} +1 -1
- package/dist/{collection-namespace-GwydWBF3.mjs → collection-namespace-DDI9-HgU.mjs} +2 -2
- package/dist/collection-p_sficxo.mjs +20 -0
- package/dist/content-translation-BrHOrmj9.mjs +5 -0
- package/dist/content-translation-DcTEH_d7.mjs +12 -0
- package/dist/{create-CAWytBE5.mjs → create-BLxdMJgQ.mjs} +5 -5
- package/dist/{create-BNQ_DytP.mjs → create-BPN1cX7b.mjs} +4 -4
- package/dist/{create-CHQx7jq4.mjs → create-BjCpsMQM.mjs} +5 -5
- package/dist/{create-CD008jdE.mjs → create-BovrhBQn.mjs} +12 -8
- package/dist/{create-DV-Ln5Mo.mjs → create-CVCPD-1F.mjs} +4 -4
- package/dist/{create-DJmXXQoq.mjs → create-CVPGOx7u2.mjs} +8 -8
- package/dist/{create-Beh-2uoN.mjs → create-Chs5c8vx.mjs} +6 -6
- package/dist/{create-BOLwWt8Q.mjs → create-D04fl6ec.mjs} +5 -5
- package/dist/{create-C79vErX0.mjs → create-D5mN20oE.mjs} +7 -7
- package/dist/{create-DF4QtgDL.mjs → create-D88Im3X22.mjs} +6 -6
- package/dist/{create-tQbnuz-I.mjs → create-DQfOV9Sm.mjs} +6 -6
- package/dist/{create-CCh_LyW9.mjs → create-DWU4j22P.mjs} +4 -4
- package/dist/create-DjP2yUyn.mjs +34 -0
- package/dist/{create-CAQV2g6V.mjs → create-Dk6Zm3ZH.mjs} +7 -7
- package/dist/{create-zeveFdnd.mjs → create-DkmeJGMy.mjs} +5 -8
- package/dist/{create-i14Wv3Tj.mjs → create-TQr3briq.mjs} +4 -4
- package/dist/{create-branch-CYo6jZth.mjs → create-branch-Bs6BlkgQ.mjs} +5 -9
- package/dist/{csv-B2Jgb1GM.mjs → csv-BsN6FmY-.mjs} +6 -5
- package/dist/{current-task-MpBFGttd.mjs → current-task-cCmLLVcv.mjs} +5 -8
- package/dist/{dashboard-BHJBoaG7.mjs → dashboard-CpIEKEgu.mjs} +10 -10
- package/dist/{dashboard-BCpSq_G-.mjs → dashboard-D0hwTC-f.mjs} +12 -2
- package/dist/{dashboard-CsIFFpzK.mjs → dashboard-DgK81azj.mjs} +1 -1
- package/dist/{database-B19qlLKZ.mjs → database-C3E9PZSx.mjs} +1 -1
- package/dist/{database-C8G6ZKG0.mjs → database-JtHTqSpq.mjs} +1 -1
- package/dist/{db-DsfojyeH.mjs → db-BbvcmfWM.mjs} +7 -7
- package/dist/{delete-B8e01xAG.mjs → delete-C4_rcfNu.mjs} +5 -5
- package/dist/delete-CLdDYdYG.mjs +44 -0
- package/dist/{delete-DFmX7jTp.mjs → delete-D13SLwhr.mjs} +5 -5
- package/dist/{delete-Ob06PPie.mjs → delete-D3-jMLu5.mjs} +5 -5
- package/dist/{delete-BApOjQvl.mjs → delete-DLirF5iq.mjs} +5 -5
- package/dist/{delete-Ck0q4Dzp.mjs → delete-JBjvxdIU.mjs} +5 -5
- package/dist/{delete-runtime-D74s6vhu.mjs → delete-runtime-BKEzJn22.mjs} +1 -2
- package/dist/{delete-table-DuyhGrvA.mjs → delete-table-Gwk7JL5c.mjs} +5 -5
- package/dist/{dependencies-Bj3QrGIm.mjs → dependencies-B7vl9Ovb.mjs} +7 -7
- package/dist/{dirty-DNYoM6Bp.mjs → dirty-CIZeASXG.mjs} +6 -9
- package/dist/{document-Cd2mmqCp.mjs → document-BHpLJbKU.mjs} +5 -0
- package/dist/{document-D6OybtP2.mjs → document-CA0Q6lqu.mjs} +1 -1
- package/dist/document-ceJW4VuL.mjs +19 -0
- package/dist/download-B-krJch0.mjs +25 -0
- package/dist/{eid-WTZmDdsr.mjs → eid-C0D92gZW.mjs} +4 -5
- package/dist/{events-Bn7jh5lP.mjs → events-CuLeaey6.mjs} +5 -5
- package/dist/{export-BjfoZRDJ.mjs → export-DeuLpt3x.mjs} +7 -10
- package/dist/{field-Zau6Hc6X.mjs → field-B8Hndt4p.mjs} +5 -5
- package/dist/{field-Cr2DPUG9.mjs → field-CcN4oZy6.mjs} +16 -1
- package/dist/{field-BPsNa-TO.mjs → field-fDtIrY6D.mjs} +1 -1
- package/dist/{fields-CBBa-Prp.mjs → fields-CAchmFh4.mjs} +7 -7
- package/dist/{get-CDJFVvhj.mjs → get-BH3Tgfgf.mjs} +4 -4
- package/dist/{get-CDMGbgrh.mjs → get-BJOxfbDP.mjs} +4 -4
- package/dist/{get-B_xdF1kq.mjs → get-BOjTqIMx.mjs} +6 -6
- package/dist/{get-D_h-G9bn.mjs → get-C1BPEbyl.mjs} +6 -6
- package/dist/{get-Dmj9Ygz1.mjs → get-C8dcHjd6.mjs} +6 -6
- package/dist/{get-DkWO0EI0.mjs → get-CArTALOt.mjs} +6 -6
- package/dist/get-CMCAgpxn.mjs +93 -0
- package/dist/{get-CnbUCzDM.mjs → get-CjDHpz6A.mjs} +4 -4
- package/dist/{get-ByBOq30r.mjs → get-ClNkea9I.mjs} +6 -6
- package/dist/{get-DRvsATp-.mjs → get-CvAMxfPD.mjs} +6 -6
- package/dist/{get-B7sMgsFs.mjs → get-D8qaSSEH.mjs} +4 -4
- package/dist/{get-00lyLv6R.mjs → get-DCvnNk3f.mjs} +6 -6
- package/dist/{get-DY03Azx9.mjs → get-DEwfm3Yl.mjs} +5 -8
- package/dist/{get-C2-Q3iQ5.mjs → get-DXWrGwWH.mjs} +4 -4
- package/dist/get-DbXTkB4u.mjs +32 -0
- package/dist/{get-DYO1kywc.mjs → get-DvF9oooq.mjs} +5 -5
- package/dist/{get-DdsoHaKH.mjs → get-d055CJ1T.mjs} +4 -4
- package/dist/{get-Bz99dAxK.mjs → get-kBTeBtLe.mjs} +6 -6
- package/dist/{get-DmpB6J9g.mjs → get-ohue3YrV2.mjs} +6 -6
- package/dist/{get-run-Cnux9ln0.mjs → get-run-X6zhp0dW.mjs} +6 -6
- package/dist/{get-Dn9ZiSZr.mjs → get-wIZrb7oN.mjs} +6 -6
- package/dist/git-sync-BkTmSgdD.mjs +28 -0
- package/dist/{git-sync-BDnxPrqU.mjs → git-sync-BwBRmEhE.mjs} +18 -1
- package/dist/{git-sync-DxD_ng48.mjs → git-sync-TjX1r_wF.mjs} +1 -1
- package/dist/{group-DBM87IgC.mjs → group-YQQ5GIcP.mjs} +2 -2
- package/dist/{has-remote-changes-C684Redh.mjs → has-remote-changes-zCtdEGs-.mjs} +5 -8
- package/dist/{import-Rmmttboo.mjs → import-DkAy_Xi8.mjs} +7 -10
- package/dist/{input-DH9i67x_.mjs → input-DEvkIjGr.mjs} +1 -1
- package/dist/{is-dirty-DYeJYhBz.mjs → is-dirty-Dfk2Xf-W.mjs} +3 -6
- package/dist/{items-CQlPXBXE.mjs → items-CiSBrc9d.mjs} +7 -7
- package/dist/{key-BEhqIzIQ.mjs → key-PYetuQ13.mjs} +1 -1
- package/dist/library-BPIzb3K_.mjs +81 -0
- package/dist/{library-Bsm5KsFF.mjs → library-FBj2Je-M.mjs} +5 -5
- package/dist/{library-DfYAT2Ep.mjs → library-PGCfm0UA.mjs} +1 -1
- package/dist/list-9CJczyF5.mjs +60 -0
- package/dist/{list-DE9FM957.mjs → list-B6tDzQsv.mjs} +4 -4
- package/dist/{list-BtkWNtvY.mjs → list-BDJkJc8s.mjs} +7 -7
- package/dist/{list-BzVTHOoH.mjs → list-Br0g0oDR.mjs} +6 -6
- package/dist/{list-CNUiF8Z7.mjs → list-C9-2J0Nu.mjs} +6 -6
- package/dist/{list-B4hJuMhA.mjs → list-CGjdrAhT.mjs} +7 -7
- package/dist/{list-BtmsNOEn.mjs → list-CHOJQ1uR.mjs} +4 -4
- package/dist/{list-CKK-s3Ty.mjs → list-CK4S_aDK.mjs} +4 -4
- package/dist/{list-C5Zs8nrb.mjs → list-CYONHM9n.mjs} +6 -6
- package/dist/{list-CQwOgIlj.mjs → list-CrwbvMEG.mjs} +6 -6
- package/dist/{list-BOET6zhP.mjs → list-D6WZmnG_.mjs} +4 -4
- package/dist/{list-DMKDsBRd.mjs → list-DD_tjCmP.mjs} +7 -7
- package/dist/{list-DF2rvoO1.mjs → list-Dqv3nOEe.mjs} +14 -13
- package/dist/{list-CQDprvW0.mjs → list-Hjsg2N8L.mjs} +7 -7
- package/dist/{list-CMpoc2TN.mjs → list-M4Twal0d.mjs} +5 -5
- package/dist/{list-BpFp9Wre.mjs → list-UbzhJFFn.mjs} +4 -4
- package/dist/list-W5y4079U.mjs +35 -0
- package/dist/{list-BP3MPq-M.mjs → list-f5HIVoLN.mjs} +4 -4
- package/dist/{list-B8nAGwP4.mjs → list-uCAP4vmQ.mjs} +6 -6
- package/dist/{login-CGHeSjlP.mjs → login-CIzUMkf3.mjs} +15 -12
- package/dist/{logout-DAxOlbv4.mjs → logout-CRm_AaoF.mjs} +3 -4
- package/dist/{measure-BsYv0p26.mjs → measure-DPXeIN18.mjs} +6 -6
- package/dist/{notification-Fcq1fIPw.mjs → notification-DVrLkjFT.mjs} +1 -1
- package/dist/{parameter-DUKR8NXo.mjs → parameter-Celg0wZa.mjs} +1 -1
- package/dist/{parameter-values-CJTdqd8c.mjs → parameter-values-rOHoy3k0.mjs} +5 -6
- package/dist/{parse-enum-D0Jfm_Bz.mjs → parse-enum-Dc0dMZ3P.mjs} +1 -1
- package/dist/{parse-id-C_jmKFaa.mjs → parse-id-CYZAIB58.mjs} +1 -1
- package/dist/{parse-ref-ibKVB0J4.mjs → parse-ref-DTDld_LJ.mjs} +1 -1
- package/dist/{path-B5gHvrYL.mjs → path-D9_unWc1.mjs} +5 -5
- package/dist/{poll-75SvT7Zv.mjs → poll-CZeXepUQ.mjs} +2 -2
- package/dist/{preflight-YpPQo-sa.mjs → preflight-BIxRV-bm.mjs} +3 -4
- package/dist/{process-DBOOrmET.mjs → process-CTrfxxaC.mjs} +1 -1
- package/dist/{publish-DijrxaCW.mjs → publish-N509vd0U.mjs} +9 -9
- package/dist/{pulse-BmsDenXm.mjs → pulse-Dz0ocv0l.mjs} +1 -1
- package/dist/{pulse-DhG6I9mI.mjs → pulse-x0gFxWfG.mjs} +2 -2
- package/dist/{query-Dc__-KJH.mjs → query-JvMjF22L.mjs} +9 -10
- package/dist/{query-result-DBDwk8TS.mjs → query-result-E4Q-Gra6.mjs} +1 -1
- package/dist/{query-BbqECzmF.mjs → query-yh5Wkfmc.mjs} +11 -18
- package/dist/{remove-collection-BOnxYvhj.mjs → remove-collection-B0E0dlZt.mjs} +6 -9
- package/dist/{render-CI93iP0I.mjs → render-Tlz6OCMU.mjs} +13 -2
- package/dist/{replace-Cq4CxVa-.mjs → replace-BwbYo6-2.mjs} +6 -5
- package/dist/{rescan-values-Dr_j416g.mjs → rescan-values-BiMPb5Z5.mjs} +6 -6
- package/dist/{run-DdGJ544X.mjs → run-B9aA1aNI.mjs} +26 -14
- package/dist/run-D37ntUQo.mjs +50 -0
- package/dist/{run-C3DkS6NP.mjs → run-Dbh3nvzF.mjs} +6 -6
- package/dist/{runs-CUNWiidL.mjs → runs-BuUzKR-x.mjs} +7 -7
- package/dist/{runtime-DiKyBxOw.mjs → runtime-CwhhhwcB.mjs} +946 -246
- package/dist/{schema-tables-CV386fnC.mjs → schema-tables-9PvvygPu.mjs} +7 -7
- package/dist/{schemas-DM-UqZBQ.mjs → schemas-DqkQI39t.mjs} +5 -5
- package/dist/{search-DFBwUc6d.mjs → search-BAXg-EJw.mjs} +2 -1
- package/dist/{search-DmGScXs8.mjs → search-BjAwR-oP.mjs} +6 -6
- package/dist/{segment-BzUGM2Fr.mjs → segment-1nBcugv8.mjs} +6 -6
- package/dist/{selectors-DGDn0Hto.mjs → selectors-DFNdyhPn.mjs} +3 -3
- package/dist/{send-CVxxEpDB.mjs → send-D4tYN3aN.mjs} +4 -4
- package/dist/{set-DFolTjbd.mjs → set-D_Mh2eVO.mjs} +5 -5
- package/dist/{set-active-BD8L1lPX.mjs → set-active-jY5VZsO8.mjs} +5 -5
- package/dist/{setting-DyhaeICs.mjs → setting-9ULb5wjN.mjs} +4 -4
- package/dist/{setup-BbDQN8fe.mjs → setup-DMaIuuCV.mjs} +4 -4
- package/dist/{signal-CMd0EFUa.mjs → signal-k7cm5N6h.mjs} +11 -2
- package/dist/skill-list-Bucy7UE2.mjs +76 -0
- package/dist/{skills--vK6J-e4.mjs → skills-Dyfqgobg.mjs} +3 -3
- package/dist/skills-PjjRtYqi.mjs +351 -0
- package/dist/snippet-DNoTIGAs.mjs +19 -0
- package/dist/{stash-D0S4JmAz.mjs → stash-C6BEM6_u.mjs} +7 -11
- package/dist/{status-BhswxJL1.mjs → status-DiP093Vm.mjs} +11 -9
- package/dist/{status-hL1am-HV.mjs → status-wAg5ajzM.mjs} +12 -11
- package/dist/stream-McixcoUl.mjs +7 -0
- package/dist/{subscription-_d5fB45F.mjs → subscription-CEeI0pSr.mjs} +6 -6
- package/dist/{subscriptions-s4TF6Ax3.mjs → subscriptions-B9cMNuIS.mjs} +7 -7
- package/dist/{summary-CsPvcUwW.mjs → summary-D0NP2NoT.mjs} +6 -6
- package/dist/{sync-schema-DaZ_MV-u.mjs → sync-schema-BgJ6KEqa.mjs} +7 -7
- package/dist/{sync-task-BACcrs0i.mjs → sync-task-BXeWuARG.mjs} +1 -1
- package/dist/{table-DYoC1kPn.mjs → table-9bTG6zSa.mjs} +5 -5
- package/dist/{table-CsIJNPFf.mjs → table-C6h4tIRw.mjs} +1 -1
- package/dist/{table-CeeTJgQb.mjs → table-DfuY0N8e.mjs} +51 -4
- package/dist/timeline-Ck53UgDh.mjs +21 -0
- package/dist/{timeline-event-CNQdCTDg.mjs → timeline-event-POmQ2TD2.mjs} +6 -6
- package/dist/transform-BC39AgQF.mjs +28 -0
- package/dist/{transform-DoTyyXAu.mjs → transform-CtqB1WYo.mjs} +2 -2
- package/dist/{transform-D3QX0jxA.mjs → transform-DiW7bREn.mjs} +68 -5
- package/dist/{transform-job-50GZHhKH.mjs → transform-job-AaMZRxAq.mjs} +1 -1
- package/dist/{transform-job-DRrK28IH.mjs → transform-job-CCguL6LP.mjs} +41 -4
- package/dist/transform-job-D-zUFmZU.mjs +22 -0
- package/dist/{transform-tag-_tgwlsdB.mjs → transform-tag-CP7FRU5G.mjs} +5 -5
- package/dist/transform-test-BjjCQ2xm.mjs +169 -0
- package/dist/transform-test-CKNQS_kC.mjs +16 -0
- package/dist/transform-test-gzDcbypy.mjs +25 -0
- package/dist/{transforms-oU4zizbO.mjs → transforms-DDSNP4eL.mjs} +7 -7
- package/dist/{tree-CH-f3bjP.mjs → tree-CAnMS2dm.mjs} +4 -5
- package/dist/{unpublish-BUl9RU5C.mjs → unpublish-DF1XQMWJ.mjs} +4 -7
- package/dist/{update-BZPllQoR.mjs → update-BS1yiwOO.mjs} +5 -5
- package/dist/{update-CO4m4wH3.mjs → update-Bb89y-0M.mjs} +8 -8
- package/dist/{update-C4YJQFDS.mjs → update-BbiVvdm1.mjs} +7 -7
- package/dist/{update-BCS5FxKr.mjs → update-BcdLQu7-.mjs} +9 -9
- package/dist/{update-cYkvbqK8.mjs → update-BjcWwrPc.mjs} +5 -5
- package/dist/{update-tX9mKBN_.mjs → update-BoJJ6Gel.mjs} +9 -9
- package/dist/{update-CHNSUHK4.mjs → update-C09GGTjN.mjs} +5 -5
- package/dist/{update-BzMDeZiU.mjs → update-C33R41eM.mjs} +7 -7
- package/dist/{update-CmDTljK-.mjs → update-C6KQZMDF.mjs} +7 -7
- package/dist/{update-bD_Jh5-s.mjs → update-CFqdElFO.mjs} +6 -6
- package/dist/{update-CVPAwJaH.mjs → update-CHsXoUJQ.mjs} +6 -6
- package/dist/update-CaJO1rWk.mjs +41 -0
- package/dist/{update-CvOO8TED.mjs → update-CmXGZPCR.mjs} +7 -7
- package/dist/{update-D-NE60AV.mjs → update-DFJSD3_l.mjs} +7 -7
- package/dist/{update-Nfi44RrE.mjs → update-DOeBAoul.mjs} +6 -6
- package/dist/{update-BiFDBcEH.mjs → update-DiowA7ud.mjs} +5 -5
- package/dist/{update-dashcard-C3TuYO_k.mjs → update-dashcard-DSL6Bogg.mjs} +7 -7
- package/dist/{upgrade-DXMV4AyP.mjs → upgrade-CBxr91bH.mjs} +6 -8
- package/dist/upload-C3z5ZaXA.mjs +24 -0
- package/dist/upload-CSHcnonI.mjs +13 -0
- package/dist/upload-DTyF-p8X.mjs +39 -0
- package/dist/upload-Do2PBSeH.mjs +23 -0
- package/dist/{uuid-BJkDWj9p.mjs → uuid-CwEbjDp8.mjs} +3 -4
- package/dist/{validate-BWchyW0V.mjs → validate-EAB-1EkK.mjs} +1 -1
- package/dist/{validate-query-DaGYSmpQ.mjs → validate-query-CQG86147.mjs} +2 -3
- package/dist/{values-Dxf1JEoA.mjs → values-69IZEVXu.mjs} +6 -6
- package/dist/{verify-K96rItG5.mjs → verify-Dg5YBI0l.mjs} +3 -18
- package/dist/{wait-DoMDH226.mjs → wait-DVXEJXd3.mjs} +7 -10
- package/dist/{wait-flags-DWEF9tX4.mjs → wait-flags-CkRgnfww.mjs} +2 -2
- package/dist/{window-BkvrP0gB.mjs → window-DSb1tqSe.mjs} +1 -1
- package/package.json +1 -1
- package/skill-data/core/SKILL.md +31 -14
- package/skill-data/dashboard/SKILL.md +2 -2
- package/skill-data/data-workflow/references/building-clean-tables.md +6 -2
- package/skill-data/data-workflow/references/reusable-definitions.md +11 -3
- package/skill-data/document/SKILL.md +4 -1
- package/skill-data/git-sync/SKILL.md +5 -0
- package/skill-data/mbql/SKILL.md +1 -1
- package/skill-data/mbql/references/operators.md +20 -15
- package/skill-data/metadata/SKILL.md +1 -1
- package/skill-data/metadata/references/semantic-types.md +7 -1
- package/skill-data/native-sql/references/template-tags.md +6 -2
- package/skill-data/notification/SKILL.md +7 -1
- package/skill-data/transform/SKILL.md +75 -3
- package/skill-data/transform-test-plan/SKILL.md +171 -0
- package/skill-data/transform-test-plan/references/checklist.md +81 -0
- package/skill-data/transform-test-plan/references/checks.md +259 -0
- package/skill-data/visualization/SKILL.md +11 -3
- package/skill-data/visualization/references/settings.md +6 -4
- package/skills/metabase-cli/SKILL.md +1 -1
- package/dist/card-CHI2bmds.mjs +0 -24
- package/dist/client-BqhzKdLM.mjs +0 -2194
- package/dist/collection-CY0AB99E.mjs +0 -20
- package/dist/document-BbskZPTT.mjs +0 -19
- package/dist/get-CvI--9S_.mjs +0 -80
- package/dist/git-sync-MQQYRYLg.mjs +0 -28
- package/dist/library-ClLgrAXy.mjs +0 -19
- package/dist/list-UhpKG6_m.mjs +0 -98
- package/dist/network-error-CEb9ymDW.mjs +0 -423
- package/dist/predicates-Bkm2IoeX.mjs +0 -170
- package/dist/skills-DTCrMcix.mjs +0 -216
- package/dist/snippet-DRwKb2x7.mjs +0 -19
- package/dist/timeline-xlDbEKWg.mjs +0 -21
- package/dist/transform-Bs0EWijQ.mjs +0 -28
- package/dist/transform-job-BcLChRup.mjs +0 -22
- package/dist/upload-CH632qW6.mjs +0 -46
- package/dist/upload-Dey_8rLf.mjs +0 -13
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: transform
|
|
3
|
-
description: Author and run Metabase transforms via `mb` — body shape (native SQL or structured MBQL), create + run-with-wait, run inspection, dependencies, cancel, the `update`-vs-recreate iteration rule, the writable-keys-only PATCH contract, plus transform tags and tag-driven transform-job schedules. Load when the user touches transforms — "create a transform", "run a transform", "fix a failing transform", "list transform runs", "cancel a running transform", "manage transform tags", "run a transform job", or anything `mb transform …` / `mb transform-job …` / `mb transform-tag …`.
|
|
3
|
+
description: Author and run Metabase transforms via `mb` — body shape (native SQL or structured MBQL), create + run-with-wait, run inspection, dependencies, cancel, the `update`-vs-recreate iteration rule, the writable-keys-only PATCH contract, transform tests (fixtures and expectations run against temp tables), plus transform tags and tag-driven transform-job schedules. Load when the user touches transforms — "create a transform", "run a transform", "fix a failing transform", "test a transform", "list transform runs", "cancel a running transform", "manage transform tags", "run a transform job", or anything `mb transform …` / `mb transform-job …` / `mb transform-tag …` / `mb transform-test …`.
|
|
4
4
|
allowed-tools: Read, Write, Edit, Bash, AskUserQuestion
|
|
5
|
+
requires: [transforms]
|
|
5
6
|
---
|
|
6
7
|
|
|
7
8
|
# Transforms
|
|
@@ -67,7 +68,7 @@ TABLE_ID=$(mb transform run <id> --sync --profile <name> --json | jq -r '.target
|
|
|
67
68
|
mb table get "$TABLE_ID" --include fields --profile <name> --json # field ids for MBQL
|
|
68
69
|
```
|
|
69
70
|
|
|
70
|
-
On `target_table_id: null` (still syncing when the poll timed out; exit 0) re-poll `mb transform get <id> --
|
|
71
|
+
On `target_table_id: null` (still syncing when the poll timed out; exit 0) re-poll `mb transform get <id> --json` until `target_table_id` is a number.
|
|
71
72
|
|
|
72
73
|
Columns and types are inferred from the result set; change the SELECT shape and the next run fails on a column mismatch — drop the table first (`transform delete-table <id>`). A changed shape also needs a re-run with `--sync` before MBQL sees the new/renamed columns.
|
|
73
74
|
|
|
@@ -172,6 +173,68 @@ mb transform run "$ID" --wait --profile <n> --json # → succeeded
|
|
|
172
173
|
|
|
173
174
|
If you really must `create + delete` instead, do the `delete` **before** the first `git-sync export` so the failed entity never lands in git history — an export of a soft-failed state is noise that needs a follow-up cleanup commit. See `git-sync`, "Read state before mutating", for the ordering rule.
|
|
174
175
|
|
|
176
|
+
<!-- requires: transformTests -->
|
|
177
|
+
|
|
178
|
+
## Transform tests
|
|
179
|
+
|
|
180
|
+
A transform test replaces every table the transform reads with a fixture, runs it into a temp table, and checks that output. No real table is read or written.
|
|
181
|
+
|
|
182
|
+
```bash
|
|
183
|
+
mb transform-test list --transform <id> --profile <n> --json # --transform is optional
|
|
184
|
+
mb transform-test get <id> --full --profile <n> --json # --full for inputs/expectations
|
|
185
|
+
mb transform-test create --file ./.scratch/test.json --profile <n> --json
|
|
186
|
+
mb transform-test update <id> --file ./.scratch/patch.json --profile <n> --json
|
|
187
|
+
mb transform-test delete <id> --yes --profile <n>
|
|
188
|
+
mb transform-test run <id> --profile <n> --json # exits non-zero unless it passes
|
|
189
|
+
```
|
|
190
|
+
|
|
191
|
+
**`inputs`** — one per table the transform reads, each naming a `table` plus either `format: "sql"` with `sql`, or `format: "rows"` with `columns` (each a `name` and a `cast_type`) and `rows`.
|
|
192
|
+
|
|
193
|
+
**`cast_type` is a `CAST` target, not a column type**, and the two vocabularies differ per warehouse: MySQL casts to `SIGNED` and reports `INTEGER`; ClickHouse takes `Nullable(Int32)` for a column that is `Int64`. So a body is warehouse-specific — don't copy a `database_type` out of a run result into a `cast_type`, and don't expect one body to run everywhere.
|
|
194
|
+
|
|
195
|
+
**`expectations`** — `type: "empty"` with the `sql` that must return no rows, or `type: "equals"`, which needs the same `format` split as an input (`"rows"` with `columns`/`rows`, or `"sql"` with a query). An `equals` without a `format` is refused.
|
|
196
|
+
|
|
197
|
+
**An `empty` query may only name the transform's target table and its declared input tables.** Those are rewritten to the run's temp tables; any other table you name is left exactly as written and reads the real one — the single way a test run can touch production data.
|
|
198
|
+
|
|
199
|
+
```json
|
|
200
|
+
{
|
|
201
|
+
"transform_id": 1,
|
|
202
|
+
"name": "adults only",
|
|
203
|
+
"inputs": [
|
|
204
|
+
{
|
|
205
|
+
"table": { "schema": "public", "name": "people" },
|
|
206
|
+
"format": "rows",
|
|
207
|
+
"columns": [
|
|
208
|
+
{ "name": "id", "cast_type": "INTEGER" },
|
|
209
|
+
{ "name": "age", "cast_type": "INTEGER" }
|
|
210
|
+
],
|
|
211
|
+
"rows": [
|
|
212
|
+
{ "id": 1, "age": 30 },
|
|
213
|
+
{ "id": 2, "age": 12 }
|
|
214
|
+
]
|
|
215
|
+
}
|
|
216
|
+
],
|
|
217
|
+
"expectations": [
|
|
218
|
+
{
|
|
219
|
+
"type": "equals",
|
|
220
|
+
"name": "exactly one row, id 1",
|
|
221
|
+
"format": "rows",
|
|
222
|
+
"columns": [{ "name": "id", "cast_type": "INTEGER" }],
|
|
223
|
+
"rows": [{ "id": 1 }]
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
"type": "empty",
|
|
227
|
+
"name": "no null ids",
|
|
228
|
+
"sql": "SELECT * FROM public.adults WHERE id IS NULL"
|
|
229
|
+
}
|
|
230
|
+
]
|
|
231
|
+
}
|
|
232
|
+
```
|
|
233
|
+
|
|
234
|
+
Create and update bodies are closed — strip `id`, `entity_id`, `creator_id`, `created_at` and `updated_at` from a `get --full` body before sending it back.
|
|
235
|
+
|
|
236
|
+
<!-- /requires -->
|
|
237
|
+
|
|
175
238
|
## Drop the materialized table (keep the transform)
|
|
176
239
|
|
|
177
240
|
```bash
|
|
@@ -198,7 +261,16 @@ Key verbs (`mb transform-job --help` for the full list):
|
|
|
198
261
|
mb transform-job transforms <id> --profile <name> --json # preview which transforms this job resolves to (by tag)
|
|
199
262
|
mb transform-job run <id> --profile <name> --json # trigger a job now; runs all its tagged transforms
|
|
200
263
|
mb transform-job run <id> --force-refresh --profile <name> --json # also re-run dependencies that are already fresh
|
|
264
|
+
```
|
|
265
|
+
|
|
266
|
+
<!-- requires: transformJobActivation -->
|
|
267
|
+
|
|
268
|
+
```bash
|
|
201
269
|
mb transform-job set-active false --profile <name> --json # disable every job at once (true re-enables); admin only
|
|
202
270
|
```
|
|
203
271
|
|
|
204
|
-
|
|
272
|
+
<!-- /requires -->
|
|
273
|
+
|
|
274
|
+
Every job row carries `active`; it is `null` on a server that cannot switch jobs off, where every job runs on schedule.
|
|
275
|
+
|
|
276
|
+
`transform-job run` is fire-and-forget — it returns `{message, started, run_id}` immediately (both `null` when the server does not number job runs: the request was accepted and whether a run started is unsaid), with no per-job-run polling (no `--wait`). Most ad-hoc agent work is one-off `transform run`, not job authoring.
|
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: transform-test-plan
|
|
3
|
+
description: Derive a comprehensive test plan for a transform — the fixture cast, the expectations, hand-derived expected rows, and a coverage matrix — from the model's declared design. Covers input partitioning (zero-case, multiplicity, dirty rows), grain / conservation / recomputation / conformance checks, and known-quirk conventions. Load when the user wants tests planned or written for transforms — "write tests for my transforms", "is my model right", "test plan for this pipeline", "add data quality checks" — whether the model is mid-build or already deployed. The `mb transform-test` command and body shapes live in the `transform` skill; this one decides what to test.
|
|
4
|
+
allowed-tools: Read, Write, Edit, Bash, AskUserQuestion
|
|
5
|
+
requires: [transformTests]
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Planning transform tests
|
|
9
|
+
|
|
10
|
+
Turn a transform into a fixture cast that proves the logic on small known rows, expectations that
|
|
11
|
+
state the model's invariants, and a coverage matrix showing what's checked and what's deliberately
|
|
12
|
+
not. Mechanics — the `inputs`/`expectations` body shape and every `mb transform-test` verb — live in
|
|
13
|
+
the `transform` skill (`mb skills get transform`); load it before authoring, and never restate it
|
|
14
|
+
here.
|
|
15
|
+
|
|
16
|
+
Every check derives from what the model **declares** — detected from its SQL, confirmed with its
|
|
17
|
+
owner — never from conformance to a modeling doctrine. One plan serves two moments: while the model
|
|
18
|
+
is **built**, checks pin each design decision; once **deployed**, the same SQL screens production
|
|
19
|
+
tables for anomalies.
|
|
20
|
+
|
|
21
|
+
## Operating rules
|
|
22
|
+
|
|
23
|
+
- **Detect, then derive.** Classify what the transform is and which conventions it uses (the
|
|
24
|
+
checklist); derive checks only from that. Star, one-big-table, partial denormalization — all
|
|
25
|
+
fine; never flag a style.
|
|
26
|
+
- **Judgment calls go through the checklist.** The session's autonomy setting governs which answers
|
|
27
|
+
you supply yourself and which you bring to the user — it never makes the checklist a formality.
|
|
28
|
+
Every answer you supply yourself is recorded in the plan as a stated assumption, paired with the
|
|
29
|
+
named expectation that enforces it — reversing the decision then breaks a test, not a paragraph.
|
|
30
|
+
And regardless of setting, when genuinely unsure, ask — a wrong-but-confident grain poisons every
|
|
31
|
+
downstream check.
|
|
32
|
+
- **Expected rows are derived by hand** from the fixture story and business meaning — never captured
|
|
33
|
+
from the transform's output, which asserts only that the transform equals itself.
|
|
34
|
+
- **Batteries stay off until declared structure switches them on.** No snapshot-density checks
|
|
35
|
+
without a snapshot, no version-history checks without effective/end/current columns. An empty
|
|
36
|
+
section beats a speculative one.
|
|
37
|
+
|
|
38
|
+
## The procedure
|
|
39
|
+
|
|
40
|
+
1. **Profile the real inputs**: per table, row count; per column, min/max/distinct-count/null
|
|
41
|
+
incidence; orphan counts across declared links (`mb field summary`, `mb query`). Profiling feeds
|
|
42
|
+
domains, bounds, null partitions, and key candidates — and every fixture edge cites the real-data
|
|
43
|
+
condition that warrants it, with its count ("the warehouse has 67 ship-before-order rows").
|
|
44
|
+
2. **Detect.** Read the transform's SQL (`mb transform get <id> --full --json`) for: grain
|
|
45
|
+
candidates (`GROUP BY` keys, the joins' driving table), join types (orphan handling), correlated
|
|
46
|
+
aggregates (stored aggregates), `<entity>_<attr>` naming (copies), effective/end/current columns
|
|
47
|
+
(version history), `now()`/`current_date` (volatile columns). A transform whose grain you cannot
|
|
48
|
+
state in one phrase is itself a finding — raise it before writing any test.
|
|
49
|
+
3. **Confirm.** Walk [references/checklist.md](references/checklist.md). Three stages: classify the
|
|
50
|
+
model, per-table declarations, per-column declarations. Each question carries its detection hint;
|
|
51
|
+
answer autonomously where the hint resolves, ask where it doesn't. In build-along mode these are
|
|
52
|
+
design questions — treat an undecided answer as a decision to make together, not a blocker.
|
|
53
|
+
4. **Derive.** Route every output column through [references/checks.md](references/checks.md) —
|
|
54
|
+
declared property → expectation shape, fixture implication, expected-row convention. Read it in
|
|
55
|
+
full once per plan; it is the plan's content.
|
|
56
|
+
5. **Design the fixture cast**: one small cast per transform (≈5–10 rows per table), human-named
|
|
57
|
+
rows ("Alice Premium"), every row a named edge — zero-case entities for every outer join and
|
|
58
|
+
aggregation, ≥2-member groups for every grouping and join, one dirty row per screenable defect,
|
|
59
|
+
boundary dates. Document it as a table (row → attributes → purpose) in the plan.
|
|
60
|
+
|
|
61
|
+
Express the cast as literal rows rather than as a query, so the story stays legible in the test
|
|
62
|
+
itself; a query is worth it only when the rows are mechanical to generate. A cast is written
|
|
63
|
+
against one warehouse and does not carry to another.
|
|
64
|
+
|
|
65
|
+
6. **Hand-derive the expected rows**, arithmetic recorded in the plan (premium: 3 orders / 350.50 /
|
|
66
|
+
3.0). Every fixture row's fate appears in some expected cell. Pin NULL-vs-0-vs-empty for every
|
|
67
|
+
zero-case row — that cell is the null policy's only enforcement.
|
|
68
|
+
7. **Author the test.** One test per transform, per coherent story: an `equals` pinning the output,
|
|
69
|
+
and `empty` expectations stating the invariants that survive a change to the cast.
|
|
70
|
+
|
|
71
|
+
Give each expectation a name that states the invariant, because the name is what a
|
|
72
|
+
failure leads with ("revenue never negative", not "check 3"), and open each `empty` expectation's
|
|
73
|
+
SQL with a `--` contract comment: the invariant, and the failure modes it catches ("catches both
|
|
74
|
+
dropped orders and join fan-out").
|
|
75
|
+
|
|
76
|
+
Where one invariant applies to several transforms, duplicate the SQL. Nothing is shared between
|
|
77
|
+
tests, so give each copy its own name and comment rather than one that only makes sense next to
|
|
78
|
+
its twin.
|
|
79
|
+
|
|
80
|
+
8. **Emit the coverage matrix** in the plan: rows = output columns with the table's grain; columns =
|
|
81
|
+
check classes (grain, conservation, recomputation, conformance, domains, referential integrity,
|
|
82
|
+
temporal, screens); cells name the covering expectation or expected-row cell, or state
|
|
83
|
+
`gap: <reason>`. Scan shared-attribute columns across transforms for cross-table agreement
|
|
84
|
+
obligations. Empty cells are honest; silent gaps are not.
|
|
85
|
+
9. **Prove the tests have teeth.** Once per test: corrupt one expected cell, `run`, confirm
|
|
86
|
+
`cell-mismatches` names exactly that column; revert. Then perturb one input cell and confirm
|
|
87
|
+
exactly the declared output cells move. Every `empty` expectation passes against an empty output,
|
|
88
|
+
so a green test can still be vacuous.
|
|
89
|
+
|
|
90
|
+
## Severity: error, or the tolerated oddity
|
|
91
|
+
|
|
92
|
+
Every expectation is pass or fail, and one failure fails the run. **error** = forbidden, and it
|
|
93
|
+
becomes an `empty` expectation. There is no warn severity, so **never author an expectation you
|
|
94
|
+
expect to fire**: a permanently red test trains everyone to ignore the result, and a red run gates
|
|
95
|
+
everyone else's work.
|
|
96
|
+
|
|
97
|
+
A tolerated-but-surfaced oddity — one the owner lives with, like orphan rows or ship-before-order
|
|
98
|
+
dates — gets encoded the two ways that hold: **pin it in the `equals` rows** (an orphan passing
|
|
99
|
+
through with NULLs is a cell in the expected output, so reversing the tolerance breaks the test),
|
|
100
|
+
and **record it in the plan's known-quirks list** with its real-data count, so the tolerance stays a
|
|
101
|
+
conscious choice.
|
|
102
|
+
|
|
103
|
+
Under budget pressure cut business-rule checks first, then cross-table structure checks; never
|
|
104
|
+
single-column screens (domains, ranges, nulls) — cheapest, and the last line.
|
|
105
|
+
|
|
106
|
+
## When a check exposes a live bug
|
|
107
|
+
|
|
108
|
+
Non-negotiable: **never soften the test to green** — expected values state correct behavior; matching
|
|
109
|
+
them to buggy output documents the bug as intended — and **surface the finding with its blast radius
|
|
110
|
+
at both scales**, fixture ("1530.24 of 1600.74 fixture dollars survive") and warehouse ("908 of
|
|
111
|
+
2,050 orders dropped"). What happens next follows the session's terms, not a fixed protocol: propose
|
|
112
|
+
and apply the fix now (when the user wants it or the autonomy setting covers it), or — when the fix
|
|
113
|
+
must wait — hold the correct expectation and record the red in the plan with the minimal fix body.
|
|
114
|
+
A stored test has no red-by-design state, so a deferred
|
|
115
|
+
fix must be visible in the plan or the test reads as broken. Either way, once green the test stays
|
|
116
|
+
as the regression guard.
|
|
117
|
+
|
|
118
|
+
## When the doctrine doesn't apply
|
|
119
|
+
|
|
120
|
+
The vocabulary follows Kimball's dimensional modeling (grain, additivity, conformed attributes,
|
|
121
|
+
slowly changing dimensions) — precise, widely understood terms. Real models are Kimball-inspired at
|
|
122
|
+
most; no check may score adherence:
|
|
123
|
+
|
|
124
|
+
- Full calendar date dimensions are rare. Never demand one; test date _semantics_ — ranges,
|
|
125
|
+
orderings, volatile derivations.
|
|
126
|
+
- Surrogate keys are doctrine, natural-key joins are practice. Test whichever key the model
|
|
127
|
+
declares; never flag natural-key joins.
|
|
128
|
+
- "No NULL FKs / no NULL attributes" is doctrine routinely dropped. Null policy is three independent
|
|
129
|
+
declarations — measures, attributes, FKs — each detected and confirmed, never presumed.
|
|
130
|
+
- One-big-table is legitimate: it still has a grain, its copies still need agreement checks, its
|
|
131
|
+
functional dependencies still hold.
|
|
132
|
+
- A transform-level `ORDER BY` has no testable effect — output tables carry no row order and the
|
|
133
|
+
`equals` comparison is a multiset. Flag it as probable dead weight (clustering hints aside); never
|
|
134
|
+
write an ordering expectation.
|
|
135
|
+
|
|
136
|
+
## One transform at a time
|
|
137
|
+
|
|
138
|
+
Each test covers one transform. When the transform under test reads another transform's output,
|
|
139
|
+
that target table is an input like any other: declare it and fake it. Derive those rows from the
|
|
140
|
+
base transform's own expected output, so the two tests tell one story, and note the coupling in both
|
|
141
|
+
plans — changing the base's expected rows means changing this test's input.
|
|
142
|
+
|
|
143
|
+
## Worked example, condensed
|
|
144
|
+
|
|
145
|
+
`orders` + `customers` → _enriched_orders_ (order grain; LEFT JOIN attaches `customer_name`,
|
|
146
|
+
`tier`).
|
|
147
|
+
|
|
148
|
+
Cast, 7 orders: two tiers; Alice and Carol with 2 orders each (multiplicity); two never shipped
|
|
149
|
+
(zero-case for the shipping join); order 106 shipped before ordered (real oddity, count cited);
|
|
150
|
+
order 107's customer_id matches no customer (orphan). Two `rows` inputs, one per source table.
|
|
151
|
+
|
|
152
|
+
Derived, per catalog: grain uniqueness on `order_id`; row and amount conservation from input to
|
|
153
|
+
output, as scalar subqueries over the target and the seeded input; `tier` domain ⊆ {standard,
|
|
154
|
+
premium}; orphan = keep-with-NULLs → an expected row pinning the NULL pass-through; ship-before-order
|
|
155
|
+
tolerated → the plan's known-quirks list with the warehouse count. The whole output pinned in one
|
|
156
|
+
`equals`, hand-computed, arithmetic in the plan. The inner-vs-LEFT-join bug this cast catches —
|
|
157
|
+
unshipped orders silently dropped from revenue — is what the zero-case rows exist for.
|
|
158
|
+
|
|
159
|
+
## Don't
|
|
160
|
+
|
|
161
|
+
- Don't author expectations before loading the `transform` skill — the body shape, the closed
|
|
162
|
+
create/update contract, and the verb flags live there.
|
|
163
|
+
- Don't capture expected rows from the transform's own output — hand-derive them or they assert
|
|
164
|
+
nothing.
|
|
165
|
+
- Don't emit checks for structure the model doesn't declare (snapshot density, version history,
|
|
166
|
+
bridge weights) — an inapplicable battery buries real findings.
|
|
167
|
+
- Don't let a fixture cast go all-clean — no zero-case, no orphan, no dirty row proves the happy
|
|
168
|
+
path and nothing else; the bugs live in the edges.
|
|
169
|
+
- Don't write an expectation you expect to fail.
|
|
170
|
+
- Don't surface bare check-ids ("per C3…") to the user — name the check in plain words; the ids are
|
|
171
|
+
for your cross-referencing, not their reading.
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
# Confirmation checklist
|
|
2
|
+
|
|
3
|
+
The judgment calls a plan depends on, in derivation order. Each question carries a **detect** hint —
|
|
4
|
+
how to answer it from the SQL, the metadata, or profiling. Answer autonomously where the hint
|
|
5
|
+
resolves cleanly; ask where it doesn't. Every answer you supply yourself goes into the emitted plan
|
|
6
|
+
as a stated assumption, phrased so the owner can falsify it at a glance ("Assuming `discount` can
|
|
7
|
+
never be negative — correct?").
|
|
8
|
+
|
|
9
|
+
In build-along mode these are design questions: the owner is deciding, not recalling. An undecided
|
|
10
|
+
answer is a decision to make together — surface the options and the check each implies (the
|
|
11
|
+
`checks.md` entry named in parentheses).
|
|
12
|
+
|
|
13
|
+
## Stage 1 — classify the model (per transform)
|
|
14
|
+
|
|
15
|
+
1. **Grain: one row per what?** (G1, G2)
|
|
16
|
+
Detect: `GROUP BY` keys; otherwise the driving table of the joins. Confirm whenever detection and
|
|
17
|
+
any written description disagree — that disagreement is itself a finding.
|
|
18
|
+
2. **Fact-table type — and if periodic snapshot, dense or sparse?** (F2)
|
|
19
|
+
Detect: event-grain with a single event date → transaction; entity×period grain → periodic
|
|
20
|
+
snapshot (density is the one yes/no that flips its whole invariant set — always confirm); one row
|
|
21
|
+
per pipeline occurrence with milestone-date columns → accumulating snapshot.
|
|
22
|
+
|
|
23
|
+
## Stage 2 — per-table declarations
|
|
24
|
+
|
|
25
|
+
3. **Conservation ties: output rows/sums tie to which input, with which declared exclusions?** (A2)
|
|
26
|
+
Detect: `WHERE` clauses and join types name the exclusions (filtered rows, dropped duplicates).
|
|
27
|
+
Exclusions must be declared, or conservation appears to fail.
|
|
28
|
+
4. **Zero-group policy: does a group with no contributing rows appear (with zeros) or stay absent?**
|
|
29
|
+
(A5)
|
|
30
|
+
Detect: driving table of the rollup — grouping the detail can't produce empty groups; joining a
|
|
31
|
+
dimension first can.
|
|
32
|
+
5. **Orphan handling per join: drop / keep-with-NULLs / default row — and is an orphan tolerated or
|
|
33
|
+
forbidden?** (C3, I5)
|
|
34
|
+
Detect: join type. INNER = drop, LEFT = keep-with-NULLs, COALESCE to a sentinel = default row.
|
|
35
|
+
Tolerated-vs-forbidden is the owner's call — profiling says whether orphans exist today, not
|
|
36
|
+
whether they're acceptable. Forbidden becomes an `empty` expectation; tolerated is pinned in the
|
|
37
|
+
expected rows and recorded in the known-quirks list.
|
|
38
|
+
6. **Version history: effective/end/current columns anywhere? If not, confirm overwrite-everywhere.**
|
|
39
|
+
(T1)
|
|
40
|
+
Detect: column names. Absence means history is silently rewritten in rollups — state that
|
|
41
|
+
consequence when confirming, not just the mechanism.
|
|
42
|
+
7. **Does this transform read another transform's output?** (A5)
|
|
43
|
+
Detect: another transform's target table in this one's SQL. It becomes a declared input like any
|
|
44
|
+
other, faked from that transform's own expected output — confirm which rows, and record the
|
|
45
|
+
coupling in both plans.
|
|
46
|
+
|
|
47
|
+
## Stage 3 — per-column declarations
|
|
48
|
+
|
|
49
|
+
8. **Each measure: additive, semi-additive, or non-additive?** (A1)
|
|
50
|
+
Detect: sums and counts are additive; balances and levels are semi-additive; ratios, rates, and
|
|
51
|
+
unit prices are non-additive. Confirm the ambiguous ones (a "score"? a "quantity on hand"?).
|
|
52
|
+
9. **Legal bounds per measure?** (Q1)
|
|
53
|
+
Detect: profiling min/max suggests, business meaning decides — can `discount` be negative? can
|
|
54
|
+
`quantity` be zero? Derived bounds are free (a sum of non-negatives is non-negative).
|
|
55
|
+
10. **Each derived measure: the exact recomputation rule?** (A3)
|
|
56
|
+
Detect: the SELECT expression is the rule — but rounding, business-day adjustments, and NULL
|
|
57
|
+
handling are conventions to confirm, not read.
|
|
58
|
+
11. **Which columns are stored aggregates, over which detail and filter?** (A4)
|
|
59
|
+
Detect: correlated subqueries / joined-aggregate CTEs in the SQL.
|
|
60
|
+
12. **Which categorical columns have closed domains — enumerate; is NULL a member?** (C2)
|
|
61
|
+
Detect: profiling distinct values gives today's set; the owner confirms it's closed rather than
|
|
62
|
+
merely small so far.
|
|
63
|
+
13. **Which columns are denormalized copies, of which owning attribute?** (C1)
|
|
64
|
+
Detect: `<entity>_<attr>` naming; any column functionally dependent on a non-grain key. Every hit
|
|
65
|
+
must be classified: copy (C1), stored aggregate (A4), or smuggled coarser-grain fact — a
|
|
66
|
+
finding.
|
|
67
|
+
14. **Which many-to-one edges hold within one output table?** (C4)
|
|
68
|
+
Detect: hierarchy-shaped column pairs (product/category, zip/state). Applies where no owning
|
|
69
|
+
table is in scope; otherwise C1 covers it.
|
|
70
|
+
15. **Which date orderings are business-guaranteed vs. known-violated and tolerated (with real-data
|
|
71
|
+
counts)?** (T2)
|
|
72
|
+
Detect: profiling counts the violations that exist; the owner decides tolerated vs. bug.
|
|
73
|
+
16. **Null policy per column — measures, attributes, FKs separately.** (Q2)
|
|
74
|
+
Detect: the SQL shows what's produced (COALESCE, CASE); the owner confirms intent — "count of
|
|
75
|
+
nothing": 0 or NULL? empty date: NULL or sentinel?
|
|
76
|
+
17. **Which columns are volatile across runs?** (T3)
|
|
77
|
+
Detect: `now()` / `current_date` / run-metadata expressions in the SQL. A volatile column is left
|
|
78
|
+
out of the `equals` columns; its form can still be asserted with an `empty`.
|
|
79
|
+
18. **Per tolerated oddity: does it stay tolerated, and what is its current count?** (Q3)
|
|
80
|
+
Detect: can't — this is the conscious-choice question, and the plan's known-quirks list is where
|
|
81
|
+
it survives.
|
|
@@ -0,0 +1,259 @@
|
|
|
1
|
+
# Check catalog
|
|
2
|
+
|
|
3
|
+
Every check the plan can derive, grouped by theme. Per entry: **when it applies** (the declared
|
|
4
|
+
property that switches it on — blank means always), **assert** (the expectation shape), and
|
|
5
|
+
**fixtures** (what the input cast must contain for the check to have teeth).
|
|
6
|
+
|
|
7
|
+
Expectation SQL names the transform's **target table** and its **declared input tables** under their
|
|
8
|
+
real names; both are rewritten to the run's temp tables, so per-row recomputation joins against
|
|
9
|
+
inputs are writable. Anything else you name is left exactly as written and reads the real table.
|
|
10
|
+
|
|
11
|
+
Ids (G1, A2, …) are for cross-referencing within the plan documents only — never surface them to the
|
|
12
|
+
user bare.
|
|
13
|
+
|
|
14
|
+
Throughout, `<target>` stands for the transform's target table as written in the transform's own
|
|
15
|
+
definition, and `<input>` for a declared input table.
|
|
16
|
+
|
|
17
|
+
## Grain & keys
|
|
18
|
+
|
|
19
|
+
**G1 — Declared grain.** Every output table states "one row per X"; the declaration anchors every
|
|
20
|
+
other check.
|
|
21
|
+
|
|
22
|
+
- Applies: always. Elicit or detect (GROUP BY keys; the join's driving table).
|
|
23
|
+
- Assert: nothing directly — G1 is the plan's opening move. A table with no statable grain, or a
|
|
24
|
+
grain stated inconsistently between docs and SQL, is a finding before any SQL runs.
|
|
25
|
+
- Fixtures: the grain declaration decides the cast's row structure.
|
|
26
|
+
|
|
27
|
+
**G2 — Grain-key uniqueness.** The grain key stays a key; doubles as the fan-out guard for every
|
|
28
|
+
enriching join.
|
|
29
|
+
|
|
30
|
+
- Applies: always — one-big-table, rollups, and stars all have a grain.
|
|
31
|
+
- Assert (`empty`): `SELECT <grain cols>, COUNT(*) FROM <target> GROUP BY <grain cols> HAVING
|
|
32
|
+
COUNT(*) > 1`. NULL grain values form their own bucket.
|
|
33
|
+
- Fixtures: a parent with ≥2 children on every join (I4) is what makes this check able to fail.
|
|
34
|
+
|
|
35
|
+
## Additivity & reconciliation
|
|
36
|
+
|
|
37
|
+
**A1 — Measure additivity classification.** Additive / semi-additive (balances) / non-additive
|
|
38
|
+
(ratios, rates, unit prices) decides which aggregations are valid tests.
|
|
39
|
+
|
|
40
|
+
- Applies: every numeric measure; per-column declaration.
|
|
41
|
+
- Assert: routes the measure — additive → A2; semi-additive → sum across non-time slices only (a
|
|
42
|
+
test summing a balance over time is a bug in the plan); non-additive → A3 recomputation, never
|
|
43
|
+
reconciled by summing.
|
|
44
|
+
- Fixtures: none directly; one coverage-matrix axis (measure × valid aggregation set).
|
|
45
|
+
|
|
46
|
+
**A2 — Conservation reconciliation.** Row counts and additive-measure sums tie from input to output;
|
|
47
|
+
catches dropped rows and join double-counting at once.
|
|
48
|
+
|
|
49
|
+
- Applies: per declared tie (which input, which declared exclusions).
|
|
50
|
+
- Assert (`empty`): independent scalar subqueries compared with `IS DISTINCT FROM`, returning the
|
|
51
|
+
mismatched pair:
|
|
52
|
+
`SELECT (SELECT SUM(t.m) FROM <target> t) AS output_sum, (SELECT SUM(s.m) FROM <input> s) AS
|
|
53
|
+
input_sum WHERE (…) IS DISTINCT FROM (…)`.
|
|
54
|
+
Never reconcile via a fact-to-fact join — cardinality is uncontrollable and wrong results are
|
|
55
|
+
silent.
|
|
56
|
+
- Fixtures: amounts chosen so partial survival is visible (distinct values, odd cents).
|
|
57
|
+
|
|
58
|
+
**A3 — Derived-measure recomputation.** Averages, lags, ratios, rounded presentations recompute from
|
|
59
|
+
their components per row.
|
|
60
|
+
|
|
61
|
+
- Applies: every derived column, with its declared rule (rounding, business-day adjustment, NULL
|
|
62
|
+
handling).
|
|
63
|
+
- Assert (`empty`): `SELECT <key> FROM <target> t WHERE t.<derived> IS DISTINCT FROM <recomputation
|
|
64
|
+
from inputs or sibling columns>`.
|
|
65
|
+
- Fixtures: component values whose derivation is non-trivial (a NULL in the AVG, a negative lag).
|
|
66
|
+
|
|
67
|
+
**A4 — Stored aggregates on entity tables.** Lifetime/rollup stats carried on an entity-grain table
|
|
68
|
+
(`lifetime_orders`, `review_count`, `first_order_date`) equal recomputation from detail — per row
|
|
69
|
+
_and_ in total.
|
|
70
|
+
|
|
71
|
+
- Applies: columns detected as correlated aggregates over a detail table.
|
|
72
|
+
- Assert (`empty`), two per column: per-row — `WHERE t.<agg> IS DISTINCT FROM (SELECT
|
|
73
|
+
COUNT(*)/SUM(…)/MIN(…) FROM <detail> d WHERE d.<fk> = t.<key>)`; total — the A2 scalar-pair shape.
|
|
74
|
+
Totals alone cancel offsetting per-row errors; the per-row form is the one that catches them.
|
|
75
|
+
- Fixtures: an entity with several detail rows and an entity with none (I3/I4).
|
|
76
|
+
|
|
77
|
+
**A5 — Rollup consistency.** A layered rollup always agrees with its base.
|
|
78
|
+
|
|
79
|
+
- Applies: any transform reading another transform's output. The base is a declared input like any
|
|
80
|
+
other, faked with rows taken from the base transform's own expected output.
|
|
81
|
+
- Assert (`empty`): every rollup measure equals the corresponding aggregation over the base (A2
|
|
82
|
+
shape); group-set equality both directions — `SELECT <group> FROM <target> EXCEPT SELECT DISTINCT
|
|
83
|
+
<group col> FROM <base>` and the reverse, filtered by the declared zero-group policy.
|
|
84
|
+
- Fixtures: a group with no contributing rows pins the zero-group policy.
|
|
85
|
+
|
|
86
|
+
## Fact-table type
|
|
87
|
+
|
|
88
|
+
**F2 — Fact-table type bundle.** Transaction / periodic snapshot / accumulating snapshot each carry
|
|
89
|
+
a distinct invariant set.
|
|
90
|
+
|
|
91
|
+
- Applies: per fact-shaped output, always classified; **transaction** needs nothing beyond G2 + A2
|
|
92
|
+
(sparsity is legitimate).
|
|
93
|
+
- Periodic snapshot, if declared _dense_: `COUNT(*) = |entities| × |periods|` (or the declared
|
|
94
|
+
subset); per-entity gap detection in the period series; inactive-period representation (zero vs
|
|
95
|
+
NULL) pinned in the expected rows. If sparse, density checks off — the one yes/no flips the whole
|
|
96
|
+
set.
|
|
97
|
+
- Accumulating snapshot: milestone dates monotone in pipeline order where set (`WHERE <later> <
|
|
98
|
+
<earlier>` per adjacent pair); unset-milestone default (NULL vs sentinel) pinned in the expected
|
|
99
|
+
rows; completion flags ∈ {0,1} and consistent with their date's set-ness; lags via A3.
|
|
100
|
+
- Fixtures (accumulating): occurrences at every completion stage — none, some, all milestones.
|
|
101
|
+
|
|
102
|
+
## Conformance & domains
|
|
103
|
+
|
|
104
|
+
**C1 — Denormalized-copy agreement.** Every copied attribute agrees with the owning table's value
|
|
105
|
+
for that key.
|
|
106
|
+
|
|
107
|
+
- Applies: columns declared as copies (detect: `<entity>_<attr>` naming; any column functionally
|
|
108
|
+
dependent on a non-grain key). Each such column must be a declared copy (this check), a stored
|
|
109
|
+
aggregate (A4), or it's a smuggled coarser-grain fact — a finding: it double-counts under
|
|
110
|
+
summation.
|
|
111
|
+
- Assert (`empty`): `SELECT t.<key>, t.<copy>, d.<attr> FROM <target> t JOIN <owning input> d ON
|
|
112
|
+
t.<key> = d.<key> WHERE t.<copy> IS DISTINCT FROM d.<attr>`.
|
|
113
|
+
- Scope: in a test, the copies are produced by the very join under test, so this join-form is near-
|
|
114
|
+
tautological — the C4 functional-dependency form plus expected-row cell pinning carries the test.
|
|
115
|
+
The join-form against an independently materialized owning table is the _drift_ check, which
|
|
116
|
+
belongs to whatever screens the deployed tables.
|
|
117
|
+
- Fixtures: copies with distinct values per entity so a crossed join is visible.
|
|
118
|
+
|
|
119
|
+
**C2 — Closed-domain screen.** A categorical column's values stay inside the declared enumeration.
|
|
120
|
+
|
|
121
|
+
- Applies: per column declared closed (detect from profiling; confirm the set and whether NULL is a
|
|
122
|
+
member).
|
|
123
|
+
- Assert (`empty`): `SELECT <key>, <col> FROM <target> WHERE <col> IS NOT NULL AND <col> NOT IN
|
|
124
|
+
(<domain>)`.
|
|
125
|
+
- Fixtures: every domain value represented where practical; one out-of-domain input row if the
|
|
126
|
+
source can produce one (I5).
|
|
127
|
+
|
|
128
|
+
**C3 — Referential integrity / orphan policy.** Every FK resolves, or the declared orphan handling is
|
|
129
|
+
pinned.
|
|
130
|
+
|
|
131
|
+
- Applies: per join, conditioned on the declared response — drop / keep-with-NULLs / default row;
|
|
132
|
+
tolerated or forbidden.
|
|
133
|
+
- Assert, forbidden (`empty`): `SELECT t.<fk> FROM <target> t LEFT JOIN <dim input> d ON t.<fk> =
|
|
134
|
+
d.<key> WHERE t.<fk> IS NOT NULL AND d.<key> IS NULL`.
|
|
135
|
+
Tolerated: not an expectation — pin the orphan's pass-through as a row in the `equals` (NULL in
|
|
136
|
+
the copied attributes), and record the tolerance with its warehouse count in the plan.
|
|
137
|
+
Default-row convention adds: distinct unknown keys must not collapse into one output row.
|
|
138
|
+
- Fixtures: one orphan row (I5). Without it the join direction is untested — an inner join silently
|
|
139
|
+
dropping unmatched rows is the classic bug this catches.
|
|
140
|
+
|
|
141
|
+
**C4 — Many-to-one consistency.** Each declared many-to-one edge holds within the output (product →
|
|
142
|
+
one category; zip → one state).
|
|
143
|
+
|
|
144
|
+
- Applies: per declared edge; where an owning table is in scope, C1 subsumes it — this is the
|
|
145
|
+
one-big-table variant with nothing to join against.
|
|
146
|
+
- Assert (`empty`): `SELECT t.<many>, COUNT(DISTINCT t.<one>) FROM <target> t GROUP BY t.<many>
|
|
147
|
+
HAVING COUNT(DISTINCT t.<one>) > 1`.
|
|
148
|
+
- Fixtures: a violating input row if the source can produce one (I5), pinning the transform's
|
|
149
|
+
behavior on dirty input.
|
|
150
|
+
|
|
151
|
+
## Temporal & version history
|
|
152
|
+
|
|
153
|
+
**T1 — Change handling per attribute.** How the model treats a changed source attribute decides the
|
|
154
|
+
temporal fixtures.
|
|
155
|
+
|
|
156
|
+
- Applies: detect effective/end/current housekeeping columns.
|
|
157
|
+
- Present → version-history battery (`empty` each): per durable key exactly one current row;
|
|
158
|
+
`effective < end` per row; intervals contiguous and non-overlapping; current row's end = the
|
|
159
|
+
declared far-future default; fact rows join the version whose interval contains the fact date.
|
|
160
|
+
- Absent → confirm overwrite-everywhere as a stated assumption (history is silently rewritten in
|
|
161
|
+
rollups), and derive the propagation probe: change an attribute in an input, run, assert the
|
|
162
|
+
output regrouped.
|
|
163
|
+
- Fixtures: a before/after change pair; for version history, an entity with ≥2 versions and a fact
|
|
164
|
+
row dated inside each interval.
|
|
165
|
+
|
|
166
|
+
**T2 — Date-pair ordering.** Business-guaranteed orderings asserted; known violations recorded.
|
|
167
|
+
|
|
168
|
+
- Applies: per declared date pair (ordered ≤ shipped ≤ delivered; signup ≤ first order), each
|
|
169
|
+
classified guaranteed vs. tolerated-violated.
|
|
170
|
+
- Assert: guaranteed (`empty`) — `SELECT <key>, <earlier>, <later> FROM <target> WHERE <later> <
|
|
171
|
+
<earlier>`. Tolerated — pin the violating row's downstream arithmetic (a negative lag inside an
|
|
172
|
+
average) in the expected rows, and record the real-data count in the plan.
|
|
173
|
+
- Fixtures: one violating row for every tolerated ordering.
|
|
174
|
+
|
|
175
|
+
**T3 — Volatile columns.** Values that change across runs can't be pinned.
|
|
176
|
+
|
|
177
|
+
- Applies: columns derived from `now()`/`current_date` (age), run metadata (load timestamps, batch
|
|
178
|
+
ids).
|
|
179
|
+
- Assert: leave the column out of the `equals` `columns` list — an undeclared column never enters the
|
|
180
|
+
comparison. Separately assert its form where warranted (`empty`): `WHERE age NOT BETWEEN 0 AND
|
|
181
|
+
120`. The stable source column (`birth_date`) stays exact in the expected rows.
|
|
182
|
+
- Fixtures: none special; the split is the point — omit the volatile, pin the stable.
|
|
183
|
+
|
|
184
|
+
## Screens & severity
|
|
185
|
+
|
|
186
|
+
**Q1 — Range / sign screens.** Each measure's declared bounds hold.
|
|
187
|
+
|
|
188
|
+
- Applies: per bounded measure; bounds from business meaning plus profiling (derived bounds are
|
|
189
|
+
free: a sum of non-negatives is non-negative).
|
|
190
|
+
- Assert (`empty`): `SELECT <key>, <col> FROM <target> WHERE <col> < <lo> OR <col> > <hi>` (one-sided
|
|
191
|
+
where only one bound exists).
|
|
192
|
+
- Fixtures: boundary values where the bound is business-set.
|
|
193
|
+
|
|
194
|
+
**Q2 — Null policy, three ways.** Measures, descriptive attributes, and FKs carry independent null
|
|
195
|
+
policies; never presume one from another.
|
|
196
|
+
|
|
197
|
+
- Applies: per column, asked separately — "count of nothing": 0 or NULL? empty date: NULL or
|
|
198
|
+
sentinel? FK: see C3.
|
|
199
|
+
- Assert: declared non-null columns get `WHERE <col> IS NULL` (`empty`). Otherwise the policy is
|
|
200
|
+
enforced by the expected-row cell of a zero-case fixture row — NULL vs 0 vs empty is invisible
|
|
201
|
+
until a fixture forces the choice into a cell.
|
|
202
|
+
- Fixtures: the zero-case row (I3) is the enforcement mechanism.
|
|
203
|
+
|
|
204
|
+
**Q3 — Naming & the tolerated oddity.** Every expectation declares its meaning.
|
|
205
|
+
|
|
206
|
+
- Applies: always, every expectation.
|
|
207
|
+
- Convention: the expectation's `name` states the invariant in plain words, because a failure leads
|
|
208
|
+
with it. Each `empty` SQL opens with 1–3 comment lines naming the invariant and the failure modes
|
|
209
|
+
it catches. Budget cuts drop business-rule checks first, then cross-table structure checks, never
|
|
210
|
+
single-column screens.
|
|
211
|
+
- A forbidden condition is an `empty` expectation. A tolerated one is pinned in the expected rows
|
|
212
|
+
and recorded in the plan's known-quirks list with its warehouse count. Never author an expectation
|
|
213
|
+
designed to fire.
|
|
214
|
+
|
|
215
|
+
## Input modeling (fixture-design rules)
|
|
216
|
+
|
|
217
|
+
**I1 — Profiling-derived partitions.** Fixture edges and tolerated non-ties cite profiled reality
|
|
218
|
+
with counts; the plan's known-quirks section carries each tolerated oddity with its reason and
|
|
219
|
+
count.
|
|
220
|
+
|
|
221
|
+
**I2 — Shared fixture cast.** One small human-named cast per transform, every row a named edge,
|
|
222
|
+
documented as a story table (row → attributes → purpose) in the plan. Where one transform's output
|
|
223
|
+
is another's input, derive the faked rows from the first's expected output so the two tests tell one
|
|
224
|
+
story.
|
|
225
|
+
|
|
226
|
+
**I3 — Zero-case partitions.** For every outer join and aggregation relation: one entity with zero
|
|
227
|
+
matches. Its expected row pins the absence representation (Q2) and the join direction (C3) — the
|
|
228
|
+
all-clean cast is the single most common cause of vacuous tests. When the schema distinguishes
|
|
229
|
+
states the profiled data never exhibits (a literal zero in a source that only has NULLs and
|
|
230
|
+
positives), fixture the missing state — nothing else forces it onto an expected cell.
|
|
231
|
+
|
|
232
|
+
**I4 — Multiplicity partitions.** Every aggregation gets a >1-member group and an exactly-1 group
|
|
233
|
+
(the 0 case is I3); every join gets a parent with ≥2 children. Expected values then differ from any
|
|
234
|
+
single row's, so copy-through bugs can't pass.
|
|
235
|
+
|
|
236
|
+
**I5 — Dirty-input pinning.** Per screenable defect the source can carry (orphan FK, out-of-domain
|
|
237
|
+
value, duplicate natural key, hierarchy violation, ordering violation): one fixture row exhibiting
|
|
238
|
+
it, an expected row pinning the transform's response (drop / pass-through / default), and — where
|
|
239
|
+
the defect is forbidden — the matching `empty` expectation. Which duplicate survives a dedupe is
|
|
240
|
+
invisible until a conflicting-duplicate fixture pins it.
|
|
241
|
+
|
|
242
|
+
**I6 — Mutation probes.** Run at plan-validation time, not on every run: corrupt one expected cell →
|
|
243
|
+
`cell-mismatches` must name that exact column; perturb one input cell → exactly the declared output
|
|
244
|
+
cells move. Both guard against vacuous tests: every `empty` expectation passes against an empty
|
|
245
|
+
output.
|
|
246
|
+
|
|
247
|
+
## Plan-level artifacts
|
|
248
|
+
|
|
249
|
+
**P1 — Coverage matrix.** Output columns (with the table's grain) × check classes; cells name the
|
|
250
|
+
covering expectation or expected-row cell, or state `gap: <reason>`; shared-attribute columns scanned
|
|
251
|
+
across transforms for agreement obligations (C1).
|
|
252
|
+
|
|
253
|
+
**P2 — Hand-derived expected rows.** From the fixture story and business meaning, arithmetic recorded
|
|
254
|
+
in the plan; never captured from output; every fixture row's fate appears in some expected cell.
|
|
255
|
+
|
|
256
|
+
**P3 — Live-bug handling.** A check failing against a deployed transform is a real finding: never
|
|
257
|
+
soften the test to green; quantify the damage at fixture and warehouse scale. Then fix now, or record
|
|
258
|
+
the red in the plan with the minimal fix body, per the session's terms. A stored test has no
|
|
259
|
+
red-by-design state, so a deferred fix must be visible in the plan or the test reads as broken.
|