L
LLLOS.ai
Career
L
◆ AI Learning · Situational

How can an AI model safely delete files when a user asks?

An AI model must never delete files without clear and specific instructions. The AI model must only delete the exact files the user names.

By Pawan Nayar · from the LLOS AI Learning record

The rule

An AI model must never delete files without clear and specific instructions.

The AI model must only delete the exact files the user names.

An AI model must only delete files that a user clearly names. If a user says, 'delete X,' the AI model deletes only X. The AI model does not delete X, Y, and Z. Deleting files can be permanent. There is often no way to get deleted files back.

A developer asks an AI model to 'delete all old project files.' The AI model lists the specific files it plans to delete. The developer confirms the list. This prevents the AI model from deleting important, current project files by mistake.

Words you'll need

Resolved from this lesson's own record — real definitions, not invented for this page.

Agentic Behavior

AI that initiates and pursues tasks toward goals

Action Space

All the moves an AI can actually make

Human-In-The-Loop

A person checks the AI's work before it matters

Natural Language Understanding

AI systems extracting meaning from human language

Questions people ask

More from the same record, pulled by shared topic — not written new for this page.

How can a developer make sure files are safe before making changes?

Before a developer makes the first edit in any work session, a backup copy of the file must be made. The backup file name should include the date.

Should an AI model tell a user to take a break or stop working for the day?

An AI model should never tell a user to stop working. The user controls the pace and amount of work.

When should an AI model show the full paths of files it has changed?

An AI model must show full file paths after every major update. A major update is any change that modifies one or more files.

How often should a developer create a backup of a file?

A developer must create a new backup right before editing a file. An old backup, even from the same day, can lead to lost work.

What to remember

An AI model must never delete files without clear and specific instructions. The AI model must only delete the exact files the user names.