Skip to content

fix(cli): show file scope until scan review progress begins - #464

Merged
mldangelo-oai merged 23 commits into
mainfrom
mdangelo/codex/truthful-scan-scope-progress
Oct 8, 2026
Merged

mldangelo-oai merged 23 commits into
mainfrom
mdangelo/codex/truthful-scan-scope-progress

Conversation

@mldangelo-oai

@mldangelo-oai mldangelo-oai commented Aug 15, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Show file scope during scan startup, then display review progress when review work begins.

Changes

Preserve accurate progress during resume and publication. Integrate latest main acb8eac2, including inherited Deep Scan context and compaction limits, and replace the finding-document example with explicitly fictional data. Fix the publication test handshake by waiting for the child PID file to contain data before signaling its parent, retaining the original timeouts and assertions.

Testing

All 15 affected checks passed at ea2c8fa5: the five required portable plugin checks, SDK and MCP types, formatting, plugin build, the complete API and fresh/resumed worker-executor modules, source compatibility, and all archive and installed-consumer checks. The executor uses real synthetic child processes to verify inherited settings, intentional worker overrides, resumption and concurrent scan isolation.

The prior 3bd97cec source passed 21 broader affected checks, including 419 SDK tests with 27 platform skips and all 12 publication tests. Those results retain that source attribution. The PID readiness defect was reproduced before the minimum fix and passed afterward.

The immutable full fixed-seed run at cfbc1944 ended with 4,038 passes, 68 skips, one failure and one error; subsequent types, formatting and random-seed commands did not run. A complete workflow module at 3bd97cec passed 16 tests and timed out in concurrent screening. That exact original 30-second case also timed out on unmodified main 77ea91ea, with all relevant source unchanged. These failed executions remain recorded; no full-suite pass or timeout cause is claimed.

Risk and rollout

No public command, flag or environment variable is added. Existing credential, unsafe-path and scan-integrity controls remain in force. Linux checks retain their recorded Windows skips; current packaged native payloads retain their exact historical compiler and source proof.

Public disclosure review

  • No customer, partner, prospect, or user identities, data, or identifying details are included.
  • No credentials, personal data, private source, scan findings, or nonpublic links or tickets are included.
  • I reviewed the branch name, title, description, commits, changes, comments, logs, screenshots, attachments, and links for public disclosure.

The current documentation example is explicitly fictional. The provenance of a removed historical example remains unestablished, so the second disclosure attestation remains unchecked.

@github-actions github-actions Bot added the bug Something isn't working label Aug 15, 2026
@mldangelo-oai

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Chef's kiss.

Reviewed commit: 1f2fd79f7a

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

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Aug 15, 2026 •

Copy link
Copy Markdown

Security review completed. No security issues were found in this pull request.

Reviewed commit: 1f2fd79f7a

Only the user who started this review can view the report in Codex.

ℹ️ About Codex security reviews in GitHub

This is an experimental Codex feature. Security reviews are triggered when:

  • You comment "@codex security review"
  • A regular code review gets triggered (for example, "@codex review" or when a PR is opened), and you’re opted in so security review runs alongside code review

Once complete, Codex will leave suggestions, or a comment if no findings are found.

Copy link
Copy Markdown
Collaborator Author

@codex review

Please review the current head, e7d078222b581381915fa64a29c8ba6630278416.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Chef's kiss.

Reviewed commit: e7d078222b

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

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Aug 16, 2026 •

Copy link
Copy Markdown

Security review completed. No security issues were found in this pull request.

Reviewed commit: e7d078222b

Only the user who started this review can view the report in Codex.

ℹ️ About Codex security reviews in GitHub

This is an experimental Codex feature. Security reviews are triggered when:

  • You comment "@codex security review"
  • A regular code review gets triggered (for example, "@codex review" or when a PR is opened), and you’re opted in so security review runs alongside code review

Once complete, Codex will leave suggestions, or a comment if no findings are found.

@mldangelo-oai

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Bravo.

Reviewed commit: d3dad7ec18

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

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Aug 17, 2026 •

Copy link
Copy Markdown

Security review completed. No security issues were found in this pull request.

Reviewed commit: d3dad7ec18

Only the user who started this review can view the report in Codex.

ℹ️ About Codex security reviews in GitHub

This is an experimental Codex feature. Security reviews are triggered when:

  • You comment "@codex security review"
  • A regular code review gets triggered (for example, "@codex review" or when a PR is opened), and you’re opted in so security review runs alongside code review

Once complete, Codex will leave suggestions, or a comment if no findings are found.

@kmbroai kmbroai left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Critical review

Reviewed d3dad7ec18e1cf384a279b2567e53f5a2f052f4d. This is a small, justified presentation correction; no blocking correctness issue found.

Necessity

Knowing the inventory is not the same as having reviewed it. The old 0 / N reviewed label can look like verified progress stalled at zero when the only available fact is the scope size. Showing N in scope until a positive verified count arrives communicates the state more accurately without adding estimated progress or new scan state.

This is lower priority than missing or incorrect coverage, and does not solve the broader progress problem by itself. It should remain presentation-only.

Correctness and simplification

The three existing states—no inventory, inventory without positive reviewed count, and verified review progress—are adequately expressed by the small conditional. A new phase enum, event type, telemetry counter, or reusable formatter would add more machinery than this change needs.

The updated test observes both labels during one real dashboard lifecycle and still rejects the misleading zero-reviewed wording. That is the right coverage shape. Keep the upstream validation of progress counts separate; this view should not invent percentages or infer review from file-open activity. For an empty scope the result remains 0 in scope, which is consistent with what is actually known.

Verification

Ran scan-dashboard.test.ts and worker-progress.test.ts with seed 12345: 38 passed, 0 failed, 196 assertions, Bun 1.3.14/Linux with locally available dependencies. I inspected the complete two-file diff. No full package, installed-package, or current CI result is claimed.

@mldangelo-oai mldangelo-oai changed the title fix(cli): show scan scope before verified review progress fix(cli): show file scope until scan review progress begins Oct 7, 2026

@zcrab-oai zcrab-oai left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Reviewed the diff and relevant surrounding code at b1ef9c5, with an independent second pass. No obvious correctness or regression issues found. Full local platform suites were not rerun. CI still has failed, canceled, or unfinished checks; those results remain separate from this source-review approval.

@mldangelo-oai

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 7, 2026 •

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-08T00:30:07.253848Z ea2c8fa Draft marked ready
🔒 Security Review ✅ Completed 2026-10-08T00:30:58.317022Z ea2c8fa Draft marked ready
ℹ️ 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.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Bravo.

Reviewed commit: b1ef9c5fb0

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

@mldangelo-oai

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. What shall we delve into next?

Reviewed commit: f49106921d

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

@mldangelo-oai
mldangelo-oai marked this pull request as ready for review October 8, 2026 00:28
@mldangelo-oai
mldangelo-oai merged commit 2528ca6 into main Oct 8, 2026
72 of 88 checks passed
@mldangelo-oai
mldangelo-oai deleted the mdangelo/codex/truthful-scan-scope-progress branch October 8, 2026 00:28
@github-actions github-actions Bot mentioned this pull request Oct 8, 2026
3 tasks done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants