engine

module
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2026 License: Apache-2.0

Directories

Path Synopsis
adapter
agentfs
Package agentfs implements configurable AGENT DEFINITIONS — named subagent specialists (a prompt persona + a scoped tool allowlist + a model + a permission mode + run limits) discovered from operator-controlled markdown files.
Package agentfs implements configurable AGENT DEFINITIONS — named subagent specialists (a prompt persona + a scoped tool allowlist + a model + a permission mode + run limits) discovered from operator-controlled markdown files.
attemptconformance
Package attemptconformance provides the shared lifecycle contract for learning.AttemptRepository adapters.
Package attemptconformance provides the shared lifecycle contract for learning.AttemptRepository adapters.
authorityconformance
Package authorityconformance provides shared contract checks for port.AuthorityEvaluator adapters.
Package authorityconformance provides shared contract checks for port.AuthorityEvaluator adapters.
automaticconformance
Package automaticconformance provides the shared distributed-accounting contract for learning.AutomaticAdmissionLedger adapters.
Package automaticconformance provides the shared distributed-accounting contract for learning.AutomaticAdmissionLedger adapters.
cronparse
Package cronparse is the parser-only cron → next-fire helper for the scheduled-tasks feature (issue #189).
Package cronparse is the parser-only cron → next-fire helper for the scheduled-tasks feature (issue #189).
eventlogconformance
Package eventlogconformance provides a shared conformance test suite for the port.EventLog interface.
Package eventlogconformance provides a shared conformance test suite for the port.EventLog interface.
eventsource
Package eventsource provides a REFERENCE implementation of the event-sourced rehydration path for a host whose system of record is an append-only EVENT LOG (rather than mecatl's own snapshot store): Fold reconstructs a *session.Session by folding a port.EventLog stream back into the aggregate.
Package eventsource provides a REFERENCE implementation of the event-sourced rehydration path for a host whose system of record is an append-only EVENT LOG (rather than mecatl's own snapshot store): Fold reconstructs a *session.Session by folding a port.EventLog stream back into the aggregate.
frontmatterdiag
Package frontmatterdiag formats safe YAML frontmatter diagnostics.
Package frontmatterdiag formats safe YAML frontmatter diagnostics.
fsconformance
Package fsconformance provides a shared conformance test suite for the tool.Workspace interface.
Package fsconformance provides a shared conformance test suite for the tool.Workspace interface.
fstools
Package fstools implements the correctness- and security-critical filesystem tool bodies of the mecatl kit — Read, Edit, Write, Grep, Glob, and an OPTIONAL Bash — as tool.Tool values executing against an injected tool.Workspace (and, for Bash, an injected tool.CommandRunner).
Package fstools implements the correctness- and security-critical filesystem tool bodies of the mecatl kit — Read, Edit, Write, Grep, Glob, and an OPTIONAL Bash — as tool.Tool values executing against an injected tool.Workspace (and, for Bash, an injected tool.CommandRunner).
leaseconformance
Package leaseconformance provides a shared conformance test suite for the port.SessionLease interface.
Package leaseconformance provides a shared conformance test suite for the port.SessionLease interface.
ledgerconformance
Package ledgerconformance provides a shared conformance test suite for the tool.ReadLedger interface (ADR 0281).
Package ledgerconformance provides a shared conformance test suite for the tool.ReadLedger interface (ADR 0281).
lineageconformance
Package lineageconformance validates optional durable session-lineage readers.
Package lineageconformance validates optional durable session-lineage readers.
localauthority
Package localauthority provides the in-process set-check implementation of port.AuthorityEvaluator.
Package localauthority provides the in-process set-check implementation of port.AuthorityEvaluator.
memattempt
Package memattempt provides the concurrency-safe in-memory reference implementation of learning.AttemptRepository.
Package memattempt provides the concurrency-safe in-memory reference implementation of learning.AttemptRepository.
memconformance
Package memconformance provides a shared conformance test suite for the tool.MemoryStore interface.
Package memconformance provides a shared conformance test suite for the tool.MemoryStore interface.
memfs
Package memfs implements an in-memory tool.FileSystem and tool.Workspace (map-backed) for fast, offline FS-tool tests.
Package memfs implements an in-memory tool.FileSystem and tool.Workspace (map-backed) for fast, offline FS-tool tests.
memlease
Package memlease is the in-memory reference port.SessionLease: the offline, clock-injected single-writer lease the conformance suite validates and that composition can wire as the default-store opt-in.
Package memlease is the in-memory reference port.SessionLease: the offline, clock-injected single-writer lease the conformance suite validates and that composition can wire as the default-store opt-in.
memledger
Package memledger provides a concurrent in-memory reference implementation of tool.ReadLedger (ADR 0294).
Package memledger provides a concurrent in-memory reference implementation of tool.ReadLedger (ADR 0294).
memmemory
Package memmemory provides a concurrent in-memory reference implementation of tool.MemoryStore and its optional tool.MemoryLifecycleStore capability.
Package memmemory provides a concurrent in-memory reference implementation of tool.MemoryStore and its optional tool.MemoryLifecycleStore capability.
memorypromotion
Package memorypromotion provides conservative proposal-to-memory convergence.
Package memorypromotion provides conservative proposal-to-memory convergence.
memorytools
Package memorytools provides portable memory tool bodies for project and user scopes.
Package memorytools provides portable memory tool bodies for project and user scopes.
memproposal
Package memproposal provides the in-memory proposal repository reference adapter.
Package memproposal provides the in-memory proposal repository reference adapter.
memschedulestore
Package memschedulestore is the in-memory reference port.ScheduleStore (scheduled-tasks issue #189, Phase 1b): the offline, clock-injected single-process schedule registry the conformance suite validates and that composition can wire as the default-store opt-in.
Package memschedulestore is the in-memory reference port.ScheduleStore (scheduled-tasks issue #189, Phase 1b): the offline, clock-injected single-process schedule registry the conformance suite validates and that composition can wire as the default-store opt-in.
memskill
Package memskill provides the in-memory learned-skill repository reference adapter.
Package memskill provides the in-memory learned-skill repository reference adapter.
memstore
Package memstore implements an in-memory, concurrency-safe port.SessionStore.
Package memstore implements an in-memory, concurrency-safe port.SessionStore.
mockllm
Package mockllm provides a deterministic, scripted implementation of port.LLMProvider for testing the agent loop without any network access.
Package mockllm provides a deterministic, scripted implementation of port.LLMProvider for testing the agent loop without any network access.
nofs
Package nofs implements tool.Workspace for a session that has NO filesystem at all (the "no-fs" session profile).
Package nofs implements tool.Workspace for a session that has NO filesystem at all (the "no-fs" session profile).
noopauthority
Package noopauthority provides the explicit no-enforcement implementation of port.AuthorityEvaluator for local and demo deployments.
Package noopauthority provides the explicit no-enforcement implementation of port.AuthorityEvaluator for local and demo deployments.
permpolicy
Package permpolicy adapts the session-free permission Evaluator in package governance to the port.PermissionPolicy interface, which is expressed in terms of session types (session.PermissionMode, session.ToolCall).
Package permpolicy adapts the session-free permission Evaluator in package governance to the port.PermissionPolicy interface, which is expressed in terms of session types (session.PermissionMode, session.ToolCall).
permstore
Package permstore is the in-memory, per-session store of LEARNED permission rules — the rules an ACP "allow always" verdict records (issue #3).
Package permstore is the in-memory, per-session store of LEARNED permission rules — the rules an ACP "allow always" verdict records (issue #3).
proposalconformance
Package proposalconformance validates ProposalRepository implementations.
Package proposalconformance validates ProposalRepository implementations.
rulesfs
Package rulesfs carries small, tool-agnostic helpers this adapter needs that previously lived in root-module adapters (internal/adapter/toolkit, internal/adapter/xdgconfig).
Package rulesfs carries small, tool-agnostic helpers this adapter needs that previously lived in root-module adapters (internal/adapter/toolkit, internal/adapter/xdgconfig).
scheduleconformance
Package scheduleconformance provides a shared conformance test suite for the port.ScheduleStore interface (scheduled-tasks issue #189, Phase 1b).
Package scheduleconformance provides a shared conformance test suite for the port.ScheduleStore interface (scheduled-tasks issue #189, Phase 1b).
search
Package search provides reference SearchProvider adapters that travel with the importable engine core.
Package search provides reference SearchProvider adapters that travel with the importable engine core.
sessnap
Package sessnap provides a stable, JSON-friendly serialization ("snapshot") of a session.Session that the store adapters (memstore, jsonlstore) share.
Package sessnap provides a stable, JSON-friendly serialization ("snapshot") of a session.Session that the store adapters (memstore, jsonlstore) share.
skillconformance
Package skillconformance validates learned SkillRepository implementations.
Package skillconformance validates learned SkillRepository implementations.
skillfs
Package skillfs carries small, tool-agnostic helpers this adapter needs that previously lived in root-module adapters (internal/adapter/toolkit, internal/adapter/xdgconfig, internal/adapter/osfs).
Package skillfs carries small, tool-agnostic helpers this adapter needs that previously lived in root-module adapters (internal/adapter/toolkit, internal/adapter/xdgconfig, internal/adapter/osfs).
skilllifecycle
Package skilllifecycle orchestrates one learned-skill candidate through validation, durable lifecycle transitions, evaluation, and live publication.
Package skilllifecycle orchestrates one learned-skill candidate through validation, durable lifecycle transitions, evaluation, and live publication.
skillmaterialize
Package skillmaterialize converts evidence-backed procedure proposals into validated, inactive learned-skill drafts and links them by compare-and-swap.
Package skillmaterialize converts evidence-backed procedure proposals into validated, inactive learned-skill drafts and links them by compare-and-swap.
skillvalidation
Package skillvalidation provides logical admission checks for agent-owned skills.
Package skillvalidation provides logical admission checks for agent-owned skills.
sourceconformance
Package sourceconformance provides shared conformance test suites for the content-source seams: tool.SkillSource (RunSkillSource), prompt.SoulSource (RunSoulSource), tool.AgentDefSource (RunAgentSource), and prompt.CommandSource (RunCommandSource).
Package sourceconformance provides shared conformance test suites for the content-source seams: tool.SkillSource (RunSkillSource), prompt.SoulSource (RunSoulSource), tool.AgentDefSource (RunAgentSource), and prompt.CommandSource (RunCommandSource).
storeconformance
Package storeconformance provides a shared conformance test suite for the port.SessionStore interface.
Package storeconformance provides a shared conformance test suite for the port.SessionStore interface.
wallclock
Package wallclock is the production port.Clock: a stateless adapter over time.Now.
Package wallclock is the production port.Clock: a stateless adapter over time.Now.
webfetch
Package webfetch provides a bounded, SSRF-resistant WebFetch reference tool.
Package webfetch provides a bounded, SSRF-resistant WebFetch reference tool.
Package agent is the use-case heart of mecatl: the streaming agent loop that ties the ports together.
Package agent is the use-case heart of mecatl: the streaming agent loop that ties the ports together.
Package arch holds the whole-graph layering assertions for mecatl's clean core.
Package arch holds the whole-graph layering assertions for mecatl's clean core.
Package governance is the Governance bounded context: permission evaluation, hooks, and plan-mode gating.
Package governance is the Governance bounded context: permission evaluation, hooks, and plan-mode gating.
Package learning defines host-driven completed-trajectory observation, evidence-backed reflection, and evaluated agent-owned skill lifecycle values.
Package learning defines host-driven completed-trajectory observation, evidence-backed reflection, and evaluated agent-owned skill lifecycle values.
Package port defines the interfaces the agent loop consumes — the ports of the hexagonal architecture.
Package port defines the interfaces the agent loop consumes — the ports of the hexagonal architecture.
Package prompt is the domain context for two-layer system-prompt assembly: a cache-stable prefix plus a volatile suffix, placed so the LLM adapter can put a prompt-cache breakpoint between them.
Package prompt is the domain context for two-layer system-prompt assembly: a cache-stable prefix plus a volatile suffix, placed so the LLM adapter can put a prompt-cache breakpoint between them.
Package session is the Agent Session bounded context: the run lifecycle, conversation, turns, the stop conditions, and the domain-owned event taxonomy.
Package session is the Agent Session bounded context: the run lifecycle, conversation, turns, the stop conditions, and the domain-owned event taxonomy.
Package team is the DOMAIN coordination substrate for headless agent teams (see docs/adr/0014-agent-teams.md).
Package team is the DOMAIN coordination substrate for headless agent teams (see docs/adr/0014-agent-teams.md).
Package tool is the Tooling bounded context: the Tool interface, the ToolSpec the model sees, the Catalog (name→Tool registry with plan-mode filtering), and the filesystem seams (FileSystem, Workspace, and Environment) that every tool executes against.
Package tool is the Tooling bounded context: the Tool interface, the ToolSpec the model sees, the Catalog (name→Tool registry with plan-mode filtering), and the filesystem seams (FileSystem, Workspace, and Environment) that every tool executes against.

Jump to

Keyboard shortcuts

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