105 lines
5.8 KiB
Markdown
105 lines
5.8 KiB
Markdown
# Licences
|
|
|
|
This repository is not under a single licence. Three sets of terms apply to three kinds of thing,
|
|
and some third-party material inside it is under neither because it was never ours to license.
|
|
|
|
Read this file before reusing anything. `LICENSE` at the root is the Apache-2.0 text; `NOTICE`
|
|
carries the attributions those terms require.
|
|
|
|
Decided 2026-09-17 by the copyright holder (see NOTICE), who holds the copyright in the original work.
|
|
## 1. Code — Apache License 2.0
|
|
|
|
Copyright 2026 Alex Camilo. Full text in `LICENSE`, with the required attributions in `NOTICE`.
|
|
|
|
| Path | What |
|
|
| --- | --- |
|
|
| `packages/brain/`, `packages/feed/` | the reference neural core, contracts, codec, fake sim |
|
|
| `apps/stage/src/`, `apps/stage/tools/`, `apps/stage/tests/` | the broadcast page |
|
|
| `services/flysim/crates/` | the Rust service, emulator wrapper, reward adapters |
|
|
| `services/bridge/src/`, `services/bridge/tests/` | the Twitch bridge |
|
|
| `infra/` | provisioning scripts, systemd units, host tooling, test suites |
|
|
| `tools/` | the dataset builder and repository tooling |
|
|
| build and config files at any level | `package.json`, `Cargo.toml`, `tsconfig.json`, and friends |
|
|
|
|
You may use, modify and redistribute this code, commercially included, under the Apache-2.0 terms:
|
|
keep the licence and copyright notices, pass on the `NOTICE` content, and state the files you
|
|
changed. The licence includes an express patent grant from contributors and grants no trademark
|
|
rights.
|
|
|
|
Excluded from this grant, because they are third-party material — see section 4:
|
|
`services/flysim/vendor/binjgb/`, `apps/stage/public/fonts/*.woff2`, and the extracted symbol
|
|
names and addresses in `services/flysim/crates/flybrain-gb/src/pokemon_red/symbols.rs`.
|
|
|
|
## 2. Documentation, on-screen copy and stage assets — CC BY 4.0
|
|
|
|
Copyright 2026 Alex Camilo, licensed under
|
|
[Creative Commons Attribution 4.0 International](https://creativecommons.org/licenses/by/4.0/).
|
|
|
|
| Path | What |
|
|
| --- | --- |
|
|
| `docs/` | the architecture tour, the binding contracts, the model and learning pages, the design notes, the limitations list |
|
|
| `infra/docs/` | runbooks, provisioning records, measurements, spike write-ups |
|
|
| `README.md`, `CONTRIBUTING.md`, `ROM-POLICY.md`, this file | root documents |
|
|
| `apps/stage/mockups/` | the review PNGs |
|
|
| `apps/stage/public/fixtures/` | the four recorded `.flyfeed` feed fixtures |
|
|
| on-screen copy | the caption bands, chip labels, panel headings and ticker strings the broadcast page displays |
|
|
|
|
You may share and adapt these, commercially included, with attribution and an indication of any
|
|
changes.
|
|
|
|
Two things worth stating so nobody has to guess:
|
|
|
|
- **On-screen copy is text, but it lives inside source files.** The strings the page displays are
|
|
CC BY 4.0 as text; the `.tsx` and `.rs` files that contain them are Apache-2.0 as code. The same
|
|
copyright holder grants both, so a reuser may rely on whichever fits what they are taking.
|
|
- **The feed fixtures are synthetic.** All four `.flyfeed` recordings in
|
|
`apps/stage/public/fixtures/` are generated by the fake simulator in `packages/feed/src/fake/`,
|
|
not recorded from a run on the connectome. They carry no FlyWire-derived content and so are not
|
|
bound by section 3.
|
|
|
|
## 3. The connectome artifacts — CC BY-NC 4.0, unchanged
|
|
|
|
`data/fafb-v783/` — all twelve files.
|
|
|
|
These are **not ours to relicense.** They are artifacts derived from the FlyWire FAFB public Codex
|
|
v783 exports, used under
|
|
[CC BY-NC 4.0](https://creativecommons.org/licenses/by-nc/4.0/), and they keep those terms for
|
|
everyone downstream. Nothing in sections 1 or 2 loosens them.
|
|
|
|
**The authoritative statement of source, modifications and required citations is
|
|
[`data/fafb-v783/ATTRIBUTION.md`](data/fafb-v783/ATTRIBUTION.md).** It must travel with any copy of
|
|
these files. `NOTICE` reproduces it in summary; that file is the original.
|
|
|
|
What the licence asks of you if you redistribute them or an adaptation of them:
|
|
|
|
- keep the creator and attribution-party names, the copyright notice, the licence notice and the
|
|
disclaimer notice;
|
|
- link to the material and to the licence;
|
|
- say that the material is modified, and keep the indication of previous modifications — these
|
|
artifacts are already an adaptation, described in `ATTRIBUTION.md`;
|
|
- do not use them for commercial advantage or monetary compensation;
|
|
- do not add legal terms or technological measures that stop anyone else doing what the licence
|
|
permits;
|
|
- do not imply endorsement by FlyWire or the cited authors.
|
|
|
|
The data and anything derived from it stay under CC BY-NC 4.0.
|
|
|
|
One derived artifact inside the repository inherits these terms: `services/flysim/golden/real.flygold`
|
|
is a recorded run on this dataset. The other golden files are synthetic and are Apache-2.0 with the
|
|
code.
|
|
## 4. Third-party material, under its own terms
|
|
|
|
| What | Where | Terms |
|
|
| --- | --- | --- |
|
|
| binjgb emulator core, vendored unmodified at `c60e138` | `services/flysim/vendor/binjgb/` | MIT, © 2016 Ben Smith — `LICENSE`, `PROVENANCE.md` there |
|
|
| Press Start 2P, Pixelify Sans, Silkscreen, VT323 | `apps/stage/public/fonts/` | SIL OFL 1.1, each with its `OFL-*.txt` alongside |
|
|
| pret/pokered RAM symbol names and addresses at `0cd19d3` | `.../pokemon_red/symbols.rs` | **no upstream licence statement.** Names and numeric addresses only; no assembly source, game code or game asset |
|
|
| npm and cargo dependencies | not redistributed here | their own; `lightningcss` is MPL-2.0 and `caniuse-lite` is CC-BY-4.0, both build-time |
|
|
|
|
## 5. No game ROM
|
|
|
|
No Game Boy ROM, ROM fragment, save file, emulator save state or ripped game asset is in this
|
|
repository, and none is distributed with it. See [`ROM-POLICY.md`](ROM-POLICY.md). "Pokémon" and
|
|
"Super Mario Land" are trademarks of Nintendo, used here descriptively to say which adapter reads
|
|
which game; no affiliation or endorsement is claimed, and no licence granted here extends to any
|
|
third party's trademarks.
|