Skip to content

docs(mcpx): list all eleven direct Go modules, not nine (#1883) - #4922

Merged
dezren39 merged 1 commit into
mainfrom
queue/7974-1883-mcpx-dep-count
Nov 11, 2026
Merged

dezren39 merged 1 commit into
mainfrom
queue/7974-1883-mcpx-dep-count

Conversation

@dezren39

@dezren39 dezren39 commented Nov 3, 2026 •

Copy link
Copy Markdown
Member

What

pkgs/mcpx/docs/dependencies.md said Nine direct Go modules and listed nine. pkgs/mcpx/go.mod has eleven direct requires. This PR makes the doc and the Nix comment agree with the code.

Missing from both:

  • github.com/mattn/go-runewidth — cell width in the TUI (internal/tui/data.go): wide characters, combining marks and emoji take one or two cells, and truncation must agree with the terminal, not len().
  • golang.org/x/net — publicsuffix + idna in the elicitation answer review (internal/cli/elicit.go): registrable domain under a URL about to be answered, both host forms, punycode warning (mcpx: Phase 3 of #1675 — review-first mcpx elicit surface + nix#255 truth-up #1678).

pkgs/mcpx/package.nix carried the same drift the other way ("Five direct Go dependencies") while the doc pointed at it for the per-dependency trade. It now says Eleven too and carries the six purposes it was missing.

Verification

# every go.mod direct require appears in the first doc table, and nothing else does
python3 - <<'PY'
import re
d=open('pkgs/mcpx/docs/dependencies.md').read()
tbl=d[d.index('| module'):d.index('\n\nThe three `charmbracelet`')]
doc=re.findall(r'^\| `([^`]+)`\s*\|',tbl,re.M)
gomod=open('pkgs/mcpx/go.mod').read()
block=re.search(r'^require \((.*?)^\)',gomod,re.M|re.S).group(1)
direct=sorted(l.split()[0] for l in block.split('\n') if l.strip() and 'indirect' not in l)
assert sorted(doc)==direct, (doc,direct)
print(len(direct), "direct modules; doc matches")
PY

Output: 11 direct modules; doc matches. The count sentence reads Eleven and the package.nix comment reads Eleven.

No test: doc-only change (two Markdown/Nix-comment rows); verification is the go.mod-vs-doc recount script above, and there is no behavior to regression-test.

Fixes #1883 (item 12 residue).


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

@dezren39
dezren39 requested a review from a team as a code owner November 3, 2026 13:50
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review Summary

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

Review Status Commit Review trigger
📝 Code Review ⚠️ Failed 2026-11-03T13:50:21.171738Z
We couldn’t complete this review. Comment @codex review to try again.
acc4ae4 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.

@coderabbitai

coderabbitai Bot commented Nov 3, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 54 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 41198c71-6e79-4bb1-81f4-c91d9baf73ec
Commits

Reviewing files that changed from the base of the PR and between e30e6bb and 4a20c08.

Files selected for processing: 2

  • pkgs/mcpx/docs/dependencies.md
  • pkgs/mcpx/package.nix
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

docs/dependencies.md claimed Nine direct Go modules and listed nine;
pkgs/mcpx/go.mod has eleven direct requires. The two missing ones were
github.com/mattn/go-runewidth (TUI cell widths: wide characters,
combining marks and emoji) and golang.org/x/net (publicsuffix/idna at
the elicitation answer review, #1678).

pkgs/mcpx/package.nix made the same claim in the other direction ("Five
direct Go dependencies") while the doc pointed readers at it for each
trade. Both now say Eleven and carry the missing purposes, so the count
and the list agree with go.mod.

Verified: every direct require in go.mod appears in the doc table and
nothing else does; the count sentence and the package.nix comment both
read Eleven.
@dezren39

Copy link
Copy Markdown
Member Author

🤖 Agent note · picked up

@dezren39
dezren39 force-pushed the queue/7974-1883-mcpx-dep-count branch from 8d695a5 to 4a20c08 Compare November 10, 2026 23:44
@dezren39 dezren39 added work/assigned Queue worker lifecycle state queue/claimed Queue worker lifecycle state status/in-progress Queue worker lifecycle state labels Nov 10, 2026
@dezren39

Copy link
Copy Markdown
Member Author

🤖 Agent note · parked

@dezren39 dezren39 added queue/parked Queue task is parked (waiting on CI, time, or an event) status/parked Deliberately paused with a recorded resume condition and removed status/in-progress Queue worker lifecycle state queue/claimed Queue worker lifecycle state labels Nov 10, 2026
@dezren39

Copy link
Copy Markdown
Member Author

Task 14764 claimed by OpenChamber scheduled lane 1a180ae5-384f-4e71-8d77-08f7b1652c75. Resuming the prior CI checkpoint; revalidating current PR state and checks before disposition.

@dezren39 dezren39 added queue/claimed Queue worker lifecycle state status/in-progress Queue worker lifecycle state labels Nov 11, 2026
@dezren39

Copy link
Copy Markdown
Member Author

Task 14764 parked for 20 minutes: CI remains pending on head 4a20c08. No unresolved review threads were found; Codex review hit its usage limit, and mergeability is unknown. Resume by checking CI, reviews, hard-stop labels, and mergeability afresh before any merge.

@dezren39 dezren39 removed status/in-progress Queue worker lifecycle state queue/claimed Queue worker lifecycle state labels Nov 11, 2026
@dezren39
dezren39 merged commit 3655f28 into main Nov 11, 2026
4 of 20 checks passed
@dezren39
dezren39 deleted the queue/7974-1883-mcpx-dep-count branch November 11, 2026 01:35
@dezren39

Copy link
Copy Markdown
Member Author

🤖 Agent note · done — fixed_merged (batch #7297 part 4)

@dezren39 dezren39 removed status/parked Deliberately paused with a recorded resume condition queue/parked Queue task is parked (waiting on CI, time, or an event) labels Nov 11, 2026
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.

mcpx: the sources the reference would be generated from are incomplete, and several docs say what the code does not

1 participant