Files
2026-08-15 15:05:39 -06:00

48 lines
2.2 KiB
Markdown

# AI Agent Instructions
## Repository Purpose
This is a sanitized public reference implementation of PaddleNET's automation-based email-list system. Preserve its operational teaching value while preventing credentials, subscriber data, private paths, live infrastructure identifiers, and private telemetry from entering public output.
## Read Order
1. `README.md`
2. `AUTHOR.md`
3. `repository-variables.json`
4. `repository.json`
5. `PUBLICATION_WORKFLOW.md` and `sanitization-map.md` for publication work
6. `skills.md`
7. The relevant skill, documentation, schema, or source file
## Task Routing
- Repository metadata or structure: follow the task-plan workflow in `tasks/README.md`.
- Private-to-public sync: follow `PUBLICATION_WORKFLOW.md` and require human review before commit or push.
- Email operations: use the matching skill under `skills/` and its deterministic CLI commands.
- Security or leak review: run `scripts/leak-scan.ps1` and inspect each finding.
## Safety Boundaries
- Never commit credentials, subscriber data, private JSONL operations, databases, backups, raw telemetry, detailed receipts, private paths, or live infrastructure identifiers.
- Never send email, mutate subscribers, alter suppressions, deploy, schedule production jobs, or change infrastructure without the authorization required by the relevant skill and documentation.
- Do not edit production SQLite directly or bypass validation, authorization, backup, suppression, idempotency, or dry-run controls.
- Treat `UPDATES.md` as proposals, not approval.
- Do not commit, push, rewrite history, publish, or delete repository content without explicit authorization.
## Validation
Run:
```text
python scripts/validate_repository.py .
python -m unittest discover -s tests -p "test_*.py"
powershell.exe -NoProfile -ExecutionPolicy Bypass -File scripts/leak-scan.ps1
git diff --check
```
Also validate modified skills with the skill validator and run focused project checks for modified Python, Docker, schema, template, or workflow files.
## Escalation
Stop for human direction when authorization is ambiguous, a safety check fails, content or audience would materially change, private publication risk is unresolved, or an operational exception cannot be resolved safely.