• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

umputun / ralphex / 21494411578
81%

Build:
DEFAULT BRANCH: master
Ran 29 Jan 2026 08:57PM UTC
Jobs 1
Files 30
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

29 Jan 2026 08:55PM UTC coverage: 79.976% (+0.1%) from 79.83%
21494411578

push

github

web-flow
fix: resolve {{PLAN_FILE}} to completed/ path after plan is moved (#50)

* fix: resolve {{PLAN_FILE}} to completed/ path after plan is moved

When a plan file is moved to docs/plans/completed/ during execution,
subsequent {{PLAN_FILE}} template expansions still referenced the
original (now non-existent) path.

A plan file can be moved to completed/ in two scenarios:
- ralphex moves it automatically after all tasks complete
- a task in the plan itself moves the file as part of its instructions

Added resolvePlanFilePath() method that checks both locations and
returns the path where the file actually exists. Updated all callers:
getPlanFileRef(), getGoal(), and buildCodexPrompt().

* refactor: use resolvePlanFilePath() in hasUncompletedTasks, add tests

Address Copilot review comments:
- hasUncompletedTasks() now uses resolvePlanFilePath() instead of
  duplicating path resolution logic
- Added test for hasUncompletedTasks with file in completed/ dir
- Added test for buildCodexPrompt with file in completed/ dir
- Added TestBuildCodexPrompt export for testing

17 of 21 new or added lines in 2 files covered. (80.95%)

4066 of 5084 relevant lines covered (79.98%)

123.92 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
82.92
0.77% pkg/processor/runner.go
3
96.39
-3.61% pkg/processor/prompts.go
Jobs
ID Job ID Ran Files Coverage
1 21494411578.1 29 Jan 2026 08:57PM UTC 30
79.98
GitHub Action Run
Source Files on build 21494411578
  • Tree
  • List 30
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 0bfe3ceb on github
  • Prev Build on master (#21493195690)
  • Next Build on master (#21499069074)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc