mirror of
https://github.com/penpot/penpot.git
synced 2026-08-01 10:56:20 +00:00
📚 Add hard rule for test output handling to serena memories
Never pipe test output directly to filters (head, tail, grep). Always redirect to a file first to prevent hiding test failures. AI-assisted-by: mimo-v2.5
This commit is contained in:
parent
73519778ae
commit
b907bc4cd3
@ -8,6 +8,9 @@
|
||||
wait for the user to push. Do not change the remote URL, do not switch SSH↔HTTPS.
|
||||
- **Never amend a commit that has been pushed** unless the user explicitly asks.
|
||||
If the user pushes, treat that commit as final from the agent's side.
|
||||
- **Never pipe test output directly to filters** (`| head`, `| tail`, `| grep`, etc.).
|
||||
Always redirect to a file first: `command > /tmp/output.txt 2>&1`, then read/grep the file.
|
||||
This prevents hiding test failures. See `mem:testing` for details.
|
||||
- **Read the workflow memory BEFORE the corresponding action**:
|
||||
- Before `git commit` → `mem:workflow/creating-commits` (commit format, AI-assisted-by trailer)
|
||||
- Before `gh issue create` → `mem:workflow/creating-issues` (title derivation, body template, Issue Type)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user