docs(adr): Context Architecture v2 — lifecycle, projection, typed memory (#3192) - #3203
Closed
mabry1985 wants to merge 2 commits into
Closed
docs(adr): Context Architecture v2 — lifecycle, projection, typed memory (#3192)#3203mabry1985 wants to merge 2 commits into
mabry1985 wants to merge 2 commits into
Conversation
…ory (#3192) Governing ADR for the Context Architecture v2 initiative (#3184). Establishes four invariants: (D1) durable state separate from model-visible projection, (D2) typed memory axes on one physical backend, (D3) four context layers with stable ordering, (D4) one semantic runtime contract. Includes Phase 0 characterization fixtures (11 tests documenting the current Chunk fields, compose_context contract, and context_frame_message shape) and a changelog fragment. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WEMxBi71vjtmmmziFCMcby
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: trueThanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
The ADR and compose_context docstring still referenced `before_model`, which was replaced by `before_agent` in knowledge.py. Also add prior-sessions cache bypass to test_compose_context_returns_context_keys so it never touches the real filesystem, matching the other compose_context tests. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WEMxBi71vjtmmmziFCMcby
Member
Author
|
Duplicate — work consolidated on #3204. |
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
Governing ADR (0107) for the Context Architecture v2 initiative, the gate for all implementation work under #3184.
memory_kind,subject,review_state,expires_at) provide orthogonal classification whiledomainstays as a topic bucket.Also includes:
tests/test_context_characterization.py, 11 tests) documenting today'sChunkfields,compose_contextreturn contract, andcontext_frame_messageshapeResolves #3192 · Tracker: #3184
Test plan
ruff check .passespython -m pytest tests/test_context_characterization.py -q— 11 passed🤖 Generated with Claude Code
https://claude.ai/code/session_01WEMxBi71vjtmmmziFCMcby