Skip to content

Commit 9aeb1b2

Browse files
committed
feat(forge): add dynamic agent system and fix Greptile issues
- Add Critical variant to Severity enum in protocol.rs - Fix is_warning_or_higher() to include Critical severity - Fix label() method to include Critical case - Update forge.toml config schema to match ForgeConfig structure - Add DynamicAgent for loading agents from TOML configuration - Add AgentRulesFile parser for full agent rules TOML format - Add load_agents_from_directory() and create_agent() factory functions - Re-export new config and agent types from forge module
1 parent 72ce4b7 commit 9aeb1b2

File tree

6 files changed

+991
-33
lines changed

6 files changed

+991
-33
lines changed

.cortex/forge/forge.toml

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,18 @@ max_parallel = 4
77
timeout_seconds = 300
88
# Stop on first failure
99
fail_fast = false
10-
# Output format: "json", "pretty", "minimal"
11-
output_format = "pretty"
10+
# Output format: "json", "text", "markdown"
11+
output_format = "json"
1212

13-
[agents]
14-
# Enable/disable specific agents
15-
security = true
16-
quality = true
17-
aggregator = true
13+
[agents.security]
14+
enabled = true
15+
priority = 10
1816

19-
# Agent execution order and dependencies
20-
[dependencies]
21-
# aggregator runs after security and quality complete
22-
aggregator = ["security", "quality"]
17+
[agents.quality]
18+
enabled = true
19+
priority = 10
20+
21+
[agents.aggregator]
22+
enabled = true
23+
depends_on = ["security", "quality"]
24+
priority = 5

0 commit comments

Comments
 (0)