Add patchset_count field to task DB schema

t-565.1·WorkTask·
·
·
·Omni/Ide.hs
Parent:t-565·Created1 week ago·Updated1 week ago

Description

Edit

Add a patchset_count integer field to the task schema, defaulting to 0. Incremented each time a coder agent amends and force-pushes a new version of the task's commit. Update 'task show' and 'task show --json' output to include patchset_count.

Timeline (4)

🔄[human]Open → InProgress1 week ago
💬[human]1 week ago

Implemented patchset_count end-to-end: added tasks.patchset_count schema/migration default 0, Task model + JSON support, CLI display in task show, and new task patchset command for read/increment. Also made withDb auto-ensure schema/migrations so existing DBs get patchset_count without requiring task init.

🔄[human]InProgress → Done1 week ago