codex

package
v0.0.19 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package codex binds the immutable Codex target to its reviewed global filesystem layout and factual pending-trust reporting.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ActivationContractID

func ActivationContractID() string

ActivationContractID names the Codex activation contract. Its version is read from the Codex runtime contract, the one root, so the id follows the recorded host version instead of restating it.

func NewActivationContract

func NewActivationContract(target targetcodex.TargetDescriptor, home string) (activation.ActivationContract, error)

NewActivationContract binds all three independent Codex packages beneath one absolute home root. Their immutable bundle paths retain the public native `.agents/skills`, `.codex/agents`, and `.codex/hooks` layouts.

func NewDirectFilePolicies

func NewDirectFilePolicies(target targetcodex.TargetDescriptor, home string) ([3]apply.DirectFilePolicy, error)

NewDirectFilePolicies constructs exactly one policy for each global Codex cell. The returned array is intended for the one central DirectFile activator; this package never owns a filesystem activator.

Types

This section is empty.

Jump to

Keyboard shortcuts

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