feat: v0.1.14 — intelligent routing, code transforms, governance, and cross-platform coordination#30
Merged
ApiliumDevTeam merged 4 commits intodevfrom Mar 11, 2026
Conversation
… cross-platform coordination Phase 1 — Intelligent Routing: - Eruberu: Q-Learning model router with contextual bandit exploration - Miteru: task-to-agent routing with capability scoring - Kimeru: multi-strategy consensus engine (majority, weighted, arbitrate, pbft-local, leader-score) - Tomeru: rate limiting, loop detection, and emergency stop guard - Token economy: response cache, budget bridge, cost tracking Phase 2 — Competitive Parity: - Hayameru: deterministic code transforms (var-to-const, remove-console, sort-imports, add-semicolons, remove-comments) via before_agent_run hook - Osameru: governance control plane with HMAC-chained audit trail, policy compilation from MAYROS.md, trust tiers with persistence - Kakeru: dual-platform bridge with file locking and workflow coordination - Vector search client wired to Cortex HNSW endpoints Hardening (22 fixes): - Security: timing-safe HMAC comparison, path traversal validation - Data integrity: promise-based mutex for audit trail, ENOSPC handling, atomic file writes with backup - Transforms: escaped quote handling, side-effect imports, destructuring detection, string-aware paren counting, expanded skip patterns - Honesty: file-size-based token estimates, renamed consensus strategies to reflect local simulation, honest bridge stubs, git-diff file detection - Governance: require-approval enforcement, dynamic trust scoring, dead code removal, policy file size limits Bump REQUIRED_CORTEX_VERSION to 0.4.2 for HNSW vector search support.
Lint (19 → 0 warnings): - Remove unused imports/variables across agent-mesh, eruberu, kakeru-bridge, osameru-governance, token-economy - Fix no-base-to-string in workflow-orchestrator and loop-breaker - Fix restrict-template-expressions for narrowed never type - Remove useless spread on Set iteration Dependencies (3 → 0 vulnerabilities): - tar 7.5.10 → 7.5.11 (GHSA-9ppj-qmqm-q256, high) - hono 4.12.4 → 4.12.7 (GHSA-v8w9-8mx6-g223, moderate) - file-type 21.3.0 → 21.3.1 (GHSA-5v7r-6r5c-r473, moderate)
…tion in bridge init - Guard empty votes object in confidence calculation (NaN/Infinity) - Wrap Claude bridge connect() in try-catch to prevent plugin init crash
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
before_agent_runhookREQUIRED_CORTEX_VERSIONto 0.4.2Test plan
pnpm build— clean (322 files)pnpm audit— 0 vulnerabilities