sessionnative

package
v0.99.0 Latest Latest
Warning

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

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

Documentation

Overview

Package sessionnative provides trusted local native/session worker ports. It defines no transport, background scheduler, evaluator or capability grant.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PinRedactionContinuation

type PinRedactionContinuation struct {
	Phase      string `json:"phase"` // pins | references | done
	Cursor     string `json:"cursor,omitempty"`
	Generation int64  `json:"generation"`
}

type PinRedactionWorker

type PinRedactionWorker struct {
	// contains filtered or unexported fields
}

func NewPinRedactionWorker

NewPinRedactionWorker binds one actual guarded SQLite repository to its native owner. All gates are mandatory. Active authenticates the current runtime/caller before metadata lookup; accepted binds its stored full identity.

func (*PinRedactionWorker) RedactPage

func (w *PinRedactionWorker) RedactPage(ctx context.Context, p sessioncontext.Principal, clientOpID, deleteOpID string, page PinRedactionContinuation, limit int) (PinRedactionContinuation, error)

RedactPage installs/reuses a permanent Core marker, scrubs at most one bounded input page, then marks at most one bounded accepted-work page's native session references unavailable. Replayed pages are safe; no Case evidence is erased. The trusted job owner durably retains the returned continuation before retry.

Jump to

Keyboard shortcuts

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