Skip to content

feature - RFC 104 stdlib and package receipts, redaction, replay, and reports #1028

Description

@dannymeijer

Area

  • Runtime / Core crates (stdlib/core/derive)
  • Tooling (CLI/formatter/test runner)
  • Documentation

Problem statement

Receipts cannot be a logging convention. RFC 104 requires every host-bound stdlib operation and package-defined domain operation to emit compatible structured authority facts without exposing secrets.

Proposed solution

Implement the shared receipt API, redaction model, replay classifications, report artifacts, and standard-library/package integrations required by RFC 104.

Alternatives considered

  • Telemetry-only events: do not give local policy and tooling a stable authority contract.
  • Private stdlib receipt hooks: exclude package authors from the common report model.

Scope / acceptance criteria

  • In scope:
    • Public typed receipt APIs for stdlib and package-defined capabilities.
    • Receipts for environment, filesystem, process, HTTP, clock, randomness, model, and tool boundaries where the corresponding surfaces exist.
    • Status, nesting/correlation, source and semantic identity, redaction metadata, partial-work honesty, and replay classification.
    • Machine-readable run reports with requested/granted/denied capabilities, receipts, diagnostics, redaction summaries, artifacts, and replay limitations.
    • Receipt/report relationship to telemetry without making telemetry required.
  • Out of scope:
    • Raw secret reveal or mandatory remote telemetry.
  • Done when:
    • Stdlib and package receipts flow into one report schema.
    • Reports accurately describe allowed, denied, failed, partial, redacted, and replay-limited paths.

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

    documentationImprovements or additions to documentationfeatureNew feature or requestruntime / core cratesSuggestions, features, or bugs related to the `incan-core`, `incan-stdlib`, 'incan-derive` cratestoolingSuggestions, features, or bugs related to the Tooling (CLI/formatter/test runner)

    Projects

    • Status
      Backlog

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions