Skip to main content

Module context

Module context 

Source
Expand description

Context file management for Ralph’s agent files.

This module handles operations on context files (STATUS.md, NOTES.md, ISSUES.md) in the .agent/ directory, including cleanup for isolation mode and fresh eyes for the reviewer phase.

Constants§

VAGUE_ISSUES_LINE
VAGUE_NOTES_LINE
VAGUE_STATUS_LINE

Functions§

clean_context_for_reviewer
Clean context before reviewer phase.
clean_context_for_reviewer_at
Clean context before reviewer phase at a specific repository path.
clean_context_for_reviewer_with_workspace
Clean context before reviewer phase using workspace.
delete_issues_file_for_isolation
Delete ISSUES.md after the final fix iteration completes in isolation mode.
delete_issues_file_for_isolation_at
Delete ISSUES.md after the final fix iteration completes in isolation mode at a specific repository path.
delete_issues_file_for_isolation_with_workspace
Delete ISSUES.md after the final fix iteration completes using workspace.
overwrite_one_liner
Overwrite a file with a single-line content.
reset_context_for_isolation
Delete STATUS.md, NOTES.md and ISSUES.md for isolation mode.
reset_context_for_isolation_at
Delete STATUS.md, NOTES.md and ISSUES.md for isolation mode at a specific repository path.
update_status
Update the status file with minimal, vague content.
update_status_at
Update the status file with minimal, vague content at a specific repository path.
update_status_with_workspace
Update the status file with minimal, vague content using workspace.