Skip to content

refactor: remove renaming re-exports that give one item two names - #18841

Open
chubes4 wants to merge 7 commits into
mainfrom
fix/issue-18824-homeboy
Open

chubes4 wants to merge 7 commits into
mainfrom
fix/issue-18824-homeboy

Conversation

@chubes4

@chubes4 chubes4 commented Nov 23, 2026

Copy link
Copy Markdown
Member

Summary

Several re-exports gave one function two names (now_unix/now_secs, quote_arg/posix_quote_arg, daemon_launchable_executable/launchable_executable), and homeboy-core had test-only aliases core and command_contract. This change deletes those renaming re-exports and moves every caller to the original owner. Each item now has one name.

What changed

  • Single owner for the unix-seconds clock is homeboy_engine_primitives::now_secs. homeboy_core::update_check_cache::now_unix and a local now_secs as now_unix_secs import in homeboy-agents are deleted, along with the test that only re-tested the alias.
  • Single owner for the daemon executable path is homeboy_core::daemon::launchable_executable. The daemon_launchable_executable alias is deleted.
  • Deleted the unused test-only pub use crate as core and pub use lab_contract as command_contract aliases from homeboy-core/src/lib.rs, along with homeboy_core::engine::shell imports left unused by the rename.
  • No change to output or runtime behavior. Every caller still runs the same function, and some format! calls are rewrapped where the name length changed.

Verification

  • 1-verify-466c2f308b48c7661d646fdd068fbecea974c665fe65dbf8ed508f224180ce0b.txt (git diff --check): passed on 9aacd0f. Base main@2f43cf2 unchanged. 17410 ms; retained gate metadata.
  • repro: none (no repro gate was declared, so these gates do not prove the issue).
  • CI: pending

Cook run
  • Gate 1: tree ed989ea6bed90b5fc16dd4cd2454d496e09b517f

Evidence

  • cargo check --workspace --all-targets --all-features compiles with no new warnings. Focused tests for homeboy-core update_check_cache and homeboy-engine-primitives shell pass, and git diff --check is clean.

AI disclosure

Tool: Homeboy Cook. Agent: Homeboy (roadie). Model: roadie · route cook-heavy · served claude-opus-5-5. Cook time: 17m52s.

The AI read the issue, migrated every caller to the original names, deleted the aliasing re-exports, and checked that the workspace compiles and the focused tests pass, under the direction of the Cook requester. Gates were run by Homeboy. A human reviews before merge.

Closes #18824

chubes4 added a commit that referenced this pull request Nov 23, 2026
#18800 landed
`crates/homeboy-agents/src/agent_task_gate/failure_evidence.rs`
unformatted, so the Rustfmt check fails on every open PR (including
#18835–#18841). This is a formatting-only change and the only
unformatted file on `main`.

---
_Opened by Claude (roadie/cook-heavy, via Roadie/Pi) for @chubes4: ran
`rustfmt --edition 2021` on the file._

This branch has not been deployed

No deployments
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.

Remove renaming re-exports that give one item two names

1 participant