Repository navigation
Context document: index view, narrowed ?model=/?terms=, census behind include=check - #46
Merged
Merged
Conversation
…rms=, census behind include=check Measured on a 42-export / 47-dataset cell: GET /context was 429 KB and the narrow doors carried every export body alongside the requested key. - exports[] index projection: route, name, description, grain, query/binding, columns (names), semantic_datasets — no schema map, check, probe, semantic bodies - ?view=index / datamk context --view index / MCP datamk://<mount>/context/index; index_request affordance; ~index ETag component - ?model= and ?terms= without a route carry the projection; /context/<route>?terms= unchanged - check.columns (per-column census) served only under ?include=check; rollup stays; portable emission inlines it; included lists check like docs - full /context, its digest and ETag unchanged; datamk_context stays 4 Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KLsmJHt8RwDUfoN7iaemBy
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.
Why
Measured on the 42-export / 47-dataset ape cell on v0.0.29:
GET /contextis 429 KB compact and agents refuse it. The narrow doors were the largest responses on the server because they carried every export body alongside the requested key:?model=467 KB for a 38 KB model,?terms=431 KB for 1.4 KB of matches. Per-route documents were fine (max 23 KB).What
exports[]:route,name,version,contract,visibility,description,grain,freshness,query/binding,from, pluscolumns(declared names only) andsemantic_datasets(model/datasetbound to the route). Noschemamap,check,probe,semantic[]bodies, or docs content.GET /context?view=index,datamk context --view index, MCPdatamk://<mount>/context/index.index_requestaffordance on every document.~indexETag component. Refused on/context/<route>.?model=and?terms=without a route carry the projection instead of the fullexports[]./context/<route>?terms=keeps the route's full export.check.columns(the per-column census from verify: measure bound-export columns and warn when prose contradicts the data #42) is served only under?include=check; the rollup stays on every record; the portabledatamk contextemission still inlines it;includedlistscheckthe way it listsdocs.~checkETag component./context, its digest and ETag are unchanged. Same schema throughout;datamk_contextstays 4. ADR 0012 §4, 0017 §2 and 0018 §7 get dated amendment blocks; guides and CHANGELOG updated.Measured
Synthetic cell, 40 exports × 30 columns × one bound Ossie dataset each (size test in
serve::smoke):/context/context?view=index/context?model=<m>Tests: 914 unit + 33 integration, clippy clean.
🤖 Generated with Claude Code
https://claude.ai/code/session_01KLsmJHt8RwDUfoN7iaemBy