All cases

1,371
Updated Oct 16, 3:00 PM

All cases

1,371 · Newest in registry
×
Software & DevOps

Run a task-manager sub-agent with atomic commits

A poster built a Claude Code sub-agent that fetches the next task, marks it complete, and enforces atomic commits with a mandatory commit id.

What they did

In the thread, one commenter says they built a Python script to maintain a YAML todo file with task descriptions, then added a task-manager sub-agent with two actions: get_next_task and mark_task_completed. They required a commit ID when marking tasks complete so Claude Code would make atomic commits, while the person still had to watch for cases where it ignored the setup and used TodoWrite instead.

How it went

The reported result was better task-by-task control and enforced atomic commits, but the setup was not fully reliable because Claude Code sometimes tried to bypass the sub-agent workflow.

Worth knowing

The main catch is reliability: even with the sub-agent and mandatory commit ID, the poster says Claude Code still sometimes bypassed it and used TodoWrite.

Labels

ScopeBusinessA poster built a Claude Code sub-agent that fetches the next task, marks it complete, and enforces atomic commits with a mandatory commit id.
For whomUnclear
What the agent doesWriting codeThey required a commit ID when marking tasks complete so Claude Code would make atomic commits
How autonomous the agent isUnclear
Agent or ordinary appAgent productA poster built a Claude Code sub-agent that fetches the next task, marks it complete, and enforces atomic commits with a mandatory commit id.
Already a company's productNoIn the thread, one commenter says they built a Python script to maintain a YAML todo file with task descriptions, then added a task-manager sub-agent with two actions: get_next_task and mark_task_completed.
What kind of materialunverifiedFirst-hand accountIn the thread, one commenter says they built a Python script to maintain a YAML todo file with task descriptions, then added a task-manager sub-agent with two actions: get_next_task and mark_task_completed.

The “Material” label failed its quality check and is not used for selection.

Details

Agents
Claude Code
Source
Reddit
Source date
Mar 1, 2025
Accounts
3
In registry since
Oct 16, 2026