MCPcopy Create free account

hub / github.com/cosmix/loom / functions

Functions3,851 in github.com/cosmix/loom

↓ 1 callersFunctionrun_orchestrator
Run the orchestrator loop (static method for thread).
loom/src/daemon/server/orchestrator.rs:36
↓ 1 callersFunctionrun_status_broadcaster
Run the status broadcaster loop (static method for thread).
loom/src/daemon/server/broadcast.rs:143
↓ 1 callersFunctionrun_tui
Entry point for TUI live mode.
loom/src/commands/status/ui/tui/mod.rs:25
↓ 1 callersFunctionrun_verification_phase
Run verification phase (goal-backward verification and change impact comparison) If verifications pass, performs progressive merge. If --no-verify is
loom/src/commands/stage/complete.rs:819
↓ 1 callersFunctionsafe_locked_write
Convenience wrapper: open the dirfd, perform a single locked write, drop the dirfd.
loom/src/fs/safe_fs.rs:679
↓ 1 callersFunctionsafe_rename_in_workdir
`renameat` under `dirfd`. Both `from` and `to` are validated relpaths; each is anchored at the parent's dirfd resolved via `O_NOFOLLOW`-walked `open_d
loom/src/fs/safe_fs.rs:376
↓ 1 callersFunctionsafe_write_with_mode_in_workdir
Like `safe_locked_write_in_workdir` but sets the file mode via `fchmod` after open. Used for wrapper scripts that must be executable (0o755).
loom/src/fs/safe_fs.rs:577
↓ 1 callersMethodsave_to_work_dir
Save state to .work/state/<stage-id>.yaml
loom/src/orchestrator/monitor/failure_tracking.rs:181
↓ 1 callersFunctionsave_with_header
Save text content with a timestamp header.
loom/src/commands/self_update/mod.rs:308
↓ 1 callersFunctionscan_pending_verdicts
Discover `(stage_id, dispute_id)` pairs that have `verdict.md` but no `applied.marker`.
loom/src/orchestrator/adjudication/mod.rs:568
↓ 1 callersMethodscript_name
Get the script filename for this hook event
loom/src/hooks/config.rs:45
↓ 1 callersMethodscript_path
Get the full path to a hook script. Sessions see host-absolute paths — the hooks are installed at `~/.claude/hooks/loom/...` on the host.
loom/src/hooks/config.rs:135
↓ 1 callersFunctionself_dependency_plan
Plan where a stage depends on itself.
loom/tests/integration/plan_verify.rs:57
↓ 1 callersFunctionsend_desktop_notification
Send a desktop notification. Uses platform-appropriate notification tools: - Linux: `notify-send` - macOS: `osascript` with display notification Fai
loom/src/orchestrator/notify.rs:16
↓ 1 callersFunctionsend_linux_notification
(title: &str, body: &str)
loom/src/orchestrator/notify.rs:28
↓ 1 callersFunctionsend_macos_notification
(title: &str, body: &str)
loom/src/orchestrator/notify.rs:45
↓ 1 callersFunctionsend_sigterm
Send SIGTERM to a process, ignoring "already gone".
loom/src/commands/pressure/mod.rs:335
↓ 1 callersFunctionserialize_loom_metadata
(metadata: &LoomMetadata)
loom/src/plan/amendment.rs:960
↓ 1 callersFunctionsession_is_live
Probe whether a recorded session is genuinely still running. Returns `true` only if the session file parses AND the native backend reports the sessio
loom/src/commands/stage/skip_retry.rs:242
↓ 1 callersMethodsessions_dir
(&self)
loom/src/fs/work_dir.rs:226
↓ 1 callersMethodset
(path: &Path)
loom/src/git/repository.rs:138
↓ 1 callersMethodset_liveness
Attach the session liveness service. The orchestrator calls this once the `NativeBackend` is constructed; until then, `check_session_alive` falls back
loom/src/orchestrator/monitor/core.rs:51
↓ 1 callersMethodset_node_outputs
Update the outputs for a stage node. This is called when syncing stage state from disk to the graph, to ensure dependency outputs are available for s
loom/src/plan/graph/mod.rs:298
↓ 1 callersMethodset_output
Add or update an output for this stage. If an output with the same key already exists, it will be replaced. # Arguments `output` - The output to add
loom/src/models/stage/methods.rs:463
↓ 1 callersMethodset_timeout
Set the hung timeout
loom/src/orchestrator/monitor/heartbeat.rs:232
↓ 1 callersFunctionsettings_json_has_hooks
Check if settings.json still contains hooks that should be in settings.local.json
loom/src/fs/permissions/settings.rs:274
↓ 1 callersFunctionsettings_local_has_hooks
Check if settings.local.json has hooks and env configured
loom/src/fs/permissions/settings.rs:294
↓ 1 callersFunctionsetup_claude_directory
Set up .claude/ directory for worktree We create a real directory and symlink CLAUDE.md from main repo. settings.json is created separately by the ho
loom/src/git/worktree/settings.rs:46
↓ 1 callersFunctionsetup_root_claude_md
Symlink project-root CLAUDE.md (distinct from .claude/CLAUDE.md) This ensures instances in worktrees have access to project instructions without need
loom/src/git/worktree/settings.rs:92
↓ 1 callersFunctionsetup_test_env
()
loom/src/commands/knowledge/gc.rs:259
↓ 1 callersFunctionsetup_work_dir_with_plan
(temp_dir: &TempDir)
loom/src/commands/run/tests.rs:36
↓ 1 callersFunctionsetup_worktree_hooks
Configure hooks for a worktree with session context This adds Claude Code hooks to the worktree's .claude/settings.json. Hooks enable: - Auto-handoff
loom/src/git/worktree/settings.rs:416
↓ 1 callersFunctionshow_review_status
Show current review status and available actions.
loom/src/commands/stage/human_review.rs:53
↓ 1 callersMethodshutdown_adjudicators
Cooperative shutdown for the adjudicator registry. Called from the daemon shutdown path; signals workers to cancel and joins their handles until `dead
loom/src/orchestrator/core/orchestrator.rs:486
↓ 1 callersMethodsignals_dir
(&self)
loom/src/fs/work_dir.rs:210
↓ 1 callersFunctionsimple_sequential_plan
Plan fixture generators for E2E tests Provides pre-built plan content strings with valid loom METADATA blocks Returns a simple sequential plan with 2
loom/tests/e2e/fixtures/plans.rs:8
↓ 1 callersFunctionskip
Skip a stage
loom/src/commands/stage/skip_retry.rs:21
↓ 1 callersFunctionsnapshot_tmp_filename
Compute the snapshot tmp filename for a given version.
loom/src/plan/amendment.rs:170
↓ 1 callersFunctionspawn_codex_background
Spawn `codex exec` in the background with its (noisy) output captured to `log_path`, so it runs concurrently with the foreground Claude session withou
loom/src/commands/pressure/mod.rs:405
↓ 1 callersFunctionspawn_in_terminal
Spawn a command in a terminal window # Arguments `terminal` - The terminal emulator to use `title` - Window title for the terminal `workdir` - Workin
loom/src/orchestrator/terminal/native/spawner.rs:51
↓ 1 callersMethodspawn_knowledge_session
( &self, stage: &Stage, session: Session, signal_path: &Path, repo_roo
loom/src/orchestrator/terminal/native/mod.rs:200
↓ 1 callersFunctionspawn_log_tailer
Spawn the log tailing thread. Returns a join handle if the log file exists and the thread was spawned.
loom/src/daemon/server/broadcast.rs:32
↓ 1 callersMethodspawn_merge_resolution_session
Spawn a merge resolution session for a stage with merge issues.
loom/src/orchestrator/core/merge_handler.rs:1064
↓ 1 callersFunctionspawn_orchestrator
Spawn the orchestrator thread to execute stages. Returns a join handle for the orchestrator thread.
loom/src/daemon/server/orchestrator.rs:23
↓ 1 callersFunctionspawn_reaper_thread
Spawn a background thread to reap a child process when it exits. This prevents zombie processes by ensuring `wait()` is called on the child. The thre
loom/src/orchestrator/terminal/native/spawner.rs:29
↓ 1 callersFunctionspawn_shell_command
Spawn a shell command as a child process Uses `sh -c` on Unix and `cmd /C` on Windows to execute the command. The command string is passed as a singl
loom/src/verify/criteria/executor.rs:141
↓ 1 callersFunctionspawn_status_broadcaster
Spawn the status broadcasting thread.
loom/src/daemon/server/broadcast.rs:132
↓ 1 callersFunctionspawn_worker
Spawn a worker thread. The returned `JoinHandle` should be stored in the orchestrator's registry so cooperative shutdown can join it. Uses `thread::s
loom/src/orchestrator/adjudication/worker.rs:148
↓ 1 callersMethodspinner_char
Get spinner character for current frame.
loom/src/commands/status/ui/tui/app.rs:347
↓ 1 callersFunctionsplice_metadata_yaml
Splice a new YAML body into the original plan content, preserving every byte outside the YAML fence (including the opening fence and language hint, th
loom/src/plan/amendment.rs:968
↓ 1 callersFunctionstage_duration
Get stage duration - prefer execution_secs (excludes wait time) over duration_secs (wall clock)
loom/src/commands/status/render/completion.rs:15
↓ 1 callersFunctionstage_field_matches
(stage: &Stage, def: &StageDefinition, field: AmendmentField)
loom/src/plan/amendment.rs:1038
↓ 1 callersFunctionstage_filename
Generate a stage filename with depth prefix. # Arguments `depth` - The topological depth (0-indexed) `stage_id` - The stage ID # Returns Filename in
loom/src/fs/stage_files.rs:105
↓ 1 callersFunctionstage_id_from_branch
Get the stage ID from a loom branch name
loom/src/git/branch/naming.rs:9
↓ 1 callersFunctionstage_type_label
(st: StageType)
loom/src/commands/plan/verify.rs:78
↓ 1 callersMethodstages_dir
(&self)
loom/src/fs/work_dir.rs:222
↓ 1 callersMethodstart_knowledge_stage
(&mut self, mut stage: Stage)
loom/src/orchestrator/core/stage_executor.rs:463
↓ 1 callersMethodstart_ready_stages
(&mut self)
loom/src/orchestrator/core/stage_executor.rs:34
↓ 1 callersMethodstart_stage
(&mut self, stage_id: &str)
loom/src/orchestrator/core/stage_executor.rs:58
↓ 1 callersFunctionstarts_with_doc_plans
Whether a relative path already begins with `doc/plans/`.
loom/src/commands/pressure/mod.rs:106
↓ 1 callersFunctionstatus_matches
Check if a stage file's status matches any of the allowed statuses. Parses the YAML frontmatter to find a `status:` field.
loom/src/completions/dynamic/stages.rs:68
↓ 1 callersFunctionstrip_code_fence
(s: &str)
loom/src/orchestrator/adjudication/verdict.rs:76
↓ 1 callersFunctionstrip_worktree_escape_denies
Drop worktree-relative escape rules from a config destined for the MAIN repo. At the repo root `../../**` resolves to `$HOME`, so emitting it as a de
loom/src/sandbox/settings.rs:65
↓ 1 callersFunctionsubscribe
Subscribe to status updates.
loom/src/commands/status/ui/tui/daemon_client.rs:51
↓ 1 callersFunctionsummarize_plan
Summarize a plan file by passing its content to Claude Haiku. Falls back to the plan's first paragraph if claude is unavailable.
loom/src/commands/review/generate.rs:121
↓ 1 callersMethodsummary
Get a summary of the impact
loom/src/verify/baseline/types.rs:126
↓ 1 callersFunctionsync_stage_from_definition
(stage: &mut Stage, def: &StageDefinition, field: AmendmentField)
loom/src/plan/amendment.rs:1050
↓ 1 callersFunctiontarget_is_worktree
Detect whether a settings target is a loom worktree (vs. the main repo root). Loom worktrees always live at `<repo>/.worktrees/<stage-id>/` and carry
loom/src/sandbox/settings.rs:36
↓ 1 callersMethodterminal
Get the detected terminal emulator
loom/src/orchestrator/terminal/native/mod.rs:125
↓ 1 callersMethodto_ref_string
Format as file:line reference string
loom/src/handoff/schema/types.rs:42
↓ 1 callersMethodto_v2
Convert to HandoffV2 structured format
loom/src/handoff/generator/content.rs:106
↓ 1 callersFunctiontoken_path_for
Path to the token file backing a given capability. Both tokens live under the per-project `.work/` tree: `user.token` (mode 0o644) and `admin.token`
loom/src/daemon/server/client.rs:82
↓ 1 callersFunctiontopological_sort
Get a topologically sorted list of stages
loom/src/plan/graph/scheduling.rs:55
↓ 1 callersMethodtopological_sort
Get a topologically sorted list of stages
loom/src/plan/graph/mod.rs:255
↓ 1 callersMethodtotal
(&self)
loom/src/commands/plan/verify.rs:50
↓ 1 callersFunctiontruncate_for_error
(body: &str)
loom/src/orchestrator/adjudication/client.rs:200
↓ 1 callersFunctiontruncate_id
Truncate a string to fit within budget, appending ".." if truncated
loom/src/commands/status/ui/tree_widget.rs:77
↓ 1 callersFunctiontruncate_jsonl_to_tail
Rewrite `path` keeping only its trailing `keep_bytes` (line-aligned) when it exceeds `max_bytes`. No-op if the file is missing or already small enough
loom/src/hooks/events.rs:352
↓ 1 callersFunctiontruncate_string
Hard-truncate `s` to at most `max_bytes` bytes, respecting UTF-8 boundaries and leaving a trailing truncation marker so a downstream reader sees the c
loom/src/orchestrator/adjudication/prompt.rs:343
↓ 1 callersFunctiontruncate_to_budget
Enforce [`MAX_PROMPT_BYTES`] by truncating the diff / failure-output sections of the user prompt first, then the listing, then the plan excerpt. The s
loom/src/orchestrator/adjudication/prompt.rs:267
↓ 1 callersFunctiontruncate_to_byte_limit
(s: &str, max_bytes: usize)
loom/src/commands/stage/dispute_criteria.rs:93
↓ 1 callersFunctiontruncate_to_byte_limit
(s: &str, max_bytes: usize)
loom/src/daemon/server/dispute.rs:234
↓ 1 callersMethodtry_force_complete_review
Force-complete a stage that is in human review. Transitions from NeedsHumanReview to Completed. # Returns `Ok(())` if the transition succeeded, `Err
loom/src/models/stage/methods.rs:355
↓ 1 callersFunctiontry_openat2
(dirfd: RawFd, path: &[u8], flags: i32, mode: u32)
loom/src/fs/safe_fs.rs:118
↓ 1 callersMethodtry_request_adjudication
Request adjudication for this stage's acceptance criterion. Transitions to NeedsAdjudication. From `Executing` this is a direct transition; from `Com
loom/src/models/stage/methods.rs:389
↓ 1 callersFunctionunmerged_paths
Run `git diff --name-only --diff-filter=U` in the given path and return its lines. Returns an empty Vec on git failure (the caller treats the "no unme
loom/src/git/merge/in_progress.rs:189
↓ 1 callersFunctionunsupported_marker_exists
Whether the mid-run "Remote Control unsupported" marker exists.
loom/src/remote_control.rs:211
↓ 1 callersFunctionupdate_binary
Download and install the new binary with signature verification.
loom/src/commands/self_update/mod.rs:143
↓ 1 callersFunctionupdate_config_files
Update configuration files (CLAUDE.md, agents, skills).
loom/src/commands/self_update/mod.rs:218
↓ 1 callersFunctionupdate_session_status
Update a session's status in .work/sessions/ Reads through the shared file lock (`locked_read`) and writes through the canonical `save_session` (`loc
loom/src/commands/stage/session.rs:50
↓ 1 callersFunctionupdate_signal
(session_id: &str, updates: SignalUpdates, work_dir: &Path)
loom/src/orchestrator/signals/crud.rs:9
↓ 1 callersMethodvalidate
Validate the handoff data
loom/src/handoff/schema/v2.rs:146
↓ 1 callersFunctionvalidate_accept
(json: &Value)
loom/src/orchestrator/adjudication/verdict.rs:140
↓ 1 callersFunctionvalidate_description
Validates that a description is within acceptable length limits. # Arguments `description` - The description string to validate # Returns `Ok(())`
loom/src/validation.rs:107
↓ 1 callersFunctionvalidate_field_format
Validate a field line matches expected format
loom/src/orchestrator/signals/parse.rs:65
↓ 1 callersFunctionvalidate_needs_more
(json: &Value)
loom/src/orchestrator/adjudication/verdict.rs:193
↓ 1 callersFunctionvalidate_paths
Validate all paths in a sandbox config and return any escape attempts detected
loom/src/sandbox/config.rs:264
↓ 1 callersFunctionvalidate_references
(_work_dir: &WorkDir)
loom/src/commands/status/validation.rs:41
↓ 1 callersFunctionvalidate_reject
(json: &Value)
loom/src/orchestrator/adjudication/verdict.rs:171
↓ 1 callersFunctionvalidate_sandbox_config
Validate sandbox configuration at plan level
loom/src/plan/schema/validation.rs:145
← previousnext →1,401–1,500 of 3,851, ranked by callers