You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add benchmark-driven workflow for performance issues (#158)
* feat: add benchmark-driven workflow for performance issues
Establishes a benchmark-first methodology in testing standards and
updates autonomous agent prompts to enforce Phase 1 (baseline) →
Phase 2 (implement) → Phase 3 (validate) ordering for performance
issues, ensuring baseline measurements exist before any code changes.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* fix: address PR #158 review feedback
- Remove stale Program.cs from git add in execute-tasks.md
- Clarify --job short is only for Phase 2; Phase 1 and 3 use defaults
- Add trailing newlines to create-tasks.md and execute-tasks.md
- Replace static benchmarks table with directory lookup directive
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: autonomous/prompts/create-tasks.md
+33-1Lines changed: 33 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,4 +21,36 @@ Include tasks for:
21
21
Use `[ ]` for each task.
22
22
Validate the task list is complete by cross-referencing every acceptance criterion in the brief — each criterion must be covered by at least one task.
23
23
24
-
Any task that attempts to alter the ./.github folder will likely fail due to permissions restrictions. These changes should accompany the PR as an attached file with clear direction on the manual intervention required to complete the work.
24
+
Any task that attempts to alter the ./.github folder will likely fail due to permissions restrictions. These changes should accompany the PR as an attached file with clear direction on the manual intervention required to complete the work.
25
+
26
+
If the brief category is `performance`, follow the benchmark-driven development process
27
+
in spec/tech-standards/testing-standards.md. The task ordering MUST be:
28
+
29
+
Phase 1 — Benchmark scaffolding (before any implementation changes):
30
+
-[ ] Create benchmark class(es) in HdrHistogram.Benchmarking/
31
+
- Micro-benchmarks for the specific operations being optimised
32
+
- End-to-end benchmarks that exercise the realistic user workflow
33
+
- Add [MemoryDiagnoser] to all benchmark classes
34
+
- Register new benchmarks in Program.cs BenchmarkSwitcher
0 commit comments