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 — fix(mcpx): validate spec-parity input shapes by dezren39 · Pull Request #7046 · developing-today/code

Conversation

@dezren39

@dezren39 dezren39 commented Nov 8, 2026 •
edited by blacksmith-sh Bot
Loading

Uh oh!

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

Copy link
Copy Markdown
Member

Summary

main() validates revision/allow lists and the stored success/failure records before calling decide(). Invalid shapes now use the graceful error report (status=error, sleep=0) without writing record files. decide() is unchanged.

  • Add command-line regression tests for malformed inputs and valid decision controls.
  • Fixes mcpx(spec-parity): revision lists, allow lists and the stored success/failure records are shape-trusted — a string list is compared as a character set and starts a false deadline clock, an object list passes as its keys, and wrong-shape stored records crash the gate with raw tracebacks #6852

Evidence

  • Before: wrong-shaped inputs could be iterated as characters/keys or raise raw exceptions.
    After: python3 scripts/test_spec_parity.py — 14 passed.
  • Adjacent regressions: python3 scripts/test_conformance_record.py — 22 passed; python3 scripts/test_gotest_report.py — 7 passed.
  • git --no-pager diff --check — clean.

Merge Danger

Door: Two-way

Blast Radius: Low

Only the spec-parity input boundary and its standalone regression tests change.


Autofix with [code]smith
Open in [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
dezren39 requested a review from a team as a code owner November 8, 2026 02:05
@coderabbitai

coderabbitai Bot commented Nov 8, 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 43 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: ba0685c7-6188-42b5-a353-cb2cc05d6a1d
Commits

Reviewing files that changed from the base of the PR and between dcdf212 and 0151da5.

Files selected for processing: 2

  • pkgs/mcpx/scripts/spec-parity.py
  • pkgs/mcpx/scripts/test_spec_parity.py
  • 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 Nov 8, 2026 •
edited
Loading

Uh oh!

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

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-11T08:05:47.721313Z 0151da5 New commits
ℹ️ 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 Nov 8, 2026
mcpx(spec-parity): revision lists, allow lists and the stored success/failure records are shape-trusted — a string list is compared as a character set and starts a false deadline clock, an object list passes as its keys, and wrong-shape stored records crash the gate with raw tracebacks #6852
Closed
chatgpt-codex-connector[bot]
chatgpt-codex-connector Bot reviewed Nov 8, 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: 3a7532c66d

ℹ️ 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/scripts/test_spec_parity.py
Comment on lines +58 to +60
for value in ("2025-03-26", {"revision": "2025-03-26"}, 7,
["2025-03-26", ["2025-11-25"]],
["2025-03-26", 7]):

@chatgpt-codex-connector chatgpt-codex-connector Bot Nov 8, 2026

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.

P1 Badge Cover the input-shape invariant with property tests

The new input-shape validation is covered only by fixed example tables, despite the repository testing doctrine requiring property coverage for parser invariants. Generate JSON values and use an independent array-of-strings predicate as the oracle to verify that invalid shapes consistently produce status=error, sleep=0, no traceback, and no record files. These examples can remain as smoke coverage, but should not be the sole validation of that invariant.

AGENTS.md reference: AGENTS.md:L41-L45

Useful? React with 👍 / 👎.

Sorry, something went wrong.

Uh oh!

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

All reactions

@dezren39 dezren39 Nov 11, 2026

Copy link
Copy Markdown
Member Author

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.

Fixed in 0151da5 (task 13293's sibling shepherd task 13324, lane any-a): added ShapePropertyTests to test_spec_parity.py — a seeded generator of arbitrary JSON values (null/bool/int/float/str/list/dict, nested) checked against an independent oracle stated in the test (a list field is valid iff list-of-strings; a record field iff object-or-null). For every generated invalid shape the CLI must produce the graceful error (status=error, sleep=0, no traceback, no success/failure record files); for every valid shape it must not raise that field's shape error. Non-vacuity is asserted (min invalid/valid counts per field). Suite now: python3 pkgs/mcpx/scripts/test_spec_parity.py — 16 tests OK (14 example + 2 property); adjacent test_conformance_record.py and test_gotest_report.py OK.

Sorry, something went wrong.

Uh oh!

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

All reactions
@developing-today developing-today Bot mentioned this pull request Nov 8, 2026
Unowned PR batch from branch disposition (2026-11-07) #7297
Open
repo-worker-code-k added 2 commits November 11, 2026 01:59
repo-worker-code-k
fix(mcpx): validate spec parity input shapes
412ef69
repo-worker-tmp-code-b
test(mcpx): property-cover the spec-parity shape invariant (Codex P1, #…
0151da5
…6852)
@dezren39
dezren39 force-pushed the queue/11074-6852-spec-parity-shape-validation branch from 3a7532c to 0151da5 Compare November 11, 2026 08:04
@dezren39

dezren39 commented Nov 11, 2026

Copy link
Copy Markdown
Member Author

🤖 Agent note · done — rebased, Codex P1 fixed, merging (task 13324, lane any-a)

  • Agent: repo-queue-worker lane any-a (task 13324, pr_shepherd for issue Unowned PR batch from branch disposition (2026-11-07) #7297 batch part 1)
  • Revalidation (fresh, 2026-11-11): PR fix(mcpx): validate spec-parity input shapes #7046 OPEN at 3a7532c, no labels at all — no hard-stop label (held / user/owned / do-not-merge / do-not-auto-edit absent). Author dezren39 is the fleet working identity, not a hold (runbook; Drew 2026-11-07 / 2026-11-11). Issue mcpx(spec-parity): revision lists, allow lists and the stored success/failure records are shape-trusted — a string list is compared as a character set and starts a false deadline clock, an object list passes as its keys, and wrong-shape stored records crash the gate with raw tracebacks #6852 OPEN. The fix is NOT on main (spec-parity.py untouched since the mcpx migration; no test_spec_parity.py on main) — this PR is the live artifact, not a duplicate.
  • Work done this shift: rebased the single PR commit onto current main (412ef69, clean rebase) in worktree ~/git/fleet/queue-13324-7046-spec-parity; dispositioned the only Codex finding (P1, property coverage for the shape invariant) by adding ShapePropertyTests (seeded JSON generator + independent array-of-strings / object-or-null oracles; invalid shapes must yield status=error, sleep=0, no traceback, no record files; non-vacuity asserted) — commit 0151da5, replied on the finding thread.
  • Tests: python3 pkgs/mcpx/scripts/test_spec_parity.py — 16 OK (was 14); test_conformance_record.py OK; test_gotest_report.py OK; git diff --check clean.
  • CI: the PR's Nov 8 scripts-test failures are the bitwarden-load-secrets contract suite (bitwarden-load-secrets: multiline values are split into bogus variables #5650 step) — unrelated to this diff (pkgs/mcpx/scripts only); proxy port fallbacks passed. Per standing merge authority, merging on targeted-test verification.
All reactions

Sorry, something went wrong.

Uh oh!

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

@dezren39
dezren39 merged commit 5b2b6ed into main Nov 11, 2026
4 of 24 checks passed

Uh oh!

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

@dezren39
dezren39 deleted the queue/11074-6852-spec-parity-shape-validation branch November 11, 2026 08:05
@dezren39 dezren39 mentioned this pull request Nov 21, 2026
Closure audit: every closed issue/PR verified; unmerged branches + unpushed worktrees inventoried #7079
Open
@dezren39 dezren39 added the audit:complete PR fully implemented spawning issue label Nov 24, 2026
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

No one assigned

Labels

audit:complete PR fully implemented spawning issue

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

mcpx(spec-parity): revision lists, allow lists and the stored success/failure records are shape-trusted — a string list is compared as a character set and starts a false deadline clock, an object list passes as its keys, and wrong-shape stored records crash the gate with raw tracebacks

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.