{% extends "base.html" %} {% block title %}{{ project.name }} - Kanban Board{% endblock %} {% block content %} {# Destination stage for planned work: Backlog, or the first stage when no Backlog stage exists (mirrors the server-side chat-plan fallback). #} {% set backlog_stage = project.stages | selectattr('key', 'equalto', 'backlog') | first %} {% set plan_stage = backlog_stage or (project.stages | first) %} {% set new_task_default_stage = plan_stage %}
Board Activity Changes Settings

{{ project.name }}

{% if project.creator and project.creator.entity_type.value == 'agent' %} Agent managed {% endif %}
{{ (project.approval_status.value | lower) if project.approval_status else 'pending' }} {{ project.path or 'No folder selected' }}

Planning proposes task cards for {{ plan_stage.name if plan_stage else 'Backlog' }}. Review before creating.

Connecting… Activity
Advanced
{% if project.path %} {% endif %} Git view
{% if setup_checklist %}
Setup Checklist {{ setup_checklist.completed_count }}/4 complete
{% if setup_checklist.has_folder %}✓{% else %}1{% endif %}
Choose folder
{% if setup_checklist.has_folder %} {{ project.path }} {% else %} Missing prerequisite: Set a project folder for workspace files. {% endif %}
{% if not setup_checklist.has_folder %} {% else %} ✓ Configured {% endif %}
{% if setup_checklist.has_worker %}✓{% else %}2{% endif %}
Configure worker
{% if setup_checklist.has_worker %} Worker: {{ setup_checklist.worker_name }} ({{ setup_checklist.worker_agent }}) {% elif not setup_checklist.has_folder %} Prerequisite: choose a project folder first. {% elif setup_checklist.worker_configured %} Configured worker CLI is not on PATH. Install it or choose an available agent. {% else %} Missing prerequisite: Assign an available CLI to the worker role. {% endif %}
{% if setup_checklist.has_tasks %}✓{% else %}3{% endif %}
Create task
{% if setup_checklist.has_tasks %} {{ setup_checklist.task_count }} task(s) on board {% elif not setup_checklist.has_worker %} Prerequisite: configure an agent worker first. {% else %} Missing prerequisite: Create your first task to define work. {% endif %}
{% if setup_checklist.has_started %}✓{% else %}4{% endif %}
Start work
{% if setup_checklist.has_started %} {{ setup_checklist.execution_message }} {% elif setup_checklist.execution_message %} {{ setup_checklist.execution_message }} {% elif not setup_checklist.has_folder %} Prerequisite: choose a project folder first. {% elif not setup_checklist.has_worker %} Prerequisite: configure an available worker first. {% elif not setup_checklist.has_tasks %} Prerequisite: create a task first. {% elif setup_checklist.first_todo_unassigned_task_id %} A task is queued in To Do. Assign the configured worker to launch it. {% elif setup_checklist.first_todo_assigned_task_id %} Task assigned; waiting for an agent session. Check Activity for blockers. {% elif setup_checklist.first_backlog_task_id %} Move a Backlog task to To Do, then assign the worker. {% else %} No agent session yet. Queue a task in To Do and assign the worker. {% endif %}
{% if setup_checklist.has_started or setup_checklist.execution_message %} View Activity {% elif not setup_checklist.has_folder %} {% elif not setup_checklist.has_worker %} {% elif not setup_checklist.has_tasks %} {% elif setup_checklist.first_todo_unassigned_task_id %} {% elif setup_checklist.first_todo_assigned_task_id %} View Activity {% elif setup_checklist.first_backlog_task_id %} {% else %} {% if setup_checklist.todo_stage_id %} {% else %} {% endif %} {% endif %}
{% endif %}
{% for stage in project.stages %}
{{ stage.name }} {{ stage.tasks|length }}
{% for task in stage.tasks %}
{% endfor %} {% if not stage.tasks %}
✨ Ready for new tasks Drop here
{% endif %}
{% if stage.key in ['backlog', 'to_do'] %} {% endif %}
{% endfor %}
{% endblock %} {% block extra_js %} {% endblock %}