Chore/atomic cleanup 25 commits
Merged
BN
3mo ago+36010+36010+01234567890123456789012345678901234567890123456789-4106-4106-0123456789012345678901234567890123456789
Summary by cubic
Renamed the binaries to preloop-runner and preloop-server, added pause-on-failure debug sessions, and improved dispatch, parsing, and snapshot performance. New CI validates runner compatibility; a new benchmark harness measures end-to-end latency.
-
New Features
- Pause-on-failure debugging: worker holds on a failed step, long-polls for a verdict, and server suspends timeouts; new
/api/v1/debug/*endpoints and tests. - Scoped
GITHUB_TOKENvia GitHub App: mint short-lived installation tokens per run; checks API uses App tokens when available, falling back toAKSH_GITHUB_TOKEN. - Orchestrator signals and bridging: server publishes queue depth and next job labels; runner prints a “busy” line when a job starts; optional
PRELOOP_RUNNER_RSA_PARAMSto skip keygen; in-guest control-plane TCP bridge to a mounted Unix socket. - Parser/runtime upgrades: default token permissions, permission scope expansion, selected-jobs dependency closure,
github.workspacein context, and a bounded parsed-expression cache for faster eval. - Storage and snapshots: faster, safer workspace snapshots; prune on-run completion; bound replay log directory.
- CI, conformance, and benches: split server vs runner conformance (
runner-conformance.ymladded); corpus checker and light/deep profiles; newbenchmarks/preloop-perfwithpreloop-loadtestand a Python harness.
- Pause-on-failure debugging: worker holds on a failed step, long-polls for a verdict, and server suspends timeouts; new
-
Migration
- Use
preloop-serverandpreloop-runner(wasaksh-runner-serverandaksh-runner); scripts and workflows updated accordingly. - Bundled Node is now required; system Node fallback was removed and PATH is no longer mutated. Re-run runner configure without
--no-externalsto download externals. - Optional: set GitHub App credentials to enable scoped
GITHUB_TOKENminting; otherwise the server usesAKSH_GITHUB_TOKENif present. - Optional: set
PRELOOP_RUNNER_RSA_PARAMSwith anRSAParametersJSON blob to speed runner provisioning.
- Use