prompt

package
v0.2.1 Latest Latest
Warning

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

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

Documentation

Overview

Package prompt holds the immutable system prompt for the gate.command-safety classifier. The prompt is embedded at build time and never mutated at runtime: its exact bytes are the classifier's identity-relevant policy text, folded into hustle definition identity via hustle.WithSystemPrompt, and never crosses this module's public boundary directly (see docs/plans/2026-07-27-permission-classifier-hustle-design.md §19.2).

Index

Constants

View Source
const CommandSafetyRevision = "command-safety-prompt/v3"

CommandSafetyRevision independently versions the command-safety prompt's exact wording, per design §19.2: "Prompt, policy, schema, wire, and corpus revisions are independently explicit and included in classifier identity." Bump this whenever command_safety.md's meaning changes.

Variables

This section is empty.

Functions

func CommandSafety

func CommandSafety() string

CommandSafety returns the immutable gate.command-safety system prompt.

Types

This section is empty.

Jump to

Keyboard shortcuts

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