Hive Hive
Sign in

refactor(graph): rename rules to modules

GitHub issue · Closed

Metadata
Source
tuist/once #115
Updated
Jul 5, 2026
Domains
Once
Details

Summary

  • Renames the graph extension surface from rules to modules across Rust frontend APIs, manifest loading, and action digest terminology.
  • Switches the Starlark declaration helper from rule(...) to target_kind(...), and renames discovery from once query rules / once_list_rules to target kind surfaces.
  • Updates generated CLI/MCP references, guide docs, RFC language, and shell specs for [modules] and target_kind(...).

Testing

  • mise exec -- cargo fmt --all -- --check
  • mise exec -- cargo test -p once-frontend -p once-cli
  • mise exec -- cargo build --release -p once-cli --bin once
  • mise exec -- shellspec spec/graph_edit_spec.sh spec/graph_action_spec.sh
  • mise exec -- shellspec spec/apple_spec.sh
  • git diff --check
Flights

Investigate, reproduce, or fix this item in an isolated repository. Each Flight preserves its outcome and agent session.

New Flights are paused Configure model inference, GitHub, and a sandbox provider to start another Flight. Existing results remain available below.
No Flights yet

Start a Flight and preserve its objective, outcome, and session here.

Comments

No GitHub comments yet.