task title

This commit is contained in:
Ian Gulliver
2026-10-16 13:38:36 -07:00
parent 0c14c99b5a
commit 9d0d5d23ef
2 changed files with 4 additions and 3 deletions
+3 -2
View File
@@ -70,8 +70,9 @@ func (m *Manager) takeBounce(l *live, final string) bool {
func (m *Manager) taskGuidance(ctx context.Context, task api.Task) (string, error) {
g := guidance + fmt.Sprintf("\n- This task's ports are %d to %d; $PORT holds the first. Run dev servers and anything else that listens on these, so parallel tasks don't collide, and listen on 127.0.0.1. To show the human a running server, call byre's expose_port tool."+
"\n- This worktree starts with only what git tracks. Before other work in a new worktree, do any setup the project's AGENTS.md describes.",
task.PortBase, task.PortBase+store.PortBlock-1)
"\n- This worktree starts with only what git tracks. Before other work in a new worktree, do any setup the project's AGENTS.md describes."+
"\n- This task's title is %q. Whoever created the task wrote it, and it may be the only statement of what they want.",
task.PortBase, task.PortBase+store.PortBlock-1, task.Title)
if task.TodoItem != nil {
g += fmt.Sprintf("\n- This task was started from the item %q in %s at the repo root. When the work is done, remove that item from %s in this worktree, so the removal lands in the same merge as the work.",
*task.TodoItem, todo.File, todo.File)