@outerlayer/cli 0.38.0-next.20261110133110 → 0.38.0-next.20261111004457
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/agent-setup-OU7CGYSN.js +40 -0
- package/dist/{agent-subcommand-5PNHUNZZ.js → agent-subcommand-GG4PSHYT.js} +4 -4
- package/dist/{artifact-link-cmd-XOFZP7U5.js → artifact-link-cmd-L4BXSQQP.js} +2 -2
- package/dist/{bridge-RNM7OWRW.js → bridge-MVW5RNQD.js} +7 -7
- package/dist/{build-VKO7IVOQ.js → build-D4Y3LBPO.js} +13 -13
- package/dist/{build-disk-M2JYJF6R.js → build-disk-VDMWH3C3.js} +11 -11
- package/dist/build-info.json +1 -1
- package/dist/{builder-HMHJ6U7C.js → builder-6L5ZMXBE.js} +10 -10
- package/dist/caller-FFSXVMLB.js +23 -0
- package/dist/{check-3XHEVEXS.js → check-U5DOQU64.js} +55 -55
- package/dist/{chunk-SBPMDO47.js → chunk-2HLMGVK6.js} +1 -1
- package/dist/{chunk-TW2V2IQ4.js → chunk-2KUFDLLY.js} +1 -1
- package/dist/{chunk-XCTE5S2C.js → chunk-2PYQ6BZJ.js} +1 -1
- package/dist/{chunk-HMDEF3UT.js → chunk-2ZPXDOCU.js} +16 -16
- package/dist/{chunk-ALCZ2SEW.js → chunk-3AHABZMA.js} +5 -5
- package/dist/{chunk-5QFFQCSY.js → chunk-3IL6H7A4.js} +1 -1
- package/dist/{chunk-5QDHJT73.js → chunk-4JKCTCCC.js} +6 -5
- package/dist/{chunk-NE7EG3SN.js → chunk-4S6ML2YX.js} +4 -4
- package/dist/{chunk-ATQHPT3B.js → chunk-5TODASD5.js} +1 -1
- package/dist/{chunk-C574RHGN.js → chunk-5U4IKVF5.js} +3 -3
- package/dist/{chunk-AC6DM3S3.js → chunk-6Z5AC4ZK.js} +1 -1
- package/dist/{chunk-IGO766M6.js → chunk-7GYY7RHR.js} +4 -4
- package/dist/{chunk-OI4ZV7MJ.js → chunk-7ILAGC3U.js} +1 -1
- package/dist/{chunk-YOAJLD2D.js → chunk-7NRULS6C.js} +7 -7
- package/dist/{chunk-VU5PPWIQ.js → chunk-A6CCWLUP.js} +7 -7
- package/dist/{chunk-YZQYTOCR.js → chunk-BYWVHMBR.js} +1 -1
- package/dist/{chunk-QNHBJU74.js → chunk-BZSGU2WC.js} +9 -9
- package/dist/{chunk-UCUBQWJC.js → chunk-CKA4JQKR.js} +1 -1
- package/dist/{chunk-ITOIM3WV.js → chunk-CSFMIUYS.js} +1 -1
- package/dist/{chunk-QGUCHNSQ.js → chunk-D7OVS2LL.js} +3 -3
- package/dist/{chunk-PA6FKP5B.js → chunk-DDEJP7YT.js} +6 -6
- package/dist/{chunk-72LXVD4O.js → chunk-DNCF3XOC.js} +4 -4
- package/dist/{chunk-MBPBYMHU.js → chunk-E5G6K7C4.js} +1 -1
- package/dist/{chunk-L32O52SH.js → chunk-EKV7QATX.js} +1 -1
- package/dist/{chunk-F2ADK2KB.js → chunk-EN3OWMED.js} +5 -5
- package/dist/{chunk-VNHDMOZW.js → chunk-F5ONFHHU.js} +52 -31
- package/dist/{chunk-MT4XF5OL.js → chunk-G2CRPYFO.js} +2 -2
- package/dist/{chunk-3HJK7WTM.js → chunk-GELUV567.js} +137 -14
- package/dist/{chunk-TUSIYONR.js → chunk-HWXBOHEA.js} +1 -1
- package/dist/{chunk-2TXYQANG.js → chunk-IWJFARST.js} +1 -1
- package/dist/{chunk-DKDBMMX7.js → chunk-IZHI643L.js} +6 -6
- package/dist/{chunk-I2N427GS.js → chunk-J3KW7GPE.js} +8 -8
- package/dist/{chunk-47JRSV6Y.js → chunk-J4DTF5MN.js} +1 -1
- package/dist/{chunk-QFQ2UNZU.js → chunk-JASHMKDN.js} +6 -6
- package/dist/{chunk-25G5KXBE.js → chunk-JDXYBQBZ.js} +7 -7
- package/dist/{chunk-I64CTY4U.js → chunk-JNEK36QK.js} +113 -63
- package/dist/{chunk-E27XMQKR.js → chunk-JP5D37RZ.js} +3 -3
- package/dist/{chunk-EHPKACA7.js → chunk-JPO6RJEW.js} +1 -1
- package/dist/{chunk-IVB6A3I7.js → chunk-JRM35NTG.js} +7 -7
- package/dist/{chunk-735C5J6Q.js → chunk-LNTNFSRI.js} +5 -5
- package/dist/{chunk-L6CZTRNW.js → chunk-MRSN67FY.js} +1 -1
- package/dist/{chunk-RBLXGO5K.js → chunk-MV5WJEIB.js} +2 -2
- package/dist/{chunk-WH2QUYXH.js → chunk-MX5XVAOI.js} +2 -2
- package/dist/{chunk-OK4RSIB2.js → chunk-N3KGXHV4.js} +1 -1
- package/dist/{chunk-7E55P2NR.js → chunk-NAKFPE2V.js} +1 -1
- package/dist/{chunk-2KGYMIVS.js → chunk-NBJPY3OC.js} +14 -14
- package/dist/{chunk-XAR2CJFV.js → chunk-NCPZP6PQ.js} +7 -7
- package/dist/{chunk-FXVHF6RX.js → chunk-NEXKR5RR.js} +64 -13
- package/dist/{chunk-VRWZNI6U.js → chunk-NIQXLC6A.js} +1 -1
- package/dist/{chunk-3DY4DQOC.js → chunk-ONZNFKCH.js} +4 -4
- package/dist/{chunk-BTH6HTE5.js → chunk-OUKSF3LK.js} +5 -5
- package/dist/{chunk-6RQP5GP5.js → chunk-OVJSVC5U.js} +2 -2
- package/dist/{chunk-ENHD5PNW.js → chunk-OWBNADRQ.js} +1 -1
- package/dist/{chunk-MSARYPFD.js → chunk-OZDUVL5L.js} +2 -2
- package/dist/{chunk-FGBBGUM4.js → chunk-P5XX7VZ6.js} +4 -4
- package/dist/{chunk-YO2NPS66.js → chunk-PG33WPRF.js} +1 -1
- package/dist/{chunk-OEWSICWM.js → chunk-QB5MU2WS.js} +8 -8
- package/dist/{chunk-B5Z4VA4Q.js → chunk-QHYCF36K.js} +1 -1
- package/dist/{chunk-2WNJ2MHD.js → chunk-R6UNNKV3.js} +1 -1
- package/dist/{chunk-TD6DN5LU.js → chunk-RI37FFPL.js} +3 -3
- package/dist/{chunk-GJMLLXZJ.js → chunk-RWXLTF3K.js} +1 -1
- package/dist/{chunk-XFU37HIM.js → chunk-U43K2JS5.js} +3 -3
- package/dist/{chunk-6XROZIV6.js → chunk-UF3X5ECJ.js} +6 -6
- package/dist/{chunk-VQQF6MDT.js → chunk-W5OAKC2W.js} +10 -10
- package/dist/{chunk-BCQFMAGM.js → chunk-WPGGRTF4.js} +3 -3
- package/dist/{chunk-67BVM7JK.js → chunk-WVJDXOIG.js} +3 -3
- package/dist/{chunk-CXXQQST7.js → chunk-WWGXWKLT.js} +9 -9
- package/dist/{chunk-UUSSRXUJ.js → chunk-X7BVDOS2.js} +3 -3
- package/dist/{chunk-OWEJP5HJ.js → chunk-YB3M2TM3.js} +1 -1
- package/dist/{chunk-HDEYRLWK.js → chunk-YE3KPAT5.js} +1 -1
- package/dist/{chunk-3GTAPQBG.js → chunk-YWQ3S3F5.js} +2 -2
- package/dist/{chunk-B4U5XI4F.js → chunk-ZNQRFRBW.js} +8 -8
- package/dist/{claude-launcher-WMIUTAXY.js → claude-launcher-GNRTFQMI.js} +7 -7
- package/dist/{cli-VQNE6M77.js → cli-SNHD2D6X.js} +170 -160
- package/dist/{command-XQPL75PX.js → command-NTKAT7KB.js} +50 -50
- package/dist/{config-ZRGYLVDX.js → config-LUIWZESD.js} +12 -12
- package/dist/{connect-cmd-MZXTWM4R.js → connect-cmd-4M4DN6GO.js} +13 -13
- package/dist/{container-start-M7SFF62T.js → container-start-BVEDUA7N.js} +48 -48
- package/dist/{context-cleanup-Z3HZZZXW.js → context-cleanup-JPPSK7DE.js} +4 -4
- package/dist/{context-show-cmd-SCOVPVDM.js → context-show-cmd-DAMQJOAL.js} +14 -14
- package/dist/{control-plane-launch-MWZHJ4G5.js → control-plane-launch-SD45JYKF.js} +14 -14
- package/dist/{demo-record-cmd-4RVSWVMK.js → demo-record-cmd-CFOXCR42.js} +8 -8
- package/dist/{demo-voice-cmd-PGM5JPCQ.js → demo-voice-cmd-4YZJPUIP.js} +20 -20
- package/dist/{dist-XEPPXF4M.js → dist-5VKIP767.js} +2 -2
- package/dist/{docker-25F2KOBJ.js → docker-2DLKQOK3.js} +10 -10
- package/dist/{doctor-Z3U3ICVR.js → doctor-VFCDAKM4.js} +50 -50
- package/dist/{emit-artifact-cmd-Z4SHPKFT.js → emit-artifact-cmd-IWZDXJBY.js} +19 -19
- package/dist/{emit-cmd-NHMZ4M5S.js → emit-cmd-AIAY4WTW.js} +7 -7
- package/dist/{emit-criteria-cmd-HCN3DOJM.js → emit-criteria-cmd-UVCLLYEZ.js} +16 -16
- package/dist/{emit-demo-cmd-NOSQTOES.js → emit-demo-cmd-BHKNT36Y.js} +20 -20
- package/dist/{emit-finding-cmd-YXR3ZVCJ.js → emit-finding-cmd-Y3XX26B4.js} +16 -16
- package/dist/{emit-result-cmd-Z7MBE37R.js → emit-result-cmd-TTQ3MLY4.js} +18 -18
- package/dist/{emit-step-cmd-JOSYDSEO.js → emit-step-cmd-EASDIM5Q.js} +16 -16
- package/dist/{exec-client-SZRXXKJ5.js → exec-client-MEIRWXLR.js} +8 -8
- package/dist/find-unit-2RZ4NCXQ.js +24 -0
- package/dist/{findings-cmd-NGFY25WZ.js → findings-cmd-KQOL6NJG.js} +16 -16
- package/dist/{fleet-readiness-NWIVQQ4P.js → fleet-readiness-R2BMWLXQ.js} +14 -14
- package/dist/governing-source-ARSS7R7L.js +41 -0
- package/dist/{guest-init-T7QJW2AJ.js → guest-init-UGBFOWNC.js} +9 -9
- package/dist/{hook-fast-ECQBMESE.js → hook-fast-DC556GE2.js} +1 -1
- package/dist/{hook-install-MBMG3G6B.js → hook-install-QQXREIMI.js} +4 -4
- package/dist/host-checks-UTZBDSWV.js +80 -0
- package/dist/host-key-CTRFLP2W.js +18 -0
- package/dist/{image-tag-OCVY4W5D.js → image-tag-RU4RHPIT.js} +8 -8
- package/dist/index.js +4 -4
- package/dist/init-I5HVGOQC.js +80 -0
- package/dist/{init-NRN2DQC3.js → init-QFTRSBBT.js} +46 -46
- package/dist/{init-agent-GDOZHPQH.js → init-agent-TKQ67BS4.js} +46 -46
- package/dist/{init-cmd-QJYX47LS.js → init-cmd-I36LJ6YC.js} +27 -27
- package/dist/{init-update-EUJ4264S.js → init-update-KG7V3VJF.js} +24 -24
- package/dist/{install-cmd-HWG6LJX5.js → install-cmd-66Z7TY52.js} +10 -10
- package/dist/{layout-CGE4KWGO.js → layout-CE6QLPNH.js} +4 -4
- package/dist/{login-browser-G7WNR74C.js → login-browser-COSWHZEC.js} +2 -2
- package/dist/{logs-TKWJ4S4W.js → logs-XWMVEAUP.js} +7 -7
- package/dist/loop-YCOSJRLW.js +90 -0
- package/dist/machine-BJEAYCHT.js +80 -0
- package/dist/{machine-skills-CXA57QHE.js → machine-skills-YJLPUAYZ.js} +4 -4
- package/dist/{mcp-install-cmd-6IGK65DV.js → mcp-install-cmd-VSWX5BSZ.js} +4 -4
- package/dist/{mcp-serve-cmd-DVE5XP2U.js → mcp-serve-cmd-M7CX4RO3.js} +9 -9
- package/dist/{paths-VOWYUJLZ.js → paths-GQ66KHNT.js} +7 -7
- package/dist/pending-COVCIH4Q.js +18 -0
- package/dist/{pidfile-MFP6B2KV.js → pidfile-RBG6FQ7K.js} +8 -8
- package/dist/{record-AWCJ3LTG.js → record-6IAZ26H3.js} +8 -8
- package/dist/{relay-YVZM5M6B.js → relay-VEBGGPYV.js} +5 -5
- package/dist/{relay-protocol-MNWITORT.js → relay-protocol-2AJCUAMJ.js} +5 -5
- package/dist/{run-cmd-MBH5Z2UL.js → run-cmd-EJPHCENL.js} +16 -16
- package/dist/{runner-agents-L3PLYFWJ.js → runner-agents-P562WZJB.js} +4 -4
- package/dist/runner-env-XPZ3FPQL.js +24 -0
- package/dist/{runner-identity-E2XKIJNB.js → runner-identity-TAJAY5M5.js} +10 -10
- package/dist/{runner-key-W5M6AYY5.js → runner-key-I3M7GEJE.js} +46 -46
- package/dist/{session-sender-IS6S7PBC.js → session-sender-OIOE4QR2.js} +19 -19
- package/dist/{spec-cmd-ZLDYL4N5.js → spec-cmd-2J43XP3L.js} +17 -17
- package/dist/{starter-pack-XINCCMDN.js → starter-pack-IT2KYFWU.js} +5 -5
- package/dist/state-NAZKB77R.js +18 -0
- package/dist/{status-L7R6FKWD.js → status-BFRDAZQP.js} +46 -46
- package/dist/{sync-cmd-3YZ4IB3T.js → sync-cmd-KWTFVQCR.js} +18 -18
- package/dist/update-steps-LINCNPGV.js +81 -0
- package/dist/{watch-LIIODJ5U.js → watch-3IBFF2SQ.js} +18 -18
- package/dist/{work-claim-cmd-GWBWIZ43.js → work-claim-cmd-C2WFSOKE.js} +22 -22
- package/dist/{work-cmd-CJWTGOU5.js → work-cmd-DO2QNBKA.js} +16 -16
- package/dist/{work-comment-cmd-RFVCNEET.js → work-comment-cmd-P5VJHCX7.js} +18 -18
- package/dist/{work-demo-cmd-Q2GKJCVL.js → work-demo-cmd-UJBZLOMQ.js} +16 -16
- package/dist/{work-logs-cmd-KZQBPU2J.js → work-logs-cmd-OVE5JUMH.js} +16 -16
- package/dist/{work-needs-attention-cmd-L3DOYAMK.js → work-needs-attention-cmd-QNCOUXMT.js} +16 -16
- package/dist/{work-no-change-cmd-SHP25CJB.js → work-no-change-cmd-KQSONMJX.js} +16 -16
- package/dist/{work-open-pr-cmd-VATPLVSL.js → work-open-pr-cmd-HBE74CZU.js} +17 -17
- package/dist/{work-pr-cmd-XBLNONT3.js → work-pr-cmd-62BGKUJM.js} +16 -16
- package/dist/work-proofs-cmd-SLUFPOEN.js +37 -0
- package/dist/{work-proofs-record-2RDDJ6CK.js → work-proofs-record-6KGPMUHD.js} +117 -37
- package/dist/{work-stop-cmd-BLOSL24H.js → work-stop-cmd-7WEHA365.js} +16 -16
- package/package.json +1 -1
- package/skill-pack/maintained/outerlayer-build/SKILL.md +13 -4
- package/skill-pack/maintained/outerlayer-build/references/agent-briefs.md +10 -8
- package/skill-pack/maintained/outerlayer-build/references/evidence.md +33 -23
- package/skill-pack/maintained/outerlayer-build/references/release.md +2 -2
- package/skill-pack/maintained/outerlayer-findings/SKILL.md +46 -41
- package/skill-pack/maintained/outerlayer-findings/references/examples.md +23 -0
- package/dist/agent-setup-GZBGCV3K.js +0 -40
- package/dist/caller-U26SATTV.js +0 -23
- package/dist/find-unit-3RHC4375.js +0 -24
- package/dist/governing-source-DNWVPRXP.js +0 -41
- package/dist/host-checks-QLGWXKOC.js +0 -80
- package/dist/host-key-6SMJUTJ2.js +0 -18
- package/dist/init-JY3XYZI6.js +0 -80
- package/dist/loop-HWYHQ374.js +0 -90
- package/dist/machine-NVXRV4BO.js +0 -80
- package/dist/pending-35ML3JE5.js +0 -18
- package/dist/runner-env-IHWYZ3B6.js +0 -24
- package/dist/state-NIA6XT7D.js +0 -18
- package/dist/update-steps-6SPAPBAB.js +0 -81
- package/dist/work-proofs-cmd-27IPS3EY.js +0 -37
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { createRequire } from 'node:module';
|
|
3
|
+
export { classifyProofs, classifyProofsAt, otherPullRequestHeads, renderProofRow, resolveProofsItem, runWorkProofs, runWorkProofsCommand } from './chunk-NBJPY3OC.js';
|
|
4
|
+
import './chunk-WPGGRTF4.js';
|
|
5
|
+
import './chunk-ZNQRFRBW.js';
|
|
6
|
+
import './chunk-2HLMGVK6.js';
|
|
7
|
+
import './chunk-U43K2JS5.js';
|
|
8
|
+
import './chunk-JASHMKDN.js';
|
|
9
|
+
import './chunk-QHYCF36K.js';
|
|
10
|
+
import './chunk-PG33WPRF.js';
|
|
11
|
+
import './chunk-N3KGXHV4.js';
|
|
12
|
+
import './chunk-A2LHHKTT.js';
|
|
13
|
+
import './chunk-2AM6Z5BP.js';
|
|
14
|
+
import './chunk-NIQXLC6A.js';
|
|
15
|
+
import './chunk-HWVMRETT.js';
|
|
16
|
+
import './chunk-OWBNADRQ.js';
|
|
17
|
+
import './chunk-6Z5AC4ZK.js';
|
|
18
|
+
import './chunk-4S6ML2YX.js';
|
|
19
|
+
import './chunk-MX5XVAOI.js';
|
|
20
|
+
import './chunk-BJ3KTMDH.js';
|
|
21
|
+
import './chunk-I45HTSSA.js';
|
|
22
|
+
import './chunk-LGJ56FCM.js';
|
|
23
|
+
import './chunk-WZBHBH3J.js';
|
|
24
|
+
import './chunk-FZKNTIOJ.js';
|
|
25
|
+
import './chunk-YQR6E6OV.js';
|
|
26
|
+
import './chunk-CKA4JQKR.js';
|
|
27
|
+
import './chunk-G2CRPYFO.js';
|
|
28
|
+
import './chunk-PLVHIQJN.js';
|
|
29
|
+
import './chunk-7PZDPISM.js';
|
|
30
|
+
import './chunk-ATEMEVFF.js';
|
|
31
|
+
import './chunk-RA3O54FC.js';
|
|
32
|
+
import './chunk-352DHUTP.js';
|
|
33
|
+
import './chunk-E5G6K7C4.js';
|
|
34
|
+
import './chunk-NEXKR5RR.js';
|
|
35
|
+
import './chunk-Z5GEFMRW.js';
|
|
36
|
+
|
|
37
|
+
createRequire(import.meta.url);
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { runWorkComment } from './chunk-
|
|
4
|
-
import { resolveProofsItem, ownPullRequest, otherPullRequestHeads, testProofMode, classifyProofsAt, runWorkProofs, proofsCommentId, testFilesOf, freshXmlFiles, joinResults, testSelectors, kindProblem, proofsCommentBody } from './chunk-
|
|
5
|
-
import { runEmitDemo } from './chunk-
|
|
3
|
+
import { runWorkComment } from './chunk-7NRULS6C.js';
|
|
4
|
+
import { resolveProofsItem, ownPullRequest, otherPullRequestHeads, testProofMode, classifyProofsAt, runWorkProofs, proofsCommentId, testFilesOf, freshXmlFiles, joinResults, testSelectors, kindProblem, renderProofRow, proofsCommentBody } from './chunk-NBJPY3OC.js';
|
|
5
|
+
import { runEmitDemo, planScreenshots, chapterPassed, readStill } from './chunk-BZSGU2WC.js';
|
|
6
6
|
import { readNewestDemo } from './chunk-ER6KQCVJ.js';
|
|
7
|
-
import { runEmitArtifact } from './chunk-
|
|
8
|
-
import { runnerMatcher } from './chunk-
|
|
7
|
+
import { runEmitArtifact } from './chunk-A6CCWLUP.js';
|
|
8
|
+
import { runnerMatcher } from './chunk-WPGGRTF4.js';
|
|
9
9
|
import './chunk-2PGI6RDE.js';
|
|
10
|
-
import { runSync } from './chunk-
|
|
11
|
-
import './chunk-
|
|
10
|
+
import { runSync } from './chunk-WWGXWKLT.js';
|
|
11
|
+
import './chunk-UF3X5ECJ.js';
|
|
12
12
|
import './chunk-C2PZOLN7.js';
|
|
13
|
-
import { WorkCommandError, resolveCredentials, getJson } from './chunk-
|
|
14
|
-
import './chunk-
|
|
15
|
-
import './chunk-
|
|
16
|
-
import './chunk-
|
|
17
|
-
import './chunk-
|
|
18
|
-
import './chunk-
|
|
19
|
-
import './chunk-
|
|
13
|
+
import { WorkCommandError, resolveCredentials, getJson } from './chunk-ZNQRFRBW.js';
|
|
14
|
+
import './chunk-2HLMGVK6.js';
|
|
15
|
+
import './chunk-U43K2JS5.js';
|
|
16
|
+
import './chunk-JASHMKDN.js';
|
|
17
|
+
import './chunk-QHYCF36K.js';
|
|
18
|
+
import './chunk-PG33WPRF.js';
|
|
19
|
+
import './chunk-N3KGXHV4.js';
|
|
20
20
|
import './chunk-A2LHHKTT.js';
|
|
21
21
|
import './chunk-2AM6Z5BP.js';
|
|
22
|
-
import { defaultFetch } from './chunk-
|
|
22
|
+
import { defaultFetch } from './chunk-NIQXLC6A.js';
|
|
23
23
|
import './chunk-HWVMRETT.js';
|
|
24
|
-
import './chunk-
|
|
25
|
-
import './chunk-
|
|
26
|
-
import './chunk-
|
|
27
|
-
import './chunk-
|
|
28
|
-
import './chunk-
|
|
24
|
+
import './chunk-OWBNADRQ.js';
|
|
25
|
+
import './chunk-6Z5AC4ZK.js';
|
|
26
|
+
import './chunk-4S6ML2YX.js';
|
|
27
|
+
import './chunk-MX5XVAOI.js';
|
|
28
|
+
import './chunk-D7OVS2LL.js';
|
|
29
29
|
import './chunk-545P7JY7.js';
|
|
30
30
|
import './chunk-SF2TBJBP.js';
|
|
31
31
|
import './chunk-BJ3KTMDH.js';
|
|
@@ -38,26 +38,26 @@ import './chunk-FZKNTIOJ.js';
|
|
|
38
38
|
import './chunk-ZHQC43NH.js';
|
|
39
39
|
import './chunk-YQR6E6OV.js';
|
|
40
40
|
import './chunk-CJPTUU2E.js';
|
|
41
|
-
import './chunk-
|
|
42
|
-
import { parseProofsConfig } from './chunk-
|
|
41
|
+
import './chunk-CKA4JQKR.js';
|
|
42
|
+
import { parseProofsConfig } from './chunk-G2CRPYFO.js';
|
|
43
43
|
import './chunk-PLVHIQJN.js';
|
|
44
44
|
import './chunk-7PZDPISM.js';
|
|
45
45
|
import './chunk-ATEMEVFF.js';
|
|
46
46
|
import './chunk-RA3O54FC.js';
|
|
47
47
|
import './chunk-352DHUTP.js';
|
|
48
|
-
import { resolveRepoIdentity } from './chunk-
|
|
49
|
-
import { ARTIFACT_MAX_CAPTION_LENGTH } from './chunk-
|
|
48
|
+
import { resolveRepoIdentity } from './chunk-E5G6K7C4.js';
|
|
49
|
+
import { ARTIFACT_MAX_CAPTION_LENGTH, DemoManifestSchema, ARTIFACT_MAX_BYTES } from './chunk-NEXKR5RR.js';
|
|
50
50
|
import './chunk-Z5GEFMRW.js';
|
|
51
51
|
import { spawnSync, spawn } from 'child_process';
|
|
52
|
-
import { mkdtempSync, writeFileSync, rmSync, openSync, closeSync, readdirSync
|
|
52
|
+
import { mkdtempSync, writeFileSync, rmSync, readFileSync, openSync, closeSync, readdirSync } from 'fs';
|
|
53
53
|
import { tmpdir } from 'os';
|
|
54
|
-
import { join } from 'path';
|
|
54
|
+
import { join, dirname, relative, resolve, sep, isAbsolute } from 'path';
|
|
55
55
|
|
|
56
56
|
createRequire(import.meta.url);
|
|
57
57
|
var runShell = (command, params) => {
|
|
58
58
|
const logPath = join(params.logDir, `${params.groups.length}-${Date.now()}.log`);
|
|
59
59
|
const fd = openSync(logPath, "w");
|
|
60
|
-
return new Promise((
|
|
60
|
+
return new Promise((resolve2) => {
|
|
61
61
|
const child = spawn("sh", ["-c", command], { cwd: params.cwd, env: params.env, detached: true, stdio: ["ignore", fd, fd] });
|
|
62
62
|
closeSync(fd);
|
|
63
63
|
if (child.pid !== void 0) params.groups.push(child.pid);
|
|
@@ -76,7 +76,7 @@ var runShell = (command, params) => {
|
|
|
76
76
|
text = readFileSync(logPath, "utf8");
|
|
77
77
|
} catch {
|
|
78
78
|
}
|
|
79
|
-
|
|
79
|
+
resolve2({ status, timedOut, tail: text.trimEnd().split("\n").slice(-8).join("\n") });
|
|
80
80
|
};
|
|
81
81
|
child.on("error", () => finish(null));
|
|
82
82
|
child.on("exit", (status) => finish(status));
|
|
@@ -141,6 +141,8 @@ var CONFIG_FILE = ".outerlayer-proofs.yaml";
|
|
|
141
141
|
var DEFAULT_TIMEOUT_MS = 10 * 60 * 1e3;
|
|
142
142
|
var DEMO_PROOFS = /* @__PURE__ */ new Set(["screenshot", "video"]);
|
|
143
143
|
var NO_TEST = "no test at HEAD names this criterion";
|
|
144
|
+
var DemoRefused = class extends Error {
|
|
145
|
+
};
|
|
144
146
|
function changedTrackedFiles(root) {
|
|
145
147
|
const status = spawnSync("git", ["status", "--porcelain=v1", "-z", "--untracked-files=no"], { cwd: root, encoding: "utf8", maxBuffer: 16 * 1024 * 1024 });
|
|
146
148
|
if (status.error !== void 0 || status.status !== 0) {
|
|
@@ -219,7 +221,7 @@ async function runWorkProofsRecord(opts) {
|
|
|
219
221
|
const changed = changedTrackedFiles(root);
|
|
220
222
|
if (changed.length > 0) {
|
|
221
223
|
throw new WorkCommandError(
|
|
222
|
-
`the working copy differs from HEAD in ${changed.join(", ")}. Only the committed files run, so nothing was recorded. Commit or discard the change, then record again.`
|
|
224
|
+
opts.check ? `the working copy differs from HEAD in ${changed.join(", ")}. Only the committed files run, so nothing was checked. Commit or discard the change, then check again.` : `the working copy differs from HEAD in ${changed.join(", ")}. Only the committed files run, so nothing was recorded. Commit or discard the change, then record again.`
|
|
223
225
|
);
|
|
224
226
|
}
|
|
225
227
|
const fetchImpl = opts.fetchImpl ?? defaultFetch;
|
|
@@ -251,8 +253,9 @@ async function runWorkProofsRecord(opts) {
|
|
|
251
253
|
if (todo.length === 0) {
|
|
252
254
|
const closing2 = await runWorkProofs({ ...opts, item, env, quiet: true, checkoutHead: head, fetchImpl });
|
|
253
255
|
if (!opts.quiet) process.stdout.write(closing2.output + "\n");
|
|
254
|
-
return { exitCode: closing2.exitCode, output: closing2.output, emitted: [], notCurrent: [] };
|
|
256
|
+
return { exitCode: closing2.exitCode, output: closing2.output, emitted: [], notCurrent: [], passed: [] };
|
|
255
257
|
}
|
|
258
|
+
const check = opts.check === true;
|
|
256
259
|
const configText = showAtHead(root, CONFIG_FILE);
|
|
257
260
|
const parsed = configText === void 0 ? void 0 : parseProofsConfig(configText);
|
|
258
261
|
if (parsed === void 0 || !parsed.ok) {
|
|
@@ -268,6 +271,7 @@ async function runWorkProofsRecord(opts) {
|
|
|
268
271
|
const proofOf = (id) => declared.get(id).proof;
|
|
269
272
|
const reasons = /* @__PURE__ */ new Map();
|
|
270
273
|
const emitted = /* @__PURE__ */ new Map();
|
|
274
|
+
const passed = /* @__PURE__ */ new Set();
|
|
271
275
|
const testIds = todo.filter((id) => proofOf(id) === "test");
|
|
272
276
|
const testsOf = /* @__PURE__ */ new Map();
|
|
273
277
|
const matchesRunner = runnerMatcher(config.runners);
|
|
@@ -384,7 +388,7 @@ async function runWorkProofsRecord(opts) {
|
|
|
384
388
|
} catch {
|
|
385
389
|
}
|
|
386
390
|
if (left.length > 0) {
|
|
387
|
-
say(`The run changed tracked files: ${left.join(", ")}. The next --record records nothing until they match HEAD. Make setup, the tests and teardown leave them unchanged.`);
|
|
391
|
+
say(`The run changed tracked files: ${left.join(", ")}. The next ${check ? "--check checks" : "--record records"} nothing until they match HEAD. Make setup, the tests and teardown leave them unchanged.`);
|
|
388
392
|
}
|
|
389
393
|
}
|
|
390
394
|
await emitProofs();
|
|
@@ -396,24 +400,30 @@ async function runWorkProofsRecord(opts) {
|
|
|
396
400
|
const manifests = runs.flatMap((run) => findManifests(run.proofOut));
|
|
397
401
|
const chapters = /* @__PURE__ */ new Set();
|
|
398
402
|
if (manifests.length > 1) {
|
|
399
|
-
say(
|
|
403
|
+
say(`${check ? "Failed" : "Not recorded"}, the demo: the runners left ${manifests.length} demo manifests, so it is unclear which to store`);
|
|
400
404
|
} else if (manifests.length === 1) {
|
|
401
405
|
for (const id of chapterCriteria(manifests[0])) chapters.add(id);
|
|
402
|
-
|
|
406
|
+
if (check) checkDemoOrRefuse(manifests[0]);
|
|
407
|
+
else await recordDemo(manifests[0], chapters);
|
|
403
408
|
}
|
|
404
409
|
for (const [id, tests] of testsOf) {
|
|
405
410
|
const ran = runs.filter((run) => run.criteria.includes(id));
|
|
406
411
|
if (ran.length === 0) continue;
|
|
407
412
|
const fail = (reason) => {
|
|
408
413
|
reasons.set(id, reason);
|
|
409
|
-
say(`Not recorded, ${id}: ${reason}`);
|
|
414
|
+
if (!check) say(`Not recorded, ${id}: ${reason}`);
|
|
410
415
|
};
|
|
411
416
|
const joined = joinResults([...new Set(ran.flatMap((run) => run.results))], new Set(tests.items.map((test) => test.name)), root);
|
|
417
|
+
const failed = ran.find((run) => run.failure !== void 0)?.failure;
|
|
412
418
|
if (!joined.ok) {
|
|
413
|
-
const failed = ran.find((run) => run.failure !== void 0)?.failure;
|
|
414
419
|
fail(failed === void 0 ? joined.reason : `${failed}, and ${joined.reason}`);
|
|
415
420
|
continue;
|
|
416
421
|
}
|
|
422
|
+
if (check) {
|
|
423
|
+
if (failed === void 0) passed.add(id);
|
|
424
|
+
else reasons.set(id, failed);
|
|
425
|
+
continue;
|
|
426
|
+
}
|
|
417
427
|
const resultsFile = join(logDir, `${id}.xml`);
|
|
418
428
|
writeFileSync(resultsFile, joined.xml);
|
|
419
429
|
try {
|
|
@@ -453,7 +463,7 @@ async function runWorkProofsRecord(opts) {
|
|
|
453
463
|
if (emitted.has(id)) continue;
|
|
454
464
|
const fail = (reason) => {
|
|
455
465
|
reasons.set(id, reason);
|
|
456
|
-
say(`Not recorded, ${id}: ${reason}`);
|
|
466
|
+
if (!check) say(`Not recorded, ${id}: ${reason}`);
|
|
457
467
|
};
|
|
458
468
|
if (run.failure !== void 0) {
|
|
459
469
|
fail(`${run.failure}, so its files are not recorded`);
|
|
@@ -464,6 +474,10 @@ async function runWorkProofsRecord(opts) {
|
|
|
464
474
|
fail(problem);
|
|
465
475
|
continue;
|
|
466
476
|
}
|
|
477
|
+
if (check) {
|
|
478
|
+
passed.add(id);
|
|
479
|
+
continue;
|
|
480
|
+
}
|
|
467
481
|
try {
|
|
468
482
|
const caption = (declared.get(id).text ?? `Proof for ${id}`).slice(0, ARTIFACT_MAX_CAPTION_LENGTH);
|
|
469
483
|
const before = spooledCount;
|
|
@@ -487,6 +501,56 @@ async function runWorkProofsRecord(opts) {
|
|
|
487
501
|
}
|
|
488
502
|
}
|
|
489
503
|
}
|
|
504
|
+
function checkDemo(manifest) {
|
|
505
|
+
const demoCriteria = todo.filter((id) => DEMO_PROOFS.has(proofOf(id)));
|
|
506
|
+
let raw;
|
|
507
|
+
try {
|
|
508
|
+
raw = JSON.parse(readFileSync(manifest, "utf8"));
|
|
509
|
+
} catch {
|
|
510
|
+
raw = void 0;
|
|
511
|
+
}
|
|
512
|
+
const parsed2 = DemoManifestSchema.safeParse(raw);
|
|
513
|
+
if (!parsed2.success) {
|
|
514
|
+
const reason = "the demo manifest is not valid";
|
|
515
|
+
for (const id of demoCriteria) reasons.set(id, reason);
|
|
516
|
+
say(`Failed, the demo: ${reason}`);
|
|
517
|
+
return;
|
|
518
|
+
}
|
|
519
|
+
const manifestDir = dirname(manifest);
|
|
520
|
+
const frames = planScreenshots({ manifest: parsed2.data, proofs: new Map([...declared].map(([id, c]) => [id, c.proof])) });
|
|
521
|
+
const problems = parsed2.data.chapters.map((chapter, index) => {
|
|
522
|
+
if (!chapterPassed(chapter.checks)) return chapter.checks.length === 0 ? "its demo chapter ran no check" : "its demo chapter has a failed check";
|
|
523
|
+
const decision = frames[index];
|
|
524
|
+
if (chapter.criterionId === null || declared.get(chapter.criterionId)?.proof !== "screenshot" || decision === void 0) return void 0;
|
|
525
|
+
if ("skip" in decision) return `its demo chapter ${decision.skip}`;
|
|
526
|
+
const inside = relative(manifestDir, resolve(manifestDir, decision.bind.file));
|
|
527
|
+
if (inside === ".." || inside.startsWith(`..${sep}`) || isAbsolute(inside)) throw new DemoRefused(`the frame "${decision.bind.file}" is outside the manifest's folder`);
|
|
528
|
+
let bytes;
|
|
529
|
+
try {
|
|
530
|
+
bytes = readStill(manifestDir, decision.bind.file, decision.bind.sha256, "frame");
|
|
531
|
+
} catch (err) {
|
|
532
|
+
throw new DemoRefused(err instanceof Error ? err.message : String(err));
|
|
533
|
+
}
|
|
534
|
+
if (bytes.length > ARTIFACT_MAX_BYTES) return `its screenshot frame is over the ${ARTIFACT_MAX_BYTES / (1024 * 1024)} MiB limit`;
|
|
535
|
+
return void 0;
|
|
536
|
+
});
|
|
537
|
+
for (const id of demoCriteria) {
|
|
538
|
+
const indexes = parsed2.data.chapters.flatMap((chapter, index) => chapter.criterionId === id ? [index] : []);
|
|
539
|
+
if (indexes.length === 0) continue;
|
|
540
|
+
if (indexes.some((index) => problems[index] === void 0)) passed.add(id);
|
|
541
|
+
else reasons.set(id, problems[indexes[0]]);
|
|
542
|
+
}
|
|
543
|
+
}
|
|
544
|
+
function checkDemoOrRefuse(manifest) {
|
|
545
|
+
try {
|
|
546
|
+
checkDemo(manifest);
|
|
547
|
+
} catch (err) {
|
|
548
|
+
if (!(err instanceof DemoRefused)) throw err;
|
|
549
|
+
const reason = `the demo would not be stored: ${err.message}`;
|
|
550
|
+
for (const id of todo.filter((id2) => DEMO_PROOFS.has(proofOf(id2)))) reasons.set(id, reason);
|
|
551
|
+
say(`Failed, the demo: ${err.message}`);
|
|
552
|
+
}
|
|
553
|
+
}
|
|
490
554
|
async function recordDemo(manifest, chapters) {
|
|
491
555
|
const demoCriteria = todo.filter((id) => DEMO_PROOFS.has(proofOf(id)));
|
|
492
556
|
let replaces;
|
|
@@ -524,6 +588,21 @@ async function runWorkProofsRecord(opts) {
|
|
|
524
588
|
}
|
|
525
589
|
for (const failure of result.failures) say(`Demo check failed: ${oneLine(failure)}`);
|
|
526
590
|
}
|
|
591
|
+
if (check) return finishCheck();
|
|
592
|
+
async function finishCheck() {
|
|
593
|
+
const failedProofs = todo.filter((id) => !passed.has(id)).map((id) => ({ id, proof: proofOf(id), reason: reasons.get(id) ?? "it was not checked in this run" }));
|
|
594
|
+
for (const id of todo) {
|
|
595
|
+
if (passed.has(id)) say(`Passed ${id} (${proofOf(id)})`);
|
|
596
|
+
}
|
|
597
|
+
for (const proof of failedProofs) say(`Failed ${proof.id} (${proof.proof}): ${proof.reason}`);
|
|
598
|
+
const closing2 = await runWorkProofs({ ...opts, item, env, quiet: true, checkoutHead: head, fetchImpl });
|
|
599
|
+
const judged = closing2.entries.filter((entry) => entry.state === "failed");
|
|
600
|
+
const inRunnerBuild = env.OUTERLAYER_JOB_DIR !== void 0;
|
|
601
|
+
const output2 = [...lines, ...judged.map(renderProofRow)].join("\n");
|
|
602
|
+
if (!opts.quiet) process.stdout.write(output2 + "\n");
|
|
603
|
+
const ok = failedProofs.length === 0 && !(inRunnerBuild && judged.length > 0);
|
|
604
|
+
return { exitCode: ok ? 0 : 1, output: output2, emitted: [], notCurrent: failedProofs, passed: [...passed] };
|
|
605
|
+
}
|
|
527
606
|
if (spooledCount > 0) {
|
|
528
607
|
try {
|
|
529
608
|
const synced = await (opts.sync ?? (() => runSync({ ...common })))();
|
|
@@ -565,7 +644,8 @@ async function runWorkProofsRecord(opts) {
|
|
|
565
644
|
exitCode: closing.exitCode,
|
|
566
645
|
output,
|
|
567
646
|
emitted: [...emitted].map(([criterion, artifactId]) => ({ criterion, artifactId })),
|
|
568
|
-
notCurrent
|
|
647
|
+
notCurrent,
|
|
648
|
+
passed: []
|
|
569
649
|
};
|
|
570
650
|
}
|
|
571
651
|
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { resolveCredentials, postJson, WorkCommandError } from './chunk-
|
|
4
|
-
import './chunk-
|
|
5
|
-
import './chunk-
|
|
6
|
-
import './chunk-
|
|
7
|
-
import './chunk-
|
|
8
|
-
import './chunk-
|
|
9
|
-
import './chunk-
|
|
3
|
+
import { resolveCredentials, postJson, WorkCommandError } from './chunk-ZNQRFRBW.js';
|
|
4
|
+
import './chunk-2HLMGVK6.js';
|
|
5
|
+
import './chunk-U43K2JS5.js';
|
|
6
|
+
import './chunk-JASHMKDN.js';
|
|
7
|
+
import './chunk-QHYCF36K.js';
|
|
8
|
+
import './chunk-PG33WPRF.js';
|
|
9
|
+
import './chunk-N3KGXHV4.js';
|
|
10
10
|
import './chunk-A2LHHKTT.js';
|
|
11
11
|
import './chunk-2AM6Z5BP.js';
|
|
12
|
-
import { defaultFetch } from './chunk-
|
|
12
|
+
import { defaultFetch } from './chunk-NIQXLC6A.js';
|
|
13
13
|
import './chunk-HWVMRETT.js';
|
|
14
|
-
import './chunk-
|
|
15
|
-
import './chunk-
|
|
16
|
-
import './chunk-
|
|
17
|
-
import './chunk-
|
|
14
|
+
import './chunk-OWBNADRQ.js';
|
|
15
|
+
import './chunk-6Z5AC4ZK.js';
|
|
16
|
+
import './chunk-4S6ML2YX.js';
|
|
17
|
+
import './chunk-MX5XVAOI.js';
|
|
18
18
|
import './chunk-BJ3KTMDH.js';
|
|
19
19
|
import './chunk-I45HTSSA.js';
|
|
20
20
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
21
21
|
import './chunk-FZKNTIOJ.js';
|
|
22
|
-
import './chunk-
|
|
23
|
-
import './chunk-
|
|
22
|
+
import './chunk-CKA4JQKR.js';
|
|
23
|
+
import './chunk-G2CRPYFO.js';
|
|
24
24
|
import './chunk-PLVHIQJN.js';
|
|
25
25
|
import './chunk-7PZDPISM.js';
|
|
26
26
|
import './chunk-ATEMEVFF.js';
|
|
27
27
|
import './chunk-RA3O54FC.js';
|
|
28
28
|
import './chunk-352DHUTP.js';
|
|
29
|
-
import './chunk-
|
|
30
|
-
import './chunk-
|
|
29
|
+
import './chunk-E5G6K7C4.js';
|
|
30
|
+
import './chunk-NEXKR5RR.js';
|
|
31
31
|
import './chunk-Z5GEFMRW.js';
|
|
32
32
|
|
|
33
33
|
createRequire(import.meta.url);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@outerlayer/cli",
|
|
3
|
-
"version": "0.38.0-next.
|
|
3
|
+
"version": "0.38.0-next.20261111004457",
|
|
4
4
|
"description": "OuterLayer CLI — commands: init, claude, opencode, connect, doctor, login, logout, sync, daemon (alias: watch), emit, demo, findings, work, run, spec, runner, hooks, mcp, context. Capture and sync coding-agent sessions, and record proof of factory work.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Magu Studios, Inc.",
|
|
@@ -422,9 +422,11 @@ Run them in order.
|
|
|
422
422
|
then apply the team's changes for this phase. Read [references/evidence.md](references/evidence.md)
|
|
423
423
|
when the pull request opens, and run it. Write and commit the demo test and the
|
|
424
424
|
file-proof tests. Each test uses the id of the criterion it records a proof for. When the
|
|
425
|
-
repository has no `.outerlayer-proofs.yaml`, write and commit one.
|
|
426
|
-
|
|
427
|
-
|
|
425
|
+
repository has no `.outerlayer-proofs.yaml`, write and commit one. In a
|
|
426
|
+
runner build, check each proof with `outerlayer work proofs --check`, and
|
|
427
|
+
record none: the host records them at the pushed head. In a local session,
|
|
428
|
+
record each proof with `outerlayer work proofs --record` after the last
|
|
429
|
+
push. Check the proofs with `outerlayer work proofs`, as that file says.
|
|
428
430
|
|
|
429
431
|
Optional steps a team may turn off: the manual test and screenshots in the
|
|
430
432
|
Evidence phase, for a repository with no user interface.
|
|
@@ -441,7 +443,14 @@ is "The tests need STRIPE_KEY. Add it as a build variable." Keep it under 200
|
|
|
441
443
|
characters. The Work page and the Activity tab show your sentence as the reason
|
|
442
444
|
the item needs attention. Skip it when the build opens a pull request.
|
|
443
445
|
|
|
444
|
-
|
|
446
|
+
In a runner build, end the run only when `outerlayer work proofs --check`
|
|
447
|
+
exits 0 at the last commit, or when `build-reports/evidence.md` names each
|
|
448
|
+
proof that failed and the reason. Do not run `--record`: the host records each
|
|
449
|
+
proof at the pushed head. A row marked `failed` fails the check, and no reason
|
|
450
|
+
excuses it: add or change a test that proves the criterion, commit, and check
|
|
451
|
+
again.
|
|
452
|
+
|
|
453
|
+
In a local session, run the release command below last, after the pull request is open and the
|
|
445
454
|
evidence is emitted, and run no other tool call after it. Before it, run `outerlayer sync` and then
|
|
446
455
|
`outerlayer work proofs --item "$OUTERLAYER_WORK"`. End the run only when it
|
|
447
456
|
exits 0, or when `build-reports/evidence.md` names each proof it still lists
|
|
@@ -338,17 +338,19 @@ each proof that is not current, and runs them.
|
|
|
338
338
|
- A proof that no test can make stays without a test. Give the reason in
|
|
339
339
|
`build-reports/evidence.md`.
|
|
340
340
|
|
|
341
|
-
Commit the setup file and every test.
|
|
342
|
-
`outerlayer work proofs --
|
|
343
|
-
|
|
344
|
-
|
|
341
|
+
Commit the setup file and every test. In a runner build (`OUTERLAYER_JOB_DIR`
|
|
342
|
+
is set), run `outerlayer work proofs --check` from the committed checkout. In a
|
|
343
|
+
local session, run `outerlayer work proofs --record`. Each stops when a
|
|
344
|
+
tracked file differs from HEAD, and runs only what is committed at HEAD. Each
|
|
345
|
+
skips a proof that is current. `--record` emits each proof at HEAD. `--check`
|
|
346
|
+
emits nothing, because the host records each proof at the pushed head. Never emit by hand
|
|
345
347
|
a proof that a test can make, except a `test` proof the first time, as above. Always pass `--pr <number>` when the item links
|
|
346
348
|
more than one pull request in the repository.
|
|
347
349
|
|
|
348
|
-
The output names each proof that is still not current, with the
|
|
349
|
-
that test, commit it and
|
|
350
|
-
head moved. Each run starts the app again. The
|
|
351
|
-
the run's last head.
|
|
350
|
+
The output names each proof that failed or is still not current, with the
|
|
351
|
+
reason. Fix that test, commit it and run the same command again. Do not run it
|
|
352
|
+
again only because the head moved. Each run starts the app again. The
|
|
353
|
+
orchestrator runs it once more, at the run's last head.
|
|
352
354
|
|
|
353
355
|
Run `outerlayer sync`, then `outerlayer work proofs --item "$OUTERLAYER_WORK"`.
|
|
354
356
|
|
|
@@ -36,36 +36,46 @@ changed since: a row marked `failed`. The row gives the judge's reason. Add or
|
|
|
36
36
|
change a test that proves the criterion, and commit. The judge finds a
|
|
37
37
|
criterion's tests itself, so a test needs no comment that names the criterion.
|
|
38
38
|
|
|
39
|
-
A commit makes every proof out of date, and each
|
|
40
|
-
again. So
|
|
41
|
-
still needs, such as a fix or a merge of the base branch.
|
|
42
|
-
commit, then run `outerlayer work proofs --record` once. It records each
|
|
43
|
-
proof that is not current and skips the rest. If a commit lands after that,
|
|
44
|
-
record once more after it. The final report names that head and the proofs
|
|
45
|
-
recorded there.
|
|
39
|
+
A commit makes every proof out of date, and each run of the proof tests starts
|
|
40
|
+
the app again. So run them only at the run's last head. First make every
|
|
41
|
+
commit the run still needs, such as a fix or a merge of the base branch.
|
|
46
42
|
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
43
|
+
In a runner build (`OUTERLAYER_JOB_DIR` is set), do not record a proof. Run
|
|
44
|
+
`outerlayer work proofs --check` once, at the last commit. It runs the same
|
|
45
|
+
setup, tests and teardown as `--record`. It reports each proof as passed or
|
|
46
|
+
failed, and emits nothing. After the run ends, the host records each proof
|
|
47
|
+
once, at the pushed head. A proof that fails the check fails there too. Fix
|
|
48
|
+
its test, commit, and check again. The run ends when the check exits 0, or
|
|
49
|
+
when `build-reports/evidence.md` names each proof that failed and the reason.
|
|
50
|
+
|
|
51
|
+
In a local session, push the last commit, then run
|
|
52
|
+
`outerlayer work proofs --record` once. It records each proof that is not
|
|
53
|
+
current and skips the rest. If a commit lands after that, record once more
|
|
54
|
+
after it. The final report names that head and the proofs recorded there.
|
|
55
|
+
|
|
56
|
+
Run `--check` and `--record` in the foreground with the longest timeout. Never
|
|
57
|
+
cut their output with `| tail`. The lines before the list say why a proof
|
|
58
|
+
failed or was not recorded.
|
|
53
59
|
|
|
54
60
|
A criterion that declares `proof: test` is recorded the first time as the
|
|
55
61
|
Evidence brief in [agent-briefs.md](agent-briefs.md) says, unless the policy
|
|
56
62
|
file sets `criteria.test_proof: ci`. After that, `--record` runs the same tests
|
|
57
|
-
again and records their results, as the host does at the final commit.
|
|
58
|
-
do so only when the results name each
|
|
59
|
-
`.outerlayer-proofs.yaml` matches that file. A
|
|
60
|
-
JUnit reporter names the file by default.
|
|
61
|
-
`addFileAttribute` option. Otherwise, give
|
|
62
|
-
`--test "<test name>=<path>"`. The list command names a proof
|
|
63
|
+
again and records their results, as the host does at the final commit.
|
|
64
|
+
`--check` runs the same tests. Both can do so only when the results name each
|
|
65
|
+
test's file, and a runner in `.outerlayer-proofs.yaml` matches that file. A
|
|
66
|
+
line is not needed. Vitest's JUnit reporter names the file by default.
|
|
67
|
+
jest-junit names it only with its `addFileAttribute` option. Otherwise, give
|
|
68
|
+
the file with `--test "<test name>=<path>"`. The list command names a proof
|
|
63
69
|
the host cannot record again, and why. Fix the proofs file before the run
|
|
64
|
-
ends.
|
|
70
|
+
ends. In a local session, the final report names each test proof with its
|
|
71
|
+
artifact. In a runner build, it names each test proof that passed the check.
|
|
65
72
|
|
|
66
|
-
|
|
67
|
-
as out of date or missing goes in
|
|
68
|
-
|
|
73
|
+
In a local session, run the list command once more before the run ends. A
|
|
74
|
+
criterion still listed as out of date or missing goes in
|
|
75
|
+
`build-reports/evidence.md` with the reason. In a runner build, the list shows
|
|
76
|
+
each proof as out of date or missing until the host records it. There, a
|
|
77
|
+
proof that fails `--check` goes in `build-reports/evidence.md` with the
|
|
78
|
+
reason. A written reason never excuses a `failed` row. Fix it first. Never
|
|
69
79
|
drive the browser yourself.
|
|
70
80
|
|
|
71
81
|
Re-read the pull request's evidence comment. Resolve or escalate every row that
|
|
@@ -80,8 +80,8 @@ Then run `outerlayer sync`. List every unsatisfied criterion in the final
|
|
|
80
80
|
report. A criterion that declares a proof form such as a screenshot or video is
|
|
81
81
|
proven only by an artifact bound to it on the pull request. The judge cannot
|
|
82
82
|
see that. Run `outerlayer work proofs --item "$OUTERLAYER_WORK"`, as the
|
|
83
|
-
evidence phase says,
|
|
84
|
-
missing.
|
|
83
|
+
evidence phase says. In a local session, record again any proof it lists as
|
|
84
|
+
out of date or missing. In a runner build, the host records them.
|
|
85
85
|
|
|
86
86
|
## The criteria verdict
|
|
87
87
|
|