Engram Public Use License 1.0

Copyright (c) 2026 raya and Engram contributors.
All rights reserved except for the permissions written below.

This licence applies to the original Engram code, documentation and patches in
this repository (the "Software"). Third-party code, libraries, assets, names
and marks keep their own terms.

1. What you may do

You may:

- read and study the source;
- use the Software privately or publicly, including in production and as a
  publicly reachable service;
- copy, fork and modify the Software for any purpose allowed by this licence;
- redistribute original or modified source and binaries free of charge; and
- submit changes back to the official Engram project.

These permissions are worldwide, royalty-free and non-exclusive. Every person
who receives a copy receives these permissions directly under this licence.

2. Conditions

Every original or modified copy, fork and build must keep this licence and
every copyright, attribution and provenance notice.

Every public fork, build, package or hosted service must:

- clearly state that it is based on Engram and link to
  `https://github.com/raya-ac/engram` in its repository, documentation and any
  public-facing website or package page;
- describe any material modifications and make clear that the modified version
  is not an official Engram release.

If you redistribute original or modified Engram source or binaries, you must
do so under this same licence.

You may use a different name for a fork, but you may not claim that Engram's
code or history is your own work.

3. No sale

Unless raya gives you prior written permission, you may not:

- sell, rent, sublicense or charge for a copy of the Software;
- charge for access to a server, service or feature powered by the Software;
- include the Software in a paid product, paid hosting plan or subscription;
- remove or hide the required Engram credit; or
- present a fork, build or service as official Engram or as entirely your own
  original work.

Free public servers and services are allowed. Optional donations are allowed
when they do not buy access, features, privileges, copies or support.

This licence does not grant permission to use Engram, raya, or related names,
logos or branding in a way that claims affiliation, endorsement or official
status.

Any written exception can be limited to named people, systems, purposes,
versions and dates. Anything outside this licence or that written exception
remains prohibited.

4. Contributions

If you intentionally submit a contribution to the official Engram project,
you grant raya and the Engram project a perpetual, worldwide, non-exclusive,
royalty-free right to use, modify, distribute and relicense that contribution
as part of Engram. You confirm that you have the right to grant those terms.

5. Termination

Your rights under this licence end automatically if you break its terms. You
must then stop using the Software and delete every copy you control, except
where applicable law requires retention. Rights may be restored only by prior
written permission from raya.

6. Older releases

This licence applies only to versions of Engram distributed with it. Copies
that were already distributed under the MIT License remain available under
the MIT terms attached to those copies; this licence does not and cannot
withdraw rights that were already granted.

7. No warranty

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
