Skip to content

Clarify minProfile default and the coverage enforcement - #442

Merged
ptr727 merged 1 commit into
developfrom
type-model-minprofile-default
Jul 25, 2026
Merged

Clarify minProfile default and the coverage enforcement#442
ptr727 merged 1 commit into
developfrom
type-model-minprofile-default

Conversation

@ptr727

@ptr727 ptr727 commented Jul 25, 2026

Copy link
Copy Markdown
Owner

Routed from Copilot on the promotion #441: the model doc said every check names its minProfile, but the field is optional (only build checks set it) and omitting it means the check applies at every profile. Clarify that default, and word the enforcement accurately - the audit gates the coverage requirement on the declared profile, not by reading minProfile (which is documentation), and only coverage is mechanically gated, not packaging.

spec/validate.py OK.

🤖 Generated with Claude Code

minProfile is optional: a check without one applies at every profile, and
only build checks set it. State that, and describe the enforcement
accurately - the audit gates the coverage requirement on the declared
profile, rather than reading minProfile - so the doc matches the current
spec and audit.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings July 25, 2026 17:18

Copilot AI 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.

Pull request overview

Updates the language type model documentation to clarify how minProfile behaves by default and how coverage requirements are actually enforced by the audit, aligning the doc with the current schema and audit behavior.

Changes:

  • Clarify that minProfile is optional and that omitting it means the check applies at all profiles.
  • Clarify that the audit gates the Codecov coverage requirement based on the declared language profile (so lint-only languages do not trigger coverage requirements).

@ptr727
ptr727 merged commit 3e194ce into develop Jul 25, 2026
7 checks passed
@ptr727
ptr727 deleted the type-model-minprofile-default branch July 25, 2026 17:21
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.

2 participants