Skip to content

Release v6.2.1#70

Merged
m0n0x41d merged 5 commits intomainfrom
dev
Apr 22, 2026
Merged

Release v6.2.1#70
m0n0x41d merged 5 commits intomainfrom
dev

Conversation

@m0n0x41d
Copy link
Copy Markdown
Owner

Summary

  • Release v6.2.1 from dev to main.
  • Includes the Codex init migration from deprecated prompts to Codex skills.
  • Includes the FPF corpus/index refresh.

Validation

  • git diff --check
  • go test ./internal/cli

draft: false

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a 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: f3e1a9b0fe

ℹ️ 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 internal/cli/init.go
Comment on lines +225 to +229
if !initAir {
if promptPath, removed, err := cleanupCodexPromptCommands(); err != nil {
fmt.Printf(" ⚠ Failed to remove deprecated Codex prompts: %v\n", err)
} else if removed > 0 {
fmt.Printf(" ✓ Removed %d deprecated Codex prompts (%s)\n", removed, promptPath)
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 Defer prompt cleanup until Codex skills install succeeds

In runInit, deprecated Codex prompts are deleted before calling installCodexSkills, so any filesystem error during skill installation (e.g., failing to create/write ~/.agents/skills) leaves users with neither old prompts nor new skills. This is a regression risk in partial-failure scenarios because the cleanup is destructive while the install path is best-effort with warning-only handling; doing cleanup only after a successful install (or rolling back on failure) avoids breaking existing setups.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a 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: 4734d101b5

ℹ️ 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 internal/cli/init.go
Comment on lines +225 to +226
if !initAir {
if promptPath, removed, err := cleanupCodexPromptCommands(); err != nil {
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 Honor --local by skipping global Codex prompt cleanup

When haft init --codex --local runs, this branch still calls cleanupCodexPromptCommands, which hard-deletes Haft prompt files from ~/.codex/prompts. That violates the --local contract (project-only changes) and can unexpectedly break existing global Air/Codex prompt setups in other repos; this cleanup should be gated so local init does not mutate global prompt state.

Useful? React with 👍 / 👎.

@m0n0x41d m0n0x41d merged commit 4969ecb into main Apr 22, 2026
2 checks passed
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