Skip to content

ci: enforce Jenkins-only workflow policy and real upstream merge checkpoints - #28

Closed
ngallodev wants to merge 9 commits into
sync/security-20261101from
sync/ci-guard-20261101
Closed

ngallodev wants to merge 9 commits into
sync/security-20261101from
sync/ci-guard-20261101

Conversation

@ngallodev

Copy link
Copy Markdown
Owner

The regex-only workflow guard could miss YAML trigger forms. Parse YAML with pinned PyYAML, reject automatic events and unsupported alias/merge/document/tag constructs, and check every workflow before publication. Jenkins installs its existing Python CI environment before running the guard and its fixtures.

Add a local/Jenkins ancestry helper that verifies full commit IDs, checkpoint membership in the pinned campaign, and the exact non-first checkpoint merge parent. Replacement refs and graft files cannot fabricate that ancestry. Include the pinned 933-commit inventory, per-batch machine ledger, plan, explicit CI discovery gap, and the existing canonical-ledger cross-reference.

Validation: all 18 workflow files passed; four policy tests (multiple positive/negative YAML fixtures), six ancestry tests (including incremental checkpoints, wrong parents, replacement refs and grafts), ledger uniqueness/count checks, and git diff checks passed. CodeRabbit did not run because saved credentials were unavailable; parent source review corrected the incremental-target and YAML-merge cases. Jenkins full qualification remains pending. No Actions workflow was dispatched.

Stacked draft: depends on security PR #27; this PR targets its branch and cannot be merged independently. Subsequent upstream integration targets this branch. No automatic PR merge or main push is authorized. Initial AW worker evidence is preserved, but its missing acceptance binding left lifecycle acceptance pending; source verification and CI gates are recorded separately.

@coderabbitai

coderabbitai Bot commented Nov 1, 2026

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true
  • 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

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