Help us shape the future of Go! Take the 2026 Go Developer Survey

provenance

package
v0.20.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 27, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package provenance carries, on the context a thread session's decision is recorded under, the class its resumed calls' approvals are reported as (weft.tool.approved_by, record contract §3) when a layer above thread decides through the session's own door on someone's behalf — weft/runtime's playground deciding a fork's parked turn reads "runtime", as its ephemeral resumes do, never the Decide door's "user".

It is reporting only: the decision, its validation and its record are the session's, unchanged. thread reads the class from the context that armed a resume (Session.Decide's, Resume's), never from the parked turn's — a later decision by another door is reported as that door's.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func From

func From(ctx context.Context) string

From returns the approval class ctx carries, "" when none.

func With

func With(ctx context.Context, by string) context.Context

With returns ctx carrying the approval class by; "" clears one an outer context carried.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL