Instruction file imported from WOLFY9527/wolfystock (
.github/instructions/client.instructions.md). Copyright stays with the author.
Client Instructions
- Follow
AGENTS.md; readdocs/design/frontend.mdanddocs/contracts/data-trust.mdfor frontend, no-advice, readiness, and protected-domain context. - Preserve the existing Vite + React web structure and Electron desktop runtime assumptions; reuse current API/state patterns instead of adding parallel client abstractions.
- Keep consumer copy free of raw provider/cache/schema/debug/credential/internal terms unless the route is explicitly an admin/operator diagnostic surface.
- If a change affects API fields, auth state, route behavior, Markdown/chart rendering, local backend startup, or report payloads, assess both Web and Desktop compatibility.
- Validate Web changes through
./wolfy exec --profile test --andscripts/web_build_artifact.py. For visual changes, add route/browser evidence. - Validate Desktop changes by building Web first, then
apps/dsa-desktop; if platform limits prevent full Electron validation, call out the exact risk.