Skip to main content

ralph_workflow/workspace/
paths.rs

1// Well-known path constants for Ralph workspace artifacts.
2//
3// This file is included by workspace.rs via include!().
4
5/// The `.agent` directory where Ralph stores all artifacts.
6pub const AGENT_DIR: &str = ".agent";
7
8/// The `.agent/tmp` directory for temporary files.
9pub const AGENT_TMP: &str = ".agent/tmp";
10
11// AGENT_LOGS constant removed - use RunLogContext for per-run log directories.
12
13/// Path to the implementation plan file.
14pub const PLAN_MD: &str = ".agent/PLAN.md";
15
16/// Path to the issues file from code review.
17pub const ISSUES_MD: &str = ".agent/ISSUES.md";
18
19/// Path to the status file.
20pub const STATUS_MD: &str = ".agent/STATUS.md";
21
22/// Path to the notes file.
23pub const NOTES_MD: &str = ".agent/NOTES.md";
24
25/// Path to the commit message file.
26pub const COMMIT_MESSAGE_TXT: &str = ".agent/commit-message.txt";
27
28/// Path to the checkpoint file for resume support.
29pub const CHECKPOINT_JSON: &str = ".agent/checkpoint.json";
30
31/// Path to the start commit tracking file.
32pub const START_COMMIT: &str = ".agent/start_commit";
33
34/// Path to the review baseline tracking file.
35pub const REVIEW_BASELINE_TXT: &str = ".agent/review_baseline.txt";
36
37/// Path to the prompt file in repository root.
38pub const PROMPT_MD: &str = "PROMPT.md";
39
40/// Path to the prompt backup file.
41pub const PROMPT_BACKUP: &str = ".agent/PROMPT.md.backup";
42
43/// Path to the agent config file.
44pub const AGENT_CONFIG_TOML: &str = ".agent/config.toml";
45
46/// Path to the agents registry file.
47pub const AGENTS_TOML: &str = ".agent/agents.toml";
48
49// PIPELINE_LOG constant removed - use RunLogContext::pipeline_log() for per-run log paths.