feat: @makora/solprism — verifiable reasoning for DeFi decisions - #3
Open
austinatneuko wants to merge 1 commit into
Open
Conversation
Add SOLPRISM commit-reveal integration as a new package in the monorepo. Creates cryptographic pre-commitments for every OODA cycle decision, making the LLM-powered DeFi agent's reasoning verifiable on Solana. Integration points: - ORIENT: LLM analysis, sentiment, allocation, Polymarket signals - DECIDE: Full OODA cycle decisions (proposed/approved/rejected) - ACT: Execution results with portfolio impact - VETO: Risk manager rejections with failed check details Package structure: - packages/solprism/src/tracer.ts: SolprismTracer high-level API - packages/solprism/src/traces.ts: Trace builders for each OODA phase - packages/solprism/src/hash.ts: SHA-256 hashing (SOLPRISM SDK compatible) - packages/solprism/src/types.ts: ReasoningTrace type definitions - packages/solprism/README.md: Usage documentation Key points: - Pure addition, zero changes to existing Makora packages - Follows monorepo conventions (tsup, workspace deps) - Compatible with @solprism/sdk for onchain commits - No new external dependencies SOLPRISM Program: CZcvoryaQNrtZ3qb3gC1h9opcYpzEP1D9Mu1RVwFQeBu SDK: @solprism/sdk@0.1.0
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.
🔮 SOLPRISM × Makora Integration
The problem
Makora is an autonomous DeFi agent managing real money. When an AI handles your portfolio, "trust me" isn't enough — you need cryptographic proof of correct reasoning.
What this adds
SOLPRISM is a commit-reveal protocol for verifiable AI reasoning on Solana. This PR adds a new
@makora/solprismpackage that creates reasoning pre-commitments at every OODA phase.How it maps to Makora's architecture
commitStrategy()commitOODACycle()commitExecution()commitRiskVeto()Usage
Package structure
Zero risk
@solprism/sdkfor onchain commits when neededLinks
@solprism/sdk@0.1.0)CZcvoryaQNrtZ3qb3gC1h9opcYpzEP1D9Mu1RVwFQeBuBuilt for the Solana Agent Hackathon 🔮