Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
docs(coding): limit regression tests to behavior that can break again (#8406)
teoad16ada1ff16
diff --git a/CODING.md b/CODING.mdindex 6d022e1928..680b81bc73 100644--- a/CODING.md+++ b/CODING.md@@ -45,8 +45,13 @@ files; the [style guide](docs/development/style-guide.md) indexes them.## Tests-- Every bug fix adds a regression test that fails before the fix and passes- after.+- A bug fix adds a regression test only when the test exercises behavior that+ could plausibly break again: domain logic, queries and data, state machines,+ API contracts, or the reproduced bug path. It fails before the fix and+ doesn't assert UI copy or visibility, restate the implementation's mapping,+ or mock so heavily it can't catch the real failure.+- Add no test for small UI changes (copy, labels, showing or hiding elements)+ unless asked.- Test behavior, not names or derive round-trips.- Explicit literals, no tiny helpers.- No `sleep`, `yield_now`, or polling; use real sync primitives.