If you are an AI agent invoked in this repo, bootstrap first per the org rules:
- Read
codechu-org/ai/AGENTS.md§0 (Bootstrap) and §1–§7. Prefer the local clone at$org_home/codechu-org/ai/AGENTS.mdif~/.config/codechu/config.tomlhasorg_homeset (employee setup); otherwise WebFetch the raw URL https://raw.githubusercontent.com/codechu/codechu-org/main/ai/AGENTS.md (public; works for external contributors). - Read this file (product-local overrides below).
- If you have a clone of
codechu/codechu-internalon this machine, readai/AGENTS.internal.md— extends, never weakens, public rules. If not, you are an external contributor; do not invent internal context. - Skim
docs/ARCHITECTURE.mdanddocs/DESIGN_PRINCIPLES.md. - Summarize back in 3 bullets, wait for confirmation.
- GTK 3 + PyGObject + Cairo. Python 3.10+. Tests in
tests/run without GTK (controllers + scanners are headless-safe). - Run before "done":
ruff check . && pytest -q. Both gate CI. - The control API (
docs/API.md) is reachable at$XDG_RUNTIME_DIR/codechu/disk-cleaner/control.sockwhen the GUI runs; useful for screenshot regen (assets/screenshots/README.md). - Translations: edit only source English strings; never hand-edit
po/tr.podirectly — runcd po && make update && make compile. - Vendor namespace: every path is
codechu/disk-cleaner/<...>; the vendor constant lives indisk_cleaner/config.py. - The 6 extracted libraries (
codechu-events,codechu-xdg,codechu-cli,codechu-fmt,codechu-meter,codechu-spark) pluscodechu-treevizare declared dependencies inpyproject.toml: events / xdg / cli at>=0.2,<0.3, treeviz at>=0.1,<0.2. The application-level event bus singleton lives atdisk_cleaner/_bus.py; controllers and the control-socket server import it asfrom disk_cleaner._bus import bus. XDG paths come from a module-levelApp(vendor, product, env, uid)indisk_cleaner/config.py.
- No AI signature in commits.
- No
--no-verify, nogit push --force, no destructive git without explicit per-action go-ahead. - No speculative language in docs ("we will", "by v2.0 we plan").
- See
codechu-org/ai/AGENTS.mdfor the full list.