Sync-in · Sovereign platform for file storage, sharing, synchronization, and collaboration.
TypeScript cloud-alternativecollaborationcollaborative-editingdropboxfile-serverfile-sharingfile-storagefile-syncfull-text-searchhomelabnextcloudon-premiseopen-sourceprivacy-firstprivate-cloudrealtimesecureself-hostedstorage-serverwebdav
chore(docs): add responsible AI usage policy
johaven87a92dd77dfd
diff --git a/AI_POLICY.md b/AI_POLICY.mdnew file mode 100644index 00000000..787bbf88--- /dev/null+++ b/AI_POLICY.md@@ -0,0 +1,35 @@+# AI Usage Policy++## Responsible use of AI++Sync-in is a human-led open-source project that has been designed, developed, and maintained over several years. Its architecture, roadmap, and final+technical decisions remain under the control of its maintainers.++We use AI in a controlled manner to support specific development tasks. It may help us understand and explore the codebase, draft tests, review+changes, investigate issues, improve documentation, and assist with specific implementation tasks.++AI-generated output is not treated as authoritative and is never accepted blindly. Every accepted change must be understood, reviewed, adapted when+necessary, and held to the same quality, testing, security, privacy, and licensing standards as any other contribution.++Because Sync-in handles user files, including those of its own maintainers, we take a cautious approach to AI-assisted code generation. Maintaining+control over the codebase and limiting technical debt take precedence over development speed. AI may assist with implementation, but maintainers+retain full responsibility for the code and its long-term evolution.++Secrets, credentials, personal data, private vulnerability reports, and other confidential information must never be shared with external AI services.++## AI-assisted contributions++AI-assisted code generation is permitted, but it must remain strictly supervised and must not replace contributors' understanding or judgment.++When submitting an AI-assisted contribution, contributors must:++- Understand and be able to explain every submitted change.+- Review and, when necessary, adapt generated output before submission.+- Run the relevant tests and checks and verify the expected behavior.+- Follow the project's existing architecture, code quality, security, privacy, and licensing requirements.+- Ensure that they have the right to use the AI tool and submit its output.+- Identify any third-party material and its applicable license, as required by the [Contributor License Agreement](CLA.md).++AI-assisted reviews may supplement, but never replace, human review. Suggestions or findings produced by an AI tool must be validated before they are+acted upon. Maintainers may ask contributors to explain their changes, provide additional verification, or revise an AI-assisted contribution that+does not meet the project's standards.diff --git a/CONTRIBUTING.md b/CONTRIBUTING.mdindex d387eeea..5d823d50 100644--- a/CONTRIBUTING.md+++ b/CONTRIBUTING.md@@ -28,6 +28,7 @@ All contributors must follow our [Code of Conduct](CODE_OF_CONDUCT.md) to ensure- All pull requests must target the main branch, following the GitHub Flow model with continuous deployment.- Make sure your work fits with the existing architecture, code style, and documentation standards.- All contributions must comply with the [CLA](CLA.md).+- AI-assisted contributions must comply with the [AI Usage Policy](AI_POLICY.md).- Contributions are made under the [AGPL-3.0 license](LICENSE), the same license used by the project.#### Submission Guidelines