Codumentor logo Codumentor

Goals Plugin

The Goals plugin provides long-lived intents: a goal is an on-disk namespace (a knowledge-base tree) with one or more worker conversations that fire on a schedule, coordinate through the goal's shared knowledge base, and pursue the intent over time. Everything is driven by agent-callable tools — the agent sets up a goal, and the Scheduler runs its workers.

Configuration

plugins:
  - module: codumentor.plugins.goals
    class: GoalsPlugin
    priority: 10
    args:
      enabled: true
      default_timezone: UTC
      # storage_repo: my-repo   # optional; see "Storage" below

Parameters

Tool Reference

The Goals tools are deferred (discovered via tool search) so they don't clutter the default tool set.

ToolDescription
setup_goalCreate a goal: validate, render the KB tree, and register its cron workers
list_goalsList the caller's goals with status and worker summaries
get_goalRead a goal's definition, state, and live worker schedules
delete_goalCancel all worker schedules (optionally delete the KB)
run_worker_nowFire one worker immediately as a one-off
update_workerChange a worker's cron, instructions, role, allowed sub-agents, or timeout
goal_kb_readRead a file from the goal KB by goal-relative path
goal_kb_writeWrite/append a file in the goal KB by goal-relative path
goal_kb_listList files/directories under a goal KB sub-path

Storage

Goal trees must live inside a configured repo so that goal workers running under Workspace Isolation can see them at /workspace/.... The location is resolved in order: explicit storage_repo → Agentic Memory's repo → single-repo mode. If none apply the plugin raises an error rather than writing outside repos_dir.

Notes