这个版本更新了什么#
Policy System Overhaul#
- Bug fix: comment truncation now respects max_length (suffix included in limit)
- Bug fix: label blocklist is case-insensitive (matches GitHub/GitLab)
- Bug fix: deep-copy Result fields in policy filter (prevents aliasing)
- Bug fix: DenyAll now strips metadata, empty filtered labels return nil
- Bug fix: mecha-fire-event tool schema now includes event_type parameter
- Label allowlist:
allowed: [bug, enhancement]for restrictive posture - Status state validation: invalid states rejected by policy
- Commit diff size limit:
max_size: 50000blocks oversized diffs - Metadata redaction:
metadata: {allow: false}strips model/token info - Managed worker policy warning logged when Docker workers lack policy
42 Integration Tests#
Full pipeline coverage across 5 tiers:
- Pipeline (6): webhook→dispatch→write-back, policy filters, dedup, signatures
- Sources (4): Slack, Telegram, GitLab e2e, Slack URL verification
- MCP (4): task submit+status, worker list, task list, metrics
- Resilience (4): crash recovery, concurrent webhooks, worker offline
- Policy (6): allowlist, case-insensitive blocking, metadata, diff limit, status, all-denied
- Edge cases (7): timeout, empty/non-JSON result, auto:false, filter matching, write-back failure, body limit
- Must-haves (7): retry, rate limiter, adapter Ollama, cron, generic source, auth, round-robin
Documentation#
- Fixed CRITICAL: cli.md config precedence contradiction
- Architecture diagram rewritten with full pipeline
- CronTrigger + GitLab write-back sections added to events.md
- 27 new symbols documented in go-api.md
- Version references updated, stale labels removed
- worker-yaml-spec.md now documents events + policy fields
以上是作者写在 GitHub 上的英文更新说明原文,未经翻译。查看原页面