feat: add TreadFi CLI status skeleton#39
Open
JaeLeex wants to merge 3 commits into
Open
Conversation
Expose read-only TreadFi contract status through `hl treadfi` so agents can see what is blocked without calling invented endpoints. Co-authored-by: Cursor <cursoragent@cursor.com>
Add explicit read-only FastMCP tools for TreadFi contract status so agents can discover the blocked integration state. Co-authored-by: Cursor <cursoragent@cursor.com>
sdb001
approved these changes
Jun 17, 2026
sdb001
left a comment
Collaborator
There was a problem hiding this comment.
Reviewed. The CLI status skeleton stays read-only and accurately reports TreadFi as blocked until endpoint/tool fixtures exist. Verified on the stacked TreadFi branch: tests/test_treadfi_contract.py + tests/test_treadfi_mcp.py passed (5 passed), plus hl treadfi spec-status and market-params smoke checks returned the expected blocked/local BTCSWP payloads.
feat: expose TreadFi status over MCP
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
hl treadficommand group for contract status, capability placeholders, and BTCSWP local identifiers.Test plan
python3 -m pytest tests/test_treadfi_contract.pyMade with Cursor