# Requirements: Orca ## Milestone v0.1: Foundation | ID | Requirement | Priority | Status | |----|-------------|----------|--------| | REQ-001 | Go 1.25+ toolchain support | High | Pending | | REQ-002 | CLI-first interface for all operations (single binary) | High | Pending | | REQ-003 | Offline-first operational mode (no cloud deps) | High | Pending | | REQ-004 | Basic task deployment (single-node process execution) | Medium | Pending | | REQ-005 | Local state storage via modernc/sqlite (CGO-free) | Medium | Pending | | REQ-006 | Security-first audit logging via `log/slog` | High | Pending | | REQ-007 | CoreCI full release flow integration via `.coreci.yml` | High | Pending | | REQ-008 | Structured JSON logging (slog) | High | Pending | | REQ-009 | HCL/YAML job spec parsing | Medium | Pending | | REQ-010 | `--json` output flag for machine consumption | High | Pending | | REQ-011 | mTLS for inter-node communication | Medium | Deferred (v0.2) | | REQ-012 | `~/.orca/config.hcl` and `/etc/orca/orca.hcl` config locations | Low | Pending | | REQ-013 | Pre-push git hook triggers CoreCI on every push | High | Pending | | REQ-014 | `gosec` + `govulncheck` in CI pipeline | High | Pending | | REQ-015 | MIT LICENSE | Low | Pending | | REQ-016 | README.md with quickstart | Medium | Pending | | REQ-017 | `context.Context` propagation in all I/O | High | Pending | | REQ-018 | Error wrapping with `fmt.Errorf("...: %w", err)` | High | Pending | | REQ-019 | Cobra CLI framework | High | Pending | | REQ-020 | HCL parser integration (`hashicorp/hcl`) | Medium | Pending | | REQ-021 | `os/exec` with `WaitDelay` (Go 1.25+) | Medium | Pending | | REQ-022 | `iter.Seq` for streaming job lists (Go 1.25+) | Low | Pending | | REQ-023 | Self-signed mTLS cert generation | Medium | Pending | | REQ-024 | `Makefile` with standard targets | High | Pending |