Repository navigation
Commit 03b730c
chore(license): add SPDX header enforcement hook + backfill post-sweep files (mrveiss#9840) (mrveiss#10127)
Adds tools/lint/check_spdx_header.py — an idempotent SPDX/Apache-2.0
license-header check (scan mode for CI, --fix mode for insertion). Wires
it as the insert-license pre-commit hook and adds a blocking enforcement
step to .github/workflows/enforce-precommit.yml so header coverage from
the mrveiss#9826/mrveiss#9830 relicense sweep can no longer drift.
Backfills the two-line header
Copyright 2025-2026 mrveiss
SPDX-License-Identifier: Apache-2.0
on all first-party .py/.ts/.tsx/.js/.mjs/.sh/.css files added since the
sweep (correct comment style per language, after any shebang/coding line;
legacy 'Copyright (c)' lines de-duped). Scope matches the original sweep:
vendored, generated, .vue, .github/workflows, autobot-infrastructure,
data/file_manager_root, *.min.{js,css} excluded.
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent cc92c4d commit 03b730c
369 files changed
Lines changed: 918 additions & 160 deletions
File tree
- .claude
- hooks
- skills/claims-audit
- verifiers
- .github/workflows
- .mcp/examples
- autobot-backend
- llc
- adapters
- tests
- tests
- migrations/versions
- autobot-browser-worker
- src
- automation
- autobot-frontend
- .storybook
- cypress
- e2e
- support
- eslint-tests
- public
- scripts
- canonical
- __tests__
- rules
- knowledge_base
- src
- components
- desktop
- knowledge
- manpage
- terminal
- workflow
- config
- types
- utils
- tests
- canvas
- e2e
- visual
- autobot-npu-worker
- core
- openvino
- resources/windows-npu-worker
- app
- utils
- gui
- controllers
- utils
- widgets
- windows
- tests
- tests
- integration
- workers
- autobot-plugins
- terminal
- src
- composables
- vnc
- src
- composables
- autobot-slm-agent
- autobot-slm-frontend
- .storybook
- scripts
- src
- types
- autobot-tts-worker
- tests
- debug
- docker
- backend
- certs
- slm
- docs/examples
- mcp_agent_workflows
- libs/autobot-sdk-ts
- tests
- pipeline-scripts
- plugins/core-plugins
- hello-plugin
- image-generation-plugin
- tools
- kb-event-plugin
- logger-plugin
- mcp-wrapper-plugin
- telemetry-prompt-middleware
- repo_tests
- lint
- canonical
- rules
- scripts
- tools
- codemods
- git-hooks
- lint
- canonical
- infra_rules
- rules
- schema-split
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
2 | 4 | | |
3 | 5 | | |
4 | 6 | | |
5 | 7 | | |
6 | 8 | | |
7 | | - | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
2 | 4 | | |
3 | 5 | | |
4 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
2 | 4 | | |
3 | 5 | | |
4 | 6 | | |
5 | 7 | | |
6 | 8 | | |
7 | | - | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
2 | 4 | | |
3 | 5 | | |
4 | 6 | | |
5 | 7 | | |
6 | 8 | | |
7 | | - | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
2 | 4 | | |
3 | 5 | | |
4 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
2 | 4 | | |
3 | 5 | | |
4 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
2 | 4 | | |
3 | 5 | | |
4 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
2 | 4 | | |
3 | 5 | | |
4 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
2 | 4 | | |
3 | 5 | | |
4 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
1 | 3 | | |
2 | 4 | | |
3 | 5 | | |
| |||
0 commit comments