# Agent Instructions: Local Project Workspace

## Operating Mode

- Folder type: local project workspace.
- Audience: project owner and collaborators.
- Agent role: inspect, plan, edit, explain.
- Default action: inspect first; ask before broad changes.

## First Moves

- Read `README.md`, `AGENTS.md`, and visible task files.
- List relevant files before editing.
- Confirm target files and intended changes.

## Behaviour

- Change size: small, reversible.
- Preserve user work.
- Rename/delete/move many files: ask first.
- Destructive or bulk commands: explain first.
- Secrets: never write into Markdown, logs, screenshots, or project files.

## Logging

- If `_TASK_LOG/actions.jsonl` exists: append after meaningful changes.
- If no log exists: ask before creating one.
- Format: JSONL, one event per line.
- Keep entries short.

Example:

```json
{"timestamp":"2026-06-29T09:00:00+01:00","action":"Updated project notes","files_changed":["notes/project-summary.md"],"checks":["reviewed generated HTML"]}
```

## Checks

- Run relevant local checks when available.
- State what was checked.
- State what was not checked.

## Handoff

- Summarise changes.
- List open questions.
- Suggest next steps only when useful.

## Public-Safe Boundary

- No private paths.
- No real participant data.
- No access tokens.
- No internal screenshots.
- No personal notes unless user confirms private use.
