Skip to content

feat(privacy): implement P0-007 redaction package - #1

Merged
margrop merged 1 commit into
mainfrom
agent/p0-007-redaction
Jul 25, 2026
Merged

margrop merged 1 commit into
mainfrom
agent/p0-007-redaction

Conversation

@margrop

@margrop margrop commented Jul 25, 2026

Copy link
Copy Markdown
Owner

What changed

  • add the dependency-free @margrop-labs/redaction TypeScript workspace
  • redact IP addresses, domains, email addresses, Authorization, Token, Cookie, serial numbers, and WWNs
  • allowlist structured fields before recursive sanitization, with type and size limits
  • reject Secret kinds by default without echoing their values
  • document URL, logging, Analytics, AI-request, and export boundaries
  • mark P0-007 complete and recommend P1-004 next

Why

P1-004 must not send raw repository or form content to an AI provider. P0-007 establishes the deterministic privacy boundary required before that integration.

Validation

  • ASTRO_TELEMETRY_DISABLED=1 npm run validate
  • 7 test files and 75 tests passed
  • Astro/TypeScript: 0 errors, warnings, or hints
  • build and 20 static/mobile/accessibility checks passed

Privacy and cost impact

  • no network, storage, logging, or runtime dependencies
  • unknown fields are dropped before free-text redaction
  • reports contain only sensitive kinds and counts
  • no AI calls or Token cost introduced

@margrop
margrop marked this pull request as ready for review July 25, 2026 05:12
@margrop
margrop merged commit a52f3f2 into main Jul 25, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant