Commit graph

2045 commits

Author SHA1 Message Date
Nexus Dev
cd729685f3 docs(27-01): complete hermes integration gaps plan — HERM-01 through HERM-04
- SUMMARY.md: 3 tasks, 3 files, 2 minutes
- STATE.md: advanced plan, recorded metrics, added decisions
- ROADMAP.md: phase 27 marked Complete (1/1 plans)
- REQUIREMENTS.md: HERM-01, HERM-02, HERM-03, HERM-04 marked complete
2026-04-02 16:26:48 +00:00
Nexus Dev
9428130787 docs(27-hermes-adapter): create phase plan 2026-04-02 16:19:47 +00:00
Nexus Dev
4db0b08acb docs(27): research phase hermes-adapter domain 2026-04-02 16:16:23 +00:00
Nexus Dev
78669bfce1 docs(27): auto-generated context (discuss skipped) 2026-04-02 16:09:00 +00:00
Nexus Dev
b368c3dacd docs: create milestone v1.4 roadmap (3 phases) 2026-04-02 16:07:58 +00:00
Nexus Dev
0e7ed03639 docs: define milestone v1.4 requirements (16 requirements) 2026-04-02 15:29:40 +00:00
Nexus Dev
83a1826805 docs: start milestone v1.4 Hermes Default Provider 2026-04-02 15:28:57 +00:00
Nexus Dev
025054de2c chore: clean up audit file location
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 15:08:51 +00:00
Nexus Dev
b91e701fe0 fix: restore ROADMAP.md and REQUIREMENTS.md — deletion was not approved
Archives exist in milestones/v1.3-* as copies, not replacements.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 15:08:51 +00:00
Nexus Dev
832b95e07d chore: archive v1.3 phase directories to milestones/
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 15:08:51 +00:00
Nexus Dev
403fb8b764 chore: remove archived ROADMAP.md and REQUIREMENTS.md
Originals archived to milestones/v1.3-ROADMAP.md and v1.3-REQUIREMENTS.md.
Fresh files will be created by /gsd:new-milestone for v1.4.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 15:08:51 +00:00
Nexus Dev
ddfe1d199d chore: complete v1.3 milestone — archive roadmap, requirements, evolve PROJECT.md 2026-04-02 15:08:51 +00:00
Nexus Dev
d6f5e595d9 fix(v1.3): close 3 integration gaps from milestone audit
1. Push notifications: call sendPushToAll after streaming completes
2. Mobile offline: add useOfflineQueue + banners to MobileChatView
3. New conversation streaming: call startStream in Path 1 handleSend

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 15:08:51 +00:00
Nexus Dev
e7df7e5599 docs(v1.3): milestone audit — 63/63 requirements, 3 integration gaps 2026-04-02 15:08:51 +00:00
Nexus Dev
b40ecfe835 docs(phase-26): evolve PROJECT.md after phase completion 2026-04-02 15:08:51 +00:00
Nexus Dev
d8d88b2d9b docs(phase-26): complete phase execution 2026-04-02 15:08:51 +00:00
Nexus Dev
16b5aaf5b9 fix(26): remove empty vendor-react chunk and mark PWA-02/PWA-08 complete
vendor-react manualChunks doesn't work with @vitejs/plugin-react JSX
runtime — react/react-dom stay in entry. Documented and removed.
PWA-02 and PWA-08 were implemented but not marked in REQUIREMENTS.md.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 15:08:51 +00:00
Nexus Dev
c223dc934e docs(26-04): complete push notifications plan — VAPID, push routes, SW subscription hook, permission prompt 2026-04-02 15:08:51 +00:00
Nexus Dev
70d28b7b91 feat(26-04): create push API client, usePushNotifications hook, and NotificationPermissionPrompt
- Add ui/src/api/push.ts with getVapidPublicKey, subscribe, unsubscribe methods
- Add ui/src/hooks/usePushNotifications.ts with SW pushManager subscription flow
- urlBase64ToUint8Array utility converts VAPID key for applicationServerKey
- NotificationPermissionPrompt shows after 3rd agent response (engagement gate)
- Checks nexus.notifPromptDismissed localStorage key for dismiss state
- ChatPanel tracks agentResponseCount from assistant messages and renders prompt
- Install idb package (missing dependency from plan 26-00 prerequisites)
2026-04-02 15:08:51 +00:00
Nexus Dev
3f1535f295 feat(26-04): create push_subscriptions schema, migration, pushService, and push routes
- Add push_subscriptions pgTable with endpoint, p256dh, auth, userId, companyId, deviceLabel
- Add 0055_create_push_subscriptions.sql migration with CREATE TABLE and endpoint index
- Export pushSubscriptions from schema/index.ts
- Create pushService with initVapid, getVapidPublicKey, saveSubscription, removeSubscription, sendPushToAll
- sendPushToAll auto-deletes stale subscriptions on 410/404 response
- Create pushRoutes: GET /vapid-public-key, POST /subscribe, DELETE /subscribe
- Mount /api/push routes and call initVapid() in app.ts with graceful skip
- Install web-push and @types/web-push
2026-04-02 15:08:51 +00:00
Nexus Dev
77117d9fc0 feat(26): merge worktree code from plans 26-00, 26-01, 26-03
SW cache-first rewrite, React.lazy code splitting, PWA types/test stubs,
install prompt, offline banner, offline queue, ChatPanel wiring.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 15:08:51 +00:00
Nexus Dev
af182f8dd9 docs(26-03): complete PWA install prompt, offline banner, and message queue plan
- InstallPromptBanner: 7-day cooldown, iOS fallback, beforeinstallprompt CTA
- OfflineBanner: amber theming, queue count, 3s auto-dismiss on reconnect
- useOfflineQueue: IndexedDB nexus-offline/message_queue, flush on online event
- ChatPanel: offline guard in handleSend, OfflineBanner + InstallPromptBanner wired
- Requirements PWA-01, PWA-02, PWA-08 marked complete
2026-04-02 15:08:51 +00:00
Nexus Dev
7769b79148 docs(26-02): complete mobile responsive chat layout plan — MobileChatView, PullToRefresh, safe areas 2026-04-02 15:08:51 +00:00
Nexus Dev
fa7371f80e feat(26-02): create MobileChatView and wire ChatPanel for responsive layout
- MobileChatView: full-screen mobile chat using 100dvh, back button, safe-area input
- ChatPanel: conditionally renders MobileChatView on mobile via useMediaQuery
- ChatConversationList: wraps ScrollArea in PullToRefresh for mobile
- ChatInput: pb-[env(safe-area-inset-bottom)] padding + 44px Send button touch target
- ChatConversationItem: min-h-[48px] touch target per UI-SPEC
2026-04-02 15:08:51 +00:00
Nexus Dev
a8cbc090fd feat(26-02): create useMediaQuery hook, usePullToRefresh hook, and PullToRefresh component
- useMediaQuery: SSR-safe hook with addEventListener for live breakpoint updates
- usePullToRefresh: touch gesture hook with 64px threshold, haptic feedback via navigator.vibrate
- PullToRefresh: visual wrapper with Loader2 spinner, pull/release text indicators
2026-04-02 15:08:51 +00:00
Nexus Dev
a056ae6615 docs(26-01): complete lazy-loading and vendor chunk splitting plan
- Created 26-01-SUMMARY.md with task commits, decisions, and verification results
- STATE.md: advanced plan 2->3, recorded metrics and decisions
- ROADMAP.md: updated phase 26 progress (2 of 5 summaries)
- REQUIREMENTS.md: marked PERF-01 complete (PERF-05 already complete)
2026-04-02 15:08:51 +00:00
Nexus Dev
6001835689 docs(26-00): add self-check results to SUMMARY.md 2026-04-02 15:08:51 +00:00
Nexus Dev
d911eaa6d8 docs(26-00): complete PWA performance foundation plan — SW cache-first, idb/web-push, test stubs 2026-04-02 15:08:51 +00:00
Nexus Dev
de5075a1a5 fix(26): revise plans based on checker feedback 2026-04-02 15:08:51 +00:00
Nexus Dev
dbffa38abc docs(26): create phase plan — 5 plans across 3 waves 2026-04-02 15:08:51 +00:00
Nexus Dev
663430f9c6 docs(phase-26): add validation strategy and research 2026-04-02 15:08:51 +00:00
Nexus Dev
83a9f3c445 docs(26): research phase pwa-performance domain 2026-04-02 15:08:51 +00:00
Nexus Dev
f00abb2fd3 docs(26): fix typography weights and back button accessibility in UI-SPEC 2026-04-02 15:08:51 +00:00
Nexus Dev
4dfd2f6e8d docs(26): UI design contract for PWA & Performance phase
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-02 15:08:51 +00:00
Nexus Dev
dd217cfa48 docs(26): auto-generated context (discuss skipped) 2026-04-02 15:08:51 +00:00
Nexus Dev
ca0614da26 docs(phase-25): evolve PROJECT.md after phase completion 2026-04-02 15:08:51 +00:00
Nexus Dev
8661543b80 docs(phase-25): complete phase execution 2026-04-02 15:08:51 +00:00
Nexus Dev
eb5d9b646f test(25): persist human verification items as UAT
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 15:08:51 +00:00
Nexus Dev
3b3bdc2b39 feat(25-06): merge git file service and history endpoint from worktree
Adds gitFileService with commitFile/getLog, wires git commits into
upload flow, adds GET /files/:fileId/history endpoint, and exports
ChatFileHistoryEntry type.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 15:08:51 +00:00
Nexus Dev
23b801db21 docs(25-07): complete agent-generated file support and placeholder tracking plan — SUMMARY, STATE, ROADMAP updated 2026-04-02 15:08:51 +00:00
Nexus Dev
73859ab014 feat(25-07): add placeholder and agent-generated file routes
- Import placeholderService and resolveDefaultStorageDir in chat-files routes
- Track agent_generated project-scoped uploads in PLACEHOLDERS.md manifest
- Add POST /files/:fileId/replace endpoint for placeholder replacement
- Replace endpoint updates manifest and creates cross-reference chain
- Mark FILE-08 and FILE-11 Complete in REQUIREMENTS.md
2026-04-02 15:08:51 +00:00
Nexus Dev
2cafff8054 feat(25-07): create placeholderService and add markAsPlaceholder method
- Create server/src/services/placeholder-service.ts with addEntry, replaceEntry, listEntries
- Generates PLACEHOLDERS.md with Active Placeholders and Replaced markdown tables
- Add ChatPlaceholderEntry interface to packages/shared/src/types/chat.ts
- Export ChatPlaceholderEntry from packages/shared/src/index.ts
- Add markAsPlaceholder method to chatFileService in chat-files.ts
2026-04-02 15:08:51 +00:00
Nexus Dev
e9f5897eec docs(25-06): add self-check results to SUMMARY.md 2026-04-02 15:08:51 +00:00
Nexus Dev
a1c6fd157e docs(25-06): complete git file versioning plan — SUMMARY, STATE, ROADMAP updated
- gitFileService with ensureRepo/commitFile/getLog using safe execFile
- GET /files/:fileId/history endpoint for git version history
- FILE-09 and FILE-10 marked Complete
2026-04-02 15:08:51 +00:00
Nexus Dev
3721db0cea docs(25-04): complete syntax-highlighted code preview plan — SUMMARY, STATE, ROADMAP updated
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-02 15:08:51 +00:00
Nexus Dev
b6bb7b2196 chore(25-06): mark FILE-09 and FILE-10 complete in REQUIREMENTS.md
- FILE-09: git commit on every file operation — implemented via gitFileService
- FILE-10: version history endpoint — implemented via GET /files/:fileId/history
2026-04-02 15:08:51 +00:00
Nexus Dev
9723482b12 feat(25-04): wire ChatCodeFilePreview into ChatFilePreview and mark FILE-07 FILE-13 Complete
- Add code category branch in ChatFilePreview routing to ChatCodeFilePreview
- Mark FILE-07 (one-click download) as Complete in REQUIREMENTS.md
- Mark FILE-13 (cross-device access) as Complete in REQUIREMENTS.md
- Update Traceability table for FILE-07 and FILE-13
2026-04-02 15:08:51 +00:00
Nexus Dev
ff3aa8793d feat(25-04): create ChatCodeFilePreview with syntax highlighting
- Add ChatCodeFilePreview component with hljs syntax highlighting
- Fetch file content from contentPath with credentials
- Use DOMParser-based safe rendering (no dangerouslySetInnerHTML)
- Include copy button, language label, and ChatFileCard download below
- Add extToLang extension-to-language mapping
- Register 14 common languages with hljs
- Add highlight.js as direct dependency in ui/package.json
2026-04-02 15:08:51 +00:00
Nexus Dev
51eaf33c9e docs(25-05): complete file scope promotion plan — SUMMARY, STATE, ROADMAP, REQUIREMENTS updated 2026-04-02 15:08:51 +00:00
Nexus Dev
4795260aca docs(25-08): complete voice input plan — VoiceRecordButton, transcription endpoint, INPUT-02/03/04 complete 2026-04-02 15:08:51 +00:00