docs(ctxmgr): seal SEMANTIC_SUMMARY_REPLACE with decision link (X-2)

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
weichen
2026-09-18 04:02:18 +00:00
co-authored by Cursor
parent a41836dec0
commit 6c61a5bc37
2 changed files with 13 additions and 4 deletions
+3 -1
View File
@@ -253,7 +253,9 @@ func applySemanticShadow(ctx context.Context, sum *ChatSummary, msgs []ChatMessa
if report.Protocol == "" {
report.Protocol = semanticProtocolV1
}
// Explicitly do NOT swap sum.Narrative even if REPLACE env is true.
// Explicitly do NOT swap sum.Narrative even if REPLACE env is true
// (Wave 5 X-2 sealed; see wave5-deadcode-decisions.md#x-2).
// Keep the call so envBool parsing stays covered; do not "fix" by wiring REPLACE.
_ = SemanticSummaryReplaceEnabled()
sum.Shadow = report
}