Files
factory/.tasks/STATUS.md
vitya 561a7fd66f feat: L0b bootstrap scripts + L1 Go CLI structure
L0b (factory bootstrap):
- bootstrap.ps1 (Windows): pre-checks, interactive config, clone .factory, home.toml
- bootstrap.sh (Linux/Mac): same functionality for bash
- Idempotent re-run with home.toml verification

L1 (Go CLI):
- factory.yaml: manifest schema with components, deps, health-checks
- cmd/factory: Cobra CLI (install/update/status/diagnose)
- pkg/config: home.toml reader
- pkg/manifest: factory.yaml parser + topological sort
- pkg/health: health-check logic (file/dir/mcp_tool/command)

Scripts:
- build.sh: cross-compile for linux/win/darwin × amd64/arm64
- build.ps1: PowerShell cross-compile

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-06 23:59:09 +03:00

2.2 KiB
Raw Blame History

Task Board

Updated: 2026-05-06

Per-task deep context lives in .tasks/<task-slug>.md (created on demand by using-tasks).

Status legend: 🔴 active · 🟡 paused · ready · 🟢 done · 🔵 blocked · cancelled


🟢 [factory-bootstrap-script] — Извлечь шаги из L0/install-log.md (field-test 2026-05-06 на Win11 ноуте) в bootstrap.ps1 (Windows) и bootstrap.sh (Linux/Mac). Скрипты — entry point L0b factory-архитектуры.

Что сделал:

  • bootstrap.ps1 (Windows): pre-checks, interactive config, clone .factory, home.toml, print next steps
  • bootstrap.sh (Linux/Mac): тот же функционал для bash
  • Idempotent re-run: проверка home.toml → verify → exit 0

Acceptance criteria:

  • Оба скрипта созданы в .factory/
  • VM-test pending (Linux VM → Win VM)

Reference: .wiki/concepts/factory-bootstrap.md, L0/install-log.md

Status: done Branch: n/a


🟡 [factory-l1-design] — L1 — Go-бинарь factory + factory.yaml manifest schema.

Что сделано:

  • factory.yaml schema (components, deps, health-checks)
  • Go project structure: cmd/factory, pkg/config/manifest/health
  • CLI commands: install/update/status/diagnose (cobra)
  • Build отложен — нет go на текущей машине
  • Cross-compile скрипт для VM

Status: paused (build на VM) Next action: Создать build.sh + build.ps1 для cross-compile на Linux VM Branch: n/a


[factory-l1-vm-test] — Integration test на чистой VM.

Что нужно:

  1. Поднять Linux VM (干净)
  2. Установить go, clone .factory
  3. go build + cross-compile (Win/Mac/Linux × amd64/arm64)
  4. Прогнать factory status на текущей машине
  5. Прогнать L0b bootstrap на новой VM

Status: ready Next action: Запустить VM, создать build скрипты Branch: n/a