Skip to content

Harden portable boundary checks#87

Merged
ariobarin merged 2 commits into
mainfrom
codex/harden-portable-boundaries
Jul 2, 2026
Merged

Harden portable boundary checks#87
ariobarin merged 2 commits into
mainfrom
codex/harden-portable-boundaries

Conversation

@ariobarin

Copy link
Copy Markdown
Owner

Portable setup should fail closed when the manifest, install map, or live retired copies drift apart. Validated with .\scripts\doctor.ps1, git diff --check, install and snapshot review modes, and temp-home missing-source and retired-copy checks.

@ariobarin ariobarin marked this pull request as ready for review July 2, 2026 20:07
@ariobarin ariobarin merged commit db1c149 into main Jul 2, 2026
1 check passed
@ariobarin ariobarin deleted the codex/harden-portable-boundaries branch July 2, 2026 20:07

@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: d67ac6951c

ℹ️ 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 scripts/common.ps1
Comment on lines +54 to +55
[regex]::Matches($skillsMatch.Groups[1].Value, '"([^"]+)"') |
ForEach-Object { $_.Groups[1].Value }

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Strip TOML comments before extracting skills

If a maintainer comments out or annotates an entry inside [agents].skills, for example # "old-skill", or an inline note containing a quoted skill name, this regex still captures the quoted text as an active skill even though TOML would ignore it. That makes install, snapshot, and retired-copy maps continue acting on commented-out skills, and the doctor check uses the same style of extraction so it would not catch the mismatch.

Useful? React with 👍 / 👎.

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.

1 participant