Back to skills
SKILL.md
Consent Negotiation Compliance
ASecurityTitle: Consent Negotiation Compliance Keywords: consent-negotiation, epd-5-3, gdpr, ieee-7012, myterms, gpc, ccpa, cpra, bilateral-receipt, revocation-outbox, coarse-interests, fail-closed Agents: privacy-engineer, backend, api, security, code-review, test When to use: When implementing, modifying, or auditing agentic consent negotiation, ePD Art. 5(3) Disclosure Manifests, IEEE 7012-2025 MyTerms, W3C GPC / CCPA opt-out handling, Ed25519 bilateral receipts, or x402 pay-for-access consent isol...
- 4 stars
- 0 votes
- 0 copies
- 0 views
- Added December 5, 2026
Works with
Security analysis
100/100npx -y skills add ronnikc/agent-os-protocol --skill consent-negotiation-compliance --agent claude-codeAre you the author of Consent Negotiation Compliance?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/ronnikc-consent-negotiation-compliance)Title: Consent Negotiation Compliance
Keywords: consent-negotiation, epd-5-3, gdpr, ieee-7012, myterms, gpc, ccpa, cpra, bilateral-receipt, revocation-outbox, coarse-interests, fail-closed
Agents: privacy-engineer, backend, api, security, code-review, test
When to use: When implementing, modifying, or auditing agentic consent negotiation, ePD Art. 5(3) Disclosure Manifests, IEEE 7012-2025 MyTerms, W3C GPC / CCPA opt-out handling, Ed25519 bilateral receipts, or x402 pay-for-access consent isolation in `@agent-os/consent-negotiation`.
Version: 1.0.0
Last updated: 2026-12-05
Enforce legal-tech compliance invariants for `@agent-os/consent-negotiation`: fail-closed pre-storage gating, strict ePD Art. 5(3) disclosure specificity, IEEE 7012-2025 MyTerms agreement semantics, hard W3C GPC / CCPA opt-out precedence, bounded coarse interest profiles, Ed25519 bilateral receipts, and instant revocation.
---
## Workflow
### Step 1 — Validate ePD Art. 5(3) Disclosure Manifest specificity
Inspect every `DisclosureManifest` passed to `evaluateConsentNegotiation`:
- Require explicit purpose IDs, data categories, retention periods, and storage endpoints.
- Reject vague recipient strings (`"partners"`, `"third parties"`, `"various"`, `"affiliates"`).
- Confirm undeclared third-party vendors trigger escalation (`requires_human_confirmation` or reject), never silent acceptance.
### Step 2 — Verify W3C GPC & CCPA/CPRA opt-out precedence
Confirm that `Sec-GPC: 1` (or `navigator.globalPrivacyControl === true`) and CCPA opt-out flags take hard precedence:
- Sale/sharing and cross-context behavioral targeting MUST be denied regardless of site defaults or agent preferences.
- Opt-out signals must never be overridden by bundled consent prompts.
### Step 3 — Verify IEEE 7012-2025 MyTerms & coarse interest bounds
- Validate MyTerms agreement identifiers and unilateral-withdrawal semantics (`PDC-AI`, `SD-BY`, etc.).
- Confirm user interest profiles stay bounded to the low-cardinality coarse taxonomy (at most 5 coarse tags; zero raw behavioral identifiers or fingerprinting fields).
### Step 4 — Verify bilateral receipts, revocation, and x402 isolation
- Sign and verify every accepted agreement with `createBilateralReceipt` and `verifyBilateralReceipt` (Ed25519 over canonical payload).
- Exercise `ConsentNegotiationSessionStore` and the idempotent revocation outbox to prove instant withdrawal invalidates active sessions.
- When paired with x402 PLT pay-for-access, prove payment settlement NEVER bundles or implies marketing/tracking consent (strict consent isolation).
### Step 5 — Run compliance verification suites
Run `npm run verify-consent` and `npm run verify-phase4-showcase` and record pass counts.
---
## Input Schema
```yaml
input:
target_files:
type: array
required: true
description: "Source or manifest paths implementing consent negotiation"
jurisdiction_profile:
type: string
required: false
enum: [eu_epd_gdpr, us_ccpa_gpc, dual]
default: dual
includes_x402_paywall:
type: boolean
required: false
default: false
```
## Output Schema
```yaml
output:
manifest_valid: { type: boolean }
gpc_precedence_verified: { type: boolean }
receipt_crypto_verified: { type: boolean }
revocation_verified: { type: boolean }
x402_consent_isolated: { type: boolean }
verify_consent_passed: { type: boolean }
```
## Quality Gate
- Fail-closed default: zero non-essential storage or vendor calls before verified receipt.
- `Sec-GPC: 1` / CCPA opt-out cannot be overridden under any negotiation branch.
- Coarse interest taxonomy strictly bounded (max 5 items, no high-entropy identifiers).
- Ed25519 bilateral receipts verify cleanly and tamper checks fail closed.
- `npm run verify-consent` (22/22) and `npm run verify-phase4-showcase` (7/7) pass.
## Chain Metadata
```yaml
chain_metadata:
skill_slug: "consent-negotiation-compliance"
stage: "S4"
suggested_next:
- slug: "aesirx-cmp-setup"
stage: "S4"
reason: "Wire verified consent policies into target web repos via aesirx-cmp-mcp"
- slug: "x402-concordium-commerce"
stage: "S1"
reason: "Verify pay-for-access payment flows stay strictly isolated from tracking consent"
```
## Error Handling
- Undeclared third-party vendor encountered → escalate for human review or fail closed; never auto-approve.
- Receipt signature mismatch or expired nonce → reject session grant and emit audit record.
- Revocation delivery failure → keep entry in idempotent revocation outbox with bounded retry and fail-closed local state.
Attribution
Related skills
View all in ai-agents →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.