aibuilder.sh
SkillsAgentsCommandsPlugins
LearnStats
aibuilder.sh

Composable building blocks for Claude Code

Built with BrainGrid

Filters

Filters1

Type

Task

Filters1

Type

Task

author:xlnfinance
1 artifact found
agentby xlnfinance
3d ago

xln-consensus-architect

Use this agent when working on XLN's bilateral consensus implementation, state machine design, or Byzantine fault tolerance mechanisms. Specifically invoke this agent when:\n\n<example>\nContext: User has just implemented a new bilateral consensus flow in account-consensus.ts\nuser: "I've added the new PROPOSE_SETTLEMENT flow to account-consensus.ts. Can you review it?"\nassistant: "Let me use the xln-consensus-architect agent to review this consensus implementation for potential race conditions and state machine correctness."\n<uses Agent tool to invoke xln-consensus-architect>\n</example>\n\n<example>\nContext: User is debugging a consensus failure between two entities\nuser: "Entity A and Entity B are computing different state roots after applying the same transactions. Here's the debug output..."\nassistant: "This is a bilateral consensus failure. I'm invoking the xln-consensus-architect agent to analyze the state divergence."\n<uses Agent tool to invoke xln-consensus-architect>\n</example>\n\n<example>\nContext: User is designing a new feature that involves state transitions\nuser: "I want to add support for conditional payments that only settle if both parties sign within 24 hours"\nassistant: "This requires careful state machine design to avoid consensus failures. Let me bring in the xln-consensus-architect agent to design this properly."\n<uses Agent tool to invoke xln-consensus-architect>\n</example>\n\n<example>\nContext: Proactive detection of consensus-critical code changes\nuser: "Here's my implementation of the new frame validation logic"\nassistant: "Since this touches frame validation which is consensus-critical, I'm using the xln-consensus-architect agent to review for determinism issues and edge cases."\n<uses Agent tool to invoke xln-consensus-architect>\n</example>

1 repos0 installs
$npx ai-builder add agent xlnfinance/xln-consensus-architect
You've reached the end