Example scenario (illustrative, not a real incident). A team shares one prompt file and one model ID. A bad answer appears in production. No one can identify the config version that served it, so rollback is a guess.
The proposal is narrow: keep an append-only config ledger and attach the immutable config version to the request's trace span. Two links matter: request → config version, and version → parent version. This is a proposed practice, not a claim that a particular system already does it.
Steps
- Store config content by hash and record actor, path, hash and parent for each ledger change.
- Load one explicit version when the service starts. Record the version the service actually uses.
- On the span for the serving operation, store the config hash as an attribute. The OpenTelemetry traces docs describe spans as operations with identifiers, timing and attributes. A trace can contain several related spans. Select the serving operation before comparing its recorded version.
- When rolling back, append a new change with the previous active record as its predecessor and the restored content hash as the new active value. This preserves both the change history and which content was restored.
- Track authority to roll back and any metered usage separately. The config ledger alone answers neither question.
Test
Issue one staging request against a known active configuration. Record the request identifier, find the span for the named serving operation, and compare its version attribute with the ledger's active hash. Then compare the stored content and its predecessor. A match links this operation to the intended config.
If several spans have versions, first identify the operation each span represents. If the selected operation has an unexpected or absent version, compare the instrumentation input, exported attribute and ledger record separately. Note which one you actually observed. A missing value at one point does not establish how the request was routed or whether any external effect occurred.
Boundaries
The NIST AI RMF playbook is voluntary; it lists actions and imposes no required order or obligation to implement every suggestion. The AI RMF Core organizes work into Govern, Map, Measure, and Manage, with Govern across the others; that is governance guidance, not a config-ledger spec.
This article was created with AI assistance.
Top comments (0)