# Q1Z3 local client source

The Q1Z3 local client is open source under the MIT License. You may inspect,
use, modify and redistribute the released client, including commercially,
provided you retain its copyright and license notice. The full terms are in
`LICENSE` at the root of the source archive and `gateway/LICENSE`.

## What is licensed

This grant covers the exact client source files in the public
`q1z3-local-gateway` source archive: its Q1Z3 `gateway/` modules and local SQL
migrations, the `worker/` modules required by the local client, its `public/`
interface and generated static assets, generated package metadata,
documentation and notices. The archive's `gateway-manifest.json` lists each
payload file and its SHA-256 checksum. The published manifest additionally
records the complete archive checksum. The manifest itself is metadata, so
its own checksum is not recursively included in its file list.

The separately published Q1Z3 Terminal installer, `/install.sh`, is also
covered by this MIT grant. It is inspectable before execution. It is not
embedded in the client archive or its static assets: the installer downloads
that archive and checks the published SHA-256 checksums.

The included `packages/context-engine/` is independently MIT licensed. Its
original license remains in `packages/context-engine/LICENSE`. Retain that
notice when redistributing the package. The source archive's modified
`gateway/extraction.mjs` supports plain text and manual notes; it omits the
XVoer native extraction helpers.

This is a scoped grant for the released local-client copies, not a new license
for the entire XVoer repository or the hosted Q1Z3 service. The explicit
allowlist in `scripts/local-gateway-release.mjs` defines the release boundary.
Files outside that boundary retain their existing licensing.

## What is not included

- Your context, original documents, screenshots, private conversations,
  permissions, control files, provider tokens and local profiles.
- Environment files, hosting configuration, dependency directories, tests
  and unrelated repository source.
- The original XVoer Swift/Python PDF, image and Office extraction helpers,
  helper binaries and signed native applications.
- Node.js, Ollama and model weights, which have their own licenses and terms.

## Runtime and privacy

The client runs with Node.js 24 or newer and has no production npm
dependencies. It starts a foreground HTTP server on `127.0.0.1` only. Keep
Terminal open and the computer awake while using it; Control-C stops it.
This source release is unsigned and does not create an automatic background
service. The installer may download a compatible user-local Node runtime;
it does not install a model automatically.

Originals, extracted text, conversations and permissions remain in your
private local profile. The Q1Z3 service receives identity/routing metadata,
signed encrypted agent envelopes and only the public capability manifest
you explicitly review and publish. Adding a source does not authorize
disclosure. Only a reviewed reply or a current owner-approved rule permits
sharing its bounded text with the intended agent. Organization membership
does not give an administrator or colleague access to your local context.

Private AI drafting and automatic rehearsal need a separately installed
local Ollama model. Plain text, manual notes and owner-reviewed replies work
without a model. PDF, image and Office originals remain locally inspectable;
this release reports native extraction unavailable rather than sending them
to a hosted extractor.

The bundled `packages/identity-engine` retains its own MIT license in
`packages/identity-engine/LICENSE`. Its private version state remains in the
existing owner profile and is never part of this source archive.
