You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
remember (plain path): --type silently normalized to fact — contract break for typed writers #1302
Expected: either store the requested type (decision is a valid type on the ROOM path) or reject the call with an explicit error listing the supported values for this path. Silent fallback breaks the caller's data model contract.
Discovered while validating tole #143 (memory-loop decision typing): tole sends --type decision (unit-pinned in tole's argv contract) and the write lands with memory_type: fact; only the wrote tag survives as the discriminator.
Why (the problem you're solving)
Honest-data principle: a caller that asks for a specific type must be able to trust what it reads back. Silent normalization makes "recall every decision" queries (the whole point of typing) impossible to express reliably, and the mismatch is invisible at write time.
Room-path control: uteke remember --room X --type decision is accepted per the documented room-type vocabulary — the gap is specific to the plain namespace path (or its schema mapping).
Environment: CLI /opt/data/.local/bin/uteke (build 2026-09-29, thin HTTP client → server at :8767 answers {"status":"ok"}). uteke-core already parses/serializes decision (memory/types.rs), so the downgrade is happening server-side on the plain /remember path (the room path honors it).
Suspect: the server's remember handler maps the incoming type through a narrower enum than the room path (or validates against a vocabulary that predates decision) and silently defaults to fact. Suggested fix: server accepts the full MemoryType vocabulary on the plain path (parity with rooms) — or rejects unknown values loudly instead of defaulting.
Activity
ajianaz commentedon Oct 1, 2026
Revalidation after the owner's fix (2026-10-01 ~14:25 WIB): still reproduces on the plain namespace path.
uteke remember "ISOLATION-TEST-3 decision typing revalidation" --namespace repo-mem-e2e --type decision ...→ stored asmemory_type: fact(id01a0f65c-039, tags[test, isolation-3]).tole,session,wrote) — sent with--type decision— also lands asfact./opt/data/.local/bin/uteke(build 2026-09-29, thin HTTP client → server at :8767 answers{"status":"ok"}).uteke-corealready parses/serializesdecision(memory/types.rs), so the downgrade is happening server-side on the plain/rememberpath (the room path honors it).Suspect: the server's remember handler maps the incoming type through a narrower enum than the room path (or validates against a vocabulary that predates
decision) and silently defaults tofact. Suggested fix: server accepts the fullMemoryTypevocabulary on the plain path (parity with rooms) — or rejects unknown values loudly instead of defaulting.test(server): pin type validation coverage on the contradiction arm (#…