Skip to content

Add context-aware config resolution defaults#63

Open
JKetelaar wants to merge 2 commits intofeat/sync-rewrite-env-targetsfrom
feat/context-aware-config-resolution
Open

Add context-aware config resolution defaults#63
JKetelaar wants to merge 2 commits intofeat/sync-rewrite-env-targetsfrom
feat/context-aware-config-resolution

Conversation

@JKetelaar
Copy link
Member

Summary

  • add context detection/runtime and layered config loading (user + active context) with a new --context override
  • centralize org/site default resolution precedence (flags > env > context config > session/user defaults) and apply it across inventory/site/sync flows
  • enforce non-interactive guardrails so pipeline mode fails fast instead of prompting, and document new context-aware behavior in README

Verification

  • go test ./...
  • go run ./cmd/intercube --help

@JKetelaar JKetelaar marked this pull request as ready for review March 4, 2026 10:18
@JKetelaar JKetelaar requested a review from EdinTC March 4, 2026 10:18
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