Sprint 31: end-of-sprint architecture refactor pass

This commit is contained in:
Bill
2026-02-17 10:59:27 -07:00
parent 01f3659314
commit 1966b7ee44
7 changed files with 63 additions and 13 deletions

View File

@@ -1,12 +1,23 @@
#pragma once
// Sprint 30 refactor: shared debug validation helpers
#include <cstdint>
#include <string>
inline bool hasRequiredDebugIds(const std::string& a, const std::string& b) {
return !a.empty() && !b.empty();
}
inline bool hasRequiredDebugIds(const std::string& a,
const std::string& b,
const std::string& c) {
return hasRequiredDebugIds(a, b) && !c.empty();
}
inline bool isPositiveLine(int line) {
return line > 0;
}
inline bool isNonZeroU64(std::uint64_t value) {
return value > 0;
}