aelios recall() skips a request whose last user text is a DS Bot background
memory review (isMemoryReview: the "The Bot: …" / "The group chat: …" header,
the "Its memory now (…; team: shared by every Bot):" block, "New in …, oldest
first" and the closing "Write every new or changed entry in …." line), the
same way it skips a secret. A person quoting or discussing it is still
recalled and recorded. Version 0.1.1.
Run at 19818b55 on mote (Bun 1.4.2, HOME=$(mktemp -d)):
- bun test packages/aelios: 187 pass, 0 fail
- bun scripts/check.mjs: exit 0
Broken by hand (each restored after):
- isMemoryReview returns false: 6 fail
- isMemoryReview checks the header only: 1 fail (a discussion case)
- hook no longer calls isMemoryReview: 6 fail
Not tried: the template was not checked against DS Bot's own source (not
found publicly); a template change there makes the matcher miss, which keeps
today's behaviour (the review is recalled as before).
Points the Aelios links at github.com/Aelios-project/Aelios, where the repository was transferred. github.com/wusaki0723/Aelios now redirects there, and the PR's author is wusaki0723. The README row, the package README and the hook's opening comment are updated, and the prerequisite commit link moves from the sakisakisa-design fork to the canonical repository. Commit a57269c and PR #102 both exist there. Only links change: no code, version or configuration.
Run at the reviewed head 45f0fa3, on mote with a sandbox HOME: bun test in packages/aelios, 178 pass, 0 fail. gh api confirmed the transfer redirect, a57269c in Aelios-project/Aelios, and PR #102 (merged) there.
No version bump. The README on npm updates with the next release.
New package @magpie-community/gateway-aelios 0.1.0: asynchronous gateway hooks for Aelios memory, by sakisakisa-design (Aelios's author).
- Recall before each human turn, appended after the last user message. Recording of completed turns is opt-in (record: false by default).
- Traffic goes only to the user's own serverUrl (HTTPS or loopback HTTP, redirects refused, a key required). Only local and magpie-key origins by default.
- Local admission: an authenticated, dialogue-free GET /v1/hook/identities decides which model maps to which identity. Unmatched turns, or an unavailable list, send no dialogue.
- The request is slimmed (system prompts, thinking and tool results dropped, historical credentials masked). The recorded reply is slimmed to text and tool calls before the secret check and the send.
- Settings page served by a loopback Bun service (Host, Origin null and per-process token checks).
- The cleanMessageText/appendMemory logic ported from AGPL Aelios is relicensed MIT by its sole author (PR thread).
Run at the reviewed head 620cd47 on mote (macOS, Bun 1.4.2):
- bun test packages/aelios: 178 pass. Full HOME=$(mktemp -d) bun test: 4176 pass, 0 fail. Merged onto main 39de030: 4179 pass, 0 fail. check.mjs: exit 0 at both.
- Broken by hand: recording the raw reply turns 5 tests red; admitting every model turns 11 red.
- Probe against a fake Aelios: no thinking, reasoning, signature or encrypted_content is recorded for Anthropic, Responses or Chat. A secret in visible text skips the record. An unmatched model, or an identities endpoint answering 404, malformed JSON or a network error, sends only the GET.
- Real magpie Bun host (origin/main ceeb73a0f, GatewayBegin/Finish): recall injected, the slimmed record sent, nothing for an unmatched model or a remote origin.
- PR CI: test red only on gcp-ai's browser test 40s timeout (#471, unrelated, passes on mote).
Not tried: a real Aelios deployment, or a real agent behind a running magpie.