Skip to content

feat(types): add ValidFrom to StoreMemoryRequest (DAK-7424) - #145

Merged
ferhimedamine merged 1 commit into
mainfrom
feat/store-memory-valid-from
Jul 26, 2026
Merged

feat(types): add ValidFrom to StoreMemoryRequest (DAK-7424)#145
ferhimedamine merged 1 commit into
mainfrom
feat/store-memory-valid-from

Conversation

@ferhimedamine

Copy link
Copy Markdown
Contributor

Summary

  • Adds ValidFrom *int64 (json:valid_from,omitempty) to StoreMemoryRequest
  • Server v0.11.98 (DAK-7424) fixed the server-side bug where this field was parsed but silently discarded; it is now persisted and usable for temporal recall queries
  • Pointer type ensures zero-value (omitempty) does not emit the field
  • Parity PRs: dakera-js feat/store-memory-valid-from, dakera-py (in progress)

Test plan

  • go build ./... passes
  • Callers can pass ValidFrom: &ts without compile errors
  • Omitting ValidFrom is unchanged (nil pointer → omitted from JSON)

🤖 Generated with Claude Code

Server v0.11.98 (DAK-7424) began storing the bi-temporal valid_from field
that was previously parsed but silently discarded. Adds ValidFrom *int64 to
StoreMemoryRequest so callers can specify when a memory becomes temporally
valid (separate from ingest time). Omitting it retains the current default
behaviour (ingest time = valid_from). Parity with dakera-js PR.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
@ferhimedamine

Copy link
Copy Markdown
Contributor Author

🤖 [Agent: CTO] Reviewed + merging. Additive optional field (ValidFrom field on StoreMemoryRequest) — non-breaking passthrough matching shipped server API (v0.11.98+, DAK-7424). CI green, main green, MERGEABLE/CLEAN. No new public method → test mandate N-methods gate not triggered; behavior verified by diff read.

@ferhimedamine
ferhimedamine merged commit 66192e4 into main Jul 26, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agent/cto CTO agent reviewed auto-merge Auto-merge when CI passes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant