fix(content): CONTENT module quality remediation — RAII fixes, noexcept dtor, regression tests, uninitialized struct defaults, [[nodiscard]] annotations (Phases 3–7)#5255
Conversation
…populate MODULE_GAPS.md Agent-Logs-Url: https://github.com/makr-code/ThemisDB/sessions/648670d9-71f9-4403-8bad-96b96e62dea4 Co-authored-by: makr-code <150588092+makr-code@users.noreply.github.com>
|
@copilot weiter |
…r encryption; CHANGELOG.md updated Agent-Logs-Url: https://github.com/makr-code/ThemisDB/sessions/f643ad86-ed7a-4613-aa88-4e240a829ce4 Co-authored-by: makr-code <150588092+makr-code@users.noreply.github.com>
Continuing with Phase 3.2. Added in commit CON-009 — RAII fix: raw The metadata-encryption loop ( // Before (exception-unsafe — delete in early-continue, success path, and catch):
nlohmann::json arr = meta.tags;
target = new nlohmann::json(arr);
// ... manual delete target in 3 places
// After (RAII):
nlohmann::json tags_tmp;
if (f == "tags") { tags_tmp = meta.tags; target = &tags_tmp; }
// tags_tmp destroyed automatically — no manual delete neededCHANGELOG.md updated under |
|
@copilot weiter |
…010, CON-011 Agent-Logs-Url: https://github.com/makr-code/ThemisDB/sessions/63d8af87-4e06-4687-bb00-2f3e46aafa89 Co-authored-by: makr-code <150588092+makr-code@users.noreply.github.com>
Phase 3.3 complete in commit CON-010 — RAII for // Before: manual free on every early return
EVP_MD_CTX* mdctx = EVP_MD_CTX_new();
if (...) { EVP_MD_CTX_free(mdctx); return ""; } // ×3
EVP_MD_CTX_free(mdctx); // normal exit
// After: unique_ptr frees automatically on all paths
using EvpCtxPtr = std::unique_ptr<EVP_MD_CTX, decltype(&EVP_MD_CTX_free)>;
EvpCtxPtr mdctx(EVP_MD_CTX_new(), EVP_MD_CTX_free);CON-011 — RAII for Additional cleanup: redundant explicit |
|
@copilot weiter |
…handlers in archive/video/geo/html processors Agent-Logs-Url: https://github.com/makr-code/ThemisDB/sessions/fee2b9e9-a58f-46c5-8f6d-dfdb8f2a0e1d Co-authored-by: makr-code <150588092+makr-code@users.noreply.github.com>
…RY-REL-001) Agent-Logs-Url: https://github.com/makr-code/ThemisDB/sessions/e2fb7573-d841-4017-a53f-92e5b2697560 Co-authored-by: makr-code <150588092+makr-code@users.noreply.github.com>
Agent-Logs-Url: https://github.com/makr-code/ThemisDB/sessions/5de97ceb-6151-487d-9b85-c77bb4244093 Co-authored-by: makr-code <150588092+makr-code@users.noreply.github.com>
…tions Agent-Logs-Url: https://github.com/makr-code/ThemisDB/sessions/e048f3a1-0c74-4c8c-998a-b68e0325dc24 Co-authored-by: makr-code <150588092+makr-code@users.noreply.github.com>
…tions Agent-Logs-Url: https://github.com/makr-code/ThemisDB/sessions/ab9803d1-893d-41e9-ad97-19491bfed41a Co-authored-by: makr-code <150588092+makr-code@users.noreply.github.com>
Agent-Logs-Url: https://github.com/makr-code/ThemisDB/sessions/df924964-b6b4-4fad-a0f5-bbbb21eae999 Co-authored-by: makr-code <150588092+makr-code@users.noreply.github.com>
…ceptions Agent-Logs-Url: https://github.com/makr-code/ThemisDB/sessions/e4d17d10-3bcc-4faf-848d-10cae7c904e9 Co-authored-by: makr-code <150588092+makr-code@users.noreply.github.com>
…ceptions Agent-Logs-Url: https://github.com/makr-code/ThemisDB/sessions/fc3311f2-a63d-4693-8698-ea21b3f15c8a Co-authored-by: makr-code <150588092+makr-code@users.noreply.github.com>
…xt registration Agent-Logs-Url: https://github.com/makr-code/ThemisDB/sessions/9234f359-84ea-47d4-91ed-b7f13614669d Co-authored-by: makr-code <150588092+makr-code@users.noreply.github.com>
PM_LOAD_ADMIN_MODELandPM_LIST_ADMIN_MODELSwith real built-in administrative model payloadsPM_PREDICT_ENDnull placeholder with a deterministic ETA fallback payloadsrc/STUB_INVENTORY.mdto mark resolved stubs and refresh active counts/IDs