Author: Arnold Wender arnold.wender@gmail.com
Repo-scoped context for Gemini / Antigravity. The authoritative rules for this
repository live in CLAUDE.md — read that first; this file only
restates what an agent needs before touching code.
A small Python library (~300 lines) implementing the constitution + corrections
overlay pattern for agentic systems: Kustomize-style merge of YAML rule layers,
with halt-on-reject enforced executor-side via PolicyReject.
- Keep it small.
src/stays under 500 lines total. Push back if it grows past that. - No framework dependencies. The library stays agnostic — no Anthropic SDK, no LangGraph, no OpenAI. Pure policy + enforcement layer.
- MIT license. Do not change.
- Tests before features. Each public symbol gets a test before going into
__all__. - Type hints everywhere.
mypy --strictmust pass on every commit.
- Commit format:
[Action] Brief description - No co-author tags, no AI branding
.venv/bin/pytest tests/ -q # 69 tests, should all pass
.venv/bin/mypy --strict src/ # must be clean
.venv/bin/ruff check src/ tests/ # must be clean