Skip to content

Ops that Agent.call reaches treat its identity sentinel "-" as unset - #121

Merged
zlareb1 merged 38 commits into
mainfrom
fix/identity-sentinels-read-as-unset
Oct 21, 2026
Merged

zlareb1 merged 38 commits into
mainfrom
fix/identity-sentinels-read-as-unset

Conversation

@zlareb1

@zlareb1 zlareb1 commented Oct 21, 2026 •

Copy link
Copy Markdown
Member

Changelog category (leave one):

  • Bug Fix (user-visible misbehavior in a release)

Changelog entry (one or two sentences a user of Loom can read without the diff; the release pull request collects these into the release notes):

Reads and revisions that Agent.call(...) reaches now treat the identity sentinel "-" it stamps for user_id, session_id and run_id as unset: memory.search, memory.search_trace, memory.update, context.pack startup recall, conversation.list / search / update, memory.digests, memory.export_evidence, memory.search_trace_log, cost.summary, run.list and run.grade no longer narrow to rows written with no user, session or run (or refuse the call), memory.outcome_run with run_id: "-" and no keys applies nothing instead of crediting every search made outside a run, and run.begin with run_id: "-" opens a run with a server-made id. memory.update and run.list also read agent: "*" as every agent. A startup context.pack (no query) that leaves user_id / session_id out, whose wire default is "-", now reads across users and sessions as its query path already did; the token's read scope still bounds it.

Why

Both SDKs' Agent.call stamp "-" for user_id, session_id and run_id when the call names none; the TypeScript Agent.recall() and Python's generated RunOps.begin go through that path. Several ops compared those fields exactly, so a call that named nothing read only the sentinel rows:

  • memory.search mapped "-" to unset for user_id and session_id (pin_read_filters) but not for run_id, so every leg added run_id = '-' and served only rows written outside any run. memory.search_trace reads through the same filters. memory.ask and the context.pack query path already map the sentinel before they search.
  • memory.update resolves its key across the namespace unless an identity field narrows it, and it narrowed on any non-empty value: "-" matched only rows written with no user and no session, and agent: "*" became agent = '*'. The typed Python helper worked only because it sends "".
  • context.pack startup recall (mode: "startup", no query) passed user_id / session_id to list_by_namespace, which compares every axis but * exactly. With the session axis open, every session's observe.record rows would fill its k*2 window and be dropped after it, so list_by_namespace now takes exclude_transcripts and exclude_memory_types: the recall leaves transcripts out in the statement, and across sessions also the types an unfiltered memory.search leaves out.
  • conversation.list and conversation.search filtered on run_id = '-' (and search on user_id = '-'), although both fields are documented as None = no filter. conversation.update overwrote the thread's run_id with "-" on a title-only update, and a body with only the stamped run_id passed the "at least one field" check.
  • memory.digests defaults session_id to "*" (every session), but the stamped "-" became session_id = '-'. memory.export_evidence did the same with its optional session_id, and cost.summary filtered on user_id = '-' (and fell to the slower events scan). memory.search_trace_log documents run_id "" as every run but filtered on '-'.
  • memory.outcome_run with no memory_keys derives the keys from the search trace log under its run_id. The stamped "-" matched every search made outside a run, so one call recorded up to max_keys harm / evidence / used events on those memories.
  • run.list filtered on session_id = '-', and agent: "*" matched no run. run.grade needs exactly one of run_id / session_id; through Agent.call the other one arrived as "-", so every call was refused.
  • run.begin minted an id only when run_id was empty, so "-" was claimed as the run id: every later begin re-opened the same - row and kept its started_at, and other users got an id derived from it.
  • The Python ReferenceClient sent an open run's run_id on every memory.* call, reads included; it now leaves it off recall reads (RECALL_READ_PATHS), where it filters, and labels those reads with X-Loom-Run-Id per call through a new extra_headers argument on Transport.post_with_meta, so the ledger still counts them and an injected or shared transport keeps its own hook.
  • The next hint run.begin returns, its MCP tool description (core and atomic toolsets), the runs page and the Python RunClient.begin docstring and module example said to pass run_id on memory.search and memory.ask, where a body run_id filters to the run's own rows. They now name the writes whose run_id joins the ledger (memory.set, memory.update, observe.record) and say reads are labelled by the X-Loom-Run-Id header over HTTP (run_scope in the SDK), and that over MCP reads are labelled with the session's own run, not the one just opened.

Each fix is at the op's own read: memory.search and memory.search_trace clear the sentinel where they pin their read filters, _live_rows_for_key in server/memory/app/update.py, _pack_startup_recall in server/memory/app/context_pack.py, handle_conversation_list / handle_conversation_search / handle_conversation_update, handle_memory_digests, handle_run_list, the RunGradeInput validator and handle_run_begin. The filter sites, the memory.ask, memory.recall, memory.outline, session.brief_* and conversation-thread handlers, decision.record, run_next_hint, the ledger run label, MCP run stamping and read-scope cleaning share named(value, wildcard=) in server/core/naming.py (unset: empty or "-", and "*" with wildcard). The MCP transport no longer stamps the session run on conversation.update (server/transport/mcp_runs.py): a thread's run_id is its binding, so an update that names none keeps it.

Audit: ops Agent.call reaches with a stamped "-"

Op Identity on the read Verdict
memory.search, memory.search_trace run_id filter fixed here
memory.update agent, user_id, session_id narrow the key fixed here ("*" unset for agent only, as in memory.ask)
context.pack memories section: user_id, session_id startup recall fixed here; query path already mapped "-". Its memory_stack section reads through memory.stack, exact by design (below)
conversation.list, conversation.search run_id (and user_id on search) fixed here
conversation.update run_id (None = keep) fixed here: None or "-" keep the thread's run, "" detaches it
memory.digests, memory.export_evidence session_id fixed here
cost.summary user_id fixed here (a narrowed token still has its user pinned by the transport)
memory.search_trace_log run_id, agent fixed here (agent "*" or "-" reads every agent, as its field text says)
memory.outcome_run run_id chooses the keys an outcome lands on fixed here: "-" names no run, so no keys
run.list, run.grade, run.begin session_id and agent ("*" also every one) / target / id fixed here
memory.ask, memory.recall, memory.outline (profile lookup), session.brief_*, profile.render user_id, session_id, run_id already map "-" to unset
conversation.get, conversation.threads agent "*" / "-" already read every agent
run.get, run.complete, decision.outcome, decision.chain, facts.*, knowledge.* reads, memory.timeline none (addressed by id, or identity is a write label) not a filter
procedure.match, decision.precedents go through memory.search and forward no run_id (procedure.match forwards user_id, which pin_read_filters already cleans) not affected
memory.clear user_id, agent choose what is tombstoned its own rule (from main): "*" opens an axis, "-" alone is refused, and "-" beside a named axis stays a literal scope, so a stamped "-" never widens a clear
memory.apply (filter target), memory.consolidate, observe.crystallize the identity tuple chooses the rows a bulk revise touches exact on purpose: a stamped "-" narrows a bulk write to the no-user rows, never widens it across users
memory.outcome (by memory_key) agent, user_id resolve the key exact by design, a point lookup like memory.get; a caller holding a key another user wrote passes its memory_id from the search hit
memory.list, memory.get, memory.stack, memory.history, memory.evidence, memory.provenance, memory.bulk_get, memory.related, memory.aggregate, working_memory.*, profile.set / structured, procedure.list / locate, conversation.save_message and the saved-message reads (search_saved_messages shares the search path but keeps its owner user_id exact), conversation.delete / compact, task.* the identity is the row's address or owner exact by design: "-" is the row with no user or session

The ops whose agent defaults to "*" (procedure.match / list / locate, decision.precedents) see the caller's own rows under Agent.call, which stamps the caller's agent name; a caller passes agent: "*" to read every agent's. That is the stamped name, not the sentinel, so it is left as is.

Scope and risk

  • No stored data changes. run.begin writes rows as before, under a server-made id where it used to write -; conversation.update no longer overwrites a thread's run with -.
  • A caller that sent "-" on purpose to mean "the rows with no user / session / run" on one of the fixed reads now reads every user / session / run. Each of these fields described itself as a filter whose unset value reads everything.
  • Break: conversation.update with run_id: "-" used to detach a thread from its run (the reference said "'-' for none"); it now keeps the run, because Agent.call stamps "-" on every update. A caller detaches with run_id: "" (the Python conversations.update docstring says so).
  • A caller that sent user_id: "-" or session_id: "-" to memory.update to pick the no-user row now resolves across identities. When several identities hold the key it gets 409 AMBIGUOUS_KEY with the candidates, never a silent write to another row.
  • Searches sent through Agent.call or the TypeScript Agent.recall() now also run the entity-summary leg, which opens only when no run filter is set (server/memory/app/search/side_legs.py), so they can return entity-summary hits as the typed SDK path already did. Their search trace rows record the transport's run label instead of a literal -.
  • Tenant isolation is unchanged: every touched read still binds the token's (org, namespace) and the request's read scope (memory.update is not served to a token narrowed below the namespace; the startup recall and conversation reads still carry request_scope()).
  • memory.list and the other exact-match reads in the audit table are left alone.

Compatibility, rollout and rollback

  • Wire: no field added or removed. Python SDK: Transport.post_with_meta takes an optional extra_headers. The ReferenceClient passes it only on a recall read under an open run, and only to a transport whose post_with_meta accepts it; a caller's own transport without it keeps working, with those reads unlabelled. Fields that now read "-" as unset: memory.search.run_id, memory.search_trace.run_id, memory.update.agent / user_id / session_id (and agent "*"), conversation.list.run_id, conversation.search.run_id / user_id, conversation.update.run_id, memory.digests.session_id, memory.export_evidence.session_id, memory.search_trace_log.run_id, memory.outcome_run.run_id (no keys), cost.summary.user_id, run.list.session_id / agent (and "*"), run.grade.run_id / session_id; run.begin.run_id "-" mints an id. The run.begin next text, its MCP description and the AMBIGUOUS_KEY message changed. Over MCP, conversation.update is no longer stamped with the session run. Field descriptions (including context.pack's user_id / session_id) and docs/reference/operations/{memory,run,conversation,cost,context}.md regenerated; docs/reference/mcp.md and docs/architecture/system-overview.md name the writes the transport does not stamp (run.*, code.*, working_memory.*, conversation.update); docs/concepts/identities-and-namespaces.md, docs/features/runs.md, docs/features/memory/writing.md and the search field table updated.
  • run.grade: a body naming both targets is still a 422 from the model; a body naming neither (after "-" is read as unset) is a 422 VALIDATION_FAILED from the handler, after the transport's read-scope gate, so a token bounded below the namespace still gets the gate's 403 first (tests/integration/test_read_scope_isolation.py).
  • Operator steps: none. Rows already written under run - stay as they are.
  • Rollback: a revert restores the literal filters and the - run id; nothing is left behind.

Tests

  • Unit, each written first and failing before its fix:
    • tests/unit/test_search_run_sentinel.py: _resolve_search_input and memory.search_trace with run_id="-" carry no run filter; a named run still does ('-' != None before).
    • tests/unit/test_update_identity_sentinels.py: _live_rows_for_key binds no identity predicate for "-" (or agent "*"), keeps user_id / session_id "*" literal, and binds a named value. The in-memory store fake (tests/unit/memory_store.py) mirrors the predicate.
    • tests/unit/test_run_ledger.py: run.begin with run_id="-" gets a 32-hex server-made id and claims nothing; the next hint names memory.set and observe.record for run_id, not the reads, and names X-Loom-Run-Id.
    • tests/unit/test_context_pack_startup.py: the startup recall reads "-" as * per axis and keeps a named user or session, and asks the store to leave transcripts (and, across sessions, the unfiltered-search exclusions) out before its limit.
    • tests/unit/test_reference_client.py: an open run stamps memory.set, leaves memory.search / memory.ask bodies without run_id, and labels them with X-Loom-Run-Id.
    • tests/analyzer/shapes.txt regenerated; tests/analyzer passes against a private ClickHouse.
    • tests/unit/test_identity_sentinel_reads.py: conversation.list, conversation.search (substring path), conversation.update (None / "-" keep the thread's run, "" detaches it, a sentinel-only body is a 400), conversation.search_saved_messages keeps user_id "-" exact, memory.digests, memory.export_evidence, memory.search_trace_log, memory.outcome_run (no trace-log read, nothing applied), cost.summary, run.list and run.grade.
    • tests/unit/test_mcp_session_runs.py: the MCP transport does not stamp the session run on conversation.update.
  • Integration, tests/integration/test_identity_sentinels.py (unique_org, mint_test_token), against a private ClickHouse and a server from this branch, all through Agent.call: search with the stamped run_id returns a row written inside a run and a named run_id still narrows; memory.update updates a row written under another user and session; a startup context.pack returns a memory written under another user and session; two run.begin calls get two distinct ids; a fact followed by twelve observe.record transcripts and a reflection is still served by a startup pack, for a named session and for "-". With the store's transcript exclusion removed the named-session leg fails; with the cross-session type exclusion removed the "-" leg fails. With each server-side fix reverted, its test failed: search {'deploy:freeze'} != {'deploy:freeze', 'deploy:window'}, update (False, 'not_found') != (True, ''), startup pack 'Deploys go out on Tuesday.' in '', run.begin '-' not in ('-', '-').
  • tests/integration/test_read_scope_isolation.py passes against a server from this branch merged with main (it failed with {'run.grade': 422} while the no-target check sat in the model validator). tests/unit/test_graded_runs.py moves its no-target case to the handler for the same reason.
  • make format lint typecheck pass. The full unit suite passes locally at the merged head except tests/unit/test_profile_redaction.py, which fails here on a clickhouse-local codec setting (enable_quantized_codec) and is unrelated to this diff; the test_context_pack and test_assistant_learnings failures main had are fixed by the merged Main's red tests follow the code they exercise, and an ignored agent_learnings ask is dropped from the request #139. Integration: test_identity_sentinels.py, test_read_scope_isolation.py, test_graded_runs_proposals.py, test_run_ledger.py, test_memory_lock.py and the touched-area subsets pass; tests/analyzer passes.
  • sdk/python/loom/run.py and agent.py change docstrings only, so the wheel smoke was not run locally.
  • The plugin's loom-mentor reference no longer tells agents to thread run_id through memory.search / memory.ask; both plugin manifests move to 1.2.1 (main is at 1.2.0; no other open PR bumps it). node --test integrations/claude-code-plugin/tests/*.test.mjs passes (408); claude plugin eval was not run here (the session's command guard refuses it).

AI assistance in the code (leave one; writing this description with AI is fine):

  • AI-generated (an agent wrote most of the diff): Claude Code. Each failing case was reproduced by a unit test and an integration test before the fix.

  • I can explain every line of this diff and how it interacts with the rest of Loom.

Checklist

  • make format-check, make lint, make typecheck and make test-unit pass; the integration suite passes if server behaviour changed. (Format, lint and typecheck pass locally; the unit and integration subsets above pass; CI's full unit and integration jobs are the run that proves the rest.)
  • Generated files are regenerated in this PR, not by hand: the SDK op tables, docs/reference/configuration.md and the docs/reference/ tables (python scripts/codegen/docs_reference.py), the reach manifest, schemas/schema.sql (make schema-dump) and the Codex plugin copies (python3 scripts/codegen/agent_plugin_sync.py).
  • Docs under docs/ describe the system as it now is, and this description names any operator steps and wire changes.
  • Repository text has no dates, people, host names, internal namespaces, ticket or decision numbers; the history goes in this description (tests/unit/test_public_copy.py).
  • Commits are signed off (git commit -s), as CONTRIBUTING.md asks.

🤖 Generated with Claude Code

… unset

Agent.call stamps "-" for user_id, session_id and run_id when a call names
none. memory.search filtered on run_id = '-' and so served only rows written
outside every run; memory.search_trace did the same. memory.update narrowed
its key resolution on any non-empty agent, user_id or session_id, so "-"
(and agent "*") matched only rows written with no user and no session.

Both now read "-" (and "*" for memory.update) as unset, as memory.ask and
context.pack already do.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: zlareb1 <[email protected]>
zlareb1 and others added 4 commits October 21, 2026 10:37
…dentity field

user_id and session_id "*" stay literal values, as in memory.ask. The
generated reference now describes how each field narrows the key, and the
AMBIGUOUS_KEY message says a row with no user or session is reached by id.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: zlareb1 <[email protected]>
…US_KEY hint

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: zlareb1 <[email protected]>
… for run_id

Agent.call stamps run_id "-", which run.begin claimed as the run id: every
later begin re-opened the same row. A supplied "-" now gets a server-made id.

The next hint and the SDK's RunClient docs said to pass run_id on
memory.search and memory.ask, where a body run_id filters to the run's rows.
They now name the writes, working memory and context.pack, and label reads
with the X-Loom-Run-Id header.

The integration search test polls with the shared eventually helper, and the
concept page scopes the read rule to the ops that follow it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: zlareb1 <[email protected]>
@zlareb1 zlareb1 changed the title memory.search and memory.update treat the SDK's identity sentinels as unset memory.search, memory.update and run.begin treat the SDK's identity sentinels as unset Oct 21, 2026
zlareb1 and others added 4 commits October 21, 2026 11:17
…he ledger

memory.set and observe.record carry a run onto the ledger; a body run_id on a
read filters. Over HTTP reads are labelled with X-Loom-Run-Id, over MCP with
the session's run. The MCP run.begin description, the SDK run docs and the
concept page say the same.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: zlareb1 <[email protected]>
The run.begin run_id description now leads with the mint rule, so the
generated reference names that empty or "-" mints an id.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: zlareb1 <[email protected]>
… unset

The identity sentinel Agent.call stamps narrowed these reads to rows written
with no user, session or run:

- context.pack startup recall compared user_id and session_id exactly.
- conversation.list and conversation.search filtered on run_id (and search on
  user_id) "-"; conversation.update overwrote the thread's run with "-".
- memory.digests filtered on session "-" instead of listing every session.
- run.list filtered on session "-" and agent "*"; run.grade refused every
  call that named one target, since the other arrived as "-".

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: zlareb1 <[email protected]>
@zlareb1 zlareb1 changed the title memory.search, memory.update and run.begin treat the SDK's identity sentinels as unset Reads and revisions treat the SDK's identity sentinel "-" as unset Oct 21, 2026
@zlareb1 zlareb1 changed the title Reads and revisions treat the SDK's identity sentinel "-" as unset Ops that Agent.call reaches treat its identity sentinel "-" as unset Oct 21, 2026
zlareb1 and others added 17 commits October 21, 2026 11:54
…sentinel

The conversation.search sentinel mapping moved out of the helper it shares
with conversation.search_saved_messages, whose user_id is the owner.
conversation.update keeps the thread's run for None or "-" and detaches it
for "". server.core.naming.named / named_one replace the per-site checks, and
the concept page states the rule for filters and for addresses.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: zlareb1 <[email protected]>
…entinel

The MCP transport stamped the session run on conversation.update, moving a
thread to it whenever an update named no run. A thread's run_id is its
binding, so the op joins the run-scoped ops the transport never stamps.

named(value, wildcard=) in server.core.naming replaces without_run_sentinel,
named_one and the inline copies. The run hints name memory.update among the
writes, and the SDK's conversations.update says "" detaches a thread.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: zlareb1 <[email protected]>
…er / session

cost.summary filtered on user_id "-" (and fell to the events scan); the
evidence export filtered on session "-". The MCP transport names
conversation.update as an exact op rather than a prefix, and the MCP
reference names the writes it does not stamp.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: zlareb1 <[email protected]>
…ads every run

A stamped run_id "-" made memory.outcome_run credit every search made outside
a run. memory.search_trace_log now reads "-" as every run, like the other run
filters. The ask handler and read-scope cleaning use named(), and the
call-site comments that repeated its docstring are gone.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: zlareb1 <[email protected]>
… stamp

decision, recall and run_next_hint use named(); read_scope drops its unused
SENTINEL. The system overview names the MCP writes left unstamped, the
outcome_run run_id description says it only matters without memory_keys,
and the startup-pack integration test polls.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: zlareb1 <[email protected]>
….* is listed

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: zlareb1 <[email protected]>
…d-scope gate

The model validator read a stamped "-" as no target and failed the body
before the transport's read-scope gate, so a token bounded to one user got a
422 where the gate refuses with 403. The model now rejects only a body naming
both targets; naming neither is refused by the handler.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: zlareb1 <[email protected]>
The update integration test also checks both updates landed on the writer's
row and kept its author.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: zlareb1 <[email protected]>
… call

Its run.begin text names writes for run_id and says reads carry the
session's run; its memory.ask text says a run_id narrows the ask. A unit
test pins both tiers. The Python SDK reference says run_scope labels reads
rather than filtering them.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: zlareb1 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: zlareb1 <[email protected]>
…s-read-as-unset

Signed-off-by: zlareb1 <[email protected]>

# Conflicts:
#	server/core/naming.py
…el checks use named()

The plugin's mentor reference told agents to thread run_id through
memory.search and memory.ask, which filters their reads; both plugin
manifests move to 1.1.3. recent_run_heads, decision.outcome and
memory.update's revision run use named(), and Agent.run_scope's docstring
says it labels reads rather than stamping them.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: zlareb1 <[email protected]>
zlareb1 and others added 12 commits October 21, 2026 15:34
…s-read-as-unset

Signed-off-by: zlareb1 <[email protected]>

# Conflicts:
#	integrations/claude-code-plugin/.claude-plugin/plugin.json
#	integrations/codex-plugin/.codex-plugin/plugin.json
…hpad uses named()

Reads inside a run_scope are labelled with the run through X-Loom-Run-Id;
a note reaches memory.ask only through a body run_id, which also filters.
cost.summary reads its user filter once.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: zlareb1 <[email protected]>
…ce client stamps only writes

With the session axis open, every session's observe.record rows filled the
startup recall's k*2 window and were dropped after it, leaving only pins.
list_by_namespace takes exclude_transcripts and exclude_memory_types, and
the startup recall leaves out transcripts, and across sessions the types an
unfiltered search leaves out, in the statement. The reference client no
longer sends run_id on reads, where it filters to the run's own rows.
gates.present uses named().

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: zlareb1 <[email protected]>
… tested end to end

ReferenceClient installs a transport hook that sends an open run's id as
X-Loom-Run-Id on reads, so the ledger still counts them. An integration case
writes a fact, then a dozen transcripts and a reflection, and checks the
startup pack still serves the fact for a named session and for "-"; each
leg fails with its exclusion removed. The analyzer drives the new
list_by_namespace predicates, and the Python transcript filter the store
now applies is gone.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: zlareb1 <[email protected]>
…ransport hook

Transport.post_with_meta takes extra_headers; the reference client passes
X-Loom-Run-Id on recall reads under an open run, so an injected or shared
transport keeps its own hook and no client labels another's reads. The
conversation.update 400 says how to keep or detach the run.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: zlareb1 <[email protected]>
…s-read-as-unset

Signed-off-by: zlareb1 <[email protected]>

# Conflicts:
#	tests/analyzer/shapes.txt
…ference client passes extra_headers only with a label

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: zlareb1 <[email protected]>
…reads only through a transport that takes extra_headers

ContextPackInput describes user_id and session_id as the pack reads them. A
caller's own transport without extra_headers keeps working under an open run:
its reads go out unlabelled instead of failing.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: zlareb1 <[email protected]>
@zlareb1
zlareb1 merged commit 49b3d35 into main Oct 21, 2026
22 checks passed
@zlareb1
zlareb1 deleted the fix/identity-sentinels-read-as-unset branch October 21, 2026 18:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant