97 lines
5.7 KiB
Markdown
97 lines
5.7 KiB
Markdown
# Agent Instructions
|
|
|
|
## Repository Purpose
|
|
|
|
This repository contains a reusable email-intelligence skill and a growing collection of evidence-backed outdoor and active-lifestyle brand reports.
|
|
|
|
## Read Order
|
|
|
|
1. `README.md`
|
|
2. `AUTHOR.md`
|
|
3. `repository-variables.json`
|
|
4. `repository.json`
|
|
5. `AGENTS.md`
|
|
6. `content-index.json` when locating a report
|
|
7. `skills.md` and the relevant skill when running the workflow
|
|
|
|
Retrieve individual reports only as needed. Treat `UPDATES.md` as proposals, not authorization.
|
|
|
|
## Sources Of Authority
|
|
|
|
- `repository-variables.json`: verified stable identity, publication, rights, profile, and workflow defaults.
|
|
- `repository.json`: repository purpose, entry points, collections, and retrieval policy.
|
|
- `content-index.json`: discovery metadata for individual reports.
|
|
- `skills/outdoor-brand-email-innovation-intelligence/SKILL.md`: current workflow instructions.
|
|
- Files under `outdoor-brand-email-analysis/`: authoritative historical report content.
|
|
|
|
## Weekly Report Additions
|
|
|
|
When the user asks to add a new ChatGPT-generated analysis:
|
|
|
|
1. Save it as `outdoor-brand-email-analysis/YYYY-MM-DD-outdoor-brand-innovation-intelligence-report.md` unless the user supplies a different stable name.
|
|
2. Preserve every existing report unless the user explicitly requests a correction.
|
|
3. Add exactly one unique item to `content-index.json` and update its `updated_at` value.
|
|
4. Keep `repository.json` maintenance dates and the changelog accurate when the collection changes materially.
|
|
5. Run repository validation and tests.
|
|
|
|
Do not generate chunk IDs, knowledge IDs, `chunks.json`, or `qa.json` as part of normal weekly maintenance.
|
|
|
|
## Skill Routing
|
|
|
|
Use `skills/outdoor-brand-email-innovation-intelligence/SKILL.md` when asked to review outdoor or active-lifestyle brand emails, produce the weekly strategic briefing, compare signals across reports, or update the report collection.
|
|
|
|
## Allowed Actions
|
|
|
|
- Read repository entry points and selectively retrieve indexed reports.
|
|
- Read connected Gmail data when the user asks to run the intelligence workflow and the Gmail connector is available.
|
|
- Create a new report and content-index entry when the user requests that output.
|
|
- Make scoped documentation, taxonomy, template, or validation improvements requested by the user.
|
|
|
|
## Restricted Actions
|
|
|
|
- Do not rewrite, summarize in place, rename, or delete historical reports without explicit approval.
|
|
- Do not send email, modify Gmail state, or change labels as part of analysis.
|
|
- Do not copy the external consumer-brand playbook into this repository unless the user separately authorizes publication and rights permit it.
|
|
- Do not invent email evidence, brand behavior, dates, source links, publication metadata, or confidence.
|
|
- Do not alter Git remotes, host settings, releases, tags, or visibility unless explicitly requested.
|
|
- Do not treat a task plan or `UPDATES.md` as approval.
|
|
|
|
## Evidence Rules
|
|
|
|
- Separate explicit evidence, reasonable inference, and speculation.
|
|
- Preserve brand names, dates, subjects, and source context accurately.
|
|
- Use the minimum private email content needed to support an approved report.
|
|
- Clearly label weak signals and uncertainty.
|
|
|
|
## Security And Privacy
|
|
|
|
Never commit credentials, OAuth tokens, session data, private inbox links, unrelated personal information, customer data, or confidential message content. Stop and request direction if a requested report would expose sensitive information or material the user may not have rights to publish.
|
|
|
|
## Validation
|
|
|
|
Run:
|
|
|
|
```text
|
|
python scripts/validate_repository.py .
|
|
python -m unittest discover -s tests -p "test_*.py"
|
|
```
|
|
|
|
Also validate a modified skill with the available Codex skill validator.
|
|
|
|
## Output Requirements
|
|
|
|
- Keep reports concise, evidence-aware, strategically useful, and aligned to the primary skill's output contract.
|
|
- Use repository-relative links and paths in committed content.
|
|
- Keep `VERSION`, `repository.json`, `CITATION.cff`, and released `CHANGELOG.md` entries aligned.
|
|
- Record completed structural work in task receipts when the approved workflow requires them.
|
|
|
|
## Source verification and coverage (owner-approved 2026-11-09)
|
|
|
|
Unavailable or unverifiable sources do not block independently verified material. Complete the bounded research attempt and deliver a **completed-with-gaps** report when coverage is incomplete, using only supported factual claims and clearly labeled inference. Preserve the requested reporting window; do not substitute stale material as current.
|
|
|
|
Include a visible Search Coverage and Limitations section naming attempted coverage, unavailable/unverified sources, excluded claims, and the resulting limits. Missing access, failed searches, unknown dates, and unverified sources are gaps, never evidence of no news. Do not silently skip them, fabricate corroboration, or claim an engine ran when it did not. Continue other independent sources within the existing budget.
|
|
|
|
Completion of a deliverable is separate from full-coverage success. Read back and validate the saved report before indexing it; catalog completed-with-gaps reports with explicit coverage limitations. Do not advance a full-coverage success checkpoint for a gap-bearing run. If no current claims can be verified, deliver a clearly labeled coverage-only outcome with no invented findings, not a successful current-news report.
|
|
|
|
Privacy, authorization, sensitive-data handling, source provenance, output integrity, schema validation, readback, duplicate prevention and concurrency safeguards remain hard gates for affected actions. Uncertain or conflicting evidence must not support factual conclusions. Never bypass an access denial or change security settings to fill a gap. This policy does not authorize publication, push, schedule changes or external communications.
|