Skip to content

fix(cli): uteke remember --type is honoured locally and no longer defaults to fact (#1439, part E2) - #1583

Merged
ajianaz merged 1 commit into
developfrom
fix/cli-remember-type-1439
Oct 29, 2026
Merged

ajianaz merged 1 commit into
developfrom
fix/cli-remember-type-1439

Conversation

@ajianaz

@ajianaz ajianaz commented Oct 29, 2026

Copy link
Copy Markdown
Collaborator

What

uteke remember --type is now an optional flag (no default fact). Given, the type is stored and copied into the metadata as on POST /remember; omitted, it is inferred from the content, on a local store and via a server alike. The local path decodes with the shared RememberRequest (content, tags and type validated).

Why

Part E2 of #1439. On a local store --type was ignored unless --room or --detect-contradiction was set; via a server the default fact was sent explicitly so inference never ran, contradicting the help text.

Testing

  • cargo fmt, cargo clippy --workspace --all-targets --locked -- -D warnings, cargo test --workspace --locked, cargo run -p docgen (no diff).
  • New integration test remember_type: explicit type stored, omitted type inferred (decision, fact), unknown type refused.
  • Touches the CLI local remember path, not recall or import, so the LongMemEval guard does not apply.

…aults to fact (#1439, part E2)

A local store ignored --type unless --room or --detect-contradiction was set, and via a server the default fact was sent explicitly so inference never ran. The type is now optional: given, it is stored; omitted, it is inferred. The local path decodes with the shared remember request.
@github-actions

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 89f3753 into develop Oct 29, 2026
14 checks passed
@ajianaz
ajianaz deleted the fix/cli-remember-type-1439 branch October 29, 2026 05:41
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