Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractServiceSkill ¶
ExtractServiceSkill extracts a skill file from a service image using Docker. Creates a temporary container (without starting it), copies the file out, then removes the container.
func GenerateServiceSkillFallback ¶
GenerateServiceSkillFallback produces a markdown skill file describing how to reach a service surface when no service-emitted skill exists.
func ResolveSkills ¶
func ResolveSkills(baseDir string, paths []string) ([]driver.ResolvedSkill, error)
ResolveSkills validates that all skill files exist, checks for path traversal, enforces regular files, detects duplicate basenames, and returns resolved skills. Fail-closed.
Types ¶
type ContractMount ¶
ContractMount represents a verified agent contract bind mount.
func ResolveContract ¶
func ResolveContract(baseDir string, agentFilename string) (*ContractMount, error)
ResolveContract validates that the agent file exists and returns the mount spec. Fail-closed: missing or empty filename is a hard error.