# Agent notes Project-level guidance for this repository. The global agent preferences still apply; this file only adds what is specific to `conky-theme-udt`. ## Read this first `DESIGN.md` is the repository's visual identity. Before adding or changing a widget, read it and match it: the big value at the card's top-right, rows label-left / value-right, one fluid type size, the `ok` / `warning` / `critical` colour language. A new card that ignores it is a defect, not a style choice. ## Working on the dashboard - After editing a widget or `dashboard.lua`: `./restart.sh`. Conky caches a required widget module, so a widget edit needs the restart; editing `dashboard.lua` alone does not. - Only a `conky.conf.in` or palette change needs `../unified-desktop-theme/install.sh`, which re-renders `conky.conf`. - Checks: `lua test/test_data.lua && lua test/test_layout.lua && lua test/test_weather.lua` - Render one widget offscreen without conky: `lua test/render.lua ` - The offscreen renderer crops to a single card, so it says nothing about size beside neighbours. Check the live dashboard for that. ## Constraints - This repository is public: no keys, real locations, LAN addresses, hostnames or usernames in committed files. Derive per-host data at runtime; use `Example City` / generic placeholders in fixtures. - A Lua error in conky is a blank screen with no message. The `pcall` overlay in `dashboard.lua` is the only reason faults are visible, so parsers and widgets return nil or a safe default rather than raising. - Commits are GPG-signed.