beads: default new bead status to deferred

New beads created via the 9p interface now start as deferred instead
of open. Planning/human review is required to promote a bead to open
before the scheduler can assign it to a worker.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Levi Neely 2026-03-14 13:07:59 +01:00
parent b2e710444e
commit 5dbd4cf777
2 changed files with 3 additions and 3 deletions

View File

@ -768,7 +768,7 @@ func (b *BeadsFS) executeCtlOnStore(store bd.Storage, cmd string) error {
issue := &bd.Issue{
Title: title,
Description: description,
Status: bd.StatusOpen,
Status: bd.StatusDeferred,
IssueType: bd.TypeTask,
Priority: 2,
}
@ -1269,7 +1269,7 @@ func (b *BeadsFS) createSubtaskOnStore(store bd.Storage, parentID, title, descri
ID: childID,
Title: title,
Description: description,
Status: bd.StatusOpen,
Status: bd.StatusDeferred,
IssueType: bd.TypeTask,
Priority: 2,
}

View File

@ -32,4 +32,4 @@ CMD="new '$TITLE' '$DESC'"
[ -n "$CAP" ] && CMD="$CMD $CAP"
echo "$CMD" | 9p write anvillm/beads/$MOUNT/ctl
echo "created: $TITLE"
echo "created (deferred): $TITLE"