Protected personality files and secret redaction in logs

Ouverte
#178 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

Difficulté
4/5
Temps estimé
3-5 jours
Accessibilité débutants
38/100
Type d'issue
Fonctionnalité
Clarté
Plutôt claire
Activité
Active
Stack technique
python
Domaine
backend, security

Piste de recherche

Start with how skill changes already become pending diffs, then check whether the same approval path can cover writes from sentient/memory/workspace.py and the memory and files tools. Separately, find the logging setup in sentient/app.py and the keychain access in sentient/secrets.py to see where a redaction filter would attach. Done means an agent write to a protected file asks first, a known secret value never appears in logs or tool errors, and tests cover both. The issue leaves the approval mechanism unspecified, so confirm the design with a maintainer before coding.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

area: engine area: memory enhancement help wanted priority: P2 size: S

An injected instruction that rewrites SOUL.md or a skill persists forever. Secrets that leak into tool errors and logs end up in bug reports. Hermes v0.21.0 shipped protection for both.

Idea:

  • agent writes to SOUL.md, USER.md, MEMORY.md, skills and config always require approval
  • secrets (keychain values, tokens, keys) are redacted from tool errors, logs and checkpoints

Status in Sentient today: Partial. Skill changes already land as pending diffs, and secrets live in the keychain (sentient/secrets.py). Workspace file writes and log redaction are not covered.

Where: sentient/memory/workspace.py, sentient/tools/builtin/memory_tool.py, sentient/tools/builtin/files_tool.py, a logging filter set up in sentient/app.py, and sentient/secrets.py.

Done when:

  • an agent write to a protected file asks first
  • a known secret value never appears in logs or tool errors
  • tests cover both

Sources:

Roadmap ID: SAFE-16 · Priority: P2 · Size: S

Langage dominant
Python
Étoiles
716
Forks
132
Merge moyen
16 h 34 min
PR mergées (30 j)
215

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de existence-master/Sentient

Toutes les issues de existence-master/Sentient

Issues similaires

Plus d'issues Python

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.