Skip to content

docs(rule): mandatory .env.example sync on env changes#22

Merged
lopadova merged 1 commit into
mainfrom
task/rule-env-sync
Jul 3, 2026
Merged

docs(rule): mandatory .env.example sync on env changes#22
lopadova merged 1 commit into
mainfrom
task/rule-env-sync

Conversation

@lopadova

@lopadova lopadova commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

Binding rule: env var changes must keep .env.example aligned (values, defaults, units).

…able change

Binding project rule: adding/renaming/removing/changing an env var (in any consumed package config,
provider, bootstrap, route) must update the deployable .env.example in the same PR — with purpose,
allowed values, default and UNITS (seconds for *_TTL/*_GRACE). Prevents deploy-time config drift.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@lopadova lopadova merged commit b4fe9b3 into main Jul 3, 2026
2 checks passed
@lopadova lopadova deleted the task/rule-env-sync branch July 3, 2026 22:38

@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: 5a5b3541d0

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

@@ -0,0 +1,29 @@
# Rule: keep `.env.example` in sync with every env variable change (MANDATORY)

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Wire the env-sync rule into loaded docs

When future sessions follow the normal repo context, this file is never loaded: CLAUDE.md does not import/link it, .claude/skills/iam-console-dev/SKILL.md only sends agents to rule-ship-workflow.md, and rg 'rule-env-example-sync' finds only this new file. Because .claude/rules is otherwise just an unreferenced docs directory in this repo, the mandatory env-sync policy will be missed by the agents/PR flow it is meant to constrain; add it to CLAUDE.md, the skill, or the README alongside the ship workflow.

Useful? React with 👍 / 👎.

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