Skip to content

docs(config): add descriptive-only banner to risk.yaml.example#176

Merged
cipher813 merged 1 commit into
mainfrom
chore/yaml-example-banners
May 13, 2026
Merged

docs(config): add descriptive-only banner to risk.yaml.example#176
cipher813 merged 1 commit into
mainfrom
chore/yaml-example-banners

Conversation

@cipher813
Copy link
Copy Markdown
Owner

Summary

Adds a banner to the top of config/risk.yaml.example warning that edits here have ZERO runtime effect — production reads alpha-engine-config/executor/risk.yaml. The .example file is descriptive-only: it bootstraps new environments via setup-trading-ec2.sh + serves as public-repo schema docs for the executor's config surface.

Motivated by a recurring lapse pattern (memory feedback_yaml_example_descriptive_only_live_config_in_config_repo already captures the rule; I keep editing .example files anyway). Putting the banner at the top of each file makes the warning impossible to miss.

Companion banners in 5 other repos shipping as separate PRs.

Test plan

  • YAML still parses (python -c "import yaml; yaml.safe_load(...)")
  • No runtime behaviour change — banner is YAML comments only

🤖 Generated with Claude Code

Live config is in alpha-engine-config/executor/risk.yaml; edits to the
.example file affect only new-env bootstrap + public-repo schema docs.
Banner sits at the top of the file so anyone (Claude included) opening
the file sees the warning before assuming an edit reaches production.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@cipher813 cipher813 merged commit 2628d1c into main May 13, 2026
1 check passed
@cipher813 cipher813 deleted the chore/yaml-example-banners branch May 13, 2026 14:42
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