Skip to content

docs: verbatim Apache License 2.0 text; agents never author commits - #57

Merged
mevichitra merged 3 commits into
mainfrom
claude/apache-license-text
Oct 17, 2026
Merged

mevichitra merged 3 commits into
mainfrom
claude/apache-license-text

Conversation

@mevichitra

@mevichitra mevichitra commented Oct 17, 2026 •

Copy link
Copy Markdown
Owner

Summary

Two repository-hygiene changes:

  1. Licence detection. GitHub showed this repository's licence as "Other" (NOASSERTION) instead of Apache-2.0. LICENSE and editors/vscode/LICENSE were a reworded copy of the Apache 2.0 text, and GitHub's detector (licensee) matched them at only 87.65%. Both files now carry the official text from https://www.apache.org/licenses/LICENSE-2.0.txt, with the existing copyright line (Copyright 2024 CodeGuard Contributors) kept in the appendix. The terms don't change; pyproject.toml and every SPDX header already said Apache-2.0.
  2. Agent instructions. New AGENTS.md (read by Codex and other agents), imported by CLAUDE.md (read by Claude Code). Commits are authored, committed and signed off by the maintainer only, never under an agent's or bot's name, and never with agent Co-authored-by: trailers.

Type of change

  • Bug fix (false positive / false negative correction)
  • New rule (attach rule ID from the tracker)
  • Engine / runner change
  • CLI change
  • Docs only
  • Tooling / CI

Checklist

  • git commit -s — DCO sign-off on all commits
  • pytest passes locally
  • ruff check src/ tests/ clean (no Python changed)
  • mypy src/ clean (no Python changed)
  • News fragment added in changelog.d/ (apache-license-text.doc.md) and an entry in editors/vscode/CHANGELOG.md

Test evidence

$ licensee detect .            # before
License:        NOASSERTION
  Closest non-matching licenses:
    Apache-2.0 similarity:    87.65%

$ licensee detect --no-readme .   # after
License:        Apache-2.0
LICENSE:
  Confidence:    100.00%
  Matcher:       Licensee::Matchers::Exact

$ licensee detect editors/vscode
License:        Apache-2.0

$ pytest -q
652 passed

Notes for reviewer

After merging, GitHub's sidebar should show "Apache-2.0 license". That matters for directories and programs that check for an OSI licence.

LICENSE and editors/vscode/LICENSE were a reworded copy of the
Apache 2.0 text, so GitHub's licence detection (licensee) matched
them at only 87.65% and reported the repository as NOASSERTION
("Other"). Replace both with the text from
https://www.apache.org/licenses/LICENSE-2.0.txt, keeping the
existing copyright line in the appendix. licensee now detects
Apache-2.0 at 100% (exact match).

Signed-off-by: Vichitra Attri <mevichitra@gmail.com>
Signed-off-by: Vichitra Attri <mevichitra@gmail.com>
…only

Signed-off-by: Vichitra Attri <mevichitra@gmail.com>
@mevichitra
mevichitra force-pushed the claude/apache-license-text branch from a9c4d6f to e2dfaf7 Compare October 17, 2026 05:12
@mevichitra mevichitra changed the title docs: use the verbatim Apache License 2.0 text docs: verbatim Apache License 2.0 text; agents never author commits Oct 17, 2026
@mevichitra
mevichitra merged commit 82ce105 into main Oct 17, 2026
18 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.

1 participant