Skip to content

fix: stop config fallback and duplicate instruction backups - #76

Merged
AksharP5 merged 3 commits into
mainfrom
fix/config-errors-and-instruction-aliases
Sep 25, 2026
Merged

AksharP5 merged 3 commits into
mainfrom
fix/config-errors-and-instruction-aliases

Conversation

@AksharP5

@AksharP5 AksharP5 commented Sep 25, 2026 •

Copy link
Copy Markdown
Owner

A broken local config could silently send commands to the default vault. Selecting an instruction profile through two directory aliases could also move the same local file twice, leaving the original path empty after a failed rename.

Config errors now stop commands and the interactive menu with the file path and original error. Dangling symlinks at the config file or any ancestor directory are treated as read errors. Instruction destinations share one backup per canonical path, and aliases of the selected vault profile are rejected before any file is moved.

Missing-config defaults and vault formats are unchanged. Existing configs need no migration; malformed or unreadable configs must be repaired before retrying.

Validated with regressions reproduced before the fixes, all 125 tests, npm pack --dry-run, and git diff --check.

Closes #75.

@AksharP5

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 25, 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-25T01:06:10.769444Z 284df1b Manual request
ℹ️ 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: eea9bff823

ℹ️ 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 src/core/config.js Outdated
@AksharP5

Copy link
Copy Markdown
Owner Author

@codex review

@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: 70cd2495d5

ℹ️ 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 src/core/config.js Outdated
@AksharP5

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Keep it up!

Reviewed commit: 284df1b33d

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

@AksharP5
AksharP5 merged commit 7b5a19f into main Sep 25, 2026
6 checks passed
@AksharP5 AksharP5 mentioned this pull request Sep 23, 2026
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.

Preserve local state on configuration errors and aliased instruction paths

1 participant