Repository navigation
chore: add protect tags to slash command files for DCP context preservation - #222
Merged
Merged
Conversation
Add proposal, design, specs, and tasks for GitHub issue unbound-force#221. Adds <protect> tags to 3 slash command files for DCP context preservation. Reviewed by all four council members (APPROVE).
…vation Add <protect> tags to three scaffolded slash command files to prevent DCP (Dynamic Context Pruning) from compressing execution-critical sections during long sessions: - gaze-fix.md: 3 protect regions (workflow detection, batch pipeline, error handling) - speckit.testreview.md: 2 protect regions (operating constraints, execution steps + operating principles) - gaze.md: 1 protect region (delegation instructions) Add TestProtectTagPlacement to scaffold_test.go verifying tag count, balanced pairs, no frontmatter tags, no nesting, and own-line placement. Closes unbound-force#221
Move protect tags to wrap the full body (everything after YAML frontmatter) of each command file rather than selectively protecting individual sections. Report templates and other content that was previously left unprotected is used downstream and must survive DCP compression. - gaze-fix.md: 3 protect regions → 1 (full body) - speckit.testreview.md: 2 protect regions → 1 (full body) - gaze.md: protect region extended to cover full body - TestProtectTagPlacement: updated expected counts to 1 pair each
jflowers
force-pushed
the
opsx/dcp-protect-tags
branch
from
August 16, 2026 16:40
b23eafc to
d86666f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add
<protect>tags to three scaffolded slash command files to prevent DCP (Dynamic Context Pruning) from compressing execution-critical sections during long sessions.Changes
gaze-fix.mdspeckit.testreview.mdgaze.mdWhat's NOT protected (reconstructible)
Testing
TestProtectTagPlacement— table-driven test verifying 5 dimensions per file: tag count, balanced pairs, no frontmatter tags, no nesting, own-line placementgo build,go test -race -count=1 -short ./...,golangci-lint runall passScaffold Delivery
gaze-fix.mdandspeckit.testreview.mdare tool-owned → existing projects receive updates viagaze initgaze.mdis user-owned → only new projects receive the protect-tagged versionSpec Artifacts
OpenSpec change at
openspec/changes/dcp-protect-tags/(proposal, design, specs, tasks).Closes #221