Fully Automated - 100% Backpressure - Pipeline runner 🏃 for AI workflows. 🚀

Commit 1c1fdc6d

1c1fdc6d9207Merged

Scott Nixon <[email protected]> · 5 months ago · 8 files · ~8 modified

Description

feat(attractor-pipeline,attractor-quality): stage runner with env isolation, telemetry, truncation

Upgrades QualityHandler (attractor-r30):

  • Manifest-driven stages from [quality.stages] with graceful fallback to quality_checks pipe-separated attribute
  • env_clear() + explicit allowlist (PATH, HOME, CARGO_HOME, RUSTUP_HOME, …)
  • shlex argv resolution from HookConfig.cmd/cmd_argv
  • kill_on_drop(true) + process_group(0) + killpg on timeout (Unix)
  • Head-and-tail output truncation via VecDeque ring buffer
  • failure_footprint = blake3(stage||first_2KB(stderr))[..16]
  • attractor_quality::telemetry module with StageEvent + record() Adds 5 new tests: failure_footprint, truncate_head_tail, manifest stages, 2-node pass+fail integration, short-text no-truncation.

Details

Commit
1c1fdc6d9207
Parent
af4809fbfb40

Cargo.lockmodifiedView file

@@ -226,11 +226,13 @@
226226 "attractor-quality",
227227 "attractor-tools",
228228 "attractor-types",
229+ "blake3",
229230 "chrono",
230231 "libc",
231232 "regex",
232233 "serde",
233234 "serde_json",
235+ "shlex",
234236 "tempfile",
235237 "thiserror 2.0.18",
236238 "tokio",
@@ -250,6 +252,7 @@
250252 "tempfile",
251253 "thiserror 2.0.18",
252254 "toml 1.1.2+spec-1.1.0",
255+ "tracing",
253256 ]
254257
255258 [[package]]