Preserve final dynamic secret tags in inspection

This commit is contained in:
2026-10-27 03:02:17 +00:00
parent 896c1cde08
commit 17216a40f3
3 changed files with 63 additions and 2 deletions

View File

@@ -150,6 +150,9 @@ func freezeMetadataHistory(m *Metadata, final *document.Node) {
panic("configkit: metadata history prefix is not ready")
}
builder.model.final = final
// A resolver may change dynamic field tags without changing canonical values
// or producing a resolution snapshot. Always observe the final classification.
builder.observeDocument(final, historyPhaseResolution)
m.historyModel = builder.freeze()
m.historyBuilder = nil
}