Skip to content

docs: add compaction probe explanation to context-management guide (#2050)#2072

Merged
bug-ops merged 3 commits intomainfrom
docs-compaction-probe
Mar 20, 2026
Merged

docs: add compaction probe explanation to context-management guide (#2050)#2072
bug-ops merged 3 commits intomainfrom
docs-compaction-probe

Conversation

@bug-ops
Copy link
Owner

@bug-ops bug-ops commented Mar 20, 2026

Summary

Adds comprehensive documentation for the compaction probe feature to the context engineering guide, including probe mechanics, configuration, and troubleshooting.

Related to: PR #2047 (compaction probe validation epic #1609)

Changes

  • book/src/advanced/context.md: New 7-subsection guide on post-compression validation probe
  • book/src/advanced/debug-dump.md: References to compaction probe debug output
  • book/src/reference/configuration.md: Complete [memory.compression.probe] configuration schema
  • CHANGELOG.md: Feature entry

Validation

✅ Architecture review (architect)
✅ Adversarial critique (critic, impl-critic)
✅ Implementation (developer)
✅ Build test (tester) — mdbook builds clean
✅ Security audit (security) — LOW risk, approved
✅ Quality assessment (perf) — 97% completeness, excellent
✅ Code review (reviewer) — APPROVED

All handoffs: .local/handoff/2026-03-20T*.yaml

Test Plan

  • mdbook build book — succeeds without errors
  • All new sections visible in HTML output
  • Configuration examples are accurate against source code
  • Debug dump examples match actual output format

bug-ops added 2 commits March 20, 2026 23:07
Document the post-compression validation feature in the context engineering
guide, debug dump reference, and configuration reference.
- H-01: Use precise interval notation for threshold validation ranges: (0.0, 1.0] and [0.0, 1.0)
- H-02: Document that probe config is not hot-reloadable
- M-02: Remove internal field reference, rephrase cooldown behavior

All validators approved. Reviewer sign-off complete.
@github-actions github-actions bot added documentation Improvements or additions to documentation size/M Medium PR (51-200 lines) labels Mar 20, 2026
@bug-ops bug-ops enabled auto-merge (squash) March 20, 2026 22:27
Resolved conflict in CHANGELOG.md by preserving both Documentation and Changed sections.
@bug-ops bug-ops merged commit 8bc0641 into main Mar 20, 2026
21 checks passed
@bug-ops bug-ops deleted the docs-compaction-probe branch March 20, 2026 22:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation size/M Medium PR (51-200 lines)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant