Files
cleveragents-core/features
HAL9000 f62fd7bd12
CI / benchmark-publish (pull_request) Has been skipped
CI / push-validation (pull_request) Successful in 33s
CI / helm (pull_request) Successful in 44s
CI / build (pull_request) Successful in 54s
CI / quality (pull_request) Successful in 1m13s
CI / lint (pull_request) Successful in 1m23s
CI / typecheck (pull_request) Successful in 1m30s
CI / security (pull_request) Successful in 1m31s
CI / benchmark-regression (pull_request) Failing after 55s
CI / e2e_tests (pull_request) Successful in 3m55s
CI / integration_tests (pull_request) Successful in 5m3s
CI / unit_tests (pull_request) Failing after 6m3s
CI / coverage (pull_request) Has been skipped
CI / docker (pull_request) Has been skipped
CI / status-check (pull_request) Failing after 4s
fix(acms): normalize context path matching for absolute paths in _path_matches
Fixes issue #10972 where _path_matches() used PurePath.full_match()/match()
which requires the entire path to match. Since fragment metadata stores
absolute paths (e.g. /app/.opencode/skills/SKILL.md) while project context
--exclude-path/--include-path settings produce relative globs (.opencode/*,
docs/*), include/exclude filters were silently ineffective.

Added _matches_any() static helper in execute_phase_context_assembler.py that:
- Tries full_match(pattern) as-is for relative paths and anchored patterns
- Auto-prefixes relative patterns with **/ so they match absolute paths
Updated _matches_pattern() in context_phase_analysis.py with same logic plus
zero-depth compatibility shim.

Added 7 new BDD regression scenarios with @tdd_issue tags:
- 5 in execute_phase_context_assembler_coverage.feature (absolute path matching)
- 1 extra trailing ** glob exclusion test
- 1 in project_context_phase_analysis.feature (phase analysis exclusion)

ISSUES CLOSED: #10972
2026-05-07 12:11:31 +00:00
..