This repository was archived by the owner on Apr 11, 2026. It is now read-only.
Commit 7c9d43e
committed
feat(flowctl-rust): scaffold Cargo workspace with 6 crates + core types + state machine
- Create Cargo workspace under flowctl/ with [workspace.dependencies] and
[workspace.package] patterns (nushell convention)
- 6 crates: flowctl-core, flowctl-db, flowctl-scheduler, flowctl-cli,
flowctl-daemon, flowctl-tui with correct dependency DAG
- Implement core types: Task, Epic, Phase, Evidence, TaskId, EpicId
with serde derives and comprehensive field coverage
- Implement state machine with all 8 states: todo, in_progress, done,
blocked, skipped, failed, up_for_retry, upstream_failed
- Port ID parsing regex from Python ids.py:49-66 using std::sync::LazyLock
- Port slugify() from Python ids.py:16-46 with Unicode NFKD decomposition
- Use thiserror for library errors in core crate
- Release profile: opt-level="z", lto="fat", codegen-units=1, strip=true
- 48 unit tests + 2 doc-tests, all passing
- cargo clippy --workspace passes with zero warnings
Task: fn-2-flowctl-rust-platform-rewrite.11 parent c080ae0 commit 7c9d43e
19 files changed
Lines changed: 3692 additions & 0 deletions
File tree
- flowctl
- crates
- flowctl-cli
- src
- flowctl-core
- src
- flowctl-daemon
- src
- flowctl-db
- src
- flowctl-scheduler
- src
- flowctl-tui
- src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
0 commit comments