Skip to content

docs(#854): disclose everything the plugin runs, sends and stores; fix the git backup trigger wording - #855

Merged
fdaviddpt merged 2 commits into
mainfrom
fix/854
Oct 2, 2026
Merged

fdaviddpt merged 2 commits into
mainfrom
fix/854

Conversation

@fdaviddpt

Copy link
Copy Markdown
Contributor

The Anthropic directory's security scan holds behaviour a plugin doesn't disclose in its README, and a directory reviewer reads the README. The preflight in #853 found gaps. This PR adds a "What this plugin runs, sends and stores" section under Trust Model and corrects one inaccurate sentence.

Closes #854

Changes in README.md

  • Git backup, corrected. It used to say "If you enable it", but there's no enable flag. It runs whenever the external store's parent folder is a git repository with an upstream (hooks.d/after_save/50-git-backup.sh:42,61-67,245).
  • Summarization:
    • REMEMBER_SUMMARIZER picks claude, codex or auto, and there's an opt-in REMEMBER_SUMMARIZER_FALLBACK.
    • The sandbox flags for each CLI: claude -p runs with no tools, no MCP, no hooks and its own temp directory; codex exec runs read-only, with no user config and no inherited environment.
    • Only the filtered session extract is sent, and only to that CLI's own provider (pipeline/haiku.py).
  • Credentials:
    • CLAUDE_CODE_OAUTH_TOKEN is passed through.
    • REMEMBER_OAUTH_TOKEN / haiku.oauth_token is injected as CLAUDE_CODE_OAUTH_TOKEN; only its length is logged.
    • ANTHROPIC_API_KEY is kept or stripped according to haiku.anthropic_api_key.
    • CODEX_API_KEY is passed to codex.
  • git fetch in the restore hook: opt-in through git_restore.enabled. It only fast-forwards local refs and never pushes.
  • Files written outside the project:
    • ~/.remember/tmp/promo-notice: the promo throttle, once per cooldowns.promo_seconds, default 7 days;
    • ~/.remember/run/summarizers/;
    • $TMPDIR/remember-*: 0600 files that can hold session text, removed when the save exits, and left behind only if the save is killed outright.

Every claim was checked against the code. The file:line evidence is in the lane report, summarized above.

Testing

Follow-up

Once #853 merges, check that every REVIEW line from .github/scripts/check_release_tree.py maps to a sentence in this section.

🤖 Generated with Claude Code

[AI-generated]

fdaviddpt and others added 2 commits October 2, 2026 12:44
… scan

The Anthropic directory's security scan holds undisclosed behaviour, and a
reviewer reads README.md before the code. Add a "What this plugin runs,
sends and stores" subsection under Trust Model covering the codex exec
summarizer path and REMEMBER_SUMMARIZER*, the opt-in git fetch in
50-git-restore.sh, the files written outside the project
(~/.remember/tmp/promo-notice, ~/.remember/run/summarizers/,
$TMPDIR/remember-*), and credential handling for CLAUDE_CODE_OAUTH_TOKEN,
REMEMBER_OAUTH_TOKEN/haiku.oauth_token, ANTHROPIC_API_KEY/haiku.anthropic_api_key,
and CODEX_API_KEY. Also fixes README.md:161, which claimed the git backup
push was gated by an enable flag that does not exist -- it triggers whenever
the external store's parent directory is itself a git repo with an upstream.

Co-Authored-By: Claude Sonnet 5 <[email protected]>
…es survive only a hard kill

Co-Authored-By: Max <noreply>
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.

README does not disclose everything the plugin runs, sends and stores (directory security scan)

1 participant