Directories
¶
| Path | Synopsis |
|---|---|
|
Package artifact defines immutable, target-independent generated artifacts.
|
Package artifact defines immutable, target-independent generated artifacts. |
|
cmd
|
|
|
pasture
command
Command pasture is the local task-management and deterministic epoch-lifecycle CLI for the Pasture toolkit.
|
Command pasture is the local task-management and deterministic epoch-lifecycle CLI for the Pasture toolkit. |
|
pasture-migrate-crash
command
Command pasture-migrate-crash is a TEST-ONLY binary that drives the v2→v3 migration on a supplied SQLite file but aborts via os.Exit(137) (SIGKILL-equivalent) AFTER the v3 transaction has executed `INSERT INTO audit_schema_meta (version=3, ...)` but BEFORE `tx.Commit()`.
|
Command pasture-migrate-crash is a TEST-ONLY binary that drives the v2→v3 migration on a supplied SQLite file but aborts via os.Exit(137) (SIGKILL-equivalent) AFTER the v3 transaction has executed `INSERT INTO audit_schema_meta (version=3, ...)` but BEFORE `tx.Commit()`. |
|
pasture-release
command
Command pasture-release manages versioning and release coordination across the Pasture polyrepo (Nix, GitHub Releases, go install, skill channels).
|
Command pasture-release manages versioning and release coordination across the Pasture polyrepo (Nix, GitHub Releases, go install, skill channels). |
|
pasture-test-agent
command
Package main implements pasture-test-agent — a fake ACP-compatible agent binary used only in tests.
|
Package main implements pasture-test-agent — a fake ACP-compatible agent binary used only in tests. |
|
pastured
command
Command pastured is the Pasture daemon that hosts the DBOS durable engine.
|
Command pastured is the Pasture daemon that hosts the DBOS durable engine. |
|
Package hooks holds the Claude Code plugin hooks shipped with pasture and their tests.
|
Package hooks holds the Claude Code plugin hooks shipped with pasture and their tests. |
|
internal
|
|
|
acceptance/origin
Package origin defines the closed capture-origin provenance enum shared by the acceptance corpus (re-exported through package acceptance) and the lifecycle receipt/envelope origin carriers.
|
Package origin defines the closed capture-origin provenance enum shared by the acceptance corpus (re-exported through package acceptance) and the lifecycle receipt/envelope origin carriers. |
|
acp
Package acp provides an ACP (Agent Client Protocol) client for connecting to ACP-compatible agents and receiving live session update streams.
|
Package acp provides an ACP (Agent Client Protocol) client for connecting to ACP-compatible agents and receiving live session update streams. |
|
audit
Package audit provides the pluggable audit persistence interface and concrete implementations for the Pasture epoch workflow audit trail.
|
Package audit provides the pluggable audit persistence interface and concrete implementations for the Pasture epoch workflow audit trail. |
|
codegen
Package codegen — agent definition generation.
|
Package codegen — agent definition generation. |
|
codegen/capabilitylint
Package capabilitylint implements a narrow static-analysis rule for the typed capability escape hatch (github.com/dayvidpham/pasture/internal/codegen/ir): CapabilityID is a named string type (ir.CapabilityID string), not an opaque struct like ir.SemanticOperationID/ir.SkillID/ir.EffectID, so Go's own untyped-literal-assignability rule lets a raw string literal compile successfully as a DefineCapability/MustDefineCapability identity argument.
|
Package capabilitylint implements a narrow static-analysis rule for the typed capability escape hatch (github.com/dayvidpham/pasture/internal/codegen/ir): CapabilityID is a named string type (ir.CapabilityID string), not an opaque struct like ir.SemanticOperationID/ir.SkillID/ir.EffectID, so Go's own untyped-literal-assignability rule lets a raw string literal compile successfully as a DefineCapability/MustDefineCapability identity argument. |
|
codegen/ir
Package ir defines Pasture's portable, harness-neutral document and orchestration intermediate representation.
|
Package ir defines Pasture's portable, harness-neutral document and orchestration intermediate representation. |
|
codegen/scan
Package scan implements Pasture's read-only Goldmark inventory and classification of native harness syntax across canonical Markdown source roots (github.com/dayvidpham/pasture issue #47).
|
Package scan implements Pasture's read-only Goldmark inventory and classification of native harness syntax across canonical Markdown source roots (github.com/dayvidpham/pasture issue #47). |
|
config
Package config provides configuration structs and resolution logic for pasture daemons and CLI tools.
|
Package config provides configuration structs and resolution logic for pasture daemons and CLI tools. |
|
dbconn
Package dbconn centralizes how every pasture component opens a modernc SQLite handle on the shared pasture.db file.
|
Package dbconn centralizes how every pasture component opens a modernc SQLite handle on the shared pasture.db file. |
|
effects
Package effects defines Pasture's typed process, Git, and filesystem workflow effect algebra: opaque, constructor-validated operands and closed effect sums that make operational semantics explicit instead of hiding them in shell-fragment strings.
|
Package effects defines Pasture's typed process, Git, and filesystem workflow effect algebra: opaque, constructor-validated operands and closed effect sums that make operational semantics explicit instead of hiding them in shell-fragment strings. |
|
engine
Package engine is the durable-execution adapter for the pasture epoch lifecycle.
|
Package engine is the durable-execution adapter for the pasture epoch lifecycle. |
|
errors
Package errors provides structured, actionable error reporting for the pasture system.
|
Package errors provides structured, actionable error reporting for the pasture system. |
|
formatters
Package formatters — events.go
|
Package formatters — events.go |
|
handlers
Package handlers — hook.go
|
Package handlers — hook.go |
|
hooks
Package hooks provides a hook event dispatch system for the pasture protocol.
|
Package hooks provides a hook event dispatch system for the pasture protocol. |
|
install/activation
Package activation defines the versioned native-activation contract that binds each generated component (harness/extension identity plus its published artifact bundle and runtime contract) to exactly one closed activation strategy.
|
Package activation defines the versioned native-activation contract that binds each generated component (harness/extension identity plus its published artifact bundle and runtime contract) to exactly one closed activation strategy. |
|
install/apply
Package apply owns the typed request, result, error, and activator contracts plus concrete activation-strategy adapters.
|
Package apply owns the typed request, result, error, and activator contracts plus concrete activation-strategy adapters. |
|
install/cell
Package cell defines the canonical harness/extension coordinate space shared by the Pasture installer and activation contract.
|
Package cell defines the canonical harness/extension coordinate space shared by the Pasture installer and activation contract. |
|
install/export
Package export builds the immutable per-cell component archives and the component-set document that an aggregate release producer consumes.
|
Package export builds the immutable per-cell component archives and the component-set document that an aggregate release producer consumes. |
|
install/fsatomic
Package fsatomic performs symlink-safe atomic file replacement for the installer's preference and confirmed-state files.
|
Package fsatomic performs symlink-safe atomic file replacement for the installer's preference and confirmed-state files. |
|
install/host/claudecode
Package claudecode binds the immutable Claude Code target to the reviewed global native-manager contract and implements its ownership-safe controller.
|
Package claudecode binds the immutable Claude Code target to the reviewed global native-manager contract and implements its ownership-safe controller. |
|
install/host/codex
Package codex binds the immutable Codex target to its reviewed global filesystem layout and factual pending-trust reporting.
|
Package codex binds the immutable Codex target to its reviewed global filesystem layout and factual pending-trust reporting. |
|
install/host/opencode
Package opencode binds the generated OpenCode target to its documented global direct-discovery layout.
|
Package opencode binds the generated OpenCode target to its documented global direct-discovery layout. |
|
install/inventory
Package inventory provides the global-installation view over the shared registry.
|
Package inventory provides the global-installation view over the shared registry. |
|
install/preferences
Package preferences models the persisted installer choices under the existing Pasture config root (~/.config/pasture/config.yaml, install: section).
|
Package preferences models the persisted installer choices under the existing Pasture config root (~/.config/pasture/config.yaml, install: section). |
|
install/registry
Package registry owns the first-shipped installation registry shared by global and project-local installation.
|
Package registry owns the first-shipped installation registry shared by global and project-local installation. |
|
install/releasecatalog
Package releasecatalog selects and completely verifies immutable aggregate GitHub Releases.
|
Package releasecatalog selects and completely verifies immutable aggregate GitHub Releases. |
|
install/selection
Package selection defines the transient effective-selection document that the installer TUI and Home Manager both hand to the apply engine.
|
Package selection defines the transient effective-selection document that the installer TUI and Home Manager both hand to the apply engine. |
|
install/service
Package service is the application boundary shared by installer frontends.
|
Package service is the application boundary shared by installer frontends. |
|
inventory
Code generated by codegen.
|
Code generated by codegen. |
|
lifecycle/backend
Package backend maps a legalized consultation into canonical receipt evidence and the typed response expected by the native host.
|
Package backend maps a legalized consultation into canonical receipt evidence and the typed response expected by the native host. |
|
lifecycle/context
Package context builds the Pasture-side context-disclosure projection: a bounded, canonical summary of committed lifecycle records, per-host chain summaries derived from committed links, and the metamodel coordinates present in the interpreted evidence.
|
Package context builds the Pasture-side context-disclosure projection: a bounded, canonical summary of committed lifecycle records, per-host chain summaries derived from committed links, and the metamodel coordinates present in the interpreted evidence. |
|
lifecycle/frontend
Package frontend is the single generic lifecycle frontend skeleton.
|
Package frontend is the single generic lifecycle frontend skeleton. |
|
lifecycle/frontend/claude
Package claude supplies the pinned Claude capture vocabulary as host data for the generic lifecycle frontend.
|
Package claude supplies the pinned Claude capture vocabulary as host data for the generic lifecycle frontend. |
|
lifecycle/frontend/codex
Package codex supplies the pinned Codex 0.146.0 command-hook vocabulary as host data for the generic lifecycle frontend.
|
Package codex supplies the pinned Codex 0.146.0 command-hook vocabulary as host data for the generic lifecycle frontend. |
|
lifecycle/frontend/opencode
Package opencode supplies the pinned OpenCode callback vocabulary as host data for the generic lifecycle frontend.
|
Package opencode supplies the pinned OpenCode callback vocabulary as host data for the generic lifecycle frontend. |
|
lifecycle/gate
Package gate is the Pasture-side normative write gate: the closed set of durable lifecycle write classes, a constructor-owned Warrant, and Legalize as the sole warrant issuer.
|
Package gate is the Pasture-side normative write gate: the closed set of durable lifecycle write classes, a constructor-owned Warrant, and Legalize as the sole warrant issuer. |
|
lifecycle/ingress/claude
Package claude captures Claude Code hook payloads without allowing host semantics to leak into target-neutral lifecycle packages.
|
Package claude captures Claude Code hook payloads without allowing host semantics to leak into target-neutral lifecycle packages. |
|
lifecycle/ingress/codex
Package codex captures exact command-hook stdin bytes from the pinned Codex 0.146.0 CLI lifecycle contract.
|
Package codex captures exact command-hook stdin bytes from the pinned Codex 0.146.0 CLI lifecycle contract. |
|
lifecycle/ingress/opencode
Package opencode captures callback objects from the pinned OpenCode plugin contract without treating the serialized object as a native wire stream.
|
Package opencode captures callback objects from the pinned OpenCode plugin contract without treating the serialized object as a native wire stream. |
|
lifecycle/legalize
Package legalize classifies verified lifecycle events into pure semantic terminals.
|
Package legalize classifies verified lifecycle events into pure semantic terminals. |
|
lifecycle/lineage
Package lineage derives read-side occurrence lineage edges from committed Level-2 lifecycle evidence.
|
Package lineage derives read-side occurrence lineage edges from committed Level-2 lifecycle evidence. |
|
lifecycle/metamodel
Package metamodel is the generated, content-addressed lifecycle interpretation vocabulary (D1).
|
Package metamodel is the generated, content-addressed lifecycle interpretation vocabulary (D1). |
|
lifecycle/middleend
Package middleend derives provider-independent lifecycle effects and host responses from verified lifecycle events.
|
Package middleend derives provider-independent lifecycle effects and host responses from verified lifecycle events. |
|
lifecycle/model
Package model defines the target-neutral lifecycle journal contract.
|
Package model defines the target-neutral lifecycle journal contract. |
|
lifecycle/nativeresponse
Package nativeresponse is the per-target emission backend for the lifecycle pipeline: it maps the provider-neutral, constructor-built backend.HostResponse into the exact native continuation bytes a host reads from a command-hook's standard output.
|
Package nativeresponse is the per-target emission backend for the lifecycle pipeline: it maps the provider-neutral, constructor-built backend.HostResponse into the exact native continuation bytes a host reads from a command-hook's standard output. |
|
lifecycle/registration
Code generated by hostcontractgen.
|
Code generated by hostcontractgen. |
|
lifecycle/waist
Package waist defines the target-independent lifecycle values between native harness frontends and Pasture's protocol stages.
|
Package waist defines the target-independent lifecycle values between native harness frontends and Pasture's protocol stages. |
|
provadapter
Package provadapter is Pasture's thin low-level adapter over the released Provenance global-journal surface (github.com/dayvidpham/provenance at dayvidpham/provenance#4/#5/#6, module pinned to main@ecc7663).
|
Package provadapter is Pasture's thin low-level adapter over the released Provenance global-journal surface (github.com/dayvidpham/provenance at dayvidpham/provenance#4/#5/#6, module pinned to main@ecc7663). |
|
release
Package release provides version management, changelog generation, git helpers, and plugin registry operations for pasture-release.
|
Package release provides version management, changelog generation, git helpers, and plugin registry operations for pasture-release. |
|
runtime
Package runtime defines Pasture's opaque, version-bounded runtime contracts: the only authority allowed to turn a protocol semantic operation, effect, or typed capability into native runtime behavior for a specific harness at a specific host version.
|
Package runtime defines Pasture's opaque, version-bounded runtime contracts: the only authority allowed to turn a protocol semantic operation, effect, or typed capability into native runtime behavior for a specific harness at a specific host version. |
|
target/claudecode
Package claudecode publishes the pinned Claude Code native-output target descriptor: a stable target/component identity, one immutable, content- addressed artifact.Bundle per installable component (skills, agents, hooks), and the RuntimeContractID the target was compiled under.
|
Package claudecode publishes the pinned Claude Code native-output target descriptor: a stable target/component identity, one immutable, content- addressed artifact.Bundle per installable component (skills, agents, hooks), and the RuntimeContractID the target was compiled under. |
|
target/codex
Package codex publishes the immutable Codex target descriptor consumed by installation.
|
Package codex publishes the immutable Codex target descriptor consumed by installation. |
|
target/codex/cmd/generate
command
|
|
|
target/opencode
Package opencode publishes the immutable, independently installable OpenCode skills, agents, and lifecycle-hook artifacts.
|
Package opencode publishes the immutable, independently installable OpenCode skills, agents, and lifecycle-hook artifacts. |
|
tasks
Package tasks — open_ro.go
|
Package tasks — open_ro.go |
|
testutil
Package testutil provides shared testing utilities for the pasture test suite.
|
Package testutil provides shared testing utilities for the pasture test suite. |
|
timeouts
Package timeouts owns the ordered timeout hierarchy shared by SQLite, lifecycle ingress, and slice workflows.
|
Package timeouts owns the ordered timeout hierarchy shared by SQLite, lifecycle ingress, and slice workflows. |
|
types
Package types defines internal enums and value types for the Pasture daemon and CLI.
|
Package types defines internal enums and value types for the Pasture daemon and CLI. |
|
pkg
|
|
|
protocol
Package protocol defines the public convergence types for the Pasture multi-agent orchestration protocol.
|
Package protocol defines the public convergence types for the Pasture multi-agent orchestration protocol. |
|
protocol/portable
Package portable defines Pasture's portable cross-boundary identity types.
|
Package portable defines Pasture's portable cross-boundary identity types. |
|
tools
|
|
|
claudecode-assets
command
Command claudecode-assets regenerates the embedded Claude Code plugin assets (internal/target/claudecode/assets/pasture-skills and .../assets/pasture-agents) from the live codegen pipeline.
|
Command claudecode-assets regenerates the embedded Claude Code plugin assets (internal/target/claudecode/assets/pasture-skills and .../assets/pasture-agents) from the live codegen pipeline. |
|
codegen
command
Command codegen is the generation entry point for the Pasture protocol.
|
Command codegen is the generation entry point for the Pasture protocol. |
Click to show internal directories.
Click to hide internal directories.