Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
b13ef61
feat(tasks): resolve hierarchy inheritance and validate effective dep…
Oct 14, 2026
dcbca33
feat(web): add subtask planning and inherited property controls
Oct 14, 2026
d23d52f
docs: record Stage 4 review and graph verification
Oct 14, 2026
9ef5ea3
feat(domain): define planning, recurrence and collaboration contracts
Oct 14, 2026
620f481
feat(planning): evaluate shared filters and persist personal view state
Oct 14, 2026
71fbad3
feat(lifecycle): materialize recurring trees and manage archive and t…
Oct 14, 2026
db168ce
feat(collaboration): secure rich content, file access, search and liv…
Oct 14, 2026
834def9
fix(lifecycle): retain template files and reconcile removed references
Oct 14, 2026
5c4ff4d
feat(web): complete shared planning, recurring tasks and rich collabo…
Oct 14, 2026
a793c1f
feat(operations): ship installable VP and consistent backup recovery …
Oct 14, 2026
4a2540e
docs: record complete VP verification and recovery drill
Oct 14, 2026
48fc720
fix(worker): retry failed households without starving other maintenance
Oct 14, 2026
a27f3ed
fix(sync): keep idle WebSockets alive through reverse proxies
Oct 14, 2026
7e6cec9
test(sync): verify idle connection survives proxy timeout
Oct 14, 2026
640c40a
fix(deploy): resolve API address changes without restarting nginx
Oct 15, 2026
e81cb57
fix(editor): defer initialization until commit and cover WebKit task …
Oct 15, 2026
e971b8d
fix(web): keep card menus visible and enable Safari board dragging
Oct 15, 2026
529b5b1
feat(web): preview drag insertion and dwell to nest tasks
Oct 15, 2026
458aef6
feat(tasks): advance planning columns as earliest starts approach
Oct 15, 2026
157d93d
feat(web): apply compact household board and split task details
Oct 15, 2026
4176de7
fix(web): unify page alignment and responsive spacing
Oct 15, 2026
7362c3a
feat(web): expose planning controls with clear visual semantics
Oct 15, 2026
b0eb128
fix(web): strengthen light theme text and control contrast
Oct 16, 2026
caac1a2
fix(web): hide exact effort estimates from task UI
Oct 16, 2026
1e07e4f
feat(web): replace assignee checkboxes with avatar picker
Oct 16, 2026
544a37c
fix(web): finish compact task property heading cleanup
Oct 16, 2026
c919368
feat(web): use searchable chips for task collections
Oct 16, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copy to .env. Use a strong URL-safe password (for example: openssl rand -hex 32).
POSTGRES_PASSWORD=
PUBLIC_ORIGIN=https://tendly.example.com
TENDLY_VERSION=0.0.0-dev
TENDLY_VERSION=v1.0.0
BIND_ADDRESS=127.0.0.1
HTTP_PORT=8080
LOG_LEVEL=info
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
node-version: '24.19.0'
cache: pnpm
- run: pnpm install --frozen-lockfile
- run: pnpm exec playwright install --with-deps chromium
- run: pnpm exec playwright install --with-deps chromium webkit
- run: bash infrastructure/scripts/test-mailbox.sh
- run: docker compose up --build --wait --wait-timeout 180
- run: pnpm test:e2e
Expand Down
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,17 @@ A self-hosted household task manager: simple daily use, powerful planning when n
English/Swedish, mobile and desktop, and portable Docker deployment. Licensed under
[AGPL-3.0-or-later](LICENSE).

**Development status:** Stage 3 task capture and planning foundation. This is not yet the Milestone 1 Viable
Product. Accounts, shared entities, task capture, six columns and guarded autosave are implemented; hierarchy, filters and the remaining workflows follow in the approved stages. M1 retains the complete approved
scope; automatic GPS and notifications follow in M2, and integrated cloud backup in M4.
**VP 1.0.0:** household planning with shared views and filters, unlimited subtasks,
recurrence/templates, rich comments, photos/files, archive/Trash and manual recovery.
See the [VP acceptance record](docs/implementation/vp-acceptance.md) for verification.
Automatic GPS and notifications remain v1.1; integrated cloud backup remains v1.3.

## Start here

- [Developer setup](docs/development.md)
- [Deployment and operations](docs/operations.md)
- [Approved delivery stages and acceptance mapping](docs/implementation/delivery-stages.md)
- [VP acceptance record](docs/implementation/vp-acceptance.md)
- [Stage 3 review](docs/implementation/stage-3-review.md)
- [Stage 2 review](docs/implementation/stage-2-review.md)
- [Stage 1 review](docs/implementation/stage-1-review.md)
Expand Down
29 changes: 29 additions & 0 deletions apps/api/drizzle/0004_brainy_spot.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
CREATE TABLE "task_dependencies" (
"blocked_task_id" uuid NOT NULL,
"blocking_task_id" uuid NOT NULL,
CONSTRAINT "task_dependencies_blocked_task_id_blocking_task_id_pk" PRIMARY KEY("blocked_task_id","blocking_task_id")
);
--> statement-breakpoint
CREATE TABLE "task_entity_exclusions" (
"task_id" uuid NOT NULL,
"entity_id" uuid NOT NULL,
CONSTRAINT "task_entity_exclusions_task_id_entity_id_pk" PRIMARY KEY("task_id","entity_id")
);
--> statement-breakpoint
CREATE TABLE "task_relations" (
"first_id" uuid NOT NULL,
"second_id" uuid NOT NULL,
CONSTRAINT "task_relations_first_id_second_id_pk" PRIMARY KEY("first_id","second_id")
);
--> statement-breakpoint
ALTER TABLE "tasks" ADD COLUMN "parent_id" uuid;--> statement-breakpoint
ALTER TABLE "tasks" ADD COLUMN "inherit" jsonb DEFAULT '[]'::jsonb NOT NULL;--> statement-breakpoint
ALTER TABLE "task_dependencies" ADD CONSTRAINT "task_dependencies_blocked_task_id_tasks_id_fk" FOREIGN KEY ("blocked_task_id") REFERENCES "public"."tasks"("id") ON DELETE cascade ON UPDATE no action;--> statement-breakpoint
ALTER TABLE "task_entity_exclusions" ADD CONSTRAINT "task_entity_exclusions_task_id_tasks_id_fk" FOREIGN KEY ("task_id") REFERENCES "public"."tasks"("id") ON DELETE cascade ON UPDATE no action;--> statement-breakpoint
ALTER TABLE "task_entity_exclusions" ADD CONSTRAINT "task_entity_exclusions_entity_id_planning_entities_id_fk" FOREIGN KEY ("entity_id") REFERENCES "public"."planning_entities"("id") ON DELETE cascade ON UPDATE no action;--> statement-breakpoint
ALTER TABLE "task_relations" ADD CONSTRAINT "task_relations_first_id_tasks_id_fk" FOREIGN KEY ("first_id") REFERENCES "public"."tasks"("id") ON DELETE cascade ON UPDATE no action;--> statement-breakpoint
ALTER TABLE "task_relations" ADD CONSTRAINT "task_relations_second_id_tasks_id_fk" FOREIGN KEY ("second_id") REFERENCES "public"."tasks"("id") ON DELETE cascade ON UPDATE no action;--> statement-breakpoint
CREATE INDEX "dependency_blocker_idx" ON "task_dependencies" USING btree ("blocking_task_id");--> statement-breakpoint
CREATE INDEX "relation_second_idx" ON "task_relations" USING btree ("second_id");--> statement-breakpoint
ALTER TABLE "tasks" ADD CONSTRAINT "tasks_parent_id_tasks_id_fk" FOREIGN KEY ("parent_id") REFERENCES "public"."tasks"("id") ON DELETE restrict ON UPDATE no action;--> statement-breakpoint
CREATE INDEX "task_parent_idx" ON "tasks" USING btree ("parent_id");
52 changes: 52 additions & 0 deletions apps/api/drizzle/0005_giant_lilandra.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
CREATE TABLE "filter_history" (
"filter_id" uuid NOT NULL,
"version" integer NOT NULL,
"definition" jsonb NOT NULL,
"actor_id" uuid,
"created_at" timestamp with time zone DEFAULT now() NOT NULL,
CONSTRAINT "filter_history_filter_id_version_pk" PRIMARY KEY("filter_id","version")
);
--> statement-breakpoint
CREATE TABLE "saved_filters" (
"id" uuid PRIMARY KEY DEFAULT gen_random_uuid() NOT NULL,
"household_id" uuid NOT NULL,
"name" text NOT NULL,
"icon" text DEFAULT 'list-filter' NOT NULL,
"color" text DEFAULT 'blue' NOT NULL,
"version" integer DEFAULT 1 NOT NULL,
"created_by" uuid,
"builtin" text,
"definition" jsonb NOT NULL
);
--> statement-breakpoint
CREATE TABLE "view_personal" (
"view_id" uuid NOT NULL,
"user_id" uuid NOT NULL,
"version" integer DEFAULT 1 NOT NULL,
"active_filters" jsonb DEFAULT '[]'::jsonb NOT NULL,
"favorite" integer DEFAULT 0 NOT NULL,
"current_place" uuid,
CONSTRAINT "view_personal_view_id_user_id_pk" PRIMARY KEY("view_id","user_id")
);
--> statement-breakpoint
CREATE TABLE "saved_views" (
"id" uuid PRIMARY KEY DEFAULT gen_random_uuid() NOT NULL,
"household_id" uuid NOT NULL,
"name" text NOT NULL,
"icon" text DEFAULT 'list-filter' NOT NULL,
"color" text DEFAULT 'blue' NOT NULL,
"version" integer DEFAULT 1 NOT NULL,
"created_by" uuid,
"builtin" text,
"definition" jsonb NOT NULL
);
--> statement-breakpoint
ALTER TABLE "filter_history" ADD CONSTRAINT "filter_history_filter_id_saved_filters_id_fk" FOREIGN KEY ("filter_id") REFERENCES "public"."saved_filters"("id") ON DELETE cascade ON UPDATE no action;--> statement-breakpoint
ALTER TABLE "filter_history" ADD CONSTRAINT "filter_history_actor_id_users_id_fk" FOREIGN KEY ("actor_id") REFERENCES "public"."users"("id") ON DELETE set null ON UPDATE no action;--> statement-breakpoint
ALTER TABLE "saved_filters" ADD CONSTRAINT "saved_filters_household_id_households_id_fk" FOREIGN KEY ("household_id") REFERENCES "public"."households"("id") ON DELETE cascade ON UPDATE no action;--> statement-breakpoint
ALTER TABLE "saved_filters" ADD CONSTRAINT "saved_filters_created_by_users_id_fk" FOREIGN KEY ("created_by") REFERENCES "public"."users"("id") ON DELETE set null ON UPDATE no action;--> statement-breakpoint
ALTER TABLE "view_personal" ADD CONSTRAINT "view_personal_view_id_saved_views_id_fk" FOREIGN KEY ("view_id") REFERENCES "public"."saved_views"("id") ON DELETE cascade ON UPDATE no action;--> statement-breakpoint
ALTER TABLE "view_personal" ADD CONSTRAINT "view_personal_user_id_users_id_fk" FOREIGN KEY ("user_id") REFERENCES "public"."users"("id") ON DELETE cascade ON UPDATE no action;--> statement-breakpoint
ALTER TABLE "saved_views" ADD CONSTRAINT "saved_views_household_id_households_id_fk" FOREIGN KEY ("household_id") REFERENCES "public"."households"("id") ON DELETE cascade ON UPDATE no action;--> statement-breakpoint
ALTER TABLE "saved_views" ADD CONSTRAINT "saved_views_created_by_users_id_fk" FOREIGN KEY ("created_by") REFERENCES "public"."users"("id") ON DELETE set null ON UPDATE no action;--> statement-breakpoint
CREATE UNIQUE INDEX "view_household_builtin_idx" ON "saved_views" USING btree ("household_id","builtin");
28 changes: 28 additions & 0 deletions apps/api/drizzle/0006_romantic_wind_dancer.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
CREATE TABLE "lifecycle_settings" (
"household_id" uuid PRIMARY KEY NOT NULL,
"version" integer DEFAULT 1 NOT NULL,
"archive_days" integer DEFAULT 30,
"trash_days" integer DEFAULT 30 NOT NULL
);
--> statement-breakpoint
CREATE TABLE "task_occurrences" (
"template_id" uuid NOT NULL,
"date" text NOT NULL,
"root_id" uuid NOT NULL,
"created_at" timestamp with time zone DEFAULT now() NOT NULL,
CONSTRAINT "task_occurrences_template_id_date_pk" PRIMARY KEY("template_id","date")
);
--> statement-breakpoint
CREATE TABLE "task_templates" (
"id" uuid PRIMARY KEY DEFAULT gen_random_uuid() NOT NULL,
"household_id" uuid NOT NULL,
"name" text NOT NULL,
"version" integer DEFAULT 1 NOT NULL,
"nodes" jsonb NOT NULL,
"recurrence" jsonb
);
--> statement-breakpoint
ALTER TABLE "tasks" ADD COLUMN "trash_root_id" uuid;--> statement-breakpoint
ALTER TABLE "lifecycle_settings" ADD CONSTRAINT "lifecycle_settings_household_id_households_id_fk" FOREIGN KEY ("household_id") REFERENCES "public"."households"("id") ON DELETE cascade ON UPDATE no action;--> statement-breakpoint
ALTER TABLE "task_occurrences" ADD CONSTRAINT "task_occurrences_template_id_task_templates_id_fk" FOREIGN KEY ("template_id") REFERENCES "public"."task_templates"("id") ON DELETE cascade ON UPDATE no action;--> statement-breakpoint
ALTER TABLE "task_templates" ADD CONSTRAINT "task_templates_household_id_households_id_fk" FOREIGN KEY ("household_id") REFERENCES "public"."households"("id") ON DELETE cascade ON UPDATE no action;
30 changes: 30 additions & 0 deletions apps/api/drizzle/0007_cynical_vapor.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
CREATE TABLE "task_comments" (
"id" uuid PRIMARY KEY DEFAULT gen_random_uuid() NOT NULL,
"household_id" uuid NOT NULL,
"task_id" uuid NOT NULL,
"author_id" uuid,
"body" text NOT NULL,
"version" integer DEFAULT 1 NOT NULL,
"created_at" timestamp with time zone DEFAULT now() NOT NULL,
"updated_at" timestamp with time zone DEFAULT now() NOT NULL
);
--> statement-breakpoint
CREATE TABLE "task_files" (
"id" uuid PRIMARY KEY DEFAULT gen_random_uuid() NOT NULL,
"household_id" uuid NOT NULL,
"task_id" uuid NOT NULL,
"comment_id" uuid,
"name" text NOT NULL,
"mime" text NOT NULL,
"size" integer NOT NULL,
"created_at" timestamp with time zone DEFAULT now() NOT NULL
);
--> statement-breakpoint
ALTER TABLE "task_comments" ADD CONSTRAINT "task_comments_household_id_households_id_fk" FOREIGN KEY ("household_id") REFERENCES "public"."households"("id") ON DELETE cascade ON UPDATE no action;--> statement-breakpoint
ALTER TABLE "task_comments" ADD CONSTRAINT "task_comments_task_id_tasks_id_fk" FOREIGN KEY ("task_id") REFERENCES "public"."tasks"("id") ON DELETE cascade ON UPDATE no action;--> statement-breakpoint
ALTER TABLE "task_comments" ADD CONSTRAINT "task_comments_author_id_users_id_fk" FOREIGN KEY ("author_id") REFERENCES "public"."users"("id") ON DELETE set null ON UPDATE no action;--> statement-breakpoint
ALTER TABLE "task_files" ADD CONSTRAINT "task_files_household_id_households_id_fk" FOREIGN KEY ("household_id") REFERENCES "public"."households"("id") ON DELETE cascade ON UPDATE no action;--> statement-breakpoint
ALTER TABLE "task_files" ADD CONSTRAINT "task_files_task_id_tasks_id_fk" FOREIGN KEY ("task_id") REFERENCES "public"."tasks"("id") ON DELETE cascade ON UPDATE no action;--> statement-breakpoint
ALTER TABLE "task_files" ADD CONSTRAINT "task_files_comment_id_task_comments_id_fk" FOREIGN KEY ("comment_id") REFERENCES "public"."task_comments"("id") ON DELETE set null ON UPDATE no action;--> statement-breakpoint
CREATE INDEX "comment_task_idx" ON "task_comments" USING btree ("task_id","created_at");--> statement-breakpoint
CREATE INDEX "file_task_idx" ON "task_files" USING btree ("task_id");
37 changes: 37 additions & 0 deletions apps/api/drizzle/0008_perfect_ikaris.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
ALTER TABLE "households" ADD COLUMN "revision" bigint DEFAULT 0 NOT NULL;
--> statement-breakpoint
CREATE FUNCTION signal_household_change() RETURNS trigger LANGUAGE plpgsql AS $$
BEGIN
UPDATE households SET revision = revision + 1 WHERE id = COALESCE(NEW.household_id, OLD.household_id);
RETURN NULL;
END;
$$;
--> statement-breakpoint
CREATE TRIGGER tasks_change AFTER INSERT OR UPDATE OR DELETE ON tasks FOR EACH ROW EXECUTE FUNCTION signal_household_change();
--> statement-breakpoint
CREATE TRIGGER planning_entities_change AFTER INSERT OR UPDATE OR DELETE ON planning_entities FOR EACH ROW EXECUTE FUNCTION signal_household_change();
--> statement-breakpoint
CREATE TRIGGER saved_filters_change AFTER INSERT OR UPDATE OR DELETE ON saved_filters FOR EACH ROW EXECUTE FUNCTION signal_household_change();
--> statement-breakpoint
CREATE TRIGGER saved_views_change AFTER INSERT OR UPDATE OR DELETE ON saved_views FOR EACH ROW EXECUTE FUNCTION signal_household_change();
--> statement-breakpoint
CREATE TRIGGER task_templates_change AFTER INSERT OR UPDATE OR DELETE ON task_templates FOR EACH ROW EXECUTE FUNCTION signal_household_change();
--> statement-breakpoint
CREATE TRIGGER task_comments_change AFTER INSERT OR UPDATE OR DELETE ON task_comments FOR EACH ROW EXECUTE FUNCTION signal_household_change();
--> statement-breakpoint
CREATE TRIGGER task_files_change AFTER INSERT OR UPDATE OR DELETE ON task_files FOR EACH ROW EXECUTE FUNCTION signal_household_change();
--> statement-breakpoint
CREATE TRIGGER memberships_change AFTER INSERT OR UPDATE OR DELETE ON memberships FOR EACH ROW EXECUTE FUNCTION signal_household_change();
--> statement-breakpoint
CREATE TRIGGER planning_settings_change AFTER INSERT OR UPDATE OR DELETE ON planning_settings FOR EACH ROW EXECUTE FUNCTION signal_household_change();
--> statement-breakpoint
CREATE TRIGGER lifecycle_settings_change AFTER INSERT OR UPDATE OR DELETE ON lifecycle_settings FOR EACH ROW EXECUTE FUNCTION signal_household_change();
--> statement-breakpoint
CREATE FUNCTION signal_personal_view_change() RETURNS trigger LANGUAGE plpgsql AS $$
BEGIN
UPDATE households SET revision = revision + 1 WHERE id = (SELECT household_id FROM saved_views WHERE id = COALESCE(NEW.view_id, OLD.view_id));
RETURN NULL;
END;
$$;
--> statement-breakpoint
CREATE TRIGGER personal_view_change AFTER INSERT OR UPDATE OR DELETE ON view_personal FOR EACH ROW EXECUTE FUNCTION signal_personal_view_change();
1 change: 1 addition & 0 deletions apps/api/drizzle/0009_true_crystal.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ALTER TABLE "users" ADD COLUMN "avatar" text;
4 changes: 4 additions & 0 deletions apps/api/drizzle/0010_thin_rattler.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
ALTER TABLE "task_files" DROP CONSTRAINT "task_files_task_id_tasks_id_fk";
--> statement-breakpoint
ALTER TABLE "task_files" ALTER COLUMN "task_id" DROP NOT NULL;--> statement-breakpoint
ALTER TABLE "task_files" ADD CONSTRAINT "task_files_task_id_tasks_id_fk" FOREIGN KEY ("task_id") REFERENCES "public"."tasks"("id") ON DELETE set null ON UPDATE no action;
Loading