SCOPE OF THIS LICENCE
=====================

This repository is private and mixed-licence. The MIT terms below are a
*declaration of what applies when a tool is published*: they publish nothing by
themselves, and as of 2026-07-30 nothing has been distributed.

The MIT licence below applies to the tool software, and only to it:

    libs/                      the tool engines (pure Rust cores)
    cli/                       the native command-line tools
    site_frontend/             the browser implementation of the tools
    static/pahmoi-planner3d.js the Display Planner's 3-D renderer

and to the compiled artifacts those produce and a visitor downloads to run a
tool: the WebAssembly bundle and its loader.

Everything else is **all rights reserved**: the grant is exactly the four
paths above and the artifacts they compile to, and no licence of any kind is
granted to anything outside it.

The name "pah.moi", the favicon and the site's visual identity are **not**
licensed. MIT grants no trademark rights, and none are granted separately.

One note on the boundary, so it is not mistaken for an oversight:
`libs/tools_core` and `site_frontend` also contain the cores for the toys and
the `/learn/` visualizers, physically alongside the tool cores. The MIT grant
reaches them, because a crate cannot be half-licensed. Narrowing that would
mean moving code into separate crates, not rewording this file.


MIT License
===========

Copyright (c) 2026 Pierce Hanlon

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

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
AUTHORS OR 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.
