Skip to content

chore(cli): wrap the native data type path description - #9505

Closed
2SinceJuly wants to merge 1 commit into
morluto:mainfrom
2SinceJuly:fix/format-main-core-native
Closed

2SinceJuly wants to merge 1 commit into
morluto:mainfrom
2SinceJuly:fix/format-main-core-native

Conversation

@2SinceJuly

@2SinceJuly 2SinceJuly commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Reformats one argument-description call in src/cli/coreNativeCommands.ts so npm run format:check passes again. No issue: this is a formatting regression on main itself.

Problem and expected behavior

npm run format:check fails on main at 9d0e87f33:

src/cli/coreNativeCommands.ts (0ms)
Format issues found in above 1 files.

The offending line is 82 columns against the repository's 80-column .oxfmtrc.json limit. It came in with #9465 (25d3c7237), and the later commits touching this file did not reformat it.

Because the failure is on main, Static checks fails on every branch merged from it: the failing step is npm run check:ci:fast → format:check, which runs before typecheck, lint and the test shards, so unrelated PRs cannot go green.

Expected behavior: npm run format:check passes on main and on branches merged from it.

Change and scope

oxfmt reformats the one call it objects to:

path: localPathStringSchema.describe(
  "Local native executable or app path",
),

Whitespace only, one file, three lines. Intentionally not included: no other formatting or code changes, and no attempt to reformat files that already pass.

Contract and boundary impact

  • Semantic owner and earliest changed stage: none — no parsed facts or resources change.
  • Contribution scope fit and linked maintainer decision: ordinary fix within existing boundaries; not applicable.
  • CLI and MCP/tool-catalog contract: none — the description string is byte-identical, only its line wrapping changes.
  • Provider, bridge, target-format, or platform compatibility: not applicable.
  • Evidence, artifact, provenance, or reconstruction contract: not applicable.
  • Target selection, authority, upstream behavior, and cleanup details (if applicable): not applicable.
  • Generated metadata, package, or installation impact: none.

Expected effects:

  • Read existing files or captured data.
  • Launch or attach to a process.
  • Inject instrumentation or run scripts/code.
  • Change process memory, registers, files, or configuration.
  • Contact network services.
  • Recover protected code or work around protections.
  • Documentation or usability only; no target interaction.
  • Not sure yet; investigation or maintainer guidance needed.

Evidence and regression coverage

  • Tests added or updated: none. The existing format:check task is the regression test.
  • Base reproduction or other evidence: npm run format:check fails on a clean origin/main worktree at 9d0e87f33, and again in a PR branch after merging origin/main. It passes after this change.
  • User-visible CLI/MCP output (if applicable): not applicable.
  • Remaining proof gaps: full check:ci:fast (typecheck, lint, test shards) was not run — this change cannot affect them, but that is not established by execution.

Validation performed

  • npm run format:check on a clean origin/main worktree, before the change — failed, reporting src/cli/coreNativeCommands.ts.
  • npm run format:check after the change — 1 task successful, 0 failed.
  • npm run format:check from a PR worktree (fix/9478-module-export-bindings) with origin/main merged, after the change — not re-run in that tree; the changed file is byte-identical to main there and the failure reproduced before the change.

Compatibility, safety, and release

  • Breaking changes or migration steps: none.
  • Real Hopper/Ghidra, browser, or OS coverage: not applicable.
  • Package or release metadata impact: none.

Author readiness

Human owner: @2SinceJuly

  • I reviewed the final diff and relevant existing code, understand the change and its edge cases, and take responsibility for the complete PR, including AI-assisted work.
  • I checked the evidence above, confirmed it supports the current change, and recorded meaningful validation gaps.
  • I declare this PR ready for initial maintainer review.

Before merge

  • This PR addresses a concrete problem or an agreed enhancement.
  • Material scope and authority questions are resolved, and any required maintainer scope decision covers the final diff.
  • The PR has one focused outcome and the title follows type(scope): outcome.
  • Related issue is linked, or the reason for not linking one is stated above.
  • Tests cover changed observable behavior and meaningful failure paths.
  • Owning docs, contracts, and generated metadata are updated where needed.
  • User-visible CLI/MCP changes include representative output.
  • I checked the final diff for secrets, unrelated cleanup, and unsupported claims.

The `inspect-native-data-type` argument description line is 82 columns, over the repository's 80-column `.oxfmtrc.json` limit, so `npm run format:check` fails on main and on every branch merged from it. It came in with morluto#9465 and the following commits to this file did not touch it. Reformat the one call the formatter objects to; no behaviour change.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 8, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-08T23:47:25.476692Z ccb96a8 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@greptile-apps

greptile-apps Bot commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5 Tier: plus

[Low impact] This PR appears safe to merge; the change only reformats an unchanged call.

Summary

Wraps the unchanged path description for inspect-native-data-type in src/cli/coreNativeCommands.ts.

  • The native data type path description now wraps across lines.

Reviews (1) · Last reviewed commit: "style(cli): wrap the native data type pa..." · Reviewed by Greptile

2SinceJuly added a commit to 2SinceJuly/rea that referenced this pull request Nov 8, 2026
`npm run format:check` fails on this branch, which is what `Static checks` reports: oxfmt wants four files reformatted, including the mainline `src/cli/coreNativeCommands.ts` line this branch inherited (fixed separately in morluto#9505). Formatting only; the domain (37) and services (33) api-contract tests pass.
@2SinceJuly 2SinceJuly changed the title style(cli): wrap the native data type path description chore(cli): wrap the native data type path description Nov 8, 2026

@chessing234 chessing234 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The exact multiline localPathStringSchema.describe(...) form proposed here is already on main in inspectNativeDataType after #7360. Please close this as superseded so the updated selector implementation stays the single source for the change.

@2SinceJuly

Copy link
Copy Markdown
Contributor Author

Confirmed — origin/main already carries the wrapped form in inspectNativeDataType (src/cli/coreNativeCommands.ts:338-345), so this PR has nothing left to do. Closing as superseded.

The selector work in the updated implementation is the single source for the change; nothing from here needs to be carried over.

@2SinceJuly 2SinceJuly closed this Nov 9, 2026
@morluto morluto added the area: cli CLI adapter and one-shot commands label Nov 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: cli CLI adapter and one-shot commands

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants