Skip to content

fix(scan): resolve workflows through readable plugin paths - #1592

Merged
mldangelo-oai merged 9 commits into
mainfrom
mdangelo/codex/scan-skill-paths
Oct 13, 2026
Merged

mldangelo-oai merged 9 commits into
mainfrom
mdangelo/codex/scan-skill-paths

Conversation

@mldangelo-oai

@mldangelo-oai mldangelo-oai commented Oct 11, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Load the selected scan workflow from an existing readable plugin copy without losing other configured plugins or skills.

Changes

  • Include the archive-registration fix from fix(workbench): serialize registrations with archival #1587.
  • Share readable workflow selection across parent scans and fresh or resumed discovery and reducer workers.
  • Preserve credential-home restrictions, MCP startup, unrelated skill selections, and concurrent scan settings.
  • Reuse the fake-worker fixture while retaining its generated executable text.

Testing

Both recorded full SDK orders passed with 4,798 tests passed and 68 skipped. Focused path/runtime tests, worker launch tests, archive regressions, portable checks, builds, types, and formatting passed.

Risk and rollout

No public command or configuration changes, and credential-home denials remain intact. The selected scan workflow loads from the existing readable plugin copy; other plugins and skill selections remain available. The newer policy-onboarding changes from main are preserved. This change is independent of the separate cost and progress fixes.

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.

@github-actions github-actions Bot added the bug Something isn't working label Oct 11, 2026
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 11, 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-13T05:39:24.171430Z e81be60 New commits
🔒 Security Review ✅ Completed 2026-10-13T05:39:13.362309Z e81be60 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.

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

Copy link
Copy Markdown

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: b12bbf9633

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

Comment thread sdk/typescript/src/scan-skill-paths.ts
@mldangelo-oai mldangelo-oai changed the title fix(scan): load workflows from readable plugin paths fix: resolve nested scan skills through readable files Oct 11, 2026
@mldangelo-oai mldangelo-oai changed the title fix: resolve nested scan skills through readable files fix(scan): load workflows from readable plugin paths Oct 11, 2026
@mldangelo-oai
mldangelo-oai requested a balanced review from Copilot October 11, 2026 17:36

Copy link
Copy Markdown
Collaborator Author

@codex review

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🔵 Needs a closer look

Cross-cutting changes to sandboxed workflow loading, Deep worker inheritance, and archive concurrency warrant final human review.

0 open findings

What changed in this PR

Updates scan orchestration so workflows load from readable plugin paths while cached credential-home skills remain disabled.

Changes:

  • Reworks scan and Deep worker skill-path configuration and prompt guidance.
  • Preserves MCP startup dependencies and worker settings across profiles and resumes.
  • Serializes archive registration checks to avoid rename/recreation races.
File Description
sdk/​typescript/​src/​scan-skill-paths.ts Builds isolated native skill selections.
sdk/​typescript/​src/​api.ts Integrates readable workflows and worker settings.
sdk/​typescript/​scripts/​check-package.mjs Allows the new packaged helper.
sdk/​typescript/​tests-ts/​scan-skill-paths.test.ts Tests skill selection and isolation.
sdk/​typescript/​tests-ts/​scan-mcp-startup.test.ts Tests MCP startup ordering.
sdk/​typescript/​tests-ts/​api.test.ts Tests scan and Deep worker integration.
sdk/​typescript/​tests-ts/​api-preflight-config.test.ts Tests skill-setting projection.
plugins/​codex-security/​mcp-app/​src/​deep-scan/​executor.ts Forwards skill settings and readable paths.
plugins/​codex-security/​mcp-app/​tests/​test_deep_scan_executor.ts Tests worker inheritance and resumes.
plugins/​codex-security/​scripts/​workbench_db.py Defers archive validation until writer admission.
plugins/​codex-security/​tests/​test_workbench_archive.py Covers concurrent archive registration.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@chatgpt-codex-connector

Copy link
Copy Markdown

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

Reviewed commit: 852c263a34

ℹ️ 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 changed the title fix(scan): load workflows from readable plugin paths fix(scan): resolve workflows through readable plugin paths Oct 12, 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 ad1488c115fb in two source-review passes, including relevant callers and contracts.

Approved. No new actionable findings in the reviewed scope.

Validation: CI-helper TypeScript compilation and plugin bundling passed locally; native binaries came from CI with matching compiled source inputs. Focused SDK tests passed: scan-skill-paths.test.ts, scan-mcp-startup.test.ts. The full cross-platform suite was not run locally; Windows execution remains unverified here.

@mldangelo-oai
mldangelo-oai merged commit 31a6d4a into main Oct 13, 2026
64 checks passed
@mldangelo-oai
mldangelo-oai deleted the mdangelo/codex/scan-skill-paths branch October 13, 2026 13:48
@github-actions github-actions Bot mentioned this pull request Oct 13, 2026
3 tasks
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.

4 participants