# NOTICE — Chemenu

Chemenu is dual-licensed. Which licence applies to a file is decided by which
half of the repository it belongs to, and that split is not a judgement call:
it is the file plan that `tools/wikitool dist export` already computes.

| Half | Licence | File |
|------|---------|------|
| The stack — `tools/`, `types/` | GNU AGPL-3.0-or-later | [LICENSE](LICENSE) |
| The content — `kb/`, `raw/`, `instructions/`, the `CONTRACT.md` layer, and the prose documents at the repository root | CC-BY-4.0 | [LICENSE-CONTENT](LICENSE-CONTENT) |

`LICENSE` carries the AGPL because that is the licence a forge should report
for this repository: the substantial engineering artefact here is the compiler,
and a reader who under-notices a copyleft obligation is harmed in a way that a
reader who over-notices one is not.

Why the boundary is defined by `dist export` rather than restated here: a second
list of paths would be a second copy of a rule, and it would be the copy that
drifts. See `AGENTS.md`, invariant 8, and
`tools/chemenu/commands/dist_cmd.py`, which holds the authoritative plan
(`ROOT_FILES`, `TOOLS_EXCLUDE_DIRS`, `INSTRUCTIONS_EXCLUDE_DIRS`,
`CONTRACT_ONLY_STAGES`, `SINGLE_FILES`).

The AGPL's network clause is deliberate. This stack is heading toward being
reachable as a service rather than only as a checkout, so the obligation to
publish modifications should not depend on whether anyone ships a tarball.

## Third-party components

### Commonplace

The `commonplace/` submodule vendors <https://github.com/zby/commonplace> at
`v0.1.4` (commit `ec2b518a6831b5df4694b065a3fb0cbbee2d1086`), by
Zbigniew Lukasiak.

- Content: Creative Commons Attribution 4.0 International (CC-BY-4.0)
- Code: MIT License, Copyright (c) 2026 Zbigniew Lukasiak

`instructions/dev/commonplace-kb.md` builds on that work as a vendored
knowledge base on agent context engineering, memory and deploy-time learning.
CC-BY-4.0 requires attribution, which this section provides; the submodule
keeps its own `LICENSE` and `LICENSE-CODE` files unmodified.

The submodule is development-only. `tools/wikitool dist export` excludes
`instructions/dev/` wholesale, so no distributed instance carries it.
