Skip to content

chore(governance): auto-seed org templates from Quantum-L9/.github - #222

Closed
cryptoxdog wants to merge 1 commit into
mainfrom
chore/auto-seed-governance
Closed

chore(governance): auto-seed org templates from Quantum-L9/.github#222
cryptoxdog wants to merge 1 commit into
mainfrom
chore/auto-seed-governance

Conversation

@cryptoxdog

Copy link
Copy Markdown
Collaborator

Automatically seeds org template files from Quantum-L9/.github/templates/ plus the l9-ci-pack/ Core hub.

Files in this PR

  • .github/workflows/governance.yml
  • .github/labels.yml
  • CODE_OF_CONDUCT.md
  • CONTRIBUTING.md
  • SUPPORT.md
  • .github/FUNDING.yml
  • .github/ISSUE_TEMPLATE/1-bug.yml
  • .github/ISSUE_TEMPLATE/2-feature.yml
  • .github/ISSUE_TEMPLATE/3-task.yml
  • .github/ISSUE_TEMPLATE/4-incident.yml
  • .github/ISSUE_TEMPLATE/bug_report.yml
  • .github/ISSUE_TEMPLATE/ci-failure.yml
  • .github/ISSUE_TEMPLATE/config.yml
  • .github/ISSUE_TEMPLATE/feature_request.yml
  • .github/ISSUE_TEMPLATE/gov-violation.yml
  • .github/pull_request_template.md
  • .github/workflows/on-org-update.yml
  • .github/workflows/l9-lint-test-node.yml
  • biome.json
  • .biomeignore
  • .vscode/extensions.json

Existing files were left untouched (missing-only seed), except a stock ESLint l9-lint-test-node.yml which is replaced with the Biome SDK caller.
Governance caller is advisory (strict defaults false).
Core pack callers are distributed here; l9-ci-core executes CI.

Opened automatically by Quantum-L9/.github auto-seed.

@github-actions

Copy link
Copy Markdown

PR Too Large
Reviewable additions: 1347
Limit: 1000 added lines
(deletions: 0; total churn 1347 is warn-only)
Action Required: Break into smaller, atomic PRs

📋 Best Practices for Large Changes

  1. Refactoring + Features: Separate into 2 PRs
  2. Multiple Features: One PR per feature
  3. Database + Code: Separate migration from logic
  4. Generated Code: Exclude it from reviewable-size accounting

🚫 This PR is blocked until reviewable size limits are met.

@github-actions

github-actions Bot commented Aug 21, 2026

Copy link
Copy Markdown

L9 Audit Harness Report

  • Generated: 2026-08-22T19:59:53.041518+00:00
  • Repo root: /home/runner/work/Cognitive.Engine.Graphs/Cognitive.Engine.Graphs
  • Overall result: ✅ PASSED
  • Exit code: 0

Step Results

Step Status Exit Code Notes
Architecture Audit ✅ Passed 0
Spec Coverage ✅ Passed 0
Contract Wiring ✅ Passed 0

Architecture Audit Findings

Severity Count
🔴 CRITICAL 0
🟠 HIGH 0
🟡 MEDIUM 25
🔵 LOW 0

See artifacts/audit_report.md for full details.

Spec Coverage

  • ✅ Implemented: 37
  • ⚠️ Partial: 9
  • ❌ Missing: 0
  • Total features: 46
Category Implemented Partial Missing Total
gates 10 0 0 10
scoring 7 0 0 7
v1.1_node 2 0 0 2
v1.1_edge 2 0 0 2
v1.1_action 0 2 0 2
v1.1_scoring 1 1 0 2
action_handler 0 6 0 6
gds_algorithm 5 0 0 5
research_pattern 10 0 0 10

See artifacts/coverage_report.md for full details.

Next Steps

All checks passed. Safe to merge.

@@ -0,0 +1,33 @@
# Managed by Quantum-L9/.github. Pinned to a tag so main can move safely.
workflow_dispatch:

permissions:
contents: write
run: |
set -euo pipefail
case "${PACKAGE_MANAGER}" in
npm) if [ -f package-lock.json ]; then npm ci; else npm install; fi ;;
run: |
set -euo pipefail
case "${PACKAGE_MANAGER}" in
npm) if [ -f package-lock.json ]; then npm ci; else npm install; fi ;;

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: bd461ddab4

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
with:
node-version: ${{ env.NODE_VERSION }}
cache: ${{ env.PACKAGE_MANAGER }}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Remove the Node workflow from this Python repository

On every pull request and push to main, both jobs invoke setup-node with npm caching, but a repo-wide search finds no package-lock.json, npm-shrinkwrap.json, yarn.lock, or even package.json. The pinned action's caching documentation states that it searches the repository root for a dependency lockfile whose hash forms the cache key; without one, setup fails before the later TypeScript/test guards can skip their work. This therefore adds failing CI jobs to this Python-only project; omit the Node preset or disable caching unless an applicable lockfile exists.

AGENTS.md reference: AGENTS.md:L83-L88

Useful? React with 👍 / 👎.

Comment on lines +29 to +33
if [ -f scripts/sync_ci_from_pack.py ]; then
python scripts/sync_ci_from_pack.py
else
echo "::notice::No sync_ci_from_pack.py found — skipping"
exit 0

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Provide the sync implementation before enabling dispatches

For every org_template_updated dispatch in the reviewed tree, this condition is false: repo-wide searches of both this commit and its parent find no scripts/sync_ci_from_pack.py, and no other step fetches or synchronizes the org templates. The workflow consequently exits successfully without changing anything or opening the advertised sync PR, making the automatic-update feature a permanent no-op until the script or an equivalent shared action is included.

Useful? React with 👍 / 👎.

Comment thread CONTRIBUTING.md
Comment on lines +67 to +70
`Quantum-L9/.github` validates itself on every PR/push to `main` — note that
none of the 12 files under `workflow-templates/` ever run as CI *in this
repo*; they only appear as starter-workflow choices in other repos' Actions
tab. What actually executes here:

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Replace the copied CI section with this repository's checks

This section describes the current repository as Quantum-L9/.github and directs contributors to workflow-templates/, validate-starters.sh, actionlint.yml, and l9-ci-pack/; repo-wide inspection confirms those paths do not exist here. Cognitive Engine Graphs instead uses Python engine gates such as ruff, mypy, pytest, and the contract scanner, so this documentation gives contributors incorrect validation and merge criteria and should be replaced with the actual CEG workflow.

AGENTS.md reference: AGENTS.md:L16-L19

Useful? React with 👍 / 👎.

@cryptoxdog
cryptoxdog force-pushed the chore/auto-seed-governance branch 26 times, most recently from d5b339f to 0604fc6 Compare August 22, 2026 06:25
@cryptoxdog
cryptoxdog force-pushed the chore/auto-seed-governance branch 24 times, most recently from daaac9e to a715564 Compare August 22, 2026 19:18
@cryptoxdog
cryptoxdog force-pushed the chore/auto-seed-governance branch from a715564 to 27bbb5d Compare August 22, 2026 19:59
@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
C Security Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

@cryptoxdog cryptoxdog closed this Aug 22, 2026
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