Skip to content

Follow-up: effective-model lineEndings check + $comment keyword - #293

Merged
ptr727 merged 1 commit into
developfrom
feature/operational-followup-fixes
Jul 13, 2026
Merged

Follow-up: effective-model lineEndings check + $comment keyword#293
ptr727 merged 1 commit into
developfrom
feature/operational-followup-fixes

Conversation

@ptr727

@ptr727 ptr727 commented Jul 13, 2026

Copy link
Copy Markdown
Owner

Address Copilot review on the promotion PR #292:

  • spec/validate.py: require lineEndings by the effective workflow model (repo -> defaults.workflowModel -> release), matching configure.sh.
  • registry/repos.schema.json: use the standard $comment annotation keyword.

🤖 Generated with Claude Code

- spec/validate.py: require lineEndings by the *effective* workflow model
  (repo -> defaults.workflowModel -> release), matching configure.sh, so the
  invariant holds even if a repo relies on an operational defaults value.
- registry/repos.schema.json: use the standard JSON Schema $comment annotation
  keyword (was a non-standard "comment").

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings July 13, 2026 20:26

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

Tightens registry validation and schema annotations to align with the operational workflow-model behavior introduced in the develop -> main promotion series, ensuring lineEndings is required whenever a repo is effectively operational (including via defaults.workflowModel).

Changes:

  • Update spec/validate.py to require lineEndings based on the effective workflow model (repo.workflowModel -> defaults.workflowModel -> release), matching configure.sh behavior.
  • Replace the non-standard JSON Schema comment keyword with the standard $comment annotation in registry/repos.schema.json.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
spec/validate.py Enforces lineEndings when the effective workflow model resolves to operational, even when inherited from defaults.
registry/repos.schema.json Uses JSON Schema standard $comment for the operational lineEndings requirement annotation.

@ptr727
ptr727 merged commit 39b6495 into develop Jul 13, 2026
7 checks passed
@ptr727
ptr727 deleted the feature/operational-followup-fixes branch July 13, 2026 20:28
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