Skip to content

Accept a Folded Dispatch Guard in D4.1 and Extend the 5B N/A Rule - #2905

Merged
ptr727 merged 3 commits into
developfrom
feature/schedule-never-publishes-shape
Oct 12, 2026
Merged

ptr727 merged 3 commits into
developfrom
feature/schedule-never-publishes-shape

Conversation

@ptr727

@ptr727 ptr727 commented Oct 12, 2026

Copy link
Copy Markdown
Owner

Summary

  • D4.1: the dispatch guard a retest-only schedule needs is now required as an && term of the job's job-level if:, not of a single-line if:. The single-line wording contradicted the if: >- form that D9.3 and GOVERNANCE.md "Workflow YAML Conventions" set for a multi-line condition. spec/audit.py already accepts the folded form: _code_view folds a block-scalar if: onto its key line, and the --selftest case "a folded dispatch gate" expects no finding. The audit's DRIFT message is unchanged, since it was already accurate. Issue Name the Single-Line If Requirement in the Schedule Concurrency Drift Message #2889's premise (that a folded if: reduces to an empty condition) is disproved there, and this change resolves it by aligning D4.1 with the parser.
  • 5B: a publisher whose schedule never publishes (D4.1) records the schedule paths of S7 and S9 N/A. Its push paths stay under the existing rule that keys N/A on the trigger. S7 is included because its Input also lists a schedule as a publish run, and the dispatch guard skips that run too.

The local review raised two older gaps between D4.1 and the audit that this change does not touch. They are filed as #2904.

  • The workflow-ci-contract d-guarantees.md and test-methodology.md includes are regenerated with scripts/build_dist.py.

No other surface states the single-line requirement. I swept WORKFLOW.md, AUDIT.md, docs/, catalog/snippets, the plan task header, the Skills trees and the spec/audit.py docstrings.

Closes #2889
Closes #2888

🤖 Generated with Claude Code

…blishes

WORKFLOW.md 5B keyed scenario N/A on the on: block alone, so a dispatch-only publisher with a retest-only schedule scored S9 as a failure rather than N/A.
D4.1 required the guard in a single-line if:, which contradicts the folded if: >- form D9.3 sets for a multi-line condition. The audit already folds a block-scalar if: onto its key line and accepts the guard there.
S7 lists a schedule as a publish run too, and a push path clause read as keeping S9 applicable on a push the dispatch guard also skips.
Copilot AI lite review requested due to automatic review settings October 12, 2026 19:18
@ptr727 ptr727 changed the title Accept the Dispatch Guard in Any Job-Level If and Record a Retest-Only Schedule N/A in 5B Accept a Folded Dispatch Guard in D4.1 and Extend the 5B N/A Rule Oct 12, 2026
@coderabbitai

coderabbitai Bot commented Oct 12, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration
  • Configuration used: Repository: ptr727/ProjectTemplate/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: fadaee6a-1a4f-4c7c-80f6-e6a4e047e885

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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.

🟢 Approval recommended

The focused contract changes and generated copies are consistent, with no unresolved findings.

0 open findings

What changed in this PR

This PR aligns the release workflow contract with folded job-level dispatch guards and clarifies which trace scenarios do not apply when a schedule never publishes.

Changes:

  • Clarifies the D4.1 dispatch guard and the 5B S7/S9 schedule-path exceptions.
  • Regenerates the workflow skill references and source digest.
File Description
WORKFLOW.md Updates the canonical release and trace rules.
.github/​skills/​workflow-ci-contract/​references/​test-methodology.md Carries the updated trace rule.
.github/​skills/​workflow-ci-contract/​references/​d-guarantees.md Carries the updated dispatch guard.
.claude-plugin/​fleet-skills/​skills/​workflow-ci-contract/​references/​test-methodology.md Carries the updated trace rule.
.claude-plugin/​fleet-skills/​skills/​workflow-ci-contract/​references/​d-guarantees.md Carries the updated dispatch guard.
.claude-plugin/​fleet-skills/​.source-digests/​workflow-ci-contract Updates the generated source digest.
.agents/​skills/​workflow-ci-contract/​references/​test-methodology.md Updates the source trace reference.
.agents/​skills/​workflow-ci-contract/​references/​d-guarantees.md Updates the source dispatch reference.

🧠 Review effort: Lite


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@codecov

codecov Bot commented Oct 12, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 59.63%. Comparing base (c978e6e) to head (d549bcb).
⚠️ Report is 1 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #2905   +/-   ##
========================================
  Coverage    59.63%   59.63%           
========================================
  Files           16       16           
  Lines         8684     8684           
========================================
  Hits          5179     5179           
  Misses        3505     3505           
Flag Coverage Δ
python-3.13 59.63% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ptr727
ptr727 merged commit b3fc9c0 into develop Oct 12, 2026
14 checks passed
@ptr727
ptr727 deleted the feature/schedule-never-publishes-shape branch October 12, 2026 19:26
ptr727 added a commit that referenced this pull request Oct 12, 2026
…in (#2908)

- #2899 states in the `repo-worktree` skill that a worktree does not use
the shared git stash
- #2905 accepts a folded dispatch guard in D4.1 and extends the 5B N/A
rule to a schedule that never publishes
- #2901 allows a comment to name the contract section holding its why,
without restating it
- #2906 reads the handoff chain from the issue connection rather than
the search index

Closes #2896
Closes #2889
Closes #2888

🤖 Generated with [Claude Code](https://claude.com/claude-code)
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