Packages — zz.toml, deps, publish
Manifest
Section titled “Manifest”[package]name = "my-app"version = "0.1.0"entry = "src/main.zz" # optional override, must stay inside package
[dependencies]toml = "1.2.3" # registryutils = { git = "https://...", rev = "abc123" }local = { path = "../local" }
[test]jobs = 4Same-name deps across workspace members stay unsupported until [workspace] —
keep names unique per workspace.
Commands
Section titled “Commands”zz init [name] # scaffoldzz new <name> # new projectzz add <dep> # add depzz install # fetch + link vendor/, rewrite zz.lockzz install --frozen # CI: fail if lock stale (use in CI)zz remove <dep>zz updatezz outdatedzz depszz auditzz search <q>zz info <pkg>zz registry / login / publishzz generate-wrapperzz clean --deps # drop vendor/ + lock, re-fetch with installA dep name has exactly one source: manifest wins. Stale lock pins from another
source are ignored with note: <name>: manifest declares <source>, ignoring stale <source> pin; install rewrites lock + vendor/ links, so registry↔path flips
need no manual cleanup. Fresh clones (lock matches, vendor/ missing) fetch+link
instead of up to date. Long-form docs bundle DOCS.md else docs/**/*.md
(max 200KB, sorted #-level) for publish/info.
Layout
Section titled “Layout”vendor/holds links/copies;zz.lockpins exact versions.- Flipping registry↔path during local dev is safe — just
zz install. bin/is gitignored append-only by builds;src/bin/twins from old versions are reaped on publish (logged), anything else left alone.
Next: Project layout, Plugins.