augmentation

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package augmentation owns the deliberately narrow response-side continuation-carrier allowlist.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Capability

type Capability struct {
	ID string
}

Capability identifies a canonical carrier that has been verified to be mutable plaintext continuation state. The current canonical compaction contract exposes only encrypted and opaque fields, so the allowlist is intentionally empty.

func Capabilities

func Capabilities() []Capability

Capabilities returns the verified plaintext carrier allowlist. A fresh nil slice is returned until lipapi exposes a carrier with an explicit plaintext contract; native/unknown payloads must not be guessed to be text.

func Match

func Match(_ *lipapi.Event) (Capability, bool)

Match reports whether event contains one of the verified mutable plaintext carriers. It deliberately does not inspect, decode, or rewrite Opaque, EncryptedContent, signatures, or unknown extension bytes.

Jump to

Keyboard shortcuts

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