Skip to content

chore(doppler): declare the dotfiles/prd repo config - #2837

Merged
shunkakinoki merged 1 commit into
mainfrom
t3code/enable-kyber-cliproxy-doppler-secrets
Sep 19, 2026
Merged

shunkakinoki merged 1 commit into
mainfrom
t3code/enable-kyber-cliproxy-doppler-secrets

Conversation

@shunkakinoki

@shunkakinoki shunkakinoki commented Sep 19, 2026

Copy link
Copy Markdown
Owner

Summary

The Doppler project/config that populates the machine-local ~/dotfiles/.env was only encoded as repeated --project dotfiles --config prd flags in three Makefile recipes (doppler-sync, doppler-diff, doppler-upload). Nothing declared the provenance, so a fresh host had no way to know where .env comes from.

This adds a repo-root .doppler.yaml so Doppler resolves dotfiles/prd automatically from the checkout (no flags), declaring the source of truth without carrying any secret.

setup:
  - project: dotfiles
    config: prd

Notes

  • .doppler.yaml only records project/config; it does not contain a token or any secret. Hosts still authenticate via doppler login or DOPPLER_TOKEN.
  • .env stays untracked and machine-local.
  • Follow-up (not in this PR): a names-only doppler-check preflight and README/.env.example notes.

Summary by cubic

Declares the Doppler source of ~/dotfiles/.env in a new repo-root .doppler.yaml. Previously the dotfiles/prd project and config only lived in Makefile flags; now Doppler resolves them from the checkout automatically, so a fresh host knows where .env comes from.

The file contains no secret; hosts still authenticate via doppler login or DOPPLER_TOKEN, and .env remains untracked and machine-local.

Written for commit b987154. Summary will update on new commits.

Review in cubic

@indent

indent Bot commented Sep 19, 2026

Copy link
Copy Markdown

Warning

This organization's free trial has ended, so Indent couldn't start this review. Manage billing to resume reviews on this repository.

@coderabbitai

coderabbitai Bot commented Sep 19, 2026

Copy link
Copy Markdown

Warning

Review limit reached

Next included review available in 30 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Advanced

Run ID: 6c01eb13-a93b-4e7f-ba09-80de0275eac3

📥 Commits

Reviewing files that changed from the base of the PR and between 8e36725 and b987154.

📒 Files selected for processing (1)
  • .doppler.yaml

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 issue found across 1 file

Prompt for AI agents (unresolved issues)

Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.


<file name=".doppler.yaml">

<violation number="1" location=".doppler.yaml:2">
P2: As committed, this file does not make Doppler resolve `dotfiles/prd` from the checkout, and it duplicates the flags that are still hardcoded in the Makefile. Doppler's docs are explicit that ordinary commands (`secrets download`, `run`) never read a repo-local `doppler.yaml` — project/config resolution goes through `~/.doppler/.doppler.yaml`, which is only populated by running `doppler setup`. Nothing in this repo invokes `doppler setup` (home-manager only installs the CLI binary), and `doppler-sync`/`doppler-diff`/`doppler-upload` (Makefile lines 1607, 1612, 1617) still pass `--project dotfiles --config prd`. So the file can't help a fresh host until `doppler setup --no-interactive` runs, and its declared values can silently drift from the flags, which remain the only effective source of truth. Recommend wiring `doppler setup --no-interactive` into the bootstrap/preflight step and then removing the now-redundant `--project`/`--config` flags from the three recipes so this file is the single source of truth.</violation>
</file>

Reply with feedback, questions, or to request a fix.

Re-trigger cubic

Comment thread .doppler.yaml
@@ -0,0 +1,3 @@
setup:
- project: dotfiles

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2: As committed, this file does not make Doppler resolve dotfiles/prd from the checkout, and it duplicates the flags that are still hardcoded in the Makefile. Doppler's docs are explicit that ordinary commands (secrets download, run) never read a repo-local doppler.yaml — project/config resolution goes through ~/.doppler/.doppler.yaml, which is only populated by running doppler setup. Nothing in this repo invokes doppler setup (home-manager only installs the CLI binary), and doppler-sync/doppler-diff/doppler-upload (Makefile lines 1607, 1612, 1617) still pass --project dotfiles --config prd. So the file can't help a fresh host until doppler setup --no-interactive runs, and its declared values can silently drift from the flags, which remain the only effective source of truth. Recommend wiring doppler setup --no-interactive into the bootstrap/preflight step and then removing the now-redundant --project/--config flags from the three recipes so this file is the single source of truth.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At .doppler.yaml, line 2:

<comment>As committed, this file does not make Doppler resolve `dotfiles/prd` from the checkout, and it duplicates the flags that are still hardcoded in the Makefile. Doppler's docs are explicit that ordinary commands (`secrets download`, `run`) never read a repo-local `doppler.yaml` — project/config resolution goes through `~/.doppler/.doppler.yaml`, which is only populated by running `doppler setup`. Nothing in this repo invokes `doppler setup` (home-manager only installs the CLI binary), and `doppler-sync`/`doppler-diff`/`doppler-upload` (Makefile lines 1607, 1612, 1617) still pass `--project dotfiles --config prd`. So the file can't help a fresh host until `doppler setup --no-interactive` runs, and its declared values can silently drift from the flags, which remain the only effective source of truth. Recommend wiring `doppler setup --no-interactive` into the bootstrap/preflight step and then removing the now-redundant `--project`/`--config` flags from the three recipes so this file is the single source of truth.</comment>

<file context>
@@ -0,0 +1,3 @@
+setup:
+  - project: dotfiles
+    config: prd
</file context>

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR adds a .doppler.yaml configuration file at the repo root to declare the source of truth for the dotfiles/prd project. Previously, the Doppler project and its configuration were encoded only as repeated --project dotfiles --config prd flags in three Makefile recipes (doppler-sync, doppler-diff, doppler-upload). This change replaces those hardcoded flags with a declarative config file, allowing Dopper to automatically resolve the project and config from the checkout without requiring manual flag passing.

The change is minimal and focused: a single new file .doppler.yaml with a setup section defining project: dotfiles and config: prd. This follows the intended design of having a repo-root config that declares provenance without carrying secrets. The file contains no sensitive information and maintains compatibility with existing workflows.

Overall, this is a clean improvement that makes the configuration more maintainable and self-documenting.

Pullfrog  | Fix it ➔View workflow run | Using openrouter/openrouter/free𝕏

@shunkakinoki
shunkakinoki merged commit 622a7ad into main Sep 19, 2026
34 of 38 checks passed
@shunkakinoki
shunkakinoki deleted the t3code/enable-kyber-cliproxy-doppler-secrets branch September 19, 2026 13:43
@linear-code

linear-code Bot commented Sep 19, 2026

Copy link
Copy Markdown

SHUN-5909

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