DMA Coding Discipline
Before writing code:
- Read
docs/AI_AGENT_OPERATING_MANUAL.md. - Read
docs/llms-dma.md. - Verify every DMALibrary symbol in
knowledge/dmalibrary-api-index.json. - Avoid target-specific offsets and bypass instructions.
- Validate final answer with
python tools/validate-cpp-answer.py <file>.
Prefer minimal C++17 examples. Use explicit buffers for uncertain structures. Close scatter handles.