Problem
Slash command files use <protect> tags to mark execution-critical sections (guardrails, checklists, mandatory gates) that must survive DCP context compression. However, these tags are inert without a DCP config file that enables them.
Additionally, the replicator repo currently has "protectTags": true at the top level of opencode.json, which causes:
Configuration is invalid at opencode.json
↳ Unrecognized key: protectTags
Fix
- Remove
"protectTags": true from opencode.json
- Add
.opencode/dcp.jsonc to the repo with:
This file should be committed to source control (project-level setting, not personal config).
Context
Problem
Slash command files use
<protect>tags to mark execution-critical sections (guardrails, checklists, mandatory gates) that must survive DCP context compression. However, these tags are inert without a DCP config file that enables them.Additionally, the replicator repo currently has
"protectTags": trueat the top level ofopencode.json, which causes:Fix
"protectTags": truefromopencode.json.opencode/dcp.jsoncto the repo with:{ "$schema": "https://raw.githubusercontent.com/Opencode-DCP/opencode-dynamic-context-pruning/master/dcp.schema.json", "compress": { "protectTags": true } }This file should be committed to source control (project-level setting, not personal config).
Context
protectTagsis a DCP plugin config key undercompress, not an OpenCode core config keyopencode.jsoncauses the startup error shown above.opencode/dcp.jsonc(ordcp.json)