review

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2026 License: MIT Imports: 13 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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Allowed

func Allowed(stateDir, hash string) bool

func Hash

func Hash(content string) string

func SessionKey

func SessionKey(runtime, sessionID, conversationID, workspace string) string

Types

type Record

type Record struct {
	ID            string    `json:"id"`
	Created       time.Time `json:"created"`
	Runtime       string    `json:"runtime"`
	SessionKey    string    `json:"session_key"`
	Workspace     string    `json:"workspace"`
	Tool          string    `json:"tool"`
	ToolInput     string    `json:"tool_input"`
	Score         float64   `json:"score"`
	Confidence    float64   `json:"confidence"`
	Reason        string    `json:"reason"`
	HeuristicHits []string  `json:"heuristic_hits,omitempty"`
	Excerpt       string    `json:"excerpt"`
	RawPointer    string    `json:"raw_pointer"`
	ContentSHA256 string    `json:"content_sha256"`
	SDLCRunID     string    `json:"sdlc_run_id,omitempty"`
	Status        string    `json:"status"`
	Note          string    `json:"note,omitempty"`
}

func Create

func Create(stateDir string, rec Record) (Record, error)

func Get

func Get(stateDir, id string) (Record, error)

func List

func List(stateDir string) ([]Record, error)

func Pending

func Pending(stateDir, sessionKey string) (Record, bool)

func PendingRun

func PendingRun(stateDir, runID string) (Record, bool)

func Resolve

func Resolve(stateDir, id, action, note string) (Record, error)

Jump to

Keyboard shortcuts

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