fix(webui): check for updates only after opening About (#6397)
* fix(webui): check for updates only after opening About * docs(agent): require meaningful behavioral test assertions
This commit is contained in:
1 parent
eceea7b5fb
commit
6ace6068d7
8 files changed
+25
-19
No files matched your search
@@ -19,5 +19,6 @@ The Python gateway owns agent execution, sessions, tools, memory, and security p
|
||||
|
||||
- Analyze the required behavior, state ownership, and root cause before extending existing code. Refactor when the structure causes the problem; a smaller diff does not justify another fallback.
|
||||
- Do not add defensive tests for hypothetical internal states or unsupported combinations. Each new test needs a reachable path and a meaningful contract to protect.
|
||||
- Do not add tests merely to prove that nonexistent behavior, removed code, or obsolete symbols are absent. Negative assertions must exercise a concrete, reachable risk and protect an observable behavioral contract; prefer testing supported actions and their results.
|
||||
- Do not run `ruff format`; mechanical formatting obscures git blame and creates unrelated diffs. This constraint takes precedence over the optional touched-file formatting in `CONTRIBUTING.md`.
|
||||
- Do not manually wrap prose in Markdown files. Keep each paragraph on one source line; use line breaks only for Markdown structure.
|
||||
Reference in new issue
Block a user