Summary
Add a plumb-codegen crate that walks a source tree, infers
tokens from CSS / Tailwind / DTCG sources, and bootstraps a
best-effort plumb.toml. Wired through plumb init --from <path>.
Crate / area
plumb-cli — the plumb binary (only crate allowed stdout/stderr + anyhow)
Phase / batch
Part of #65 → Batch 7D (Codegen + watch + suggest-ignores).
Effort: L
PRD references
Acceptance criteria
Dependencies
- None (first in batch; batch-level deps gate this).
Review gates
02-spec-reviewer
03-code-quality-reviewer
05-architecture-validator
04-test-runner
How to deliver
Dispatch /gh-issue <this-issue-number>. See the root AGENTS.md and the scoped plumb-cli/AGENTS.md for the invariants that apply.
Suggested delivery: gh-issue
Summary
Add a
plumb-codegencrate that walks a source tree, inferstokens from CSS / Tailwind / DTCG sources, and bootstraps a
best-effort
plumb.toml. Wired throughplumb init --from <path>.Crate / area
plumb-cli — the
plumbbinary (only crate allowed stdout/stderr + anyhow)Phase / batch
Part of #65 → Batch
7D(Codegen + watch + suggest-ignores).Effort: L
PRD references
Acceptance criteria
plumb-codegencrate (layer: depends on plumb-core + plumb-config only).plumb init --from ./produces a plausibleplumb.tomlon a real project.Dependencies
Review gates
02-spec-reviewer03-code-quality-reviewer05-architecture-validator04-test-runnerHow to deliver
Dispatch
/gh-issue <this-issue-number>. See the rootAGENTS.mdand the scopedplumb-cli/AGENTS.mdfor the invariants that apply.Suggested delivery: gh-issue