instance_id
stringlengths
10
65
repo
stringlengths
5
59
pr_number
int64
1
313k
task_type
stringclasses
1 value
base_commit
stringlengths
40
40
review_commit
stringlengths
40
40
title
stringlengths
2
282
body
stringlengths
7
3k
patch
stringlengths
202
204k
n_defects
int64
1
72
n_supported
int64
1
65
n_major
int64
0
32
defects
stringlengths
140
18.8k
certifier_count
int64
agent-sh__agnix__139
agent-sh/agnix
139
defect
38b05ebc1e6774cacdc5d7c7531fd5af638ef6c3
ff2b1c3c222084300ffbe7f990c2a65672d4c5cc
fix(cli): validate --target flag values instead of silent fallback
## Summary - CLI `--target` flag now validates values using clap's `ValueEnum` derive - Invalid values are rejected at parse time with helpful error message showing valid options - Prevents configuration typos from silently falling back to "generic" ## Changes - Added `TargetArg` enum with `ValueEnum` derive for CLI a...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 38d3fcccd..dff0edac3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] ### Fixed +- CLI `--target` flag now validates values instead of silently falling back to ...
1
1
0
[{"id": "G0", "claim": "The test_help_shows_target_possible_values assertion is too lenient and should instead check for the exact substring \"[possible values: generic, claude-code, cursor, codex]\" and include the actual stdout in the assertion message for debuggability.", "category": "testing", "verdict": "supported...
null
agent-sh__agnix__146
agent-sh/agnix
146
defect
6adb3be22b1be307aa5523a06df744ce19c1b9db
ef0764e1194e7a17d8e967e02a51947c71d9594d
fix: JSON output underreports files_checked (#127)
## Summary Fixes #127. The `files_checked` field in JSON output was counting only files that produced diagnostics, not the total files validated. This was misleading for CI consumers who need accurate validation coverage metrics. ### Changes - Added `ValidationResult` struct to bundle diagnostics with `files_checked...
diff --git a/crates/agnix-cli/src/json.rs b/crates/agnix-cli/src/json.rs index 638b8f8b4..7203b05ba 100644 --- a/crates/agnix-cli/src/json.rs +++ b/crates/agnix-cli/src/json.rs @@ -4,7 +4,6 @@ use agnix_core::diagnostics::{Diagnostic, DiagnosticLevel}; use serde::Serialize; -use std::collections::HashSet; use std:...
8
4
1
[{"id": "G0", "claim": "The integration test's files_checked assertion should be exact (assert_eq!(files_checked, 2)) rather than the loose >= 2, to catch unexpectedly counted files.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new integration tes...
null
agent-sh__agnix__149
agent-sh/agnix
149
defect
7f0c32aad5fa207788f64607867a6c12766bf23c
b1846312bd3584861b123870e7c191e08fa954b4
fix: normalize parse error rule IDs for SARIF/JSON parity
## Summary Closes #70 - Add 5 new parse error rules with standardized IDs: - `AS-016`: Skill file parse error (replaces `skill::parse`) - `CC-HK-012`: Hook file parse error (replaces `hooks::parse`) - `CC-AG-007`: Agent file parse error (replaces `agent::parse`) - `CC-PL-006`: Plugin file parse error (replace...
diff --git a/AGENTS.md b/AGENTS.md index d95b9781c..d2fcbe2be 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -31,7 +31,7 @@ crates/ ├── agnix-core/ # Parsers, schemas, rules, diagnostics └── agnix-cli/ # CLI with clap -knowledge-base/ # 84 rules, 75+ sources +knowledge-base/ # 89 rules, 75+ sources test...
2
2
1
[{"id": "G0", "claim": "The new parse error diagnostics (CC-AG-007, CC-HK-012, MCP-007, CC-PL-006, AS-016) are pushed unconditionally without checking config.is_rule_enabled, so the rules cannot be disabled via disabled_rules, contradicting the PR's stated goal and regressing users who rely on it.", "category": "correc...
null
agent-sh__agnix__151
agent-sh/agnix
151
defect
d56da6ef7ff60adf43156955c5aee5f2823a020c
bb45d5320fd9d8f9e928776cf9881cdf31331c89
feat: implement auto-fixes for AS-004 and AS-010
## Summary Implements auto-fix capabilities for two skill validation rules: - **AS-004 (Invalid Name Format)**: Converts invalid names to kebab-case - Lowercases, replaces underscores/spaces with hyphens, removes invalid chars - Case-only fixes marked as `safe=true`, structural changes marked as `safe=false` -...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 5093b9ff9..f8d6e8f36 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -49,7 +49,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Cross-platform tests for Unix and Windows symlink handling ### Added -- Auto-fix implementations for...
12
7
4
[{"id": "G0", "claim": "frontmatter_value_byte_range accumulates offsets assuming a single-byte newline, so on CRLF frontmatter abs_start/abs_end are under-counted by one byte per line and AS-004/AS-010 auto-fixes replace the wrong slice, corrupting the YAML.", "category": "correctness", "verdict": "supported", "priori...
null
agent-sh__agnix__166
agent-sh/agnix
166
defect
f252a7504dacd3daac5afd316f5986a6d52c3bb8
10b7462fc6bc2158c6da5adc75a8638f43ff2f6b
feat: version-aware rule evaluation (#104)
## Summary Introduces version-aware rule evaluation so agnix can behave deterministically when tool/spec versions are pinned, and provide helpful assumption notes when they are not. ### New Features - **Config Extension**: Added `[tool_versions]` and `[spec_revisions]` sections to `.agnix.toml` - Tool versions: `c...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 5425addb9..a3da84c06 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] ### Added +- Version-aware validation with configurable tool and spec versions + - New V...
7
4
2
[{"id": "G0", "claim": "is_mcp_revision_pinned() returns true whenever the legacy mcp_protocol_version field is Some, and that field gets a Some value from its serde default, so MCP-008's assumption note never appears when the user has not explicitly pinned a version; the fix is to drop the serde default and default th...
null
agent-sh__agnix__220
agent-sh/agnix
220
defect
695aa99f4f830b5938095f1f03ac832ab16ed12a
e8f2fad47743f0a8eb4c1b99f1bbeda403ffdd24
refactor: Split LintConfig into focused types (#214)
## Summary - Refactored `LintConfig` internal structure for better maintainability - Introduced `RuntimeContext` struct to group non-serialized state (root_dir, import_cache, fs) - Introduced `RuleFilter` trait to encapsulate rule filtering logic - Public API remains fully backward compatible - no breaking changes ## ...
diff --git a/CHANGELOG.md b/CHANGELOG.md index feb21d345..121a6ba09 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Changed +- Refactored LintConfig internal structure for better maintainability (#21...
2
2
1
[{"id": "G0", "claim": "Removing the previously public root_dir and import_cache fields from LintConfig in favour of a private runtime field is a breaking API change for agnix-core consumers that directly read or wrote those fields, despite the commit message claiming backward compatibility.", "category": "correctness"...
null
agent-sh__agnix__235
agent-sh/agnix
235
defect
bc7b991b680df43888f1076d7c72947f2c8386a7
52b26693bb32212907428c92e1876262d1f2d563
docs: research tracking process and community contribution infrastructure (#191)
## Summary Establishes a formal research tracking process and community contribution infrastructure for agnix, addressing issue #191. - Research tracking document (`knowledge-base/RESEARCH-TRACKING.md`) with complete AI tool inventory organized by tier (S through E), documentation sources, academic research citations...
diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 000000000..64eb98dc3 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,2 @@ +blank_issues_enabled: true +contact_links: [] diff --git a/.github/ISSUE_TEMPLATE/rule_contribution.md b/.github/ISSUE...
5
5
2
[{"id": "G0", "claim": "The instruction to manually copy `rules.json` to `crates/agnix-rules/rules.json` is error-prone and can lead to the files getting out of sync; the step should be automated (e.g., a build.rs or pre-commit hook).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "...
null
agent-sh__agnix__249
agent-sh/agnix
249
defect
e0c8018c126a07f7a26a5c156e6ba31a4e864f24
3b6212cba7dbd6d6c26d4ac739378c31d7917ba8
fix(cli): return success when --fix resolves all issues
## Summary\n- recompute blocking diagnostics after non-dry-run fix application\n- use post-fix error/warning counts for final exit status\n- add integration regression test for successful --fix exit code\n\n## Validation\n- cargo test -p agnix-cli fix_exit_code -- --nocapture\n- cargo test -p agnix-cli\n- cargo fmt --a...
diff --git a/crates/agnix-cli/src/main.rs b/crates/agnix-cli/src/main.rs index 6933ce46f..a3e981b46 100644 --- a/crates/agnix-cli/src/main.rs +++ b/crates/agnix-cli/src/main.rs @@ -463,6 +463,9 @@ fn validate_command(path: &Path, cli: &Cli) -> anyhow::Result<()> { ); } + let mut final_errors = errors...
2
2
0
[{"id": "G0", "claim": "The error/warning counting logic is duplicated from lines 388-395 and should be extracted into a helper function to improve maintainability and reduce duplication.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new te...
null
agent-sh__agnix__261
agent-sh/agnix
261
defect
1a20fc93a19f5be5a9ddbec2310e56046f40e1e0
473c597fd4225d0ea6d799e6d213a8d1f197d9d9
feat(mcp): support multi-tool input for MCP validation
## Summary - add MCP `tools` input support for `validate_file` and `validate_project` (CSV string or array) - keep legacy `target` fallback, with `tools` taking precedence when non-empty - validate, canonicalize, and deduplicate tool names; reject unknown tools with `invalid_params` - add tests for parsing, fallback be...
diff --git a/README.md b/README.md index 0d67b89c6..3d88f39e4 100644 --- a/README.md +++ b/README.md @@ -255,6 +255,12 @@ cargo install agnix-mcp The server follows MCP best practices with rich parameter schemas and structured JSON output. +`validate_file` and `validate_project` support multi-tool filtering via `t...
6
6
0
[{"id": "G0", "claim": "The lists of supported tool names and aliases are hardcoded in several places (README, schemars descriptions, the unknown-tool error message and the server help) and are duplicated, so they can drift out of sync with the implementation; they should be generated from a single source of truth.", "...
null
agent-sh__agnix__329
agent-sh/agnix
329
defect
651e1044b142c5f3798e4b10c0cd2a7566f3f328
5792dd6eecc540f547612d49140d1cc18157e599
test: add 39 E2E tests for fix application pipeline [skip changelog]
## Summary - Add 39 new tests covering the full fix application pipeline (validate -> apply fix -> re-validate -> zero diagnostics) - Add YAML/JSON edge case tests: CRLF line endings, Unicode values, escaped quotes, long lines, empty values, nested YAML, mixed line endings - Add fix ordering tests: descending byte orde...
diff --git a/crates/agnix-core/src/fixes.rs b/crates/agnix-core/src/fixes.rs index 9ad63c6e2..43484f797 100644 --- a/crates/agnix-core/src/fixes.rs +++ b/crates/agnix-core/src/fixes.rs @@ -550,4 +550,184 @@ mod tests { // No fixes means no results assert!(results.is_empty()); } + + // ===== Ed...
3
2
0
[{"id": "G0", "claim": "The test_fix_same_position_insertions test should sort the fixes explicitly descending by start_byte, replace the weak contains-based assertions with an exact assert_eq! of the result string, and clean up its development-note comments.", "category": "testing", "verdict": "supported", "priority":...
null
agent-sh__agnix__337
agent-sh/agnix
337
defect
f29cc9c1af129a9d3661bb76cd6b1f9ad3f5171f
c755145946983707dd93785c9f086da1250858dc
feat: clickable rule links in IDEs, website URLs, README overhaul
## Summary - **Clickable rule codes in IDEs**: Added `code_description` to LSP diagnostics so rule codes (e.g. `AS-001`) in VS Code's Problems panel link directly to per-rule website documentation - **Explicit code action kinds**: Changed LSP `code_action_provider` from `Simple(true)` to `Options` with `QUICKFIX` kind...
diff --git a/README.md b/README.md index 479f4f0f2..084a648b5 100644 --- a/README.md +++ b/README.md @@ -17,11 +17,23 @@ The linter for your AI coding stack -- skills, hooks, memory, plugins, MCP, and **155 validation rules** | **Auto-fix** | **[VS Code](https://marketplace.visualstudio.com/items?itemName=avifenesh.ag...
4
2
1
[{"id": "G0", "claim": "The Neovim rule-category pickers build per-category URLs like .../docs/rules/generated/as that do not exist on the website, producing broken links; they should link to the /docs/rules index page (or another valid target) instead.", "category": "correctness", "verdict": "supported", "priority": "...
null
agent-sh__agnix__36
agent-sh/agnix
36
defect
b36ff2a9485a25fd7adcf1b7168f0229190b6a03
bc5688d0109c856f36947700d0496ce966df1714
feat(cli): add SARIF output format for CI integration
## Summary Adds `--format sarif` CLI option that outputs validation results as SARIF 2.1.0 JSON for GitHub Code Scanning integration. - New `sarif.rs` module with SARIF 2.1.0 compliant data structures - `--format` CLI argument with `text` (default) and `sarif` options - Full compliance with SARIF 2.1.0 specification ...
diff --git a/.plan.md b/.plan.md new file mode 100644 index 000000000..c374a1519 --- /dev/null +++ b/.plan.md @@ -0,0 +1,85 @@ +# Implementation Plan: #13 - Add SARIF output format for CI integration + +## Overview + +Add `--format sarif` CLI option that outputs validation results as SARIF 2.1.0 JSON for GitHub Code Sc...
6
3
1
[{"id": "G0", "claim": "The README's GitHub Actions example pins github/codeql-action/upload-sarif to @v2 and should be updated to the latest major version @v3.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The exit-code logic (errors, or warning...
null
agent-sh__agnix__368
agent-sh/agnix
368
defect
3e9f7a6c4e15e2048f369ea5b3beacd12bf704bc
142d3f9f65e88cf0b26fed8eb4781d0679188266
docs: backward-compatibility policy and cross-crate tests
## Summary - Add backward-compatibility policy to CONTRIBUTING.md documenting public vs. internal API surface with three stability tiers (Public/Stable, Public/Unstable, Internal) - Add API contract tests for agnix-core verifying all public types, function signatures, trait implementations, and enum variants - Add wor...
diff --git a/AGENTS.md b/AGENTS.md index 29dbd908a..b1e2157e2 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -130,7 +130,7 @@ Format: `[CATEGORY]-[NUMBER]` (AS-004, CC-HK-001, etc.) - v0.10.0 - Production-ready with full validation pipeline - 156 validation rules across 19 validators -- 2500+ passing tests +- 2600+ pass...
6
5
2
[{"id": "G0", "claim": "Add an assertion for the number of FileType variants (and similarly for the other enum-variant tests) so the test forces a conscious update when the enum's size changes.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Refactor lsp_...
null
agent-sh__agnix__371
agent-sh/agnix
371
defect
162593351c63ad8c5b3d0ef666a89802ece4cc2b
8dba2fcd4cec2b81bfb946f5aebf21dba4abd37b
feat(core): make ValidatorRegistry extensible with plugin architecture
## Summary Adds a plugin architecture to `ValidatorRegistry` enabling external validator registration and runtime validator control. Closes #348. - **`ValidatorProvider` trait** -- Extension point for supplying validator factories from external sources (plugins, secondary rule sets) - **`ValidatorRegistryBuilder`** -...
diff --git a/AGENTS.md b/AGENTS.md index 1b54a649c..501a302e0 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -72,7 +72,7 @@ tests/fixtures/ # Test cases by category - `fixes.rs` - Auto-fix application engine - `fs.rs` - FileSystem trait abstraction (RealFileSystem, MockFileSystem) - `pipeline.rs` - ValidationResult, ...
5
5
3
[{"id": "G0", "claim": "ValidatorRegistryBuilder::with_defaults() can be called multiple times and appends the built-in DEFAULTS repeatedly, causing duplicate validator factories and duplicate diagnostics at runtime; make it idempotent or explicitly document that it may be called only once.", "category": "design", "ver...
null
agent-sh__agnix__373
agent-sh/agnix
373
defect
aa98c1f25ce39792073390c0eae4bbdcf0d86849
52b4666aebc10a1aca7e4929cb539729c84e4c89
feat: add structured metadata to Diagnostic model
## Summary - Add `RuleMetadata` struct (category, severity, applies_to_tool) to the `Diagnostic` model - Auto-populate metadata at construction time via build-time lookup table generated from `rules.json` - Surface metadata in all output formats: JSON, SARIF, MCP, LSP, and CLI (verbose) - Backward-compatible: uses `Opt...
diff --git a/CHANGELOG.md b/CHANGELOG.md index d90f16e00..403f20eaf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] ### Added +- **Structured rule metadata in diagnostics** - All diagnostic outputs (JSON, S...
5
5
2
[{"id": "G0", "claim": "The if/else is_empty() pattern used to turn rule metadata strings into Option should be replaced with the more idiomatic and concise (!s.is_empty()).then(...) form, in both sarif.rs and diagnostics.rs.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduce...
null
agent-sh__agnix__375
agent-sh/agnix
375
defect
047fe9ac1dbbf15d4f0f5122c9f2daea2d6d626e
df4b36dd2efddbc954a6f1c8bb534717ce37bbd7
Refactor error types into hierarchical structure
## Error Type Unification - Complete ✅ Successfully unified error handling across agnix crates with a hierarchical error structure that provides better context while maintaining backward compatibility. ### Implementation Complete - [x] **CoreError Hierarchy**: Defined with File, Validation, and Config variants - [x]...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 4239922c8..7949d7dcb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,9 +13,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - **Builder pattern**: `ValidatorRegistry::builder()` for ergonomic registry construction with `with_defau...
6
4
2
[{"id": "G0", "claim": "The source_diagnostics() docstring says it extracts file-level errors from a validation error context, but the implementation only returns a value for CoreError::File(_) and always returns an empty vec for CoreError::Validation(_); either the docs should be adjusted to match the behavior or the ...
null
agent-sh__agnix__377
agent-sh/agnix
377
defect
775a07c809206928251963eaf9336cf5013fa5cb
77f178eee0b147b4ffddb42a2f97cf2078d3e8b8
chore(deps): bump remaining dependency PRs with fixes
## Summary Combines and fixes the remaining 5 Dependabot PRs that needed code/config changes to pass CI: - **notify-debouncer-mini** 0.5 → 0.7 (closes #365) — resolves notify-types duplicate from #363 - **rhysd/actionlint** v1.7.1 → v1.7.10 (closes #358) — updated pinned hash in docs-site.yml + test - **iai-callgrind...
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f08fc20bf..fcd9995e8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -138,7 +138,7 @@ jobs: run: sudo apt-get update && sudo apt-get install -y valgrind - name: Install iai-callgrind-runner run: | - ...
4
2
0
[{"id": "G0", "claim": "A few windows-* crate versions present in the dependency tree (windows-sys 0.61.2, windows-targets 0.53.5) are missing from the deny.toml skip list, which will likely cause the cargo-deny check to fail; please add them.", "category": "correctness", "verdict": "opposed", "priority": "P0", "scope"...
null
agent-sh__agnix__413
agent-sh/agnix
413
defect
b2c0189c03f9b8dc600ffae1b4e151254b4e5cae
c701430055254b06da31c2d99d33ee7fe05651f1
feat(autofix): confidence-based modes, fix dependencies, and preview UX
## Summary - extend `Fix` metadata with confidence score, group alternatives, and dependency keys - add confidence-tiered fix application modes (`SafeOnly`, `SafeAndMedium`, `All`) with new optioned APIs - wire CLI support for `--fix-unsafe` and `--show-fixes`, including confidence-aware fix display - improve fix-selec...
diff --git a/README.md b/README.md index 06a600260..41d82f543 100644 --- a/README.md +++ b/README.md @@ -55,7 +55,7 @@ CLAUDE.md:15:1 warning: Generic instruction 'Be helpful and accurate' [fixable] Found 1 error, 1 warning 2 issues are automatically fixable -hint: Run with --fix to apply fixes +hint: Run with --...
11
5
3
[{"id": "G0", "claim": "The new FixConfidenceTier enum is not re-exported from the crate root (lib.rs), so external consumers cannot use Fix::confidence_tier() effectively without importing it from deep inside the diagnostics module; add it to the public exports alongside Fix.", "category": "design", "verdict": "suppor...
null
agent-sh__agnix__428
agent-sh/agnix
428
defect
0f003081ab5cca0f11c6321f59775a2f3a8c6bd0
be112032491835cecc493b3cd47ee0c08099a1cd
fix(plugin): make description and version recommended, not required (CC-PL-004)
## Summary Fixes #397 CC-PL-004 previously treated `name`, `description`, and `version` as equally required (error-level) fields in plugin manifests. Per the Claude Code plugin documentation, only `name` is required - `description` and `version` are recommended but optional. - **Schema**: Changed `description` and `...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 94e1e1324..20079d18c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -825,7 +825,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - CC-PL-001: Validates plugin.json is in .claude-plugin/ directory - CC-PL-002: Detects misplaced co...
6
5
3
[{"id": "G0", "claim": "For consistency with check_required_field, check_recommended_field should drop its guard clause and use a direct `if is_field_missing(...)` condition wrapping the push.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Plugi...
null
agent-sh__agnix__437
agent-sh/agnix
437
defect
b6c7d07cde7e8efd6ae11f1c16a9486825a4d775
4aa4e09cbf4aef4e6cb942f92e622fe999211667
fix(cursor): detect .md and nested .cursor/rules files [skip changelog]
## Summary - detect Cursor rule files under `.cursor/rules/**` instead of only direct children - support both `.md` and `.mdc` Cursor rule files in detection - add/extend tests for nested detection, `.md` support, and non-matching Cursor markdown paths - refresh stale Cursor rule evidence URLs in `knowledge-base/rules....
diff --git a/crates/agnix-core/src/file_types/detection.rs b/crates/agnix-core/src/file_types/detection.rs index 2bed3af85..969afb951 100644 --- a/crates/agnix-core/src/file_types/detection.rs +++ b/crates/agnix-core/src/file_types/detection.rs @@ -102,6 +102,21 @@ fn is_under_github_instructions(path: &Path) -> bool {...
2
2
1
[{"id": "G0", "claim": "Extract the consecutive-component path-matching logic duplicated between the new is_under_cursor_rules and the existing is_under_github_instructions into a generalized helper function.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1",...
null
agent-sh__agnix__446
agent-sh/agnix
446
defect
7bfcb6ff803f0305ed747d0cb5b08de56542701d
e30480d83c1edbf5dba71cac39ceb395577a24be
test: add CI parity check for workspace crates vs docs
## Summary - Added comprehensive parity test that dynamically parses `Cargo.toml` workspace members and verifies every crate is documented in all 5 canonical files (CLAUDE.md, AGENTS.md, README.md, SPEC.md, CONTRIBUTING.md) - Replaced the narrow `architecture_docs_include_workspace_wasm_crate` test (only checked `agnix...
diff --git a/CHANGELOG.md b/CHANGELOG.md index b3a6643a9..a9b913f98 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,6 +25,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - **New playground presets**: AGENTS.md, `.claude/agents/reviewer.md`, `plugin.json`; enriched `.claude/set...
2
2
1
[{"id": "G0", "claim": "The two chained `filter_map` calls in `architecture_docs_list_all_workspace_crates` can be combined into a single `filter_map` using the `?` operator for conciseness and readability.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "...
null
agent-sh__agnix__455
agent-sh/agnix
455
defect
5b26668de05951379e10476ba0cf85821fdd1ff9
030a7a81ac912c2a625d7ac8636fad4230d80f25
test: cover resolve_validation_root file-input path behavior (#450)
## Summary - Adds 7 integration tests covering the file-input branch of `resolve_validation_root` at `pipeline.rs:885` - Tests exercise `validate_project()`, `validate_project_rules()`, and `validate_project_with_registry()` with file paths instead of directory paths - Covers: single-file validation scoping, diagnostic...
diff --git a/AGENTS.md b/AGENTS.md index 9461733f6..37c478a54 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -183,7 +183,7 @@ Format: `[CATEGORY]-[NUMBER]` (AS-004, CC-HK-001, etc.) - v0.10.0 - Production-ready with full validation pipeline - 229 validation rules across 26 validators -- 2600+ passing tests +- 3400+ pass...
1
1
0
[{"id": "G0", "claim": "The assertion in test_validate_project_file_input_nonexistent_path should include the actual diagnostics in its failure message for better debuggability, matching the repository rule to include actual values in test failure messages.", "category": "testing", "verdict": "supported", "priority": "...
null
agent-sh__agnix__492
agent-sh/agnix
492
defect
06f8db9539c6f9bc4cbeced21cf868c36ef1022c
1378f72a7a40527e96c7f4fa60c15f5b184c52eb
perf(registry): use &'static str for validator names
## Summary - Change `ValidatorRegistry` internal storage from `String` to `&'static str` for validator names, eliminating ~60 unnecessary heap allocations per registry creation - Add `disable_validator_owned(&str)` and `without_validator_owned(&str)` methods for config-sourced runtime strings that use `String::leak()` ...
diff --git a/AGENTS.md b/AGENTS.md index d14b0e79a..13ffc6ac1 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -99,7 +99,8 @@ pub struct ValidatorRegistry { /* ... */ } impl ValidatorRegistry { pub fn builder() -> ValidatorRegistryBuilder; pub fn with_defaults() -> Self; - pub fn disable_validator(&mut self, nam...
6
3
2
[{"id": "G0", "claim": "String::leak() in the _owned methods leaks a new allocation on every call and can be triggered from the configuration file, which can lead to continuous memory growth and potential DoS in long-running processes; the code should check whether the validator name is already in the set before alloca...
null
agent-sh__agnix__493
agent-sh/agnix
493
defect
7636702eba62c1ed6e39851ae51c36d7da619769
7a65a245bb01f0f4fe7894d7d6747dc5e4f8d606
fix(sarif): detect workspace root for correct artifact locations
## Summary - SARIF output now uses the git repository root as base path for artifact URIs instead of CWD, fixing IDE file navigation when running from subdirectories - Falls back to CWD when the scan path is not inside a git repository - Text and JSON output formats retain CWD-based paths for backwards compatibility ...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 021d66273..d4a0e621d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -48,6 +48,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - **Autofix dependency/group edge cases**: Dependency checks now consider only structurally applicable fixe...
5
4
3
[{"id": "G0", "claim": "find_git_root returns None when canonicalization of the start path fails, even though the path exists, and Copilot asks to fall back to walking the non-canonical path (or document why the CWD fallback is acceptable).", "category": "correctness", "verdict": "supported", "priority": "P1", "scope":...
null
agent-sh__agnix__499
agent-sh/agnix
499
defect
42c60d6f548481388509c10b241de76adbd4ce63
c22f82e2feae901eef10456dbf9f101209c6010f
perf(registry): cache validator instances to eliminate per-file re-instantiation
## Summary - Replace `HashMap<FileType, Vec<ValidatorFactory>>` with `HashMap<FileType, Vec<Box<dyn Validator>>>` in `ValidatorRegistry` - factories are called exactly once at registration time, instances cached permanently - Change `validators_for()` return type from `Vec<Box<dyn Validator>>` to `&[Box<dyn Validator>...
diff --git a/AGENTS.md b/AGENTS.md index c0d93083b..6f366a37c 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -81,7 +81,8 @@ tests/fixtures/ # Test cases by category ```rust // Primary extension point -pub trait Validator { +// Implementors must be Send + Sync + 'static (cached in registry, shared across threads) +pu...
4
4
0
[{"id": "G0", "claim": "Using String::leak() for runtime validator names in disable_validator_owned() and without_validator_owned() leaks memory on every unique name and can exhaust memory in long-running processes; disabled_validators should store owned Strings instead of &'static str.", "category": "security", "verdi...
null
agent-sh__agnix__500
agent-sh/agnix
500
defect
64897e6b0eb18af5a949e6a70975ac28b57d1eb5
5d94d1acad737c7f06a73a963faa57aa0d48f7b8
perf(registry): avoid factory() call for disabled validators via static name table (#461)
## Summary - Extends the internal `DEFAULTS` table from `&[(FileType, ValidatorFactory)]` to `&[(FileType, &'static str, ValidatorFactory)]`, embedding the static validator name alongside each factory - Adds private `register_named()` fast path that checks the disabled-validator set *before* calling the factory, elimi...
diff --git a/.task/workflow-status.json b/.task/workflow-status.json index 256f7d773..142e00339 100644 --- a/.task/workflow-status.json +++ b/.task/workflow-status.json @@ -1,45 +1,31 @@ { - "taskId": 405, - "phase": "implementation", - "status": "complete", - "implementationComplete": true, - "currentStep": "imp...
3
2
2
[{"id": "G0", "claim": "In the CLAUDE.md snippet, named_validators() is shown as a required trait method with no default body although it has a default implementation in registry.rs, so the snippet should show the default body to avoid implying a breaking change for implementers.", "category": "documentation", "verdict...
null
agent-sh__agnix__503
agent-sh/agnix
503
defect
386dcc2748d39ef3de58fefd8408727aab3dcdc6
49d127a4a5750ed01f44f87e8d5c019d3a5444e1
fix(pipeline): apply config disabled_validators in validate_file_with_type (#469)
## Summary - `validate_file_with_type()` (used by `validate_file_with_registry()` and `validate_project_with_registry()`) silently ignored `config.rules().disabled_validators`. Validators were only filtered via registry-level disabling, but callers sharing a single registry (e.g. the LSP) had no mechanism to apply per...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 7aa783708..692d4c55b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -45,6 +45,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - **Disabled-validator fast path**: Added `named_validators()` to `ValidatorProvider` trait (default impl w...
3
2
1
[{"id": "G0", "claim": "The validation logic duplicated between validate_file_with_type and validate_content should be extracted into a shared private helper function to adhere to DRY and improve maintainability.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "...
null
agent-sh__agnix__510
agent-sh/agnix
510
defect
5bfb79ccc70b67d466eb0f2c887419e3d6983992
be213b0a7ee5e2419111fd2ea1392d3e94308c76
feat(core): introduce ValidationOutcome to distinguish file I/O errors from validation results
## Summary - Introduces `ValidationOutcome` enum in `agnix-core` to make the distinction between file I/O failures and successful validation explicit at the type level - Changes `validate_file` and `validate_file_with_registry` return type from `LintResult<Vec<Diagnostic>>` to `LintResult<ValidationOutcome>` - The `Er...
diff --git a/AGENTS.md b/AGENTS.md index 183927259..39716651e 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -68,13 +68,13 @@ tests/fixtures/ # Test cases by category - `schemas/` - Type definitions (13 schemas: skill, hooks, agent, mcp, cline, roo, etc.) - `rules/` - Validators implementing Validator trait (25 valida...
4
4
3
[{"id": "G0", "claim": "The `validate_file` doc comment says the `Err` path covers config-level errors like invalid exclude patterns, but `validate_file` handles such patterns leniently (skipping affected files as `Skipped`), so the documented API contract is misleading and should be updated to reflect the actual error...
null
agent-sh__agnix__512
agent-sh/agnix
512
defect
c7b1eb42e2f2d380feb32c30e8c76d874d43082e
7fd991bed44b8d6a4af5f2f3088ebd91fc6a1b67
docs(core): document named_validators() name/factory invariant and add debug guard
## Summary - Expand `ValidatorProvider::named_validators()` doc comment with a `# Name invariant` section warning that each `Some(name)` **must** equal `factory().name()` - violating this silently breaks the disabled-validator mechanism - Add `debug_assert_eq!` inside `register_named()` to catch name/factory mismatche...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 1cf5b18b2..c5cd1529f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -38,6 +38,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - **Docs**: Updated architecture references in README.md, SPEC.md, CLAUDE.md, and AGENTS.md to explicitly i...
1
1
0
[{"id": "G0", "claim": "In release builds, where `debug_assert_eq!` is a no-op, the added call to `instance.name()` (a dynamic dispatch on `Box<dyn Validator>`) and the assignment to `runtime_name` still execute, so the block should be wrapped in `#[cfg(debug_assertions)]` or the call moved into the macro to be fully o...
null
agent-sh__agnix__513
agent-sh/agnix
513
defect
bcc30d0a08e3a7c858fbca054e3cd407589fadb9
a6feff77d9cbcdc2fe32bed0e2a62c1207d823f3
fix(mcp): clarify ToolsInput schema to signal array preference
## Summary - Replace auto-derived `JsonSchema` on `ToolsInput` with manual impl that emits `anyOf` with the array variant first - Add `inline_schema = true` so MCP clients see the array-preferred `anyOf` directly at each property site instead of a `$ref` to `$defs` - critical because some clients do not follow refs wh...
diff --git a/CHANGELOG.md b/CHANGELOG.md index c5cd1529f..e960d1ded 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -66,6 +66,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - **SARIF artifact URIs**: Now uses git repository root as base path instead of current working directory, ...
5
5
2
[{"id": "G0", "claim": "Reword the test helper doc comment, which mentions \"$ref resolution\" although the helper does not resolve $ref, to describe the actual traversal (Option wrapper anyOf -> nested ToolsInput anyOf).", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {...
null
agent-sh__agnix__514
agent-sh/agnix
514
defect
95b6fb3af6f6563ac11a34a6e7bd747c28e161c7
887ecaa803c76a1fcaa28606f53007ed90f2d3ca
fix(core): replace eprintln! with Diagnostic warnings in library crate
## Summary - Removes all 4 `eprintln!` calls from `agnix-core` (library purity fix) - `pipeline.rs`: invalid glob patterns in `[files]` config now surface as `Diagnostic::warning` (rule `config::glob`) through `ValidationResult` instead of writing to stderr - `markdown.rs`: removes 3 `eprintln!` calls from pulldown-cm...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 14d3bb8d7..b5d0f1f52 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -67,6 +67,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - **CI**: Moved `VSCE_PAT` from CLI argument to environment variable in VS Code extension publish step, pre...
2
1
0
[{"id": "G0", "claim": "When max_files_to_validate is exceeded, validate_project_with_registry returns Err(TooManyFiles) and drops the accumulated diagnostics including the new config::glob warnings, so callers never receive them on that error path (a regression versus the previous stderr output); the reviewers asked t...
null
agent-sh__agnix__516
agent-sh/agnix
516
defect
bd7482b56320e39447c6ea3face4784bb3c26a63
3605512701adcbf23afde99d763c72c861cb14b4
fix(core): scope build_unchecked() to test-only, add build_lenient() (#475)
## Summary - **Add `build_lenient()`** to `LintConfigBuilder`: runs security-critical glob validation (syntax, path traversal, absolute paths) while skipping semantic warnings (unknown tool names, deprecated fields, unknown rule prefixes). Intended for embedders like the WASM playground that need to accept future tool...
diff --git a/AGENTS.md b/AGENTS.md index e08738e04..dfd2ff18d 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -136,7 +136,8 @@ impl LintConfigBuilder { pub fn disable_rule(&mut self, id: impl Into<String>) -> &mut Self; pub fn disable_validator(&mut self, name: impl Into<String>) -> &mut Self; pub fn build(&mu...
4
3
2
[{"id": "G0", "claim": "In the WASM validate() entry point, `build_lenient().unwrap_or_default()` silently falls back to a default configuration if build_lenient() fails for an unexpected reason, losing the user-provided tool filter; the call site should use expect() (since it cannot fail when only tools() is set) or h...
null
agent-sh__agnix__519
agent-sh/agnix
519
defect
6a75d1dd61a22f40c59ba865374151b568b4a2ef
72299054f49cd9d9d1d1208c9e3b6581c55b3034
feat(core): feature-gate __internal module and promote normalize_line_endings to stable API
## Summary Resolves #472. - Add `__internal` Cargo feature flag to `agnix-core` to gate the `__internal` module, removing the implicit semver obligations created by its previously unconditional public visibility - Promote `normalize_line_endings` to a stable public API at the crate root (`agnix_core::normalize_line_e...
diff --git a/AGENTS.md b/AGENTS.md index 02d35bdf3..62d0879bc 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -138,6 +138,8 @@ impl LintConfigBuilder { pub fn build(&mut self) -> Result<LintConfig, ConfigError>; pub fn build_lenient(&mut self) -> Result<LintConfig, ConfigError>; // build_unchecked() exists but...
1
1
1
[{"id": "G0", "claim": "The single comprehensive test function for normalize_line_endings should be split into multiple smaller tests, each focusing on a specific case (e.g., CRLF, lone CR, LF-only), for clearer failure signals and better debuggability.", "category": "testing", "verdict": "supported", "priority": "P1",...
null
agent-sh__agnix__525
agent-sh/agnix
525
defect
a70f1161a7712463ff130f99df5fa9d54b5d2031
0254637d639153500e4a6a4a44f4a954dc740a61
fix(core): emit lint::cache-poison diagnostic when ImportCache RwLock is poisoned
## Summary - Emit `Diagnostic::warning` with rule `lint::cache-poison` at all three `RwLock` poison recovery sites in `ImportsValidator` instead of silently calling `into_inner()` - Use `push_unique_diagnostic` for deduplication (one warning per file regardless of how many poison sites are hit during traversal) - Add ...
diff --git a/CHANGELOG.md b/CHANGELOG.md index bab2b5cd1..306acbff8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -62,6 +62,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed - **Predictable UUID Generation for Telemetry**: Replaced the custom, insecure random number g...
3
2
0
[{"id": "G0", "claim": "The new file-level cache-poison diagnostics use a hardcoded line number of 0, but the repository's general rules require file-level diagnostics to use a hardcoded line number of 1.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Th...
null
agent-sh__agnix__544
agent-sh/agnix
544
defect
f77834a05694396f7246a9e66253e23a7c9a752e
714476a95c1febae3b649a0b0d321af6cd0060a3
feat(lsp): track document versions and include in publish_diagnostics
## Summary - Add `document_versions: Arc<RwLock<HashMap<Url, i32>>>` field to `Backend` to track the latest document version reported by the client - Store version on `did_open` and `did_change`; clear on `did_close` - Both `documents` and `document_versions` maps are updated under a single dual-lock acquisition to pr...
diff --git a/CHANGELOG.md b/CHANGELOG.md index a8a37af50..4c92e3207 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -63,6 +63,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - **`LintConfig` cheap cloning**: Introduced `Arc<ConfigData>` inner struct to hold all serializable fields...
4
3
2
[{"id": "G0", "claim": "Reading the document version just-in-time after content validation leaves a window where a concurrent did_change can publish stale diagnostics with a newer version, defeating client-side stale-result suppression; capture content and version together under one lock and publish with the version ca...
null
agent-sh__agnix__605
agent-sh/agnix
605
defect
3bb06481983168cf02568cbb7ce29def16764479
52f166160a41dafa5ee2dabffa1a67262fd82e78
feat: support agnix --target kiro and tools = ["kiro"]
## Summary\n- add as a first-class target across CLI and core config enums\n- allow and Kiro rule prefixes in config validation\n- align MCP and LSP target parsing with Kiro support\n- add CLI/core/MCP/LSP/contract tests and docs examples for Kiro targeting\n\n## Validation\n- cargo build --workspace\n- cargo test -p...
diff --git a/README.md b/README.md index f45478ae0..d679e294d 100644 --- a/README.md +++ b/README.md @@ -105,6 +105,7 @@ agnix --fix-unsafe . # Apply all fixes, including LOW confidence agnix --dry-run --show-fixes . # Preview fixes with inline diff output agnix --strict . # Strict mode (warnings = errors) agni...
4
4
2
[{"id": "G0", "claim": "The doc comment for `target` lists kebab-case values while `TargetTool` is serialized as PascalCase in TOML/JSON, which can mislead users editing `.agnix.toml`; update the comment (and schemars description) to reflect the actual serialized forms.", "category": "documentation", "verdict": "suppor...
null
agent-sh__agnix__606
agent-sh/agnix
606
defect
a0fd1b19f3d12bd343f702fba1ee496be9abe1cb
e0e525a39521bc2a18c9161da9e35af515a02f96
Add Kiro to README Supported Tools table
## Summary - add Kiro to the README Supported Tools table with current prefixes and config surfaces - add a docs parity test to ensure the Kiro table row stays aligned with rules.json-derived counts and file patterns - add changelog entry for issue #596 and fix README top-line rule count to current total ## Testing - ...
diff --git a/CHANGELOG.md b/CHANGELOG.md index b34d071db..7f88a12ac 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - **Kiro target support**: Added `Kiro` to `TargetTool` and CLI `--target kiro` handling across ...
1
1
0
[{"id": "G0", "claim": "The README rules link's hardcoded rule count has drifted before, so extend docs_website_parity.rs (or otherwise avoid the hardcoded total) so future rule additions don't require manual README updates.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced...
null
agent-sh__agnix__724
agent-sh/agnix
724
defect
d5494bbd5aba37b8e2281c67613cb47cc66d76c2
6ab423635ffc13875848f1b9e2a48bdba7875c66
fix(cli): accept multiple paths so pre-commit only lints changed files (#723)
Closes #723. ## Summary - CLI positional arg goes from `path: PathBuf` to `paths: Vec<PathBuf>` (`num_args = 1..`, default `["."]`) - Single directory path still runs the full project walk. Multiple paths (or single file paths) validate only those files via `validate_file_with_registry`, sharing one registry - `.pre-c...
diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml index ecbfbaada..817a6ab86 100644 --- a/.pre-commit-hooks.yaml +++ b/.pre-commit-hooks.yaml @@ -19,8 +19,7 @@ \.github/copilot-instructions\.md| \.cursor/rules/.*\.mdc )$ - pass_filenames: false - args: [--strict, .] + args: [--strict] ...
6
6
4
[{"id": "G0", "claim": "When individual files are passed, project-wide rules (e.g. XP-006, AGM-006) are never run, contradicting the help text's claim that project-wide rules still run against the workspace root; the reviewer asks to run project rules on the workspace root and merge their diagnostics, or to correct the...
null
agent-sh__agnix__725
agent-sh/agnix
725
defect
78721032457587ca76c2633fc9e348afe1cb8507
92ef9d1cedc77bc5f350ac2045dc4ad0cf105b07
fix(core): [files].exclude now filters project-level rules too (#722)
Closes #722. ## Root cause Two separate exclude filters living at different pipeline layers: - **Top-level \`exclude\`** - applied at the directory walker (\`filter_entry\`). Matching paths never enter the walk. - **\`[files].exclude\`** - applied inside \`resolve_file_type\`. Matching paths get \`FileType::Unknown\...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 24beb06e6..d6f0f083b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - **Docusaurus** - bumped `@docusaurus/core` and `@docusaurus/preset-classic` from 3.9.2 to 3.10.0. ### ...
2
1
1
[{"id": "G0", "claim": "config_diags.dedup_by only removes consecutive duplicates, so with two or more invalid [files].exclude patterns the appended walker warnings and config warnings are not adjacent and each bad-pattern warning is shown twice; the reviewer asks to sort or key-based dedupe so duplicates become adjace...
null
agent0ai__agent-zero__1550
agent0ai/agent-zero
1,550
defect
b7b9a55bb5dd81e8d551a18ed6bde8278fae4b09
14f5185cff6a493d6d66b36fd34e36db6e70bc6a
fix: tool request validation crash on non-canonical field names
1. `validate_tool_request` only checks canonical keys `tool_name`/`tool_args`, while `process_tools` already supports dual-key fallback (`tool`/`args`). Valid non-canonical JSON from smaller models is incorrectly rejected at validation, triggering an error. 2. `validate_tool_request` raises `ValueError` instead of `Re...
diff --git a/agent.py b/agent.py index e7a73e8589..c60b6dc230 100644 --- a/agent.py +++ b/agent.py @@ -875,7 +875,10 @@ async def process_tools(self, msg: str): # Only validate when extraction produced an object; None means no JSON tool # block was found — the misformat warning path below handles that...
1
1
1
[{"id": "G0", "claim": "Validation accepts fallback `tool`/`args` keys while execution still reads `tool_name`/`tool_args` independently, so a payload with an empty or malformed canonical field plus a valid fallback field can pass validation yet execute the bad canonical values; normalize the request once into a canoni...
null
agentfront__frontmcp__233
agentfront/frontmcp
233
defect
5aed3dffb0972ac8987a2746cf1be96567f8d9ad
d872308426eab7b5d7826e23dec99815a5613941
feat: Enhance security by implementing least-privilege permissions and improving HTML sanitization
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * HTML sanitization utilities and a safe HTML renderer; UI components (alerts, badges, cards, forms, etc.) now offer optional sanitization. * Optional CORS configuration for the Express host ada...
diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 1af853e74..4a0104aa3 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -16,6 +16,10 @@ concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true +# Minimal permissions for security (l...
21
7
4
[{"id": "G0", "claim": "Decoding &lt;/&gt; before &amp; in decodeHtmlEntities double-unescapes input like &amp;lt;, so the sanitizer's output can contain real script tags (CodeQL: double escaping or unescaping).", "category": "security", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "cl...
null
agentfront__frontmcp__265
agentfront/frontmcp
265
defect
340fbec7ba7dd1943e7f46d0ab2021d8697390a9
8229546401603930b6b945e695512b11d347c811
feat: Add UI generators for components, pages, and shells ponding schemas and templates
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * UI generators added: component, page, and shell; workspace AI templates (CLAUDE/AGENTS/.mcp) and generator registrations. * **Improvements** * Calculator agent input validation tightened to rej...
diff --git a/apps/demo/eslint.config.mjs b/apps/demo/eslint.config.mjs index 724052a2e..b7f62772e 100644 --- a/apps/demo/eslint.config.mjs +++ b/apps/demo/eslint.config.mjs @@ -1,5 +1,3 @@ -import baseConfig from "../../eslint.config.mjs"; +import baseConfig from '../../eslint.config.mjs'; -export default [ - ...b...
35
28
4
[{"id": "G0", "claim": "Both calculator evaluation paths silently rewrite unsupported input into a different expression (e.g. '2^3' becomes '23'), so validate the original string first and only normalize whitespace instead of stripping characters.", "category": "correctness", "verdict": "supported", "priority": "P1", "...
null
agentfront__frontmcp__288
agentfront/frontmcp
288
defect
b2d5f3b95cbbba9f21cf2601f674d69466618207
b9ac70651f974e63ee0a49270ece1f9228ee8a1d
feat: persist client capabilities in session store for recreation
fixes #279 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Sessions can store and restore client capabilities so behaviors (like elicitation) persist across reconnects and transport recreation. * Initialization now accepts client capabiliti...
diff --git a/libs/auth/src/session/transport-session.types.ts b/libs/auth/src/session/transport-session.types.ts index bebcebcb4..95028b38a 100644 --- a/libs/auth/src/session/transport-session.types.ts +++ b/libs/auth/src/session/transport-session.types.ts @@ -169,6 +169,8 @@ export interface StoredSession { * This...
2
2
1
[{"id": "G0", "claim": "The capability persistence write is fire-and-forget, so a fast reconnect/recreation can happen before capabilities are stored, keeping elicitation behavior intermittent; the call should be awaited.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"i...
null
agentfront__frontmcp__304
agentfront/frontmcp
304
defect
68d8cbf6f6519aec59d073b6dbb2583f0b75e2d1
847deba9b53041588a90d4801a641a37e9f34b69
feat(nx-plugin): add git initialization to workspace generator with fallback for missing git
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Documentation** * Clarified CLI docs (doctor --fix, create initializes git), quickstart, and deployment notes; updated decorator docs with stronger type-safety guidance. * **New Features** * Scaffolded projec...
diff --git a/docs/frontmcp/deployment/local-dev-server.mdx b/docs/frontmcp/deployment/local-dev-server.mdx index aa5e9bb4b..fb36c0f24 100644 --- a/docs/frontmcp/deployment/local-dev-server.mdx +++ b/docs/frontmcp/deployment/local-dev-server.mdx @@ -86,6 +86,9 @@ npm run docker:down # Rebuild the Docker image npm ru...
3
3
0
[{"id": "G0", "claim": "The `...` in the tool.mdx compile-error example is not valid TypeScript syntax; use a comment or placeholder code instead for clarity.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The @Resource and @Prompt docs present ty...
null
agentgateway__agentgateway__1054
agentgateway/agentgateway
1,054
defect
60702e2130901bc07c8ca41e8434dc6d3ed0182a
8fe77e6e188e5849a523a7549cfc3de68798e96b
Fix nested CEL expressions in RateLimit descriptor value
After https://github.com/agentgateway/agentgateway/pull/877 having a CEL expression for the RL descriptor that is nested (e.g. `jwt.sub`) resulted in the descriptor being omitted from the RL request. This PR fixes it by trying to get the dynamic value.
diff --git a/crates/agentgateway/src/http/remoteratelimit.rs b/crates/agentgateway/src/http/remoteratelimit.rs index 94e8739ec7..286e99e6db 100644 --- a/crates/agentgateway/src/http/remoteratelimit.rs +++ b/crates/agentgateway/src/http/remoteratelimit.rs @@ -134,6 +134,14 @@ impl RemoteRateLimit { .filter(|e| e.lim...
1
1
0
[{"id": "G0", "claim": "The materialization of Dynamic CEL values should be moved into `value_as_string` and the other casting helpers so the conversion cannot be missed at call sites.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
agentgateway__agentgateway__1112
agentgateway/agentgateway
1,112
defect
eb560f3142f0cc70ef75520e6c7a43f618fc8ef8
156d82c155f086f9c3295f4c3712f753a13d94e6
Update cargo deps
everything but mcp in https://github.com/agentgateway/agentgateway/pull/1327
diff --git a/Cargo.lock b/Cargo.lock index 83c69b0f6b..be91c4e2f2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -214,7 +214,7 @@ dependencies = [ "reqwest 0.12.28", "reqwest 0.13.2", "rmcp 0.10.0", - "rmcp 0.16.0", + "rmcp 1.3.0", "rstest", "rustls", "rustls-native-certs", @@ -231,7 +231,7 @@ dependencies = [...
2
1
0
[{"id": "G0", "claim": "Relay::get_info() should construct the MCP server-info `Implementation` with the version from `agent_core::version::BuildInfo::new().version` (as used elsewhere for OTEL resource and metrics build info) instead of `Implementation::from_build_env()`, so the MCP server-info version stays consisten...
null
agentgateway__agentgateway__1174
agentgateway/agentgateway
1,174
defect
a2fa5061d40743e3b4e0e8089587beb419ea36b2
33df023ec61ea3b47cc2e710faa11f895fa03dcd
add filterKeys cel functions
Fixes https://github.com/agentgateway/agentgateway/issues/1173 This PR adds two complementary CEL functions: ~- removeKeys (drop list) — drop fields matching a predicate: request.body.removeKeys(k, k.startsWith("anthropic_"))~ - filterKeys (allow list) — keep only fields matching a predicate: request.b...
diff --git a/crates/celx/src/function_tests.rs b/crates/celx/src/function_tests.rs index da561b96d4..49be8df4a5 100644 --- a/crates/celx/src/function_tests.rs +++ b/crates/celx/src/function_tests.rs @@ -109,6 +109,68 @@ fn map_values() { assert(json!({"bar": "world hi", "foo": "hello hi"}), expr); } +#[test] +fn r...
6
5
2
[{"id": "G0", "claim": "filter_map_keys iterates map.iter_keys() and then calls map.get(&k).unwrap() per key, which for MapValue::Borrow(VecMap) can cause repeated linear lookups and an unnecessary panic risk; iterating map.iter() would avoid the extra lookups and simplify the loop.", "category": "performance", "verdic...
null
agentgateway__agentgateway__1203
agentgateway/agentgateway
1,203
defect
fa9f72cbec0e6abc3a9ceff00107bafd3d9fe71d
831b922e93431a60e42fd9fc3df2a12b08fbf355
fix select branch getting stuck
Fixes https://github.com/agentgateway/agentgateway/issues/1204 Repro using older format of code: ```rust /// Demonstrates the tokio::select! footgun: `Ok(…) = fut` permanently /// disables the branch after the future returns Err, hanging the loop. #[tokio::test] async fn select_ok_pattern_hangs_on_err()...
diff --git a/crates/agentgateway/src/proxy/gateway.rs b/crates/agentgateway/src/proxy/gateway.rs index 3ed889198a..3f61f0c880 100644 --- a/crates/agentgateway/src/proxy/gateway.rs +++ b/crates/agentgateway/src/proxy/gateway.rs @@ -306,9 +306,19 @@ impl Gateway { let wait = drain_watch.wait_for_drain(); tokio::p...
4
3
0
[{"id": "G0", "claim": "The `sleep(50ms).await` inside the pre-drain accept-error branch blocks the loop from polling `wait_for_drain()` for up to 50ms, so drain signals can be delayed; the backoff sleep should be raced with `&mut wait`.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "i...
null
agentgateway__agentgateway__1254
agentgateway/agentgateway
1,254
defect
5798b5acaf57a17d479f295fcede3508a76a978e
e8fad565cbfce5c3af422eb86f1776a8147deb7a
tracing: fix start time on span
Fixes https://github.com/agentgateway/agentgateway/issues/1248
diff --git a/Cargo.lock b/Cargo.lock index 07149b1bfe..11d36ac152 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -46,6 +46,7 @@ dependencies = [ "arc-swap", "arcstr", "bytes", + "chrono", "crossbeam-channel", "durationfmt", "go-parse-duration", diff --git a/crates/agentgateway/src/http/jwt_tests.rs b/crates/ag...
1
1
1
[{"id": "G0", "claim": "Timestamp::as_datetime() converts SystemTime via chrono::Local, making RequestTime and other consumers depend on the node's configured timezone/DST, so the conversion should be switched to UTC (fixed offset 0) or the method renamed/documented if local time is intended.", "category": "correctness...
null
agentgateway__agentgateway__1317
agentgateway/agentgateway
1,317
defect
f0f27ad44020e54c7281d9c8e5ab12d5d561f46d
92d70f168523931d707fa47c124c6f3cf9759b9f
cel: fix LLM RL by avoiding using removed req extensions
This was a bug we worked around in MCP but not in LLM; I think the MCP fix was not ideal so changed it to use this approach consistently which should be a lot harder to mess up
diff --git a/crates/agentgateway/src/cel/benches.rs b/crates/agentgateway/src/cel/benches.rs index b2c39a63b0..fcd1ff2a87 100644 --- a/crates/agentgateway/src/cel/benches.rs +++ b/crates/agentgateway/src/cel/benches.rs @@ -176,7 +176,7 @@ fn test_benchmark_cases_snapshot() { let expr = Expression::new_strict(tc.expr...
4
1
1
[{"id": "G0", "claim": "snapshot_request with clear=false still unconditionally removes BufferedBody from the request extensions, dropping the buffered body needed by later CEL evaluation of request.body; it should follow the same conditional behavior as the other extensions.", "category": "correctness", "verdict": "su...
null
agentgateway__agentgateway__1415
agentgateway/agentgateway
1,415
defect
f6678a992cee106546ac3fd55fd31876c551a48a
3f467908437f0f8fae17b8a0b45d47808663dada
Drain listener on change
When a listener changes, active connections on that listener are closed. "Change" is detected by equality. The only real fields that can change, practically speaking, for a listener is TLS configs.
diff --git a/crates/agentgateway/src/proxy/gateway.rs b/crates/agentgateway/src/proxy/gateway.rs index 541d10d15d..ca90bd9c35 100644 --- a/crates/agentgateway/src/proxy/gateway.rs +++ b/crates/agentgateway/src/proxy/gateway.rs @@ -34,7 +34,7 @@ use crate::types::agent::{ use crate::types::discovery::Service; use crat...
2
1
0
[{"id": "G0", "claim": "bind_listener_changed skips notifications when a new listener is added, but existing HTTPS connections can immediately start failing requests with 421 via HTTPProxy::detect_misdirected once a more-specific TLS listener is added while the connection itself is not drained, so it suggests notifying...
null
agentgateway__agentgateway__1421
agentgateway/agentgateway
1,421
defect
a1b70fa595b029283e5c436b0cf4baa3862e243b
fb95f4fcace680f548f118054845d6f4d2dea7b2
test: add MCP level tests for extauth and ratelimit policies
## Summary - Adds `mcp_local_ratelimit` test to verify local rate limiting works with MCP backends - Adds `mcp_extauth_deny` test to verify external authorization denial works with MCP backends - Adds `mcp_remote_ratelimit_deny` test to verify remote rate limiting works with MCP backends All three tests use mock ...
diff --git a/crates/agentgateway/src/mcp/mcp_tests.rs b/crates/agentgateway/src/mcp/mcp_tests.rs index a7fb0d3cd2..7c9d7f0789 100644 --- a/crates/agentgateway/src/mcp/mcp_tests.rs +++ b/crates/agentgateway/src/mcp/mcp_tests.rs @@ -2127,3 +2127,152 @@ async fn test_runtime_fanout_fail_open_all_fail() { res.err() );...
2
2
2
[{"id": "G0", "claim": "The mcp_extauth_deny assertion only checks that initialization failed, so the test can pass when the mock ext_authz server was never reached (e.g. its 10ms startup delay is insufficient); it should assert on the returned error details/body so it specifically verifies ext_authz denial semantics."...
null
agentgateway__agentgateway__1429
agentgateway/agentgateway
1,429
defect
be0c3128ac282ae72ab6178b033b9f9822c47f1f
9aeb33946990d798cdc12291ba321b8d70a033b4
Add standalone inference routing local config
## Summary - Add local static config support for standalone inference routing on service backends. - Keep standalone inference routing fail-closed (for now). - Reuse the existing ext-proc test helpers for standalone inference-routing coverage. - Add a user-facing standalone EPP example under `examples/standalone-ep...
diff --git a/crates/agentgateway/src/types/local.rs b/crates/agentgateway/src/types/local.rs index b84eb8b7ad..26a4250d2f 100644 --- a/crates/agentgateway/src/types/local.rs +++ b/crates/agentgateway/src/types/local.rs @@ -513,7 +513,7 @@ pub struct FullLocalBackend { pub name: BackendKey, pub host: Target, #[ser...
5
5
0
[{"id": "G0", "claim": "The standalone test should reuse the existing ext_proc mock helpers (e.g. setup_ext_proc_mock) instead of re-implementing ~350 LOC of ext_proc mock code, and should not bind real ports.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim...
null
agentgateway__agentgateway__1459
agentgateway/agentgateway
1,459
defect
cf5ade8a4960b8ea1e0ed43a0a35e3c4dc11da74
879501b8d42b44f4258cbcfca35319d33f984450
feat: expose source workload identity in CEL context
Closes #1460 ## Summary - Resolves source IP → workload identity via the WDS store and exposes it as `source.workload.name`, `source.workload.namespace`, and `source.workload.serviceAccount` in CEL expressions - Enables authorization, transformation, and access logging policies to use source workload identity without ...
diff --git a/crates/agentgateway/src/cel/types.rs b/crates/agentgateway/src/cel/types.rs index f997bb50a4..13f2d7b505 100644 --- a/crates/agentgateway/src/cel/types.rs +++ b/crates/agentgateway/src/cel/types.rs @@ -109,6 +109,26 @@ pub struct SourceContext { #[serde(flatten, default, deserialize_with = "none_if_empty...
5
4
2
[{"id": "G0", "claim": "The doc comment for SourceContext::workload says the field is available when the source pod is \"known to the mesh\", but the lookup is against the workload discovery store by source IP, so it should be reworded to reflect the discovery store.", "category": "documentation", "verdict": "uncertain...
null
agentgateway__agentgateway__1658
agentgateway/agentgateway
1,658
defect
736bd050a7382af7348d78430c471b330be1d18f
d84f6e90bfdd388079e6ac300c270061eabd7ef8
Trust standalone EPP-selected destinations
## Summary - Use EPP-selected destinations directly for inferenceRouting service backends when `destinationMode: passthrough` is configured. - Keep the default destination mode endpoint-validated so existing configs retain local endpoint-derived behavior. - Keep the logical service metadata requirement without requi...
diff --git a/crates/agentgateway/src/http/ext_proc_tests.rs b/crates/agentgateway/src/http/ext_proc_tests.rs index c58eaba434..21876d8ea3 100644 --- a/crates/agentgateway/src/http/ext_proc_tests.rs +++ b/crates/agentgateway/src/http/ext_proc_tests.rs @@ -295,7 +295,7 @@ const STANDALONE_SERVICE_PORT: u16 = 8000; #[d...
2
2
1
[{"id": "G0", "claim": "The PR should not bypass local endpoint selection (and thereby lose metrics, mTLS policies, etc.) unconditionally; it should only trust the EPP-selected destination in an explicit mode, ideally falling back otherwise.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "in...
null
agentgateway__agentgateway__1698
agentgateway/agentgateway
1,698
defect
472fbd206b5c74f1c4ff8b4cf7ad0a8edf37fe13
7eab2643ba73602f58a4c5568a7dbbd314df1a27
update tracing endpoint support for grpc
We had a problem with grpc:// as a start to a tracing endpoint workaround was to just remove that but keep the protocol Now we support this prefix and have slightly more informative errors for other unsupported starts. Note this is an attempt to keep the change as small as possible and to use rstest as much as m...
diff --git a/crates/agentgateway/src/types/local.rs b/crates/agentgateway/src/types/local.rs index 3550fc3995..6a5575a4e8 100644 --- a/crates/agentgateway/src/types/local.rs +++ b/crates/agentgateway/src/types/local.rs @@ -6,7 +6,7 @@ use std::time::{Duration, SystemTime, UNIX_EPOCH}; use ::http::Uri; use agent_cor...
2
2
0
[{"id": "G0", "claim": "The comment above host_port still says it strips only http:// / https://, so it should be updated to mention the grpc:// prefix the PR now also strips.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "The new rstest test fu...
null
agentgateway__agentgateway__442
agentgateway/agentgateway
442
defect
6f38cc74bb6dee98de8a82ff7753cb5ef6aef091
07b483d37573de983747b111cb4d199de8d7d1f6
llm: implement different modes based on route
This will be needed to support OpenAI responses, v1/models, anthropic, etc Usage ``` - matches: - path: pathPrefix: /openaisimple policies: urlRewrite: path: prefix: / backendAuth: key: file: $HOME/.secrets/openai backends: - ai: name: openai ...
diff --git a/crates/agentgateway/src/llm/mod.rs b/crates/agentgateway/src/llm/mod.rs index 1b638208e2..b346f0a1c8 100644 --- a/crates/agentgateway/src/llm/mod.rs +++ b/crates/agentgateway/src/llm/mod.rs @@ -1,3 +1,4 @@ +use std::collections::BTreeMap; use std::str::FromStr; use ::http::uri::{Authority, PathAndQuery...
4
2
2
[{"id": "G0", "claim": "In resolve_route the wildcard route `*` matches first whenever it exists in the map, preventing more specific routes from being checked; specific routes should be checked before the wildcard, or a more deterministic ordering approach should be used.", "category": "correctness", "verdict": "suppo...
null
agentgateway__agentgateway__493
agentgateway/agentgateway
493
defect
2c7de0a3142a5e2b0424bfbef5c098235f3ce1be
93ba1628e388ea530eba56a9f42af8f5c85eee61
feat: add native OpenTelemetry Gen AI v1.37.0 semantic conventions
Adds native OpenTelemetry Gen AI v1.37.0 attributes for zero-config OTLP compatibility. ## Changes Emit 13 gen_ai.* attributes automatically: - Required: gen_ai.operation.name, gen_ai.provider.name - Usage: gen_ai.usage.input_tokens, gen_ai.usage.output_tokens - Request params: temperature, top_p, max_tokens, ...
diff --git a/crates/agentgateway/src/llm/bedrock.rs b/crates/agentgateway/src/llm/bedrock.rs index 6124cd4d69..5e30264d0e 100644 --- a/crates/agentgateway/src/llm/bedrock.rs +++ b/crates/agentgateway/src/llm/bedrock.rs @@ -36,7 +36,7 @@ pub struct Provider { } impl super::Provider for Provider { - const NAME: Strng...
2
2
0
[{"id": "G0", "claim": "The pull request should drop the old llm.* logging attributes that the new gen_ai.* attributes now replace, since keeping both duplicates entries and makes the default logs noisy.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "gen...
null
agentgateway__agentgateway__613
agentgateway/agentgateway
613
defect
f4038deb27d82408850ed4a4b7033e57f5fef0a0
0dc789e6c72afbb45bf1d3d3b3ff12c4f2bf8f75
ext authz: allow sending metadata like JWT
example: ```yaml - name: extauthz matches: - path: pathPrefix: /extauthz backends: - host: 127.0.0.1:8080 policies: jwtAuth: mode: optional issuer: agentgateway.dev audiences: [test.agentgateway.dev] jwks: ...
diff --git a/crates/agentgateway/proto/ext_authz.proto b/crates/agentgateway/proto/ext_authz.proto index 8c7cc55c58..e005d4e0af 100644 --- a/crates/agentgateway/proto/ext_authz.proto +++ b/crates/agentgateway/proto/ext_authz.proto @@ -288,9 +288,9 @@ message AttributeContext { // information to the auth server witho...
2
1
0
[{"id": "G0", "claim": "Fix the spelling of 'compatiblity' to 'compatibility' in the metadata doc comment of ExtAuthz.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The error conversion in eval should preserve the underlying error instead of disc...
null
agentgateway__agentgateway__617
agentgateway/agentgateway
617
defect
3a6083854c734d9929df0e89cf7fcb5e222d743e
61dbd0578e93ba47c3517d7315f56cb94a8243fe
http: add better version override/detection
Alternative to https://github.com/agentgateway/agentgateway/pull/598. This adds the following logic for backend HTTP version selection: * If the user sets the (new) `http.version` policy, we always use this. * If a user has the protocol declared on the Backend, we use that (this is the appProtocol on Service, to-...
diff --git a/Cargo.lock b/Cargo.lock index d29331b11e..d4ea8d37a8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -192,7 +192,7 @@ dependencies = [ "prost-wkt-types", "protox", "rand 0.9.2", - "rcgen", + "rcgen 0.14.5", "regex", "reqwest", "rmcp", @@ -1054,6 +1054,28 @@ dependencies = [ "syn", ] +[[package...
6
1
1
[{"id": "G0", "claim": "The test comment \"Explicit ALPN takes precedence over explicit backend version\" is misleading and should instead say that explicit ALPN prevents the version policy from changing ALPN, resulting in a negotiated protocol downgrade.", "category": "documentation", "verdict": "uncertain", "priority...
null
agentgateway__agentgateway__666
agentgateway/agentgateway
666
defect
91906b71f295bec27d4af30f3588da6b92cbd5dd
7b56f436b580da93d36543e7802091d66686fcfb
Expose client cert auth and more attributes on TLS listeners
Example config.. ```yaml # yaml-language-server: $schema=../../schema/local.json frontendPolicies: accessLog: add: tls: 'source' binds: - port: 443 listeners: - name: default protocol: HTTPS tls: cert: examples/tls/certs/cert.pem key: examples/tls/certs/key.pem r...
diff --git a/crates/agentgateway/src/cel/mod.rs b/crates/agentgateway/src/cel/mod.rs index 6b4e44e040..ee1b623b98 100644 --- a/crates/agentgateway/src/cel/mod.rs +++ b/crates/agentgateway/src/cel/mod.rs @@ -12,7 +12,6 @@ use crate::llm::{LLMInfo, LLMRequest}; use crate::serdes::*; use crate::transport::stream::{TCPCo...
3
1
1
[{"id": "G0", "claim": "Converting IP-address SAN bytes to a UTF-8 string is incorrect, since certificate IP addresses are raw 4/16-byte values; they should be parsed as IP addresses (e.g. via std::net::IpAddr) to produce a readable address string.", "category": "correctness", "verdict": "supported", "priority": "P1", ...
null
agentgateway__agentgateway__709
agentgateway/agentgateway
709
defect
0ddfb6554005f077f9dadc0634510628483d7fb7
283b97dcc9ccf7fb3ccc7a4a31072f932a00e0fd
feat(cel): uuid added to cel
Add the ability of the CEL to create a UUID. This is useful when injecting headers into a request to be able to track a request from the beginning to the end.
diff --git a/crates/celx/src/function_tests.rs b/crates/celx/src/function_tests.rs index e4970e7410..2b0e33f60a 100644 --- a/crates/celx/src/function_tests.rs +++ b/crates/celx/src/function_tests.rs @@ -217,6 +217,26 @@ fn cidr() { assert(json!(true), expr); } +#[test] +fn uuid() { + // Test that uuid() returns a ...
2
2
0
[{"id": "G0", "claim": "The UUID generation uses a non-cryptographically secure RNG (rand::rng()), which could produce predictable UUIDs for request tracking; it should use a cryptographically secure source such as the uuid crate's Uuid::new_v4().", "category": "security", "verdict": "supported", "priority": "P2", "sco...
null
agentgateway__agentgateway__718
agentgateway/agentgateway
718
defect
0ddfb6554005f077f9dadc0634510628483d7fb7
a1c3497727fb404c4cb5365f84fc20badf003dd4
default region for aws backends
this way users won't need to specify it twice if they add an auth policy
diff --git a/crates/agentgateway/proto/resource.proto b/crates/agentgateway/proto/resource.proto index 0677e6ff04..3310b90dca 100644 --- a/crates/agentgateway/proto/resource.proto +++ b/crates/agentgateway/proto/resource.proto @@ -189,7 +189,7 @@ message AwsExplicitConfig { string access_key_id = 1; // AWS Secret...
4
2
1
[{"id": "G0", "claim": "The error message \"No region found in AWS config and this is not an AWS backend\" is confusing and should be rephrased, e.g. to \"Region must be specified in AWS auth config when used with non-AWS backends\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "int...
null
agentgateway__agentgateway__729
agentgateway/agentgateway
729
defect
76b0afc55496e7027395a93a3ba1ceca4b832647
99da57915d46fce563b9019e2d5a70b314f1d0be
feat: add PROXY protocol v2 support
## Summary Adds PROXY protocol v2 support as a tunnel protocol option. This enables agentgateway to receive connections from upstream proxies (HAProxy, AWS NLB, etc.) that prepend PROXY headers with original client information. Key features: - Original client source/destination address extraction - Peer identity via ...
diff --git a/Cargo.lock b/Cargo.lock index 90befa75d0..5da73b310d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -200,6 +200,7 @@ dependencies = [ "percent-encoding", "phonenumber", "pin-project-lite", + "ppp", "pprof", "prometheus-client", "prost 0.14.1", @@ -4416,6 +4417,15 @@ version = "0.2.0" source = "re...
6
6
3
[{"id": "G0", "claim": "The bind config should model the tunnel separately from the protocol (protocol: HTTP|TLS|TCP with tunnel: None|PROXY|HBONE|HBONE-waypoint) instead of adding PROXY as a Protocol value, to avoid recursive PROXY paths and support PROXY in front of TCP.", "category": "design", "verdict": "supported"...
null
agentgateway__agentgateway__763
agentgateway/agentgateway
763
defect
0ce6e3af30d5fa2ac08144b675bedd49ee2513dc
6ca903095ab7c30a09a1ea0eb5dbeabf6152ed79
http: support 421 responses in proxy
Pending agreement on spec https://github.com/kubernetes-sigs/gateway-api/pull/4364#discussion_r2641212951
diff --git a/crates/agentgateway/src/proxy/httpproxy.rs b/crates/agentgateway/src/proxy/httpproxy.rs index 93387b681f..437bb499d0 100644 --- a/crates/agentgateway/src/proxy/httpproxy.rs +++ b/crates/agentgateway/src/proxy/httpproxy.rs @@ -555,6 +555,8 @@ impl HTTPProxy { ) .await?; + Self::detect_misdirected(&...
4
3
0
[{"id": "G0", "claim": "The wildcard clause of Listener::matches lacks parentheses, which the reviewer says changes operator precedence so the wildcard check groups incorrectly; the condition should be parenthesized.", "category": "correctness", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "...
null
agentgateway__agentgateway__775
agentgateway/agentgateway
775
defect
8ff9d234e523cb0982f12c3261ce68bcf3611eb0
fd5dbf1b2cc7cbc6c425897a8fb62bf39ee7df28
ext_proc: Add append_action support to HeaderValueOption
Adding support for Appending Headers to requests and responses in ext_proc. Similar to ext_authz #664 Fixes #753
diff --git a/crates/agentgateway/proto/ext_proc.proto b/crates/agentgateway/proto/ext_proc.proto index 8c49d8b8a7..6f8084f418 100644 --- a/crates/agentgateway/proto/ext_proc.proto +++ b/crates/agentgateway/proto/ext_proc.proto @@ -2,10 +2,9 @@ syntax = "proto3"; package envoy.service.ext_proc.v3; - +import "google...
5
4
2
[{"id": "G0", "claim": "The PR should keep supporting the bool `append` field (users' servers return non-recommended fields) rather than reserving it out in favour of `append_action` only, unless Envoy also does not implement it.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, ...
null
agentgateway__agentgateway__781
agentgateway/agentgateway
781
defect
0ce6e3af30d5fa2ac08144b675bedd49ee2513dc
14e3de6b660b65e0dac1c6d36875b664736d150c
performance: avoid so many Arc clones
At high thread count/load, the contention becomes significant. During a test with a Direct Response policy (so only testing the 'front' half of the proxy: Before: 392k qps With policy lookup changes: 490k Without idle timeout: 500k. NOT merged, see https://github.com/agentgateway/agentgateway/issues/779 With opti...
diff --git a/Cargo.lock b/Cargo.lock index 5da73b310d..04cdd42687 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -165,6 +165,7 @@ dependencies = [ "futures-util", "go-parse-duration", "google-cloud-auth", + "hashbrown 0.16.0", "headers", "heck", "hex", @@ -2355,6 +2356,12 @@ version = "0.1.5" source = "regist...
3
2
1
[{"id": "G0", "claim": "The new test's assertions call `.into()` on string literals although there is no `From<&str>` implementation for `HostnameMatchRef`, so they should construct the `HostnameMatchRef` variants directly without `.into()`.", "category": "correctness", "verdict": "supported", "priority": "P3", "scope"...
null
agentgateway__agentgateway__832
agentgateway/agentgateway
832
defect
c32c82cc944c66e4cdf6c5787ca00917d3940337
34604fa665fc7075944df1cbb2bfa44641d01cf1
Add kind to route target and route name
Test control plane example with kgateway: https://github.com/kgateway-dev/kgateway/pull/13293
diff --git a/crates/agentgateway/proto/resource.proto b/crates/agentgateway/proto/resource.proto index 12f31948b1..c2b6989289 100644 --- a/crates/agentgateway/proto/resource.proto +++ b/crates/agentgateway/proto/resource.proto @@ -372,6 +372,7 @@ message PolicyTarget { string name = 1; string namespace = 2; ...
3
3
3
[{"id": "G0", "claim": "The kind-less route-target lookups should not be supported: the control plane should always set the kind on the policy target and the route name, so there should be no additional *_without_kind lookups, just the existing ones.", "category": "design", "verdict": "supported", "priority": "P1", "sc...
null
agentgateway__agentgateway__867
agentgateway/agentgateway
867
defect
3ba02a13d37d6f2b697f4b058bcd57548435defe
15173069f5f558965620970b13f4b3124db7cb4a
Drop dependency on self for tests
This does double compiling ``` $ hyperfine --warmup 1 /tmp/x.sh Benchmark 1: /tmp/x.sh ⠧ Current estimate: 7.123 s ``` AFTER ``` $ hyperfine --warmup 1 /tmp/x.sh Benchmark 1: /tmp/x.sh Time (mean ± σ): 4.167 s ± 0.095 s [User: 3.422 s, System: 0.314 s] Range (min … max): 4.084 s ...
diff --git a/Cargo.lock b/Cargo.lock index 895e3909d0..64c22e02e1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -133,7 +133,6 @@ dependencies = [ "agent-core", "agent-hbone", "agent-xds", - "agentgateway", "anyhow", "arc-swap", "assert_matches", diff --git a/Cargo.toml b/Cargo.toml index 91dd23829c..9b01c93c4...
6
2
0
[{"id": "G0", "claim": "The comments saying the CSR is ignored and a static key is used are now contradictory with the new CSR-parsing implementation and should be updated or removed.", "category": "documentation", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Several imports ...
null
agentgateway__agentgateway__928
agentgateway/agentgateway
928
defect
32ece12109cd2e0cdfa00010a72f31ee36af262f
35df0e021f8564620f7ef27d86c9cd054689a871
fix: respect enableIpv6 config for XDS route socket bindings (#3)
* fix: respect enableIpv6 config for XDS route socket bindings PR #843 made enableIpv6 affect local config route binds but missed the XDS path. The TryFrom<&proto::agent::Bind> in agent_xds.rs always creates IPv6 [::] addresses regardless of the enableIpv6 config setting. This fix threads ipv6_enabled through Sto...
diff --git a/crates/agentgateway/src/http/route_test.rs b/crates/agentgateway/src/http/route_test.rs index c35a796399..789d3bf50d 100644 --- a/crates/agentgateway/src/http/route_test.rs +++ b/crates/agentgateway/src/http/route_test.rs @@ -15,7 +15,7 @@ use crate::types::agent::{ use crate::*; fn run_test(req: &Requ...
3
3
1
[{"id": "G0", "claim": "Since the file already has a tests module, add a unit test that inserts an XDS Bind into a Store constructed with ipv6_enabled=false and asserts the resulting Bind address uses an IPv4 unspecified address (and, where applicable, that ipv6_enabled=true results in IPv6 unspecified on unix targets)...
null
agentgateway__agentgateway__951
agentgateway/agentgateway
951
defect
55b37b7414914045a83a724bae70ccd275ec8d53
30fb8be7840f605cd967f64e0a352c59bb765bf5
local config: add golden unit tests
- **Add tests for local config** - **local config: add golden unit tests**
diff --git a/crates/agentgateway/src/types/local.rs b/crates/agentgateway/src/types/local.rs index 07cabf36a7..4eb0348b1a 100644 --- a/crates/agentgateway/src/types/local.rs +++ b/crates/agentgateway/src/types/local.rs @@ -31,6 +31,10 @@ use crate::types::discovery::{NamespacedHostname, Service}; use crate::types::{ba...
2
2
0
[{"id": "G0", "claim": "The `.expect(&format!(...))` pattern eagerly evaluates the format! macro even when there is no error, creating unnecessary String allocations; the test should use `.unwrap_or_else(|_| panic!(...))` so the message is only formatted on error.", "category": "performance", "verdict": "supported", "p...
null
agentscope-ai__CoPaw__1396
agentscope-ai/CoPaw
1,396
defect
71a8a73e68a24c576dbe1d4bd28b5408d224719d
a9c7699fdcb3aacc12a7982d1523db837f8515db
fix(skills): dedupe duplicated built-in skill listings
## Summary - fix duplicate skill entries caused by syncing active built-in skills with generated runtime artifacts into `customized_skills` - dedupe the API/UI skill listing by skill name so customized skills override built-ins cleanly - add regression tests covering runtime-artifact sync, real built-in edits, and dedu...
diff --git a/src/copaw/agents/skills_manager.py b/src/copaw/agents/skills_manager.py index a8f68333165..7330255f02e 100644 --- a/src/copaw/agents/skills_manager.py +++ b/src/copaw/agents/skills_manager.py @@ -4,6 +4,7 @@ import filecmp import logging import shutil +from collections.abc import Iterable from pathlib ...
1
1
0
[{"id": "G0", "claim": "_directories_match_ignoring_runtime_artifacts materializes both directory trees into dicts, which can be memory-intensive for large skill directories, so it should compare the directory contents entry by entry with lazy iterators (e.g. itertools.zip_longest).", "category": "performance", "verdic...
null
agentscope-ai__CoPaw__369
agentscope-ai/CoPaw
369
defect
d0758d28afe0384828793153b65a7f4ec77eb198
29c4b494c078a760388c9bc73e14b8588fd026f0
fix(agents): normalize tool_choice None to auto when tools exist
## Summary - Add a compatibility fallback in `CoPawAgent._reasoning`: when `tool_choice` is `None` and tools are available, pass `"auto"` to parent reasoning. - Keep explicit `tool_choice` values (`required` / `none`) unchanged. - Add regression tests to verify fallback behavior and explicit-value passthrough. ## Root...
diff --git a/src/copaw/agents/react_agent.py b/src/copaw/agents/react_agent.py index 8fcebaff682..4e1bb45642f 100644 --- a/src/copaw/agents/react_agent.py +++ b/src/copaw/agents/react_agent.py @@ -6,7 +6,7 @@ """ import logging import os -from typing import Any, List, Optional, Type +from typing import Any, List, Li...
1
1
1
[{"id": "G0", "claim": "The test calls `CoPawAgent._reasoning.__wrapped__(...)` on a plain, undecorated async method, which would raise AttributeError at runtime and fail the test, so the method should be invoked via the instance (or `__wrapped__` used only when it exists).", "category": "correctness", "verdict": "supp...
null
agentscope-ai__CoPaw__427
agentscope-ai/CoPaw
427
defect
d5e0499ebf344bfafb49abc475a60e44cbc049d8
9214db6bc54dd9279178da58385a9774bc609a01
fix(providers): bound ollama list_models timeout to avoid hangs
## Summary Fixes a hang path in provider loading when Ollama host is unreachable. - add bounded timeout for `OllamaModelManager.list_models()` via `ollama.Client(timeout=...)` - default timeout: **10 seconds** - allow override via env var: `COPAW_OLLAMA_LIST_TIMEOUT_SECONDS` - invalid/non-positive env values fall bac...
diff --git a/src/copaw/providers/ollama_manager.py b/src/copaw/providers/ollama_manager.py index 8653e27823d..f829e9f4c46 100644 --- a/src/copaw/providers/ollama_manager.py +++ b/src/copaw/providers/ollama_manager.py @@ -9,6 +9,7 @@ from __future__ import annotations import logging +import os from datetime import ...
2
2
2
[{"id": "G0", "claim": "float(raw) accepts nan/inf and nan bypasses the timeout <= 0 check, so a non-finite timeout can be passed into ollama.Client(...) and potentially reintroduce unbounded/hanging behavior; validate math.isfinite(timeout) (and still timeout > 0) before returning, otherwise fall back to the default."...
null
agentscope-ai__CoPaw__431
agentscope-ai/CoPaw
431
defect
65b7851b0f0f86239d2be6d7caeb56ce94c2a527
154e6a8cacd3e1b6045a9698e78e1f6ea4e7ac86
chore(mcp): recover from closed MCP sessions and prevent session overwrite
## Summary Fixes MCP registration failures caused by stale/closed MCP sessions (`anyio.ClosedResourceError`) and prevents accidental session overwrite when the failure happens before session state is loaded. Closes #414. ## Root Cause - `register_mcp_clients()` called `toolkit.register_mcp_client()` directly. If MC...
diff --git a/src/copaw/__init__.py b/src/copaw/__init__.py index 34cc8a023e2..50b6f118781 100644 --- a/src/copaw/__init__.py +++ b/src/copaw/__init__.py @@ -3,11 +3,29 @@ import os import time -from .constant import LOG_LEVEL_ENV from .utils.logging import setup_logger +# Fallback before we can safely read canon...
6
3
3
[{"id": "G0", "claim": "The PR description should document (or the import-time env bootstrap should be split out of) the new import-time loading of persisted envs.json and env mutation that now affects every consumer importing copaw.", "category": "documentation", "verdict": "uncertain", "priority": "P2", "scope": "int...
null
agentscope-ai__QwenPaw__1507
agentscope-ai/QwenPaw
1,507
defect
8d61d12662a90eae9a593682001d675ba8d65de3
d1aec5684cbc6709824ca82d2520aa26ca7e2ff1
feat(provider) add gemini provider
## Description Add Google Gemini as a built-in model provider for CoPaw, using the native `google-genai` SDK. This introduces a `GeminiProvider` with support for model discovery, connection checking, and streaming chat via AgentScope's `GeminiChatModel`. Pre-configured models include Gemini 3.1 Pro, Gemini 3 Flash, ...
diff --git a/console/src/i18n.ts b/console/src/i18n.ts index 6fa931b8eb8..75106281200 100644 --- a/console/src/i18n.ts +++ b/console/src/i18n.ts @@ -4,6 +4,7 @@ import en from "./locales/en.json"; import ru from "./locales/ru.json"; import zh from "./locales/zh.json"; import ja from "./locales/ja.json"; +import fr f...
10
9
5
[{"id": "G0", "claim": "The `timeout` parameter accepted by `_client`, `check_connection`, `fetch_models` and `check_model_connection` is never applied to the client, so the methods misleadingly suggest a timeout is in effect when none is.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": ...
null
agentscope-ai__QwenPaw__1735
agentscope-ai/QwenPaw
1,735
defect
30de58d9699ee6fe7bce2bd6e61c02df4801c500
132efa5b0e2182352635d8f22ccb70dc8453dfa0
feat(provider): Add MiniMax-CN provider
## Description The MiniMax Provider is currently limited to international users. This PR adds Minimax-CN for users in mainland China and changes the provider type from `openai` to `anthropic` for better compatibility. **Related Issue:** #1729 #1577 #887 #1175 **Security Considerations:** [If applicable, e.g....
diff --git a/src/copaw/providers/provider_manager.py b/src/copaw/providers/provider_manager.py index 3571aac4782..7c517e63488 100644 --- a/src/copaw/providers/provider_manager.py +++ b/src/copaw/providers/provider_manager.py @@ -90,6 +90,8 @@ MINIMAX_MODELS: List[ModelInfo] = [ ModelInfo(id="MiniMax-M2.5", name="...
6
2
2
[{"id": "G0", "claim": "The legacy-minimax migration test should seed the stored config with the actual old base_url (https://api.minimax.io/v1) so the migration to the new /anthropic endpoint is actually exercised (with api_key/extra_models preserved).", "category": "testing", "verdict": "supported", "priority": "P1",...
null
agentscope-ai__QwenPaw__1832
agentscope-ai/QwenPaw
1,832
defect
acf60f941bc5d8f705707d5e50d3a20f44753522
5d073723eaf7008611fe4f8f99f5e382113afbb4
feat(provider): add separate Kimi CN and international providers
## Summary - add built-in `kimi-cn` and `kimi-intl` providers with fixed Moonshot base URLs - add shared Kimi model definitions for domestic and international platforms - add unit tests covering provider config, registration, and activation ## Test Plan - [x] `uv run --extra dev pytest tests/unit/providers/test_kimi_p...
diff --git a/src/copaw/providers/provider_manager.py b/src/copaw/providers/provider_manager.py index 1cad0777a76..aa7b06b8406 100644 --- a/src/copaw/providers/provider_manager.py +++ b/src/copaw/providers/provider_manager.py @@ -94,6 +94,27 @@ ModelInfo(id="MiniMax-M2.7-highspeed", name="MiniMax M2.7 Highspeed"), ...
1
1
0
[{"id": "G0", "claim": "The Kimi provider display name should be aligned with MiniMax's `Provider (Region)` naming style (with MiniMax itself preferably updated to the same style), and \"CN\" should read \"China\".", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
agentscope-ai__QwenPaw__1909
agentscope-ai/QwenPaw
1,909
defect
81fa692f418e89966295a7d8e2e80865ff219264
dd6484d2be616f6786f3dfec497af847ba8bd333
Fix(Provider): Aligning the message format used for model connection testing with that used in actual usage.
## Description As the title says **Security Considerations:** [If applicable, e.g. channel auth, env/config handling] ## Type of Change - [x] Bug fix - [x] New feature - [ ] Breaking change - [ ] Documentation - [ ] Refactoring ## Component(s) Affected - [ ] Core / Backend (app, agents, config, pr...
diff --git a/src/copaw/providers/anthropic_provider.py b/src/copaw/providers/anthropic_provider.py index bd0309ce481..ef1f7d007f1 100644 --- a/src/copaw/providers/anthropic_provider.py +++ b/src/copaw/providers/anthropic_provider.py @@ -88,7 +88,17 @@ async def check_model_connection( body = { "mo...
2
1
1
[{"id": "G0", "claim": "The existing anthropic provider unit test still asserts the old string-form messages payload, so it will now fail and must be updated to the new content-block list format (or the implementation adjusted to keep the old shape).", "category": "testing", "verdict": "supported", "priority": "P1", "s...
null
agentscope-ai__QwenPaw__2002
agentscope-ai/QwenPaw
2,002
defect
a65321fc8e4dfbb2a7bcabcdde9abc7204d10925
1a1dbd8fe307d3d66ee64a4387241bc750bfb698
feat(agent): expose configurable LLM auto-retry settings
## Description This PR exposes configurable LLM auto-retry settings in the official release and makes them available from the Console Agent Configuration page. Specifically, it: - adds agent-scoped runtime fields for enabling/disabling retry, max retries, backoff base, and backoff cap - passes the active agent'...
diff --git a/console/src/api/types/agent.ts b/console/src/api/types/agent.ts index ffab3a479a4..522b83ffce3 100644 --- a/console/src/api/types/agent.ts +++ b/console/src/api/types/agent.ts @@ -8,6 +8,10 @@ export interface AgentRequest { export interface AgentsRunningConfig { max_iters: number; + llm_retry_enabl...
5
5
2
[{"id": "G0", "claim": "In `_normalize_retry_config` the `backoff_cap` lower bound of 0.1 mismatches the Pydantic model (`ge=0.5`) and the frontend validation requiring at least 0.5 seconds.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Cross-field...
null
agentscope-ai__QwenPaw__2408
agentscope-ai/QwenPaw
2,408
defect
67cfca6e3a3409e96b6b622fb343c08b9bd1d3d2
11b4fe83c71a9cc92553fa7f017755e28d1d27a2
feat(console): persist UI language preference to server-side settings
## Description Persist the user's UI language preference to the server so it survives browser cache/localStorage clears. A new global settings endpoint (`GET/PUT /api/settings/language`) stores the language in `WORKING_DIR/settings.json`, independent of per-agent configuration. The frontend syncs to the server on la...
diff --git a/console/src/App.tsx b/console/src/App.tsx index ef0d5496b2e..3fb64869d2e 100644 --- a/console/src/App.tsx +++ b/console/src/App.tsx @@ -17,6 +17,7 @@ import MainLayout from "./layouts/MainLayout"; import { ThemeProvider, useTheme } from "./contexts/ThemeContext"; import LoginPage from "./pages/Login"; i...
3
3
1
[{"id": "G0", "claim": "The _load function doesn't handle potential OSError or json.JSONDecodeError if the settings file exists but is unreadable or corrupt, resulting in an unhandled exception and a 500 Internal Server Error; it should gracefully return an empty dictionary (and ideally log the failure).", "category": ...
null
agentscope-ai__QwenPaw__2463
agentscope-ai/QwenPaw
2,463
defect
3e0083f76bb23e823a622cb4054205fcb544b205
6121272c61f2b53277c58fc806881f9b7e876653
feat(provider): Support integration with OpenCode
## Description [Describe what this PR does and why] I’ve taken task 16 in https://github.com/agentscope-ai/CoPaw/discussions/2292 to implement native support for opencode zen (https://opencode.ai/zh/zen), and https://github.com/agentscope-ai/CoPaw/pull/2428 appears to be based on a reverse proxy. **Related Iss...
diff --git a/console/src/pages/Settings/Models/components/modals/ProviderConfigModal.tsx b/console/src/pages/Settings/Models/components/modals/ProviderConfigModal.tsx index d96554495d4..d42fe890be6 100644 --- a/console/src/pages/Settings/Models/components/modals/ProviderConfigModal.tsx +++ b/console/src/pages/Settings/...
14
10
6
[{"id": "G0", "claim": "The tests assert has_model/activation for OpenCode model IDs (gpt-5.3-codex, claude-sonnet-4-6, gemini-3-flash, minimax-m2.5) that are absent from the built-in OPENCODE_MODELS list, so the tests will fail, and the docs example instructs selecting a non-built-in model that cannot be chosen or act...
null
agentscope-ai__QwenPaw__2476
agentscope-ai/QwenPaw
2,476
defect
2f20510ffbfa82b2b7738594d5a6f14fe4c10871
ec08aef1700433d2d8b0fe3537ec34222dbdf651
Fix(Proivder): Fix CoPaw Local Provider
## Description 1. Add description to the default LLM configuration 2. Enhanced Llamacpp download failure error handling 3. Support downloading custom repo **Related Issue:** Fixes #(issue_number) or Relates to #(issue_number) **Security Considerations:** [If applicable, e.g. channel auth, env/config handling...
diff --git a/console/src/api/types/provider.ts b/console/src/api/types/provider.ts index fbd2a304094..e6d90ef39d2 100644 --- a/console/src/api/types/provider.ts +++ b/console/src/api/types/provider.ts @@ -101,6 +101,7 @@ export interface LocalDownloadProgress { | "idle" | "pending" | "downloading" + |...
1
1
0
[{"id": "G0", "claim": "`isBusyDownloadStatus` duplicates the status set already checked by `isDownloadActive`, so a single shared helper should be extracted and used in both places to keep the lists from diverging.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
agentscope-ai__QwenPaw__2625
agentscope-ai/QwenPaw
2,625
defect
39528be854859373d349d2cec453fa9e279bfbea
058bf47d3be3e61aeed6ff46c8b39f9b4743a7df
Fix(Provider): Llama.cpp windows using Nvidia-GPU, check macOS version before installation
## Description As the title says **Related Issue:** Fixes #2595 #2592 **Security Considerations:** [If applicable, e.g. channel auth, env/config handling] ## Type of Change - [ ] Bug fix - [ ] New feature - [ ] Breaking change - [ ] Documentation - [ ] Refactoring ## Component(s) Affected - [ ...
diff --git a/console/src/api/types/provider.ts b/console/src/api/types/provider.ts index e6d90ef39d2..7f2723d3d91 100644 --- a/console/src/api/types/provider.ts +++ b/console/src/api/types/provider.ts @@ -90,6 +90,7 @@ export type LocalDownloadSource = "huggingface" | "modelscope" | "auto"; export interface LocalSer...
5
5
1
[{"id": "G0", "claim": "Passing the literal string \"all\" to --gpu-layers is likely to be rejected by llama-server and prevent the server from starting; use a numeric value (e.g. -1) and/or make it configurable.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1",...
null
agentscope-ai__QwenPaw__2688
agentscope-ai/QwenPaw
2,688
defect
b42303367cdb8e171f28061ead0858b2924693bb
2a6b47461db7e98ec9070bac0a0b8f78f4e4e925
Fix(Provider): Check repo before downloading and update CoPaw Flash doc
## Description As the title says **Related Issue:** Fixes #(issue_number) or Relates to #(issue_number) **Security Considerations:** [If applicable, e.g. channel auth, env/config handling] ## Type of Change - [ ] Bug fix - [ ] New feature - [ ] Breaking change - [ ] Documentation - [ ] Refactoring ## Component(s)...
diff --git a/console/src/api/request.ts b/console/src/api/request.ts index 316ac76bc73..c1ab0b3ccf8 100644 --- a/console/src/api/request.ts +++ b/console/src/api/request.ts @@ -1,6 +1,41 @@ import { getApiUrl, clearAuthToken } from "./config"; import { buildAuthHeaders } from "./authHeaders"; +function getErrorMess...
7
2
1
[{"id": "G0", "claim": "The new error path replaces the standard \"Request failed: <status> <statusText>\" message with the extracted body message whenever the body is non-empty, losing the HTTP status information needed for debugging, and should append the extracted message to the status line instead of replacing it."...
null
agentscope-ai__QwenPaw__2735
agentscope-ai/QwenPaw
2,735
defect
a64df0ba5c04690a9ae9c00639d20b59c19084b0
2ebd638fcf4ad2484b4eb3ef8fab0e997bea5e2d
Fix(Provider): CoPaw Local use GPU by default && Fix Probe Image && Optimize Local Provider Doc && Fix Windows desktop model download
## Description As the title says **Related Issue:** Fixes #2698 #2721 #2691 **Security Considerations:** [If applicable, e.g. channel auth, env/config handling] ## Type of Change - [x] Bug fix - [ ] New feature - [ ] Breaking change - [x] Documentation - [ ] Refactoring ## Component(s) Affected -...
diff --git a/src/copaw/local_models/llamacpp.py b/src/copaw/local_models/llamacpp.py index 49ef613a3d7..7cf10ba4d13 100644 --- a/src/copaw/local_models/llamacpp.py +++ b/src/copaw/local_models/llamacpp.py @@ -303,12 +303,10 @@ async def _create_server_process( str(resolved_model_path), "--alia...
4
1
0
[{"id": "G0", "claim": "Always passing `--gpu-layers auto` to llama-server may cause startup failure on systems where only a CPU-only binary is available (e.g. Windows with the cpu backend, or a Linux binary without GPU support); it is safer to include the flag only when a GPU-capable backend is detected or on platform...
null
agentscope-ai__QwenPaw__2847
agentscope-ai/QwenPaw
2,847
defect
64f150292455066fe4482b0cab8b625cd401acc8
43b5ec366731b1c8a47b15dc2055df99071d56ec
fix(chat): preserve renamed session titles
## Summary - stop chat title edits from being overwritten by stale full-record writes - switch console and CLI rename flows to send minimal patch payloads instead of rebuilding the whole chat - add regression coverage for partial rename updates and timestamp-only chat touch operations ## Root cause The runner wrote an...
diff --git a/console/src/pages/Chat/components/ChatSessionDrawer/index.tsx b/console/src/pages/Chat/components/ChatSessionDrawer/index.tsx index 2fa325d3825..44356b8c2bb 100644 --- a/console/src/pages/Chat/components/ChatSessionDrawer/index.tsx +++ b/console/src/pages/Chat/components/ChatSessionDrawer/index.tsx @@ -159...
4
4
2
[{"id": "G0", "claim": "The endpoint's earlier mgr.get_chat existence check is redundant because patch_chat already returns None for a missing chat; remove the pre-check and drive the 404 from the locked patch result, which is also more atomic and avoids the race where the chat is deleted between the check and the upda...
null
agentscope-ai__QwenPaw__2858
agentscope-ai/QwenPaw
2,858
defect
a64df0ba5c04690a9ae9c00639d20b59c19084b0
1eb2d565b9051b4bdb00876e2ee699b4755eda21
feat(models): add zhipu providers
## Description Add four built-in Zhipu providers covering BigModel and Z.AI, each with both standard API and Coding Plan endpoints: - `zhipu-cn` - `zhipu-cn-codingplan` - `zhipu-intl` - `zhipu-intl-codingplan` This PR also presets the Zhipu model list (`glm-5`, `glm-5.1`, `glm-5-turbo`, `glm-5v-turbo`), adds capabil...
diff --git a/console/src/api/modules/agents.ts b/console/src/api/modules/agents.ts index a4a746cf334..2c0b3ead12e 100644 --- a/console/src/api/modules/agents.ts +++ b/console/src/api/modules/agents.ts @@ -4,6 +4,7 @@ import type { AgentProfileConfig, CreateAgentRequest, AgentProfileRef, + ReorderAgentsRespons...
5
1
0
[{"id": "G0", "claim": "Changing the skills directory structure from `skills/` to `active_skills/` plus `customized_skills/` is a significant breaking change for existing workspaces not mentioned in the PR description, so the skill loading logic in the agent runtime should be updated for the new structure and a migrati...
null
agentscope-ai__QwenPaw__2886
agentscope-ai/QwenPaw
2,886
defect
c824156ad5ed281b8165946c151661d366ee796e
3c9e3df21dcdc91561cbf7033ab2547a2eb3b2f0
feat(providers): Add model providers for SiliconFlow CN and SiliconFlow International
## Description [Describe what this PR does and why] - Add model providers for - SiliconFlow CN: https://www.siliconflow.cn/ - SiliconFlow International: https://www.siliconflow.com/ - Using OpenAI-compatible providers - API : https://docs.siliconflow.cn/cn/faqs/stream-mode - For model discovery: -...
diff --git a/console/src/pages/Settings/Models/components/providerIcon.ts b/console/src/pages/Settings/Models/components/providerIcon.ts index f865c922893..adaf5e58c4a 100644 --- a/console/src/pages/Settings/Models/components/providerIcon.ts +++ b/console/src/pages/Settings/Models/components/providerIcon.ts @@ -28,6 +2...
9
5
3
[{"id": "G0", "claim": "The icon URL points to the site-internal Next.js image-optimization endpoint (/_next/image), which is an unstable implementation detail that may break when hotlinked, so a direct static asset or stable CDN URL should be used instead.", "category": "correctness", "verdict": "supported", "priority...
null
agentscope-ai__QwenPaw__3025
agentscope-ai/QwenPaw
3,025
defect
f33588d48124c532614e2d98dc3b4e039e88fdfa
2aa00a52262e9ccba84af1aebb64ec7525a8d0a5
feat(security): encrypt secrets at rest with Fernet and OS keychain
## Description [Describe what this PR does and why] **Related Issue:** Fixes #(issue_number) or Relates to #(issue_number) **Security Considerations:** [If applicable, e.g. channel auth, env/config handling] ## Type of Change - [ ] Bug fix - [ ] New feature - [ ] Breaking change - [ ] Documentation -...
diff --git a/pyproject.toml b/pyproject.toml index 0095ad1d4a0..8f9842e750e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -32,6 +32,8 @@ dependencies = [ "shortuuid>=1.0.0", "google-genai>=1.67.0", "tzdata>=2024.1", + "cryptography>=43.0.0", + "keyring>=25.0.0", "pyyaml>=6.0", "json...
4
4
3
[{"id": "G0", "claim": "_get_master_key is not thread-safe: concurrent threads could generate and persist different master keys, so add a lock (double-checked locking) to make key generation and loading atomic.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "...
null
agentscope-ai__QwenPaw__3031
agentscope-ai/QwenPaw
3,031
defect
2219130e8f89e3eae6f1d1975880fde87671c992
f126d9db65a80a34cf3427398a845e54874023e8
feat(cli): add headless task execution command
## Summary - Add `copaw task` CLI command for running single task instructions headlessly (no web server required) - Support `COPAW_SKILLS_DIR` env var to load skills from a custom directory (bypasses manifest) - Support `COPAW_TOOL_GUARD_ENABLED=false` env var to disable tool guard in automated environments ##...
diff --git a/src/copaw/agents/skills_manager.py b/src/copaw/agents/skills_manager.py index d80f443638e..8f287d026f6 100644 --- a/src/copaw/agents/skills_manager.py +++ b/src/copaw/agents/skills_manager.py @@ -1138,6 +1138,16 @@ def resolve_effective_skills( channel_name: str, ) -> list[str]: """Resolve enabl...
2
2
2
[{"id": "G0", "claim": "The COPAW_SKILLS_DIR branch of resolve_effective_skills returns only directory names while the consumer joins the workspace's skills dir with them, so skills in a directory outside the workspace would not be found; the function should return absolute paths when COPAW_SKILLS_DIR is used.", "categ...
null
agentscope-ai__QwenPaw__3128
agentscope-ai/QwenPaw
3,128
defect
67da2bb4f43b639e48cb883c3dd4c082f70571ba
4634790ebf065a00e63adff75a99ab2e9f716629
fix(wecom): Fix event loop issue in file upload and add relative path support for send_file_to_user
## Summary Fixed two issues affecting WeCom file sending and tool usage: 1. Fixed event loop conflict during binary file upload 2. Fixed relative path recognition in [send_file_to_user](cci:1://file:///research/pipeline_RD/67.CoPaw/src/copaw/agents/tools/send_file.py:29:0-125:9) tool ## Problem Description ###...
diff --git a/src/copaw/agents/tools/send_file.py b/src/copaw/agents/tools/send_file.py index e48a8b52a53..a3ce8229ae2 100644 --- a/src/copaw/agents/tools/send_file.py +++ b/src/copaw/agents/tools/send_file.py @@ -14,6 +14,7 @@ ) from ..schema import FileBlock +from .file_io import _resolve_file_path def _auto_...
2
2
2
[{"id": "G0", "claim": "`self._upload_ack_futures[req_id] = fut` is set before the `ws_loop` is None check, so the cleanup in finally won't run if that check raises; the dict assignment should be moved after the None check, or the check moved inside the try.", "category": "correctness", "verdict": "supported", "priorit...
null
agentscope-ai__QwenPaw__3140
agentscope-ai/QwenPaw
3,140
defect
67da2bb4f43b639e48cb883c3dd4c082f70571ba
da393bfb7a47375097c2d1509b4564246d8f3bc4
Fix(Provider): Fix windows desktop download and copaw local multimodal probe
## Description 1. Enhance error handling logic of the llama.cpp downloading process to prevent download freezes caused by file permission. 2. Determine whether the local model supports multimodal operation based on the mmproj file. **Related Issue:** Fixes #3030 ## Type of Change - [x] Bug fix - [ ] New...
diff --git a/src/copaw/app/_app.py b/src/copaw/app/_app.py index d89f8774520..97f99c3faaa 100644 --- a/src/copaw/app/_app.py +++ b/src/copaw/app/_app.py @@ -397,7 +397,7 @@ async def _get_agent_by_id(agent_id: str = None): exc, ) with suppress(OSError, RuntimeError...
4
2
2
[{"id": "G0", "claim": "Setting supports_video to True whenever an mmproj file is found is likely incorrect because the mmproj file is primarily for vision, so it should be set to False until video support is verified.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id":...
null
agentscope-ai__QwenPaw__3195
agentscope-ai/QwenPaw
3,195
defect
68d75008360be37ddbf6a2872e8ed67311e07f33
f7cd639386d6c829d2b5154c6eb0c5740ea87ae7
refactor(local_models,providers): rename copaw to qwenpaw
## Description - Rename model IDs from CoPaw-Flash-* to QwenPaw-Flash-* - Rename provider ID from copaw-local to qwenpaw-local - Update download URLs and process/command names - Change agentType from CoPaw to QwenPaw in HTTP headers - Add ProviderManager migration for global active_model.json - Add AgentConfi...
diff --git a/src/qwenpaw/local_models/llamacpp.py b/src/qwenpaw/local_models/llamacpp.py index 2f728fd7354..6832ef1c15a 100644 --- a/src/qwenpaw/local_models/llamacpp.py +++ b/src/qwenpaw/local_models/llamacpp.py @@ -50,7 +50,7 @@ class LlamaCppServerSetupResult(BaseModel): class LlamaCppBackend: """ - CoPaw...
5
5
5
[{"id": "G0", "claim": "Renaming the provider ID from copaw-local to qwenpaw-local without a migration path will make existing copaw-local.json configs invisible to _init_from_storage, so users lose their local model settings and _resume_local_model stops functioning; consider adding a migration step in _init_from_stor...
null
agentscope-ai__QwenPaw__3278
agentscope-ai/QwenPaw
3,278
defect
597af80a4ad67d54acb565e4e3243ca72c267420
ddbbd6734e7e39001993127c9f42c0a3e4bf21b4
fix(session): recover from JSON corruption in session state files
## Description Fix a P0 availability issue where session state JSON files become corrupted due to concurrent write race conditions, causing `JSONDecodeError: Extra data` on every subsequent request to the affected session. **Root cause:** `save_session_state`, `update_session_state`, and `get_session_state_dict` acce...
diff --git a/src/copaw/app/runner/session.py b/src/copaw/app/runner/session.py index 7bd250ac6aa..36df9724870 100644 --- a/src/copaw/app/runner/session.py +++ b/src/copaw/app/runner/session.py @@ -111,7 +111,18 @@ async def load_session_state( errors="surrogatepass", ) as f: ...
2
2
1
[{"id": "G0", "claim": "Consider refactoring the corruption-recovery logic duplicated across load_session_state, update_session_state and get_session_state_dict into a private helper to improve maintainability, unify the warning messages, and instantiate the JSONDecoder once at module or class level.", "category": "mai...
null
agentscope-ai__QwenPaw__3305
agentscope-ai/QwenPaw
3,305
defect
2668316bcabd3eca7fe9e93dd3a75d938892541e
4c60736c62dda4bb05655860296302c97db599a0
fix: register AgentApp dispatched requests with TaskTracker to prevent background task cancellation
## Description Background tasks dispatched via `--background` (submitted through `AgentApp`'s `POST /api/agent/process/task` endpoint) were unexpectedly cancelled whenever the agent workspace was reloaded. Tasks ended with `_is_interrupted=True` or cancelled status and the error `"The tool call has been interrupted ...
diff --git a/src/qwenpaw/app/_app.py b/src/qwenpaw/app/_app.py index 90691d8bdcb..71c3724d534 100644 --- a/src/qwenpaw/app/_app.py +++ b/src/qwenpaw/app/_app.py @@ -3,6 +3,7 @@ import mimetypes import os import time +import uuid from contextlib import asynccontextmanager, suppress from pathlib import Path @@ -76...
5
5
2
[{"id": "G0", "claim": "unregister_external_task() removes the run state without sending the _SENTINEL to attached subscriber queues, so if a client ever attaches to an external run_key its consumer can hang indefinitely waiting for termination.", "category": "correctness", "verdict": "supported", "priority": "P1", "sc...
null
agentscope-ai__QwenPaw__3333
agentscope-ai/QwenPaw
3,333
defect
64ffb33033de179588960cd87415aab9c153ffaa
bc7e129f10401ca677aac262c873d9ad865d160d
feat(agents): allow custom agent ID when creating agents
## Summary Allow users to optionally specify a custom `id` when creating an agent via the API or Console. When omitted, the existing random short UUID behavior is preserved. Closes #3325 ## Changes ### Backend - **`src/qwenpaw/config/config.py`**: Add `sanitize_agent_id()` (strip whitespace) and `validate_agent_id...
diff --git a/console/src/api/types/agents.ts b/console/src/api/types/agents.ts index 12b377d852f..fbab7ce430e 100644 --- a/console/src/api/types/agents.ts +++ b/console/src/api/types/agents.ts @@ -33,6 +33,7 @@ export interface AgentProfileConfig { } export interface CreateAgentRequest { + id?: string; name: st...
5
4
2
[{"id": "G0", "claim": "_AGENT_ID_PATTERN still accepts a single-character ID via its |^[a-z0-9]$ alternative while validate_agent_id() enforces _AGENT_ID_MIN_LENGTH = 2, so that branch can never be accepted and invites drift between the regex and the length rule; align the regex with the 2-64 constraint.", "category":...
null
agentscope-ai__QwenPaw__3431
agentscope-ai/QwenPaw
3,431
defect
3baedbd0f8c3ae152fb6bc65abe420a35f508a49
11bfa9e2337e6dabe7e1c8879ab86d4979a4eaa8
fix(provider): serialize models in get_info() to prevent pydantic class-identity crash
## Problem `Provider.get_info()` 返回 `ProviderInfo` 时直接传入 `self.models` 和 `self.extra_models` 的 `ModelInfo` 实例。当同一模块通过两条 Python import 路径加载(如 `PYTHONPATH=src/` + pip install),内存中会存在两个 `ModelInfo` 类。pydantic v2 在构造 `ProviderInfo` 时做 `isinstance()` 检查,发现 class-A 的实例不是 class-B 的 `ModelInfo`,直接抛 `ValidationError`。 用户表现:每次...
diff --git a/src/qwenpaw/providers/provider.py b/src/qwenpaw/providers/provider.py index 26c5dd494c2..6644b689060 100644 --- a/src/qwenpaw/providers/provider.py +++ b/src/qwenpaw/providers/provider.py @@ -205,10 +205,14 @@ def update_config(self, config: Dict) -> None: ): self.generate_kwargs = co...
1
1
0
[{"id": "G0", "claim": "The new test module imports `types`, `List`, `BaseModel` and `Field` without using them, which will fail pre-commit CI linting, so the unused imports should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
agentscope-ai__QwenPaw__3485
agentscope-ai/QwenPaw
3,485
defect
0aaa68c08480deed405dad3c7aa5a457688d2bcb
14d0a53f2292cf982afa14039021e1ed7f026f72
Fix(tools): Optimize agent communication tools
## Description This pull request introduces a new background task workflow for inter-agent communication, improving both the API and documentation. The main changes include adding two new tools—`submit_to_agent` for submitting background tasks and `check_agent_task` for querying their status—while refactoring `chat_...
diff --git a/src/qwenpaw/agents/react_agent.py b/src/qwenpaw/agents/react_agent.py index 141805882e9..1780e41344c 100644 --- a/src/qwenpaw/agents/react_agent.py +++ b/src/qwenpaw/agents/react_agent.py @@ -39,6 +39,8 @@ browser_use, delegate_external_agent, chat_with_agent, + check_agent_task, + sub...
4
2
2
[{"id": "G0", "claim": "chat_with_agent validates to_agent but not text, so an empty/whitespace text is still sent (after adding the identity prefix), which can produce confusing agent behavior; add a check that text is non-empty after stripping whitespace and return a clear error when it is missing.", "category": "cor...
null
agentscope-ai__QwenPaw__3596
agentscope-ai/QwenPaw
3,596
defect
fa6f436915db090f893f92c1ac7eed0d6579ca9e
6106cade98071fe13ea5f4e0bf53c213a09c90f0
Feat(Local Model): Supports configuring server ports and monitoring server logs.
## Description As the title says **Related Issue:** Fixes #(issue_number) or Relates to #(issue_number) **Security Considerations:** [If applicable, e.g. channel auth, env/config handling] ## Type of Change - [ ] Bug fix - [ ] New feature - [ ] Breaking change - [ ] Documentation - [ ] Refactoring ...
diff --git a/console/src/api/types/provider.ts b/console/src/api/types/provider.ts index 8fe2da24cc3..daca6092689 100644 --- a/console/src/api/types/provider.ts +++ b/console/src/api/types/provider.ts @@ -89,10 +89,12 @@ export interface ModelConfigRequest { export interface LocalModelConfig { max_context_length:...
3
2
2
[{"id": "G0", "claim": "Setting SO_REUSEADDR before binding in _is_port_available can, on Windows, allow multiple sockets to bind the same address/port, making the availability check unreliable and potentially causing llama-server startup failures even though the pre-check passed; consider avoiding SO_REUSEADDR or usin...
null