From 1458ec8f7853918d0bf4386b4b211210d3bb9f63 Mon Sep 17 00:00:00 2001 From: rlippmann <70883373+rlippmann@users.noreply.github.com> Date: Wed, 18 Mar 2026 15:10:59 -0400 Subject: [PATCH 1/2] docs: clarify exclusive fact overwrite behavior and link design issue --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index 2a73b33..ec1bbc2 100644 --- a/README.md +++ b/README.md @@ -184,6 +184,20 @@ Richer schemas may be introduced in future releases. Identical input sequences always produce identical compiler state. LLM responses may still vary unless deterministic decoding is used by the host. +Example: + +```text +User: use tofu +User: use corn oil +``` + +Result: +facts.focus.primary = "corn oil" + +Because `focus.primary` is an exclusive slot, later `use ...` directives replace earlier values. + +This may differ from human expectations, where the intent may be interpreted as additive (e.g., ingredient + cooking medium). The current schema models a single focus value. See [issue #45](https://github.com/rlippmann/context-compiler/issues/45) for discussion. + --- ## Directive Examples From 11a4184fd8db428253fd03b0f284f94e63dbd1af Mon Sep 17 00:00:00 2001 From: Robert Lippmann Date: Wed, 18 Mar 2026 15:13:47 -0400 Subject: [PATCH 2/2] chore: bump version to 0.4.2 --- pyproject.toml | 2 +- uv.lock | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 31c13a9..3b44dc8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "context-compiler" -version = "0.4.1" +version = "0.4.2" description = "Deterministic conversational state engine for LLM applications." readme = "README.md" requires-python = ">=3.11" diff --git a/uv.lock b/uv.lock index dba7c46..a9314fd 100644 --- a/uv.lock +++ b/uv.lock @@ -53,7 +53,7 @@ wheels = [ [[package]] name = "context-compiler" -version = "0.4.1" +version = "0.4.2" source = { editable = "." } [package.optional-dependencies]