chore: Clean up Ralph agent tracking files

Remove .ralph/ directory files from git tracking.
These are no longer needed as the tool-result-refactor is complete.

Also removes root-level prd.json and progress.txt.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
yinwm
2026-02-12 23:51:52 +08:00
parent 3eb9d6a409
commit b36c87bd60
11 changed files with 554 additions and 411 deletions

View File

@@ -53,9 +53,7 @@ func NewManager(workspace string) *Manager {
// SetLastChannel atomically updates the last channel and saves the state.
// This method uses a temp file + rename pattern for atomic writes,
// ensuring that the state file is never corrupted even if the process crashes.
//
// The workspace parameter is used to construct the state file path.
func (sm *Manager) SetLastChannel(workspace, channel string) error {
func (sm *Manager) SetLastChannel(channel string) error {
sm.mu.Lock()
defer sm.mu.Unlock()
@@ -72,7 +70,7 @@ func (sm *Manager) SetLastChannel(workspace, channel string) error {
}
// SetLastChatID atomically updates the last chat ID and saves the state.
func (sm *Manager) SetLastChatID(workspace, chatID string) error {
func (sm *Manager) SetLastChatID(chatID string) error {
sm.mu.Lock()
defer sm.mu.Unlock()