Skip to content

T10: Move redaction timing to before job enqueue in record! #47

@dpaluy

Description

@dpaluy

Task Details

Priority: p1 | Story Points: 3 | Group: C (Integration)
Depends on: T5, T6, T9

Files

  • lib/tracebook.rb
  • test/lib/tracebook_test.rb

Acceptance Criteria

  • Redaction happens in record! method synchronously
  • Job receives already-redacted payload (no raw PII)
  • Test confirms no PII in job args
  • Performance acceptable (<5ms for regex redaction)

Context

Part of PII Redaction Architecture Refactor - Phase 1: Core Infrastructure
CRITICAL SECURITY FIX: Raw PII must never enter job queue

See full plan: docs/plans/260106-02b-pii-redaction-architecture.md

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions