Metadata-Version: 2.5
Name: ummml
Version: 0.1.0
Summary: UMMML (Ultra Min Min Min Low) token mode: an output rule and helper scripts for AI coding agents.
Project-URL: Homepage, https://paramtatva.org
Author: Paramtatva
License-Expression: AGPL-3.0-only
License-File: LICENSE
Keywords: agents,claude-code,hooks,llm,tokens
Classifier: Operating System :: POSIX
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Software Development
Requires-Python: >=3.9
Description-Content-Type: text/markdown

# ummml

UMMML (Ultra Min Min Min Low) is an output rule for AI coding agents: say the minimum, put detail in files.

Core rules (full text: `ummml rules`):

- No chatter, recaps, FYIs or narration. Status is 1-2 alphanumeric codes.
- Details go in files, and into chat only when the owner asks directly.
- Long jobs run detached (`longjob.sh`) with a log and a DONE marker; read one verdict line, never poll.
- Cap tool output (`head`, counts, quiet flags). Kill only jobs you launched, by recorded PID.
- Every miss gets WHY, LEARNT and PREVENT in a file before any retry. A blocker on your own path is cleared now, not waited on.

## Use

    pip install ummml
    ummml rules                      # print the rules
    ummml path                       # bundled data directory
    ummml install [--dest DIR]       # copy hooks/scripts (default ~/.claude/skills/ummml); --force to overwrite
    ummml run longjob.sh LANE NAME -- CMD...

The bundled hooks (`hook.sh`, `agent-hook.py`, `rule19-hook.sh`, `open-issues-hook.sh`, `read-guard.sh`, `host-gate.py`, `no-known-gap-stop.py`) are written for Claude Code hook configs. `audit-hourly.sh` is a sample host audit.

## Configuration (environment)

- `UMMML_WORK_DIR`: base dir for job logs and reports (default `~/ummml-work`).
- `UMMML_CWD_PREFIXES`: colon-separated cwd prefixes the hooks apply to (unset: all sessions).
- `UMMML_HOSTS`: regex of build-host names `host-gate.py` guards (default `buildhost[0-9]*`); `UMMML_RUNNER`: launcher named in its denial.
- `UMMML_AUDIT_HOSTS`: space-separated ssh hosts for `audit-hourly.sh`.
- `LONGJOB_DIR`: exact job directory override for `longjob.sh`.

License: AGPL-3.0-only. https://paramtatva.org
