@maycombhq/atticus 2.0.0-beta.2 → 2.0.0-beta.22
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/bin.js +8 -4
- package/dist/chunk-23XVSEV5.js +49 -0
- package/dist/{chunk-ZDPAS56H.js → chunk-24OXGB3P.js} +8 -2
- package/dist/{chunk-7EOBHUMC.js → chunk-24XLDU72.js} +4 -3
- package/dist/{chunk-CR3MTH32.js → chunk-2F4CYZKJ.js} +86 -11
- package/dist/{chunk-6IU67AEK.js → chunk-2GF7OLF3.js} +23 -15
- package/dist/chunk-2IIMFOPM.js +41 -0
- package/dist/chunk-2LGRMVCA.js +617 -0
- package/dist/{chunk-XPCM366L.js → chunk-2MMCFP5C.js} +10 -8
- package/dist/{chunk-JBTK5OP2.js → chunk-2Q56PQPS.js} +6 -4
- package/dist/{chunk-Z6LF7HQN.js → chunk-2Q5EDGEO.js} +7 -5
- package/dist/{chunk-3USYZGRF.js → chunk-2RLKFUUL.js} +38 -27
- package/dist/chunk-2SKB4O2E.js +59 -0
- package/dist/{chunk-SP2I63OO.js → chunk-34S2WGOB.js} +87 -4
- package/dist/{chunk-GQ4N4WKF.js → chunk-3NFFJL5D.js} +33 -27
- package/dist/{chunk-SJRGMG6A.js → chunk-3NWDLGG6.js} +28 -25
- package/dist/{chunk-4WBVUHXN.js → chunk-3RM4UK6W.js} +20 -18
- package/dist/chunk-42SIDKEU.js +583 -0
- package/dist/{chunk-GLUX4EEP.js → chunk-4EURQWQD.js} +20 -15
- package/dist/chunk-4U276ICE.js +39 -0
- package/dist/{chunk-ZMFPW66A.js → chunk-53T4O55J.js} +4 -3
- package/dist/{chunk-6J5OKA4Y.js → chunk-57TDNMI3.js} +17 -15
- package/dist/chunk-5BD2KYLE.js +57 -0
- package/dist/{chunk-7EFILTCI.js → chunk-5F7GFN2F.js} +28 -0
- package/dist/chunk-5NMKONLP.js +95 -0
- package/dist/{chunk-7ZUIMTOU.js → chunk-5SJZW52K.js} +26 -24
- package/dist/{chunk-4RS5KZQD.js → chunk-63YRMR6J.js} +6 -5
- package/dist/chunk-66PPNOON.js +62 -0
- package/dist/chunk-6H3Z5JHH.js +64 -0
- package/dist/{chunk-CEXSU4S6.js → chunk-6MUGR4LS.js} +775 -89
- package/dist/{chunk-QSXK2RGH.js → chunk-6OJQOPUN.js} +5 -3
- package/dist/{chunk-MVZVGYXH.js → chunk-6PPOWY5E.js} +84 -14
- package/dist/{chunk-7EKXJZ2Y.js → chunk-6ZGLAACW.js} +299 -38
- package/dist/chunk-6ZJ5A7AF.js +222 -0
- package/dist/{chunk-L24C55VN.js → chunk-745DAZ4L.js} +142 -30
- package/dist/{chunk-Q4D5X7QB.js → chunk-7ASNL4Q4.js} +46 -24
- package/dist/chunk-7BR7IPOH.js +35 -0
- package/dist/{chunk-7WD63HU2.js → chunk-7DOR27HL.js} +6 -6
- package/dist/chunk-7FTTA3HD.js +341 -0
- package/dist/{chunk-OLQJTJJU.js → chunk-7GJS6DNX.js} +12 -3
- package/dist/{chunk-7JUKDRSZ.js → chunk-7IGKHZ4Z.js} +347 -226
- package/dist/{chunk-G2B4ZQGH.js → chunk-7IOWA5D5.js} +11 -6
- package/dist/{chunk-EBEW3XXQ.js → chunk-7JITZFJC.js} +7 -5
- package/dist/chunk-7MJSQTL5.js +174 -0
- package/dist/{chunk-I4JRCD6M.js → chunk-7UOMVMFG.js} +25 -17
- package/dist/{chunk-YY6ZQQBP.js → chunk-AFWUDXEM.js} +19 -7
- package/dist/chunk-AFZ3QA6W.js +47 -0
- package/dist/chunk-AJQ72EBM.js +420 -0
- package/dist/chunk-AJYXNTNZ.js +317 -0
- package/dist/chunk-AVTBS4OW.js +49 -0
- package/dist/{chunk-FHH4I4ZV.js → chunk-BDKC6H5P.js} +12 -6
- package/dist/{chunk-IPKHE5D6.js → chunk-BEVTIBRH.js} +1526 -875
- package/dist/chunk-BHT7QK4G.js +162 -0
- package/dist/{chunk-6JUBZBMW.js → chunk-BIGDQDHD.js} +6 -4
- package/dist/{chunk-2BFCZ3RK.js → chunk-BO4KX37X.js} +20 -18
- package/dist/chunk-BPK5P77O.js +115 -0
- package/dist/chunk-BQ4SQQC6.js +59 -0
- package/dist/chunk-BQGDB6ZL.js +7342 -0
- package/dist/{chunk-2ANOROX3.js → chunk-BTGPE6CR.js} +11 -9
- package/dist/chunk-BTY3HZBO.js +93 -0
- package/dist/{chunk-DPZHZQKE.js → chunk-BXYMYEJ4.js} +44 -10
- package/dist/{chunk-2RMYG36Q.js → chunk-C3RY6KU6.js} +309 -346
- package/dist/chunk-C4R4JLHE.js +40 -0
- package/dist/chunk-CADWLE2T.js +18 -0
- package/dist/chunk-CBGGOQWU.js +82 -0
- package/dist/chunk-CMDXGQTS.js +47 -0
- package/dist/{chunk-MC3H7736.js → chunk-CQDGOPGH.js} +58 -18
- package/dist/{chunk-HFQCFSJR.js → chunk-CX4RZ2KS.js} +4 -3
- package/dist/{chunk-PAMPPUR6.js → chunk-CXJ6FUKN.js} +1852 -207
- package/dist/{chunk-ABWHYWNI.js → chunk-D73UEXYW.js} +3 -3
- package/dist/chunk-DCZWQLYT.js +1205 -0
- package/dist/chunk-DLOBCJL6.js +48 -0
- package/dist/{chunk-4BN53TG3.js → chunk-DOBQKHIF.js} +31 -23
- package/dist/chunk-E3ISYXO3.js +423 -0
- package/dist/{chunk-7SW2QWLU.js → chunk-E6ZIEVOI.js} +16 -13
- package/dist/chunk-EBL2R3YG.js +43 -0
- package/dist/{chunk-AIOQPLA5.js → chunk-EGQRREQH.js} +41 -15
- package/dist/chunk-EHA7RMZ3.js +58 -0
- package/dist/{chunk-M766ZJ6W.js → chunk-EIPTLPFC.js} +38 -27
- package/dist/chunk-EMRIQUND.js +517 -0
- package/dist/{chunk-DFBCSHVT.js → chunk-EPCJQQWD.js} +6 -4
- package/dist/{chunk-RZPYKDWS.js → chunk-F3P7N7SF.js} +1 -1
- package/dist/{chunk-R77KLRB3.js → chunk-FFLNS6VP.js} +21 -18
- package/dist/chunk-FFTRTL6R.js +26 -0
- package/dist/{chunk-IHMLFRVV.js → chunk-FPJPLKDW.js} +62 -16
- package/dist/{chunk-JCZIKA4C.js → chunk-FSMSFDLD.js} +5 -4
- package/dist/{chunk-AVJDSJ2F.js → chunk-FUJM6RTF.js} +8 -7
- package/dist/chunk-FZOJFH7Q.js +132 -0
- package/dist/{chunk-QRAOANID.js → chunk-G6X77UJZ.js} +23 -21
- package/dist/{chunk-3ALD2W2A.js → chunk-GCWRWSU7.js} +10 -4
- package/dist/chunk-GIW4ZVDB.js +39 -0
- package/dist/{chunk-B2WLAWNJ.js → chunk-GUX3PTYM.js} +3 -3
- package/dist/{chunk-DPUYDDQG.js → chunk-GZY6RUZ6.js} +25 -3
- package/dist/chunk-H4VO6WG3.js +10 -0
- package/dist/{chunk-MMOSZPWJ.js → chunk-H5HBGNXU.js} +5 -4
- package/dist/chunk-H7KM7LZE.js +229 -0
- package/dist/{chunk-AA6YULYB.js → chunk-HNM2YQT2.js} +7 -7
- package/dist/{chunk-3C7EYRFZ.js → chunk-HYU5VLGA.js} +1 -1
- package/dist/{chunk-XY3P7JW7.js → chunk-IDKCWSM5.js} +1032 -172
- package/dist/chunk-IFKEI4SA.js +237 -0
- package/dist/{chunk-F7HYOUFF.js → chunk-IGOE6KPG.js} +67 -22
- package/dist/{chunk-TDD55CJH.js → chunk-IH2XURVQ.js} +6 -5
- package/dist/chunk-INQHESFB.js +38 -0
- package/dist/chunk-IP74LCOQ.js +57 -0
- package/dist/chunk-IPHHDDC6.js +45 -0
- package/dist/{chunk-T6AIP7H5.js → chunk-ISUAAMGS.js} +110 -153
- package/dist/{chunk-A7UPUQFY.js → chunk-IUPG3UKI.js} +624 -319
- package/dist/{chunk-L6SGQIR3.js → chunk-IVBOQAGB.js} +7 -3
- package/dist/{chunk-27NKUS3X.js → chunk-J2JAKCIW.js} +2205 -796
- package/dist/{chunk-V2YTAIQO.js → chunk-J3IOLXWM.js} +24 -7
- package/dist/chunk-JA5FI3QV.js +142 -0
- package/dist/chunk-JAVI7JSP.js +49 -0
- package/dist/{chunk-HLJAXMM4.js → chunk-JB5LINEM.js} +6 -2
- package/dist/{chunk-2VHF7OXM.js → chunk-JENSEMXF.js} +1 -1
- package/dist/{chunk-6BVONWJ7.js → chunk-JJF6HALY.js} +4 -3
- package/dist/chunk-JLUCKAEL.js +38 -0
- package/dist/chunk-JRBFANFE.js +221 -0
- package/dist/{chunk-R6XF6UR3.js → chunk-KDNTAPLX.js} +4 -4
- package/dist/chunk-KFAVQZSX.js +33 -0
- package/dist/chunk-KJXD4PNL.js +50 -0
- package/dist/chunk-KN5BXMWN.js +44 -0
- package/dist/{chunk-PCVDV3UZ.js → chunk-KQGURXFU.js} +9 -7
- package/dist/{chunk-WY6PP6AA.js → chunk-KXITGYLF.js} +40 -6
- package/dist/{chunk-66YVAGGM.js → chunk-L27SV425.js} +22 -20
- package/dist/{chunk-NE2W3OO7.js → chunk-LDLL7LB3.js} +24 -22
- package/dist/chunk-LFGTYX5U.js +379 -0
- package/dist/{chunk-EYWIDJFU.js → chunk-LGBMTVNT.js} +7 -5
- package/dist/{chunk-Q5AMFEWD.js → chunk-LGFL54FP.js} +3 -2
- package/dist/{chunk-6TACQN3N.js → chunk-LJXMYKZJ.js} +7 -5
- package/dist/{chunk-BKVWTZ6A.js → chunk-LKOR5UET.js} +29 -26
- package/dist/chunk-LNBQOP7D.js +294 -0
- package/dist/{chunk-O3WI5KWW.js → chunk-LO6P2VYG.js} +2 -2
- package/dist/chunk-LQJPN536.js +122 -0
- package/dist/{chunk-YEDDOYSC.js → chunk-LYBNHMVZ.js} +29 -5
- package/dist/{chunk-A3GY6SOA.js → chunk-LZ7NUC62.js} +20 -18
- package/dist/chunk-M32BLWDH.js +37 -0
- package/dist/{chunk-VYDBJ73M.js → chunk-M3NANSDZ.js} +17 -15
- package/dist/chunk-MFHL5URL.js +31 -0
- package/dist/chunk-MFR5OPBD.js +109 -0
- package/dist/{chunk-DE76JROX.js → chunk-MG4ZL5RW.js} +32 -20
- package/dist/{chunk-N7IXEHK3.js → chunk-MO6P2JZH.js} +10 -8
- package/dist/{chunk-65NYPGRC.js → chunk-MUWDB4R4.js} +1 -1
- package/dist/chunk-MZCGSXVR.js +34 -0
- package/dist/{chunk-MGYZM27B.js → chunk-N3XIYPU3.js} +51 -23
- package/dist/chunk-NDCF4R6S.js +172 -0
- package/dist/{chunk-DHPACDG7.js → chunk-NR2UJWOC.js} +10 -8
- package/dist/chunk-NXJ5URP6.js +51 -0
- package/dist/{chunk-UNM6ZOKP.js → chunk-NY2XSR5K.js} +147 -18
- package/dist/{chunk-5GDRCDQB.js → chunk-O45HFTFS.js} +3 -2
- package/dist/{chunk-ONLS5QA5.js → chunk-O4GXGGBX.js} +14 -12
- package/dist/chunk-O5PXQR67.js +249 -0
- package/dist/{chunk-PRPPGYZG.js → chunk-O66DM6DJ.js} +6 -4
- package/dist/{chunk-KEM4SDDP.js → chunk-O7FDLW7L.js} +11 -8
- package/dist/{chunk-T2UYZSCQ.js → chunk-O7XLYEFA.js} +169 -29
- package/dist/{chunk-FITWGOJ2.js → chunk-OHNCWBKF.js} +4 -4
- package/dist/{chunk-652QWTLZ.js → chunk-OHVTTOPS.js} +3 -3
- package/dist/chunk-OMI6FPPN.js +43 -0
- package/dist/chunk-ONUPY3H6.js +53 -0
- package/dist/chunk-OTLDSZDV.js +69 -0
- package/dist/chunk-OUBGGKDU.js +22 -0
- package/dist/chunk-OWNCM4ZN.js +330 -0
- package/dist/{chunk-YISXLPHN.js → chunk-P2V7QW4D.js} +235 -35
- package/dist/{chunk-CNUKCS2T.js → chunk-P32RUW3B.js} +1632 -93
- package/dist/{chunk-BWZ77RQT.js → chunk-PAQ2AS5E.js} +1 -1
- package/dist/{chunk-ZMAINWBW.js → chunk-PBPBMP2B.js} +4 -3
- package/dist/{chunk-ZVM6AKKM.js → chunk-PJSJPMJI.js} +3 -3
- package/dist/{chunk-EFHQ3TWP.js → chunk-PKBHS4AA.js} +233 -56
- package/dist/{chunk-GT4I4ZWM.js → chunk-PMUAJGLI.js} +20 -16
- package/dist/chunk-PPD7HTDP.js +152 -0
- package/dist/chunk-PSOFBQWB.js +42 -0
- package/dist/{chunk-S2A7YC3Q.js → chunk-Q2TECDIT.js} +10694 -8896
- package/dist/chunk-Q4K5WB2W.js +42 -0
- package/dist/{chunk-UGLN7QHV.js → chunk-Q6DFNVRJ.js} +14 -12
- package/dist/chunk-QA4O2GGC.js +265 -0
- package/dist/chunk-QAXW2N3B.js +1216 -0
- package/dist/chunk-QBNWF5ZU.js +19 -0
- package/dist/chunk-QFWA2DPH.js +224 -0
- package/dist/{chunk-23W7VWKR.js → chunk-QKUJMING.js} +1363 -114
- package/dist/{chunk-NXFPS2LR.js → chunk-R44CYFPV.js} +16 -13
- package/dist/{chunk-CKSITVS4.js → chunk-R7NYHMUU.js} +2687 -786
- package/dist/chunk-REWWDVQB.js +162 -0
- package/dist/{chunk-JMSCMUCA.js → chunk-RGERPOIV.js} +145 -21
- package/dist/{chunk-6JCPI55B.js → chunk-RLDGWLQ7.js} +49 -7
- package/dist/chunk-RUGXBPWI.js +384 -0
- package/dist/{chunk-CPA6HPVR.js → chunk-RXPJMEOW.js} +18 -12
- package/dist/{chunk-3HI6Z55Y.js → chunk-S4PMJU6H.js} +339 -43
- package/dist/chunk-S5LSDXV4.js +40 -0
- package/dist/chunk-S7FCV7S5.js +51 -0
- package/dist/{chunk-5GGOLAKC.js → chunk-SDKLKB6I.js} +28 -26
- package/dist/chunk-SFSPGFCV.js +62 -0
- package/dist/{chunk-ZNCEKR4J.js → chunk-SFUP7TTO.js} +12 -8
- package/dist/{chunk-64EQYWCA.js → chunk-SLXZOMA6.js} +69 -19
- package/dist/chunk-SQV37XO2.js +273 -0
- package/dist/{chunk-K65BJIMT.js → chunk-SU74NDMQ.js} +19 -17
- package/dist/chunk-SYV5LHML.js +165 -0
- package/dist/chunk-T4YPZIQN.js +36 -0
- package/dist/chunk-T6DQR5TV.js +323 -0
- package/dist/{chunk-JIITQXFB.js → chunk-THDMSZ3R.js} +3075 -802
- package/dist/{chunk-JGZCG5VM.js → chunk-TNR75OXT.js} +7 -7
- package/dist/{chunk-D3PO4DOZ.js → chunk-TUULXQRW.js} +174 -15
- package/dist/chunk-TYQBFTBR.js +516 -0
- package/dist/chunk-U76OWS3Q.js +49 -0
- package/dist/{chunk-YYQN46FY.js → chunk-UCROWG2D.js} +27 -24
- package/dist/{chunk-6M5NK3K3.js → chunk-UF4AZOZB.js} +50 -10
- package/dist/chunk-UF4GLFBX.js +345 -0
- package/dist/{chunk-OT2O76OS.js → chunk-UGUP3ZM6.js} +240 -39
- package/dist/chunk-UNAGJYET.js +45 -0
- package/dist/{chunk-5WG5YP4T.js → chunk-UOR2DTHH.js} +16 -14
- package/dist/{chunk-S3QNRWYR.js → chunk-UPOY4YSQ.js} +14 -12
- package/dist/{chunk-EPTBZ3GP.js → chunk-UPS2DGFC.js} +1 -1
- package/dist/{chunk-4AK7IBVP.js → chunk-UUU4CLJG.js} +4 -2
- package/dist/{chunk-W3BQAZ3Q.js → chunk-UWMJKX5U.js} +14 -12
- package/dist/{chunk-QZSX3F7C.js → chunk-UWOJLHFT.js} +27 -23
- package/dist/chunk-VBTP56CE.js +535 -0
- package/dist/chunk-VCTWPLAO.js +211 -0
- package/dist/chunk-VNU26RCO.js +1215 -0
- package/dist/{chunk-CSZ4C5N6.js → chunk-VTZMAJ3W.js} +93 -10
- package/dist/{chunk-TXLH6WHQ.js → chunk-VW62D6QE.js} +14 -12
- package/dist/{chunk-CAQZUNOH.js → chunk-VY72R2XZ.js} +610 -3
- package/dist/{chunk-2DIQQJCB.js → chunk-VZALIKIF.js} +18 -15
- package/dist/{chunk-TYAID7B7.js → chunk-W62H2XSO.js} +25 -23
- package/dist/{chunk-HVUPKCGJ.js → chunk-W7VWI2YH.js} +9 -6
- package/dist/{chunk-TANFV3MZ.js → chunk-WERM6KPJ.js} +7 -4
- package/dist/{chunk-BOHJZTEQ.js → chunk-WF7B67YE.js} +208 -87
- package/dist/{chunk-7FBGJFEE.js → chunk-WG5U3F5V.js} +14 -12
- package/dist/{chunk-4NDAAFQT.js → chunk-WJF2CS6M.js} +8 -5
- package/dist/{chunk-XAKWMCXI.js → chunk-WKUJ3KPV.js} +4 -4
- package/dist/chunk-WMTRHUI5.js +103 -0
- package/dist/chunk-WNKPRSGI.js +36 -0
- package/dist/chunk-WXFLMQSR.js +223 -0
- package/dist/{chunk-RRTKKSLQ.js → chunk-X3WY6MN3.js} +8 -6
- package/dist/{chunk-ZCJDOK2S.js → chunk-X4CXA2IL.js} +47 -23
- package/dist/{chunk-UBBC2XSG.js → chunk-X5F3Q5LV.js} +560 -105
- package/dist/{chunk-C6EKFH7J.js → chunk-XD75VZIH.js} +9 -7
- package/dist/chunk-XERYFDB5.js +297 -0
- package/dist/chunk-XI2LCCYQ.js +420 -0
- package/dist/chunk-Y2EQNWKV.js +933 -0
- package/dist/{chunk-LR3R6Z2A.js → chunk-YHCMZC2J.js} +7 -7
- package/dist/chunk-YYY3AZFE.js +122 -0
- package/dist/{chunk-GDLULHTC.js → chunk-Z5IA3WDR.js} +19 -31
- package/dist/{chunk-T6XQL73F.js → chunk-ZFFYNRIO.js} +63 -23
- package/dist/{chunk-EDS2L2LD.js → chunk-ZFL7NY4F.js} +56 -27
- package/dist/{chunk-YMZ3TNYB.js → chunk-ZGULQAPZ.js} +7 -4
- package/dist/{chunk-4SKZDI62.js → chunk-ZIUFM5HT.js} +3 -1
- package/dist/{chunk-DKJA76CJ.js → chunk-ZJFRMSJT.js} +15 -13
- package/dist/chunk-ZJXLNDH4.js +239 -0
- package/dist/chunk-ZQ3ON2VQ.js +252 -0
- package/dist/{chunk-HITVBIJS.js → chunk-ZQ7SKESZ.js} +150 -415
- package/dist/{chunk-6QSERWXH.js → chunk-ZQXZ2SES.js} +24 -21
- package/dist/chunk-ZX57KSEQ.js +39 -0
- package/dist/{chunk-I3E7CX4H.js → chunk-ZZK56BLP.js} +5 -3
- package/dist/files.json +664 -368
- package/dist/packages/naysayer/constitution/constitution.yaml +19 -0
- package/dist/packages/sdk/npm/index.js +6194 -2542
- package/dist/packages/ui/dist/assets/{elk-api-tma0MCuh.js → elk-api-CIf-0gz5.js} +2 -2
- package/dist/packages/ui/dist/assets/index-CoK_Dl0D.js +47 -0
- package/dist/packages/ui/dist/assets/index-Dw20IRhQ.css +1 -0
- package/dist/packages/ui/dist/index.html +3 -2
- package/package.json +5 -5
- package/dist/chunk-2BF2EYJV.js +0 -174
- package/dist/chunk-42EVSKME.js +0 -37
- package/dist/chunk-4BKGMUIK.js +0 -53
- package/dist/chunk-5KLGBXG5.js +0 -48
- package/dist/chunk-6BNC6EQ4.js +0 -41
- package/dist/chunk-6D2CQ5II.js +0 -41
- package/dist/chunk-7AVHLZGD.js +0 -45
- package/dist/chunk-D46WUV3T.js +0 -33
- package/dist/chunk-E36QOJMD.js +0 -47
- package/dist/chunk-FQXYPF7E.js +0 -147
- package/dist/chunk-GBRFVT63.js +0 -45
- package/dist/chunk-ICY36XCH.js +0 -34
- package/dist/chunk-J4K3KVLD.js +0 -131
- package/dist/chunk-JZU3H6UQ.js +0 -54
- package/dist/chunk-NN2ZQEB4.js +0 -38
- package/dist/chunk-PCOCACY3.js +0 -385
- package/dist/chunk-RTEYOSJY.js +0 -29
- package/dist/chunk-RUVFXE2L.js +0 -666
- package/dist/chunk-RVH5SUW5.js +0 -69
- package/dist/chunk-VN3DP4LQ.js +0 -43
- package/dist/chunk-W5BVQF44.js +0 -36
- package/dist/chunk-WVPJSRRJ.js +0 -52
- package/dist/chunk-XPTOBS2D.js +0 -48
- package/dist/packages/ui/dist/assets/index-B54fm9FQ.js +0 -29
- package/dist/packages/ui/dist/assets/index-DD_hufQz.css +0 -1
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
import { createRequire as __atticusCreateRequire } from "node:module";
|
|
2
|
+
import { fileURLToPath as __atticusFileURLToPath } from "node:url";
|
|
3
|
+
var require = __atticusCreateRequire(import.meta.url);
|
|
4
|
+
var __atticusUrl = (p) => new URL("./" + p, import.meta.url).href;
|
|
5
|
+
var __atticusPath = (p) => __atticusFileURLToPath(__atticusUrl(p));
|
|
6
|
+
import {
|
|
7
|
+
ABOUT_RULE,
|
|
8
|
+
ASSISTANT_FORMATS,
|
|
9
|
+
AssistantFilesError,
|
|
10
|
+
BEGIN_RE,
|
|
11
|
+
COPILOT_AGENTS,
|
|
12
|
+
COPILOT_RULES,
|
|
13
|
+
END,
|
|
14
|
+
FACT_RULES,
|
|
15
|
+
FACT_RULES_HASH,
|
|
16
|
+
FACT_RULE_PARTS,
|
|
17
|
+
FINISH,
|
|
18
|
+
FRAMEWORK_TOPICS,
|
|
19
|
+
GUARD,
|
|
20
|
+
MODELS_RULE,
|
|
21
|
+
OrgCommandMeta,
|
|
22
|
+
PROBE_DIR,
|
|
23
|
+
PROBE_SCHEMA_VERSION,
|
|
24
|
+
PROBE_STALE_DAYS,
|
|
25
|
+
PROPOSAL_SHAPE,
|
|
26
|
+
ProbeResult,
|
|
27
|
+
RULE_SETS,
|
|
28
|
+
RULE_TOPICS,
|
|
29
|
+
SPEC_KIT_VERSION,
|
|
30
|
+
UNRECORDED_LACKS,
|
|
31
|
+
agentFile,
|
|
32
|
+
assistantTier,
|
|
33
|
+
atticusTaskCommand,
|
|
34
|
+
body,
|
|
35
|
+
buildEngineFor,
|
|
36
|
+
claudeCodePluginFiles,
|
|
37
|
+
claudeCommandContent,
|
|
38
|
+
copilotAgentFiles,
|
|
39
|
+
describeStep,
|
|
40
|
+
factRulesFor,
|
|
41
|
+
factsReference,
|
|
42
|
+
fileText,
|
|
43
|
+
findSection,
|
|
44
|
+
generateAssistantFiles,
|
|
45
|
+
headerLine,
|
|
46
|
+
loadOrgCommands,
|
|
47
|
+
mapBatchInstructions,
|
|
48
|
+
mapCommand,
|
|
49
|
+
metarepoCommands,
|
|
50
|
+
parseHeader,
|
|
51
|
+
probeCommand,
|
|
52
|
+
probeFileOf,
|
|
53
|
+
probeTier,
|
|
54
|
+
probedAssistant,
|
|
55
|
+
proposeCommand,
|
|
56
|
+
protocolFor,
|
|
57
|
+
readProbes,
|
|
58
|
+
renderAssistantFiles,
|
|
59
|
+
renderSection,
|
|
60
|
+
ruleSetKinds,
|
|
61
|
+
ruleSetsNow,
|
|
62
|
+
rulesLacking,
|
|
63
|
+
rulesNow,
|
|
64
|
+
serializeProbe,
|
|
65
|
+
sha256,
|
|
66
|
+
smokeCheck,
|
|
67
|
+
specKitCommands,
|
|
68
|
+
specifyFiles,
|
|
69
|
+
step,
|
|
70
|
+
stepCommands,
|
|
71
|
+
taughtFrameworksText,
|
|
72
|
+
tierLine,
|
|
73
|
+
tierSource,
|
|
74
|
+
tierWords,
|
|
75
|
+
topUpWords,
|
|
76
|
+
whatRunsWhere,
|
|
77
|
+
withHeader,
|
|
78
|
+
writeAssistantFiles,
|
|
79
|
+
writeProbe,
|
|
80
|
+
zeroInstallCommands
|
|
81
|
+
} from "./chunk-BEVTIBRH.js";
|
|
82
|
+
import "./chunk-PKBHS4AA.js";
|
|
83
|
+
import "./chunk-Q2TECDIT.js";
|
|
84
|
+
import "./chunk-TUULXQRW.js";
|
|
85
|
+
import "./chunk-BQGDB6ZL.js";
|
|
86
|
+
import "./chunk-TV45EUGM.js";
|
|
87
|
+
export {
|
|
88
|
+
ABOUT_RULE,
|
|
89
|
+
ASSISTANT_FORMATS,
|
|
90
|
+
AssistantFilesError,
|
|
91
|
+
BEGIN_RE,
|
|
92
|
+
COPILOT_AGENTS,
|
|
93
|
+
COPILOT_RULES,
|
|
94
|
+
END,
|
|
95
|
+
FACT_RULES,
|
|
96
|
+
FACT_RULES_HASH,
|
|
97
|
+
FACT_RULE_PARTS,
|
|
98
|
+
FINISH,
|
|
99
|
+
FRAMEWORK_TOPICS,
|
|
100
|
+
GUARD,
|
|
101
|
+
MODELS_RULE,
|
|
102
|
+
OrgCommandMeta,
|
|
103
|
+
PROBE_DIR,
|
|
104
|
+
PROBE_SCHEMA_VERSION,
|
|
105
|
+
PROBE_STALE_DAYS,
|
|
106
|
+
PROPOSAL_SHAPE,
|
|
107
|
+
ProbeResult,
|
|
108
|
+
RULE_SETS,
|
|
109
|
+
RULE_TOPICS,
|
|
110
|
+
SPEC_KIT_VERSION,
|
|
111
|
+
UNRECORDED_LACKS,
|
|
112
|
+
agentFile,
|
|
113
|
+
assistantTier,
|
|
114
|
+
atticusTaskCommand,
|
|
115
|
+
body,
|
|
116
|
+
buildEngineFor,
|
|
117
|
+
claudeCodePluginFiles,
|
|
118
|
+
claudeCommandContent,
|
|
119
|
+
copilotAgentFiles,
|
|
120
|
+
describeStep,
|
|
121
|
+
factRulesFor,
|
|
122
|
+
factsReference,
|
|
123
|
+
fileText,
|
|
124
|
+
findSection,
|
|
125
|
+
generateAssistantFiles,
|
|
126
|
+
headerLine,
|
|
127
|
+
loadOrgCommands,
|
|
128
|
+
mapBatchInstructions,
|
|
129
|
+
mapCommand,
|
|
130
|
+
metarepoCommands,
|
|
131
|
+
parseHeader,
|
|
132
|
+
probeCommand,
|
|
133
|
+
probeFileOf,
|
|
134
|
+
probeTier,
|
|
135
|
+
probedAssistant,
|
|
136
|
+
proposeCommand,
|
|
137
|
+
protocolFor,
|
|
138
|
+
readProbes,
|
|
139
|
+
renderAssistantFiles,
|
|
140
|
+
renderSection,
|
|
141
|
+
ruleSetKinds,
|
|
142
|
+
ruleSetsNow,
|
|
143
|
+
rulesLacking,
|
|
144
|
+
rulesNow,
|
|
145
|
+
serializeProbe,
|
|
146
|
+
sha256,
|
|
147
|
+
smokeCheck,
|
|
148
|
+
specKitCommands,
|
|
149
|
+
specifyFiles,
|
|
150
|
+
step,
|
|
151
|
+
stepCommands,
|
|
152
|
+
taughtFrameworksText,
|
|
153
|
+
tierLine,
|
|
154
|
+
tierSource,
|
|
155
|
+
tierWords,
|
|
156
|
+
topUpWords,
|
|
157
|
+
whatRunsWhere,
|
|
158
|
+
withHeader,
|
|
159
|
+
writeAssistantFiles,
|
|
160
|
+
writeProbe,
|
|
161
|
+
zeroInstallCommands
|
|
162
|
+
};
|
|
@@ -3,46 +3,61 @@ import { fileURLToPath as __atticusFileURLToPath } from "node:url";
|
|
|
3
3
|
var require = __atticusCreateRequire(import.meta.url);
|
|
4
4
|
var __atticusUrl = (p) => new URL("./" + p, import.meta.url).href;
|
|
5
5
|
var __atticusPath = (p) => __atticusFileURLToPath(__atticusUrl(p));
|
|
6
|
+
import {
|
|
7
|
+
componentTypeIds,
|
|
8
|
+
componentTypesAt
|
|
9
|
+
} from "./chunk-OUBGGKDU.js";
|
|
10
|
+
import {
|
|
11
|
+
recordTopUpVerified
|
|
12
|
+
} from "./chunk-XI2LCCYQ.js";
|
|
13
|
+
import {
|
|
14
|
+
notesAt
|
|
15
|
+
} from "./chunk-WXFLMQSR.js";
|
|
16
|
+
import {
|
|
17
|
+
loadReadPlan,
|
|
18
|
+
recordReadProgress
|
|
19
|
+
} from "./chunk-TYQBFTBR.js";
|
|
6
20
|
import {
|
|
7
21
|
carryOf,
|
|
8
22
|
checkoutOf,
|
|
23
|
+
conventionsAt,
|
|
24
|
+
estateComponentsOf,
|
|
9
25
|
excludesOf,
|
|
10
26
|
headOf,
|
|
11
27
|
raiseReadQuestions,
|
|
12
28
|
readCorrections,
|
|
13
29
|
readReviewed,
|
|
14
30
|
reviewedProblemsOf,
|
|
31
|
+
slipNoteLines,
|
|
15
32
|
writeVerifyFiles
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-O3WI5KWW.js";
|
|
33
|
+
} from "./chunk-2F4CYZKJ.js";
|
|
18
34
|
import {
|
|
19
35
|
dirSource,
|
|
20
36
|
frameworkFacts,
|
|
21
37
|
frameworksToLearn,
|
|
38
|
+
repairFormSlips,
|
|
22
39
|
verifyFacts
|
|
23
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-CXJ6FUKN.js";
|
|
24
41
|
import {
|
|
25
42
|
NoRoomError,
|
|
26
43
|
roomGuard,
|
|
27
44
|
streamFacts
|
|
28
|
-
} from "./chunk-
|
|
29
|
-
import "./chunk-EFHQ3TWP.js";
|
|
30
|
-
import "./chunk-GQ4N4WKF.js";
|
|
45
|
+
} from "./chunk-UPS2DGFC.js";
|
|
31
46
|
import {
|
|
32
47
|
factsDirOf,
|
|
33
48
|
factsRelOf,
|
|
34
49
|
listQuestions,
|
|
35
|
-
loadOrgPack
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
50
|
+
loadOrgPack,
|
|
51
|
+
orgPackDirOf,
|
|
52
|
+
stackHelpersOff
|
|
53
|
+
} from "./chunk-Q2TECDIT.js";
|
|
39
54
|
|
|
40
55
|
// packages/cli/dist/verify-commands.js
|
|
41
56
|
import { existsSync } from "node:fs";
|
|
42
|
-
import { readFile } from "node:fs/promises";
|
|
57
|
+
import { readdir, readFile } from "node:fs/promises";
|
|
43
58
|
import { join } from "node:path";
|
|
44
59
|
async function frameworksKnownTo(root) {
|
|
45
|
-
const op = await loadOrgPack(root).catch(() => void 0);
|
|
60
|
+
const op = await loadOrgPack(orgPackDirOf(root)).catch(() => void 0);
|
|
46
61
|
return (op?.frameworks ?? []).flatMap((f) => [f.name, ...f.artifacts]);
|
|
47
62
|
}
|
|
48
63
|
var SHOWN = 5;
|
|
@@ -63,7 +78,44 @@ function questionLines(text) {
|
|
|
63
78
|
}
|
|
64
79
|
return { lines, problems };
|
|
65
80
|
}
|
|
81
|
+
var FACTS_SIDE_FILES = /\.(questions|reviewed|rejected|corrections)\.jsonl$/;
|
|
82
|
+
async function factsRepos(root) {
|
|
83
|
+
const names = await readdir(factsDirOf(root)).catch(() => []);
|
|
84
|
+
return names.filter((n) => n.endsWith(".jsonl") && !FACTS_SIDE_FILES.test(n)).map((n) => n.slice(0, -".jsonl".length)).sort();
|
|
85
|
+
}
|
|
86
|
+
async function verifyAllCommand(root, o, io) {
|
|
87
|
+
const repos = await factsRepos(root);
|
|
88
|
+
if (!repos.length) {
|
|
89
|
+
io.err(`No repo has facts yet (${factsRelOf(root)}/<repo>.jsonl). Read one first: /atticus-map <repo> in your assistant.`);
|
|
90
|
+
return 2;
|
|
91
|
+
}
|
|
92
|
+
const failed = [];
|
|
93
|
+
for (const repo of repos) {
|
|
94
|
+
const code = await verifyCommand(root, repo, o, io);
|
|
95
|
+
if (code !== 0)
|
|
96
|
+
failed.push(repo);
|
|
97
|
+
}
|
|
98
|
+
const passed = repos.length - failed.length;
|
|
99
|
+
io.out(`Verified ${repos.length === 1 ? "1 repo" : `${repos.length} repos`}: ${passed} passed${failed.length ? `, ${failed.length} with something to fix (${failed.join(", ")})` : ""}.`);
|
|
100
|
+
return failed.length ? 1 : 0;
|
|
101
|
+
}
|
|
102
|
+
async function verifyInputsOf(root, repo, dir) {
|
|
103
|
+
return {
|
|
104
|
+
// ADR 0163: the org notes the read was handed, so a term's note is one of them.
|
|
105
|
+
notes: (await notesAt(root, repo, dir)).notes,
|
|
106
|
+
// ADR 0180: a component fact's type is one of the organisation's.
|
|
107
|
+
componentTypes: componentTypeIds(await componentTypesAt(root)),
|
|
108
|
+
corrections: await readCorrections(root, repo),
|
|
109
|
+
reviewed: await readReviewed(root, repo),
|
|
110
|
+
estate: await estateComponentsOf(root),
|
|
111
|
+
conventions: await conventionsAt(root),
|
|
112
|
+
exclude: await excludesOf(root, repo),
|
|
113
|
+
// ADR 0169: the model files the read plan leaves out, counted apart in coverage.
|
|
114
|
+
notReached: (await loadReadPlan(root, repo))?.notReached?.files ?? []
|
|
115
|
+
};
|
|
116
|
+
}
|
|
66
117
|
async function verifyCommand(root, repo, o, io) {
|
|
118
|
+
const off = stackHelpersOff();
|
|
67
119
|
const rel = factsRelOf(root);
|
|
68
120
|
const file = join(factsDirOf(root), `${repo}.jsonl`);
|
|
69
121
|
if (!existsSync(file)) {
|
|
@@ -83,6 +135,9 @@ async function verifyCommand(root, repo, o, io) {
|
|
|
83
135
|
io.err(`atticus verify ${repo}: ${e.message}`);
|
|
84
136
|
return 2;
|
|
85
137
|
}
|
|
138
|
+
const repaired = repairFormSlips(parsed.facts, parsed.bad);
|
|
139
|
+
parsed = { facts: repaired.facts, bad: repaired.bad };
|
|
140
|
+
const slips = repaired.slips;
|
|
86
141
|
if (!parsed.facts.length && parsed.bad.length) {
|
|
87
142
|
io.err(`${rel}/${repo}.jsonl does not read as facts:`);
|
|
88
143
|
for (const b of parsed.bad.slice(0, 20))
|
|
@@ -99,23 +154,32 @@ async function verifyCommand(root, repo, o, io) {
|
|
|
99
154
|
const commit = o.commit ?? await headOf(dir);
|
|
100
155
|
const source = dirSource(dir);
|
|
101
156
|
const { carry, missing } = await carryOf(dir, parsed.facts, commit, o.git);
|
|
102
|
-
const
|
|
157
|
+
const inputs = await verifyInputsOf(root, repo, dir);
|
|
158
|
+
const { corrections, reviewed, estate, conventions } = inputs;
|
|
103
159
|
for (const b of corrections.bad.slice(0, SHOWN))
|
|
104
160
|
io.err(`${rel}/${repo}.corrections.jsonl line ${b.line} isn't a correction: ${b.message}`);
|
|
105
161
|
if (corrections.bad.length > SHOWN)
|
|
106
162
|
io.err(`... and ${corrections.bad.length - SHOWN} more lines of ${rel}/${repo}.corrections.jsonl that aren't corrections`);
|
|
107
|
-
const reviewed = await readReviewed(root, repo);
|
|
108
163
|
let report;
|
|
109
164
|
try {
|
|
110
165
|
report = await verifyFacts({
|
|
111
166
|
facts: parsed.facts,
|
|
112
167
|
source,
|
|
168
|
+
// G4: the stack helpers this run switched off (ATTICUS_HELPERS_OFF).
|
|
169
|
+
...off.has("derived-names") ? { derivedNames: false } : {},
|
|
170
|
+
...off.has("readers") ? { readers: false } : {},
|
|
113
171
|
...commit ? { commit, carry } : {},
|
|
114
172
|
...o.routed ? { routed: o.routed } : {},
|
|
115
|
-
exclude:
|
|
173
|
+
exclude: inputs.exclude,
|
|
116
174
|
corrections: corrections.corrections,
|
|
117
175
|
reviewed: reviewed.entries,
|
|
118
|
-
room
|
|
176
|
+
room,
|
|
177
|
+
// J1 (ADR 0143): an exposure read here names a component the manifest lists.
|
|
178
|
+
...estate ? { estate } : {},
|
|
179
|
+
conventions,
|
|
180
|
+
notes: inputs.notes,
|
|
181
|
+
componentTypes: inputs.componentTypes,
|
|
182
|
+
notReached: inputs.notReached
|
|
119
183
|
});
|
|
120
184
|
} catch (e) {
|
|
121
185
|
if (!(e instanceof NoRoomError))
|
|
@@ -151,13 +215,24 @@ async function verifyCommand(root, repo, o, io) {
|
|
|
151
215
|
raw: b.raw,
|
|
152
216
|
message: `line ${b.line} isn't a fact: ${b.issues.map((i) => i.message).join("; ")}`
|
|
153
217
|
}));
|
|
154
|
-
const summary = await writeVerifyFiles(root, repo, report, commit, qProblems, badLines, reviewedBad);
|
|
218
|
+
const summary = await writeVerifyFiles(root, repo, report, commit, qProblems, badLines, reviewedBad, slips);
|
|
155
219
|
const failed = report.rejected.length + qProblems.length + badLines.length + reviewedBad.length > 0;
|
|
220
|
+
await recordReadProgress(root, repo, {
|
|
221
|
+
commit,
|
|
222
|
+
kept: report.accepted.length,
|
|
223
|
+
// ADR 0170: a part is read when this coverage leaves nothing under it unaccounted.
|
|
224
|
+
unknown: report.coverage.unknown,
|
|
225
|
+
...o.now ? {
|
|
226
|
+
now: o.now().toISOString().replace(/\.\d{3}Z$/, "Z")
|
|
227
|
+
} : {}
|
|
228
|
+
});
|
|
229
|
+
if (!failed)
|
|
230
|
+
await recordTopUpVerified(root, repo, { commit });
|
|
156
231
|
const rejectedNote = `Nothing written to the catalog: ${report.rejected.length} facts were rejected. Fix them and run atticus verify ${repo} --write again.`;
|
|
157
232
|
if (o.json) {
|
|
158
233
|
let written2;
|
|
159
234
|
if (o.write && !failed) {
|
|
160
|
-
const { writeFactsIntoCatalog: writeFactsIntoCatalog2 } = await import("./chunk-
|
|
235
|
+
const { writeFactsIntoCatalog: writeFactsIntoCatalog2 } = await import("./chunk-Y2EQNWKV.js");
|
|
161
236
|
written2 = await writeFactsIntoCatalog2(root, repo, report.accepted, { dir, command: `atticus verify ${repo} --write` }, { ...io, out: () => void 0 });
|
|
162
237
|
if (!written2)
|
|
163
238
|
return 1;
|
|
@@ -180,7 +255,16 @@ async function verifyCommand(root, repo, o, io) {
|
|
|
180
255
|
}
|
|
181
256
|
const pct = Math.round(report.coverage.ratio * 100);
|
|
182
257
|
const cov = report.coverage;
|
|
183
|
-
io.out(`${repo}: ${report.accepted.length} facts kept, ${report.rejected.length} rejected; coverage ${pct}% (${cov.read.length} read, ${cov.reviewed.length ? `${cov.reviewed.length} reviewed with nothing to record, ` : ""}${cov.unknown.length} unknown${cov.excluded.length ? `, ${cov.excluded.length} excluded` : ""}).`);
|
|
258
|
+
io.out(`${repo}: ${report.accepted.length} facts kept, ${report.rejected.length} rejected; coverage ${pct}% (${cov.read.length} read, ${cov.reviewed.length ? `${cov.reviewed.length} reviewed with nothing to record, ` : ""}${cov.unknown.length} unknown${cov.excluded.length ? `, ${cov.excluded.length} excluded` : ""}${cov.notReached.length ? `, ${cov.notReached.length} model files no entry or call reaches` : ""}).`);
|
|
259
|
+
if (cov.notReached.length) {
|
|
260
|
+
const client = new Set((await loadReadPlan(root, repo))?.notReached?.clientOnly?.files ?? []);
|
|
261
|
+
const byClient = cov.notReached.filter((p) => client.has(p)).length;
|
|
262
|
+
const rest = cov.notReached.length - byClient;
|
|
263
|
+
if (byClient)
|
|
264
|
+
io.out(`${byClient} model files only an outbound client reaches; atticus map ${repo} --models reachable reads them.`);
|
|
265
|
+
if (rest)
|
|
266
|
+
io.out(`${rest} model files no entry or call reaches; atticus map ${repo} --models all reads them.`);
|
|
267
|
+
}
|
|
184
268
|
const verifyYaml = `${rel}/${repo}.verify.yaml`;
|
|
185
269
|
const rejectedFile = `${rel}/${repo}.rejected.jsonl`;
|
|
186
270
|
const show = (lines, more) => {
|
|
@@ -225,6 +309,42 @@ async function verifyCommand(root, repo, o, io) {
|
|
|
225
309
|
io.out(`Next: read the ${cov.unknown.length} unknown files (listed in ${rel}/${repo}.verify.yaml). A file you read and found nothing to record in goes in ${rel}/${repo}.reviewed.jsonl ({"path": "<file or glob>", "why": "..."} per line); generated code is excluded in org-pack/scan/${repo}.yaml.`);
|
|
226
310
|
else
|
|
227
311
|
io.out(`The read is complete: every source file is read (${cov.read.length})${cov.reviewed.length ? ` or reviewed with nothing to record (${cov.reviewed.length}, each with why in ${rel}/${repo}.verify.yaml)` : ""}.`);
|
|
312
|
+
for (const l of slipNoteLines(slips, verifyYaml, SHOWN))
|
|
313
|
+
io.out(l);
|
|
314
|
+
const dropped = report.reviewedDropped;
|
|
315
|
+
if (dropped.length) {
|
|
316
|
+
io.out(`${dropped.length} reviewed ${dropped.length === 1 ? "glob matches" : "globs match"} no file and ${dropped.length === 1 ? "was" : "were"} dropped (a note, not a refusal; under reviewedDropped in ${verifyYaml}):`);
|
|
317
|
+
show(dropped.map((d) => d.message), `(reviewedDropped in ${verifyYaml})`);
|
|
318
|
+
}
|
|
319
|
+
const unseen = report.methodUnseen;
|
|
320
|
+
if (unseen.length) {
|
|
321
|
+
io.out(`${unseen.length} ${unseen.length === 1 ? "entry or call claims" : "entries or calls claim"} an HTTP method ${unseen.length === 1 ? "its" : "their"} lines don't write (a warning, not a rejection; under methodUnseen in ${verifyYaml}):`);
|
|
322
|
+
show(unseen.map((m) => m.message), `(methodUnseen in ${verifyYaml})`);
|
|
323
|
+
}
|
|
324
|
+
const all = o.skipped === true;
|
|
325
|
+
const list = (lines, more) => {
|
|
326
|
+
if (all)
|
|
327
|
+
for (const l of lines)
|
|
328
|
+
io.out(` ${l}`);
|
|
329
|
+
else
|
|
330
|
+
show(lines, more);
|
|
331
|
+
};
|
|
332
|
+
const seeAll = `atticus verify ${repo} --skipped prints every one`;
|
|
333
|
+
const skippedLines = report.skipped;
|
|
334
|
+
if (skippedLines.length) {
|
|
335
|
+
io.out(`${skippedLines.length} ${skippedLines.length === 1 ? "line of the files read writes" : "lines of the files read write"} a path, URL or topic no fact cites (a note for the reader to check, not a rejection; under skipped in ${verifyYaml}; ${seeAll}):`);
|
|
336
|
+
list(skippedLines.map((x) => `${x.cite} ${x.kind} ${x.value}`), `(${seeAll})`);
|
|
337
|
+
}
|
|
338
|
+
const holds = report.reviewedHolds;
|
|
339
|
+
if (holds.length) {
|
|
340
|
+
io.out(`${holds.length} reviewed ${holds.length === 1 ? "glob holds" : "globs hold"} lines that write a path, URL or topic (a note; under reviewedHolds in ${verifyYaml}): read them, then write their facts or say why there are none:`);
|
|
341
|
+
list(holds.map((h) => h.message), `(reviewedHolds in ${verifyYaml})`);
|
|
342
|
+
}
|
|
343
|
+
const ops = report.specOpsUncovered;
|
|
344
|
+
if (ops.length) {
|
|
345
|
+
io.out(`${ops.length} ${ops.length === 1 ? "operation the repo's OpenAPI spec declares has" : "operations the repo's OpenAPI specs declare have"} no entry (a note, not a rejection; under specOpsUncovered in ${verifyYaml}; ${seeAll}):`);
|
|
346
|
+
list(ops.map((x) => x.message), `(${seeAll})`);
|
|
347
|
+
}
|
|
228
348
|
if (report.redacted)
|
|
229
349
|
io.out(`${report.redacted} quotes had a secret value redacted.`);
|
|
230
350
|
if (report.quotesDropped)
|
|
@@ -247,7 +367,7 @@ async function verifyCommand(root, repo, o, io) {
|
|
|
247
367
|
io.out(`${gaps.length} ${gaps.length === 1 ? "framework" : "frameworks"} this repo declares ${gaps.length === 1 ? "shows" : "show"} none of its patterns in the facts (a question for a person, not a rejection; under frameworkGaps in ${verifyYaml}):`);
|
|
248
368
|
show(gaps.map((g) => g.question), `(frameworkGaps in ${verifyYaml})`);
|
|
249
369
|
}
|
|
250
|
-
const learn = frameworksToLearn(report.accepted, await frameworksKnownTo(root));
|
|
370
|
+
const learn = off.has("framework-models") ? [] : frameworksToLearn(report.accepted, await frameworksKnownTo(root), (await conventionsAt(root)).frameworks);
|
|
251
371
|
if (learn.length) {
|
|
252
372
|
io.out(`${learn.length} ${learn.length === 1 ? "framework" : "frameworks"} of the house nothing here can read yet: teach ${learn.length === 1 ? "it" : "them"} once, rather than having each repo's annotations read as ordinary code.`);
|
|
253
373
|
show(learn.map((l) => `${l.why} Learn it: ${l.command}`), "");
|
|
@@ -261,11 +381,15 @@ async function verifyCommand(root, repo, o, io) {
|
|
|
261
381
|
io.out(`When the read is complete: atticus verify ${repo} --write puts the facts in the catalog, the flows in specs/${repo}/, and renders the map.`);
|
|
262
382
|
return 0;
|
|
263
383
|
}
|
|
264
|
-
const { writeFactsIntoCatalog } = await import("./chunk-
|
|
384
|
+
const { writeFactsIntoCatalog } = await import("./chunk-Y2EQNWKV.js");
|
|
265
385
|
const written = await writeFactsIntoCatalog(root, repo, report.accepted, { dir, command: `atticus verify ${repo} --write`, verbose: o.verbose === true }, io);
|
|
266
386
|
return written ? 0 : 1;
|
|
267
387
|
}
|
|
388
|
+
|
|
268
389
|
export {
|
|
269
390
|
SHOWN,
|
|
391
|
+
factsRepos,
|
|
392
|
+
verifyAllCommand,
|
|
393
|
+
verifyInputsOf,
|
|
270
394
|
verifyCommand
|
|
271
395
|
};
|
|
@@ -14,6 +14,8 @@ import {
|
|
|
14
14
|
SERVICE_REQUEST_READER,
|
|
15
15
|
TriageError,
|
|
16
16
|
WORK_ITEM_READER,
|
|
17
|
+
aggregateTraffic,
|
|
18
|
+
appLabelOf,
|
|
17
19
|
attachToChange,
|
|
18
20
|
boundedId,
|
|
19
21
|
buildTriage,
|
|
@@ -21,34 +23,54 @@ import {
|
|
|
21
23
|
citedParts,
|
|
22
24
|
classify,
|
|
23
25
|
compareVersions,
|
|
26
|
+
denyListHits,
|
|
24
27
|
diffVendorSpecs,
|
|
25
28
|
heldOutInputs,
|
|
29
|
+
joinServerVariables,
|
|
30
|
+
looksSensitive,
|
|
26
31
|
nameParts,
|
|
32
|
+
openApiContractSpecs,
|
|
27
33
|
operationSchemas,
|
|
28
34
|
opt,
|
|
35
|
+
pathTemplateOf,
|
|
29
36
|
payloadFields,
|
|
30
37
|
readAsyncApiSpec,
|
|
38
|
+
readAsyncApiSpecs,
|
|
39
|
+
readAvroSpecs,
|
|
31
40
|
readChangeInputs,
|
|
41
|
+
readConsumerOpenApi,
|
|
42
|
+
readContractFiles,
|
|
43
|
+
readContractSpecs,
|
|
44
|
+
readJsonSchemaSpecs,
|
|
32
45
|
readOpenApiSpec,
|
|
46
|
+
readPactFile,
|
|
33
47
|
readPayload,
|
|
48
|
+
readProtoSpecs,
|
|
49
|
+
readRepoSpecs,
|
|
34
50
|
readServiceRequestExport,
|
|
35
51
|
readServiceRequestExports,
|
|
36
52
|
readVendorSpec,
|
|
37
53
|
readWorkItemExport,
|
|
38
54
|
readWorkItemExports,
|
|
55
|
+
safePathOf,
|
|
56
|
+
safeServerUrl,
|
|
39
57
|
scanInputs,
|
|
40
58
|
screenFile,
|
|
59
|
+
segmentOf,
|
|
41
60
|
slug,
|
|
42
61
|
sortItems,
|
|
43
62
|
specEndpointIds,
|
|
63
|
+
specFormatOf,
|
|
44
64
|
vendorImpact
|
|
45
|
-
} from "./chunk-
|
|
46
|
-
import "./chunk-
|
|
47
|
-
import "./chunk-
|
|
48
|
-
import "./chunk-
|
|
49
|
-
import "./chunk-
|
|
50
|
-
import "./chunk-
|
|
51
|
-
import "./chunk-
|
|
65
|
+
} from "./chunk-QKUJMING.js";
|
|
66
|
+
import "./chunk-6ZGLAACW.js";
|
|
67
|
+
import "./chunk-CQDGOPGH.js";
|
|
68
|
+
import "./chunk-3NFFJL5D.js";
|
|
69
|
+
import "./chunk-P32RUW3B.js";
|
|
70
|
+
import "./chunk-QA4O2GGC.js";
|
|
71
|
+
import "./chunk-Q2TECDIT.js";
|
|
72
|
+
import "./chunk-TUULXQRW.js";
|
|
73
|
+
import "./chunk-BQGDB6ZL.js";
|
|
52
74
|
import "./chunk-TV45EUGM.js";
|
|
53
75
|
export {
|
|
54
76
|
CHANGE_INPUTS_SCHEMA_VERSION,
|
|
@@ -61,6 +83,8 @@ export {
|
|
|
61
83
|
SERVICE_REQUEST_READER,
|
|
62
84
|
TriageError,
|
|
63
85
|
WORK_ITEM_READER,
|
|
86
|
+
aggregateTraffic,
|
|
87
|
+
appLabelOf,
|
|
64
88
|
attachToChange,
|
|
65
89
|
boundedId,
|
|
66
90
|
buildTriage,
|
|
@@ -68,25 +92,43 @@ export {
|
|
|
68
92
|
citedParts,
|
|
69
93
|
classify,
|
|
70
94
|
compareVersions,
|
|
95
|
+
denyListHits,
|
|
71
96
|
diffVendorSpecs,
|
|
72
97
|
heldOutInputs,
|
|
98
|
+
joinServerVariables,
|
|
99
|
+
looksSensitive,
|
|
73
100
|
nameParts,
|
|
101
|
+
openApiContractSpecs,
|
|
74
102
|
operationSchemas,
|
|
75
103
|
opt,
|
|
104
|
+
pathTemplateOf,
|
|
76
105
|
payloadFields,
|
|
77
106
|
readAsyncApiSpec,
|
|
107
|
+
readAsyncApiSpecs,
|
|
108
|
+
readAvroSpecs,
|
|
78
109
|
readChangeInputs,
|
|
110
|
+
readConsumerOpenApi,
|
|
111
|
+
readContractFiles,
|
|
112
|
+
readContractSpecs,
|
|
113
|
+
readJsonSchemaSpecs,
|
|
79
114
|
readOpenApiSpec,
|
|
115
|
+
readPactFile,
|
|
80
116
|
readPayload,
|
|
117
|
+
readProtoSpecs,
|
|
118
|
+
readRepoSpecs,
|
|
81
119
|
readServiceRequestExport,
|
|
82
120
|
readServiceRequestExports,
|
|
83
121
|
readVendorSpec,
|
|
84
122
|
readWorkItemExport,
|
|
85
123
|
readWorkItemExports,
|
|
124
|
+
safePathOf,
|
|
125
|
+
safeServerUrl,
|
|
86
126
|
scanInputs,
|
|
87
127
|
screenFile,
|
|
128
|
+
segmentOf,
|
|
88
129
|
slug,
|
|
89
130
|
sortItems,
|
|
90
131
|
specEndpointIds,
|
|
132
|
+
specFormatOf,
|
|
91
133
|
vendorImpact
|
|
92
134
|
};
|