Skip to content

Support Dakera 0.12.4 - #157

Draft
ferhimedamine wants to merge 2 commits into
mainfrom
claude/trusting-maxwell-yctksi
Draft

ferhimedamine wants to merge 2 commits into
mainfrom
claude/trusting-maxwell-yctksi

Conversation

@ferhimedamine

@ferhimedamine ferhimedamine commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

Support for Dakera server 0.12.4 in dk (0.8.3). Draft: do not merge before the 0.12.4 engine release.

Added

  • dk memory forget by description (--about, --min-score) and by a user's request to forget, in any language (--request, shows how the server read it), with --until, --limit, --restorable, --dry-run; several ids allowed. On a server older than 0.12.4 these options are refused before anything is sent (an older server ignores them and would delete).
  • dk memory forget-detect <message>... (POST /v1/memory/forget/detect, --file).
  • dk memory trash <agent> / dk memory restore <agent> <id> (restorable deletions).
  • memory store / batch-store report texts that read as requests to forget and near-duplicates not stored.
  • memory recall: standing instructions, associated memories (on by default since 0.12.4) and degraded parts; --include-associated[=BOOL].
  • memory get --projection-days, session end --auto-summarize (+ summary_pending), memory extract shows the extractor and its warnings, namespace policy get notes stored: false.
  • Hints for the new 503 / 409 answers and Dakera Cloud key refusals.

Fixed

  • dk memory consolidate --dry-run merged the memories: the server never read dry_run (nor memory_type). Both are now refused; --ids, --threshold (sent only when given) and --target-type are sent and the result is read from the server's answer.
  • dk keys delete printed "deleted" before checking the answer. 202 "applied, not stored yet" answers are reported for key delete/deactivate, quotas-set and backup-delete.
  • TTL help texts gave per-type defaults that 0.12.4 no longer has.
  • JSON output of memory store / batch-store is one document; notes go to stderr.

Other

Tests

cargo fmt --check, cargo clippy --all-targets -- -D warnings, cargo test: 187 unit, 48 integration (26 live-server tests ignored), 3 route audit, 84 + 26 + 18 earlier version suites, 21 new tests/v0124.rs (mock server). Not run against a live 0.12.4 server.

Update (2026-11-04)

  • The container integration test expected the old forget output ("Deleted"); it now checks Forgot 1 memory, and CI's server image moved from engine 0.12.0 to 0.12.3 (the newest released). Every job that runs on the self-hosted runner passes, the container integration test included; plan (cargo-dist) is refused by GitHub before starting (billing lock).
  • Release order: dk 0.8.3 builds on dakera-client 0.12.3 and calls the 0.12.4 routes over raw HTTP. Once dakera-client 0.12.4 (dakera-rs #172) is on crates.io, moving to it can replace those raw calls (a follow-up, not needed for this release).

🤖 Generated with Claude Code

ferhimedamine and others added 2 commits November 4, 2026 11:18
- dk memory forget: --about, --request, --until, --min-score, --limit,
  --restorable, --dry-run; several ids; refused before sending on a server
  older than 0.12.4, which would ignore them and delete
- dk memory forget-detect, dk memory trash, dk memory restore
- store / batch-store report requests to forget and near-duplicates
- recall shows standing instructions, associated memories and degraded
  parts; --include-associated[=BOOL]
- memory get --projection-days, session end --auto-summarize with
  summary_pending, extract shows the extractor and its warnings
- 202 "applied, not stored yet" answers reported by keys delete|deactivate,
  admin quotas-set and backup-delete; keys delete no longer claims success
  before the answer
- consolidate: --dry-run and --type were never read by the server (a "dry
  run" merged); both refused, --ids/--threshold/--target-type sent instead
- hints for the new 503/409 answers and Dakera Cloud key refusals
- dakera-client 0.12.3; version 0.8.3

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DKmYrmGxPEHfmA624vFLcd
…e 0.12.3

dk memory forget now prints "Forgot N memories of '<agent>'"; the container
test still looked for "Deleted" and failed on the self-hosted runner. The
integration service moves from engine 0.12.0 to 0.12.3, the newest released
image (0.12.4 once it is published).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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