Skip to content

docs(architecture): define atomic configuration registration - #164

Merged
LimiNode merged 5 commits into
mainfrom
feat/config-registration-contract
Nov 19, 2026
Merged

LimiNode merged 5 commits into
mainfrom
feat/config-registration-contract

Conversation

@LimiNode

Copy link
Copy Markdown
Owner

Summary

  • Propose ADR 0010 for append-only, atomic registration of prepared logger/formatter batches.
  • Define shared ownership, stable ID-to-index mapping, duplicate handling, shutdown and snapshot publication boundaries.
  • Keep Logger implementation, parsing, file watching and hot reload out of scope.

Validation

Document the ownership, publication, identity, and compatibility contract for registering prepared configuration batches into Logger. Keep implementation, hot reload, parsing, and file loading outside this design slice.
Define the non-throwing publication sequence, shutdown linearization and regression matrix required before implementation of atomic configuration registration.
Point the registration contract at an indexed ADR so Doxygen can resolve its reference without adding unrelated documentation inputs.
Reject cross-strategy object aliases and define external-owner restrictions. Specify candidate-based exception safety for batch and legacy registration, non-throwing result publication, manual prepared-set validation, safe index limits, and registration/shutdown lock ordering. Expand the implementation regression matrix without changing production code.
Require backend and formatter pointers to share a control block when both refer to one complete object. Define the C++11 owner_before check and add the corresponding regression requirement while preserving support for distinct objects with one shared owner.
@LimiNode
LimiNode marked this pull request as ready for review November 19, 2026 23:50
@LimiNode
LimiNode merged commit 4f64253 into main Nov 19, 2026
16 checks passed
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.

1 participant