commit 4956f7bb7286585c9a034d3470fa2a0c523b7c99 parent 1651b4b48d5646c48fc0e55ca2ba5545f3030ea5 Author: alltheseas <64376233+alltheseas@users.noreply.github.com> Date: Mon, 20 Oct 2025 12:15:59 -0500 Updated AGENTS.md with coding patterns section Updated AGENTS.md with coding patterns section per notedeck dev team call Oct 20 2025 Diffstat:
| M | AGENTS.md | | | 9 | +++++++++ |
1 file changed, 9 insertions(+), 0 deletions(-)
diff --git a/AGENTS.md b/AGENTS.md @@ -93,4 +93,13 @@ This document captures the current architecture, coding conventions, and design - `crates/notedeck_dave/docs/*.md` for agent-style tooling and streaming patterns. - `crates/notedeck_ui/docs/components.md` for reusable widgets. +## Notedeck Coding Patterns + +1. Please make all commits logically distinct. +2. Please make all commits standalone (i.e. so that they can be readily removed tens of commits later without impact the rest of the code). +3. Please set up code for performance profiling utilizing puffin (e.g. `cargo run --release --features puffin`). +4. Related to Puffin & performance profiling, for code suspected of impacting performance, carefully consider adding performance profiling attributes such as e.g. profiling::function in order to see functions performance in the profiler. + + + Use this guide as a launchpad when extending Notedeck with new agents or protocol features. It highlights where to attach new functionality without duplicating existing infrastructure.