Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/agents/modernizer.agent.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
description: "Refactor a pre-roadmap robotics/ algorithm to reuse shared math/ utilities, add coverage-build infra, and simplify/dedupe tests — preserving existing Q15/Q31 support. Behavior-preserving."
description: "Refactor a pre-roadmap robotics/ algorithm to reuse shared math/ utilities, add coverage-build infra, and simplify/dedupe tests. Float-only, behavior-preserving."
tools: [read, edit, search, execute, todo]
handoffs:
- label: "Review Changes"
Expand All @@ -17,7 +17,7 @@ change unless required to remove duplication.

1. Read the target `.hpp`, its `test/Test*.cpp`, and `doc/<domain>/<Name>.md`.
2. Find duplication: logic that already exists in `numerical/math/`
(`CompilerOptimizations.hpp`, `Tolerance.hpp`, `ComplexNumber.hpp`, `QNumber.hpp`,
(`CompilerOptimizations.hpp`, `Tolerance.hpp`, `ComplexNumber.hpp`,
`RecursiveBuffer.hpp`, `Statistics.hpp`, …) or scaffolding repeated across `test/` files
(e.g. `CalculateMagnitude`, twiddle-factor mocks — emulate `PowerDensitySpectrumTestSupport.hpp`).
3. Replace the duplicated logic with the shared utility; delete the local copy.
Expand Down Expand Up @@ -50,4 +50,4 @@ Every algorithm in this repository is float-only: `static_assert(std::is_floatin
## What NOT to do
- No behavior/API change beyond removing duplication.
- No new abstractions except extracting one that is already repeated.
- Don't touch unrelated algorithms; don't strip `Q15`/`Q31`.
- Don't touch unrelated algorithms.
Loading