Files
cleveragents-core/.opencode
freemo ee33fd46b6
ci.yml / feat: add explicit pattern documentation to reduce agent discovery time (push) Failing after 0s
feat: add explicit pattern documentation to reduce agent discovery time
Created two new reference documents:
- COMMON_PATTERNS.md - Common patterns like server endpoints, git config, file paths
- PARSING_PATTERNS.md - Tested regexes and parsing patterns for logs and errors

Key optimizations:
1. Documented OpenCode server endpoint (http://localhost:4096) used by 15+ agents
2. Standardized git remote patterns (origin=Forgejo, upstream=local)
3. Explicit nox command outputs and exit codes
4. CI job names and status formats in PR pages
5. Forgejo issue/PR metadata requirements and formats
6. Session state issue patterns and discovery
7. Common error patterns for lint, typecheck, and test failures
8. File organization paths and naming conventions

Agent-specific optimizations:
- bug-hunter: Direct module listing command instead of "map source tree"
- lint-fixer: Explicit error code patterns (E501, F401, etc.)
- typecheck-fixer: Pyright error parsing pattern
- async-agent-starter: Documented server endpoint

These patterns eliminate repetitive discovery work, saving 5-30 seconds per
agent invocation depending on complexity. Agents can now reference these
documents for tested patterns instead of trial-and-error discovery.
2026-04-06 23:11:15 +00:00
..