Repository navigation
Small cleanups: CLI, SDK and Compose loose ends - #485
Merged
Merged
Conversation
- `remember ingest --filename NAME` stores the file under another name. - `remember query WORD` treats only the word right after `query` as a possible subcommand, so a flag value such as `--project space` no longer turns a question into `query space`. - `Client.ingest` and `MemoryClient.ingest` are one method: a missing path, `str` or `Path`, raises FileNotFoundError. - `remember` exports `DeploymentBuildInfo` and `NegativeKind`. - The local MCP server reports `serverInfo.name` "remember". - `ingest` help no longer says "push a file through E0". - Compose no longer passes LANGFUSE_* variables the engine never reads; .env.example drops the benchmark-only tracing keys. - The OpenRouter overload setting's docstring and tests name the real variable, REMEMBERSTACK_OPENROUTER_CHAT_UPSTREAM_OVERLOAD_MAX_RETRY_AFTER_S. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AXAuJJ6Tswr9Q3Auc1VPKb
The PGDG archive now serves 19~beta4 headers, and apt installed them into
the 19beta3 builder. pg_textsearch compiled against them fails at
CREATE EXTENSION ("index access method handler ... did not return an
IndexAmRoutine struct"), which broke every job that builds
Dockerfile.postgres. Pin postgresql-server-dev-19 and libpq-dev to the base
image's PG_VERSION.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AXAuJJ6Tswr9Q3Auc1VPKb
fazpu
marked this pull request as draft
November 6, 2026 09:51
fazpu
marked this pull request as ready for review
November 6, 2026 10:20
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
CLI queries could be misparsed when a flag value happened to name a query subcommand, and the two Python client classes reported missing files differently. Recognize subcommands only immediately after
query, and use one inherited ingest implementation forClientandMemoryClient.remember ingest --filename NAME. An explicit stored name changes the document name while MIME still follows the actual source path unless--mimeis given.FileNotFoundErrorbefore any request. Preserve the complete current lineage, version-key, source-path and effective-period contract through the shared implementation.DeploymentBuildInfoandNegativeKindtypes at the Python package root, reconcile the SDK inventory, and regenerate TypeScript contracts and compatibility metadata. The corresponding TS model types were already exposed.serverInfo.name = remember, improve ingest help, and correct the obsolete OpenRouter overload-setting name in documentation/tests..env.example. Only the benchmark CLI constructs the opt-in generation recorder; stock API/worker profiles do not. Keep the recorder and benchmark tracing behavior intact.Integration and validation
Integrated current main
17e1e381bincluding D140/D143, graph/citation changes and merged #486. The PostgreSQL header fix from the old branch already exists on main and has no net change here.Runtime/test checkpoint
d0e6535802a20f3307bc299b3c139f7cb23bfa83and docs-only successore581d9fdef3a471fbbc35496d4bde9e0df40e2eaare pushed. The focused client/CLI/MCP/effective-time/profile/protocol suite passed 242 cases; the strengthened upload file passed 28 cases. Those proofs cover different source/override extensions, no request on missing paths, and exact bytes and current metadata through both clients with string and Path sources. Ruff/format, SDK contract/parity generation and public/cloud documentation truth checks pass.Full local unit pack: 2,978 passed, 11 environment-dependent skips. Full Pyright, Ruff/check-format, five import contracts, test inventory, SDK contract/parity drift, TypeScript typecheck and the SDK suite pass. Opus found the implementation correct and requested two stale documentation fixes. The successor updates the ingest guide (including its missing
--filenameguidance), the provider setting name, the filename-normalization note and generated combined docs. Public/cloud documentation truth and drift checks pass. Claude Code Opus 5.5, high effort, explicitly APPROVEDe581d9fdef3a471fbbc35496d4bde9e0df40e2ea, carrying forward its code review and 89 focused checks and verifying the final documentation fixes. The TypeScript SDK suite passed 514 cases, eight skipped. All refreshed CI passed on the approved head, including integration, SDK compatibility, Compose quickstart and the unit job. The unit job succeeded after retrying a slow Ubuntu dependency download. Merged as1c280ac1cd9eec8d570a2604a3cc4b6cfa6e8639.Scope and reuse
Sources inspected: current client/CLI/MCP code, MIME behavior, lineage/effective-period interfaces, profile/benchmark recorder construction, SDK parity contracts and reader docs. No E0/E1/E2 code, source-lineage rules, processing generations or paid-product cache keys change. The filename option exposes an existing SDK capability; choosing a different name retains the existing D134 metadata semantics. String-source normalization now matches the previous
Clientbehavior in both classes. ForMemoryClient(source="./name.md", content=...)withoutfilename, redundant path syntax in the fallback name is normalized; callers controlling that spelling should setfilenameexplicitly. Such a changed name remains an ordinary D134 metadata input change on resubmission, not a global paid-product invalidation or automatic reprocessing. No model bindings, answer/judge prompts or benchmark runs change. Retained benchmark data remain untouched.CLA
🤖 Generated with Claude Code
https://claude.ai/code/session_01AXAuJJ6Tswr9Q3Auc1VPKb