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

Commit 3c9b7775

3c9b7775090dMerged

Scott Nixon <[email protected]> · 5 months ago · 10 files · +5 added · ~5 modified

Description

feat(attractor-cli): pas init — toolchain detection + template emission (attractor-br6)

  • Implement attractor_quality::detect::detect() returning Vec for Rust (Cargo.toml), Python (pyproject.toml/requirements.txt), and TypeScript (package.json/tsconfig.json)
  • Add built-in templates for rust/python/typescript/default embedded via include_str!
  • Implement cmd_init with InitPlan (planning separated from I/O), git-root walk-up, TTY detection, --force/--non-interactive/--no-enrich/--dry-run flags
  • Exit 4 in non-interactive mode without .git unless --force; warn+prompt in TTY
  • Wire Init subcommand into pas CLI; add attractor-quality dep to attractor-cli
  • 7 init tests + 6 detect tests all passing

Details

Commit
3c9b7775090d
Parent
8a4378b39fdc

Cargo.lockmodifiedView file

@@ -171,6 +171,7 @@
171171 "attractor-dot",
172172 "attractor-llm",
173173 "attractor-pipeline",
174+ "attractor-quality",
174175 "attractor-tools",
175176 "attractor-types",
176177 "chrono",
@@ -178,7 +179,9 @@
178179 "regex",
179180 "serde",
180181 "serde_json",
182+ "tempfile",
181183 "tokio",
184+ "toml 1.1.2+spec-1.1.0",
182185 "tracing",
183186 "tracing-subscriber",
184187 ]