Skip to content

fix(antigravity): preserve commands with colliding names - #1673

Open
22nsuk wants to merge 1 commit into
EveryInc:mainfrom
22nsuk:fix/antigravity-command-collisions-1672
Open

fix(antigravity): preserve commands with colliding names#1673
22nsuk wants to merge 1 commit into
EveryInc:mainfrom
22nsuk:fix/antigravity-command-collisions-1672

Conversation

@22nsuk

@22nsuk 22nsuk commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

Fixes #1672.

Use the path returned by the existing uniqueName() helper so normalized command-name collisions do not overwrite earlier prompts. Namespace layout and non-colliding paths stay unchanged.

Validation

Two converter-to-writer regression cases cover flat/namespaced commands, an occupied -2 suffix, and each output's prompt. Both fail before the fix. All 8 writer cases pass locally using Node 22.16.0 with a TypeScript/assertion adapter; native Bun and the full suite are left to CI.

Security Disclosure

Output-integrity fix only. No changes to permissions, path validation, or skill-directory handling.

Agent Disclosure

ChatGPT · GPT-6 Astra Pro.

Use the path returned by the existing uniqueName helper so normalized
command names cannot overwrite earlier prompts. Keep namespaces and
non-colliding paths unchanged.

Cover flat and namespaced converter-to-writer output, including an
already occupied numeric suffix and preservation of each prompt.

Fixes EveryInc#1672.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 10, 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-09-10T22:05:13.860143Z 0f392ea PR opened
🔒 Security Review Completed 2026-09-10T22:08:01.781681Z 0f392ea PR opened
ℹ️ 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.

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.

Antigravity conversion overwrites commands with colliding normalized names

1 participant