Skip to content

refactor(resolver): name package target resolution options - #149

Merged
steipete merged 1 commit into
mainfrom
claude/resolver-target-options
Oct 8, 2026
Merged

steipete merged 1 commit into
mainfrom
claude/resolver-target-options

Conversation

@steipete

@steipete steipete commented Oct 8, 2026 •

Copy link
Copy Markdown

The Rust Mordant check on main reports bare_bool_args for package-target resolution. Replace the two positional booleans with ResolveTargetOptions, preserving all six callers and recursive array/map behavior. The lint baseline is unchanged.

This extracts the independent resolver cleanup from #144 so TLS teardown remains a separate review and merge. There is no TLS dependency on this refactor.

Validation: independent Codex review at P1 is scoped-clean. The existing packagejson suite passes with 94 passes and 14 existing TODOs using the previously built binary containing the identical resolver source. Exact-head native CI passes on Darwin and Linux, and Rust CI passes Mordant, Clippy, Miri, and lol-html. An initial local invocation stopped before tests because test dependencies were missing; after frozen-lockfile installation, the complete suite passed.

The advisory duplicate-finder could not run because its provider credentials are not configured. No repository settings or secrets were changed.

Preserve all six call sites and recursive array/map semantics while replacing ambiguous boolean arguments with named options. Resolve inherited Mordant diagnostics without changing the lint baseline.
@steipete
steipete merged commit 9e640c3 into main Oct 8, 2026
11 of 12 checks passed
@steipete
steipete deleted the claude/resolver-target-options branch October 8, 2026 12:14
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.

1 participant