# Agent Instructions ## Purpose And Read Order This repository contains versioned Portable Identity Document templates, workflows, skills, and release metadata. Read, in order: 1. `README.md` 2. `AUTHOR.md` 3. `repository-variables.json` 4. `repository.json` 5. `VERSION` 6. `pid-release.json` 7. `skills.md` 8. The selected skill, template, or roadmap ## Workflow Routing - Use `skills/PID-initial-creation-skill.md` to create a first PID. - Use `skills/PID-update-maintenance-skill.md` to draft PID updates. - Use `skills/PID-version-checker-skill.md` for freshness checks. - Use `skills/PID-release-compatibility-checker-skill.md` before publishing or tagging PID resource changes. - Read `skills/PID-update-maintenance-skill-user-variables.md` only when the user supplies or authorizes that file for a maintenance workflow. ## Ownership Boundaries - Treat the ownership and update policies in `pid-release.json` as authoritative. - Never overwrite user-owned variables, review drafts, receipts, personal PID files, network PID link caches, or private source material. - Treat `review-drafts/` and `skills-receipts/` as potentially sensitive and retrieve them only when the task requires them. - Do not treat repository access as authorization to scan a user's personal data sources. ## Modification Rules - Preserve the established root filenames and skill paths. - Keep `VERSION`, `pid-release.json`, skill compatibility versions, `CHANGELOG.md`, `CITATION.cff`, and `repository.json` synchronized for actual releases. - Keep `README.md`, `skills.md`, and the release manifest synchronized when workflow entrypoints or ownership policies change. - Keep repository identity aligned across `repository-variables.json`, `AUTHOR.md`, `repository.json`, `CITATION.cff`, and `LICENSE`. - Record completed but unreleased work under `CHANGELOG.md` `Unreleased`. - Treat `UPDATES.md` as proposals, not authorization. ## Human Approval Requirements - Require explicit approval before changing a user's PID, user-owned files, privacy boundaries, release metadata, canonical URLs, licenses, tags, published resources, or remote/hosting settings. - PID creation and maintenance are review-first workflows. Do not publish or apply identity claims before user review. ## Privacy And Safety - Never invent claims, credentials, relationships, needs, offers, or evidence. - Minimize sensitive personal data and follow user-defined never-include, generalize, and ask-before-including rules. - Do not expose private paths, account values, referral keys, emails, calendar details, or source content in public examples or receipts. ## Validation 1. Parse repository and release JSON. 2. Confirm version, ownership, manifest, skill, and changelog compatibility. 3. Confirm declared files and internal links resolve with exact filename case. 4. Run repository tests and `git diff --check`. 5. Use the release compatibility skill before any release or tag. 6. Scan new examples and receipts for real personal data and credentials. 7. Record unavailable remote discovery rather than pretending freshness was verified.