Protect local project files with explicit AI agent permission boundaries
Updated
Bind the exact project folder, define allowed changes, keep secrets out of task text, and grant extra access only for the current need. In the preview.16 source candidate, the host enforces delivery and check boundaries and supports explicit, revocable read-only references. Local storage does not mean that a native agent or cloud model never receives project content. This guide covers source preparation; it does not announce a new public installer or certify every native tool as a sandbox.
Steps
Start from a recoverable project copy
Commit or back up the files you need before a risky task. Identify the exact working folder and files that may change. Do not place private keys, production databases or personal session exports in the review material. A conversation’s mention of another directory is not an access grant.
Grant the smallest useful access
Use the native permission flow and inspect the scope shown for the selected agent. If a checker only needs context from another directory, use an explicit read-only reference where supported. Such a reference can be revoked and does not grant write access. Different engines have different capabilities; a prompt alone cannot enforce a filesystem boundary.
Confirm stopping before another writer starts
A click on Stop is a request, not proof that every process or external operation has ended. Inspect task status and uncertain effects. Wait for confirmed stopping before starting a replacement writer, performing maintenance or deleting a temporary folder. Unknown effects need reconciliation rather than an automatic retry that may duplicate work.
Inspect delivery and static previews
Review the file candidate, changed-file list and unverified items before acceptance. Hosted static previews use saved content so a temporary development server need not stay alive. Page scripts and external resources are restricted. A static page looking correct does not establish that its JavaScript, external fonts, APIs or interactive controls work.
Commands & templates
Allowed: edit the selected project UI files.
Read-only: explicitly approved reference material.
Protected: credentials, production data, unrelated directories.
Before expanding access: pause for a scoped decision.
Delivery: list files, checks, unverified items and unknown effects.Separate storage, model access and acceptance
Botogether stores chats, settings and snapshots locally. The native agent and selected model provider may still receive prompts, project content and scoped memories to perform the task. Review those tools’ own authentication and telemetry practices. Delivery acceptance is your decision about the presented candidate; it is not a substitute for backups or a rollback of every external action.
| Boundary | Useful evidence | Limit |
|---|---|---|
| Read-only reference | Explicit grant, scope and revocation | Does not authorize edits |
| Stopped task | Confirmed process and effect status | Unknown is not safely stopped |
| Static preview | Saved page and preview restrictions | Does not test a running web application |
Good to know
- Do not put secrets in personas, shared memories, task prompts or bug reports.
- Native tool permission behavior varies; if a read-only boundary cannot be enforced, do not treat a “please only read” instruction as equivalent protection.
- This stage does not validate Windows process stopping, real provider logins or production data handling anew.
Questions about this guide
Does local-first mean offline-only?
No. Local storage and cloud model access are different boundaries. Only send material that the selected tool and provider are allowed to process.
Does a hosted static preview deploy my website?
No. It is a saved-content preview within the app. Public hosting, a persistent development server and interactive app validation are separate steps.
Local data and privacy ↗Bounded review ↗Multi-tool workspace setup ↗