Skip to content

feat(config): add safe configuration initialization, viewing, and local discovery - #77

Merged
benbenbang merged 1 commit into
mainfrom
feature/29-config-init-view
Oct 9, 2026
Merged

benbenbang merged 1 commit into
mainfrom
feature/29-config-init-view

Conversation

@benbenbang

Copy link
Copy Markdown
Member

Provide safer configuration workflows and predictable local configuration selection without exposing credentials or weakening existing precedence rules.

  • Discover jevwise.toml in the current directory with explicit-path and global configuration precedence preserved, strict file validation, and bounded reads.
  • Add secure helpers and config init support for global, local, and explicit paths without overwriting files or copying credentials.
  • Add config view with defaults, field-level API key redaction, and no environment or network access.
  • Document configuration behavior, privacy assumptions, and command usage, with coverage for path resolution, file safety, CLI behavior, smoke tests, and races.

@benbenbang
benbenbang enabled auto-merge (rebase) October 9, 2026 08:22
@benbenbang
benbenbang force-pushed the feature/29-config-init-view branch from 2487203 to a5dd521 Compare October 9, 2026 08:30
@github-actions github-actions Bot added documentation Improvements or additions to documentation triage labels Oct 9, 2026
Add config initialization for global, local, and explicit paths without overwriting existing files or copying environment or flag credentials. Add safe config viewing with defaults, field-level api_key redaction, and no environment or API calls. Reject invalid selectors and positional inputs, and handle writer failures and short writes safely. Document command behavior and privacy assumptions with coverage for full gates, native smoke, and race tests.
@benbenbang
benbenbang force-pushed the feature/29-config-init-view branch from a5dd521 to a517f58 Compare October 9, 2026 08:33
@benbenbang
benbenbang merged commit 38b374a into main Oct 9, 2026
5 checks passed
@benbenbang
benbenbang deleted the feature/29-config-init-view branch October 9, 2026 08:35
@ptah-bw-technical-app

Copy link
Copy Markdown

🎉 This PR is included in version 1.4.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation released triage

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant