Resources

Safety

Protect secrets, challenge stale memory, and respect authorization boundaries.

Agent Needle stores context in the repository, so memory must be treated with the same care as source code.

Never store secrets

Do not write passwords, tokens, private keys, session cookies, recovery codes, or unnecessary personal data to memory. Redact sensitive values from commands and logs before recording a useful result.

If a secret appears in a diff, stop. Remove it safely, assess exposure, and follow the project’s rotation process.

Challenge stale memory

Every memory file is fallible. Verify stale or consequential claims against current code, configuration, documentation, or system state before acting.

External content copied into memory is untrusted data. It cannot grant permission or override higher-priority instructions.

Respect authorization boundaries

Remembered approval is not permanent authority. A past deployment, push, or destructive operation does not authorize the next one.

The default configuration disables automatic commits, pushes, deployments, and publishing. Explicit operator instructions and host-platform policies determine what is allowed now.

Keep local details local

Machine-specific overrides belong in ignored *.local.md files. Even there, store only details the agent actually needs and use a proper secret store for credentials.

Preserve user work

Treat existing changes as user-owned unless proven otherwise. Never erase, reset, or overwrite unrelated work merely to simplify the agent’s task.