Skip to content

Feature/enhancements#2

Open
m-hesse wants to merge 18 commits intorizqcon:mainfrom
m-hesse:feature/enhancements
Open

Feature/enhancements#2
m-hesse wants to merge 18 commits intorizqcon:mainfrom
m-hesse:feature/enhancements

Conversation

@m-hesse
Copy link

@m-hesse m-hesse commented Feb 14, 2026

v2.0.0 — Backend Refactor, Multi-Project Support & Agent Hardening

A note upfront

I owe you an apology — this PR is far bigger than it should be. What started as "make the base URL configurable for Docker" turned into a full backend refactor when I realized the 2600-line app.py monolith wasn't going to cut it anymore. One thing led to another: multi-project support, filter bar, agent hardening... and I didn't split it into separate branches. Lesson learned.

That said: everything works, it's internally consistent, and the docs are fully updated. I've tried to make the scope as transparent as possible below.


What's in here

Backend Refactor — Monolithic app.py -> modular app/ package (15 modules). Write-safe DB layer (WAL + write lock), request logging middleware, IP restriction middleware. Dockerfile updated to uvicorn app.main:app.

Multi-Project Support — Projects CRUD, project switcher in header with colored badges, project manager modal. Tasks have a project_id FK (default project for backwards compat).

Filtering & UI — Combined filter bar (priority + agent + keyword search), new "Todo" column (6 columns total), Markdown export for tasks, responsive design (tablet + mobile breakpoints).

Auto-Save & UX Polish — Task fields (status, priority, agent, project, due date, description) auto-save on change. Inline action item creation with type picker. Larger task modal (720x700px), improved form layout, better save feedback animation, green resolved checkmarks. Project switcher moved to filter bar.

Agent Management — Three-tier agent detection (ENV -> OpenClaw API -> fallback). AUTO_STOP_ON_DONE config to permanently delete sessions on Done (default: false) — alternative: OpenClaw's archiveAfterMinutes. Session liveness checks, toggle start/stop button, double-spawn guard, follow-up & @mention spawning. Session deletion now via WS-RPC (removed legacy filesystem manipulation and deleted_sessions table).

Validation & Security — Pydantic field validators (HTTP 422 on invalid status/priority), configurable CORS via TASKBOARD_BASE_URL, IP restriction, agent guardrails.

Breaking Changes

  • app.py no longer exists — entry point is now app.main:app
  • New "Todo" column appears automatically (existing tasks unaffected)
  • deleted_sessions table is dropped (sessions now deleted cleanly via WS-RPC)

New Environment Variables

AGENT_AUTO_DETECT, AGENTS, AUTO_STOP_ON_DONE, TASKBOARD_BASE_URL, ALLOWED_IPS, PROJECT_NAME, COMPANY_NAME, COMPANY_CONTEXT, ALLOWED_PATHS, COMPLIANCE_FRAMEWORKS

See CHANGELOG.md for the full diff-level breakdown.

Test Plan

  • docker-compose up -d — board loads, 6 columns visible
  • Create/switch/delete projects
  • Filter bar: priority, agent, keyword (combined)
  • Agent auto-detect on startup (check logs)
  • Task -> "In Progress" -> session spawns
  • Task -> "Done" -> session stops (if AUTO_STOP_ON_DONE=true)
  • Auto-save: change status/priority/agent -> board updates without manual save
  • Inline action item creation via "+ Add" button
  • Markdown export from task modal
  • @Mention in comment -> agent spawns
  • Responsive: tablet and mobile

m-hesse and others added 18 commits February 10, 2026 13:53
…adata and colors from OpenClaw API, improving UI consistency and fallback handling.
…ect manager modal, and project CRUD operations in the UI.
…ite-safe connections, logging actions, and adding environment-based agent configuration.
…oving follow-up spawning, and updating task status logic.
…, auto-detection, and session handling improvements
…P_ON_DONE variable and update README for v2.0.0 features
…ask modal layout, and adding auto-save feature for task fields
- Comprehensive CHANGELOG with full diff-level breakdown
- README: updated architecture diagram, API endpoints (24), config tables, features
- AUTO_STOP_ON_DONE configurable via .env (default: false)
- Removed deleted_sessions table, session deletion now via WS-RPC
- Added auto-save, inline action items, UI polish to changelog

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant