await`s use `ConfigureAwait(false)`; the driver does not assume a synchronization context. Application code calling the driver may use whatever it likes.
- **Cancellation / CSOT propagation.** `CancellationToken` and `OperationContext
long-lived code.
- `ClientSessionHandle` wraps `ICoreSessionHandle` (declared in `Core/Bindings/ICoreSession.cs`; the implementation is `CoreSessionHandle` in `Core/Bindings/CoreSessionHandle.cs`, which wraps the underlying `CoreSession` from `Core/Bindings/CoreSession.cs`).
**Ownership boundary.** The `client-api-reviewer` owns *only
Core/Authentication/` and `Core/Bindings/` also live under `Core/` but are out of scope for this reviewer — see the auth-area and operations-area AGENTS.md.)
**Ownership boundary:** the Operations layer (`Core/Operations/`, `Core/Bindings
area: Diagnostics — Logging
scope: ["src/MongoDB.Driver/Core/Logging/**/*.cs"]
reviewer-agent: diagnostics-reviewer
adjacent-areas: [Core/Events, Driver root (LoggingSettings on MongoClientSettings)]
---
# Core/Logging — AGENTS.md
Bridges the event subsystem (`Core/Events/`) to `Microsoft.Extensions.Logging`. When the user
TestHelpers.
- **vs each `src/` area.** A spec runner pulls in code from many functional areas; spec-conformance reviewer cross-cuts them all. When a spec test fails, the relevant area
path verification. The coordinating conversation does not make this complexity decision or perform the codereview.
- For lower-complexity work, the dispatched execution Agent performs the codereview. It checks
evidence. Treat these as high-priority review findings.
Do not block on style-only or preference-only comments unless they make the code materially harder to maintain or violate
before committing. The canonical check is `zig fmt src/`.
* Do not use emojis in code, output, or documentation. Unicode symbols (e.g. checkmark, arrow) are acceptable.
* In documentation, never use double
checkpoint. The repository-level build, binary exercise, and Full CI ship gates still apply.
## Codereview rules
- Flag a public contract change that lacks a focused regression test. Require
repository. Its contribution and pull request requirements apply
to AI-assisted work. When you review a GitHub PR, fetch `origin/main` first.
Then read `CONTRIBUTING.md` with `git show origin/main:CONTRIBUTING.md`.
Until