forge-privacy: Privacy
Engine: Forge native
Purpose
Inspect personal-data inventory, purpose, minimization, consent, retention, access, deletion, export, and logging.
Deterministic runtime composition
Before loading any provider procedure, run:
Resolve ../../runtime/cli/src/composition-entry.js relative to this SKILL.md, then run:
node "<resolved-absolute-runner-path>" privacy compose --workflow audit --root "<repository-root>" --dry-run --json
Add one repeatable --request <provider-or-source> flag for each explicit user request. Add
--condition <task-condition> or --risk-surface <surface> only for a task fact you directly
proved; never infer one from generic wording. The command above is the default for this
audit-oriented module; for implementation use --workflow build, and for a fix, retest, or
release gate use --workflow fix, verify, or ship respectively. Read the JSON response,
keep the Forge contract at index zero, and resolve paths against the absolute runtime_root
reported in that response. Read eager[].runtimePath when entering the module. The full
selected[] list is availability/provenance; load only deferred[].runtimePath when the task
reaches that concern, in tier order. Refuse any path that escapes the root. Respect every reported
suppression and context budget. If missing is non-empty, stop and report the installation as
damaged; do not improvise a prose fallback. The runner and specialist content may live in a plugin
cache or global installation; never assume they are inside the audited repository.
Resolve and read ../fullstack-forge/references/shared/module-contract.md (applicability,
execution, mutation, verification, completion) and
../fullstack-forge/references/shared/evidence-rules.md (statuses, standards, tools, findings via
../fullstack-forge/references/PROTOCOL.md) relative to this module SKILL.md before reporting.
Never hide failed checks or claim that an operation ran when it did not.
Automatic activation signals
Activate when a request or direct repository evidence involves privacy, when
the user explicitly names forge-privacy, or when discovery proves an applicable boundary.
- Applications processing personal, device, behavioral, or sensitive data
When not to activate
- Systems proven to process no data linkable to a person
Automated support
Relevant discovery inputs are:
- data inventory
- schemas
- analytics and integration flows
- privacy documentation
Deterministic support, bounded evidence only:
inspect-env-template
scan-secret-patterns
Agent inspection procedure
- Inventory personal-data fields across the schema, logs, analytics, and third-party flows, and record the purpose for each.
- Trace collection points against the stated purpose and flag fields collected without use or consent.
- Verify retention: deletion paths for accounts and tenants actually remove or anonymize the data, including files, caches, backup policy, and analytics.
- Inspect logging and error paths for personal data and verify redaction at the sink.
- Check export and correction capabilities, third-party processor flows, and residency constraints against the documented policy.
Manual inspection requirements:
- Obtain qualified legal review for jurisdiction-specific obligations
- Confirm processor contracts and production retention settings
Stack-specific guidance:
- Inspect generated telemetry and managed-service defaults, not schemas alone
Evidence to collect
Standards used as criteria:
- NIST Privacy Framework
- OWASP User Privacy Protection Cheat Sheet
Common production failures
- Map collection, purpose, legal basis or consent, storage, processors, transfer, retention, and deletion
- Inspect logs, analytics, backups, exports, support access, subject requests, and privacy defaults
- Verify sensitive fields are minimized, protected, and excluded from accidental telemetry
Missing-control checks
Each item needs direct evidence or one reasoned status.
- Personal-data inventory
- Purpose for each field
- Data minimization
- Consent
- Retention
- Account deletion
- Tenant deletion
- Data export
- Data correction
- Sensitive-data classification
- Encryption
- Analytics tracking
- Log redaction
- Backups
- Development data
- Test data
- Third-party processors
- Data residency
- Privacy notices
- Children's data
- User rights
- Data-sharing behavior
- Whether data should be collected or retained at all
Commands and tools
- Run
forge privacy audit --json or fullstack-forge privacy audit --json when
an explicit audit is requested and the CLI is installed. Normal feature work does not require it.
Safe fixes
- Redact unnecessary personal data from logs
- Document a verified data-flow or retention control
Approval-required changes
- Changing consent, retention, deletion, data sharing, or legal representations
Verification
- Trace representative data through create, access, export, deletion, and backup handling
- Confirm telemetry does not receive prohibited fields
Completion contract
Follow fullstack-forge/references/shared/completion.md and the limitations below.
Known limitations
- Do not provide legal conclusions; mark missing policy evidence NOT_VERIFIED
1---2name: forge-privacy-33description: Inspect personal-data inventory, purpose, minimization, consent, retention, access, deletion, export, and logging.4---56# forge-privacy: Privacy78Engine: Forge native910## Purpose1112Inspect personal-data inventory, purpose, minimization, consent, retention, access, deletion, export, and logging.131415## Deterministic runtime composition1617Before loading any provider procedure, run:1819Resolve `../../runtime/cli/src/composition-entry.js` relative to this `SKILL.md`, then run:2021`node "<resolved-absolute-runner-path>" privacy compose --workflow audit --root "<repository-root>" --dry-run --json`2223Add one repeatable `--request <provider-or-source>` flag for each explicit user request. Add24`--condition <task-condition>` or `--risk-surface <surface>` only for a task fact you directly25proved; never infer one from generic wording. The command above is the default for this26audit-oriented module; for implementation use `--workflow build`, and for a fix, retest, or27release gate use `--workflow fix`, `verify`, or `ship` respectively. Read the JSON response,28keep the Forge contract at index zero, and resolve paths against the absolute `runtime_root`29reported in that response. Read `eager[].runtimePath` when entering the module. The full30`selected[]` list is availability/provenance; load only `deferred[].runtimePath` when the task31reaches that concern, in tier order. Refuse any path that escapes the root. Respect every reported32suppression and context budget. If `missing` is non-empty, stop and report the installation as33damaged; do not improvise a prose fallback. The runner and specialist content may live in a plugin34cache or global installation; never assume they are inside the audited repository.353637Resolve and read `../fullstack-forge/references/shared/module-contract.md` (applicability,38execution, mutation, verification, completion) and39`../fullstack-forge/references/shared/evidence-rules.md` (statuses, standards, tools, findings via40`../fullstack-forge/references/PROTOCOL.md`) relative to this module `SKILL.md` before reporting.4142Never hide failed checks or claim that an operation ran when it did not.4344## Automatic activation signals4546Activate when a request or direct repository evidence involves privacy, when47the user explicitly names `forge-privacy`, or when discovery proves an applicable boundary.4849- Applications processing personal, device, behavioral, or sensitive data5051## When not to activate5253- Systems proven to process no data linkable to a person5455## Automated support5657Relevant discovery inputs are:5859- data inventory60- schemas61- analytics and integration flows62- privacy documentation6364Deterministic support, bounded evidence only:6566- `inspect-env-template`67- `scan-secret-patterns`6869## Agent inspection procedure70711. Inventory personal-data fields across the schema, logs, analytics, and third-party flows, and record the purpose for each.722. Trace collection points against the stated purpose and flag fields collected without use or consent.733. Verify retention: deletion paths for accounts and tenants actually remove or anonymize the data, including files, caches, backup policy, and analytics.744. Inspect logging and error paths for personal data and verify redaction at the sink.755. Check export and correction capabilities, third-party processor flows, and residency constraints against the documented policy.7677Manual inspection requirements:7879- Obtain qualified legal review for jurisdiction-specific obligations80- Confirm processor contracts and production retention settings8182Stack-specific guidance:8384- Inspect generated telemetry and managed-service defaults, not schemas alone8586## Evidence to collect8788Standards used as criteria:8990- NIST Privacy Framework91- OWASP User Privacy Protection Cheat Sheet9293## Common production failures9495- Map collection, purpose, legal basis or consent, storage, processors, transfer, retention, and deletion96- Inspect logs, analytics, backups, exports, support access, subject requests, and privacy defaults97- Verify sensitive fields are minimized, protected, and excluded from accidental telemetry9899## Missing-control checks100101Each item needs direct evidence or one reasoned status.102103- Personal-data inventory104- Purpose for each field105- Data minimization106- Consent107- Retention108- Account deletion109- Tenant deletion110- Data export111- Data correction112- Sensitive-data classification113- Encryption114- Analytics tracking115- Log redaction116- Backups117- Development data118- Test data119- Third-party processors120- Data residency121- Privacy notices122- Children's data123- User rights124- Data-sharing behavior125- Whether data should be collected or retained at all126127## Commands and tools128129- Run `forge privacy audit --json` or `fullstack-forge privacy audit --json` when130 an explicit audit is requested and the CLI is installed. Normal feature work does not require it.131132## Safe fixes133134- Redact unnecessary personal data from logs135- Document a verified data-flow or retention control136137## Approval-required changes138139- Changing consent, retention, deletion, data sharing, or legal representations140141## Verification142143- Trace representative data through create, access, export, deletion, and backup handling144- Confirm telemetry does not receive prohibited fields145146## Completion contract147148Follow `fullstack-forge/references/shared/completion.md` and the limitations below.149150## Known limitations151152- Do not provide legal conclusions; mark missing policy evidence NOT_VERIFIED