What is an agent memory file?
It is a persistent store of project notes or preferences used across tasks. It should contain stable, useful facts and be reviewed for stale or sensitive content.
The question library
Explore practical questions, clear explanations, and code examples across developer technologies.
Showing 373–384 of 3610 questions
It is a persistent store of project notes or preferences used across tasks. It should contain stable, useful facts and be reviewed for stale or sensitive content.
Check the working tree before edits, avoid broad resets, use dedicated branches or worktrees, and restore only known agent-created changes.
Separate Git worktrees allow independent branches and working directories, reducing file conflicts between concurrent tasks.
Use mocks or test environments by default; require explicit authorization for real emails, payments, deployments, or destructive data changes.
Use fast static checks and unit tests first, then integration and end-to-end tests, plus manual review for high-risk behavior.
Identify the failing job and exact step, reproduce it locally when feasible, distinguish flaky/environment failures from regressions, and report evidence.
Use version control and small commits, deploy gradually where appropriate, monitor health, and ensure data changes have an explicit recovery plan.
Use formatters, linters, type checks, tests, pre-commit hooks, and CI policies for requirements that must be consistently enforced.
Record the task, files changed, commands run, test outcomes, approvals, and relevant commit or build identifiers without recording secrets.
Identify assets, trust boundaries, actors, entry points, abuse cases, and mitigations before building an AI-enabled feature or granting an agent tools.
Untrusted instructions in issues, webpages, source comments, or retrieved files can attempt to manipulate agent behavior or exfiltrate information.
Model output can be syntactically valid but semantically unsafe. Validate through parsing, type checking, tests, static analysis, and human review.