Skip to content

Privacy seams on the OTEL path: inline policy drop, spool deletion, purge and detach sweep #808

Description

@philcunliffe

Parent

Implementation spec: #798 (LLP 0245).

What to build

The privacy guarantees hold on the new path with no fail-open window. The .hypignore and machine-local local-only checks run inline at ingest, with cwd known from the retained SessionStart hook, using the existing usage-policy drop sentinel. Ignored or policy-dropped sessions produce zero rows AND their spool bodies are DELETED, never merely skipped. hyp purge and detach both sweep the spool directory.

Acceptance criteria

  • OTEL-path analog of the hypignore capture-drop smoke: two sessions, one under .hypignore; only the clean session's rows land, the drop signal fires, and the ignored session's body files are gone from the spool
  • No rows written before policy resolution (the fail-open window does not reappear)
  • hyp purge sweeps the spool; detach sweeps the spool (using the directory recorded on the marker)
  • Machine-local list honored from the shared state root

Blocked by

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

    ready-for-agentSpec is complete; an agent can pick this up

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions