Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cosmix/loom
/ functions
Functions
3,851 in github.com/cosmix/loom
⨍
Functions
3,851
◇
Types & classes
262
↓ 1 callers
Function
classify_stage
Decide whether a worktree backed by a parsed stage is safe to clean. Returns `true` only when the stage is in a terminal resting state (`Completed +
loom/src/commands/worktree_cmd.rs:244
↓ 1 callers
Function
claude_marker_path
Temp marker path the foreground Claude agent creates as its final action to signal completion (per driver process).
loom/src/commands/pressure/mod.rs:181
↓ 1 callers
Function
clean_sessions
No-op placeholder for the --sessions flag. Session termination is now handled exclusively by `loom sessions kill`. This function exists so the flag r
loom/src/commands/clean.rs:392
↓ 1 callers
Function
clean_worktrees
Clean orphaned worktrees (prune)
loom/src/git/worktree/operations.rs:191
↓ 1 callers
Function
cleanup_sessions_for_stage
Clean up session files for a specific stage
loom/src/fs/worktree_files/sessions.rs:20
↓ 1 callers
Function
cleanup_signals_for_sessions
Clean up signal files for given session IDs
loom/src/fs/worktree_files/signals.rs:8
↓ 1 callers
Method
cleanup_stale_recovery_signals
Remove `recovery-<stage_id>-*` signal files that do not belong to the session about to spawn, so stale recovery signals from prior attempts do not acc
loom/src/orchestrator/core/stage_executor.rs:663
↓ 1 callers
Function
cleanup_worktree_settings
Remove worktree-specific settings and symlinks Called during worktree removal to clean up: - .work symlink - .claude directory (or legacy symlink) -
loom/src/git/worktree/settings.rs:506
↓ 1 callers
Function
cleanup_worktrees_directory
Remove existing loom worktrees and the .worktrees/ directory
loom/src/commands/init/cleanup.rs:74
↓ 1 callers
Function
close_window_for_terminal
(title: &str, terminal: &super::emulator::TerminalEmulator)
loom/src/orchestrator/terminal/native/mod.rs:29
↓ 1 callers
Function
codex_args
argv (after the binary) for a Codex spawn. `skill` is the full positional skill invocation, e.g. `$pressure doc/plans/PLAN-foo.md`.
loom/src/commands/pressure/mod.rs:245
↓ 1 callers
Function
codex_log_path
Temp path Codex's captured output is written to (per driver process).
loom/src/commands/pressure/mod.rs:175
↓ 1 callers
Function
collect_added_source_files
Run `git diff --name-status <base>..HEAD` and return the paths of files whose status is `A` (added) and whose extension is a known source extension. F
loom/src/verify/wiring_detection.rs:108
↓ 1 callers
Function
collect_changed_source_files
Run `git diff --name-only <base>..HEAD` and return the paths of changed files that have a known source extension.
loom/src/verify/duplicate_detection.rs:220
↓ 1 callers
Function
collect_entries
( base: &std::path::Path, dir: &std::path::Path, out: &mut std::collections::BTreeSet<String>, )
loom/tests/integration/plan_verify.rs:449
↓ 1 callers
Function
commit_post_completion_changes
Commit tracked changes to keep the default branch clean after plan completion. After all stages are merged and the plan is renamed to DONE, this comm
loom/src/fs/plan_lifecycle.rs:133
↓ 1 callers
Function
compare_to_baseline
Compare current state against a stored baseline. Runs the comparison command (or baseline command if not specified), extracts failures/warnings, and
loom/src/verify/baseline/compare.rs:33
↓ 1 callers
Function
complete_after_command
Complete after a single top-level command.
loom/src/completions/dynamic/mod.rs:166
↓ 1 callers
Function
complete_dynamic
Main entry point for dynamic completions. Determines what to complete based on context and prints results to stdout.
loom/src/completions/dynamic/mod.rs:87
↓ 1 callers
Function
complete_flag_value
Complete values after a flag that expects an argument.
loom/src/completions/dynamic/mod.rs:131
↓ 1 callers
Function
complete_knowledge_stage
Complete a knowledge stage without requiring merge. Knowledge stages run in the main repo context (no worktree) and update documentation in `doc/loom
loom/src/commands/stage/knowledge_complete.rs:29
↓ 1 callers
Function
complete_stage_or_session_ids
Complete both stage and session IDs # Arguments `cwd` - Current working directory (project root) `prefix` - Partial ID prefix to filter results # R
loom/src/completions/dynamic/sessions.rs:60
↓ 1 callers
Function
completion_content
(shell: super::generator::Shell)
loom/src/completions/install.rs:195
↓ 1 callers
Function
compute_level_impl
Compute topological level for a single stage recursively. This is a generic implementation that works with any type `T` that has: - An ID (string sli
loom/src/plan/graph/levels.rs:19
↓ 1 callers
Function
compute_next_version
(work_dir: &Path)
loom/src/plan/amendment.rs:1007
↓ 1 callers
Function
compute_stage_depth
Compute the topological depth for a single stage based on its dependencies and existing stages in the work directory. # Arguments `stage` - The stage
loom/src/verify/transitions/persistence.rs:153
↓ 1 callers
Method
compute_stage_depth
Compute stage depth using the execution graph
loom/src/orchestrator/core/persistence.rs:111
↓ 1 callers
Function
compute_stage_elapsed
Compute elapsed time string for a stage based on its status and timestamps
loom/src/commands/status/ui/tree_widget.rs:52
↓ 1 callers
Function
configure_loom_hooks_with_dir
Apply a loom hooks config (built from `hooks_dir`) to a settings object. Shared logic for [`configure_loom_hooks`]: 1. Migrates old hook paths to the
loom/src/fs/permissions/hooks.rs:365
↓ 1 callers
Function
confirm_branch_deletion
Show any `loom/*` branches that carry unmerged commits and require the user to confirm before they are deleted. Returns `Ok(true)` when it is safe to
loom/src/commands/clean.rs:146
↓ 1 callers
Function
conflict_resolution_instructions
Get conflict resolution instructions
loom/src/git/merge/mod.rs:349
↓ 1 callers
Function
contains_parent_escape
Check if path contains parent directory escape patterns
loom/src/sandbox/config.rs:224
↓ 1 callers
Function
context_pct_tui_color
Get the TUI color for a context percentage. Returns red if >= WARNING threshold, yellow if >= HEALTHY threshold, green otherwise.
loom/src/utils.rs:240
↓ 1 callers
Function
copy_file_with_shared_lock
Copy a file with a shared (read) lock on the source. This prevents reading a partially written file during concurrent writes. The source file is lock
loom/src/git/worktree/settings.rs:117
↓ 1 callers
Function
count_files
(dir: &std::path::Path)
loom/src/commands/status/display/mod.rs:7
↓ 1 callers
Function
create_bootstrap_commit
(repo_root: &Path)
loom/src/git/repository.rs:71
↓ 1 callers
Function
create_branch_with_commit
(name: &str, file: &str, content: &str, repo_root: &Path)
loom/src/git/worktree/base.rs:249
↓ 1 callers
Method
create_readme
(&self)
loom/src/fs/work_dir.rs:188
↓ 1 callers
Function
create_session_file
Writes a session to .work/sessions/{session.id}.md
loom/tests/e2e/helpers/session_io.rs:10
↓ 1 callers
Function
create_signal_file
Writes a signal file to .work/signals/{session_id}.md
loom/tests/e2e/helpers/utils.rs:61
↓ 1 callers
Function
create_simple_graph
()
loom/src/orchestrator/core/mod.rs:59
↓ 1 callers
Function
create_stage_def
Create a basic stage definition for testing
loom/tests/e2e/daemon_config/mod.rs:25
↓ 1 callers
Function
create_stage_file
Writes a stage to .work/stages/{stage.id}.md
loom/tests/e2e/helpers/stage_io.rs:10
↓ 1 callers
Function
create_test_config
()
loom/src/orchestrator/core/mod.rs:40
↓ 1 callers
Function
create_test_graph
()
loom/src/orchestrator/core/event_handler.rs:340
↓ 1 callers
Function
create_test_plan
(dir: &Path, stages: Vec<StageDefinition>)
loom/src/commands/run/tests.rs:14
↓ 1 callers
Function
create_test_skill_description_triggers
(dir: &Path, name: &str, description: &str)
loom/src/skills/index.rs:418
↓ 1 callers
Function
create_test_skill_with_trigger_keywords
( dir: &Path, name: &str, description: &str, trigger_keywords: &str, )
loom/src/skills/index.rs:398
↓ 1 callers
Function
create_test_stage
(id: &str)
loom/src/orchestrator/progressive_merge/mod.rs:64
↓ 1 callers
Function
create_wrappers_dir
Create the wrappers directory if it doesn't exist
loom/src/orchestrator/terminal/native/pid_tracking.rs:33
↓ 1 callers
Function
criterion_uses_build_tool
Check if a command string uses a specific build tool at a word boundary. This prevents false positives like "cargo test" matching the "go " tool patt
loom/src/plan/schema/validation.rs:528
↓ 1 callers
Function
ct_eq
Constant-time comparison of two strings.
loom/src/daemon/server/client.rs:90
↓ 1 callers
Function
current_attempt_count
Look at the verdict file, if present, to see how many adjudicator passes the orchestrator has already recorded. Used to enforce `MAX_WORKER_RETRIES`.
loom/src/orchestrator/adjudication/mod.rs:639
↓ 1 callers
Function
current_field_len
(stage: &StageDefinition, field: AmendmentField)
loom/src/plan/amendment.rs:870
↓ 1 callers
Function
dag_cycle_plan
Two stages that depend on each other (cycle).
loom/tests/integration/plan_verify.rs:80
↓ 1 callers
Function
decision
Record a decision in the memory journal
loom/src/commands/memory/handlers.rs:80
↓ 1 callers
Function
default_auto_allow
()
loom/src/plan/schema/types.rs:92
↓ 1 callers
Function
default_deny_read
()
loom/src/models/stage/types.rs:247
↓ 1 callers
Function
default_deny_write
()
loom/src/models/stage/types.rs:274
↓ 1 callers
Function
default_excluded_commands
()
loom/src/plan/schema/types.rs:96
↓ 1 callers
Function
default_max_amendments_per_stage
()
loom/src/plan/schema/types.rs:175
↓ 1 callers
Function
default_mode_for
Resolve the default `PermissionMode` for a stage type when no explicit override is set at the plan or stage level. All stage types default to `Auto`:
loom/src/sandbox/config.rs:49
↓ 1 callers
Method
default_model
Fallback model when the plan does not specify one. Plans SHOULD always set `model` explicitly per stage — the plan writer chooses opus vs sonnet based
loom/src/models/stage/types.rs:36
↓ 1 callers
Method
default_reasoning_effort
Default reasoning effort for this stage type, given the effective model. Sonnet stages need high effort to compensate for the capability gap. Opus sta
loom/src/models/stage/types.rs:54
↓ 1 callers
Function
default_sandbox_enabled
Default value functions for serde (used by SandboxConfig below)
loom/src/plan/schema/types.rs:88
↓ 1 callers
Function
dependency_mtime_fingerprint
Fingerprint a stage's dependency files by their modification times. Returns one entry per dependency (in order); `None` for a dep whose file is missi
loom/src/verify/transitions/state.rs:51
↓ 1 callers
Function
detect_conventions
Detect coding conventions
loom/src/map/detectors.rs:202
↓ 1 callers
Function
detect_cycles
Detect circular dependencies in the graph using DFS
loom/src/plan/graph/cycle.rs:9
↓ 1 callers
Function
detect_duplicate_symbols
Detect symbols in new/modified files that may duplicate existing ones. Steps: 1. Run `git diff --name-only <base_branch>..HEAD` to find changed files
loom/src/verify/duplicate_detection.rs:165
↓ 1 callers
Method
detect_heartbeat_events
Detect heartbeat-based events (heartbeat updates, hung sessions)
loom/src/orchestrator/monitor/detection.rs:422
↓ 1 callers
Function
detect_parent_terminal
()
loom/src/orchestrator/terminal/native/detection.rs:206
↓ 1 callers
Function
detect_shell
Detect the user's shell from $SHELL environment variable
loom/src/completions/install.rs:5
↓ 1 callers
Function
detect_unwired_files
Detect new source files that are not referenced anywhere in the codebase. Steps: 1. Run `git diff --name-status <base_branch>..HEAD` in `worktree_pat
loom/src/verify/wiring_detection.rs:52
↓ 1 callers
Function
determine_activity_status
Calculate activity status from session state and heartbeat staleness
loom/src/commands/status/data/collector.rs:39
↓ 1 callers
Function
dfs_detect_cycle
DFS helper for cycle detection
loom/src/plan/graph/cycle.rs:32
↓ 1 callers
Method
disarm
(&mut self)
loom/src/commands/init/execute.rs:38
↓ 1 callers
Function
discover_claude_pid
( worktree_path: &Path, session_id: &str, timeout: Duration, )
loom/src/orchestrator/terminal/native/pid_tracking.rs:161
↓ 1 callers
Function
dispatch
(command: Commands)
loom/src/cli/dispatch.rs:15
↓ 1 callers
Method
display_name
Get a display name for this entry type
loom/src/fs/memory/types.rs:22
↓ 1 callers
Method
dispute_budget_exhausted
True when `dispute_count` has reached `max_disputes_per_stage`.
loom/src/models/stage/methods.rs:419
↓ 1 callers
Function
dispute_criteria
Dispute an acceptance criterion via the daemon RPC. `failure_output_path` is optional — when set, the file is read, truncated to 4KB on a UTF-8 char
loom/src/commands/stage/dispute_criteria.rs:22
↓ 1 callers
Method
disputes_dir
Path to `.work/disputes/` — adjudication artifacts. See `models/dispute.rs` for the per-id directory schema.
loom/src/fs/work_dir.rs:240
↓ 1 callers
Method
effective_reasoning_effort
Returns the effective reasoning effort for this stage. Uses the explicit override if set, otherwise falls back to the stage-type default (which is mod
loom/src/models/stage/methods.rs:89
↓ 1 callers
Function
ensure_baseline_captured
Capture baseline at stage start if not already captured. This is the entry point for baseline capture during stage execution. Returns Ok(()) if basel
loom/src/verify/baseline/compare.rs:124
↓ 1 callers
Function
ensure_bashrc_completion
Ensure ~/.bashrc sources the completion file if bash-completion isn't auto-loading it.
loom/src/completions/install.rs:120
↓ 1 callers
Function
ensure_bootstrap_readme
(repo_root: &Path)
loom/src/git/repository.rs:91
↓ 1 callers
Function
ensure_git_identity
(repo_root: &Path)
loom/src/git/repository.rs:100
↓ 1 callers
Function
ensure_work_symlink
Creates or restores the .work symlink in a worktree. Used during worktree creation and merge failure recovery. The symlink points from .worktrees/{st
loom/src/git/worktree/settings.rs:22
↓ 1 callers
Function
ensure_zshrc_fpath
Ensure ~/.zshrc has fpath and compinit configured for ~/.zfunc.
loom/src/completions/install.rs:154
↓ 1 callers
Function
escalate_attempt_cap
(work_dir: &Path, stage_id: &str, dispute_id: u32)
loom/src/orchestrator/adjudication/mod.rs:512
↓ 1 callers
Function
escalate_evidence_cap
(work_dir: &Path, stage_id: &str)
loom/src/orchestrator/adjudication/mod.rs:500
↓ 1 callers
Method
escalate_merge_resolver_exhausted
Route a stage whose merge-resolver budget is exhausted to `NeedsHumanReview` and persist it. `MergeConflict`/`MergeBlocked -> NeedsHumanReview` is no
loom/src/orchestrator/core/merge_handler.rs:1006
↓ 1 callers
Function
escalate_no_api_key
(work_dir: &Path, stage_id: &str)
loom/src/orchestrator/adjudication/mod.rs:489
↓ 1 callers
Function
execute
Execute the repair command # Arguments `fix` - If true, attempt to fix issues. If false, just report (dry-run)
loom/src/commands/repair.rs:128
↓ 1 callers
Function
execute_background
Execute orchestrator in background (daemon mode) Usage: loom run [--manual] [--max-parallel <n>] [--watch] [--no-merge]
loom/src/commands/run/mod.rs:31
↓ 1 callers
Function
execute_compact
Execute compact mode - single line output for scripting
loom/src/commands/status.rs:49
↓ 1 callers
Function
execute_foreground
Execute orchestrator in foreground mode (for debugging)
loom/src/commands/run/foreground.rs:39
↓ 1 callers
Function
execute_static
Show static status dashboard
loom/src/commands/status.rs:59
↓ 1 callers
Function
execute_with_force
Variant that exposes the `--force` flag. Without `--force`, a hung daemon causes us to refuse PID kill rather than risk killing the wrong process.
loom/src/commands/stop.rs:36
↓ 1 callers
Function
execution_tree
Create a tree widget with default styling
loom/src/commands/status/ui/tree_widget.rs:346
← previous
next →
1,001–1,100 of 3,851, ranked by callers