Skip to content

chore(governance): seed lint/test toolchain configs - #236

Merged
claude[bot] merged 1 commit into
mainfrom
chore/auto-seed-lint-toolchain
Aug 24, 2026
Merged

chore(governance): seed lint/test toolchain configs#236
claude[bot] merged 1 commit into
mainfrom
chore/auto-seed-lint-toolchain

Conversation

@claude

@claude claude Bot commented Aug 23, 2026

Copy link
Copy Markdown
Contributor

Problem

The org auto-seed PR #233 is blocked by the PR-size gate: 1213 reviewable added
lines against a 1000-line blocking limit (Enforce PR Policies ❌). The gate's
required action is to split.

Fix

This sibling PR carries the lint/test toolchain half of the seed, split out of
#233 (base: main, disjoint file set — no overlap with what remains there):

  • biome.json + .biomeignore — Biome as the single JS/TS/JSON formatter and
    linter owner (biome_default workspace class)
  • .vscode/extensions.json — recommends biome + ruff; unrecommends eslint +
    prettier so no second formatter owner appears (added with an explicit
    add -f, matching the seed's intent: repo .gitignore excludes .vscode/
    but the org pack ships this one file)
  • .github/workflows/l9-lint-test-node.yml — org Node lint/test workflow,
    hardened relative to the raw seed to clear the Sonar/Scorecard findings
    that were red on chore(governance): auto-seed org templates from Quantum-L9/.github #233:
    • installs require a committed lockfile (no floating npm install /
      pnpm install / yarn install fallback) — Sonar S8543, Scorecard
      Pinned-Dependencies
    • installs run with --ignore-scripts — Sonar S6505; a consumer whose
      dependencies genuinely need install-time build scripts relaxes this
      per-repo, deliberately
    • the tsc step uses npx --no-install so only the lockfile-resolved local
      compiler can run — Sonar S6505/S8543

Both Node jobs skip on this Python-only repo via the detect-node guard, so
this PR changes no CI behavior here today; the hardened defaults bind future
Node consumers.

Risk

Low — additive, four files, no runtime code. Rollback: revert this PR.

Relationship to #233

#233 keeps the governance, template, and community files (~838 added lines,
now under the gate) with its own fixes pushed on the same branch:
CODE_OF_CONDUCT whitespace (pre-commit), governance.yml top-level
permissions + SHA-pinned reusable-workflow callees (Scorecard, Sonar S7637;
tag SHA verified against the file's own preflight before pinning).

Neither PR is to be merged by the remediating agent; both are left green and
merge-ready for review.


Generated by Claude Code

The four lint/test toolchain files split out of the org auto-seed PR
(#233), which the PR-size gate blocked at 1213 reviewable added lines
(limit 1000). This sibling carries the toolchain half; #233 keeps the
governance, template, and community files.

Seeded here, content identical to the seed except the security hardening
already applied on the #233 branch:

- biome.json + .biomeignore — Biome as the single JS/TS/JSON formatter
  and linter owner (biome_default workspace class)
- .vscode/extensions.json — recommends biome + ruff; unrecommends
  eslint + prettier so no second formatter owner appears (tracked with an
  explicit add -f, matching the seed: the repo .gitignore excludes
  .vscode/ but the org pack intentionally ships this one file)
- .github/workflows/l9-lint-test-node.yml — org Node lint/test workflow,
  hardened: installs require a lockfile and run with --ignore-scripts,
  and the tsc step uses `npx --no-install` so only the lockfile-resolved
  compiler can run (Sonar S6505/S8543, Scorecard Pinned-Dependencies).
  Both Node jobs skip on this Python-only repo via the detect-node guard.
@claude
claude Bot requested a review from cryptoxdog as a code owner August 23, 2026 23:29
@github-actions

Copy link
Copy Markdown

⚠️ Large PR Warning
Reviewable lines changed: 410
Warning threshold: 300 lines
Consider splitting for easier review

📋 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 passes the blocking limit but is larger than recommended.

@github-actions

Copy link
Copy Markdown

L9 Audit Harness Report

  • Generated: 2026-08-23T23:29:51.355841+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 23
🔵 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.

@sonarqubecloud

Copy link
Copy Markdown

@claude
claude Bot merged commit 9936954 into main Aug 24, 2026
52 checks passed
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.

0 participants