v1.6 → v1.7
What changed from v1.6 to v1.7
From v1.6 (2 Jun) to v1.7 (14 Jun): 12,346 words to 14,276 words, 1,955 words in new or rewritten paragraphs and 25 taken out, 46 paragraphs changed.
Wider on-demand loading, typed compression, and two related systemsThis version widens the idea of loading only what is needed. Before, it covered memory files; now it also covers tool definitions and skill catalogs, with a measured example of evicting a 44-skill catalog. A new technique (B6a) compresses tool output by its type and keeps the original so the model can ask for it back.
- New related-work sections: headroom, the closest comparable open-source system, and open agent-skill collections.
- The limitations admit that quality is not yet measured well, and future work adopts headroom's benchmark method.
- About 1,900 words added.
v1.6 · 2 June 2026v1.7 · 14 June 2026
··· 58 unchanged paragraphs folded ···
v1.6 · 3. Taxonomy of Budget Prompting Techniques| # | Technique | Category | Status | Est. Savings | |---|-----------|----------|--------|--------------| | A1 | Model routing by complexity | Model Routing | [Y] | 25–40% automated | | A2 | Extended thinking control | Model Routing | [Y] | $5–10/day equiv. | | A3 | Cross-model delegation | Model Routing | [Y] | Variable | | B1 | System prompt caching | Context Econ. | [Y] | $8–10/day | | B2 | Aggressive session management | Context Econ. | [Y] | 2–4× per turn | | B3 | Memory search over bulk loading | Context Econ. | [Y] | 80–95% context | | B4 | Context compaction | Context Econ. | [Y] | 60–80% context | | B5 | Frozen snapshot injection | Context Econ. | [ ] | CHR 65%→90%+ | | B6 | Surgical tool output pruning | Context Econ. | [ ] | 30–40% context | | B7 | Iterative summary compression | Context Econ. | [ ] | 5–15K tokens | | B8 | Rolling window + vector retrieval | Context Econ. | [ ] | Fixed context cap | | B9 | Mid-context reinjection | Context Econ. | [ ] | Indirect | | C1 | Silent reply (NO_REPLY) | Output Econ. | [Y] | $5–8/day | | C2 | Thinking control (output) — *output-side view of A2* | Output Econ. | [Y] | (see A2) | | D1 | Cron priority tiers | Temporal Amort. | [Y] | 15–20% automated | | D2 | Background review agent | Temporal Amort. | [ ] | 80% reflection | | D3 | Dual-account staggering | Temporal Amort. | [Y] | Eliminates outages | | D4 | Token bucket pacing | Temporal Amort. | [Y] | Prevents lockouts | | E1 | Batch API for non-interactive | Billing Arbitrage | [Y] | 50% on batch work | | E2 | Sub-agent fresh context | Billing Arbitrage | [Y] | $1–3/delegation | | F1 | Security scanning on mem writes | Security | [ ] | Indirect |
v1.7 · 3. Taxonomy of Budget Prompting Techniques| # | Technique | Category | Status | Est. Savings | |---|-----------|----------|--------|--------------| | A1 | Model routing by complexity | Model Routing | [Y] | 25–40% automated | | A2 | Extended thinking control | Model Routing | [Y] | $5–10/day equiv. | | A3 | Cross-model delegation | Model Routing | [Y] | Variable | | B1 | System prompt caching | Context Econ. | [Y] | $8–10/day | | B2 | Aggressive session management | Context Econ. | [Y] | 2–4× per turn | | B3 | Memory search over bulk loading | Context Econ. | [Y] | 80–95% context | | B4 | Context compaction | Context Econ. | [Y] | 60–80% context | | B5 | Frozen snapshot injection | Context Econ. | [ ] | CHR 65%→90%+ | | B6 | Surgical tool output pruning | Context Econ. | [ ] | 30–40% context | | B6a | Content-type-specific compression | Context Econ. | [ ] | 60–95% on structured outputs | | B7 | Iterative summary compression | Context Econ. | [ ] | 5–15K tokens | | B8 | Rolling window + vector retrieval | Context Econ. | [ ] | Fixed context cap | | B9 | Mid-context reinjection | Context Econ. | [ ] | Indirect | | C1 | Silent reply (NO_REPLY) | Output Econ. | [Y] | $5–8/day | | C2 | Thinking control (output) — *output-side view of A2* | Output Econ. | [Y] | (see A2) | | D1 | Cron priority tiers | Temporal Amort. | [Y] | 15–20% automated | | D2 | Background review agent | Temporal Amort. | [ ] | 80% reflection | | D3 | Dual-account staggering | Temporal Amort. | [Y] | Eliminates outages | | D4 | Token bucket pacing | Temporal Amort. | [Y] | Prevents lockouts | | E1 | Batch API for non-interactive | Billing Arbitrage | [Y] | 50% on batch work | | E2 | Sub-agent fresh context | Billing Arbitrage | [Y] | $1–3/delegation | | F1 | Security scanning on mem writes | Security | [ ] | Indirect |
v1.6 · 3. Taxonomy of Budget Prompting TechniquesEach technique is described with its mechanism, expected savings, implementation status, and interaction effects. The table lists 21 rows but 20 distinct techniques: C2 is the output-cost view of A2 (extended thinking control), broken out separately so the output-economics category reads completely. Counting it once, 13 of the 20 are implemented and 7 are designed.
v1.7 · 3. Taxonomy of Budget Prompting TechniquesEach technique is described with its mechanism, expected savings, implementation status, and interaction effects. The table lists 22 rows but 20 distinct techniques: C2 is the output-cost view of A2 (extended thinking control), and B6a is the content-type-specific generalization of B6 (it subsumes B6 rather than adding an independent lever) — both are broken out separately so their categories read completely. Counting each once, 13 of the 20 are implemented and 7 are designed.
··· 37 unchanged paragraphs folded ···
v1.6 · B3. Memory Search over Bulk Loading#### B3. Memory Search over Bulk Loading
removed in v1.7
not in v1.6
v1.7 · B3. On-Demand Retrieval over Bulk Loading#### B3. On-Demand Retrieval over Bulk Loading
v1.6 · B3. On-Demand Retrieval over Bulk Loading**Mechanism:** Instead of injecting entire memory files into the system prompt, use `memory_search()` to retrieve only relevant snippets. A memory file might contain 5,000 tokens spanning months of notes; a search query returns the 200 tokens relevant to the current conversation.
v1.7 · B3. On-Demand Retrieval over Bulk Loading**Mechanism:** Instead of injecting an entire always-loaded surface into the system prompt, retrieve only the relevant snippet at the moment it is needed. The canonical instance is memory: rather than loading full memory files, use `memory_search()` to return only relevant snippets. A memory file might contain 5,000 tokens spanning months of notes; a search query returns the 200 tokens relevant to the current conversation.
not in v1.6
v1.7 · B3. On-Demand Retrieval over Bulk LoadingBut memory is not the only always-loaded surface. The system prompt of a tool-rich agent carries at least three independently evictable prefix slabs: **memory files**, the **tool definitions array**, and the **skill/recipe catalog**. Each is large, slow-changing, and re-sent every turn; each can be either cached (B1) or retrieved on demand (B3). The general principle is: *any catalog that is always loaded but rarely fully used should be replaced by a code-side matcher that injects only the winning entry's body per turn.*
v1.6 · B3. On-Demand Retrieval over Bulk Loading**Savings:** Reduces injected context by 80–95% compared to loading full memory files. The system prompt shrinks from a potential 50K+ tokens (with all memory files loaded) to 15–20K (with selective retrieval).
v1.7 · B3. On-Demand Retrieval over Bulk Loading**Savings:** Reduces injected context by 80–95% compared to loading the full surface. For memory, the system prompt shrinks from a potential 50K+ tokens (with all memory files loaded) to 15–20K (with selective retrieval).
not in v1.6
v1.7 · B3. On-Demand Retrieval over Bulk Loading**Worked example — catalog eviction on the skill/recipe surface.** We have a measured instantiation of this principle on a surface larger than memory. Applying eviction to a vendored 44-skill catalog (the `coreyhaines31/marketingskills` set, integrated via the `marketing` router skill) replaced **~915 tokens of always-loaded skill descriptions with a single ~130-token router skill** — a roughly **7× reduction on that prefix slab** with all 44 frameworks still reachable on demand. The design invariant that makes this safe to do uncapped: matching is code-side, and only the *winning* entry's body is injected for a given turn, so adding the 45th skill costs nothing at rest. This is exactly B3's "retrieve the relevant snippet instead of loading everything," generalized from memory files to the catalog surface.
v1.6 · B3. On-Demand Retrieval over Bulk Loading**Status:** [Y] Implemented. Memory files are searchable via semantic search. The system prompt injects only a curated subset: - Core identity (SOUL.md) — always loaded (~1K tokens) - Today's memory file — always loaded (~1–3K tokens) - Yesterday's memory file — always loaded (~1–3K tokens) - Tool guidance (TOOLS.md) — always loaded (~2K tokens) - Everything else — retrieved on demand via `memory_search()`
v1.7 · B3. On-Demand Retrieval over Bulk Loading**Status:** [Y] Implemented for both surfaces. Memory files are searchable via semantic search; the system prompt injects only a curated subset: - Core identity (SOUL.md) — always loaded (~1K tokens) - Today's memory file — always loaded (~1–3K tokens) - Yesterday's memory file — always loaded (~1–3K tokens) - Tool guidance (TOOLS.md) — always loaded (~2K tokens) - Everything else — retrieved on demand via `memory_search()`
not in v1.6
v1.7 · B3. On-Demand Retrieval over Bulk LoadingThe skill/recipe catalog uses the same pattern: a thin router skill holds one-line pointers; the matcher selects and injects only the chosen framework's full body. This router pattern is itself convergent with how external skill collections are increasingly packaged — `addyosmani/agent-skills` (56.8k★) ships a discipline plugin where a slim index points at heavier per-topic skill bodies loaded only when matched, rather than concatenating every skill into the prompt; the catalog-eviction win above is the cost-accounting view of that same load-on-demand discipline.
v1.6 · B3. On-Demand Retrieval over Bulk Loading**Interaction effects:** Synergistic with B1 (caching) — smaller, more stable system prompt = better cache hit rate. Tension with completeness — the agent might miss relevant context that wasn't retrieved.
v1.7 · B3. On-Demand Retrieval over Bulk Loading**Interaction effects:** Synergistic with B1 (caching) — smaller, more stable system prompt = better cache hit rate, and any slab not evicted is at least cacheable (the tools-array breakpoint and the system-prefix boundary in B1). Tension with completeness — the matcher might miss relevant context that wasn't selected, the same recall risk memory search carries.
··· 28 unchanged paragraphs folded ···
not in v1.6
v1.7 · B6a. Content-Type-Specific Compression (Typed Compressors and Reversible Retrieval)#### B6a. Content-Type-Specific Compression (Typed Compressors and Reversible Retrieval)
not in v1.6
v1.7 · B6a. Content-Type-Specific Compression (Typed Compressors and Reversible Retrieval)**Mechanism:** B6 treats every tool output as opaque text — it stubs or summarizes a payload by its *position and age*, not its *structure*. This leaves savings on the table, because the largest tool outputs in an agent's context are usually highly structured: a JSON tool result, a code file, a diff, a log. A compressor that understands the structure can crush these far harder than a blind summarizer, and — crucially — can do so *reversibly*.
not in v1.6
v1.7 · B6a. Content-Type-Specific Compression (Typed Compressors and Reversible Retrieval)The most developed public instance is **headroom** (chopratejas, Apache-2.0, 24.7k★), a context-compression layer for agents whose core abstraction is **CCR — Compress, Cache, Retrieve**. CCR is convergent with B6 (surgical tool-output pruning) plus the "keep the original, retrieve on demand" half of B8, but it sharpens both. Two differences are mechanistically new for MYELIN:
not in v1.6
v1.7 · B6a. Content-Type-Specific Compression (Typed Compressors and Reversible Retrieval)1. **Reversible, lossless-on-recall.** Where B6 replaces an old output with a fixed stub (lossy, content gone) or a Haiku summary (a lossy gist), CCR caches the *original* out of band and lets the model retrieve the full content on demand. Compression is therefore lossless when the content turns out to matter — the failure mode of B6's stub ("the agent needed the bytes we threw away") does not exist. This is the same reversibility Claude Code's cache-pinned MicroCompact gestures at, taken to its logical end: don't delete, displace-and-index.
not in v1.6
v1.7 · B6a. Content-Type-Specific Compression (Typed Compressors and Reversible Retrieval)2. **Per-content-type compressors.** headroom ships a family of structure-aware compressors rather than one uniform replacement strategy — statistical JSON-array crushing (SmartCrusher), AST-aware code compression via tree-sitter, and dedicated log/diff/text handlers. This is a genuinely new dimension for us. Our B6 prunes by tool-type and age but compresses every payload as text; a typed compressor compresses by *structure*, which is why headroom can report much higher savings on JSON tool results and code than a text summarizer reaches.
not in v1.6
v1.7 · B6a. Content-Type-Specific Compression (Typed Compressors and Reversible Retrieval)**The reframing:** under this lens, **B6 is the degenerate (text-only) case of a typed compressor** — the handler you fall back to when the payload has no exploitable structure. The correct general design is a dispatch table keyed on content type (JSON → array crusher, code → AST compressor, diff/log → dedicated handler, everything else → B6's stub-then-summarize), with originals cached for reversible retrieval rather than discarded. We recommend B6 implementations expose this typed-dispatch interface and treat the text path as one branch among several.
not in v1.6
v1.7 · B6a. Content-Type-Specific Compression (Typed Compressors and Reversible Retrieval)**An alternative to rule-based Stage 1.** B6's Stage 1 is rule-based (fixed stub, no LLM). headroom also ships a *trained* compression model (Kompress-v2-base, on HuggingFace) and exposes itself as a proxy, an MCP server, and a library. A learned or LLM-judged compressor is a third option alongside our rule-based stub and Haiku-summary stages — a model that decides what to keep, rather than a regex. Whether the model's per-call cost is worth its higher compression ratio is exactly the kind of accuracy-vs-cost tradeoff our evaluation framework (Section 5, 9.2) should measure rather than assume.
not in v1.6
v1.7 · B6a. Content-Type-Specific Compression (Typed Compressors and Reversible Retrieval)**Status:** [Designed], not implemented. B6's text path is itself unimplemented (we still use blunt `/compress`); the typed-compressor generalization is a design target informed by headroom's shipping implementation.
not in v1.6
v1.7 · B6a. Content-Type-Specific Compression (Typed Compressors and Reversible Retrieval)**Interaction effects:** Strict generalization of B6 — every B6 interaction (synergy with B2, complement to B4) carries over. Synergistic with B8 (rolling window): CCR's cached-original-plus-retrieve is the same shape as B8's vector store, and a typed compressor feeding a retrieval store is a natural unification of the two. Tension with caching (B1): retrieval injects variable content per turn, so retrieved spans must live *after* the cache boundary, exactly as B8's retrieved turns do.
··· 111 unchanged paragraphs folded ···
v1.6 · 4.3 The Caching Stability Core**Ring 1 (Context Management):** B3 (memory search), B6 (surgical pruning), B7 (iterative compression), B8 (rolling window). These minimize context *without disturbing the prefix*.
v1.7 · 4.3 The Caching Stability Core**Ring 1 (Context Management):** B3 (on-demand catalog retrieval), B6/B6a (surgical and content-type-specific pruning), B7 (iterative compression), B8 (rolling window). These minimize context *without disturbing the prefix*.
··· 60 unchanged paragraphs folded ···
v1.6 · 7.1 Hermes Agent### 7.1 Hermes Agent
removed in v1.7
not in v1.6
v1.7 · 7.1 headroom (Closest Comparable System)### 7.1 headroom (Closest Comparable System)
not in v1.6
v1.7 · 7.1 headroom (Closest Comparable System)The single system most directly comparable to MYELIN is **headroom** (chopratejas, Apache-2.0, 24.7k★) — an open-source context-compression layer for agents. It is closer to our work than any other entry in this section, and we position against it directly.
not in v1.6
v1.7 · 7.1 headroom (Closest Comparable System)**What headroom shares with us.** Its core abstraction, **CCR (Compress, Cache, Retrieve)**, is convergent with our B6/B6a (surgical and typed compression) plus the retrieve-on-demand half of B8. It attacks the same problem we do — context that is paid for every turn but mostly unused — and it lands on the same answer: don't keep the raw payload in the live window, keep an index and fetch on demand.
not in v1.6
v1.7 · 7.1 headroom (Closest Comparable System)**What headroom has that we do not — and it is the right thing.** headroom ships a **reproducible eval suite** (`python -m headroom.evals`) reporting **60–95% token savings at ~0 accuracy delta on public benchmarks (GSM8K, TruthfulQA, SQuAD, BFCL)**. This is exactly the evidence MYELIN's two weakest admissions (Section 8.5) lack: we say "no degradation we have been able to observe" on an N=1 deployment with no controlled ablation; headroom reports a *measured* near-zero accuracy delta on standard benchmarks for a stateless compression layer. We do not contest that they have the stronger quality evidence on the slice they cover. We adopt their public-benchmark accuracy-delta protocol as the concrete instantiation of our Section 9.2 evaluation promise.
not in v1.6
v1.7 · 7.1 headroom (Closest Comparable System)**What MYELIN has that headroom does not.** headroom is a compression *library* — it optimizes one slab (tool/context payloads) on a stateless basis. It does not model the billing economics that dominate a persistent agent's actual bill: prompt-cache/prefix stability (B1/B5), flat-rate rate-limit pressure and the GREEN→CRITICAL cascade (Section 4.2), dual-account staggering and token-bucket pacing (D3/D4), batch-API arbitrage (E1), and temporal amortization of reflection (D2). None of these are addressable by a compression layer, and they are where most of our real savings — and all of our reliability wins (zero lockouts, no mid-week outages) — come from. The honest split: **headroom has benchmark-grade quality evidence on stateless compression; MYELIN has a longitudinal N=1 deployment, a 20-technique composition, and real flat-rate billing data they do not have.** The two are complementary, not competing — a typed CCR compressor (B6a) slotted beneath MYELIN's caching and billing machinery would be stronger than either alone. headroom also ships a trained compression model (Kompress-v2-base on HuggingFace) and proxy/MCP/library form factors, which we discuss in B6a as an alternative to our rule-based compression stages.
not in v1.6
v1.7 · 7.2 Open Agent-Skill Collections (addyosmani/agent-skills, marketingskills, Journey)### 7.2 Open Agent-Skill Collections (addyosmani/agent-skills, marketingskills, Journey)
not in v1.6
v1.7 · 7.2 Open Agent-Skill Collections (addyosmani/agent-skills, marketingskills, Journey)A second cluster of fresh open-source work is relevant not to compression but to B3 (on-demand catalog retrieval). These projects package agent capability as *catalogs* and increasingly converge on the load-on-demand discipline B3 formalizes for cost.
not in v1.6
v1.7 · 7.2 Open Agent-Skill Collections (addyosmani/agent-skills, marketingskills, Journey)- **`addyosmani/agent-skills`** (Addy Osmani, 56.8k★) is a discipline/skills plugin with substantial overlap (~70%) against the kind of skill libraries an agent like ours runs. Architecturally it is a slim index pointing at heavier per-topic skill bodies that load only when matched — the exact router pattern our catalog-eviction result (B3) quantifies in cost terms. It is the clearest external evidence that "don't concatenate every skill into the prompt" is becoming standard practice independent of any cost argument. - **`coreyhaines31/marketingskills`** (44 frameworks) is the catalog we used as the measured anchor for B3's generalization: vendored and fronted by a ~130-token router skill in place of ~915 tokens of always-loaded descriptions, a ~7× reduction on that prefix slab with no loss of reach. It is both related work and a data point. - The **Journey registry** distributes complete agent workflows ("kits") rather than single skills. Its relevance to MYELIN is that a kit is a heavier always-loaded unit than a skill, which sharpens the case for B3-style on-demand loading: the larger the catalog entry, the more a code-side matcher that injects only the winning body saves per turn.
not in v1.6
v1.7 · 7.2 Open Agent-Skill Collections (addyosmani/agent-skills, marketingskills, Journey)None of these projects address billing or caching directly; their contribution to this paper is empirical confirmation that the always-loaded prefix is composed of independently evictable catalog slabs, and that the router-over-bulk-load pattern is converging across the ecosystem.
not in v1.6
v1.7 · 7.3 Hermes Agent### 7.3 Hermes Agent
··· 3 unchanged paragraphs folded ···
v1.6 · 7.4 MemGPT### 7.2 MemGPT
v1.7 · 7.4 MemGPT### 7.4 MemGPT
··· 2 unchanged paragraphs folded ···
v1.6 · 7.5 OpenClaw### 7.3 OpenClaw
v1.7 · 7.5 OpenClaw### 7.5 OpenClaw
··· 2 unchanged paragraphs folded ···
v1.6 · 7.6 Prompt Caching Literature### 7.4 Prompt Caching Literature
v1.7 · 7.6 Prompt Caching Literature### 7.6 Prompt Caching Literature
··· 1 unchanged paragraph folded ···
v1.6 · 7.7 FrugalGPT and LLM Cascades### 7.5 FrugalGPT and LLM Cascades
v1.7 · 7.7 FrugalGPT and LLM Cascades### 7.7 FrugalGPT and LLM Cascades
··· 2 unchanged paragraphs folded ···
v1.6 · 7.8 Process Supervision and Reasoning Economics### 7.6 Process Supervision and Reasoning Economics
v1.7 · 7.8 Process Supervision and Reasoning Economics### 7.8 Process Supervision and Reasoning Economics
··· 1 unchanged paragraph folded ···
v1.6 · 7.9 Cost Optimization in ML Systems### 7.7 Cost Optimization in ML Systems
v1.7 · 7.9 Cost Optimization in ML Systems### 7.9 Cost Optimization in ML Systems
··· 1 unchanged paragraph folded ···
v1.6 · 7.10 The Claude Code Source Exposure (March 2026)### 7.8 The Claude Code Source Exposure (March 2026)
v1.7 · 7.10 The Claude Code Source Exposure (March 2026)### 7.10 The Claude Code Source Exposure (March 2026)
··· 24 unchanged paragraphs folded ···
v1.6 · 8.5 Limitations**Quality measurement is weak.** We claim no quality degradation but haven't rigorously measured it. SyncScore and task completion rate are proxies, not ground truth.
removed in v1.7
not in v1.6
v1.7 · 8.5 Limitations**Quality measurement is weak.** We claim no quality degradation but haven't rigorously measured it. SyncScore and task completion rate are proxies, not ground truth. This is the gap headroom (§7.1) closes for stateless compression with a reproducible public-benchmark accuracy-delta suite; we have adopted that protocol as a future-work commitment (§9.2) but have not yet run it. Until we do, our quality claim is observational, not measured — headroom's is measured, and on the compression slice we should be held to the same bar.
··· 10 unchanged paragraphs folded ···
v1.6 · 9.2 Rigorous EvaluationA future revision will add: - Controlled ablation studies for each technique category - Statistical analysis with confidence intervals - Quality metrics (SyncScore, task completion) with before/after comparison - Cache hit rate instrumentation for precise measurement
removed in v1.7
not in v1.6
v1.7 · 9.2 Rigorous EvaluationA future revision will add: - Controlled ablation studies for each technique category - Statistical analysis with confidence intervals - Quality metrics (SyncScore, task completion) with before/after comparison - Cache hit rate instrumentation for precise measurement - **A public-benchmark accuracy-delta protocol, borrowed from headroom (§7.1).** Our weakest claim is "no degradation we have been able to observe," resting on a single deployment. headroom demonstrates a concrete, reproducible alternative: run the candidate configuration against standard benchmarks (GSM8K, TruthfulQA, SQuAD, BFCL) with and without each context-economics technique, and report the accuracy delta directly. This converts our subjective "no degradation observed" into a measured number for the techniques where it applies (B3, B4, B6, B6a, B8) — the compression/retrieval levers whose quality risk is exactly what a benchmark can isolate. The billing and reliability techniques (B1, D3, D4, E1) are not benchmark-measurable in this way and remain the province of our production data.
··· 14 unchanged paragraphs folded ···
v1.6 · Appendix A: Technique Summary Table| # | Technique | Category | Status | Est. Savings | |---|-----------|----------|--------|--------------| | A1 | Model routing by complexity | Model Routing | [Impl.] | 25–40% automated | | A2 | Extended thinking control | Model Routing | [Impl.] | $5–10/day equiv. | | A3 | Cross-model delegation | Model Routing | [Impl.] | Variable | | B1 | System prompt caching | Context Econ. | [Impl.] | $8–10/day | | B2 | Aggressive session management | Context Econ. | [Impl.] | 2–4× per turn | | B3 | Memory search over bulk loading | Context Econ. | [Impl.] | 80–95% context | | B4 | Context compaction | Context Econ. | [Impl.] | 60–80% context | | B5 | Frozen snapshot injection | Context Econ. | [Designed] | CHR 65%→90%+ | | B6 | Surgical tool output pruning | Context Econ. | [Designed] | 30–40% context | | B7 | Iterative summary compression | Context Econ. | [Designed] | 5–15K tokens | | B8 | Rolling window + vector retrieval | Context Econ. | [Designed] | Fixed context cap | | B9 | Mid-context reinjection | Context Econ. | [Designed] | Indirect | | C1 | Silent reply (NO_REPLY) | Output Econ. | [Impl.] | $5–8/day | | C2 | Thinking control (output) — *output-side view of A2* | Output Econ. | [Impl.] | (see A2) | | D1 | Cron priority tiers | Temporal Amort. | [Impl.] | 15–20% automated | | D2 | Background review agent | Temporal Amort. | [Designed] | 80% reflection | | D3 | Dual-account staggering | Temporal Amort. | [Impl.] | Eliminates outages | | D4 | Token bucket pacing | Temporal Amort. | [Impl.] | Prevents lockouts | | E1 | Batch API for non-interactive | Billing Arbitrage | [Impl.] | 50% on batch work | | E2 | Sub-agent fresh context | Billing Arbitrage | [Impl.] | $1–3/delegation | | F1 | Security scanning on mem writes | Security | [Designed] | Indirect |
v1.7 · Appendix A: Technique Summary Table| # | Technique | Category | Status | Est. Savings | |---|-----------|----------|--------|--------------| | A1 | Model routing by complexity | Model Routing | [Impl.] | 25–40% automated | | A2 | Extended thinking control | Model Routing | [Impl.] | $5–10/day equiv. | | A3 | Cross-model delegation | Model Routing | [Impl.] | Variable | | B1 | System prompt caching | Context Econ. | [Impl.] | $8–10/day | | B2 | Aggressive session management | Context Econ. | [Impl.] | 2–4× per turn | | B3 | Memory search over bulk loading | Context Econ. | [Impl.] | 80–95% context | | B4 | Context compaction | Context Econ. | [Impl.] | 60–80% context | | B5 | Frozen snapshot injection | Context Econ. | [Designed] | CHR 65%→90%+ | | B6 | Surgical tool output pruning | Context Econ. | [Designed] | 30–40% context | | B6a | Content-type-specific compression | Context Econ. | [Designed] | 60–95% on structured outputs | | B7 | Iterative summary compression | Context Econ. | [Designed] | 5–15K tokens | | B8 | Rolling window + vector retrieval | Context Econ. | [Designed] | Fixed context cap | | B9 | Mid-context reinjection | Context Econ. | [Designed] | Indirect | | C1 | Silent reply (NO_REPLY) | Output Econ. | [Impl.] | $5–8/day | | C2 | Thinking control (output) — *output-side view of A2* | Output Econ. | [Impl.] | (see A2) | | D1 | Cron priority tiers | Temporal Amort. | [Impl.] | 15–20% automated | | D2 | Background review agent | Temporal Amort. | [Designed] | 80% reflection | | D3 | Dual-account staggering | Temporal Amort. | [Impl.] | Eliminates outages | | D4 | Token bucket pacing | Temporal Amort. | [Impl.] | Prevents lockouts | | E1 | Batch API for non-interactive | Billing Arbitrage | [Impl.] | 50% on batch work | | E2 | Sub-agent fresh context | Billing Arbitrage | [Impl.] | $1–3/delegation | | F1 | Security scanning on mem writes | Security | [Designed] | Indirect |
··· 9 unchanged paragraphs folded ···
not in v1.6
v1.7 · References- Chopra, T. (2026). headroom: Reversible context compression for agents (CCR — Compress, Cache, Retrieve). Open-source project, Apache-2.0, ~24.7k★. https://github.com/chopratejas/headroom. Eval suite `python -m headroom.evals`; trained compressor Kompress-v2-base on HuggingFace. Cited as the closest comparable system (§7.1). - Osmani, A. (2026). agent-skills: Discipline and skills plugin for coding agents. Open-source project, ~56.8k★. https://github.com/addyosmani/agent-skills. Cited for load-on-demand skill-catalog packaging (§7.2). - Haines, C. (2026). marketingskills: 44 marketing frameworks as agent skills. Open-source project. https://github.com/coreyhaines31/marketingskills. Used as the catalog-eviction measurement anchor for B3 (§7.2). - Journey registry (2026). Distributed agent-workflow "kits." Cited for catalog-granularity on-demand loading (§7.2).
not in v1.6
v1.7 · References---
··· 1 unchanged paragraph folded ···
Changed paragraphs in the same form, for scripts: JSON
· Markdown