Repository navigation
Description
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
- feat(runtime): 为 Agent 提供有界、只读的有效运行时快照 #651 owns runtime snapshots; this does not expand model-visible snapshots or alter their retention.
- feat(delivery): 为委派结果提供区分执行事实与模型声明的完成收据 #652 owns delegation completion evidence; this does not change completion delivery or receipts.
- feat(web): capture exact provider requests and authoritative execution timing #454 owns exact provider-request/timing observation; this does not capture raw provider requests or establish a new timing authority.
- feat(web): complete archive, history, recovery, and fork session lifecycle #347 owns Web archive/history/recovery; this does not export, migrate, or delete Web/Pi Session history.
- initiative: define evolution rules for OpenPI-owned persisted sidecars #901 inventories OpenPI-owned persisted sidecars; this exports no persisted sidecar and creates no migration mechanism.
P0: investigation and minimum contract
- Inventory the existing candidate receipts and their redaction/size/identity guarantees.
- Define a synthetic-fixture-only JSON manifest with receipt references, OpenPI/Pi/source identity, host facts, redaction summary, and explicit unavailable reasons.
- 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
- Is an opt-in diagnostic export projection appropriate for OpenPI, or should support evidence remain entirely owner-local?
- Which existing receipts, if any, are safe to export outside the local machine?
- 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
outlier27-cell commentedon Oct 24, 2026
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.