Skip to content

docs(core): document engineering patterns and best practices (#249) - #262

Merged
marcobuschini merged 1 commit into
mainfrom
249-issue-document-repository-engineering-patterns-best-practices-with-external-references
Dec 3, 2026
Merged

marcobuschini merged 1 commit into
mainfrom
249-issue-document-repository-engineering-patterns-best-practices-with-external-references

Conversation

@marcobuschini

@marcobuschini marcobuschini commented Dec 3, 2026 •

Copy link
Copy Markdown
Member
  • Add docs/09-design-patterns-and-best-practices.md covering freestanding C++20 conventions, RAII and Rule of Five resource ownership, HAL and compiler-enforced DDK boundaries, dual-target testing and PFA zero-leak invariants, decoupled forensic JSONL logging, and automated quality gates with external references
  • Link docs/09-design-patterns-and-best-practices.md in README.md

Verification & Quality Gates

  • make all builds cleanly under aarch64-linux-gnu-g++ (-std=c++20 -Werror)
  • make quality passes format-check, lint-report (clang-tidy), and test-host
  • make test-host passes Snitch unit tests under ASan/UBSan with zero PFA/heap leaks
  • Verified in QEMU (make run) where applicable

Checklist

  • PR title and commits follow Conventional Commits / Commitizen specification
  • Changes adhere to freestanding C++20 rules (no exceptions, RTTI, or banned headers)
  • Changes stay strictly within the scope of the linked issue/sub-issue

- Add docs/09-design-patterns-and-best-practices.md covering freestanding
  C++20 conventions, RAII and Rule of Five resource ownership, HAL and
  compiler-enforced DDK boundaries, dual-target testing and PFA zero-leak
  invariants, decoupled forensic JSONL logging, and automated quality gates
  with external references
- Link docs/09-design-patterns-and-best-practices.md in README.md
@marcobuschini
marcobuschini merged commit 4a63a86 into main Dec 3, 2026
5 checks passed
@marcobuschini
marcobuschini deleted the 249-issue-document-repository-engineering-patterns-best-practices-with-external-references branch December 3, 2026 21:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[ISSUE] Document Repository Engineering Patterns & Best Practices with External References

1 participant