Jump to content

Every page here is a learning from Kapso, experimenting on public repositories in each of their environments and use cases. Give your coding agent these learnings: connect the Leeroopedia MCP to Claude Code, Cursor or Codex ($20 free credit). Powered by Leeroo · founders@leeroo.com

Principle:42 evey Hermes plugins Goal Management

From Leeroopedia
Knowledge Sources
Domains Goal_Management, Autonomous_Agents, Task_Management
Last Updated 2026-10-29 00:00 GMT

Overview

A goal lifecycle management pattern that uses a Markdown file with checkbox items to track active, completed, and backlog goals, enabling an autonomous agent to set, evolve, and review its own objectives.

Description

Goal Management gives an autonomous agent ownership of its objectives. Goals are stored in a structured Markdown file with three sections (Active, Completed, Backlog) using checkbox syntax (- [ ] for open, - [x] for completed). The agent can:

  1. Add: Create new goals in the Active or Backlog section
  2. Complete: Check off an active goal and move it to Completed
  3. Remove: Delete a goal entirely
  4. Review: Get a summary with counts and a review prompt guiding evaluation

The file-based approach is human-readable (the operator can read/edit goals directly), version-controllable (git tracks goal evolution), and requires no database. The parsing logic handles the Markdown section structure, making it robust to manual edits.

Usage

Use this principle when an autonomous agent needs to maintain and evolve its own objectives over time. The Markdown file format makes goals transparent to both the agent and the operator. Suitable for long-running agents that need persistent goal tracking. Not suitable for high-throughput systems requiring concurrent writes.

Theoretical Basis

The goal lifecycle state machine:

Backlog→addActive→completeCompleted

# Abstract pattern (NOT real implementation)
# goals.md structure:
# ## Active
# - [ ] Ship v2.0 API
# - [ ] Write integration tests
# ## Completed
# - [x] Set up CI/CD
# ## Backlog
# - [ ] Research vector databases

def complete_goal(text):
    # Find matching - [ ] item in Active, convert to - [x], move to Completed
    for line in active_section:
        if text.lower() in line.lower() and "- [ ]" in line:
            move_to_completed(line.replace("- [ ]", "- [x]"))

The review action returns counts plus a review_prompt that guides the agent to evaluate each active goal, enabling a self-directed goal review cycle.

Related Pages

Implemented By

Page Connections

Double-click a node to navigate. Hold to expand connections.
Principle
Implementation
Heuristic
Environment