docs(repo): clarify licensing && refine docs#107
Conversation
|
Caution Review failedPull request was closed or merged during review 📝 WalkthroughWalkthroughThis PR adds comprehensive licensing documentation, formal specifications for a filter-chain architecture redesign, and refactors internal maintainer documentation. It introduces MIT licensing, third-party compliance records, detailed C API specifications with versioning and error handling contracts, ownership boundaries, and reframes internal guides from API-focused to governance-focused content. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related PRs
Suggested labels
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
Review Summary by QodoAdd licensing documentation and refactor filter chain maintainer guides
WalkthroughsDescription• Add MIT LICENSE file establishing project's primary license terms • Create THIRD_PART_NOTICES.md documenting bundled third-party components • Add README license section linking first-party and third-party terms • Refactor filter chain docs from public C API spec to internal maintainer guides Diagramflowchart LR
A["Project Root"] -->|"adds"| B["LICENSE<br/>MIT Terms"]
A -->|"adds"| C["THIRD_PART_NOTICES.md<br/>Third-party Components"]
A -->|"updates"| D["README.md<br/>License Section"]
E["src/render/chain/"] -->|"refactors"| F["README.md<br/>Maintainer Guide"]
E -->|"refactors"| G["docs/integration_guide.md<br/>Workflow Guide"]
E -->|"refactors"| H["docs/spec.md<br/>Maintainer Contracts"]
File Changes1. LICENSE
|
Code Review by Qodo
1. Slangp license unclear
|
- Add an MIT LICENSE file as the project's primary license. - Add THIRD_PART_NOTICES.md for bundled third-party code and assets. - Add a README license section linking first-party and third-party terms. - Call out key bundled components with their applicable license texts. - Archive all completed openspec proposals
0221b4e to
8fa5280
Compare
| - `shaders/retroarch/crt/crt-lottes-fast.slangp` | ||
| - Component: Preset metadata for the curated shader above. | ||
| - License: Distributed with and attributed to upstream `libretro/slang-shaders` content. | ||
|
|
There was a problem hiding this comment.
1. Slangp license unclear 🐞 Bug ✓ Correctness
THIRD_PART_NOTICES.md lists shaders/retroarch/crt/crt-lottes-fast.slangp as third-party but does not specify an actual license (identifier/text), and the preset file itself contains no license/attribution header. This creates ambiguity for redistribution/compliance and undermines the PR’s goal of clarifying licensing.
Agent Prompt
## Issue description
`THIRD_PART_NOTICES.md` lists `shaders/retroarch/crt/crt-lottes-fast.slangp` but does not provide an actual license identifier/text, and the preset file contains no embedded license/attribution. This leaves redistribution terms unclear.
## Issue Context
Other third-party entries in `THIRD_PART_NOTICES.md` name specific licenses (OFL-1.1, Unlicense, MIT-style, ISC-style). This one does not, making it ambiguous for compliance/audits.
## Fix Focus Areas
- THIRD_PART_NOTICES.md[18-21]
- shaders/retroarch/crt/crt-lottes-fast.slangp[1-5]
## Suggested approaches
1. If `crt-lottes-fast.slangp` is third-party: update the THIRD_PART_NOTICES entry to a specific license (e.g., SPDX ID) and ensure the corresponding license text is present in-repo (either embedded in the file, or included as a separate license file referenced from the notice).
2. If it is first-party (authored in this repo): remove it from THIRD_PART_NOTICES and optionally add a short comment header noting it is MIT-licensed under the project LICENSE.
ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools
Summary by CodeRabbit
Release Notes
Documentation
Chores