Skip to content

worker: memory behaviour scenario tests - #73

Merged
vu1n merged 1 commit into
mainfrom
claude/project-thread-2el781-scenarios
Oct 31, 2026
Merged

vu1n merged 1 commit into
mainfrom
claude/project-thread-2el781-scenarios

Conversation

@vu1n

@vu1n vu1n commented Oct 31, 2026

Copy link
Copy Markdown
Owner

Requested by Vu · project thread

Tests only. worker/test/scenarios.test.ts drives memory end to end through handleMcp and handleOperator, with one test per property:

  • a two-session lesson is still recalled and briefed after unrelated sessions
  • an operator correction replaces the answer in recall and the briefing
  • an off-topic query returns no memory
  • user-scope and project lessons don't reach other users or projects (including include_candidates and the briefing)
  • re-claiming a shown candidate doesn't accept it
  • control text is refused at write
  • a rejected claim leaves recall and the briefing

The unjudged-candidate window (#71) and purge (#72) carry their own tests in those PRs.

Verification: npm test 336 pass, typecheck clean, featuremap.py check 0 broken (the hosted-worker map lists the new file).


Generated by Claude Code

One end-to-end test per property through the MCP and operator routes:
recall after unrelated sessions, correction, abstention, user and
project isolation, echo, control-text refusal and rejection.
@vu1n vu1n self-assigned this Oct 31, 2026
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 31, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-31T07:32:44.828671Z 23dd8a0 PR opened
🔒 Security Review ✅ Completed 2026-10-31T07:33:19.126922Z 23dd8a0 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@vu1n
vu1n merged commit 705dfed into main Oct 31, 2026
5 checks passed
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