Bootstrap per codechu-org/ai/AGENTS.md §0 before any work. Prefer
the local clone at $org_home/codechu-org/ai/AGENTS.md (if
~/.config/codechu/config.toml has org_home set); otherwise
WebFetch the public raw URL
https://raw.githubusercontent.com/codechu/codechu-org/main/ai/AGENTS.md.
This file lists only product-local overrides.
- Pure-Python, stdlib-only at runtime. The single optional dep is
tomli_w(TOML write); never make it a hard requirement. - TOML read uses stdlib
tomllib(Python 3.11+); on 3.10 the TOML read path raisesConfigErrorwith a clear message — do not pull intomlito paper over this. - Public API surface:
Field,Schema,Config,ConfigError,ValidationError,MigrationError,Migration(type alias). Keep this surface stable — extra kwargs welcome, renames forbidden until 1.0. - Atomic save uses
codechu_fs.atomic_writeif available, falls back to in-package tempfile+os.replace. Do not makecodechu-fsa hard dep — the fallback is part of the contract. - Coverage target: ≥85 %.
- Conventional Commits, no AI signature.
- No
--no-verify, no force push, no unapproved publish. - See
codechu-org/ai/AGENTS.mdfor the full list.