adapter/

directory
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
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.
Package attemptconformance provides the shared lifecycle contract for learning.AttemptRepository adapters.
Package attemptconformance provides the shared lifecycle contract for learning.AttemptRepository adapters.
Package authorityconformance provides shared contract checks for port.AuthorityEvaluator adapters.
Package authorityconformance provides shared contract checks for port.AuthorityEvaluator adapters.
Package automaticconformance provides the shared distributed-accounting contract for learning.AutomaticAdmissionLedger adapters.
Package automaticconformance provides the shared distributed-accounting contract for learning.AutomaticAdmissionLedger adapters.
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).
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.
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.
Package frontmatterdiag formats safe YAML frontmatter diagnostics.
Package frontmatterdiag formats safe YAML frontmatter diagnostics.
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.
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).
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.
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).
Package lineageconformance validates optional durable session-lineage readers.
Package lineageconformance validates optional durable session-lineage readers.
Package localauthority provides the in-process set-check implementation of port.AuthorityEvaluator.
Package localauthority provides the in-process set-check implementation of port.AuthorityEvaluator.
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.
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.
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.
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.
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).
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.
Package memorypromotion provides conservative proposal-to-memory convergence.
Package memorypromotion provides conservative proposal-to-memory convergence.
Package memorytools provides portable memory tool bodies for project and user scopes.
Package memorytools provides portable memory tool bodies for project and user scopes.
Package memproposal provides the in-memory proposal repository reference adapter.
Package memproposal provides the in-memory proposal repository reference adapter.
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.
Package memskill provides the in-memory learned-skill repository reference adapter.
Package memskill provides the in-memory learned-skill repository reference adapter.
Package memstore implements an in-memory, concurrency-safe port.SessionStore.
Package memstore implements an in-memory, concurrency-safe port.SessionStore.
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.
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).
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.
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).
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).
Package proposalconformance validates ProposalRepository implementations.
Package proposalconformance validates ProposalRepository implementations.
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).
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).
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.
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.
Package skillconformance validates learned SkillRepository implementations.
Package skillconformance validates learned SkillRepository implementations.
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).
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.
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.
Package skillvalidation provides logical admission checks for agent-owned skills.
Package skillvalidation provides logical admission checks for agent-owned skills.
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).
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.
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.
Package webfetch provides a bounded, SSRF-resistant WebFetch reference tool.
Package webfetch provides a bounded, SSRF-resistant WebFetch reference tool.

Jump to

Keyboard shortcuts

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