ralph-workflow 0.7.18

PROMPT-driven multi-agent orchestrator for git repos
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Runtime primitives for git_helpers boundary module.
//!
//! This module is a boundary seam for signal-handler registration and
//! the test serialisation lock. Process-global phase-state lives in
//! `phase_state` to keep it importable from non-boundary modules.

pub use crate::git_helpers::hooks;

#[cfg(any(test, feature = "test-utils"))]
#[must_use]
pub fn agent_phase_test_lock() -> &'static std::sync::Mutex<()> {
    static TEST_LOCK: std::sync::Mutex<()> = std::sync::Mutex::new(());
    &TEST_LOCK
}