* feat(dsh): add Environment tab with local Python detection
Adds a read-only Environment tab to the ReMe Memory settings card so
users can see why the ReMe service is unreachable before touching a
terminal:
- discover local Python interpreters via the PEP 514 registry, py
launcher, PATH and conda (base + named envs), then verify every
candidate by actually running it
- classify origins (conda base/env, python.org, Microsoft Store, venv,
system PATH), drop Store alias stubs, and suggest a preferred
interpreter (Python >= 3.11, named conda envs first)
- expose detection to the browser through a new remeEnv host gateway
(TypertRemoteService) and render it with a connection health check
- config gains optional authToken and pythonPath fields with unchanged
defaults; existing memory settings keep their behavior
Parsing is fixture-tested against real tool output on Windows (GBK
codepages, localized reg labels, missing py launcher) and Linux.
* feat(dsh): check and install reme-ai from the Environment tab
- check reme-ai version, the [core] AgentScope import and the reme CLI
for the selected interpreter; an outdated install is flagged instead
of treated as ready
- one-click pip install of reme-ai[core] as a Host job: per-job log file,
2s log-tail polling, cancel, and running-job restore after a page
reload; the optional mirror overrides pip only for that run
- interpreter detection now probes reme-ai per environment, so the
suggestion prefers a named conda env with a usable reme (an outdated
reme no longer outranks a ready environment)
- fix: DSH exposes these Remote methods in SRC mode, which parses the
method source; every method takes one plain `input` identifier
parameter (no defaults or destructuring) and the client sends
`{ args: { input } }`
* feat(dsh): manage ReMe .env settings from the Environment tab
- read the workspace .env as a masked projection: non-secret values are
editable, API keys return only •••• plus their last four characters
- merge edits into the existing file, preserving comments, ordering and
unknown variables; validate the effective file so an untouched real
key still satisfies the LLM requirement
- require a non-empty EMBEDDING_API_KEY (EMPTY placeholder fills in on
first save), because ReMe 0.4.0.x aborts startup without one
- test the configured LLM endpoint from inside the workspace with the
selected interpreter, classifying 401/404/network failures
- add the remeWorkspaceDir setting (empty means ~/.reme) consumed by
the .env editor and later service management
Real-machine check: masked read leaks no secret, temp-workspace write
is idempotent and rejects an empty embedding key, and the LLM probe
against the local ~/.reme/.env returned HTTP 200.
* feat(dsh): start and stop the local ReMe service
- service status combines a direct /health_check probe with port probing:
running (managed or foreign), port conflict, or stopped
- start composes `reme start` with an absolute workspace_dir and
service.host/port, runs it detached inside the workspace (so ReMe's
.env discovery works), injects UTF-8 and NO_PROXY, disables the rich
logo, and only passes jobs.dream_cron.enabled=false on reme >= 0.4.1
- the plugin records the PID and launch arguments in service.json, so
stop can tree-kill the managed process; foreign instances are shown
but not touched
- serviceLog exposes the workspace log tail for start-failure diagnosis
- optional autoStart setting starts a stopped local service when DSH
boots, using the selected interpreter (or the detected suggestion)
Real-machine check: started ReMe 0.4.0.9 on port 2334 in a temp
workspace, observed running/managed with the recorded PID, then
stopped it and confirmed the port was released.
* docs(dsh): document the environment management tab
Describe the five Environment sections, the .env and EMBEDDING_API_KEY
contracts, local service control semantics, and the optional authToken
field in both READMEs.
* fix(dsh): mount the environment gateway under its own service key
TypertRemoteService registers itself under the constructor key, so
`super(ctx, remeEnv)` collided with the already-provided `remeEnv`
manager: the gateway plugin failed activation (its async rejection was
logged only), leaving every /api/remeEnv/* call with HTTP 404.
Register the service as `remeEnvGateway` and keep the wire namespace
`remeEnv`, which is what the client calls. Add a real-cordis regression
test that mounts the gateway inside the same isolated realm and asserts
the binding, the namespace, and the SRC-parsed `input` parameter.
Also show the interpreter hint on detection failure so an empty list
never leaves the tab without guidance.
* feat(dsh): restructure the environment tab for scanability
The environment tab rendered as one flat column: five identical headings,
every detected interpreter in one long list, and the whole .env form
always expanded. That reads like prose and grows without bound on
machines with dozens of conda environments.
- Lead with a status hero (endpoint, service/Python/ReMe chips, retest and
rescan) so the current state is readable at a glance.
- Turn the four remaining groups into numbered cards with a status pill in
the header, so setup order and per-step state are obvious.
- Show only the interpreter in use, then reveal the rest on demand:
search box, six rows per page, and a show-all toggle.
- Collapse the .env editor behind a summary line (path + model).
- Explain the "recommended" marker through a tooltip; the flag now also
distinguishes an outdated reme-ai (amber) from a current one.
- Expose versionOk on the detection probe so the client can tone the tag
without importing host-only modules.
- Add a react-test-renderer suite covering the hero, card count, collapsed
list, pagination and interpreter selection.
* docs(dsh): format README tables with prettier
Table column padding in both READMEs did not match prettier's output, so the plugin CI format check failed. Content is unchanged.
* test(dsh): stub the health probe in the environment tab test
The tab renders a hero from /health_check on mount. The test asserted the ready state, which only held while a local ReMe service was running, so it failed on CI runners. Replace global fetch with a canned health response for the duration of each test.
* chore(dsh): target DSH 0.2.2-alpha.2
Add the current DSH release to the peer ranges and to the package
compatibility matrix (cordis 4.0.6-alpha.1, loader 1.0.7-alpha.1,
schemastery 3.18.6-alpha.1), which needs Node 24.9 or newer.
The packaged-plugin check now launches the npm CLI through node using
the npm_execpath npm exports, so it also runs on Windows where npm is
npm.cmd and execFile cannot start it.
* refactor(dsh): collect environment management under src/environment
Move the Host modules out of src/pyenv and the tab out of src/client so
the feature has one boundary:
src/environment/types.ts browser-safe RPC contract
src/environment/host/*.ts detection, install, service, workspace
src/environment/client/* the Environment tab
src/environment/host/gateway remeEnv RPC surface
src/environment/host/manager the operations the gateway exposes
The cross-boundary shapes (detection, reme-ai check, install job, .env
summary, service state) now live in one browser-safe module instead of
being pulled from Host modules that import node built-ins; Host-only
shapes stay beside the code that owns them. src/index.ts registers the
gateway and manager, src/client/index.tsx mounts the tab. The wire
namespace, method names and service keys are unchanged.
* refactor(dsh): split the environment tab into per-section modules
The tab was one 2,213-line component with 27 state hooks. It is now one
module per step, and each step owns the asynchronous state it shows:
client/tab.tsx layout, hero, the settings reads
client/python.tsx usePython + the interpreter section
client/dependency.tsx useDependency + the reme-ai section
client/workspace.tsx useWorkspace + the .env section
client/service.tsx useService/useHealth + the service section
client/presentation shared badges, tags and field frames
client/rpc.ts the remeEnv calls and their response guards
client/locales.ts the tab's copy
client/styles.ts the tab's CSS
The .env controls now come from one field table, and the stylesheet split
keeps the tab's CSS next to the tab.
State is keyed where the review asked for it: install progress carries the
job id it polls and cancels, workspace drafts and in-flight saves carry the
workspace they were typed for, and a check result only shows for the
interpreter it belongs to. Drafts also distinguish untouched fields from
explicit clears, so emptying a non-secret field now clears it on disk. The
memory settings draft parser no longer carries the environment fields
through, since saving only writes this page's FIELDS list.
* fix(dsh): probe from the Host and bound every process lifetime
Local now means the DSH Host everywhere. The tab no longer fetches the
service URL from the browser: the hero reads the same Host probe the
service card uses, and a remote endpoint is probed through a new
remeEnv/health method, so a browser on another machine cannot disagree
with the Host. The wire namespace, method parameter convention and
service keys are unchanged.
Process lifetimes are explicit and documented in the manager. Python
probes and reme-ai checks stay bounded one-shot commands. pip installs
live in the manager's registry, keep the interpreter locked between a
cancel request and the actual exit, and are stopped by dispose() when
the plugin unloads. The ReMe service stays detached on purpose: it must
outlive DSH, so it is not handed to DSH's subprocess provider, which
kills its children on Host exit; it is stopped only through the
ownership-checked adapter in service.ts.
That adapter now verifies identity before reporting or stopping a
service: the recorded endpoint must match, the pid must be alive, and
its image must still be Python or reme, which protects against pid
reuse. A launch is recorded only after the OS acknowledged the spawn,
and a spawn failure returns an error instead of an unhandled event.
Starts are serialized and re-check the phase inside the lock, so two
requests cannot spawn two services. Health answers are validated, so a
generic HTTP server answering 200 with '{}' is no longer reported as a
running ReMe service, and authToken now rides the Authorization header
of both the client requests and the Host probe.
.env merging rewrites every occurrence of a key (parsing keeps the last
one), keeps the file's line ending, and validates the merged file rather
than just the submitted values.
* docs(dsh): move environment setup into dedicated guides
The two READMEs keep a short introduction to the Environment tab and link
to docs/environment.md / docs/environment_ZH.md, which now carry the
setup and troubleshooting detail: Python and conda discovery plus the
recommendation rule, dependency installation, .env validation and
clearing, connection testing, the detached service lifetime, platform
support and the failure modes of each step.
The version lists include 0.2.2-alpha.2 and note that current DSH needs
Node 24.9 or newer. The package now ships docs/ as well, so the guide
travels with the published plugin.
* fix(dsh): resolve interpreter paths with their own platform semantics
The interpreter helpers mixed simulated-platform knowledge with the host's
node:path, so Windows fixtures only resolved on Windows: on macOS and
Linux condaRootFromPath, pathContains, pythonPrefix, classifyOrigin,
remeCliPath and the pip path check all fell back to POSIX semantics and
nine tests failed.
Paths now carry their flavor: pathOf() picks win32 or posix from the value
itself, and the functions that already know the simulated platform use it
explicitly. Behaviour on Windows is unchanged; the same fixtures now
resolve identically on every host, which the new tests assert for both
flavors.
* refactor(dsh): stage the settings card with DSH's form model
The memory settings card carried its own draft state machine: a Draft
object, a parser that re-validated every field, a hand-written diff into
path operations, and its own revision fence. DSH ships exactly that as
SettingsFormModel, exported by the primitives package this plugin already
depends on and injects since 0.1.7-rc.2.
The card now builds the model once, reads shell()/field() while rendering
and hands every edit to actions(), so what is left is the controls plus
one field-spec table in settings-specs.ts. The revision fence, the
dirty/invalid/saving/failed states, keeping drafts after a refused save,
and clearing only the fields the user layer carries all come from the
model.
The one visible change: reset now stages clears for the fields the user
layer actually overrides, which is what that control always meant.
Tests: settings-specs.test.mjs covers every spec on its own, and the card
test runs DSH's real SettingsFormModel (evaluated from the installed
primitives bundle, which cannot be imported in Node because it loads CSS
modules and icons). The packaged-plugin check exercises that against all
six supported DSH releases.
* test(dsh): pin the plugin lifetime that stops install jobs
dispose() on the manager stops running installs, but nothing tied that to
the plugin's own lifetime: a change to the registration could have left
pip running after the plugin unloads. Mount the plugin, replace the
provided manager's dispose with a counter, run the envLifetime cleanup and
assert it is called once.
* fix(dsh): harden environment management from review
- wire the package mirror into installs
- wait for service exit, escalate to SIGKILL, keep the record on failure
- fail closed on ownership and clear dead service records
- clear the start lock on failure and reject overlapping starts
- bound probes, make config writes atomic, scope auth tokens
- fix docs and add regression tests
* fix(dsh): verify service identity before touching a recorded pid
- require command-line evidence for owned service processes
- discard unprovable stale records instead of blocking startup
- identify and stop our own unhealthy conflict; serialize stop with start
- reject IPv6 loopback endpoints
- rotate oversized logs and fix tailing multibyte cuts
- add tests for env writes, client failures and real spawner
* fix(dsh): finish the environment review follow-ups
- match escaped wrapper command lines when proving service ownership
- reset aborted LLM probes and consume stopped/conflict start signals
- abort start polling on endpoint switch and guard stale service state
- force --force-reinstall for Reinstall; localize start/stop reasons
- validate rendered RPC fields, prune install logs and polish UI states
* fix(dsh): address the environment review on
|
||
|---|---|---|
| .. | ||
| docs | ||
| figures | ||
| scripts | ||
| src | ||
| tests | ||
| .prettierignore | ||
| cordis.patch.yml | ||
| eslint.config.mjs | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| README_ZH.md | ||
| tsconfig.json | ||
ReMe plugin guide for DeepSeek Harness
This guide explains how to install, configure, and use @agentscope-ai/reme-dsh-plugin with DeepSeek Harness (DSH), including memory guidance injection, the reme_search tool, automatic memory, daily consolidation, and the ReMe Status page.
The screenshots record an earlier local integration test against DSH 0.1.5-rc.2; the supported releases are 0.1.7-rc.2, 0.2.0-rc.2, 0.2.1-alpha.2, 0.2.1-alpha.4, 0.2.1-rc.2, and 0.2.2-alpha.2. Both the interface and ReMe guidance are set to English, and the isolated DSH and ReMe workspaces contain only fictional Project Aurora data. No .env values, API keys, access tokens, or personal memories appear in the screenshots.
1. How the plugin works
When a DSH session starts, the plugin injects guidance that tells the root agent when and how to use long-term memory. It also registers the read-only reme_search tool. After a turn completes, the plugin can submit user and assistant messages to ReMe auto_memory; a daily schedule can run auto_dream to consolidate journal entries into durable personal knowledge.
New session
└─ Inject long-term-memory guidance
└─ Agent decides whether the request depends on history
└─ reme_search → ReMe search → daily / digest files
Completed conversation
└─ Automatic-memory batch → ReMe auto_memory → daily files
└─ Scheduled consolidation → ReMe auto_dream → digest files
The DSH adapter injects usage guidance, not every historical memory. Relevant memories enter the conversation only when the agent calls reme_search. This keeps unrelated history out of the prompt and helps prevent historical content from being treated as new instructions.
2. Requirements
- ReMe is installed and its configuration exposes the
search,auto_memory, andauto_dreamjobs. - DeepSeek Harness
0.1.7-rc.2,0.2.0-rc.2,0.2.1-alpha.2,0.2.1-alpha.4,0.2.1-rc.2, or0.2.2-alpha.2. - Node.js
^22.19.0or>=24.0.0, matching the current DSH engine range (DSH0.2.2needs Node 24.9 or newer). - The browser running DSH can reach the configured ReMe HTTP endpoint. Cross-machine deployments must also allow the DSH browser origin.
The default ReMe endpoint is http://127.0.0.1:2333. ReMe HTTP does not use API-key authentication, so do not expose it directly to an untrusted network.
Peer ranges cover the tested prerelease lines and compatible stable 0.1.x / 0.2.x releases. Other prerelease lines require validation before being added; 0.3.x is excluded.
3. Install and start
This package replaces the former @agentscope-ai/reme/dsh entry. Remove the combined package before installing the new
host-specific plugin.
3.1 Start ReMe
reme start workspace_dir=/absolute/path/to/your/reme-workspace \
service.host=127.0.0.1 service.port=3457 \
jobs.dream_cron.enabled=false
The plugin owns the daily Dream schedule by default, so this disables ReMe's dream_cron while keeping the
auto_dream API available. To use ReMe scheduling instead, omit this override and set the plugin's
autoDreamEnabled to false. Shared services should have only one scheduler.
For development and screenshots, use an isolated directory outside the repository, such as /tmp/reme-dsh-demo. Do not write runtime memory into the repository's .reme/ directory.
3.2 Install the DSH bundle
Install the published package. See its listings on Awesome DSH Plugin and npm:
dsh plugin --profile web add @agentscope-ai/reme-dsh-plugin
For local package development, pass the package directory to DSH so the profile records a local link:
cd /path/to/deepseek-harness
pnpm link /path/to/ReMe/integrations/dsh --workspace-root
dsh plugin --profile web add /path/to/ReMe/integrations/dsh
The first command makes a source checkout's package resolver see the local plugin; the second installs its bundle into the web profile. A published DSH installation normally needs only dsh plugin ... add. Do not commit a machine-specific link: dependency to DSH.
The package declares cordis.patch.yml through package.json#dsh.bundle.patch. The patch mounts exactly one Host runtime in an isolated remeMemory realm. DSH discovers the Web entry separately through package.json#dsh.client; mounting the package twice causes a remeMemory service collision in current DSH releases.
3.3 Start DSH Web
dsh web --no-open --port 3090
Open the local URL printed by DSH and select a workspace. If DSH enables an access token, use the authenticated URL from its startup output and do not copy the token into documentation or screenshots.
3.4 Real OpenAI-compatible verification
ReMe and DSH can share an OpenAI-compatible model endpoint during local verification without copying a secret into YAML. Load the ReMe repository's .env in the shell, then reference the environment variable from the DSH llm-pi-ai route:
set -a
source /path/to/ReMe/.env
set +a
# The patch/settings document contains only these references, never the value.
# apiKeyEnv: LLM_API_KEY
# baseURL: !!js process.env.LLM_BASE_URL
dsh web --no-open --port 3090
Declare the route with api: openai-completions, select LLM_MODEL_NAME (or an explicitly configured model id), and use DSH's generic @deepseek-ai/dsh-llm-pi-ai adapter. The direct llm-deepseek adapter adds DeepSeek-specific request extensions and is not the right compatibility layer for an arbitrary OpenAI-compatible gateway. Never print, screenshot, or commit the resolved key.
4. Configure ReMe Memory
Open Plugins → ReMe bundle → reme-memory → Configure. Save submits all edits together as one revision-checked atomic update. Save changes before starting the next session. Settings are stored in the active DSH profile patch and apply to subsequent requests and captures. A language change affects new sessions; a schedule change immediately reschedules the next consolidation.
On upgrade from the old settings.yaml, DSH imports its reme-memory section into the ReMe runtime entry. If a profile patch explicitly targets the former reme-memory-runtime entry, change that entry ID to reme-memory; the enclosing group is now reme-memory-scope.
If an earlier upgrade already renamed settings.yaml to settings.yaml.imported while ReMe's import failed, DSH will not retry that file. Open settings.yaml.imported in the DSH home directory, find its reme-memory section, and compare those fields with Plugins → ReMe bundle → reme-memory → Configure in each affected profile. Copy the old values you still want into the form and save; keep any newer profile values. In particular, check endpoint, autoMemoryEnabled, and autoDreamEnabled before using the plugin. Do not rename the backup back to settings.yaml, since that would retry imports for unrelated sections too.
| UI meaning | Configuration key | Default | Description |
|---|---|---|---|
| Service URL | endpoint |
http://127.0.0.1:2333 |
Absolute HTTP(S) URL without credentials, query, or fragment. |
| Auth token (optional) | authToken |
empty | Bearer token for a self-hosted gateway; set in the profile only (not shown in this form), stored in clear text, trusted networks only. |
| Guidance language | language |
en |
en or zh; controls guidance injected into new sessions. |
| Default search results | searchLimit |
5 |
Default reme_search result limit, from 1 to 50. |
| Search timeout | requestTimeoutMs |
10000 |
Search timeout in milliseconds, from 1,000 to 120,000. |
| Automatic memory | autoMemoryEnabled |
true |
Capture completed user/assistant turns for auto_memory. |
| Exclude subagents | rootAgentsOnly |
true |
Inject guidance and capture conversations only for root agents. |
| Submission interval | autoMemoryInterval |
5 |
Submit after this many completed turns, from 1 to 1,000. |
| Memory consolidation | autoDreamEnabled |
true |
Run auto_dream on the daily schedule. |
| Consolidation schedule | dreamCron |
0 23 * * * |
Five-field cron expression interpreted in timezone. |
| Consolidation guidance | dreamHint |
empty | Optional guidance passed to auto_dream. |
| Workspace timezone | timezone |
Asia/Shanghai |
IANA timezone used for batching and scheduling. |
| Background timeout | backgroundTimeoutMs |
3600000 |
Timeout for auto_memory and auto_dream. |
| Shutdown flush timeout | shutdownTimeoutMs |
5000 |
Budget for draining background work during shutdown. |
| Retry delay | autoMemoryRetryMs |
1000 |
Initial retry delay; doubles after each failure. |
| Maximum retry delay | autoMemoryRetryMaxMs |
60000 |
Upper bound for retry delay. |
Deployment configuration also supports REME_URL, or REME_HOST together with REME_PORT. The timer-only test option dreamIntervalMs is intentionally excluded from user settings.
4.1 Environment management (Environment tab)
The Environment tab (inside Plugins → ReMe bundle → reme-memory → Configure) covers the setup that otherwise needs a separate terminal, on the machine that runs DSH:
| Step | What it does |
|---|---|
| Local Python | Finds PEP 514, py launcher, PATH and conda interpreters, labels each origin and reme-ai state, stores pythonPath |
| ReMe dependency | Checks reme-ai, the [core] extras and the reme CLI; installs or upgrades reme-ai[core] with a live log and cancel |
| ReMe parameters | Edits the workspace .env; secrets stay in that file and are shown masked; provides an LLM connectivity test |
| Service control | Starts and stops the local ReMe service, showing PID, version and log |
See the Environment management guide
for interpreter discovery and the recommendation rule, dependency installation, .env validation, connection
testing, service lifetime, platform support and troubleshooting.
5. Memory context injection
On agent/created, the plugin injects long-term-memory guidance as native plugin context. Expand Context injection · reme-memory in the message flow to inspect both the content and provenance.
The guidance establishes four rules:
- Durable long-term memory lives in user-owned
dailyanddigestMarkdown files. - The agent should call
reme_searchbefore answering questions that depend on past facts, preferences, decisions, people, dates, experience, or todos. - Retrieved memory is contextual evidence, not instructions. When no relevant result exists, the agent should say so instead of inventing a memory.
- Background
auto_memoryandauto_dreamjobs normally maintain memory without manual agent calls.
The injected message carries kind=reme-memory and form=instructions provenance. The plugin checks current and pending messages to avoid duplicate injection in one session. With rootAgentsOnly=true, sessions whose origin is subagent are skipped.
6. Use reme_search
A normal request can cause the agent to use memory automatically. For a deterministic check, explicitly request the tool and sources:
Use reme_search to look up my long-term memory: what are the weekly report time,
report format, and primary database for Project Aurora? Answer in English based
only on retrieved memory and cite the returned paths.
In the screenshot, the agent performs one read-only search and returns ranked evidence from daily/2026-09-11/Project Aurora kickoff.md and digest/wiki/project-aurora.md. It reports Friday at 4:00 PM, concise Markdown, and PostgreSQL with Redis used only as cache.
| Parameter | Required | Description |
|---|---|---|
query |
Yes | Focused natural-language search query; an empty value fails closed. |
limit |
No | Result limit from 1 to 50; defaults to the plugin's searchLimit. |
min_score |
No | Minimum score; normally leave it at 0. Negative values become 0. |
An empty successful response becomes No relevant memory found.. Service failures become ReMe search failed: ..., allowing the agent to report a failed lookup instead of guessing.
7. Automatic memory
With autoMemoryEnabled=true, the plugin listens to DSH session events and collects completed user and assistant messages per session. When autoMemoryInterval is reached, the batch enters a background queue and calls ReMe auto_memory. Plugin-generated context and tool results are excluded from capture so they cannot be laundered back into long-term memory.
Each completed turn is saved in a private JSON outbox before submission. Failures use capped exponential backoff independently of new turns; recovery drains every ready batch, including ended sessions. Payload/job rejections, such as HTTP 413, pause the affected session while other sessions continue; network, authentication, rate-limit, and service failures pause the endpoint. Each endpoint drains independently and reads one batch at a time, so a stalled old destination cannot block a newly configured service. Disabling automatic memory pauses capture and further sends; queued files remain available when re-enabled.
The outbox defaults to $DSH_HOME/reme-memory/outbox (~/.dsh/reme-memory/outbox without DSH_HOME). Set the deployment-only autoMemoryQueueDir field and restart to choose another directory; simultaneous Hosts must use separate directories. Batches retain their original service endpoint across settings changes. An exclusive owner lock prevents concurrent writes, and a restart recovers an exited owner's queue. Queue files contain conversation text: keep them private. Disk/permission failures are surfaced as errors; preserve DSH session logs for recovery.
Owner-lock recovery is serialized. If startup reports a busy or interrupted .lock-recovery, retry first; if the error persists, stop all Hosts using that queue, inspect it, and remove only the empty .lock-recovery directory before restarting. Preserve .lock and all queued JSON files.
New batches receive strictly increasing ordering timestamps, recovered from queued files after restart, so equal wall-clock times or a clock rollback cannot reorder them. Older batches that already share a timestamp retain their existing file order.
Sealed batches keep a stable request_id across timeouts and restarts. The updated ReMe service stores completed request receipts under its configured metadata directory, rejects reuse with different input, and replays completed results without invoking the memory agent again. An interruption before a receipt is committed can still repeat an unfinished operation; receipts do not make arbitrary agent file edits transactional.
Chat completion and durable memory completion are asynchronous. To verify persistence, open ReMe Status → Auto Memory, wait until queued turns, running tasks, and queued tasks return to zero, and confirm that the latest submission is marked Completed.
8. ReMe Status tabs
Open Settings → ReMe Status. Full service diagnostics load when the page opens or the user refreshes them. While the page is visible, only the DSH plugin runtime counters refresh every 5 seconds.
8.1 Overview
Overview shows connectivity, ReMe version, endpoint, refresh time, automatic-memory and consolidation settings, process RSS, estimated component memory, active sessions, and queued turns. Server configuration (redacted) exposes a safe view of app_config. A green Connected badge confirms the health request, but optional component availability should still be checked under Components.
8.2 Auto Memory
This tab reports active sessions, queued turns, running tasks, queued tasks, and the pipeline from conversation turns through the submission queue to long-term memory. Activity states include Queued, Running, Completed, Failed, and Cancelled. Activity is process-local diagnostic history; ReMe workspace files remain the durable source of truth.
8.3 Memory Consolidation
This tab shows the next run, cron schedule, timezone, and current-process result. The flow is Journal entries → Organize and connect → Personal knowledge base. Consolidate Memory Now manually invokes auto_dream, which may call a model and modify workspace files. The completion banner in the screenshot was produced by a real call that added a source link to digest/wiki/project-aurora.md.
8.4 Components
Components displays health and resource usage for the file graph, file store, keyword index, and optional embedding store. An unconfigured embedding instance is not itself a failure. If a derived index is unhealthy, rebuild it from source Markdown instead of deleting or rewriting user memory.
8.5 Journal
Journal browses the workspace's daily files. The left pane searches and selects files; the right pane previews paths, frontmatter metadata, and Markdown content. The list is capped at the newest 5,000 files.
8.6 Personal Knowledge Base
Personal Knowledge Base browses consolidated digest files. Journal entries preserve time-oriented source material, while digest documents hold stable, deduplicated knowledge for long-term recall. Wikilinks can preserve provenance back to the source journal entry.
9. Troubleshooting
ReMe Status reports Unavailable
- Confirm
reme startis still running and verify the endpoint protocol, host, and port. - In containers or cross-machine deployments,
127.0.0.1refers to each machine separately; configure a browser-reachable address. - Verify that ReMe allows the DSH Web origin.
- Increase
requestTimeoutMswhen the service legitimately needs more than ten seconds.
No memory context appears
- Create a new session after changing
language; existing sessions are not reinjected. - Subagents are intentionally skipped when
rootAgentsOnly=true. - One session receives the guidance only once, deduplicated by provenance metadata.
The agent does not call reme_search
- Explicitly ask it to use
reme_search, base the answer on the result, and cite sources. - Confirm the selected agent preset allows global tools.
- Check that the package was loaded through its DSH bundle patch, not merely installed as a dependency.
Search returns no useful result
- Confirm the source file exists under Journal or Personal Knowledge Base.
- Use a focused query and adjust
limitormin_scoreonly when needed. - Check file store, keyword index, and embedding-store health under Components.
- Rebuild derived indexes from source files; never rewrite source memory just to satisfy an index.
A completed chat has not appeared in Journal
- Confirm
autoMemoryEnabled=trueand check whetherautoMemoryIntervalhas been reached. - Inspect queued, running, and failed states under Auto Memory.
- Allow for background completion. Shutdown only has the configured
shutdownTimeoutMsdrain budget.
10. Validation represented by these screenshots
The test used DSH 0.1.5-rc.2, ReMe 0.4.1.11 on port 3457, and isolated Project Aurora workspaces. It verified:
- DSH UI and ReMe guidance language set to English.
- English
reme-memoryplugin context with correct provenance. - One real
reme_searchcall returning consistentdailyanddigestevidence through an OpenAI-compatible model route. - Successful background
auto_memorysubmission with no queued task remaining and a newdaily/2026-09-11/project-aurora-conventions.mdfile. - Successful manual
auto_dreamconsolidation with an updateddigest/wiki/project-aurora.mdsource list. - Working Overview, Auto Memory, Memory Consolidation, Components, Journal, and Personal Knowledge Base tabs.
DSH screenshots live in integrations/dsh/figures/ and ship with the plugin package.








