MCPcopy Create free account

hub / github.com/cosmix/loom / functions

Functions3,851 in github.com/cosmix/loom

↓ 2 callersMethodmax_width
(mut self, width: usize)
loom/src/commands/status/ui/tree_widget.rs:110
↓ 2 callersFunctionmerge_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 callersFunctionmerge_permission_array
Merge a single permission array (allow or deny), returning count of added permissions
loom/src/fs/permissions/sync.rs:378
↓ 2 callersMethodmerge_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 callersFunctionmigrate_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 callersFunctionmock_accept_response
(server: &MockServer)
loom/tests/adjudication_e2e.rs:127
↓ 2 callersFunctionmock_needs_more
(server: &MockServer)
loom/tests/adjudication_e2e.rs:215
↓ 2 callersFunctionnext_dispute_id
(stage_disputes: &Path)
loom/src/daemon/server/dispute.rs:213
↓ 2 callersFunctionopen_dir_safely
Open a directory (intermediate) under `dirfd`, refusing every symlink.
loom/src/fs/safe_fs.rs:239
↓ 2 callersFunctionopen_log_file
Open log file and return reader seeked to end, along with inode.
loom/src/daemon/server/broadcast.rs:93
↓ 2 callersMethodopen_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 callersFunctionparse_base_conflict_signal_content
( session_id: &str, content: &str, )
loom/src/orchestrator/signals/base_conflict.rs:139
↓ 2 callersFunctionparse_branch_list
Parse git branch -v output
loom/src/git/branch/info.rs:15
↓ 2 callersFunctionparse_citations
(v: Option<&Value>)
loom/src/orchestrator/adjudication/verdict.rs:219
↓ 2 callersFunctionparse_last_heartbeat
Parse the "### Last Known State" section for heartbeat info
loom/src/orchestrator/signals/recovery_parsing.rs:89
↓ 2 callersFunctionparse_merge_signal_content
( session_id: &str, content: &str, )
loom/src/orchestrator/signals/merge.rs:242
↓ 2 callersFunctionparse_recovery_actions
Parse the "### Recovery Actions" section
loom/src/orchestrator/signals/recovery_parsing.rs:121
↓ 2 callersFunctionparse_session_from_markdown
Parse a Session from markdown with YAML frontmatter
loom/src/orchestrator/monitor/core.rs:135
↓ 2 callersMethodpassed
Check if the criterion passed
loom/src/verify/criteria/result.rs:41
↓ 2 callersMethodpersistence_graph
(&self)
loom/src/orchestrator/core/persistence.rs:137
↓ 2 callersFunctionpid_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 callersFunctionpids_dir
Get the path to the pids directory
loom/src/orchestrator/terminal/native/pid_tracking.rs:16
↓ 2 callersMethodpoll
Poll heartbeat files and update cache
loom/src/orchestrator/monitor/heartbeat.rs:134
↓ 2 callersMethodpoll
Poll once and return any events detected
loom/src/orchestrator/monitor/core.rs:56
↓ 2 callersFunctionpreflight
Combine the version probe and the auth-eligibility heuristic into a single [`RemoteControlStatus`].
loom/src/remote_control.rs:169
↓ 2 callersFunctionprepare_repo_for_run
Ensure the repository is ready for Loom's git worktree operations.
loom/src/commands/run/checks.rs:12
↓ 2 callersFunctionprepare_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 callersFunctionpreserve_for_crash
Copy memory journal to crash recovery location
loom/src/fs/memory/persistence.rs:34
↓ 2 callersFunctionprint_check_results
(result: &KnowledgeCheckResult)
loom/src/commands/knowledge/check.rs:282
↓ 2 callersFunctionprint_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 callersFunctionprint_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 callersFunctionprint_log_tail
Print the last `max_bytes` of a log file to stderr (for surfacing failures).
loom/src/commands/pressure/mod.rs:342
↓ 2 callersFunctionprint_summary
Print the final summary
loom/src/commands/init/execute.rs:189
↓ 2 callersFunctionprobe_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 callersFunctionprocess_has_session_marker
(pid: u32, session_id: &str)
loom/src/orchestrator/terminal/native/pid_tracking.rs:184
↓ 2 callersFunctionprocess_start_time
(pid: u32)
loom/src/orchestrator/terminal/native/pid_tracking.rs:97
↓ 2 callersFunctionprune_stale_worktrees
Prune stale git worktrees that have been deleted but are still registered
loom/src/commands/init/cleanup.rs:12
↓ 2 callersFunctionread_audit_versions
(work_dir: &Path)
loom/tests/plan_amendment_integration.rs:84
↓ 2 callersFunctionread_file
(path: &Path)
loom/src/fs/safe_fs.rs:723
↓ 2 callersFunctionread_git_config
(repo_root: &Path, key: &str)
loom/src/git/repository.rs:106
↓ 2 callersFunctionread_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 callersFunctionread_section
( work_dir: &Path, section: &str, )
loom/src/fs/work_dir.rs:429
↓ 2 callersFunctionread_signal
(session_id: &str, work_dir: &Path)
loom/src/orchestrator/signals/crud.rs:90
↓ 2 callersFunctionread_user_token
Read the user-tier auth token (Ping / Subscribe / Unsubscribe).
loom/src/daemon/server/client.rs:56
↓ 2 callersMethodreconcile_and_update_graph
(&mut self)
loom/src/orchestrator/core/recovery.rs:190
↓ 2 callersMethodrefresh_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 callersFunctionrelease
Release a held stage (allow auto-execution)
loom/src/commands/stage/state.rs:199
↓ 2 callersMethodrelease
Release the lock
loom/src/git/merge/lock.rs:133
↓ 2 callersMethodrelease_inner
(&mut self)
loom/src/git/merge/lock.rs:137
↓ 2 callersFunctionremote_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 callersFunctionremove_signal_file
Remove a single signal file by session ID
loom/src/fs/worktree_files/signals.rs:46
↓ 2 callersFunctionremove_worktree
Remove a worktree Runs: git worktree remove .worktrees/{stage_id}
loom/src/git/worktree/operations.rs:149
↓ 2 callersFunctionremove_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 callersFunctionrender_completion_lines
Render the completion screen for TUI (ratatui)
loom/src/commands/status/render/completion.rs:137
↓ 2 callersFunctionrequire_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 callersFunctionresolve
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 callersFunctionresolve_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 callersFunctionresolve_plan_path
(work_dir: &Path)
loom/src/orchestrator/adjudication/mod.rs:649
↓ 2 callersFunctionresolve_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 callersFunctionresolve_session_id
Resolve session ID from argument or LOOM_SESSION_ID environment variable
loom/src/commands/handoff/create.rs:136
↓ 2 callersFunctionrestore_sandbox_settings
Restore original settings after a knowledge session completes.
loom/src/commands/knowledge/spawn.rs:95
↓ 2 callersFunctionresume_from_waiting
Resume a stage from waiting for input state (called by hooks)
loom/src/commands/stage/state.rs:157
↓ 2 callersFunctionrun_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 callersMethodrun_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 callersFunctionrun_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 callersFunctionsafe_remove_in_workdir
Remove `relpath` under `dirfd` via `unlinkat`. Refuses paths with `..` components and absolute prefixes.
loom/src/fs/safe_fs.rs:607
↓ 2 callersFunctionsafe_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 callersFunctionsave_failure_state
Save failure state to a YAML file
loom/src/orchestrator/monitor/failure_tracking.rs:222
↓ 2 callersFunctionscan_pending_requests
Discover `(stage_id, dispute_id)` pairs that have `request.md` but no `verdict.md`.
loom/src/orchestrator/adjudication/mod.rs:525
↓ 2 callersMethodscroll_to_end
Jump to end.
loom/src/commands/status/ui/tui/state.rs:41
↓ 2 callersMethodscroll_to_start
Jump to start.
loom/src/commands/status/ui/tui/state.rs:36
↓ 2 callersMethodset_resolved_base
(&mut self, base: Option<String>)
loom/src/models/stage/methods.rs:130
↓ 2 callersMethodset_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 callersFunctionsetup_env_with_plan
(plan_text: &str)
loom/src/plan/tests/amendment.rs:43
↓ 2 callersFunctionsetup_test_env
()
loom/src/commands/knowledge/audit.rs:86
↓ 2 callersFunctionshould_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 callersFunctionshould_fail
(errors: usize, warnings: usize, strict: bool)
loom/src/commands/plan/verify.rs:74
↓ 2 callersFunctionshould_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 callersMethodshutdown
Request graceful shutdown of the daemon.
loom/src/daemon/server/core.rs:172
↓ 2 callersMethodshutdown
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 callersFunctionsleep_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 callersFunctionsnapshot_dir
Recursive directory listing relative to root, sorted.
loom/tests/integration/plan_verify.rs:443
↓ 2 callersMethodspawn_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 callersFunctionspawn_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 callersFunctionspawn_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 callersMethodspawn_session
( &self, stage: &Stage, worktree: &Worktree, session: Session, signal_
loom/src/orchestrator/terminal/native/mod.rs:149
↓ 2 callersFunctionsplit_into_words
Split text into individual words for matching
loom/src/skills/matcher.rs:16
↓ 2 callersFunctionstable_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 callersFunctionstage_info_to_stage
Convert StageInfo (from daemon) to Stage (for tree widget).
loom/src/commands/status/ui/tui/renderer.rs:66
↓ 2 callersFunctionstage_with_criteria
(criteria: Vec<&str>)
loom/src/orchestrator/adjudication/prompt.rs:370
↓ 2 callersMethodstart
Start the daemon (daemonize process). # Returns `Ok(())` on success, error if daemon fails to start
loom/src/daemon/server/lifecycle.rs:106
↓ 2 callersFunctionstatus_priority
Sort stages by status priority (executing first, then ready, then others)
loom/src/commands/graph/indicators.rs:29
↓ 2 callersFunctionstrip_ansi
Strip ANSI escape codes from a string for reliable test assertions
loom/src/commands/graph/tests.rs:11
↓ 2 callersMethodsummary
Get a summary of the result
loom/src/verify/criteria/result.rs:46
↓ 2 callersMethodsync_graph_with_stage_files
(&mut self)
loom/src/orchestrator/core/recovery.rs:224
↓ 2 callersMethodsync_queued_status_to_files
(&mut self)
loom/src/orchestrator/core/recovery.rs:659
↓ 2 callersFunctionsync_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 callersFunctionterminal_app_window_exists
(escaped_title: &str)
loom/src/orchestrator/terminal/native/window_ops.rs:327
↓ 2 callersMethodterminal_color
Returns the terminal color for this status (for the `colored` crate)
loom/src/models/stage/types.rs:813
↓ 2 callersMethodto_json_line
Serialize to JSON line
loom/src/hooks/events.rs:120
← previousnext →801–900 of 3,851, ranked by callers