docs: arbiter agent design document - #357
Hyperkid123 wants to merge 3 commits into
Conversation
Design doc for a meta-agent that audits and improves all Rehor instances. Covers 7 capabilities (idle audit, transcript mining, PR gap analysis, cost anomaly, config drift, cross-instance learning, preflight effectiveness), NetworkPolicy-based access control, SA identity auth, daily rotation cadence, and task-based state tracking. Ref: REHOR-54, REHOR-55 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Expand "repetitive patterns" to include prompt improvements and deterministic rules/workflows, not just skills (lines 12, 23) - Add "model used" to Transcript Pattern Miner inputs (line 53) - Change NetworkPolicy labels from app to name (lines 220, 231, 236) - Fix PR/MR watermark: use updated_at timestamp instead of PR number to catch new comments on older PRs (line 271) - Expand Run Identity dependency with REHOR-40 reference and run_id propagation details (line 333) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
I've just learned a bit more about LangFuse and it seem like it's worthwhile to consider it before duplicating functionality we could get for free. Or has it been already ruled out? Let me know what you think, I can look into more details. Below are two summaries from agents. The arbiter is building a custom, bespoke version of several things Langfuse provides out of the box. Specifically:
Not replaceable by Langfuse:
The interesting question: Should the arbiter consume Langfuse data instead of building its own telemetry pipeline? If every bot cycle was
That would let you skip building the watermark/transcript-store/dashboard-query plumbing in §2, §3, and §4, and instead have the arbiter Red Hat already runs a Langfuse instance with onboarding, CMDB integration, and an internal support channel A few things stand out for REHOR specifically: Good fit:
Friction points for REHOR:
What this means for the arbiter (REHOR-54):
Bottom line: The instrumentation side (tracing every cycle, cost tracking, eval scores) should just use the existing Langfuse instance — no |
|
@petrsimon this is a good find. I don't think this agent needs another REHOR instance. We should try their local docker compose setup and see the output. I'd love to use something that already exists and give we already have RH instance the onboarding could be quick. |
Matches actual deploy template convention across all instances. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
f3d6da8 to
7ef09a7
Compare
Summary
Jira
Test plan
🤖 Generated with Claude Code