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
↓ 2 callers
Method
max_width
(mut self, width: usize)
loom/src/commands/status/ui/tree_widget.rs:110
↓ 2 callers
Function
merge_existing_permissions
Merge existing permissions from an old settings file into new settings This preserves user-approved permissions that were granted in a previous setti
loom/src/sandbox/settings.rs:466
↓ 2 callers
Function
merge_permission_array
Merge a single permission array (allow or deny), returning count of added permissions
loom/src/fs/permissions/sync.rs:378
↓ 2 callers
Method
merge_resolver_attempts_dir
Directory holding per-stage merge-resolver attempt counters. Stored on disk (rather than in memory) so the cap survives daemon restarts — a resolver
loom/src/orchestrator/core/merge_handler.rs:943
↓ 2 callers
Function
migrate_legacy_trust
Migrate from legacy `trustedDirectories` field to per-project trust Called from `loom init` to clean up the old format. Removes any `.worktrees/` ent
loom/src/fs/permissions/trust.rs:123
↓ 2 callers
Function
mock_accept_response
(server: &MockServer)
loom/tests/adjudication_e2e.rs:127
↓ 2 callers
Function
mock_needs_more
(server: &MockServer)
loom/tests/adjudication_e2e.rs:215
↓ 2 callers
Function
next_dispute_id
(stage_disputes: &Path)
loom/src/daemon/server/dispute.rs:213
↓ 2 callers
Function
open_dir_safely
Open a directory (intermediate) under `dirfd`, refusing every symlink.
loom/src/fs/safe_fs.rs:239
↓ 2 callers
Function
open_log_file
Open log file and return reader seeked to end, along with inode.
loom/src/daemon/server/broadcast.rs:93
↓ 2 callers
Method
open_or_initialize
Open an existing `.work/` directory or initialise it if missing. Used by `loom init` reconfigure paths so a second invocation (with different flags)
loom/src/fs/work_dir.rs:119
↓ 2 callers
Function
parse_base_conflict_signal_content
( session_id: &str, content: &str, )
loom/src/orchestrator/signals/base_conflict.rs:139
↓ 2 callers
Function
parse_branch_list
Parse git branch -v output
loom/src/git/branch/info.rs:15
↓ 2 callers
Function
parse_citations
(v: Option<&Value>)
loom/src/orchestrator/adjudication/verdict.rs:219
↓ 2 callers
Function
parse_last_heartbeat
Parse the "### Last Known State" section for heartbeat info
loom/src/orchestrator/signals/recovery_parsing.rs:89
↓ 2 callers
Function
parse_merge_signal_content
( session_id: &str, content: &str, )
loom/src/orchestrator/signals/merge.rs:242
↓ 2 callers
Function
parse_recovery_actions
Parse the "### Recovery Actions" section
loom/src/orchestrator/signals/recovery_parsing.rs:121
↓ 2 callers
Function
parse_session_from_markdown
Parse a Session from markdown with YAML frontmatter
loom/src/orchestrator/monitor/core.rs:135
↓ 2 callers
Method
passed
Check if the criterion passed
loom/src/verify/criteria/result.rs:41
↓ 2 callers
Method
persistence_graph
(&self)
loom/src/orchestrator/core/persistence.rs:137
↓ 2 callers
Function
pid_matches_entry
Decide whether a recorded [`PidEntry`] still refers to the original process. When a start-time was recorded, the live process's current start-time mu
loom/src/orchestrator/terminal/native/pid_tracking.rs:119
↓ 2 callers
Function
pids_dir
Get the path to the pids directory
loom/src/orchestrator/terminal/native/pid_tracking.rs:16
↓ 2 callers
Method
poll
Poll heartbeat files and update cache
loom/src/orchestrator/monitor/heartbeat.rs:134
↓ 2 callers
Method
poll
Poll once and return any events detected
loom/src/orchestrator/monitor/core.rs:56
↓ 2 callers
Function
preflight
Combine the version probe and the auth-eligibility heuristic into a single [`RemoteControlStatus`].
loom/src/remote_control.rs:169
↓ 2 callers
Function
prepare_repo_for_run
Ensure the repository is ready for Loom's git worktree operations.
loom/src/commands/run/checks.rs:12
↓ 2 callers
Function
prepare_subscriber_clone
Clone a client stream for use as a broadcast subscriber, applying a write timeout so a stalled subscriber cannot freeze the broadcaster (O-15). Retur
loom/src/daemon/server/client.rs:120
↓ 2 callers
Function
preserve_for_crash
Copy memory journal to crash recovery location
loom/src/fs/memory/persistence.rs:34
↓ 2 callers
Function
print_check_results
(result: &KnowledgeCheckResult)
loom/src/commands/knowledge/check.rs:282
↓ 2 callers
Function
print_completion_summary
Print completion summary to stdout. This function renders a detailed completion summary including: - Overall status (success/failure) - Plan path and
loom/src/commands/status/render/summary.rs:20
↓ 2 callers
Function
print_journal_entries
Print a single stage's journal entries (compact), applying an optional type filter. Returns the number of entries displayed (after filtering). A zero
loom/src/commands/memory/handlers.rs:210
↓ 2 callers
Function
print_log_tail
Print the last `max_bytes` of a log file to stderr (for surfacing failures).
loom/src/commands/pressure/mod.rs:342
↓ 2 callers
Function
print_summary
Print the final summary
loom/src/commands/init/execute.rs:189
↓ 2 callers
Function
probe_claude_version
Run `<claude_path> --version` and return the parsed version string. Returns `None` on exec failure or unparseable output.
loom/src/remote_control.rs:115
↓ 2 callers
Function
process_has_session_marker
(pid: u32, session_id: &str)
loom/src/orchestrator/terminal/native/pid_tracking.rs:184
↓ 2 callers
Function
process_start_time
(pid: u32)
loom/src/orchestrator/terminal/native/pid_tracking.rs:97
↓ 2 callers
Function
prune_stale_worktrees
Prune stale git worktrees that have been deleted but are still registered
loom/src/commands/init/cleanup.rs:12
↓ 2 callers
Function
read_audit_versions
(work_dir: &Path)
loom/tests/plan_amendment_integration.rs:84
↓ 2 callers
Function
read_file
(path: &Path)
loom/src/fs/safe_fs.rs:723
↓ 2 callers
Function
read_git_config
(repo_root: &Path, key: &str)
loom/src/git/repository.rs:106
↓ 2 callers
Function
read_remote_control_config
Read the persisted Remote Control config (`[remote_control]`). A missing section yields `RemoteControlConfig::default()` (mode = auto), so callers al
loom/src/fs/work_dir.rs:498
↓ 2 callers
Function
read_section
( work_dir: &Path, section: &str, )
loom/src/fs/work_dir.rs:429
↓ 2 callers
Function
read_signal
(session_id: &str, work_dir: &Path)
loom/src/orchestrator/signals/crud.rs:90
↓ 2 callers
Function
read_user_token
Read the user-tier auth token (Ping / Subscribe / Unsubscribe).
loom/src/daemon/server/client.rs:56
↓ 2 callers
Method
reconcile_and_update_graph
(&mut self)
loom/src/orchestrator/core/recovery.rs:190
↓ 2 callers
Method
refresh_ready_status
Force update of ready status for all nodes (useful after recovery). Returns the list of stages that became ready.
loom/src/plan/graph/mod.rs:115
↓ 2 callers
Function
release
Release a held stage (allow auto-execution)
loom/src/commands/stage/state.rs:199
↓ 2 callers
Method
release
Release the lock
loom/src/git/merge/lock.rs:133
↓ 2 callers
Method
release_inner
(&mut self)
loom/src/git/merge/lock.rs:137
↓ 2 callers
Function
remote_control_eligible
Heuristic check that the host's claude auth setup is eligible for Remote Control (which requires claude.ai login). Returns `Err` with a non-secret re
loom/src/remote_control.rs:147
↓ 2 callers
Function
remove_signal_file
Remove a single signal file by session ID
loom/src/fs/worktree_files/signals.rs:46
↓ 2 callers
Function
remove_worktree
Remove a worktree Runs: git worktree remove .worktrees/{stage_id}
loom/src/git/worktree/operations.rs:149
↓ 2 callers
Function
remove_worktree_symlinks
Remove symlinks from a worktree directory before removal Git worktree remove can have issues with symlinks. This function removes known symlinks (.wo
loom/src/git/cleanup/worktree.rs:65
↓ 2 callers
Function
render_completion_lines
Render the completion screen for TUI (ratatui)
loom/src/commands/status/render/completion.rs:137
↓ 2 callers
Function
require_no_active_merge
Refuse to run a merge operation if `MERGE_HEAD` is already set on the given repo path. Returns a distinct error so callers can surface it instead of c
loom/src/git/merge/mod.rs:52
↓ 2 callers
Function
resolve
Per-spawn gate: whether `--remote-control` should be appended for a session spawned against `work_dir`. Returns `false` when: the persisted `[remote_
loom/src/remote_control.rs:248
↓ 2 callers
Function
resolve_plan_path
Resolve the plan source path from `.work/config.toml::source_path`, canonicalising relative paths against the **main** project root (parent of the res
loom/src/plan/amendment.rs:371
↓ 2 callers
Function
resolve_plan_path
(work_dir: &Path)
loom/src/orchestrator/adjudication/mod.rs:649
↓ 2 callers
Function
resolve_project_root
Resolve the project root directory. Tries WorkDir first (works when .work/ exists), then falls back to `git rev-parse --show-toplevel`, then current
loom/src/commands/knowledge/spawn.rs:13
↓ 2 callers
Function
resolve_session_id
Resolve session ID from argument or LOOM_SESSION_ID environment variable
loom/src/commands/handoff/create.rs:136
↓ 2 callers
Function
restore_sandbox_settings
Restore original settings after a knowledge session completes.
loom/src/commands/knowledge/spawn.rs:95
↓ 2 callers
Function
resume_from_waiting
Resume a stage from waiting for input state (called by hooks)
loom/src/commands/stage/state.rs:157
↓ 2 callers
Function
run_claude_foreground
Spawn Claude in the foreground (inherited TTY → interactive/subscription billing) and return once the agent signals completion by creating `marker` —
loom/src/commands/pressure/mod.rs:354
↓ 2 callers
Method
run_server
Main server loop (listens on socket and accepts connections). `lock_guard` is the held singleton flock acquired by the caller BEFORE any destructive
loom/src/daemon/server/lifecycle.rs:341
↓ 2 callers
Function
run_startup_preflight
Run the Remote Control preflight once at orchestrator startup and print an advisory warning to stderr if it is disabled. This is purely advisory — it
loom/src/remote_control.rs:271
↓ 2 callers
Function
safe_remove_in_workdir
Remove `relpath` under `dirfd` via `unlinkat`. Refuses paths with `..` components and absolute prefixes.
loom/src/fs/safe_fs.rs:607
↓ 2 callers
Function
safe_replace_outside_workdir
Atomically replace a file that lives **outside** the `.work/` dirfd universe — used for the live plan file in `<project_root>/doc/plans/`. Validates
loom/src/fs/safe_fs.rs:436
↓ 2 callers
Function
save_failure_state
Save failure state to a YAML file
loom/src/orchestrator/monitor/failure_tracking.rs:222
↓ 2 callers
Function
scan_pending_requests
Discover `(stage_id, dispute_id)` pairs that have `request.md` but no `verdict.md`.
loom/src/orchestrator/adjudication/mod.rs:525
↓ 2 callers
Method
scroll_to_end
Jump to end.
loom/src/commands/status/ui/tui/state.rs:41
↓ 2 callers
Method
scroll_to_start
Jump to start.
loom/src/commands/status/ui/tui/state.rs:36
↓ 2 callers
Method
set_resolved_base
(&mut self, base: Option<String>)
loom/src/models/stage/methods.rs:130
↓ 2 callers
Method
set_session
Assigns or clears the session currently using this worktree # Arguments `session_id` - The session ID to assign, or None to clear
loom/src/models/worktree.rs:70
↓ 2 callers
Function
setup_env_with_plan
(plan_text: &str)
loom/src/plan/tests/amendment.rs:43
↓ 2 callers
Function
setup_test_env
()
loom/src/commands/knowledge/audit.rs:86
↓ 2 callers
Function
should_auto_retry
Determines if a stage failure should trigger an automatic retry. Only transient failures (SessionCrash, Timeout) are eligible for auto-retry, and onl
loom/src/orchestrator/retry.rs:12
↓ 2 callers
Function
should_fail
(errors: usize, warnings: usize, strict: bool)
loom/src/commands/plan/verify.rs:74
↓ 2 callers
Function
should_stop
React to a finished child. Returns `true` when the pipeline should stop. On abort the child label and exit code (or signal) are printed, so a headles
loom/src/commands/pressure/mod.rs:454
↓ 2 callers
Method
shutdown
Request graceful shutdown of the daemon.
loom/src/daemon/server/core.rs:172
↓ 2 callers
Method
shutdown
Cooperative shutdown: signal cancellation, then drain completion messages until `deadline` or all handles are gone. Surviving workers exit on their ow
loom/src/orchestrator/adjudication/mod.rs:443
↓ 2 callers
Function
sleep_with_cancellation
Sleep for `total` while checking `cancellation` every 100ms. Returns `true` if the sleep completed, `false` if cancellation was observed.
loom/src/orchestrator/adjudication/client.rs:187
↓ 2 callers
Function
snapshot_dir
Recursive directory listing relative to root, sorted.
loom/tests/integration/plan_verify.rs:443
↓ 2 callers
Method
spawn_merge_resolution_sessions
Spawn merge resolution sessions for stages in MergeConflict or MergeBlocked status. Called during the main loop to detect stages that need merge reso
loom/src/orchestrator/core/merge_handler.rs:816
↓ 2 callers
Function
spawn_merge_resolver
Spawn a merge conflict resolver session from the CLI. When the daemon is not running, this spawns a native terminal session to resolve merge conflict
loom/src/commands/stage/merge_resolver.rs:40
↓ 2 callers
Function
spawn_resolver_for_route
Spawn a CLI-side merge resolver for a route that already satisfies the `MergeConflict | MergeBlocked` status contract on disk.
loom/src/commands/stage/complete.rs:297
↓ 2 callers
Method
spawn_session
( &self, stage: &Stage, worktree: &Worktree, session: Session, signal_
loom/src/orchestrator/terminal/native/mod.rs:149
↓ 2 callers
Function
split_into_words
Split text into individual words for matching
loom/src/skills/matcher.rs:16
↓ 2 callers
Function
stable_prefix_for
Select the stable prefix for a stage type. Single source of truth shared by the regular signal path (`format/mod.rs`) and the recovery signal path (`
loom/src/orchestrator/signals/cache.rs:776
↓ 2 callers
Function
stage_info_to_stage
Convert StageInfo (from daemon) to Stage (for tree widget).
loom/src/commands/status/ui/tui/renderer.rs:66
↓ 2 callers
Function
stage_with_criteria
(criteria: Vec<&str>)
loom/src/orchestrator/adjudication/prompt.rs:370
↓ 2 callers
Method
start
Start the daemon (daemonize process). # Returns `Ok(())` on success, error if daemon fails to start
loom/src/daemon/server/lifecycle.rs:106
↓ 2 callers
Function
status_priority
Sort stages by status priority (executing first, then ready, then others)
loom/src/commands/graph/indicators.rs:29
↓ 2 callers
Function
strip_ansi
Strip ANSI escape codes from a string for reliable test assertions
loom/src/commands/graph/tests.rs:11
↓ 2 callers
Method
summary
Get a summary of the result
loom/src/verify/criteria/result.rs:46
↓ 2 callers
Method
sync_graph_with_stage_files
(&mut self)
loom/src/orchestrator/core/recovery.rs:224
↓ 2 callers
Method
sync_queued_status_to_files
(&mut self)
loom/src/orchestrator/core/recovery.rs:659
↓ 2 callers
Function
sync_worktree_permissions
Sync worktree permissions with main repo Ensures permissions are synced even if acceptance fails, allowing approved permissions to persist for retry
loom/src/commands/stage/complete.rs:636
↓ 2 callers
Function
terminal_app_window_exists
(escaped_title: &str)
loom/src/orchestrator/terminal/native/window_ops.rs:327
↓ 2 callers
Method
terminal_color
Returns the terminal color for this status (for the `colored` crate)
loom/src/models/stage/types.rs:813
↓ 2 callers
Method
to_json_line
Serialize to JSON line
loom/src/hooks/events.rs:120
← previous
next →
801–900 of 3,851, ranked by callers