From 742f15297e11a85b42330932cc5a41b1871b9e3b Mon Sep 17 00:00:00 2001 From: Coden Date: Thu, 9 Jul 2026 11:58:23 +0900 Subject: [PATCH 01/29] omx(team): auto-checkpoint worker-1 [1] --- README.md | 5 +- context-guard-kit/experimental_registry.py | 236 ++++++++++++++++++++- tests/test_context_guard_kit.py | 187 +++++++++++++++- 3 files changed, 425 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index aa7c8a1..9c864f0 100644 --- a/README.md +++ b/README.md @@ -119,7 +119,7 @@ If you need a savings claim, measure it on your own tasks: - It does not execute command manifests as code or trust arbitrary `PATH`/current-working-directory helpers during setup or packaged smoke checks. - It does not replace real before/after measurement when you need a savings claim. - Local RAM/disk receipts can help reduce what you send next, but they do **not** replace Anthropic's provider prompt cache or guarantee cache hits. Recheck Anthropic prompt-caching and pricing docs before release or billing claims: https://docs.anthropic.com/en/build-with-claude/prompt-caching and https://platform.claude.com/docs/en/about-claude/pricing. -- Experimental helpers are mostly dry-run checker/planner surfaces, including a design-only external-forwarding opt-in gate. Explicit local runtimes exist only for caller-supplied context-diff replacement payloads, caller-supplied visual crop/OCR evidence packs, caller-supplied learned-compression prose candidates, self-hosted metrics JSONL sidecar records, local-proxy runtime-gate JSONL records, and one-shot `serve local-proxy` loopback forwarding with a private ready-file nonce, optional `--response-sandbox` compact artifact envelopes for safe UTF-8 responses, plus optional shifted-cost diagnostic JSONL rows for successful forwarded requests. +- Experimental helpers are mostly dry-run checker/planner surfaces, including a plan-only `image-context-pack` evaluation gate and a design-only external-forwarding opt-in gate. Explicit local runtimes exist only for caller-supplied context-diff replacement payloads, caller-supplied visual crop/OCR evidence packs, caller-supplied learned-compression prose candidates, self-hosted metrics JSONL sidecar records, local-proxy runtime-gate JSONL records, and one-shot `serve local-proxy` loopback forwarding with a private ready-file nonce, optional `--response-sandbox` compact artifact envelopes for safe UTF-8 responses, plus optional shifted-cost diagnostic JSONL rows for successful forwarded requests. - ContextGuard does not ship learned/synthetic compressor execution, embeddings, rerankers, model calls, generated replacement text, screenshot capture, image cropping, OCR execution, image parsing, external OCR/image services, self-hosted KV/latent inference optimization beyond explicit local metrics recording, or broader proxy forwarding beyond literal-loopback, one-request HTTP forwarding with credential material blocked. - It does not alias the old `/claude-token-optimizer:*` Claude Code slash-command namespace. Use `/context-guard:*` after installing this plugin. @@ -441,6 +441,7 @@ context-guard experiments plan context-diff-compaction --json < change.diff context-guard experiments emit context-diff-compaction --receipt-id --reexpand-command "context-guard-artifact get --full" --replacement-file compact-diff.txt --json < change.diff context-guard experiments plan visual-crop-ocr --json --full-evidence-receipt --crop-label