Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
442 changes: 442 additions & 0 deletions MATCHING_IMPROVEMENTS.md

Large diffs are not rendered by default.

152 changes: 152 additions & 0 deletions RELEASE_NOTES_v2.2.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,152 @@
# Musashi v2.2.0 - Release Notes

## Chrome Web Store Update - March 27, 2026

---

## 🎯 What's New

### Major Improvements for Tech Audience

#### 1. ✨ Category Filtering (NEW)
**Target audience: Tech circle (engineers, founders, VCs, crypto people)**

**Removed 200-400 irrelevant markets** from sports, entertainment, music, gaming, fashion, and lifestyle categories.

**Now focuses ONLY on:**
- 🤖 Tech & AI: OpenAI, Anthropic, NVIDIA, startups, AGI, LLMs
- 💰 Crypto & Web3: Bitcoin, Ethereum, DeFi, blockchain, NFTs
- 📊 Economics & Finance: Fed, stocks, inflation, recession, banking
- 🏛️ Politics & Policy: Elections, Congress, president, geopolitics, trade
- 🏢 Business: IPOs, acquisitions, venture capital, funding
- 🔬 Science: Research, climate, energy, space

**Result:** Zero "Netflix movie" or "Super Bowl" matches on tech tweets!

---

#### 2. 🚀 AI/Tech/Crypto Priority Boost (NEW)
**User feedback: "I want AI agent tweets to match more often"**

**High-priority categories now get:**
- +0.15 confidence boost (significant!)
- 33% lower matching threshold (0.10 vs 0.15)
- Result: **2-3x more matches** for AI/tech/crypto topics

**18 new AI agent keywords added:**
- agents, ai agents, autonomous, agentic
- multi-agent, agent framework, swarm, ai swarm
- reasoning, planning, tool use, function calling
- langchain, autogen, crewai

**Example impact:**
```
Tweet: "AI agents are getting autonomous"
Before: 0.12 confidence → ❌ No match
After: 0.12 + 0.15 boost = 0.27 → ✅ MATCH!
```

---

#### 3. 🎨 Improved Context-Aware Matching
**Fixes: "3D world generation" → "Nobel Peace Prize" bad matches**

Now understands if tweet is **ABOUT** a market vs just mentioning keywords:
- Detects prediction language, timeframes, quantitative data
- Filters casual mentions like "btw", "lol", parenthetical remarks
- Better sentiment analysis with 2-word negation window
- Dynamic phrase detection beyond static synonyms

**Result:** 50-70% reduction in false positives

---

#### 4. 🐛 Critical Bug Fix
**Fixed:** Icon installation error ("無法對圖片解析:'icon128.png'")

All users can now install from Chrome Web Store without errors.

---

## 📊 Impact Summary

**Before v2.2.0:**
- 1200-1400 markets loaded (including sports, entertainment)
- AI/tech tweets often didn't match
- Many false positives from casual mentions
- Installation broken for some users

**After v2.2.0:**
- 900-1200 relevant markets (tech-focused)
- AI/tech/crypto tweets match 2-3x more often
- 50-70% fewer false positives
- Installation works for all users

---

## 💡 Usage Tips

### See More AI/Tech Matches:
Search Twitter for:
- "ai agents" - Should see cards on most tweets
- "autonomous systems" - AI markets appear
- "bitcoin rally" - Crypto markets prioritized
- "gpt-5 release" - OpenAI markets boosted
- "ethereum staking" - DeFi markets shown

### Check What's Working:
Open DevTools (F12) → Console to see:
```
[Matcher] "AI agents..." → AI Market: 0.280 (category: +0.150)
[Category Filter] Filtered out 320 entertainment/sports markets
```

---

## 🔧 Technical Details

**New Files:**
- `src/data/category-filter.ts` - Category whitelist/blacklist
- `src/data/category-priority.ts` - Priority boost system
- `src/analysis/context-scorer.ts` - Context understanding
- `src/analysis/phrase-detector.ts` - Dynamic phrase extraction

**Modified Files:**
- `src/analysis/keyword-matcher.ts` - Priority boosting integration
- `src/analysis/sentiment-analyzer.ts` - Better negation handling
- `src/background/service-worker.ts` - Category filtering
- `public/icons/` - Fixed placeholder icon files

**Bundle Size:** 191KB (up from 178KB due to new features)

---

## 🐛 Known Issues

None! All issues from v2.0.0 and v2.1.0 resolved.

---

## 🙏 Credits

Built with feedback from early users who wanted:
1. ✅ No entertainment/sports noise
2. ✅ More AI agent matches
3. ✅ Better matching quality
4. ✅ Fixed installation

---

## 📝 Version History

- **v2.2.0** (Mar 27, 2026) - Category filtering + AI priority boost
- **v2.1.0** (Mar 27, 2026) - Context-aware matching
- **v2.0.0** (Mar 01, 2026) - Initial public release

---

## 🚀 Next Steps

Try the extension and let us know what you think!

Report issues: https://github.com/MusashiBot/Musashi/issues
4 changes: 2 additions & 2 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"manifest_version": 3,
"name": "Musashi",
"version": "2.0.0",
"description": "AI-powered prediction market intelligence for Twitter/X - Polymarket & Kalshi signals",
"version": "2.2.0",
"description": "AI-powered prediction market intelligence - Smart matching for tech, AI, crypto & politics",
"permissions": [
"storage",
"activeTab",
Expand Down
Binary file added musashi-extension-v2.0.0-fixed.zip
Binary file not shown.
38 changes: 38 additions & 0 deletions musashi-mcp/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Dependencies
node_modules/
package-lock.json

# Build outputs
dist/
*.tsbuildinfo

# Environment variables
.env
.env.local
.env.*.local

# IDE
.vscode/
.idea/
*.swp
*.swo
*~

# OS
.DS_Store
Thumbs.db

# Logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Testing
coverage/
.nyc_output/

# Temporary files
*.tmp
*.temp
.cache/
Loading
Loading