ICN Demo - Current System Status
Date: 2025-12-18 17:25 Status: Historical demo snapshot Readiness: 90% for full stack demo
Historical demo-environment snapshot from 2025-12-18. For current CI posture, use
docs/ci/CI_CURRENT_STATUS.mdand re-run runtime checks.
๐ Current Notes (2026-01-19)
- This report captures a point-in-time demo environment.
- Validate current runtime status before demoing (daemon, gateway, UI processes).
๐ข Running Services
ICN Daemon
- Status: โ Running
- Process: PID from daemon-fixed session
- DID:
did:icn:zBFnhJhgvRjgukhQmkq9ddBz5wiEt32ptkQkBDjWx6uPh - Data Directory:
<demo-data-dir>/data
Gateway API
- Status: โ Operational
- URL: http://localhost:8080
- Health:
{"status":"ok","version":"0.1.0"} - API Version: v1
Pilot UI
- Status: โ Running
- URL: http://localhost:3000
- Server: Python HTTP server (PID 1403831)
Network Layer
- QUIC: 0.0.0.0:19777
- RPC: 127.0.0.1:15602
- Metrics: http://0.0.0.0:9100/metrics
- mDNS: Active
๐งช Verified Working
Health Check
$ curl http://localhost:8080/v1/health
{"status":"ok","version":"0.1.0"}
All Actors Running
- โ Identity Actor
- โ Network Actor (QUIC + mDNS)
- โ Gossip Actor
- โ Ledger
- โ Governance Actor
- โ Compute Actor
- โ Dispute Actor
- โ Cooperative Actor
Services Initialized
- โ Cooperative Manager
- โ Compute Manager
- โ Budget Store
- โ Notification Service
- โ Notification Processor
- โ Recurring Payments Scheduler
- โ Escrow Store
- โ Ledger Triggers
๐ฏ Next Steps to Complete Demo
Phase 1: Test Gateway Endpoints (30 min)
# 1. Test health (already working)
curl http://localhost:8080/v1/health
# 2. Try auth endpoint
curl -X POST http://localhost:8080/v1/auth/challenge \
-H "Content-Type: application/json" \
-d '{"did":"did:icn:zBFnhJhgvRjgukhQmkq9ddBz5wiEt32ptkQkBDjWx6uPh"}'
# 3. List cooperatives
curl http://localhost:8080/v1/coops
# 4. Test members endpoint
curl http://localhost:8080/v1/members
# 5. Test ledger endpoints
curl http://localhost:8080/v1/ledger
Phase 2: Initialize Cooperative (30 min)
# Option A: Via icnctl
cd <repo-root>/icn
./target/release/icnctl -e 127.0.0.1:15602 init-coop
# Option B: Via Gateway API
curl -X POST http://localhost:8080/v1/coops \
-H "Content-Type: application/json" \
-d '{
"name": "Rochester Tool Library",
"type": "timebank",
"founder_did": "did:icn:zBFnhJhgvRjgukhQmkq9ddBz5wiEt32ptkQkBDjWx6uPh"
}'
Phase 3: Test UI Connection (30 min)
- Open http://localhost:3000 in browser
- Fill in login form:
- Gateway URL:
http://localhost:8080 - Cooperative ID: [whatever we create]
- DID:
did:icn:zBFnhJhgvRjgukhQmkq9ddBz5wiEt32ptkQkBDjWx6uPh - Token: [get from auth endpoint]
- Gateway URL:
- Check browser console for errors
- Verify dashboard loads
Phase 4: Test Transaction Flow (1 hour)
- Create test members (need 2+ for transactions)
- Create a test transaction via API
- Verify it appears in UI
- Check balances update correctly
โ ๏ธ Known Issues
1. STUN Discovery Disabled
Impact: Node only reachable on local network
Workaround: Fine for demo on localhost
Fix Needed: Reuse endpoint socket or bind before endpoint creation
File: icn-net/src/session.rs:170-193
2. Gateway "Address in Use" Warning
Impact: None - warning only, gateway works Status: Can investigate later if needed
3. Authentication Flow Unknown
Impact: Don't know exact JWT flow yet Status: Need to test auth endpoints
4. Cooperative Initialization Unknown
Impact: Don't know if init-coop works or needs API Status: Need to test both methods
Status: READY FOR API TESTING โ