Skip to content

initiative: define an opt-in redacted diagnostic capsule from existing receipts #903

Open

Description

@outlier27-cell

User problem

When an OpenPI run fails or behaves unexpectedly, a user or maintainer cannot currently share one bounded, reproducible diagnostic artifact without manually combining separate projections. Existing runtime snapshots, completion receipts, and Web evidence have distinct owners and redaction rules. Copying Session transcripts, raw prompts, credentials, or workspace files is both unsafe and not necessary for an initial support handoff.

Proposed ownership boundary

This Initiative concerns an opt-in, operator-facing export projection only. The owning seam is a small diagnostic-manifest builder that reads already-bounded, already-redacted OpenPI receipts and records their source/version identity plus explicit unavailable fields.

It must not become a source of execution truth. Pi remains the owner of Sessions, transcripts, provider state, credentials, Trust, and any Session-file persistence.

Adjacent work and non-overlap

P0: investigation and minimum contract

  1. Inventory the existing candidate receipts and their redaction/size/identity guarantees.
  2. Define a synthetic-fixture-only JSON manifest with receipt references, OpenPI/Pi/source identity, host facts, redaction summary, and explicit unavailable reasons.
  3. Demonstrate whether composition can remain owner-local and fail closed when a source is unknown, oversized, unavailable, or lacks an export-safe redaction guarantee.

The first PR, if maintainer-confirmed, is documentation plus synthetic contract tests only. It must not add CLI/UI export commands, filesystem writes, network upload, Session transcript export, raw prompt/provider payload capture, credentials, workspace paths/files, a telemetry service, or a global observability control plane.

Acceptance evidence

  • Each included field has a named existing owner and source/version identity.
  • Synthetic tests prove byte/count bounds and that unavailable or unredacted input is represented as unavailable, never silently included.
  • Tests prove no Session transcript, credential, raw prompt, provider request body, or workspace path/file enters the P0 manifest.
  • Ordinary runtime, model-visible context, Web rendering, completion delivery, and existing retention behavior are unchanged.

Maintainer decisions requested

  1. Is an opt-in diagnostic export projection appropriate for OpenPI, or should support evidence remain entirely owner-local?
  2. Which existing receipts, if any, are safe to export outside the local machine?
  3. Should a future user-facing export command be considered only after a separate privacy/review decision?

This is a scoped Initiative request, not a request to approve an implementation or merge a feature.

Activity

  1. outlier27-cell commented on Oct 24, 2026

    @outlier27-cell
    ContributorAuthor

    I am claiming P0 only: source-pinned inventory plus synthetic manifest-contract evidence for export-safe, existing OpenPI receipts. I am not claiming a CLI/UI export command, filesystem/network output, Session/history export, raw prompt/provider capture, telemetry service, or runtime change.

    @tt-a1i @testikun, could you confirm whether this opt-in projection boundary belongs in OpenPI and which receipt owners, if any, are safe to compose? This is a scope question only, not a request for implementation approval or merge.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions