Skip to content

feat(core,server,mcp): caller validity in columns on remember/update (#1598) - #1658

Merged
ajianaz merged 1 commit into
developfrom
feat/validity-columns-wire-1598
Nov 4, 2026
Merged

ajianaz merged 1 commit into
developfrom
feat/validity-columns-wire-1598

Conversation

@ajianaz

@ajianaz ajianaz commented Nov 4, 2026 •

Copy link
Copy Markdown
Collaborator

What

POST /remember, PUT /memory and MCP uteke_remember/uteke_update accept valid_from/valid_until (RFC 3339) and store them in the columns at reads. Invalid values, from >= until, or (on remember) an end at or before the write time without a start, give 400 and write nothing. The metadata copy on /remember stays for one release. uteke remember --valid-* now goes through a running server. export writes both columns and import reads them (old files start at created_at; an inverted end is dropped).

Why

Amendment 3 of kontrak-core-cloud (uteke-cloud#458, owner order 2026-11-03), part of #1598. The design doc does not call for a backfill of rows that hold the values only in metadata (free text, not always a valid interval), so none is added.

Testing

  • New unit tests: decode (typed + metadata copy, bad values), remember_exec columns, HTTP remember/update incl. 400/404, MCP remember/update, export/import round trip.
  • cargo clippy --workspace --all-targets -- -D warnings clean; cargo test --workspace passes; cargo run -p docgen regenerated.

@github-actions

github-actions Bot commented Nov 4, 2026

Copy link
Copy Markdown

🔍 Cora AI Code Review

✅ No issues found. Code looks good!


Review powered by cora-code · BYOK · MIT

@ajianaz
ajianaz merged commit 41d5c6c into develop Nov 4, 2026
18 checks passed
@ajianaz
ajianaz deleted the feat/validity-columns-wire-1598 branch November 4, 2026 06:46
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