# dm-goal

Bundled DM extension that adds `/goal` plus model-callable goal tools for long-running objective tracking.

## Included command surface

- `/goal`
- `/goal <objective>`
- `/goal pause`
- `/goal resume`
- `/goal clear`

## Included tools

- `get_goal`
- `create_goal`
- `update_goal`

## Runtime notes

- Goal state is stored as DM session custom entries, so it follows resume, fork, tree navigation, reload, and compaction behavior without an external database.
- Active goals track elapsed active time and completed assistant turn input/output token usage when the model reports usage.
- Hidden continuation prompts XML-escape the user objective before embedding it in untrusted blocks.
- `update_goal` should mark a goal complete only after concrete evidence proves every requirement is done.

## Bundled with dm

No separate install step is required. Install `dm`, then run `/goal` inside the TUI.
