Commit Graph
568 Commits
Author SHA1 Message Date
Chris Scott c32feae8ef Fix session creation error handling and health endpoint status codes (#177) (#179) 2026-04-05 09:07:34 -04:00
Chris Scott 2f9c57a642 Update CHANGELOG with v0.0.18 through v0.0.27 changes 2026-03-27 16:50:44 -04:00
Chris Scott 4652ab6b99 Update documentation terminology from Ralph to Loop 2026-03-27 16:42:41 -04:00
Chris Scott 51f590163a Add stallTimeoutMs to default config.jsonc 2026-03-27 16:21:54 -04:00
Chris Scott af0a0c5c39 Fix documentation mismatches and fill gaps
- Update KV TTL from 24 hours to 7 days in memory.md
- Add AUTH_SECRET setup to Docker quickstart in installation.md
- Rename ralph to loop in docs and config.jsonc
- Add deprecation note for ralph.* prefix
- Fix test description in CONTRIBUTING.md
- Clarify skills path in skills.md
- Update setup-dev.sh to use curl install method
- Add memory-kv-delete documentation
- Add stallTimeoutMs to default config example
2026-03-27 16:20:31 -04:00
Chris Scott 264755058f Update documentation to reflect Loop naming 2026-03-27 15:32:10 -04:00
Chris Scott c87edded70 Update tests to use Loop terminology 2026-03-27 15:32:05 -04:00
Chris Scott 5f7abe3fd8 Refactor: replace Ralph terminology with Loop 2026-03-27 15:31:59 -04:00
Chris Scott 2c4a9c9257 Complete Ralph to Loop rename across entire codebase
Rename all Ralph references to Loop including types, services, hooks,
filenames, KV keys, API routes, frontend components, tests, and docs.

Key changes:
- Types: RalphState → LoopState, RalphConfig → LoopConfig
- Services: ralph.ts → loop.ts with worktree field (inverted from inPlace)
- KV keys: ralph: → loop:, ralph-session: → loop-session:
- API routes: /ralph/* → /loop/*
- Frontend: useLoopStatus, RepoLoopList, getLoopStatus, cancelLoop
- Config backward compatibility: accepts both loop and ralph (prefers loop)
- Automatic KV migration on plugin startup
- memory-plan-execute keeps inPlace parameter (different semantics)

Fixes critical bugs found in code review:
- Backend /loop/cancel route using wrong ralph: KV prefix
- Frontend error messages still referencing Ralph
- Log message consistency
2026-03-27 14:45:54 -04:00
Chris Scott 00489d9901 Update architect agent prompt to clarify memory curation and approval process 2026-03-27 13:45:59 -04:00
Chris Scott 7a5c34555d Bump memory package version to 0.0.26 2026-03-27 00:37:51 -04:00
Chris Scott 2b7c3f7991 Fix Basic Auth handling in v2 client and CLI status command 2026-03-27 00:36:04 -04:00
Chris Scott e14f4c5fa6 Document Ralph loop implementation details 2026-03-25 17:46:32 -04:00
Chris Scott d5c33fd041 Update memory README and fix normalizeConfig bug 2026-03-25 16:24:21 -04:00
Chris Scott 5c04eee031 Bump version to 0.9.11 v0.9.11 2026-03-25 16:19:32 -04:00
Chris Scott b6bf2927a8 Revert "Give librarian agent KV store cleanup responsibilities"
This reverts commit fd634c9b72.
2026-03-25 16:11:57 -04:00
Chris Scott fd634c9b72 Give librarian agent KV store cleanup responsibilities 2026-03-25 16:09:53 -04:00
Chris Scott a4c2315192 Fix TypeScript errors in schedule components
Fix type mismatches and remove unused prop
2026-03-25 15:53:03 -04:00
Chris Scott 7c956e9bba Update memory package KV store documentation
Add memory-kv-delete documentation and review finding retrieval logic
2026-03-25 15:49:39 -04:00
Chris Scott cc1256d6ec Add run history tab to GlobalSchedules page
Extract RunDetailPanel, create RunHistoryCards component, add runs tab with filtering
2026-03-25 15:49:37 -04:00
Chris Scott 20838f0b88 Add listAllScheduleRuns API endpoint
Add database function, service method, and route to list all schedule runs with filtering
2026-03-25 15:49:35 -04:00
Chris Scott bcfb7223c0 Refactor Ralph session tracking with KV-backed session mapping and configurable TTL (#172)
* Fix Ralph state type safety and null handling in status commands

* Refactor Ralph to use worktree-keyed session mapping instead of sessionId lookups

* Add configurable KV TTL with 7-day default and update agent prompts

* Add --limit flag to CLI status and improve null safety for RalphState fields

* Bump memory package version to 0.0.25
2026-03-25 14:55:44 -04:00
Chris Scott 86613b1ea4 Add Ralph status dialog and session management improvements (#171) 2026-03-24 20:25:09 -04:00
Chris Scott 27352ea5cf Refactor Ralph session rotation with watchdog and stall detection (#170)
* Improve scroll-to-bottom UI and session status handling

* Enhance Ralph service with session rotation and watchdog

* Add tests for Ralph session rotation and cleanup

* Add Kasm Docker build workflow
2026-03-24 17:36:35 -04:00
Chris Scott 4ad6c5fd25 Improve scroll-to-bottom UI and session status handling
- Replace ChevronDown with ArrowDown icon for scroll button
- Adjust scroll threshold to 150px for better UX
- Add prompt overlay height tracking for proper message container padding
- Include compact status in active session check
2026-03-24 14:00:35 -04:00
Chris Scott e451c28675 Add memory package tests to root test script
Run both backend and memory tests with pnpm test.
2026-03-24 11:41:53 -04:00
Chris Scott 48670ced22 Update memory core services and bump version to 0.0.23
Enhance ralph service with partial name matching and candidate lookup.
Improve loop context handling for git branch detection.
Add formatSessionOutput and formatAuditResult helpers.
2026-03-24 11:39:43 -04:00
Chris Scott c2d502f893 Enhance CLI commands with partial matching and formatting
Add partial-match utility for fuzzy loop name lookup.
Introduce ralph-format helpers for consistent output formatting.
Improve status, cancel, and list commands with better UX.
2026-03-24 11:39:35 -04:00
Chris Scott fbf259f22c Refactor schedules hooks to accept repoId as parameter
Remove repoId from hook closure and pass it explicitly.
Improves reusability and makes hooks more flexible.
2026-03-24 11:39:21 -04:00
Chris Scott 9975be955e Refactor routes to use shared route-helpers utility
Extracts parseId and handleServiceError into reusable helpers
for consistent error handling and ID parsing across all routes.
2026-03-24 11:39:11 -04:00
Chris Scott 6cb5e59169 Fix TypeScript errors in useSchedules hook mutation callbacks 2026-03-22 23:48:33 -04:00
Chris Scott 6a0402d93a ralph: ralph-fix-global-schedule-repo-selector-broken-mutations completed after 4 iterations (#168) 2026-03-22 23:39:36 -04:00
Chris Scott cf094d7aad Remove unnecessary bottom padding from repo list container 2026-03-22 22:28:34 -04:00
Chris Scott 7f9598adeb Add PWA update notification prompt
Implements service worker update detection with user prompt to refresh
2026-03-22 20:21:48 -04:00
Chris Scott e343a50807 Add schedule screenshots to docs 2026-03-22 19:52:09 -04:00
Chris Scott 7757dac163 Fix typecheck error in schedules test
Add missing listAllJobsWithRepos mock to scheduleService
v0.9.10
2026-03-22 18:58:27 -04:00
Chris Scott df2bebc73e Bump version to 0.9.10 2026-03-22 18:57:14 -04:00
Chris Scott fcfab08b0e Update documentation and configuration for production deployment
- Fix documentation drift across README, AGENTS.md, and CONTRIBUTING.md
- Update Docker configuration with process timing and OAuth env vars
- Simplify shared env config by removing unused Redis and OpenCode API URL
- Add skills documentation to navigation
- Improve .env.example with clearer AUTH_SECRET instructions
2026-03-22 18:54:15 -04:00
Chris Scott 1e8b302de7 Fix TypeScript build errors in frontend
- Add explicit type parameter to fetchWrapper call in schedules.ts
- Import QuestionRequest type in SessionDetail.tsx
2026-03-22 18:29:49 -04:00
Chris Scott f18bcbbf3e Refactor global schedules with mobile-responsive UI and backend optimizations (#167)
* ralph: ralph-global-schedules-dashboard completed after 2 iterations

* Refactor global schedules with mobile-responsive UI and backend optimizations
2026-03-22 18:23:36 -04:00
Chris Scott ba15fb31e4 Simplify question prompt UI with space-saving design (#166)
* ralph: ralph-question-minimizerestore-feature completed after 2 iterations

* Simplify question prompt UI with space-saving design

- Remove redundant navigation chevrons, keep only title click to toggle
- Add drag-down gesture support to minimize question prompt
- Show minimize button and chevron icons to indicate toggle capability
- Update minimized indicator with orange theme matching app accent
- Add Question: prefix to minimized state for clarity
- Hide dismiss button on mobile minimized state
- Increase title bar padding for better touch targets
2026-03-22 17:44:51 -04:00
Chris Scott 72a2356f2f Bump memory package version to 0.0.22 2026-03-22 14:57:32 -04:00
Chris Scott c3cba72b51 Update skills UI components for managed skills (#165)
* ralph: ralph-repo-level-skills-dialog-skillseditor-fix completed after 4 iterations

* Remove parent session notification and child session tracking from Ralph loops

Sending promptAsync to parent sessions on loop completion could resume
work in previously inactive sessions. Removed parentSessionId from
RalphState, child session tracking maps, and all related event handling.
Watchdog stall detection still works via the session status API.

* Migrate global skills to workspace path

* Add skill injection to scheduled job prompts

* Refactor schedules UI with MultiSelect and tab menu

* Update skills UI components for managed skills
2026-03-22 14:52:32 -04:00
Chris Scott 4bd0940ab9 Add skills editor UI, backend service, shared schema, and promote unused-vars to error 2026-03-22 11:37:02 -04:00
Chris Scott 7d65e20c55 Fix schedule-related test mocks for DI refactor and migration changes 2026-03-22 11:30:08 -04:00
Chris Scott 47524876aa Refactor schedule service and add cron support 2026-03-22 11:14:30 -04:00
Chris Scott dbf48d4691 Fix duplicate import in repo.ts 2026-03-21 23:38:07 -04:00
Chris Scott 2456e2f08b Add credentials include to fetch wrapper for cross-origin cookie support 2026-03-21 23:34:30 -04:00
Chris Scott 0eb0a8b2a8 Fix dialog button spacing and disable auto-focus on open 2026-03-21 23:34:30 -04:00
Chris Scott 1e863c5fc5 Add cron-based scheduling with prompt templates integration (#164) 2026-03-21 23:33:03 -04:00