Skip to content

Clear deferred backlog: more licenses, script tests, CI hardening - #2

Merged
the-jay-schwartz merged 3 commits into
mainfrom
clear-deferred-backlog
Aug 4, 2026
Merged

the-jay-schwartz merged 3 commits into
mainfrom
clear-deferred-backlog

Conversation

@the-jay-schwartz

Copy link
Copy Markdown
Owner

Finishes the deferred backlog:

  • feat: offer Apache-2.0, BSD-3-Clause, ISC licenses (LICENSE.jinja per-license text; pyproject SPDX + README label already generalize; CI asserts each variant)
  • test: unit-test the enforcement scripts (check_commit_msg / check_hotspot_rigor / check_type_complexity) via a script-tests job
  • ci: install gitleaks in the guardrails-bite job so its scan runs; add a ci-passed aggregate check so branch protection can require one stable job

Per-diff hotspot gate was closed as decided-advisory. Reviewed; Apache header indentation + a dead license=none assertion fixed pre-push.

Expand the license choice beyond MIT/none. LICENSE.jinja gains a branch per
license (Apache-2.0 text is the verbatim canonical version). pyproject's SPDX
field and the README label already generalize, so no change there. CI renders
each license variant and asserts the LICENSE, pyproject SPDX, and README label.
Add tests for check_commit_msg (accept/reject/skip rules), check_hotspot_rigor
(score threshold, __init__ skip, SyntaxError guard, docstring/test detection),
and check_type_complexity (rendered from the jinja, depth/length limits). Their
absence is why those scripts shipped with bugs. Run them in a script-tests CI job.
… check

Install a pinned gitleaks in the guardrails-bite job so the bite script runs
its secret-scan assertion instead of skipping it. Add a ci-passed job that
needs every other job; branch protection can require just this one check, so
protection no longer breaks when the matrix changes.
@the-jay-schwartz
the-jay-schwartz merged commit a024b2d into main Aug 4, 2026
11 checks passed
@the-jay-schwartz
the-jay-schwartz deleted the clear-deferred-backlog branch August 4, 2026 16:52
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.

1 participant