Configuration
Loom is configured vialoom.yaml in your project directory.
Configuration File
Runloom config init to create a default configuration:
Configuration Sections
Beads
Configure the Beads CLI integration:| Option | Type | Default | Description |
|---|---|---|---|
path | string | bd | Path to the Beads CLI executable |
timeout | duration | 30s | Command timeout duration |
Scoring
Configure task prioritization weights:| Option | Type | Default | Description |
|---|---|---|---|
blocking_multiplier | int | 3 | Multiplier for each blocked task |
priority_boost | int | 2 | Bonus for P0/P1 tasks |
staleness_days | int | 3 | Days before staleness bonus applies |
staleness_bonus | int | 1 | Bonus for stale tasks |
failure_penalty | int | 1 | Penalty for previously failed tasks |
Hooks
Configure lifecycle hooks:| Option | Type | Default | Description |
|---|---|---|---|
enabled | bool | true | Enable/disable hook execution |
pre_prompt | []HookDef | - | Hooks before prompt processing |
pre_tool_call | []HookDef | - | Hooks before tool execution |
post_tool_call | []HookDef | - | Hooks after tool execution |
post_response | []HookDef | - | Hooks after agent response |
on_error | []HookDef | - | Hooks on task failure |
on_claim | []HookDef | - | Hooks on task claim |
pre_close | []HookDef | - | Hooks before task close |
on_block | []HookDef | - | Hooks when task becomes blocked |
Safety
Configure safety guards:| Option | Type | Default | Description |
|---|---|---|---|
block_destructive | bool | true | Block destructive commands |
require_confirmation | []string | - | Commands requiring confirmation |
allowed_without_confirmation | []string | - | Commands always allowed |
Memory
Configure memory management:| Option | Type | Default | Description |
|---|---|---|---|
compact_threshold | float | 0.70 | Context usage threshold for compaction |
retention.high_dependency | int | 90 | Retain % of high-dependency task details |
retention.failed_tasks | int | 80 | Retain % of failed task details |
retention.retrospectives | int | 100 | Retain % of retrospective details |
Coordination
Configure multi-agent coordination:| Option | Type | Default | Description |
|---|---|---|---|
enabled | bool | true | Enable coordination features |
lock_timeout | duration | 1h | File lock expiration time |
conflict_detection | bool | true | Enable conflict detection |
Learning
Configure the learning system:| Option | Type | Default | Description |
|---|---|---|---|
enabled | bool | true | Enable learning features |
retro_count | int | 3 | Number of retrospectives to keep |
patterns_file | string | ~/.beads-global/patterns.json | Path to patterns file |
View Current Configuration
Next Steps
Hooks Guide
Learn about lifecycle hooks
CLI Reference
Explore all commands