Skip to content

docs: add policy configuration examples for ODS profiles#6

Merged
shenxianpeng merged 2 commits into
mainfrom
feature/policy-examples
Jun 1, 2026
Merged

docs: add policy configuration examples for ODS profiles#6
shenxianpeng merged 2 commits into
mainfrom
feature/policy-examples

Conversation

@shenxianpeng
Copy link
Copy Markdown
Contributor

Summary

Adds example .ods.yaml policy configuration files for all three ODS compliance profiles.

Files Added

File Profile Description
examples/ods-policy-oss.yaml OSS Relaxed rules; AI disclosure optional, no commit scope required
examples/ods-policy-enterprise.yaml Enterprise Full ODS L1 enforcement; AI disclosure required, scope required
examples/ods-policy-regulated.yaml Regulated Maximum compliance; tickets required, Risk Assessment section, all rules strict

Each example includes all configurable fields with comments explaining each option.

Related

@shenxianpeng shenxianpeng force-pushed the feature/policy-examples branch from af0907e to eb1d35e Compare May 30, 2026 05:20
…lated profiles

- ods-policy-oss.yaml: relaxed rules for open-source projects
- ods-policy-enterprise.yaml: full ODS L1 enforcement with AI disclosure
- ods-policy-regulated.yaml: maximum compliance for regulated industries
@shenxianpeng shenxianpeng force-pushed the feature/policy-examples branch from eb1d35e to a1126f8 Compare June 1, 2026 03:52
… specs

- Add feat/fix branch type aliases (valid per Conventional Branch 1.0.0)
- Make commit scope optional for enterprise profile (optional per Conventional Commits)
- Rename severity key commit_scope -> commit_format to match validator
- Update enterprise profile comment to remove 'commit scope required'
@shenxianpeng shenxianpeng merged commit 212b020 into main Jun 1, 2026
2 checks passed
@shenxianpeng shenxianpeng deleted the feature/policy-examples branch June 1, 2026 03:56
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