Skip to content

Opt-in session trace and recording export #15

Description

@AetherAI3

Goal

Add an opt-in, bounded session trace/recording export suitable for debugging and reproducible
release evidence.

Scope

  • Define a versioned event schema for session lifecycle, navigation, interaction, and snapshot
    metadata.
  • Make content capture, screenshots, and video separate explicit opt-ins.
  • Apply deterministic size, duration, event-count, and retention bounds.
  • Redact authorization headers, tokens, credentials, form secrets, and configured sensitive fields.
  • Record integrity metadata so an exported trace can be tied to an exact commit and image.
  • Provide safe deletion and failed-export cleanup behavior.

Acceptance criteria

  • Recording is disabled by default and cannot widen browser authority or egress.
  • Tests prove secrets never appear in default exports and bounds fail closed.
  • Redirects, errors, and partial sessions produce well-formed terminal records.
  • Documentation distinguishes diagnostic traces from runtime/demo proof.
  • A threat-model update covers local disclosure, retention, and multi-user risks.
  • Exact-image staging acceptance verifies export and cleanup behavior before release.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is neededroadmapPlanned work beyond the current release candidate

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions