MCPcopy Create free account

hub / github.com/cosmix/loom / functions

Functions3,851 in github.com/cosmix/loom

↓ 3 callersFunctionget_conflicting_files
Get list of files with conflicts (during an active merge)
loom/src/git/merge/mod.rs:215
↓ 3 callersMethodget_effective_max_fix_attempts
Get the effective maximum fix attempts (default 3 if not set).
loom/src/models/stage/methods.rs:436
↓ 3 callersFunctionglobal_state_path
Path to Claude Code's global state file
loom/src/fs/permissions/trust.rs:13
↓ 3 callersMethodhas_new_failures
Check if any new failures were introduced
loom/src/verify/baseline/types.rs:111
↓ 3 callersFunctionhas_prefix
Check if the filename has a specific prefix
loom/src/fs/plan_lifecycle.rs:51
↓ 3 callersFunctionhas_uncommitted_changes
Check if the repository has uncommitted changes (staged or unstaged) Uses `git status --porcelain` to detect: - Staged but uncommitted changes (index
loom/src/git/branch/status.rs:25
↓ 3 callersFunctionindex_with_skill
Build a skill index from a temp dir containing one skill named `name`.
loom/src/orchestrator/signals/generate.rs:673
↓ 3 callersFunctioninflight_marker_path
Layout helper for the per-dispute inflight marker.
loom/src/orchestrator/adjudication/worker.rs:105
↓ 3 callersFunctioninstall_loom_hooks_to
Install all loom hooks to a specific directory All hooks are installed to the given directory. In production this is `~/.claude/hooks/loom/`; tests p
loom/src/fs/permissions/hooks.rs:118
↓ 3 callersMethodis_bold
Returns whether this status should be bold
loom/src/models/stage/types.rs:833
↓ 3 callersFunctionis_retry_pending
Check whether a Blocked stage is *retryable at all* — i.e. it has a retryable failure type and has not exhausted its retry budget — WITHOUT considerin
loom/src/orchestrator/core/recovery.rs:64
↓ 3 callersFunctionis_worktree_specific_permission
Check if a permission string contains worktree-specific path patterns
loom/src/fs/permissions/sync.rs:201
↓ 3 callersFunctionisolated_git
Run `git` in `root` with ambient global/system config neutralized. CI runners (and dev machines) may carry global git config that breaks a fresh-repo
loom/src/git/merge/mod.rs:413
↓ 3 callersMethodload_from_work_dir
Load state from .work/state/<stage-id>.yaml files
loom/src/orchestrator/monitor/failure_tracking.rs:149
↓ 3 callersFunctionload_global_state
Load and parse ~/.claude.json, returning empty object if missing
loom/src/fs/permissions/trust.rs:19
↓ 3 callersFunctionload_stage_definition_from_plan
Load a stage definition by id from the active plan. Resolves the active plan path from `work_dir` (the `.work` directory), parses it, and returns the
loom/src/plan/parser/mod.rs:69
↓ 3 callersFunctionlog_hook_event
Log a hook event to the events file Events are appended to `.work/hooks/events.jsonl` in JSON Lines format. Each line is a complete JSON object repre
loom/src/hooks/events.rs:129
↓ 3 callersFunctionloom_hooks_config
Generate global hooks configuration for loom Only includes hooks that should be in the main repo's settings.json Session-specific hooks (SessionStart,
loom/src/fs/permissions/hooks.rs:91
↓ 3 callersFunctionmake_stage
(id: &str, deps: Vec<&str>, status: StageStatus)
loom/src/commands/status/ui/tree_widget_tests.rs:6
↓ 3 callersFunctionmake_test_stage
(id: &str, status: StageStatus)
loom/src/commands/status/data/collector.rs:310
↓ 3 callersFunctionmemory_dir
Get the memory directory path
loom/src/fs/memory/storage.rs:13
↓ 3 callersFunctionmock_accept_delete_first
Mock an Accept verdict whose `plan_patch` deletes acceptance[0]. Targets the stage seeded by [`make_stage_two_criteria`].
loom/tests/adjudication_e2e.rs:181
↓ 3 callersFunctionparent_dirfd_for
(dirfd: RawFd, components: &[Vec<u8>])
loom/src/fs/safe_fs.rs:407
↓ 3 callersFunctionparse_file_type
(file: &str)
loom/src/commands/knowledge/mod.rs:197
↓ 3 callersFunctionparse_merge_stats
Parse merge statistics from git output
loom/src/git/merge/mod.rs:188
↓ 3 callersFunctionparse_timestamp
Parse a timestamp in "YYYY-MM-DD HH:MM:SS UTC" format
loom/src/orchestrator/signals/recovery_parsing.rs:80
↓ 3 callersFunctionparse_value
Parse a string value into JSON Value. Tries to parse as JSON first. If that fails, returns the string as a JSON string value.
loom/src/commands/stage/output.rs:124
↓ 3 callersMethodpersist_session_status
Persist session status change to disk immediately Called when session status changes are detected (crash, completion, etc.) to ensure the session fil
loom/src/orchestrator/monitor/handlers.rs:173
↓ 3 callersFunctionread_auth_token
Back-compat shim used by status UI helpers — returns the user token. Kept on the public surface because TUI code reads it for `Ping` / `SubscribeStat
loom/src/daemon/server/client.rs:74
↓ 3 callersFunctionread_plan_sandbox
Read the persisted plan-level sandbox config (`[plan_sandbox]`). Returns `Ok(None)` if the section is missing — callers should fall back to plan-file
loom/src/fs/work_dir.rs:485
↓ 3 callersFunctionread_stage_events
Read events for a specific stage
loom/src/hooks/events.rs:195
↓ 3 callersFunctionread_token_file
(path: &Path)
loom/src/daemon/server/client.rs:49
↓ 3 callersFunctionremove_prefix_from_filename
Remove a prefix from the plan filename if present
loom/src/fs/plan_lifecycle.rs:36
↓ 3 callersFunctionremove_work_directory_on_failure
Remove the .work/ directory silently (used for cleanup on initialization failure)
loom/src/commands/init/cleanup.rs:65
↓ 3 callersFunctionrender_review_dimensions
Render the "## Review Dimensions" section for an integration-verify signal. Surfaces the plan's `code_review` configuration to the agent as an action
loom/src/orchestrator/signals/generate.rs:173
↓ 3 callersFunctionreset
Reset a stage to pending NOTE: This is a manual recovery command that intentionally bypasses state machine validation. WaitingForDeps has no incoming
loom/src/commands/stage/state.rs:33
↓ 3 callersFunctionresolve_language_skill
Resolve a detected language to its skill metadata in the index. Installed skills follow the `loom-<topic>` naming convention (`loom-rust`, `loom-type
loom/src/orchestrator/signals/generate.rs:202
↓ 3 callersFunctionrun_and_verify_stage_goal
Shared helper: Load plan, find stage definition, run goal-backward verification This helper encapsulates the common pattern used across: - `loom stag
loom/src/commands/verify.rs:143
↓ 3 callersFunctionrun_single_criterion
Run a single acceptance criterion (shell command) with default timeout This is a convenience wrapper around `run_single_criterion_with_timeout` that
loom/src/verify/criteria/executor.rs:28
↓ 3 callersFunctionsafe_append_in_workdir
Append `content` to `relpath` under `dirfd` in a single `write(2)` call while holding an exclusive flock. On filesystems that honour atomic `O_APPEND`
loom/src/fs/safe_fs.rs:323
↓ 3 callersFunctionsave_global_state
Write ~/.claude.json back to disk
loom/src/fs/permissions/trust.rs:31
↓ 3 callersMethodset_node_merged
Set the merged status for a stage node (used during state sync from disk).
loom/src/plan/graph/mod.rs:341
↓ 3 callersMethodset_worktree
(&mut self, worktree_id: Option<String>)
loom/src/models/stage/methods.rs:125
↓ 3 callersFunctionsetup_hooks_for_worktree
Set up hooks for a worktree by creating/updating settings.local.json This function: 1. Reads existing settings.local.json if present (containing glob
loom/src/hooks/generator.rs:149
↓ 3 callersFunctionsetup_loom
Initialize loom with a plan and create necessary config
loom/tests/e2e/uncommitted_changes.rs:57
↓ 3 callersFunctionsetup_stage
(temp: &TempDir, status: StageStatus, review_reason: Option<&str>)
loom/src/commands/stage/human_review.rs:158
↓ 3 callersFunctionsetup_test_env
()
loom/src/commands/knowledge/mod.rs:233
↓ 3 callersFunctionshow
Show the execution graph
loom/src/commands/graph/mod.rs:54
↓ 3 callersMethodskill_name
Return the skill name for this language. This is the name used to look up skills in the skill index (e.g., the directory name under ~/.claude/skills/
loom/src/language.rs:32
↓ 3 callersMethodspawn_merge_session
( &self, stage: &Stage, session: Session, signal_path: &Path, repo_roo
loom/src/orchestrator/terminal/native/mod.rs:166
↓ 3 callersFunctionstatus_indicator
Status indicator with color for display
loom/src/commands/graph/indicators.rs:10
↓ 3 callersFunctionstructural_warning_plan
Plan that triggers a structural warning (redundant working_dir prefix).
loom/tests/integration/plan_verify.rs:110
↓ 3 callersFunctionsync_worktree_permissions_with_working_dir
Sync permissions with an explicit working directory
loom/src/fs/permissions/sync.rs:53
↓ 3 callersMethodto_markdown_row
(&self)
loom/src/plan/amendment.rs:241
↓ 3 callersFunctiontransition_to_queued
(stage: &mut Stage)
loom/src/orchestrator/adjudication/mod.rs:466
↓ 3 callersMethodtry_complete_with_failures
Mark the stage as completed with failures (acceptance criteria failed). This indicates the stage finished executing but acceptance criteria failed. T
loom/src/models/stage/methods.rs:307
↓ 3 callersMethodtry_mark_completed
Mark the session as completed with validation. # Returns `Ok(())` if the transition succeeded, `Err` if invalid
loom/src/models/session/methods.rs:181
↓ 3 callersFunctionuntrust_worktree
Remove a worktree path from Claude Code's trusted projects Removes the `projects[worktree_path]` entry from `~/.claude.json` when a worktree is delet
loom/src/fs/permissions/trust.rs:91
↓ 3 callersMethodupdate
Update the log by comparing current stage statuses against previous. Only logs meaningful transitions (started, completed, blocked, ready).
loom/src/commands/status/ui/tui/state.rs:136
↓ 3 callersFunctionupdate_config
Read-modify-write `.work/config.toml` while holding the `.work/` directory lock for the whole sequence. This is the lost-update-safe way to mutate th
loom/src/fs/work_dir.rs:403
↓ 3 callersFunctionutf8_safe_prefix
(s: &str, max_bytes: usize)
loom/src/orchestrator/adjudication/prompt.rs:353
↓ 3 callersFunctionvalidate_config
Validate that a merged sandbox config is safe for execution. `bypass-permissions` is rejected unconditionally: it disables every Claude Code permissi
loom/src/sandbox/config.rs:102
↓ 3 callersFunctionvalidate_glob_pattern
Validate a glob pattern is syntactically correct
loom/src/plan/schema/validation.rs:48
↓ 3 callersFunctionwaiting
Mark a stage as waiting for user input (called by hooks)
loom/src/commands/stage/state.rs:134
↓ 3 callersFunctionwindow_exists_by_title
(title: &str)
loom/src/orchestrator/terminal/native/window_ops.rs:260
↓ 3 callersMethodwith_branch
Set branch
loom/src/handoff/schema/v2.rs:103
↓ 3 callersMethodwith_completed_tasks
Set completed tasks
loom/src/handoff/schema/v2.rs:85
↓ 3 callersMethodwith_completed_work
Add completed work items
loom/src/handoff/generator/content.rs:58
↓ 3 callersMethodwith_context_percent
Create heartbeat with context percentage
loom/src/orchestrator/monitor/heartbeat.rs:60
↓ 3 callersFunctionwrite_admin_token
Test helper: write `<work_dir>/admin.token` with the given content.
loom/src/commands/stage/tests/complete.rs:13
↓ 3 callersFunctionwrite_global_git_config
(dir: &TempDir)
loom/src/git/repository.rs:168
↓ 3 callersFunctionwrite_skill
(content: &str)
loom/src/commands/skill_index.rs:374
↓ 3 callersFunctionwrite_stage_file
(stages_dir: &Path, stage: &Stage)
loom/src/daemon/server/status.rs:374
↓ 2 callersMethodacquire_exclusive_lock
Acquire an exclusive flock on orchestrator.lock to prevent multiple daemons. Returns the held File handle. The lock is released when the handle is dr
loom/src/daemon/server/lifecycle.rs:271
↓ 2 callersFunctionadd_to_gitignore_exclude
Append a pattern to a git `info/exclude` file, creating it if absent. Idempotent: skips the write when the pattern is already present.
loom/src/git/worktree/settings.rs:450
↓ 2 callersFunctionadvisory
(name: &str, trigger: &str)
loom/src/orchestrator/signals/format/sections.rs:916
↓ 2 callersMethodall_stages
Collect all stages into a deduplicated list, sorted by level then id.
loom/src/commands/status/ui/tui/state.rs:83
↓ 2 callersFunctionappend_adversarial_review
Append the mandatory mini adversarial code review block. Shared by the two code-producing prefixes (standard, integration-verify). The documentation
loom/src/orchestrator/signals/cache.rs:113
↓ 2 callersFunctionappend_isolation_boundaries_simple
Append the two-bullet "Isolation Boundaries (STRICT)" block used by IV and knowledge-distill. The standard prefix uses a three-bullet version (with t
loom/src/orchestrator/signals/cache.rs:133
↓ 2 callersFunctionappend_subagent_restrictions
Append subagent restrictions (shared by standard and integration-verify, last line differs)
loom/src/orchestrator/signals/cache.rs:66
↓ 2 callersFunctionapplied_marker
(disputes_root: &std::path::Path, stage_id: &str, id: u32)
loom/src/models/dispute.rs:104
↓ 2 callersMethodapply_pending_verdicts
Apply verdict files written by adjudicator workers to the stage state. See [`AdjudicatorRegistry::apply_pending_verdicts`].
loom/src/orchestrator/core/orchestrator.rs:471
↓ 2 callersMethodapply_verdict
Apply a single verdict to the stage. Public so callers under test can drive a verdict file end-to-end.
loom/src/orchestrator/adjudication/mod.rs:244
↓ 2 callersMethodavailable_variables
List all available variable names.
loom/src/verify/context.rs:118
↓ 2 callersFunctionblock
Block a stage with a reason
loom/src/commands/stage/state.rs:14
↓ 2 callersFunctionbranch_has_no_unmerged_work
Return `true` iff the stage's `loom/<stage-id>` branch is provably free of unmerged work — zero commits ahead of `target_branch`. Fails closed: if `c
loom/src/commands/worktree_cmd.rs:294
↓ 2 callersFunctionbuild_amendment_request
( stage_id: String, plan_patch: &crate::models::dispute::PlanPatch, dispute_id: u32, )
loom/src/orchestrator/adjudication/mod.rs:663
↓ 2 callersMethodbuild_command
Build the command string for a hook event Returns just the script path. Environment variables (LOOM_STAGE_ID, LOOM_SESSION_ID, LOOM_WORK_DIR) are set
loom/src/hooks/config.rs:144
↓ 2 callersFunctionbuild_duration_display
Build the duration display string for a stage, including wall time and retry info when applicable.
loom/src/commands/status/render/completion.rs:20
↓ 2 callersFunctionbuild_embedded_context_for_stage
Build embedded context for a stage's memory recitation
loom/src/orchestrator/signals/generate.rs:224
↓ 2 callersFunctionbuild_embedded_context_with_stage_and_session
Build embedded context with both stage and session info for full recitation
loom/src/orchestrator/signals/generate.rs:242
↓ 2 callersFunctionbuild_initial_prompt
Build the initial user prompt for the Claude session.
loom/src/commands/knowledge/bootstrap.rs:132
↓ 2 callersFunctionbuild_merge_summary_from_report
Build a MergeSummary from merge report
loom/src/commands/status/data/collector.rs:229
↓ 2 callersFunctionbuild_signal_context
Build signal context with all shared setup logic This consolidates the context building, budget, usage, and sandbox setup that was duplicated between
loom/src/orchestrator/signals/generate.rs:584
↓ 2 callersFunctioncalculate_backoff
Calculates exponential backoff duration for retry attempts. Formula: base_secs * 2^(retry_count-1), capped at max_secs # Examples With base_secs=30
loom/src/orchestrator/retry.rs:35
↓ 2 callersFunctioncall_anthropic_with
Variant of [`call_anthropic`] with overridable model + endpoint. Used by the wiremock-backed e2e tests; production callers should use the no-suffix ve
loom/src/orchestrator/adjudication/client.rs:72
↓ 2 callersMethodchanged
(self)
loom/src/git/repository.rs:24
↓ 2 callersMethodcheck_pending_disputes
Poll `.work/disputes/` for new dispute requests and spawn worker threads as needed. See [`AdjudicatorRegistry::check_pending_disputes`].
loom/src/orchestrator/core/orchestrator.rs:464
↓ 2 callersFunctioncheck_sandbox_recommendations
Check for sandbox-related recommendations (non-fatal warnings) Returns a list of warning messages when: - Plan-level sandbox configuration has potent
loom/src/plan/schema/validation.rs:916
↓ 2 callersMethodcheck_session_hung
Check if a session is hung based on heartbeat staleness. `session_id` is the ID of the session currently occupying the stage. Heartbeat files are key
loom/src/orchestrator/monitor/heartbeat.rs:201
← previousnext →601–700 of 3,851, ranked by callers