provenance

package
v0.19.0 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2026 License: MIT Imports: 1 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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