Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
469 commits
Select commit Hold shift + click to select a range
e9d929c
refactor(api): migrate routes from deprecated @/lib/http shim
KiwiGaze Jan 23, 2026
0b085ef
style(task,task-group): apply linter formatting
KiwiGaze Jan 23, 2026
2d31b9e
fix(task-group): update tests for LimitMeta structure and DTO seriali…
KiwiGaze Jan 23, 2026
f5d2e10
test(api): add contract integration test for task-groups endpoint
KiwiGaze Jan 23, 2026
32f2030
docs(readme): add conformance checklist link to API contract layer sp…
KiwiGaze Jan 23, 2026
00ba39b
feat(serialization): add domain serializers for API responses
KiwiGaze Jan 23, 2026
6838d9a
feat(task): add Zod validation schemas for create and update
KiwiGaze Jan 23, 2026
5f37e55
feat(errors): add fieldErrorTree utility for single-field errors
KiwiGaze Jan 23, 2026
ddfffb6
refactor(inbox,task-group): use client-safe types
KiwiGaze Jan 23, 2026
8959613
fix(lib): improve serialization and error handling
KiwiGaze Jan 23, 2026
63031fd
refactor(api): apply serialization layer to routes
KiwiGaze Jan 23, 2026
ccaf6d2
refactor(serialization): reorganize exports for clarity
KiwiGaze Jan 23, 2026
e5d1489
refactor(pagination): restructure pagination metadata in API responses
KiwiGaze Jan 23, 2026
f35feaa
refactor(api): enhance API response structure and serialization
KiwiGaze Jan 23, 2026
7870d54
Refactor API imports to use @simplifying/api-server/server
KiwiGaze Jan 23, 2026
42eee3a
Refactor error handling and validation across API routes
KiwiGaze Jan 23, 2026
bec79a3
refactor(validation): update error code for invalid input in acceptPa…
KiwiGaze Jan 23, 2026
da1335b
refactor(api): update API route handler instructions to enforce contr…
KiwiGaze Jan 23, 2026
bcb93bb
refactor(agents): remove deprecated HTTP shim from documentation
KiwiGaze Jan 23, 2026
17e26b6
refactor(shim): replace legacy HTTP shim imports with direct API serv…
KiwiGaze Jan 23, 2026
dc3ce10
refactor(errors): introduce upgrade required error handling and updat…
KiwiGaze Jan 23, 2026
b72fa1e
Refactor API routes to use centralized error handling and rate limit …
KiwiGaze Jan 23, 2026
c1ef8f3
refactor(errors): standardize error handling with ErrorCode type
KiwiGaze Jan 23, 2026
2d11c50
test(parsing): add error contract tests for validation failures
KiwiGaze Jan 23, 2026
64c603c
feat(tests): add vitest configuration and test scripts across packages
KiwiGaze Jan 23, 2026
8c45fe5
feat(config): add package.json validation instructions and peer depen…
KiwiGaze Jan 23, 2026
a65dc42
refactor(serializers): migrate toISOString imports to iso module
KiwiGaze Jan 23, 2026
cf4cbb9
refactor(errors): move buildValidationErrorTree to validation-error-u…
KiwiGaze Jan 23, 2026
c649f9e
refactor(serialization): update imports to use serialization/server m…
KiwiGaze Jan 23, 2026
c536de9
feat(api): update date handling in conflict routes and confirm upload
KiwiGaze Jan 24, 2026
ccde88e
Merge pull request #59 from KiwiGaze/feature/api-contract-layer
KiwiGaze Jan 24, 2026
b460271
refactor: remove deprecated shims and update imports
KiwiGaze Jan 24, 2026
3c29321
refactor: reorder imports for consistency in error-redaction and midd…
KiwiGaze Jan 24, 2026
30f5afd
Merge pull request #60 from KiwiGaze/feature/complete-api-server-migr…
KiwiGaze Jan 24, 2026
2406095
fix: exclude test files from path filters in .coderabbit.yaml
KiwiGaze Jan 24, 2026
4454171
feat: add incremental schema updates for database migration
KiwiGaze Jan 24, 2026
a65ff6c
feat: add Prisma migration check workflow and update build scripts
KiwiGaze Jan 24, 2026
ba497c6
Merge pull request #61 from KiwiGaze/feature/prisma-cicd-flow
KiwiGaze Jan 24, 2026
bb78703
feat: enhance workspace source aliasing and update TypeScript paths f…
KiwiGaze Jan 25, 2026
f0a8284
feat: add TypeScript configuration for Next.js builds and update README
KiwiGaze Jan 25, 2026
017519e
refactor: update package.json and tsconfig for direct source file usage
KiwiGaze Jan 25, 2026
c73f5c2
Merge pull request #63 from KiwiGaze/fix/inbox-tabs-padding
KiwiGaze Jan 25, 2026
528d346
Add technical contracts for outbound calendar sync v1.5
KiwiGaze Jan 25, 2026
259252e
feat: add master implementation plan for outbound calendar sync v1.5
KiwiGaze Jan 25, 2026
a22b4eb
feat: update package versions to 0.0.1 and add calendar-sync and job-…
KiwiGaze Jan 25, 2026
c45d726
feat: update outbound calendar sync implementation plan and add phase…
KiwiGaze Jan 25, 2026
58dbe97
feat(sync): Refactor sync status handling and update database schema
KiwiGaze Jan 26, 2026
f17e915
feat(job-queue): update type exports and fix rescheduleJob null paylo…
KiwiGaze Jan 26, 2026
a25ec07
feat: implement job queue repository with enqueue, claim, and finaliz…
KiwiGaze Jan 27, 2026
f985e66
feat: implement calendar sync repositories and services
KiwiGaze Jan 27, 2026
5ff1e76
fix(calendar-sync): add userId ownership check to destinationId lookup
KiwiGaze Jan 27, 2026
b5330d3
fix(job-queue): throw on enqueue failure instead of silent empty return
KiwiGaze Jan 27, 2026
c4a2da3
fix(job-queue): move @prisma/client from dependencies to devDependencies
KiwiGaze Jan 27, 2026
279ae2b
fix(migration): add DEFAULT to job_queue_items.updated_at column
KiwiGaze Jan 27, 2026
0ca6404
docs(tasks): fix heading typo d# -> #
KiwiGaze Jan 27, 2026
15a549f
docs(tasks): clarify CODE-* task cross-reference to Phase1.md
KiwiGaze Jan 27, 2026
9c3d14f
docs(contracts): add APP_NAME constant required by iCalUID section
KiwiGaze Jan 27, 2026
7379b15
docs(phase1): fix inconsistent enum notes re: existing rows
KiwiGaze Jan 27, 2026
83ffb7b
docs(phase1): fix DB-010 step mapping 1.5 -> 1.6
KiwiGaze Jan 27, 2026
e691830
docs(phase2): remove session-dependent timezone cast from CAS token
KiwiGaze Jan 27, 2026
5ef214e
docs: update .gitignore to include docs/plans directory
KiwiGaze Jan 27, 2026
4c10452
refactor: rename destinationId to referenceOwnerId for clarity in syn…
KiwiGaze Jan 27, 2026
c1c479e
feat: add DESTINATION_NOT_FOUND error code and update related error h…
KiwiGaze Jan 27, 2026
c32cab2
feat(calendar-sync): add token refresh helper module
KiwiGaze Jan 27, 2026
29a2546
feat(calendar-sync): add cron route for job queue processing
KiwiGaze Jan 27, 2026
e3147f7
feat(calendar-sync): implement outbound calendar sync processing and …
KiwiGaze Jan 27, 2026
d487334
feat(calendar-sync): add event write service interface
KiwiGaze Jan 27, 2026
dcde953
feat(calendar-sync): implement transactional createEvent
KiwiGaze Jan 27, 2026
4501025
feat(calendar-sync): implement transactional updateEvent
KiwiGaze Jan 27, 2026
fe03154
fix(calendar-sync): use AppError in updateEvent for consistency
KiwiGaze Jan 27, 2026
611824f
feat(calendar-sync): implement tombstone deleteEvent
KiwiGaze Jan 27, 2026
f73d1b5
feat(calendar-sync): add triggerInteractiveSync helper
KiwiGaze Jan 27, 2026
5f4a1ca
feat(api): update POST /api/events to use event write service
KiwiGaze Jan 27, 2026
09001a2
feat(api): update PUT /api/events/[id] to use event write service
KiwiGaze Jan 27, 2026
7bed6c2
fix(api): preserve null in attendees field for explicit clearing
KiwiGaze Jan 27, 2026
a8158db
feat(api): update DELETE /api/events/[id] to use tombstone delete
KiwiGaze Jan 27, 2026
aebf479
feat(calendar-sync): add destination change service
KiwiGaze Jan 27, 2026
b32fe9f
feat(api): add destination change handling with rebuild triggers
KiwiGaze Jan 27, 2026
7c07610
fix(api): add explicit select to PATCH destination handler
KiwiGaze Jan 27, 2026
ba28059
chore: mark legacy sync functions as deprecated
KiwiGaze Jan 27, 2026
dc56a70
style: organize imports in calendar-sync
KiwiGaze Jan 27, 2026
98384a6
feat(api): update cron route to use processOutboundSyncQueueBatch and…
KiwiGaze Jan 27, 2026
756ce43
fix(calendar-sync): add ownership validation to destination service
KiwiGaze Jan 27, 2026
188d032
fix(api): exclude soft-deleted events from GET /api/events
KiwiGaze Jan 27, 2026
92e8786
fix(api): wrap PATCH destination toggle in transaction
KiwiGaze Jan 27, 2026
30f82e0
docs(calendar-sync): document PrismaClient casts and transaction boun…
KiwiGaze Jan 27, 2026
5394220
test(api): update mock to simulate database connection failure in pro…
KiwiGaze Jan 28, 2026
76fe660
feat: add timeout error handling and improve date handling in job queue
KiwiGaze Jan 28, 2026
95b94d7
feat: enhance calendar sync functionality with transaction handling a…
KiwiGaze Jan 28, 2026
1645881
refactor: simplify transaction handling in destination change service…
KiwiGaze Jan 28, 2026
e394b8e
feat: Enhance outbound calendar sync with improved job handling and e…
KiwiGaze Jan 28, 2026
8402cb0
feat: Enhance outbound calendar sync documentation and improve transa…
KiwiGaze Jan 28, 2026
da8857b
feat: Enhance outbound calendar sync with improved error handling, tr…
KiwiGaze Jan 28, 2026
2e3fe82
feat: Update calendar sync services with improved transaction handlin…
KiwiGaze Jan 28, 2026
fc5a360
feat(calendar-sync): add structured job logger utility
KiwiGaze Jan 28, 2026
e046452
feat(calendar-sync): integrate logger into sync orchestrator
KiwiGaze Jan 28, 2026
27b6ee1
feat(calendar-sync): create logger in handler layer with job context
KiwiGaze Jan 28, 2026
cd7824f
feat(job-queue): add optional span wrapper for job processing
KiwiGaze Jan 28, 2026
def94d2
feat(calendar-sync): wrap job processing in Sentry spans
KiwiGaze Jan 28, 2026
7ae0f38
feat(calendar-sync): export job logger from package entrypoints
KiwiGaze Jan 28, 2026
f8691e7
feat(calendar-sync): add structured logging to interactive sync
KiwiGaze Jan 28, 2026
a940ec9
test(calendar-sync): validate runbook SQL queries against schema
KiwiGaze Jan 28, 2026
31e3948
feat(calendar-sync): propagate request ID as traceId in job payloads
KiwiGaze Jan 28, 2026
1452086
chore: fix lint import ordering in runbook-queries test
KiwiGaze Jan 28, 2026
c565185
feat(calendar-sync): enhance logging and error handling in sync proce…
KiwiGaze Jan 28, 2026
9edb879
feat(calendar-sync): refactor logging and sync orchestrator to improv…
KiwiGaze Jan 28, 2026
2ea15da
feat(calendar-sync): enhance destination calendar handling and retry …
KiwiGaze Jan 29, 2026
bcd8ac2
feat(dependencies): update prisma version and add new dependencies fo…
KiwiGaze Jan 29, 2026
37e1e2a
Refactor code structure for improved readability and maintainability
KiwiGaze Jan 29, 2026
c84d8a9
feat(ci): update PostgreSQL service configuration and add database sc…
KiwiGaze Jan 29, 2026
852d768
ci: add PostgreSQL service and env passthrough for tests
KiwiGaze Jan 29, 2026
73a5cdc
feat(calendar-sync): update iCalUID handling and improve event synchr…
KiwiGaze Jan 29, 2026
5afc47e
feat(calendar-sync): reorder deletion logic to reset EventReference t…
KiwiGaze Jan 29, 2026
5af42f5
feat: refactor job handling and error management in calendar sync ser…
KiwiGaze Jan 29, 2026
8e72b0a
feat: implement event write repository and integrate with event write…
KiwiGaze Jan 29, 2026
9805dce
feat(calendar-sync): implement event write service with enqueue sync …
KiwiGaze Jan 29, 2026
9f42270
feat(calendar-sync): streamline event write service initialization an…
KiwiGaze Jan 30, 2026
4562fc7
feat(tests): update enqueue tests to handle timestamp conversions and…
KiwiGaze Jan 30, 2026
f295cfc
feat: add server-only dependency to pnpm-lock.yaml
KiwiGaze Jan 30, 2026
efff363
feat(calendar-sync): update rebuild service to use TransactionClient …
KiwiGaze Jan 30, 2026
0f7769e
feat(calendar-sync): refactor rebuild service to enhance transaction …
KiwiGaze Jan 30, 2026
4d4abc0
Merge pull request #67 from KiwiGaze/001-outbound-calendar-sync
KiwiGaze Jan 30, 2026
92af88b
feat(calendar-sync): update job queue item model and SQL queries for …
KiwiGaze Jan 31, 2026
1f55058
docs(task-sync): add outbound task sync spec v1.5
KiwiGaze Jan 31, 2026
b26564f
docs(task-sync): align section 4 data model with calendar-sync spec
claude Jan 31, 2026
574dc81
Merge pull request #68 from KiwiGaze/claude/verify-calendar-sync-spec…
KiwiGaze Jan 31, 2026
1809354
docs(task-sync): align section 5.4 dedupe key helpers with calendar-s…
claude Jan 31, 2026
99d78ae
Merge pull request #69 from KiwiGaze/claude/verify-calendar-sync-spec…
KiwiGaze Jan 31, 2026
debe611
docs(task-sync): align section 6 transaction boundaries with calendar…
claude Jan 31, 2026
6f3997f
Merge pull request #70 from KiwiGaze/claude/verify-calendar-sync-spec…
KiwiGaze Jan 31, 2026
d33f597
docs(task-sync): align section 8 stale drop patterns with calendar-sy…
claude Jan 31, 2026
257eed4
Merge pull request #71 from KiwiGaze/claude/verify-calendar-sync-spec…
KiwiGaze Jan 31, 2026
e9fb58f
docs(task-sync): align section 11 destination disable/enable with cal…
claude Jan 31, 2026
78f9b04
docs(task-sync): align section 12 rebuild patterns with calendar-sync…
claude Jan 31, 2026
01ecbed
docs(task-sync): align section 13 route config with calendar-sync spec
claude Jan 31, 2026
697940a
Merge pull request #72 from KiwiGaze/claude/verify-calendar-sync-spec…
KiwiGaze Jan 31, 2026
7371784
docs(task-sync): align section 12 rebuild patterns exactly with calen…
claude Jan 31, 2026
4ff8ea1
Merge pull request #73 from KiwiGaze/claude/verify-calendar-sync-spec…
KiwiGaze Jan 31, 2026
38f028c
Merge pull request #74 from KiwiGaze/claude/verify-calendar-sync-spec…
KiwiGaze Jan 31, 2026
7eeae2d
docs(task-sync): add section 15 error classification to match calenda…
claude Jan 31, 2026
9cd9deb
Merge pull request #75 from KiwiGaze/claude/verify-calendar-sync-spec…
KiwiGaze Jan 31, 2026
b031caa
docs: align section 15.1 error classification with implementation
claude Feb 1, 2026
7205352
Merge pull request #76 from KiwiGaze/claude/fix-section-15-error-clas…
KiwiGaze Feb 1, 2026
13912ce
docs(task-sync): add PR decomposition plan for outbound task sync v1.5
KiwiGaze Feb 1, 2026
d651b14
feat(task): add uid and deletedAt fields to Task model
KiwiGaze Feb 1, 2026
ed31851
feat(migration): set default value for uid column in tasks and events…
KiwiGaze Feb 1, 2026
ffd0cd4
Revert "feat(migration): set default value for uid column in tasks an…
KiwiGaze Feb 1, 2026
11ae939
feat(migration): make migration statements idempotent for safer re-runs
KiwiGaze Feb 2, 2026
a15ec9d
Merge pull request #77 from KiwiGaze/002-outbound-task-sync/pr-1-task…
KiwiGaze Feb 2, 2026
bd30c4e
feat(schema): add isEnabled and disabledReason fields to DestinationT…
KiwiGaze Feb 2, 2026
fe6ba6a
feat(docs): add general guide for repository usage and architecture
KiwiGaze Feb 2, 2026
bd26fa2
Merge pull request #78 from KiwiGaze/pr/02-destination-task-list-enab…
KiwiGaze Feb 2, 2026
f738d64
feat(tasks): add destination uniqueness constraint (userId, provider)
KiwiGaze Feb 2, 2026
2ff2b2e
fix(api): improve query parameter validation in credential status han…
KiwiGaze Feb 2, 2026
16db53c
feat(sync): enhance task syncing by validating enabled destinations a…
KiwiGaze Feb 2, 2026
12422ba
fix(sync): add isEnabled guards and type validation across task sync …
KiwiGaze Feb 2, 2026
e416e88
fix(sync): refine task reference lookup for specific provider during …
KiwiGaze Feb 2, 2026
7d94265
fix(migration): correct comments and drop index for userId uniqueness…
KiwiGaze Feb 2, 2026
1dbbf8a
feat(sync): implement multi-provider task synchronization for updates…
KiwiGaze Feb 2, 2026
3504743
feat(sync): streamline destination task selection and enhance task sy…
KiwiGaze Feb 2, 2026
3497f99
feat(sync): implement provider resolution fallback for destination tasks
KiwiGaze Feb 2, 2026
72cd0b1
Merge pull request #79 from KiwiGaze/002-outbound-task-sync/pr-3-dest…
KiwiGaze Feb 2, 2026
1861d3f
feat(sync): rename TaskReference columns to snake_case and migrate to…
KiwiGaze Feb 2, 2026
2985363
feat(sync): defer taskReferences relation and destinationId FK to fut…
KiwiGaze Feb 2, 2026
a4c07a5
Merge pull request #81 from KiwiGaze/002-outbound-task-sync/pr-4-task…
KiwiGaze Feb 2, 2026
a7d0373
feat(sync): update sync status handling and migrate to TaskSyncStatus
KiwiGaze Feb 3, 2026
1fbc65e
style(sync): format TERMINAL_SYNC_STATUSES for improved readability
KiwiGaze Feb 3, 2026
98b9343
feat(sync): update sync_status column default value and type conversi…
KiwiGaze Feb 3, 2026
23e9997
Merge pull request #82 from KiwiGaze/002-outbound-task-sync/pr-5-dest…
KiwiGaze Feb 3, 2026
b084835
feat(sync): add task-sync domain package (#83)
KiwiGaze Feb 3, 2026
4d2ae7b
feat(sync): add error handling and expand type exports (#84)
KiwiGaze Feb 3, 2026
5d3a2c2
feat(sync): Enforce task sync constraints with migration (#85)
KiwiGaze Feb 3, 2026
8bec0c3
feat(task-sync): add stub handlers with explicit failure (PR 10) (#86)
KiwiGaze Feb 3, 2026
15ceb47
feat(task-sync): implement task-sync repositories (PR 11) (#87)
KiwiGaze Feb 4, 2026
83b99de
feat(task-sync): add rebuild service infrastructure (PR 13) (#88)
KiwiGaze Feb 4, 2026
be348c2
feat(task-sync): add sync orchestrator service and job logger (#89)
KiwiGaze Feb 4, 2026
76a2911
feat(task-sync): Add credential refresh service with tests (PR 15) (#90)
KiwiGaze Feb 4, 2026
b9591ba
feat(task-sync): add Microsoft Todo adapter with shared oauth package…
KiwiGaze Feb 5, 2026
6697796
fix(task-sync): return accurate count of enqueued rebuild jobs (#94)
KiwiGaze Feb 5, 2026
6024cfc
feat(task-sync): add destination change service with repository patte…
KiwiGaze Feb 5, 2026
c4b0cf9
feat(task-sync): implement Google Tasks adapter with timezone support…
KiwiGaze Feb 5, 2026
c3339f2
docs: mark PR 17 (Microsoft To Do adapter) as complete
KiwiGaze Feb 5, 2026
663da7f
fix: add atomic enable/disable with ownership validation (#97)
KiwiGaze Feb 5, 2026
acc886f
feat(task-sync): add provider factory and wire handlers (PR 18) (#95)
KiwiGaze Feb 5, 2026
0c7a24b
feat(task-sync): Implement task write transaction with enqueue (PR 20…
KiwiGaze Feb 5, 2026
2bc625c
feat(cron): add parallel task queue processing (PR 19) (#98)
KiwiGaze Feb 5, 2026
51c7493
feat(task-sync): wire write service to mutation endpoints (PR 21) (#99)
KiwiGaze Feb 5, 2026
71a9d43
feat(task-sync): Enqueue sync jobs for reordered tasks (#100)
KiwiGaze Feb 5, 2026
b0a93c6
feat(task-sync): update outbound task queue processing with credentia…
KiwiGaze Feb 6, 2026
6aaf881
feat(docs): add critical thinking guidelines for agents
KiwiGaze Feb 6, 2026
eff78b2
docs: Add Chrome extension v1 specification (#104)
KiwiGaze Feb 8, 2026
0b51b41
feat(husky): add post-checkout hook to copy .env to new worktrees
KiwiGaze Feb 8, 2026
be5d743
feat: Add capture API and inbox count endpoints for Chrome extension …
KiwiGaze Feb 8, 2026
497a650
feat(chrome-extension): Scaffold Chrome extension with supporting inf…
KiwiGaze Feb 8, 2026
a2b5b60
feat(chrome-extension): Add context menu to capture selected text (#108)
KiwiGaze Feb 8, 2026
b01299f
feat(chrome-extension): Implement quick capture popup (PR 3) (#110)
KiwiGaze Feb 9, 2026
0076d61
feat(chrome-extension): inbox badge count polling and deep links (#109)
KiwiGaze Feb 9, 2026
b12a40f
feat(chrome-extension): Add Gmail content script with toolbar button …
KiwiGaze Feb 9, 2026
09ddc7f
feat(chrome-extension): Add Outlook support with shared capture handl…
KiwiGaze Feb 9, 2026
d92e02a
feat(chrome-extension): Refine Gmail button injection and styles for …
KiwiGaze Feb 12, 2026
254a6d8
chore: Add PR and uncommitted change review checklists (#114)
KiwiGaze Feb 12, 2026
8135012
feat: Add architecture revamp proposal and package boundary guardrail…
KiwiGaze Feb 12, 2026
2290ff1
refactor: Centralize constants and update imports across the codebase…
KiwiGaze Feb 12, 2026
e0f4071
refactor: Centralize hardcoded path strings into PATHS constant (#119)
KiwiGaze Feb 12, 2026
3cb0621
refactor: Extract task-group-validation into @simplifying/task-group …
KiwiGaze Feb 13, 2026
ef3621a
refactor: Extract calendar-sync-trigger into calendar-sync package (#…
KiwiGaze Feb 13, 2026
a732126
refactor: Centralize route paths into PATHS constant and update usages
KiwiGaze Feb 13, 2026
f0a9bb3
refactor: Remove deprecated task sync trigger and update related serv…
KiwiGaze Feb 13, 2026
2e4212a
refactor: Extract event read logic into dedicated service and reposit…
KiwiGaze Feb 13, 2026
038ef19
refactor(core): Extract destination sync services for calendar and ta…
KiwiGaze Feb 14, 2026
751a552
refactor(api-server): Move withApiHandler and attachRequestContext in…
KiwiGaze Feb 15, 2026
9db4b38
refactor: migrate withApiHandler imports from legacy path to @simplif…
KiwiGaze Feb 15, 2026
c3e9b3e
fix(tests): Add missing setContext/setTag to @sentry/nextjs mocks
KiwiGaze Feb 15, 2026
49e3f07
style: apply biome formatting to vitest.setup.ts
KiwiGaze Feb 15, 2026
ef1b93e
feat: add new UI components including Popover, Progress, QuotaProgres…
KiwiGaze Feb 16, 2026
6803a44
refactor(ui): complete PR-12 import migration to @simplifying/ui/clie…
KiwiGaze Feb 17, 2026
bde77e4
docs: update proposed structure and add remaining PRs status
KiwiGaze Feb 17, 2026
0adcad3
docs(specs): mark R-5 destination service extraction as done (#128)
KiwiGaze Feb 17, 2026
551f2cb
refactor(core): Remove task-group validation shim (#129)
KiwiGaze Feb 17, 2026
25df1a2
refactor(ui): Remove legacy components/ui re-export shims (#130)
KiwiGaze Feb 17, 2026
8f1d221
refactor(events): migrate /api/events/[id] to createEventReadService …
KiwiGaze Feb 17, 2026
1e68ee2
refactor: update authentication redirect URIs to use constants (#127)
KiwiGaze Feb 17, 2026
1e59bb7
docs: create 004 Architecture Revamp — Remaining Work document
KiwiGaze Feb 17, 2026
fcf4dd7
refactor: remove withApiHandler export from API handler module
KiwiGaze Feb 17, 2026
cc611d8
refactor: remove legacy calendar and task sync files from lib (#132)
KiwiGaze Feb 17, 2026
bcd700a
chore: update docs and review tooling for withApiHandler migration (#…
KiwiGaze Feb 17, 2026
d46459f
refactor(task-group): Migrate group sync trigger to service layer (#135)
KiwiGaze Feb 17, 2026
58ce0ad
refactor(ci): Replace hard-coded vitest aliases with dynamic generati…
KiwiGaze Feb 17, 2026
614df4c
refactor(task): Move task read logic into package service (#136)
KiwiGaze Feb 17, 2026
b85381c
refactor(core): Complete remaining architecture revamp R1-R6 (#137)
KiwiGaze Feb 18, 2026
e2c1489
refactor: move Chrome extension to apps/chrome-extension (#139)
KiwiGaze Feb 18, 2026
a8941b1
refactor(tooling): make lint scripts layout-aware for R-7 (#138)
KiwiGaze Feb 18, 2026
872d306
refactor(core): Move web app to apps/web/ (R-7 PR3) (#140)
KiwiGaze Feb 18, 2026
3c45f6d
docs: update documentation for R-7 workspace layout (#142)
KiwiGaze Feb 18, 2026
3299a18
refactor(tooling): Update biome noRestrictedImports for apps/web layo…
KiwiGaze Feb 18, 2026
98c5688
refactor(core): Extract route persistence into package services (#143)
KiwiGaze Feb 19, 2026
466089e
refactor(core): Extract providers and errors into workspace packages …
KiwiGaze Feb 20, 2026
4d56aa8
refactor(turbo): Enable caching for build tasks in chrome-extension a…
KiwiGaze Feb 20, 2026
d6c21e6
refactor(ci): Add boundary checks job to CI workflow (#147)
KiwiGaze Feb 21, 2026
88dee1c
fix(core): Move zod to dependencies in job-queue package (#148)
KiwiGaze Feb 21, 2026
45e8018
refactor(tests): Add server-only mock files and update vitest config …
KiwiGaze Feb 21, 2026
1182c8e
refactor: Update linting commands and Turbo configuration for consist…
KiwiGaze Feb 21, 2026
c2f2820
refactor(turbo): Update environment variables in build task for clari…
KiwiGaze Feb 21, 2026
8a299c8
refactor(inbox): Extract Prisma queries into repository pattern (#152)
KiwiGaze Feb 22, 2026
8a5a81b
refactor: Extract Prisma queries into domain packages (phase 2) (#156)
KiwiGaze Feb 22, 2026
2388ec3
chore: Clean up workspace dependencies and add ai-review tooling (#158)
KiwiGaze Feb 22, 2026
6021430
chore: Clean up workspace dependencies and Turbo config (audit sessio…
KiwiGaze Feb 22, 2026
0aea9aa
refactor(task-list): rearrange empty state rendering for improved cla…
KiwiGaze Feb 22, 2026
1a6bbde
refactor: streamline email body extraction and improve error handling…
KiwiGaze Feb 22, 2026
36294da
refactor: enhance email body extraction logic and add support for cla…
KiwiGaze Feb 22, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
171 changes: 0 additions & 171 deletions .agent/rules/agents.md

This file was deleted.

1 change: 1 addition & 0 deletions .agent/rules/agents.md
25 changes: 24 additions & 1 deletion .agent/workflows/check-layer-violations.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,37 @@ Repeat until all changed files have been reviewed.
| Layer | Location | Allowed | NOT Allowed |
|-------|----------|---------|-------------|
| **Presentation** | `app/`, `components/` | UI rendering, user interactions, `page.tsx` (Server Comp), calling server actions/API | Direct Prisma calls, business logic, `page.tsx` as Client Comp (avoid if possible) |
| **API** | `app/api/`, `actions/` | Auth checks, input validation, calls to `lib/`, **Simple** Prisma operations (single table) | Transactions, aggregations, raw SQL, complex conditionally branching logic |
| **API** | `app/api/`, `actions/` | Auth checks, input validation, calls to `lib/`, **Simple** Prisma operations (single table); new routes prefer package services | Transactions, aggregations, raw SQL, complex conditionally branching logic |
| **Business Logic** | `lib/` (except `lib/hooks/`) | Data access, business rules, Prisma operations, universal utils (formatting) | JSX, React Components, React Hooks (`useState`, `useEffect`) |
| **Client Hooks** | `lib/hooks/` | React hooks for client-side state | Direct Prisma calls, server-only code |
| **Validation** | `lib/validations/` | Zod schemas, type exports | Database calls, async refinements with side effects |
| **Schema** | `prisma/` | Model definitions, relations, indexes | Application logic, computed fields |

---

## Additive Monorepo Note (New Features in packages/)

This repo is transitioning to a monorepo without moving the legacy root app.

- Legacy code remains in `app/`, `components/`, `actions/`, `lib/`, `prisma/`.
- New features should prefer `packages/<featureOrDomain>/`.

### Package boundary rules (enforced)

- Code in `packages/**` must not import from legacy root folders (including the `@/` alias).
- Feature packages must provide explicit entrypoints:
- `@simplifying/<feature>` (safe default)
- `@simplifying/<feature>/client` (React components/hooks)
- `@simplifying/<feature>/server` (repositories + server-only services)

### Quick checks for package changes

- Files under `packages/**` must not import `@/` (the legacy root alias).
- Avoid imports of `@simplifying/*/server` from `packages/*/{components,hooks}/**` — client code cannot depend on server entrypoints.
- If a file under `packages/*/{components,hooks}/**` imports `repositories/**` or `types.server.ts`, it's a violation.

---

## Violation Patterns by Layer

### ❌ Presentation Layer Violations (`app/**/*.tsx`, `components/**/*.tsx`)
Expand Down
Loading