Skip to content

Add source directive for config file indirection#30

Merged
dsaenztagarro merged 1 commit into
masterfrom
29-add-source-directive
Feb 27, 2026
Merged

Add source directive for config file indirection#30
dsaenztagarro merged 1 commit into
masterfrom
29-add-source-directive

Conversation

@dsaenztagarro
Copy link
Copy Markdown
Owner

Summary

  • Add source directive that turns local config into a thin pointer to the dotfiles repo
  • Config changes in the repo are visible immediately — eliminates the two-pass pull problem
  • Env var expansion, validation (exclusive key, no chaining), cache invalidation for pointer + source + include files
  • 16 new spec examples, README documentation, version bump to 0.4.0

Closes #29

Test plan

  • All 512 examples pass (0 failures, 2 pending)
  • Line coverage: 96.4% | Branch coverage: 82.34%
  • RuboCop: no offenses
  • Source-aware specs cover: basic resolution, include composition, env var expansion, validation errors, cache invalidation, metadata tracking, no-cache mode

🤖 Generated with Claude Code

Local config becomes a thin pointer (`source = "..."`) that redirects
config loading to the authoritative copy in the dotfiles repo. Changes
in the repo are visible immediately — no syncing or two-pass pull needed.

Closes #29

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@dsaenztagarro dsaenztagarro merged commit 0bb116a into master Feb 27, 2026
2 checks passed
@dsaenztagarro dsaenztagarro deleted the 29-add-source-directive branch February 27, 2026 23:55
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.

Add source directive for config file indirection

1 participant