Declare a task
declare_taskPropose a task with title and scope, then check for overlapping tasks and recent git activity near those files to avoid conflicts.
Instructions
Propose a task: title, scope (file paths / module / route names it'll touch), and optionally the interface it'll expose and assumptions being made. Leaves the task UNCLAIMED (owner is not set to you automatically) - call claim_task right after if you intend to build it yourself, so teammates can otherwise pick it up. Commits and pushes to .hub/tasks/. Returns conflicts (other declared tasks touching the same scope) AND recentActivityNearby (real git commits touching this scope in the last 10 minutes, from anyone else - catches a teammate mid-edit right now even if they never declared a task for it). Check both before proceeding.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | Yes | File paths, module names, or API routes this task will touch. | |
| title | Yes | ||
| memberName | No | Defaults to git config user.name. | |
| assumptions | No | ||
| declaredInterface | No | e.g. 'POST /reconcile -> {status, exceptions[]}'. |