You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[](https://discord.gg/qdfnvSPcqP)
29
29
30
30
CreditNexus is a next-generation financial operating system that bridges the gap between **Sustainabiity-Linked Loans (Legal Contracts)** and **Physical Reality (Satellite Data)**. It uses AI agents to extract covenants from PDF agreements and orchestrates "Ground Truth" verification using geospatial deep learning.
31
31
@@ -551,14 +551,34 @@ Complete securitization workflow from pool creation to token minting.
551
551
552
552
## 🔗 System Interoperability (FDC3)
553
553
554
-
The platform components are designed to work as a "Chain of Command" using the **FDC3 Standard** for seamless data flow:
554
+
CreditNexus is **fully compliant with FDC3 2.0** standards, enabling seamless desktop interoperability with other financial applications. The platform components are designed to work as a "Chain of Command" using the **FDC3 Standard** for seamless data flow:
555
555
556
556
1.**Extract**: Use the **Document Parser** to turn a PDF into data. Click "Broadcast to Desktop" to send the loan data out.
557
557
2.**Trade**: The **Trade Blotter** automatically receives this signal and pre-fills an LMA trade ticket.
558
558
3.**Analyze**: **GreenLens** picks up the same signal to show the ESG Margin Ratchet and pricing impact.
559
559
4.**Verify**: The **Verification Demo** runs the "Ground Truth" protocol. When a breach is detected, it broadcasts an updated context.
560
560
5.**Surveil**: The **Risk War Room** listens for these alerts and automatically highlights assets in breach for immediate investigation.
561
561
562
+
### FDC3 2.0 Compliance Features
563
+
564
+
- ✅ **App Directory API**: Served at `/api/fdc3/apps` for OpenFin Workspace discovery
565
+
- ✅ **Context Types**: All custom contexts use `finos.creditnexus.*` namespace (FDC3 2.0 compliant)
566
+
- ✅ **Intent Handling**: Full support for intent listeners and raisers
567
+
- ✅ **App Channels**: Custom channels for workflow, extraction, and portfolio events
568
+
- ✅ **Error Handling**: Robust validation and retry logic for reliable broadcasting
569
+
- ✅ **Native OpenFin Integration**: Uses built-in FDC3 2.0 API (no deprecated services)
-`finos.cdm.greenFinanceAssessment` - Green finance assessment
581
+
562
582
> 📖 **Learn More**: See [Documentation - Architecture](https://tonic-ai.mintlify.app/architecture/overview) for detailed system design and [Documentation - FDC3 Compliance](https://tonic-ai.mintlify.app/compliance/fdc3-compliance) for interoperability standards.
563
583
564
584
---
@@ -624,12 +644,18 @@ npm run dev
624
644
625
645
**Terminal 3 - Launch OpenFin:**
626
646
```powershell
627
-
# Launch via RVM (no CLI needed!)
628
-
.\scripts\launch_openfin.ps1
647
+
# Launch via RVM (no CLI needed!)
648
+
.\scripts\launch_openfin.sh
629
649
# Or simply open the manifest URL in your browser:
630
650
# http://localhost:8000/openfin/app.json
631
651
```
632
652
653
+
**Windows (Git Bash/MINGW64):**
654
+
```bash
655
+
# Launch via RVM
656
+
./scripts/launch_openfin.sh
657
+
```
658
+
633
659
### What Happens
634
660
635
661
1.**Backend Server** starts on `http://127.0.0.1:8000`
@@ -648,6 +674,52 @@ npm run dev
648
674
- Loads frontend from `http://localhost:8000` (redirected from Vite)
649
675
- Includes FDC3 interoperability
650
676
677
+
### After the Script Runs
678
+
679
+
Once `launch_openfin.sh` completes successfully, here's what happens:
680
+
681
+
1.**OpenFin Runtime Launch**:
682
+
- If this is your first time, OpenFin Runtime will download automatically (this may take a few minutes)
683
+
- The OpenFin Runtime window will appear
684
+
- You'll see the CreditNexus platform loading
685
+
686
+
2.**Application Window Opens**:
687
+
- A new window (1400×900 pixels) will open with the CreditNexus application
688
+
- The application loads from `http://localhost:8000`
689
+
- You should see the CreditNexus login/interface
690
+
691
+
3.**FDC3 Integration Active**:
692
+
- FDC3 2.0 API is available via `window.fdc3`
693
+
- App Directory is accessible at `http://localhost:8000/api/fdc3/apps`
694
+
- Context broadcasting and intent handling are ready
695
+
696
+
4.**What You Can Do Next**:
697
+
-**Login/Register**: Create an account or login to access features
698
+
-**Test FDC3**: Open multiple windows and test context broadcasting between them
699
+
-**Use Document Parser**: Upload a credit agreement PDF and click "Broadcast to Desktop" to test FDC3 context sharing
700
+
-**Open Trade Blotter**: It will automatically receive FDC3 contexts from Document Parser
701
+
-**Test GreenLens**: It listens for FDC3 contexts to show ESG analytics
702
+
-**Verify Integration**: Check that other FDC3-compliant apps can discover CreditNexus via the App Directory
703
+
704
+
5.**First Launch Notes**:
705
+
- OpenFin Runtime download: On first launch, OpenFin may take 1-2 minutes to download and install
706
+
- Security prompts: You may see security prompts - allow OpenFin to run
707
+
- Port access: Ensure ports 8000 and 5173 are not blocked by firewall
708
+
709
+
6.**Verifying Everything Works**:
710
+
```bash
711
+
# Check FDC3 App Directory is accessible
712
+
curl http://localhost:8000/api/fdc3/apps
713
+
714
+
# Should return JSON with CreditNexus app definition
715
+
```
716
+
717
+
7.**If OpenFin Doesn't Launch**:
718
+
- Check the script output for error messages
719
+
- Verify backend is running: `curl http://localhost:8000/api/health`
720
+
- Verify manifest is accessible: `curl http://localhost:8000/openfin/app.json`
721
+
- Try opening the manifest URL directly in your browser: `http://localhost:8000/openfin/app.json`
722
+
651
723
### Configuration
652
724
653
725
The configuration is in `openfin/app.json`:
@@ -660,8 +732,11 @@ The configuration is in `openfin/app.json`:
The FDC3 App Directory is automatically served by the backend at `http://localhost:8000/api/fdc3/apps`. This allows OpenFin Workspace and other FDC3-compliant platforms to discover and integrate with CreditNexus.
665
740
666
741
### Troubleshooting
667
742
@@ -683,11 +758,23 @@ npm install
683
758
684
759
**OpenFin Won't Launch:**
685
760
```powershell
686
-
# Verify OpenFin CLI is installed
687
-
openfin --version
761
+
# Verify OpenFin RVM is installed (recommended)
762
+
# RVM is automatically installed by OpenFin Runtime
688
763
689
-
# Install if needed
764
+
# Alternative: Install OpenFin CLI (optional)
690
765
npm install -g @openfin/cli
766
+
767
+
# Or use the launcher script which handles RVM detection
768
+
.\scripts\launch_openfin.sh
769
+
```
770
+
771
+
**FDC3 App Directory Not Accessible:**
772
+
```powershell
773
+
# Verify the endpoint is accessible
774
+
curl http://localhost:8000/api/fdc3/apps
775
+
776
+
# Check backend logs for errors
777
+
# Ensure openfin/fdc3-intents.json exists
691
778
```
692
779
693
780
**Cannot Connect to Services:**
@@ -727,9 +814,13 @@ Then configure `openfin/app.json` to point to the production build location.
727
814
### Features
728
815
729
816
-**FDC3 2.0 Interoperability**: Native support for context broadcasting and intent handling
817
+
-**App Directory API**: Automatic discovery endpoint at `/api/fdc3/apps` for OpenFin Workspace
818
+
-**Context Type Validation**: Robust validation and error handling for all FDC3 contexts
819
+
-**Namespace Compliance**: All custom contexts use `finos.*` namespace per FDC3 2.0 standards
730
820
-**Desktop Integration**: Seamless integration with other OpenFin applications
731
821
-**Platform Management**: Multi-window platform with workspace support
732
822
-**Security**: Configurable security realms and CORS policies
823
+
-**Native API**: Uses OpenFin's built-in FDC3 2.0 API (no deprecated services)
0 commit comments