Skip to content

feat(memoria): curinga '*' em PROFILE_INJECT_ACCOUNTS (ativar perfil para todos)#152

Merged
BrunooMoniz merged 1 commit into
mainfrom
feat/mem-inject-all
Jun 19, 2026
Merged

feat(memoria): curinga '*' em PROFILE_INJECT_ACCOUNTS (ativar perfil para todos)#152
BrunooMoniz merged 1 commit into
mainfrom
feat/mem-inject-all

Conversation

@BrunooMoniz

Copy link
Copy Markdown
Owner

Permite ativar a injeção do perfil curado para todas as contas via PROFILE_INJECT_ACCOUNTS=*, mantendo o isolamento per-account (cada conta só vê os próprios fatos) e o fail-closed: accountId ausente/vazio NÃO injeta nem com *. Mudança cirúrgica só no gate de resolveInstructions + 3 testes (curinga injeta, curinga não burla accountId ausente, flag off não injeta). 1349 testes verdes. Não toca search.ts/brain_chunks.

Enable após merge: PROFILE_INJECT_ENABLED=true, PROFILE_INJECT_ACCOUNTS=*, MEMORY_CURATION_ENABLED=true.

🤖 Generated with Claude Code

…odas as contas)

Mantem fail-closed: accountId ausente nao injeta nem com '*'. Cada conta so ve os proprios fatos.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@BrunooMoniz BrunooMoniz merged commit c141f20 into main Jun 19, 2026
4 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