Skip to content

feat(cli): add --paths and --tags to edda decide (GH-332)#341

Merged
fagemx merged 1 commit intomainfrom
feat/GH-332-cli-paths-tags
Mar 20, 2026
Merged

feat(cli): add --paths and --tags to edda decide (GH-332)#341
fagemx merged 1 commit intomainfrom
feat/GH-332-cli-paths-tags

Conversation

@fagemx
Copy link
Owner

@fagemx fagemx commented Mar 20, 2026

Summary

  • Add --paths (repeatable) and --tags (comma-separated) flags to edda decide command
  • Pass values through to DecisionPayload.affected_paths and .tags fields (from feat(ledger): mutation contract — status sync + create_candidate #330)
  • Update all call sites: Command::Decide, BridgeClaudeCmd::Decide, cmd_tool_tier, and 3 test functions
  • Add #[allow(clippy::too_many_arguments)] to decide() (now 8 params)

Test plan

  • cargo fmt --all -- clean
  • cargo clippy --workspace -- -D warnings -- zero warnings
  • cargo test -p edda -- 162 tests pass
  • Manual: edda decide "test.x=y" --paths "src/**" --tags "arch,db" writes correct JSON

Closes #332

🤖 Generated with Claude Code

Let users specify file scope and tags when recording decisions:
  edda decide "db=sqlite" --paths "crates/foo/**" --tags arch,storage

Both flags flow through to DecisionPayload.affected_paths and .tags
fields added by #330. Empty flags produce None (omitted from JSON).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@fagemx fagemx merged commit 9d512de into main Mar 20, 2026
4 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(cli): add --paths and --tags to edda decide

1 participant