Skip to content

[skip ci] fix: batch fixes for issues #3027, 3028, 3029, 3030, 3031, 3033, 3035, 3037, 3040, 3043#403

Open
echobt wants to merge 1 commit intomasterfrom
fix/bounty-batch-3027-3043
Open

[skip ci] fix: batch fixes for issues #3027, 3028, 3029, 3030, 3031, 3033, 3035, 3037, 3040, 3043#403
echobt wants to merge 1 commit intomasterfrom
fix/bounty-batch-3027-3043

Conversation

@echobt
Copy link
Contributor

@echobt echobt commented Jan 27, 2026

Summary

Batch fix for multiple bounty issues related to agent features and LSP extensibility.

Issues Fixed

Changes

Agent Features (cortex-cli/src/agent_cmd.rs)

  • Added version field to AgentFrontmatter and AgentInfo for version tracking (#3027)
  • Added max_tokens field for token budget control (#3031)
  • Added category field for better organization and --category filter in list command (#3035)
  • Added requires_mcp field for MCP server dependencies (#3033)
  • Added glob pattern matching (tool_matches_pattern) for tool allow/deny lists (#3029)
  • Added warnings for tool conflicts (when tool is in both allowed and denied lists) - denied takes precedence (#3028)
  • Added validation for max_turns values > 1000 with warning about potential runaway sessions (#3030)
  • Added cortex agent import command for importing agent definitions from files (#3037)
  • Added cortex agent compare command for comparing two agents (#3040)

LSP Extensibility (cortex-cli/src/debug_cmd.rs)

  • Added support for custom LSP servers via config.toml [lsp.servers] section (#3043)
  • Custom servers can be defined as simple strings or with language metadata
  • Servers from global (~/.cortex/config.toml) and project (.cortex/config.toml) configs are loaded
  • Added source field to LSP server info to show where each server is defined

Note: CI skipped for cost control. Test manually before merge.

…, 3037, 3040, 3043 [skip ci]

Fixes:
- #3027: Add Agent Version Support (version field in agent frontmatter)
- #3028: Agent Tool Allow/Deny List Precedence (denied_tools takes precedence, warns on conflicts)
- #3029: Add Glob Pattern Support in Tool Lists (tool_matches_pattern for wildcards)
- #3030: Agent Max Turns Upper Limit Validation (warns if max_turns > 1000)
- #3031: Add Token Budget Configuration for Agents (max_tokens field)
- #3033: Add MCP Server Dependencies to Agents (requires_mcp field)
- #3035: Add Agent Categories for Organization (category field, --category filter)
- #3037: Add Agent Export and Import Commands (cortex agent import command)
- #3040: Add Agent Performance Comparison Tool (cortex agent compare command)
- #3043: LSP Server List Not Extensible (custom LSP servers via config.toml)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant