mirror of
https://github.com/syntrex-lab/gomcp.git
synced 2026-07-11 16:12:10 +02:00
refactor: rename identity to syntrex, add root orchestration and CI/CD
- Rename Go module: sentinel-community/gomcp -> syntrex/gomcp (50+ files) - Rename npm package: sentinel-dashboard -> syntrex-dashboard - Update Cargo.toml repository URL to syntrex/syntrex - Update all doc references from DmitrL-dev/AISecurity to syntrex - Add root Makefile (build-all, test-all, lint-all, clean-all) - Add MIT LICENSE - Add .editorconfig (Go/Rust/TS/C cross-language) - Add .github/workflows/ci.yml (Go + Rust + Dashboard) - Add dashboard next.config.ts and .env.example - Clean ARCHITECTURE.md: remove brain/immune/strike/micro-swarm, fix 61->67 engines
This commit is contained in:
parent
2c50c993b1
commit
694e32be26
85 changed files with 169 additions and 169 deletions
2
internal/infrastructure/cache/bolt_cache.go
vendored
2
internal/infrastructure/cache/bolt_cache.go
vendored
|
|
@ -8,7 +8,7 @@ import (
|
|||
"path/filepath"
|
||||
"sync"
|
||||
|
||||
"github.com/sentinel-community/gomcp/internal/domain/memory"
|
||||
"github.com/syntrex/gomcp/internal/domain/memory"
|
||||
bolt "go.etcd.io/bbolt"
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ import (
|
|||
"path/filepath"
|
||||
"testing"
|
||||
|
||||
"github.com/sentinel-community/gomcp/internal/domain/memory"
|
||||
"github.com/syntrex/gomcp/internal/domain/memory"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/stretchr/testify/require"
|
||||
)
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ import (
|
|||
"encoding/json"
|
||||
"fmt"
|
||||
|
||||
"github.com/sentinel-community/gomcp/internal/domain/vectorstore"
|
||||
"github.com/syntrex/gomcp/internal/domain/vectorstore"
|
||||
bolt "go.etcd.io/bbolt"
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ import (
|
|||
"os"
|
||||
"testing"
|
||||
|
||||
"github.com/sentinel-community/gomcp/internal/domain/vectorstore"
|
||||
"github.com/syntrex/gomcp/internal/domain/vectorstore"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/stretchr/testify/require"
|
||||
bolt "go.etcd.io/bbolt"
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ import (
|
|||
"sync"
|
||||
"time"
|
||||
|
||||
"github.com/sentinel-community/gomcp/internal/domain/alert"
|
||||
"github.com/syntrex/gomcp/internal/domain/alert"
|
||||
)
|
||||
|
||||
// ---------- State Machine (v3.2) ----------
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ import (
|
|||
"github.com/stretchr/testify/assert"
|
||||
"github.com/stretchr/testify/require"
|
||||
|
||||
"github.com/sentinel-community/gomcp/internal/domain/alert"
|
||||
"github.com/syntrex/gomcp/internal/domain/alert"
|
||||
)
|
||||
|
||||
func testConfig(dir string) LeashConfig {
|
||||
|
|
|
|||
|
|
@ -15,9 +15,9 @@ import (
|
|||
"sync"
|
||||
"time"
|
||||
|
||||
"github.com/sentinel-community/gomcp/internal/domain/alert"
|
||||
"github.com/sentinel-community/gomcp/internal/domain/memory"
|
||||
"github.com/sentinel-community/gomcp/internal/domain/peer"
|
||||
"github.com/syntrex/gomcp/internal/domain/alert"
|
||||
"github.com/syntrex/gomcp/internal/domain/memory"
|
||||
"github.com/syntrex/gomcp/internal/domain/peer"
|
||||
)
|
||||
|
||||
// pipePath returns the platform-specific IPC socket path.
|
||||
|
|
|
|||
|
|
@ -10,10 +10,10 @@ import (
|
|||
"github.com/stretchr/testify/assert"
|
||||
"github.com/stretchr/testify/require"
|
||||
|
||||
"github.com/sentinel-community/gomcp/internal/domain/alert"
|
||||
"github.com/sentinel-community/gomcp/internal/domain/memory"
|
||||
"github.com/sentinel-community/gomcp/internal/domain/peer"
|
||||
"github.com/sentinel-community/gomcp/internal/infrastructure/ipc"
|
||||
"github.com/syntrex/gomcp/internal/domain/alert"
|
||||
"github.com/syntrex/gomcp/internal/domain/memory"
|
||||
"github.com/syntrex/gomcp/internal/domain/peer"
|
||||
"github.com/syntrex/gomcp/internal/infrastructure/ipc"
|
||||
)
|
||||
|
||||
// mockStore is a minimal in-memory FactStore for testing.
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ import (
|
|||
|
||||
ort "github.com/yalue/onnxruntime_go"
|
||||
|
||||
"github.com/sentinel-community/gomcp/internal/domain/vectorstore"
|
||||
"github.com/syntrex/gomcp/internal/domain/vectorstore"
|
||||
)
|
||||
|
||||
// Embedder implements vectorstore.Embedder using ONNX Runtime.
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ package onnx
|
|||
import (
|
||||
"log"
|
||||
|
||||
"github.com/sentinel-community/gomcp/internal/domain/vectorstore"
|
||||
"github.com/syntrex/gomcp/internal/domain/vectorstore"
|
||||
)
|
||||
|
||||
// NewEmbedderWithFallback attempts to create an ONNX embedder.
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ package onnx
|
|||
import (
|
||||
"log"
|
||||
|
||||
"github.com/sentinel-community/gomcp/internal/domain/vectorstore"
|
||||
"github.com/syntrex/gomcp/internal/domain/vectorstore"
|
||||
)
|
||||
|
||||
// NewEmbedderWithFallback returns FTS5 fallback embedder when built without ONNX.
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ import (
|
|||
"context"
|
||||
"fmt"
|
||||
|
||||
"github.com/sentinel-community/gomcp/internal/domain/vectorstore"
|
||||
"github.com/syntrex/gomcp/internal/domain/vectorstore"
|
||||
)
|
||||
|
||||
// PyBridgeEmbedder wraps the Python bridge as an Embedder.
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ import (
|
|||
"fmt"
|
||||
"time"
|
||||
|
||||
"github.com/sentinel-community/gomcp/internal/domain/causal"
|
||||
"github.com/syntrex/gomcp/internal/domain/causal"
|
||||
)
|
||||
|
||||
// CausalRepo implements causal.CausalStore using SQLite.
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ import (
|
|||
"context"
|
||||
"testing"
|
||||
|
||||
"github.com/sentinel-community/gomcp/internal/domain/causal"
|
||||
"github.com/syntrex/gomcp/internal/domain/causal"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/stretchr/testify/require"
|
||||
)
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ import (
|
|||
"path/filepath"
|
||||
"strings"
|
||||
|
||||
"github.com/sentinel-community/gomcp/internal/domain/crystal"
|
||||
"github.com/syntrex/gomcp/internal/domain/crystal"
|
||||
)
|
||||
|
||||
// CrystalRepo implements crystal.CrystalStore using SQLite.
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ import (
|
|||
"context"
|
||||
"testing"
|
||||
|
||||
"github.com/sentinel-community/gomcp/internal/domain/crystal"
|
||||
"github.com/syntrex/gomcp/internal/domain/crystal"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/stretchr/testify/require"
|
||||
)
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ import (
|
|||
"fmt"
|
||||
"time"
|
||||
|
||||
"github.com/sentinel-community/gomcp/internal/domain/memory"
|
||||
"github.com/syntrex/gomcp/internal/domain/memory"
|
||||
)
|
||||
|
||||
const timeFormat = time.RFC3339Nano
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ import (
|
|||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/sentinel-community/gomcp/internal/domain/memory"
|
||||
"github.com/syntrex/gomcp/internal/domain/memory"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/stretchr/testify/require"
|
||||
)
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ import (
|
|||
"fmt"
|
||||
"time"
|
||||
|
||||
"github.com/sentinel-community/gomcp/internal/domain/peer"
|
||||
"github.com/syntrex/gomcp/internal/domain/peer"
|
||||
)
|
||||
|
||||
// PeerRepo implements peer.PeerStore using SQLite.
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ import (
|
|||
"fmt"
|
||||
"time"
|
||||
|
||||
"github.com/sentinel-community/gomcp/internal/domain/soc"
|
||||
"github.com/syntrex/gomcp/internal/domain/soc"
|
||||
)
|
||||
|
||||
// SOCRepo provides SQLite persistence for SOC events, incidents, and sensors.
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ import (
|
|||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/sentinel-community/gomcp/internal/domain/soc"
|
||||
"github.com/syntrex/gomcp/internal/domain/soc"
|
||||
)
|
||||
|
||||
func setupSOCRepo(t *testing.T) *SOCRepo {
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ import (
|
|||
"fmt"
|
||||
"time"
|
||||
|
||||
"github.com/sentinel-community/gomcp/internal/domain/session"
|
||||
"github.com/syntrex/gomcp/internal/domain/session"
|
||||
)
|
||||
|
||||
// StateRepo implements session.StateStore using SQLite.
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ import (
|
|||
"context"
|
||||
"testing"
|
||||
|
||||
"github.com/sentinel-community/gomcp/internal/domain/session"
|
||||
"github.com/syntrex/gomcp/internal/domain/session"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/stretchr/testify/require"
|
||||
)
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ import (
|
|||
"fmt"
|
||||
"time"
|
||||
|
||||
"github.com/sentinel-community/gomcp/internal/domain/synapse"
|
||||
"github.com/syntrex/gomcp/internal/domain/synapse"
|
||||
)
|
||||
|
||||
// SynapseRepo implements synapse.SynapseStore using SQLite.
|
||||
|
|
|
|||
|
|
@ -4,8 +4,8 @@ import (
|
|||
"context"
|
||||
"testing"
|
||||
|
||||
"github.com/sentinel-community/gomcp/internal/domain/memory"
|
||||
"github.com/sentinel-community/gomcp/internal/infrastructure/sqlite"
|
||||
"github.com/syntrex/gomcp/internal/domain/memory"
|
||||
"github.com/syntrex/gomcp/internal/infrastructure/sqlite"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/stretchr/testify/require"
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue