Reference / Trade execution

What the Nexus logging adds

Nexus binds context for the length of a block, putting back whatever stood before once the block is done.

Contents

The scoped binding

Entering the block binds what it was given; leaving it puts those same keys back as they stood. That holds on the way out through a raise as much as on the way out through the end. It reaches the keys it was given and no others. One of those bound again inside the block is put back as it stood on the way out; a different key bound inside stays bound after it.

What it sits beside

The plain binding either side has puts nothing back of its own accord. The Praxis arrangement has that one and no other.

What the two arrangements share

Almost everything. The stamping of each line in universal time, the writer on standard output, the plain binding of context and the serializer that renders to text are the same statements again, side for side.

The level looked up by name and the root emptied of its handlers are the same statements on both sides, so what those two articles say about the level and about the root holds of Nexus too.

Source evidence
---
row: P7-05
baseline: 49aa659
created: 2026-11-08 09:11 UTC
modified: 2026-11-08 15:38 UTC
evidence:
  - claim: "The Nexus arrangement binds context for the length of a block and puts the keys it was given back as they stood, on the way out through a raise as much as the way out through the end"
    source: "`nexus/infrastructure/observability.py` 121-122"
  - claim: "The Praxis arrangement binds context with nothing to put anything back at"
    source: "`praxis/infrastructure/observability.py` 98"
  - claim: "The stamping in universal time, the writer on standard output, the plain binding of context and the serializer rendering to text are each the same statement on the two sides"
    source: "`nexus/infrastructure/observability.py` 50, 77-83, 93 and 35, against `praxis/infrastructure/observability.py` 49-50, 77-82, 98 and 30"
  - claim: "The level is looked up the same way on both sides, and the root is emptied of its handlers the same way"
    source: "`nexus/infrastructure/observability.py` 45, the same statement at `praxis/infrastructure/observability.py` 45, and `nexus/infrastructure/observability.py` 81-82, the same at `praxis/infrastructure/observability.py` 81-82"
---

Edit this sourceCheckout revision · 7381aa49
Reference / keep your place
Find a passage