29 new files publish factory infra (V2 autoscaler with live VRAM sampling + EWMA peak tracking, HUGE solo-dispatch, two-tier DLQ/rDLQ classifier + retry), general quantum circuit primitives (Cuccaro ripple-carry adder, Clifford gate library, Clifford tableau simulator, mod-arith family, dialog GCD reversible inverse, Karatsuba multiplier, Solinas fast reduction), and a TCRAUDT reducer harness. Originally developed in ~/git/www.foxhop.net/ecdsa/ for secp256k1 attack-surface research; published upstream as obligated by AGPLv3. Parametrization contract at factory/CONTRACT.md. Consumers export LUMBDA_REPO_DIR + LUMBDA_QUEUE_DIR + LUMBDA_BACKEND_CMD + LUMBDA_EMITTER_CMD then exec factory scripts. No fork-and-modify; single source of truth upstream. Integration tests gate 7 V2 defect classes that wedged a live factory on 2026-06-12 (skewed-demand starve, zero-floor reservation, multi-tier greedy, +-25%% damping, cold-start ramp, DLQ surge halve, post-damp CPU ceiling) + 28 DLQ classifier cases (auto-retry vs escalate partition) + bash -n syntax lint across every script. GPU backend stays in consumer trees; rationale in factory/GPU-BACKEND-NOTE.md. Bend wire protocol + gpu-worker.lsp already upstream at examples/cuda-fanout/. make factory-lint bash -n on every factory/*.sh make test-integration V2 reducer + DLQ classifier + syntax gate make sweep-doctrine TCRAUDT reducer gate (serial) make sweep-doctrine-parallel xargs -P fan-out Verified on neoblanka: factory-lint 12 scripts PASS; test-integration 14 V2 cases + 28 DLQ classifier cases + 12 syntax cases all PASS.
923 B
923 B
factory CHANGELOG
2026-06-14 — initial upstream port
AGPLv3 share-back from foxhop ecdsa secp256k1 attack-surface research. Port covers:
- V2 live-state autoscaler (EWMA peak tracking, DLQ growth-rate damping, HUGE solo-dispatch, ±25 % per-poll damping, cold-recovery baseline)
- Bounded parallel emit pool with auto-pull-master across multiple repos
- Singleton dispatcher with live tier-config reload
- Two-tier DLQ + rDLQ with class-based auto-retry vs escalate
- Tier classifier (micro/small/medium/large/huge bin bands)
- Supervisor liveness signaling
Env-var contract defined in CONTRACT.md. Consumers wrap by exporting env then exec'ing upstream scripts. Single source of truth — no fork-and-modify.
Provenance: foxhop scripts at ~/git/www.foxhop.net/ecdsa/scripts/bend-* operated this factory from 2026-05 through 2026-06-14, producing measured improvements documented in foxhop's PROVENANCE.md.