Skip to content

LibraryPluginFramework

Field Value
Purpose Base plugin system framework — plugin discovery, loading, and IPC communication
Module github.com/AmadlaOrg/LibraryPluginFramework
Status Active
Repo AmadlaOrg/LibraryPluginFramework
Go Version 1.24.0

What It Provides

LibraryPluginFramework is the base for all Amadla plugin types. It provides:

  • Plugin executable discovery by naming convention
  • Plugin lifecycle management (start, stop, health check)
  • IPC channel setup
  • Message serialization (JSON)

Dependencies

External Dependencies

Package Purpose
github.com/spf13/cobra CLI framework
github.com/stretchr/testify Testing assertions and mocks

Consumers

  • LibraryClerkFramework (specializes for secret source plugins)
  • LibraryAuditFramework (specializes for audit plugins)

Development Notes

  • Phase 2 in the development plan
  • Needs solidification alongside LibraryFramework
  • The specialization pattern (Clerk, Audit) should be clearly documented