Skip to content

Apply Apache License 2.0 to TensorPoW - #9

Merged
aravhawk merged 2 commits into
mainfrom
cursor/apache-2-license-6280
Nov 8, 2026
Merged

aravhawk merged 2 commits into
mainfrom
cursor/apache-2-license-6280

Conversation

@aravhawk

@aravhawk aravhawk commented Nov 8, 2026 •

Copy link
Copy Markdown
Owner

Apply Apache License 2.0 to owner-controlled TensorPoW additions, while preserving historic MIT copyright and permission notices. Repository owner Arav Jain approved Apache 2.0 for owner-controlled material. This PR does not merge.

Changes

  • LICENSE: authentic Apache License Version 2.0 text from https://www.apache.org/licenses/LICENSE-2.0.txt
  • NOTICE: licensing scope, both historic MIT copyright lines, and full historic MIT permission notices
  • LICENSES/MIT-Tensorcoin-2024.txt: byte-identical original MIT LICENSE from commit c077ed95 (Copyright (c) 2024 Tensorcoin)
  • LICENSES/MIT-Arav-Jain-2026.txt: byte-identical MIT LICENSE from commit a3fe2c7 (Copyright (c) 2026 Arav Jain)
  • pyproject.toml: SPDX Apache-2.0 AND MIT
  • README.md: License section limited to owner-controlled Apache 2.0 plus pointer to historic MIT notices

No source-header churn, code changes, or dependency updates.

Provenance correction

The first LICENSE in this repository (2024-10-31, commit c077ed95) was MIT with Copyright (c) 2024 Tensorcoin. On 2026-03-09 (commit a3fe2c7) only that copyright line was rewritten to Copyright (c) 2026 Arav Jain. This repository contains no assignment or other instrument supporting that rewrite.

An unresolvable GitHub organization is not evidence that Tensorcoin is not a rights holder. The 2024 Tensorcoin MIT copyright and permission notice is therefore retained, not dropped.

The current src/ tree was added on 2026-05-28 (commit 073aec32), which deleted prototype files bruteforce.py, hash.py, and torch_ext.py. Git history does not resolve whether the current reference implementation is a new work or a derivative of that MIT-licensed prototype. Until that is resolved:

  • Apache 2.0 applies to owner-controlled additions and modifications only
  • Underlying MIT rights in historic material are retained
  • This PR does not claim the tree is exclusively owner-controlled or exclusively Apache-2.0

Do not merge from this agent; leaving the PR open for review.

Open in Web Open in Cursor 

Summary by CodeRabbit

  • Documentation
    • Updated the project’s licensing information to Apache License 2.0.
    • Added copyright details and a license notice.

Replace the MIT LICENSE with the authentic Apache License Version 2.0
text, record copyright in NOTICE, and align pyproject.toml and README.

Co-authored-by: Arav Jain <aravhawk@gmail.com>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 8, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-08T08:17:03.049816Z 682de41 New commits
🔒 Security Review ✅ Completed 2026-11-08T08:14:05.858332Z 5d58371 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@coderabbitai

coderabbitai Bot commented Nov 8, 2026 •

Copy link
Copy Markdown

Explain Change →

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: d6ee8d2d-4665-4559-a39e-b5b51e8159f2

No actionable comments were generated in the recent review.

Walkthrough

The project replaces the MIT license with Apache License 2.0. The package metadata, NOTICE, and README now identify the new license and associated copyright information.

Changes: Project license update

Layer / File(s) Summary
License terms and project references
LICENSE, pyproject.toml, NOTICE, README.md
The repository replaces the MIT license text with Apache License 2.0. The package metadata changes to Apache-2.0, and the NOTICE and README add license and copyright information.

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Other

Merge Risk: Minimal · previous review 5d583

The licensing references are consistent, with no reported code or dependency changes. No actionable merge-blocking risk is established by the supplied evidence.

Pre-merge checks: Passed 5

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title "Apply Apache License 2.0 to TensorPoW" matches the main change. The PR replaces the MIT LICENSE text with Apache License 2.0, adds a NOTICE file with copyright for Arav Jain (2024–2026), up…
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title "Apply Apache License 2.0 to TensorPoW" matches the main change. The PR replaces the MIT LICENSE text with Apache License 2.0, adds a NOTICE file with copyright for Arav Jain (2024–2026), updates the SPDX license in pyproject.toml from MIT to Apache-2.0, and adds a License section to README.md. The title is short, specific, and states the primary change.

Full details: Docstring Coverage

Explanation

No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 0 files. (4 skipped: 4 unsupported.)

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Tip

🎯 Customize your risk assessments

Guide how CodeRabbit assesses merge risk and security architecture risk. Highlight sensitive changes and explain your security boundaries using Merge Risk Instructions and Security Risk Instructions in your review settings. Security architecture risk assessments require the Advanced plan or above.

✅ Automatic approvals, with your rules

Let CodeRabbit approve pull requests once required threads are resolved, pre-merge checks pass, and your risk limits are met. Enable Automatic approvals in review settings, with overrides for teams or file paths.

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

A rabbit reads the license page,
And hops through terms from age to age.
The notice names the project bright,
The README points to terms outright.
New license lines sit neat and clear,
The rabbit thumps a joyful cheer.

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 7770b4ac-33ef-4e21-aee3-0924105b58d2
Commits

Reviewing files that changed from the base of the PR and between 2f2c09c and 5d58371.

Files selected for processing: 4

  • LICENSE
  • NOTICE
  • README.md
  • pyproject.toml

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

Keep the authentic 2024 Tensorcoin MIT copyright and permission notice,
retain the 2026 Arav Jain MIT notice, and limit Apache 2.0 to
owner-controlled additions. Do not treat the 2026 copyright-line rewrite
as proof that the earlier notice no longer applies.

Co-authored-by: Arav Jain <aravhawk@gmail.com>
@aravhawk
aravhawk merged commit 7ef3910 into main Nov 8, 2026
11 checks passed
@aravhawk
aravhawk deleted the cursor/apache-2-license-6280 branch November 8, 2026 08:24
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