GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — mcpx: review-first elicit surface — domain line, punycode warn, schema defaults, masked confirm (#1678) by dezren39 · Pull Request #3011 · developing-today/code

Conversation

@dezren39

@dezren39 dezren39 commented Oct 31, 2026 •
edited by blacksmith-sh Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

Implements #1678 (Phase 3 of #1675, queue task 3662) — the review-first mcpx elicit surface, per the decisions settled in triage task 1886.

What

  • URL questions (renderQuestion): full URL unchanged, plus a domain <eTLD+1> line (golang.org/x/net/publicsuffix, host fallback on error). A punycode (xn--) or non-ASCII host also prints both host forms — host münchen.de (xn--mnchen-3ya.de) — and the warn line host uses punycode; check the domain is the one you expect. Plain ASCII hosts get no warn. No ANSI.
  • Form questions: describeSchema carries declared defaults (default: <json> in the field detail) and exampleFor emits the declared default instead of "...". Field order is now sorted (was map order) so fixtures are deterministic.
  • elicit answer review: when content is present, the mode is form, stdin is a terminal, and --yes (new, long form only; applies to answer/accept) is absent, the parsed answer is rendered back with credential-shaped values masked as (set)/(not set) and relayed only on an explicit y/yes; declining or EOF exits non-zero and sends nothing. --yes and non-interactive stdin are byte-for-byte the old behaviour; the existing e2e TestElicitationsCanBeListedAndAnsweredFromTheCommandLine passes unchanged.
  • One masking heuristic: elicit.IsSensitiveField(name, format) is exported from internal/elicit (format=password + name substrings) and Route now routes through it — the CLI review uses the same helper, no second copy.
  • Conformance: the six elicit-ui gaps (elicitation-app-review-modify-responses, …-client-form-review-modify-responses, …-client-url-show-domain-and-consent, …-client-handle-urls-carefully, …-client-highlight-domain, …-client-warn-punycode) are retired and registered as covered by the new cli tests; their rows in docs/spec/conformance-matrix.md are updated to match. The remaining fix(id): coalesce LogSync ingest batches (#241) #255 server gap text no longer claims world-readable storage (owner-only since mcpx: Phase 1 of #1675 — owner-only elicitation broker store (0700 dir, 0600 files, migration on open) #1676).
  • golang.org/x/net becomes a direct dependency (already in go.sum via tailscale; go.sum unchanged, so the nix vendorHash is unaffected).

Matrix regeneration note

TestMatrix cannot complete on current main: LoadAuthSplit fails on unrelated authz rows (authz-*/server does not bind mcpx) — reproduced on clean main, already filed as #2695 / #2716. The matrix rows for this change were produced with the real Render/Evaluate code (only the unrelated authsplit validation bypassed) and applied surgically to the 13 rows this PR owns, so the PR carries no unrelated matrix churn; the summary counts and input digest in the committed file remain as on main until #2695 is fixed. Both substantive TestMatrix subtests pass: every-reference-names-a-real-test and every-applicable-requirement-is-tested-or-a-gap.

Tests (laptop)

  • go test ./internal/cli/ -run 'TestRenderQuestion|TestRenderAnswer|TestConfirmSend|TestHandFlagIndexIsCurrent' — PASS (4 new tests + regenerated flag index for --yes)
  • go test ./internal/elicit/ — PASS
  • go test ./internal/e2e/ -run TestElicitationsCanBeListedAndAnsweredFromTheCommandLine — PASS, test unchanged
  • go build ./..., go vet on changed packages — clean
  • go test ./internal/conformance/ -run TestMatrix — subtests PASS; test-level FAIL only on the pre-existing authsplit fatal (mcpx conformance: TestMatrix fails on main — authsplit.json rows 'does not bind mcpx' #2695/mcpx: internal/settings (scriptenv) and internal/conformance (TestAuthSplit, TestMatrix) failing on clean main #2716)

Remaining #1954 slice: evidence comment posted on #1954 naming elicitation-server-validate-received-data as the remaining server-relay validation work (broker-side form validation is in flight separately in PR #2646); #1954 is not closed by this PR.

Queue task 3662 · lane C


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

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

chatgpt-codex-connector[bot] reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
@dezren39
mcpx: review-first elicit surface — domain line, punycode warn, schem…
ff55530
…a defaults, masked confirm (#1678)
@dezren39
dezren39 requested a review from a team as a code owner October 31, 2026 09:47
@coderabbitai

coderabbitai Bot commented Oct 31, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

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 42 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: b4e85cd8-34d2-40b6-9254-69d8e6786692
Commits

Reviewing files that changed from the base of the PR and between 8e94292 and f626032.

Files selected for processing: 7
  • pkgs/mcpx/docs/spec/conformance-matrix.md
  • pkgs/mcpx/go.mod
  • pkgs/mcpx/internal/cli/elicit.go
  • pkgs/mcpx/internal/cli/elicit_test.go
  • pkgs/mcpx/internal/cli/flagindex_generated.go
  • pkgs/mcpx/internal/conformance/coverage_clientfeatures.go
  • pkgs/mcpx/internal/elicit/elicit.go
  • 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
  • X
  • Mastodon
  • Reddit
  • LinkedIn
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 31, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

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 ✅ Completed 2026-10-31T10:54:09.908191Z f626032 Manual request
ℹ️ 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.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dezren39 dezren39 mentioned this pull request Oct 31, 2026
mcpx: elicitation storage is readable by any local user and never pruned; elicitation UI and response validation rows #1954
Closed
4 tasks
chatgpt-codex-connector[bot]
chatgpt-codex-connector Bot reviewed Oct 31, 2026
View reviewed changes

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: ff55530479

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread pkgs/mcpx/internal/cli/elicit.go Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread pkgs/mcpx/internal/cli/elicit.go Resolved

Uh oh!

There was an error while loading. Please reload this page.

@dezren39 dezren39 mentioned this pull request Oct 31, 2026
mcpx: Phase 3 of #1675 — review-first mcpx elicit surface + nix#255 truth-up #1678
Closed
@dezren39
fix(mcpx): shell-quote elicit answer example and show effective defau…
e49aa20
…lts in review (#1678)

Codex P1 (PR 3011): schema defaults are server-controlled; renderQuestion embedded their JSON in literal single quotes, so an apostrophe broke the suggested command and a crafted default could inject shell. The whole generated JSON is now shell-quoted at the rendering boundary (shellQuote).
Codex P2: the relay applies schema defaults to omitted fields (mcpclient.applyDefaults), so renderAnswerReview now includes effective defaults for omitted fields, sensitive ones still masked as (set)/(not set).
Regression tests: TestRenderQuestionShellQuotesDefaults, TestRenderAnswerReviewIncludesEffectiveDefaults.
@dezren39

dezren39 commented Oct 31, 2026

Copy link
Copy Markdown
Member Author

@codex review — P1 and P2 addressed in e49aa20 (shellQuote at the rendering boundary; effective defaults in the answer review), threads replied and resolved.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

chatgpt-codex-connector[bot]
chatgpt-codex-connector Bot reviewed Oct 31, 2026
View reviewed changes

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: e49aa20f11

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread pkgs/mcpx/internal/cli/elicit.go Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread pkgs/mcpx/internal/cli/elicit.go Resolved

Uh oh!

There was an error while loading. Please reload this page.

@github-actions github-actions Bot assigned dezren39 Oct 31, 2026
@dezren39
fix(mcpx): lowercase host for domain lookup; cancellation-aware elici…
f626032
…t confirm (#1678)
@dezren39

dezren39 commented Oct 31, 2026

Copy link
Copy Markdown
Member Author

@codex review — both P2s on e49aa20 are fixed in f626032 (hostname lowercased for the publicsuffix lookup; confirmation read is now context-cancellation-aware and the answer path re-checks ctx before Respond). Threads replied + resolved, regression tests added for both. Please re-review the new head.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 31, 2026

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Hooray!

Reviewed commit: f6260328a3

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dezren39
dezren39 merged commit 16d6d5a into main Oct 31, 2026
2 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@dezren39
dezren39 deleted the queue/3662-1678-elicit-review-first branch October 31, 2026 10:56
This was referenced Nov 3, 2026
design(mcpx): elicitation broker hygiene — owner-only store, bounded retention, redacted events, review-first answering #1675
Closed
mcpx: internal/settings (scriptenv) and internal/conformance (TestAuthSplit, TestMatrix) failing on clean main #2716
Closed
@dezren39 dezren39 mentioned this pull request Nov 21, 2026
Closure audit: every closed issue/PR verified; unmerged branches + unpushed worktrees inventoried #7079
Open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@chatgpt-codex-connector chatgpt-codex-connector[bot] chatgpt-codex-connector[bot] left review comments

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@dezren39 dezren39

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@dezren39
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.