Commit Graph
86 Commits
Author SHA1 Message Date
bot-hermes 264f65955b docs: polish README intro for public release 2026-09-05 21:50:48 +00:00
bot-hermes 6c67b1e6ef chore: public polish — remove stray fix scripts, move internal docs, add LICENSE 2026-09-05 21:47:58 +00:00
bot-hermes 2175c246e3 chore: remove unused route files and fix script permissions 2026-08-27 16:35:05 +00:00
bot-hermes ffc50091b1 refactor: remove canvas, automations, and custom statuses; simplify notification and status model 2026-08-22 18:00:41 +00:00
bot-hermes 7b2cdc3bae fix: remove accidentally committed node_modules symlinks from git
The worktree session created node_modules symlinks that were staged with
git add -A. These broke the deploy script which uses cp -r and cannot
overwrite directories with symlinks.
2026-08-19 11:01:42 +00:00
bot-hermes b814a4788d feat: add 5 PM features — custom statuses, Gantt, quick-add, automations, notifications
- Custom workflow statuses: per-project configurable status definitions
  replacing the fixed task_status enum. Each project defines its own
  workflow with drag-to-reorder, color coding, and category mapping.
- Gantt/timeline view: full project roadmap with task bars, dependency
  arrows, milestone diamonds, zoom levels (day/week/month), and drag
  to reschedule.
- Natural-language quick-add: NLP parser extracts dates, priorities,
  projects, labels, and recurrence from free text. Floating bar with
  'n' shortcut and live parsed preview.
- Automation rules: no-code trigger-action system per project. Triggers
  on status change, task creation, due date approaching. Actions set
  status/priority, add labels, create notifications.
- Notification center: in-app bell icon with unread badge, slide-out
  panel, real-time SSE updates, mark read/all read. Replaces raw
  activity feed dropdown.

Schema: adds status_definitions, automation_rules, notifications tables.
Migrations: 0007, 0008, 0009. 41 NLP parser tests pass.
2026-08-19 10:54:29 +00:00
bot-hermes 1a620f16c1 fix(graph): track node positions in real-time via nodeCanvasObject instead of stale snapshot 2026-08-18 11:08:54 +00:00
bot-hermes a3e4d3c868 feat: add threaded comments, activity feeds, and task dependencies 2026-08-10 21:59:10 +00:00
bot-hermes 1059512888 feat: add server error logging and tighten workspace isolation 2026-08-10 12:41:46 +00:00
bot-hermes d441e3862d docs(deploy): add one-time Gitea Actions runner setup steps
The CI workflow (projecte-runner) was never registered on the Gitea
instance, leaving quality/e2e/deploy/smoke jobs stuck at 'Waiting to run'.
Document the act_runner install/register/start flow so the pipeline can be
unblocked from the deploy host.
2026-08-10 09:13:00 +00:00
bot-hermes a60b75f075 feat: full plan execution - CI/CD, critical fixes, UX polish, secondary/advanced features, E2E + docs
Phase 0 (CI/CD): fix root typecheck to cover api+worker+web; reconcile migration
story into idempotent db:migrate (db:sync + db:triggers); add Gitea Actions
quality/deploy/smoke workflow; rewrite README/AGENTS/DEPLOY docs; add
requireWorkspaceAccess + recordActivityForEntity conventions.

Phase 1 (critical fixes): calendar delete + drag/resize DnD; canvas card CRUD +
bulk save + debounced autosave; logout route; graph edge workspaceId derivation;
real analytics endpoints (drop Math.random); task board droppable columns +
reorder persistence; Tiptap notes editor with sanitized HTML rendering; remove
insecure passkey auth; domain/owner scoping (IDOR) on all by-ID routes + search/
export/realtime scoping; command palette routing + agent mention fetch; agent
activity SSE handler; graph fly-to with tracked positions.

Phase 2 (UX polish): login on design system; Sonner toasts app-wide; shared
Loading/Empty/Error state components; working density/sidebarPos/reduce-motion
settings; Inter typography; consolidated status-colors lib; unified detail
routes; dashboard sort/realtime/responsive fixes; mobile responsive; a11y
(radiogroups, sanitized snippets, badge labels).

Phase 3 (features): daily notes timezone fix + delete + autosave + mood/energy
create; active-domain store + topbar picker; graph domain picker + navigable
entity links; tag assign/remove UI + server-side tag filter; real CSV export +
import validation; custom fields on tasks.

Phase 4 (advanced): migrate job worker into apps/worker (webhook delivery with
HMAC, recurring spawn, ai_dispatch disabled); webhook queue helper + entity
event enqueuing + test endpoint fix; recurring scheduledJobs pipeline; agents
CRUD + permission editing + activity filters; real notifications feed; MCP
polish (validation, error codes, domain scoping, dead sql leftover).

Phase 5 (E2E + docs): rewrite Playwright suite for the Vite SPA (15 specs, new
auth helpers, chromium-only in CI); add ephemeral-Postgres e2e CI job; rewrite
docs/API.md for the real Hono API.
2026-08-10 08:53:18 +00:00
bot-hermes fe4402c7b0 Merge pull request 'Bug sweep fixes: 6 logic bugs across tasks/habits, graph/reports, worker (R2 pipeline test)' (#13) from integration/sweep-fixes into main 2026-08-06 10:02:34 -04:00
bot-hermes f985eaedbf Merge remote-tracking branch 'origin/wt/sweep-C' into integration/sweep-fixes 2026-08-06 13:57:53 +00:00
bot-hermes d92311da6a Merge remote-tracking branch 'origin/wt/sweep-B' into integration/sweep-fixes 2026-08-06 13:57:53 +00:00
bot-hermes ca7a0d7ff7 fix(reports): honor passed token in report-service generate* helpers
The generateWeeklySummary/generateProjectHealth/generateHabitAnalysis/
generateTimeAudit helpers all had "const pb = token ? createAdminClient()
: createAdminClient();" — both branches return the admin client, so a
passed user token was silently discarded and every caller got admin-level
access. Use createPocketBaseClient(token) when a token is provided,
matching the sibling project-service.ts / note-service.ts pattern.
2026-08-06 13:56:29 +00:00
bot-hermes ab7735d6fc fix(graph): filter soft-deleted projects in getGraphData
projectIds query omitted isNull(projects.deletedAt), unlike the sibling
projectRows query, so sections of soft-deleted projects were loaded as
orphan nodes via inArray(sections.projectId, projectIds).
2026-08-06 13:56:22 +00:00
bot-hermes 2dec21d886 fix(tasks,habits): replace dead PocketBase stubs with Drizzle ORM + soft-delete + activity feed
GET/PATCH/DELETE for single task and habit used createPocketBaseClient(),
which is a dead stub, and DELETE did a hard delete violating the soft-delete
rule in AGENTS.md. Rewrite with Drizzle ORM: soft-delete (deleted_at),
activity feed insert via recordActivity(), Zod validation, parent-task
existence check, workspace access check, and 404 NOT_FOUND handling.
2026-08-06 13:53:33 +00:00
bot-hermes 2bb28fe65f fix(tasks): support status query param in list API and use it in today-tasks widget
The dashboard widget was filtering with a broken filter=status!=done query
param that the list API never interpreted, so completed tasks could appear.
Add a status= todo,in_progress filter to GET /api/tasks and update the widget
to use it (also fix domain badge to use domainId).
2026-08-06 13:53:29 +00:00
bot-hermes 29ff83cfd6 fix(worker): honor jobs.maxAttempts and treat NULL nextRetryAt as due 2026-08-06 13:47:19 +00:00
bot-hermes 0ff005a47a fix: add missing timer state and handlers (timerRunning, setTimerStartedAt, handleStartTimer, handleStopTimer, formatDuration, elapsedSeconds tick effect) 2026-07-29 20:54:14 +00:00
bot-hermes 56e923deb2 fix: add missing Play and Square imports to task-detail-panel 2026-07-29 20:46:48 +00:00
bot-hermes 8de6849474 merge: fix/ux-leaf-f-polish into integration/ux-28-gaps (resolve OnboardingFlow+DispatchPanel in layout) 2026-07-29 20:34:52 +00:00
bot-hermes 4b0cfb2611 merge: fix/ux-leaf-e-crosscut into integration/ux-28-gaps (resolve conflicts on tasks-kanban-view, tasks-list-view, task-detail-panel) 2026-07-29 20:34:27 +00:00
bot-hermes c448a747a7 merge: fix/ux-leaf-d-new-pages into integration/ux-28-gaps 2026-07-29 20:31:22 +00:00
bot-hermes 6f2acf77b7 merge: fix/ux-leaf-c-settings into integration/ux-28-gaps 2026-07-29 20:31:22 +00:00
bot-hermes 7e2fe93d64 merge: fix/ux-leaf-b-edit-dialogs into integration/ux-28-gaps 2026-07-29 20:31:22 +00:00
bot-hermes bc15b31e8b merge: fix/ux-leaf-a-tasks into integration/ux-28-gaps 2026-07-29 20:31:22 +00:00
bot-hermes 281a20c502 fix: correct agents page JSX structure after adding dispatch panel 2026-07-29 20:28:19 +00:00
bot-hermes efbab9517c 27: onboarding flow - make onComplete optional for server component layout 2026-07-29 20:23:12 +00:00
bot-hermes 9b4c0b77c1 26: domain-specific dashboard - add Suspense wrapper for useSearchParams 2026-07-29 20:23:12 +00:00
bot-hermes 37e8b724bd fix: resolve TypeScript errors in timer, pagination, undo, and notification components 2026-07-29 19:47:44 +00:00
bot-hermes 888bd6393e feat(sections): refactor section dialog for edit/delete, add dropdown menu in project detail 2026-07-29 19:39:32 +00:00
bot-hermes f078360340 feat(webhooks): improve test button toast with status code + response preview 2026-07-29 19:27:30 +00:00
bot-hermes 9bc571eb69 feat: add notification bell with activity feed and notification preferences
- New NotificationBell component in topbar showing recent activity
- Popover with last 10 activity items from /api/domains/[id]/activity
- Notification preferences section in Settings > Shortcuts tab
- Preferences persisted to localStorage (pe_notification_prefs)
- Toggle switches for task_created, task_completed, habit_logged, comment_added
2026-07-29 19:27:24 +00:00
bot-hermes 449eade4b6 feat: add AI agent dispatch panel with floating button and new task button on agents page 2026-07-29 19:27:17 +00:00
bot-hermes c704916059 feat(settings): add Custom Fields tab with localStorage schema + task detail panel rendering 2026-07-29 19:26:44 +00:00
bot-hermes e0020eac7d 26: domain-specific dashboard - respect ?domain= query param 2026-07-29 19:26:27 +00:00
bot-hermes 39e182418d 27: onboarding flow - first-run sheet with 3 steps (domain, task, habit) 2026-07-29 19:26:23 +00:00
bot-hermes cd5d7a96ff 28: task templates - localStorage templates (Bug fix, Feature work, Quick meeting) in create dialog 2026-07-29 19:26:17 +00:00
bot-hermes 0835961bc9 23: note templates - localStorage templates (Meeting notes, Daily journal, Brain dump) 2026-07-29 19:26:13 +00:00
bot-hermes dd431a35d6 22: project timeline / Gantt view - CSS grid horizontal Gantt with sections as rows 2026-07-29 19:26:10 +00:00
bot-hermes f1b38ac497 21: habit analytics - recharts line/bar chart for 30-day completions and top streaks 2026-07-29 19:26:06 +00:00
bot-hermes 7ced6f2bf2 feat: add undo toasts for task and note deletions
- Capture deleted item before DELETE call
- Show sonner toast with Undo action button
- On Undo, POST to recreate the item with original data
- Applied to tasks-list-view, task-detail-panel, and notes page
2026-07-29 19:26:05 +00:00
bot-hermes 1d8f548f4b 19: mobile responsive - reduce main content padding on mobile (p-4 md:p-6) 2026-07-29 19:25:50 +00:00
bot-hermes d951348372 feat: add canvas freeform board page with drag-and-drop cards and sidebar link 2026-07-29 19:25:37 +00:00
bot-hermes fb68009c23 feat: add pagination with Load More button to task list view
- Add offset/limit pagination with 50 items per page
- Load More button appends tasks to existing list
- Show "Showing X of Y" count in the filter bar area
2026-07-29 19:25:17 +00:00
bot-hermes b314bda934 feat(tasks): add recurring task support with rrule in create dialog, detail panel, and complete route 2026-07-29 19:25:15 +00:00
bot-hermes 7ae8efe096 feat(kanban): dependency visual on cards with Link2 icon and tooltip 2026-07-29 19:24:23 +00:00
bot-hermes 1cb932f0f6 feat(tasks): filter/sort controls and bulk operations in list view 2026-07-29 19:24:18 +00:00
bot-hermes 6cbb3bb544 feat: add daily notes page with date navigation and sidebar link 2026-07-29 19:23:56 +00:00
bot-hermes 77a45715c0 feat(projects): add project edit dialog with dropdown menu and archive confirmation 2026-07-29 19:23:45 +00:00
bot-hermes bfada34ead feat: add time tracking UI with timer and clock icon on kanban cards
- Add time tracking section in task detail panel with progress bar
- Start/Stop timer with elapsed time display
- On stop, PATCH trackedMinutes with delta
- Add clock icon on kanban cards when estimatedMinutes is set
- Note: timer is per-tab (no persistence across refresh)
2026-07-29 19:22:36 +00:00
bot-hermes a6ac7c3fb6 feat(habits): add habit edit dialog with dropdown menu and delete confirmation 2026-07-29 19:22:29 +00:00
bot-hermes 1a0704e0f2 feat(settings): add Tags management tab with create/edit/delete UI 2026-07-29 19:22:27 +00:00
bot-hermes 28d01f3839 feat(kanban): inline task creation in columns 2026-07-29 19:21:41 +00:00
bot-hermes 3708505b00 fix: remove completionMode/color/icon from habits route (not in schema) 2026-07-29 18:50:32 +00:00
bot-hermes f5121f3b8d fix: rewrite /api/tasks, /api/habits, /api/projects to use Drizzle ORM instead of PocketBase stub 2026-07-29 18:48:10 +00:00
bot-hermes 0de8f3837f fix: restore domainId prop to TasksKanbanView and TasksListView 2026-07-29 15:26:02 +00:00
bot-hermes bc27e3e4bc fix: wrap tasks page in RealtimeProvider to prevent useRealtimeContext error 2026-07-29 15:23:54 +00:00
bot-hermes dbce018ce5 fix: use sql tagged template for pg_notify instead of db.execute 2026-07-29 13:07:03 +00:00
bot-hermes 83befd6a84 fix: activity.ts pg_notify syntax and graph-service.ts sections empty inArray 2026-07-29 13:03:55 +00:00
bot-hermes 4089d7464c fix: use whitelist sort columns in domains route to fix TypeScript error 2026-07-29 12:59:20 +00:00
bot-hermes f5463f21b0 fix: rewrite /api/domains route to use Drizzle ORM instead of PocketBase stub 2026-07-29 12:57:06 +00:00
bot-hermes 700d1456ac fix: remove .unref() from middleware setInterval (Edge Runtime incompatibility) 2026-07-29 12:47:39 +00:00
bot-hermes ed3d3ae8d1 fix: rename [id] to [domainId] in domains API route to resolve Next.js param conflict 2026-07-29 12:44:41 +00:00
bot-hermes 326af9fd48 fix: rename [id] to [projectId] in projects API route to resolve Next.js param conflict 2026-07-29 12:39:08 +00:00
bot-hermes 4f0010fe40 Merge rrule import fix 2026-07-29 12:30:17 +00:00
bot-hermes 33f1009946 Merge v2 full rewrite (P1-P6) 2026-07-29 12:25:13 +00:00
bot-hermes c5e996326c Merge PR #9: Full UX audit fixes 2026-07-28 22:00:19 +00:00
bot-hermes e21028a64c fix: search route - in-process substring match for cross-entity search 2026-07-28 21:54:50 +00:00
bot-hermes 9ddab4e5a5 fix: round 3 UI gaps - habit edit dialog, domain edit, empty states, domain name resolution 2026-07-28 15:02:01 +00:00
bot-hermes a06d34264d fix: compute project progress, task_count, completed_count in detail API 2026-07-28 14:41:07 +00:00
bot-hermes 945dd8904a fix: allow null due_date in task schema for PATCH updates 2026-07-28 14:20:03 +00:00
bot-hermes b76ba9f5c0 fix: notes page default domain should be empty (fetched from API) 2026-07-28 13:57:20 +00:00
bot-hermes 80834ef121 fix: notes page fetches domains on mount for domain name resolution 2026-07-28 13:54:18 +00:00
bot-hermes 640994c9c1 fix: projects page re-fetches on refreshKey change 2026-07-28 13:45:55 +00:00
bot-hermes b45248be87 fix: resolve domain UUIDs in tasks list view 2026-07-26 01:26:37 +00:00
bot-hermes af7d05be0f fix: 7 UX bugs across dashboard, tasks, projects, calendar, settings
- Dashboard: fetch project progress from /api/projects/[id]/progress
- Tasks List: add DropdownMenuTrigger to More options button
- Projects: add New project button with CreateItemDialog integration
- Settings: use color picker value when creating domains
- Calendar: use dynamic domain options instead of hardcoded list
- Dashboard: make View all button navigate to /tasks
- Dashboard: domain names already resolved via domainMap (verified working)
2026-07-26 01:22:41 +00:00
bot-hermes 953a947874 fix: resolve 15+ UX issues across the full app
- CreateItemDialog: shared Zustand store for dialog state
- TopBar: use store instead of router.push navigation
- TaskDetailPanel: dynamic domain fetch from /api/domains
- TodayTasksWidget: domain name resolution from UUIDs
- ProjectProgressWidget: fetch real progress, default to 0
- Calendar page: domain filter fetches from API dynamically
- Habits page: edit/delete dropdown with AlertDialog
- Projects page: domain name display + delete button
- Notes page: domain picker on creation, names in list
- Settings domains: add color picker input
- Tasks list view: MoreHorizontal wired to edit/delete
- HabitCard: domain resolution + edit/delete dropdown
- PocketBase compat: add JSDoc migration comment
2026-07-25 02:22:01 +00:00
bot-hermes ec33544172 fix: calendar, habits, analytics PB 0.25 compat (#6) 2026-07-19 19:39:41 -04:00
bot-hermes a21c1606c9 fix: calendar filter, habit service, PB 0.25 field compat
- Calendar: remove unsupported due_date!="" filter (PB 0.25 rejects), fetch all + filter client-side
- habit-service: fix active=true filter to archived!=true (field doesnt exist)
- habit-service: remove references to non-existent fields (completed, skipped, score_config, start_date)
- All PocketBase collections: re-added proper data fields with correct PB IDs for relations

Fixes calendar, analytics, habits heatmap, and habits streaks endpoints.
2026-07-19 23:39:20 +00:00
bot-hermes e76f60e4de fix: PB 0.25 compat — empty filter/sort and created/updated fields (#5) 2026-07-19 11:03:46 -04:00
bot-hermes 327c5bf733 fix: handle empty filter param and add created/updated fields for PB 0.25 compat 2026-07-19 15:03:15 +00:00
bot-hermes a45a2a0bb2 fix: add apps/web/public/.gitkeep for Docker build 2026-07-19 00:10:16 +00:00
bot-hermes 22da26d6e9 fix: resolve Zod v4 record type error and worker TS compilation (#1)
Fixes two build-breaking bugs:

1. Zod v4 type error — z.record() needed 2 args
2. Worker Dockerfile — tsx for TS runtime

Review notes:
- tsbuildinfo build artifact committed (should be gitignored — follow-up)
- tsx as devDependency + --omit=dev in worker Dockerfile = npx fetches on restart (fragile — follow-up)

Merged by Hermes (Grade 36 Bureaucrat)
2026-07-18 20:04:57 -04:00
bot-hermes 301f4ea5ce fix: resolve Zod v4 record type error and worker TypeScript compilation
- packages/shared/src/schemas/agent.ts: z.record(z.unknown()) → z.record(z.string(), z.unknown())
- Dockerfile.worker: add TypeScript compilation support (tsx)

Fixes #build-web and #build-worker container failures.
2026-07-19 00:03:43 +00:00