Skip to content

feat: Replace the LICENSE file at the repo root with the COMPLETE, - #3

Merged
andrei-hasna merged 1 commit into
mainfrom
factory/task-912135f71cf6-93103b3a
Jul 29, 2026
Merged

feat: Replace the LICENSE file at the repo root with the COMPLETE,#3
andrei-hasna merged 1 commit into
mainfrom
factory/task-912135f71cf6-93103b3a

Conversation

@andrei-hasna

@andrei-hasna andrei-hasna commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Objective

Replace the LICENSE file at the repo root with the COMPLETE, canonical Apache License 2.0 text (the full ~202-line license from https://www.apache.org/licenses/LICENSE-2.0.txt, beginning "Apache License / Version 2.0, January 2004" and including all sections 1-9 and the APPENDIX).

WHY: this repo currently ships only the Apache BOILERPLATE NOTICE (the ~17-line header with the copyright line and the "Licensed under the Apache License... You may obtain a copy of the License at " paragraph). That snippet is intended for source-file headers, NOT as the LICENSE. Apache-2.0 section 4(a) requires redistributing a COPY of the License itself; a pointer to apache.org does not satisfy it. GitHub also fails to detect the license as a result.

REQUIREMENTS:

  • Preserve the existing copyright attribution. Put it in the APPENDIX section of the canonical text where it belongs (replace the bracketed [yyyy] [name of copyright owner] placeholders), OR keep it as a short trailing line after the license text if that is this repo README/NOTICE convention. Do not lose the year or the entity name that is already there.
  • Do NOT invent a different copyright holder or year. Use exactly what the current LICENSE file states.
  • Do not modify any other file. Do not touch source code, package.json, or README unless the README explicitly states a different license than Apache-2.0, in which case fix ONLY that statement so it matches.
  • If this repo already has the full license text (not a stub), make NO change and say so — do not manufacture a diff.

VERIFY before finishing: the new LICENSE contains the section headings "TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION" and "APPENDIX: How to apply the Apache License to your work", and is over 150 lines.

Verification

  • policy source: base cdc47de (immutable commit — agent-proof)
  • install: pass
  • typecheck: pass
  • lint: pass
  • build: pass
  • test: pass
  • doctor (ci): ok — 11 checks passed

Run run_5e9d4d02cc53 · backend cursor · task inline
🏭 Generated by @hasnaxyz/factory


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

Replace the LICENSE file at the repo root with the COMPLETE, canonical Apache License 2.0 text (the full ~202-line license from https://www.apache.org/licenses/LICENSE-2.0.txt, beginning "Apache License / Version 2.0, January 2004" and including all sections 1-9 and the APPENDIX).

WHY: this repo currently ships only the Apache BOILERPLATE NOTICE (the ~17-line header with the copyright line and the "Licensed under the Apache License... You may obtain a copy of the License at <url>" paragraph). That snippet is intended for source-file headers, NOT as the LICENSE. Apache-2.0 section 4(a) requires redistributing a COPY of the License itself; a pointer to apache.org does not satisfy it. GitHub also fails to detect the license as a result.

REQUIREMENTS:
- Preserve the existing copyright attribution. Put it in the APPENDIX section of the canonical text where it belongs (replace the bracketed [yyyy] [name of copyright owner] placeholders), OR keep it as a short trailing line after the license text if that is this repo README/NOTICE convention. Do not lose the year or the entity name that is already there.
- Do NOT invent a different copyright holder or year. Use exactly what the current LICENSE file states.
- Do not modify any other file. Do not touch source code, package.json, or README unless the README explicitly states a different license than Apache-2.0, in which case fix ONLY that statement so it matches.
- If this repo already has the full license text (not a stub), make NO change and say so — do not manufacture a diff.

VERIFY before finishing: the new LICENSE contains the section headings "TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION" and "APPENDIX: How to apply the Apache License to your work", and is over 150 lines.

X-Factory-Run: run_5e9d4d02cc53
@andrei-hasna
andrei-hasna merged commit 8f87ed8 into main Jul 29, 2026
2 checks passed
@andrei-hasna
andrei-hasna deleted the factory/task-912135f71cf6-93103b3a branch July 29, 2026 09:21
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