feat(governance): deploy advisory defaults v3.1 - #18
Merged
Conversation
|
6 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Problem
Quantum-L9 needs organization-wide governance defaults, advisory security posture,
and consistent issue intake without duplicating CI owned by
l9-ci-sdkorl9-ci-core. The v2.0.1 deployment left three gaps: strict-by-default PR gates(blocking posture on young infra),
core.setFailedin issue triage (red X oncredential warnings), and no rulesets, secret-scanning setup, weekly reporting,
or dependabot seeding.
Fix
Deploys
.githubpack v3.1: inherited community-health files, reusable advisorygovernance (strict defaults to
false), evaluate-only rulesets, alert-only secretscanning setup, one-time CODEOWNERS/caller/Dependabot seeding, issue forms, and
weekly posture reporting. Collisions were merge-reconciled rather than overwritten:
the repo's resolved CODEOWNERS (
@Quantum-L9/platform), superset labels.yml,python-based sync-labels.sh, hardened preflight.sh, and PR-kit template body were
kept; the pack's advisory semantics, boundaries docs, and new scripts were adopted.
Risk
Blast radius: organization governance metadata; no application runtime.
Rollback: repoint
v1, disable evaluate rulesets, revert this PR.Evidence
Gates
scripts/verify-pack.shasserts strict=false, no setFailed, evaluate-only rulesets; it fails on the v2.0.1 treesemgrepclean, or findings triaged below — n/a: governance metadata only, no application code; SonarCloud + semgrep already run as checks on this PRissues:write; seed-governance:contents:read+ App token via protected environmentv1alias moves to v3.1.0 after merge; callers unchangedgovernance-report.ymlposts/updates an advisory posture issueReviewer focus
Verify real CODEOWNERS team slugs, advisory defaults, and CI ownership boundary.
Confirm push protection stays off and every ruleset JSON says
"enforcement": "evaluate".Changes by intent
Added
.github/workflows/governance-report.yml— weekly read-only posture report issuedocs/ADVISORY.md— advisory-first promotion ladderdocs/AGENT-DEPLOYMENT-RUNBOOK.md— phase-by-phase deployment playbookdocs/BOUNDARIES.md— CI ownership map; what this repo must never dodocs/DEPLOYMENT-EVIDENCE-TEMPLATE.md— evidence artifact templatedocs/DEPLOYMENT-PR.md— canonical deployment PR bodyrulesets/README.md— evaluate-only ruleset usagerulesets/org-advisory-hygiene.json— evaluate-mode branch hygiene rulesetrulesets/org-advisory-pr.json— evaluate-mode PR rulesetscripts/apply-rulesets.sh— applies rulesets, refuses non-evaluatescripts/enable-secret-scanning.sh— alerts on, push protection opt-in onlyscripts/verify-pack.sh— offline advisory/boundary assertionstemplates/dependabot.yml— seeded weekly dependency PRs, no auto-mergeModified
.github/workflows/governance-pr.yml— strict now defaults to false (advisory).github/workflows/governance-issue.yml— core.setFailed → core.warning (never fails).github/workflows/seed-governance.yml— also seeds dependabot.yml; boundary notes.github/ISSUE_TEMPLATE/1-bug.yml— v3.1 revision.github/ISSUE_TEMPLATE/2-feature.yml— v3.1 revision.github/ISSUE_TEMPLATE/3-task.yml— v3.1 revision.github/ISSUE_TEMPLATE/config.yml— adds CI-failure routing to l9-ci-debt-resolver.github/pull_request_template.md— canonical-path comment prependedCONTRIBUTING.md— v3.1 rewrite (boundaries, advisory model)README.md— v3.1 rewrite (layout, activation, boundaries)docs/AUDIT.md— v3.1 findingsdocs/DISTRIBUTION.md— v3.1 distribution modelFiles touched
25 files — 25 files changed, 1318 insertions(+), 233 deletions(-)
(root)/CONTRIBUTING.md— modifiedREADME.md— modified.github/pull_request_template.md— modified.github/ISSUE_TEMPLATE/1-bug.yml— modified2-feature.yml— modified3-task.yml— modifiedconfig.yml— modified.github/workflows/governance-issue.yml— modifiedgovernance-pr.yml— modifiedgovernance-report.yml— addedseed-governance.yml— modifieddocs/ADVISORY.md— addedAGENT-DEPLOYMENT-RUNBOOK.md— addedAUDIT.md— modifiedBOUNDARIES.md— addedDEPLOYMENT-EVIDENCE-TEMPLATE.md— addedDEPLOYMENT-PR.md— addedDISTRIBUTION.md— modifiedrulesets/README.md— addedorg-advisory-hygiene.json— addedorg-advisory-pr.json— addedscripts/apply-rulesets.sh— addedenable-secret-scanning.sh— addedverify-pack.sh— addedtemplates/dependabot.yml— added