Skip to content

Weekly Review

Agentic weekly planning session. The agent assembles the strategic picture,

Workflow name: weekly-review

Execution: main

Override not allowed

Steps

# ID Name Type Depends on
1 gather Gather strategic state code
2 draft Draft weekly plan reasoning gather
3 validate Validate with user reasoning draft
4 apply Apply decisions code validate
5 record Record the plan reasoning apply

Step instructions

gather

Gather the strategic state via the gateway:

data = `mcp__work-buddy__wb_run("weekly_review_data")`

Returns: - Active contracts with their current constraints - WIP limit status - Current MITs (from last week — did they get done?) - Task counts and distribution - Staleness report - Inbox tasks with suggested actions - Overdue tasks - Constraint-informed focus suggestions

Also fetch the project landscape:

projects = `mcp__work-buddy__wb_run("project_list")`

This provides the project list (name, status, observation counts) for the draft step to reference alongside contracts — ensuring the review can identify active projects without contracts, and projects with no recent activity.

Also check git log for the past week:

git log --oneline --since="7 days ago" --all

Return all gathered data as the step output.

draft

Agentic step. The agent drafts a weekly plan from the gathered data. Behavioral instructions (MIT format, constraint checking, issue flagging, state change proposals) are in the slash command, not here.

validate

Agentic step. The agent presents the draft plan to the user for confirmation or adjustment. Behavioral instructions (WIP enforcement, renegotiation protocol, validation rules) are in the slash command, not here.

Collect all validated decisions as structured output.

apply

Execute the validated decisions via the gateway:

// Promote tasks to MIT
for each new_mit:
    `mcp__work-buddy__wb_run("task_change_state", {"task_id": "<id>", "state": "mit", "due_date": "<date>"})`

// Complete done tasks
for each completed:
    `mcp__work-buddy__wb_run("task_toggle", {"task_id": "<id>"})`

// Demote carried-over MITs back to inbox
for each demoted:
    `mcp__work-buddy__wb_run("task_change_state", {"task_id": "<id>", "state": "inbox"})`

If constraint updates were agreed, update the contract files' current_constraint frontmatter field.

record

Agentic step. The agent records the weekly plan. Behavioral instructions (what to include, brevity guidance) are in the slash command, not here.