Commit Graph

42 Commits

Author SHA1 Message Date
6aa3f6bd9f feat: persist full review output to disk and render in expandable view
Review text was truncated to 500 chars in the chat message body with no
way to access the full content — once a review exceeded that limit it was
lost from the UI. Now the full review body is rendered in the expanded
(Ctrl+O) view like the implementation tool-call tree, and can optionally
be persisted to disk per-loop.

Changes:
- Add saveReviews config flag + reviewsDir path option
- Add loop-start prompt to opt into saving reviews to disk when
  auto-review is enabled (skipped when explicitly set in YAML)
- Pass full reviewText via message details instead of inlining a slice
- Extend ralpi-progress renderer to show full review body when expanded,
  dim hint to expand when collapsed
- Add saveReviewToFile() writing to .ralpi/reviews/<prdKey>/<taskId>.md,
  mirroring the per-loop reflections layout so many loops don't collide
2026-07-17 16:03:53 -04:00
008489a91b fix: pass parent modelRuntime so extension providers work in ralpi sessions
ralpi's runAgentSession was letting createAgentSession create a fresh
ModelRuntime from models.json only. This excluded extension-registered
providers like neuralwatt, whose streamSimple wrapper handles:
- 429 rate-limit header parsing (concurrent/TPM/admission/RPM)
- Rate-limit error normalization for Pi's retry logic
- Context-overflow error normalization

Without the wrapper, neuralwatt rate-limit and context-overflow errors
surfaced as raw unrecoverable errors instead of being retried by Pi's
built-in retry. Now passes ctx.modelRegistry.runtime (the underlying
ModelRuntime) through to createAgentSession.
2026-07-17 11:11:21 -04:00
087c64ff18 fix: context overflow, retry, and reflection isolation
- Cap commit diffs in review/commit prompts at 50KB to prevent
  context window overflow on follow-up sessions
- Skip skills catalog (noSkills) in commit/review follow-up sessions
  for leaner context
- Wire Pi's SettingsManager into runAgentSession so Pi's built-in
  retry (exponential backoff, provider retry) applies to ralpi
  sessions — removes ralpi's duplicate manual retry loop
- Remove maxRetries/retryDelayMs from ralpi config; rely on Pi's
  retry.* settings (with manual override support)
- Remove retries field from progress.json and incrementRetry() from
  ProgressTracker
- Add model failover to follow-up sessions (commit/review cycle
  through the model pool on connection errors)
- Namespace reflection files by PRD key under
  .ralpi/reflections/<prdKey>/ so task sets don't overwrite each
  other
- Skip loop-startup prompts for config fields explicitly set in YAML
- Remove (default) annotations from loop options prompts
- Default commitTimeoutMs/reviewTimeoutMs to 0 (inherit Pi defaults)
2026-07-17 09:02:44 -04:00
6c398eef64 live reporting commit requests, resume prints batching 2026-06-23 13:31:37 -04:00
496d1554be version bump 2026-06-21 13:30:39 -04:00
fe28718911 feat: support for letter padded tasks 2026-06-21 13:29:24 -04:00
3ba5fcb098 fix copyright year 2026-06-19 12:42:47 -04:00
db8859606f handles phased tasks 2026-06-09 13:59:38 -04:00
85123b7755 fixed regressed parsing, tool sanitation 2026-06-08 20:34:16 -04:00
dc3993048e commit clarification 2026-06-04 09:29:00 -04:00
dfa6707a8f commit per task 2026-06-02 15:20:31 -04:00
3892e2a637 bump 2026-06-01 12:58:13 -04:00
8151d19127 more dependancy parsing support 2026-06-01 11:31:33 -04:00
8db135a523 version bump 2026-06-01 08:37:47 -04:00
bac35b8619 more parsing compats 2026-05-31 23:44:34 -04:00
5342a2c69f remove excessive file writes 2026-05-31 19:22:30 -04:00
53bac1976a kick! 2026-05-31 16:48:41 -04:00
9ce89325fd bump 2026-05-31 12:42:50 -04:00
139bf3b3fb remove completed runs from live flow 2026-05-31 12:42:09 -04:00
4d46c001bb version bump 2026-05-31 11:47:15 -04:00
424e2fa885 Add loop-active marker, YAML task file support, and auto-updating PRD checkboxes
- Persist loop-active state for widget re-instantiation after session reload
- Add YAML task file parsing and update support via yaml library
- Auto-update PRD source file checkboxes on task status changes
- Add batchRender callback for real-time parallel widget animation
- Normalize tabs-to-spaces indentation across source files
- Use padStart(2, '0') for ID formatting instead of hardcoded prefix
- Enable parallel execution for single-task DAG batches
2026-05-31 11:44:47 -04:00
30f177b4d9 bump 2026-05-31 09:30:39 -04:00
d2a7dfa5fe disable round-robin for sequential 2026-05-31 09:30:08 -04:00
99b944d10e bump 2026-05-31 09:11:53 -04:00
e10ab719d0 stop manual registration 2026-05-31 09:11:29 -04:00
7c7668cc6b bump 2026-05-31 08:58:15 -04:00
f4af013252 cleanup 2026-05-31 08:57:34 -04:00
dae33248e3 until done 2026-05-31 08:47:35 -04:00
9f90ed4252 readme cleanup 2026-05-31 08:46:59 -04:00
3c01652b90 fix width exceeding, release prep 2026-05-31 08:19:21 -04:00
ab1e2eb430 inform on max configuration 2026-05-31 02:12:54 -04:00
d2ef124369 automatic failover 2026-05-31 02:01:37 -04:00
925e37938b round robin 2026-05-31 01:57:52 -04:00
8e2e24d0e3 depend on pi defaults, and global yaml 2026-05-31 01:35:52 -04:00
ead5d9be3a reference updates 2026-05-30 23:54:11 -04:00
923f174f3b drop tasks, drop thrashing bandaid 2026-05-30 23:16:17 -04:00
c7ab908bae proper parallelization 2026-05-30 20:46:05 -04:00
73d1ee1a47 dependency parsing broken 2026-05-30 20:35:02 -04:00
fcc0aa618e good! 2026-05-30 20:21:37 -04:00
919113430a ui cleanup 2026-05-30 20:05:18 -04:00
e6a8c8bedc almost 2026-05-30 19:37:17 -04:00
81e0e8ec1c initial commit: ralph-loop extension
- DAG-based task execution with dependency resolution
- Persistent progress tracking in .ralph/progress.json
- Reflection system for cross-task context
- Support for Fio README, checkbox, and YAML formats
- Retry with exponential backoff
- Parallel batch execution
2026-05-30 01:26:17 -04:00