ACEPlaybook
Mutable collection of curated PlaybookSections persisted to storagePath.
The playbook is the artifact optimized by ACEOptimizer: insights are accumulated as bullets, refined via DeltaUpdates, and injected into the agent's system prompt at run time. Backed by a JSON file that is loaded with load and persisted with save.
Types
Outcome of an updateCounters call, partitioning the processed bullet tags by how they were handled.
Functions
Returns true if delta was applied; false otherwise.
Reads the playbook contents from storagePath into this instance and returns it.
Renders the playbook as a human-readable, sectioned text block for embedding in an LLM prompt.
Applies bulletTags to the playbook, incrementing each referenced bullet's helpful/harmful counter, and returns a breakdown of what happened as UpdatedBullets.