Skip to content

Add missing SPDX license headers + hawkeye pre-commit hook - #51

Merged
rominf merged 1 commit into
mainfrom
fix-missing-license-headers
Jun 24, 2026
Merged

Add missing SPDX license headers + hawkeye pre-commit hook#51
rominf merged 1 commit into
mainfrom
fix-missing-license-headers

Conversation

@rominf

@rominf rominf commented Jun 24, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Adds the // Copyright Advanced Micro Devices, Inc. / SPDX-License-Identifier: Apache-2.0 header to six source files introduced without it (fix.rs, diagnose.rs, examine.rs, tool_exec.rs, dash_seam.rs, daemon_run.rs), fixing the failing hawkeye CI job.
  • Wires the hawkeye check into .pre-commit-config.yaml as a local hook so license headers are validated before every commit going forward.

Test plan

  • CI hawkeye job passes on this PR
  • hawkeye check --config licenserc.toml passes locally
  • prek run --all-files passes locally

🤖 Generated with Claude Code

Six new source files (fix.rs, diagnose.rs, examine.rs, tool_exec.rs,
dash_seam.rs, daemon_run.rs) were introduced without the required AMD
copyright / SPDX-License-Identifier header, breaking the hawkeye CI
check.  Add the headers and also wire hawkeye into .pre-commit-config.yaml
so the check runs locally before every commit.

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
@rominf
rominf added this pull request to the merge queue Jun 24, 2026
Merged via the queue into main with commit 9a91b7c Jun 24, 2026
7 checks passed
@rominf
rominf deleted the fix-missing-license-headers branch June 24, 2026 12:58
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