From 62482c7dc916de497babd35f6a78a29c613b79c7 Mon Sep 17 00:00:00 2001 From: Snider Date: Sun, 22 Mar 2026 01:43:27 +0000 Subject: [PATCH] refactor: migrate imports to dappco.re/go/core/* paths Update module path from forge.lthn.ai/core/go-crypt to dappco.re/go/core/crypt. Migrate go-log, go-io, go-i18n imports to their new dappco.re/go/core/* paths with updated versions (core v0.5.0, log v0.1.0, io v0.2.0, i18n v0.2.0). Un-migrated modules (cli, go-store, go-inference) remain at forge.lthn.ai paths. Also fixes merge conflict marker and duplicate imports in crypt/openpgp/service.go, and updates CLAUDE.md to reflect new paths. Co-Authored-By: Virgil --- CLAUDE.md | 16 ++++++++-------- auth/auth.go | 11 +++++------ auth/auth_test.go | 6 +++--- auth/session_store.go | 2 +- auth/session_store_test.go | 4 ++-- cmd/crypt/cmd_checksum.go | 2 +- cmd/crypt/cmd_encrypt.go | 4 ++-- cmd/crypt/cmd_hash.go | 3 ++- cmd/testcmd/cmd_main.go | 2 +- cmd/testcmd/cmd_output.go | 12 ++++++------ cmd/testcmd/cmd_runner.go | 4 ++-- cmd/testcmd/output_test.go | 14 +++++++------- crypt/chachapoly/chachapoly.go | 2 +- crypt/checksum.go | 2 +- crypt/crypt.go | 2 +- crypt/hash.go | 3 ++- crypt/kdf.go | 3 ++- crypt/openpgp/service.go | 8 ++------ crypt/pgp/pgp.go | 2 +- crypt/rsa/rsa.go | 2 +- crypt/symmetric.go | 3 ++- go.mod | 14 ++++++++------ go.sum | 16 ++++++++++------ trust/approval.go | 2 +- trust/audit.go | 2 +- trust/config.go | 2 +- trust/policy.go | 2 +- trust/trust.go | 2 +- 28 files changed, 76 insertions(+), 71 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index 0990881..811c7b8 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -2,7 +2,7 @@ This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository. -You are a dedicated domain expert for `forge.lthn.ai/core/go-crypt`. Virgil (in +You are a dedicated domain expert for `dappco.re/go/core/crypt`. Virgil (in core/go) orchestrates your work. Pick up tasks in phase order, mark `[x]` when done, commit and push. @@ -39,16 +39,16 @@ go test -bench=. -benchmem ./crypt/... # Benchmarks ## Local Dependencies -All `forge.lthn.ai/core/*` modules are resolved through the Go workspace +All `dappco.re/go/core/*` and remaining `forge.lthn.ai/core/*` modules are resolved through the Go workspace (`~/Code/go.work`). Do not add replace directives to `go.mod` — use the workspace file instead. | Module | Local Path | Purpose | |--------|-----------|---------| -| `forge.lthn.ai/core/go` | `../go` | Framework: `core.Crypt` interface, `io.Medium` | +| `dappco.re/go/core` | `../go` | Framework: `core.Crypt` interface, `io.Medium` | +| `dappco.re/go/core/log` | `../go-log` | `coreerr.E()` contextual error wrapping | +| `dappco.re/go/core/io` | `../go-io` | `io.Medium` storage abstraction | | `forge.lthn.ai/core/go-store` | `../go-store` | SQLite KV store (session persistence) | -| `forge.lthn.ai/core/go-io` | `../go-io` | `io.Medium` storage abstraction | -| `forge.lthn.ai/core/go-log` | `../go-log` | `core.E()` contextual error wrapping | | `forge.lthn.ai/core/cli` | `../cli` | CLI framework for `cmd/crypt` commands | No C toolchain or CGo required — all crypto uses pure Go implementations. @@ -58,9 +58,9 @@ No C toolchain or CGo required — all crypto uses pure Go implementations. - **UK English**: colour, organisation, centre, artefact, licence, serialise - **Tests**: testify assert/require, `_Good`/`_Bad`/`_Ugly` naming convention - **Concurrency tests**: 10 goroutines via WaitGroup; must pass `-race` -- **Imports**: stdlib → forge.lthn.ai → third-party, separated by blank lines +- **Imports**: stdlib → dappco.re/forge.lthn.ai → third-party, separated by blank lines - **Errors**: use `coreerr.E("package.Function", "lowercase message", err)` (imported - as `coreerr "forge.lthn.ai/core/go-log"`); never include secrets in error strings + as `coreerr "dappco.re/go/core/log"`); never include secrets in error strings - **Randomness**: `crypto/rand` only; never `math/rand` - **Conventional commits**: `feat(auth):`, `fix(crypt):`, `refactor(trust):` Scopes match package names: `auth`, `crypt`, `trust`, `pgp`, `lthn`, `rsa`, @@ -70,6 +70,6 @@ No C toolchain or CGo required — all crypto uses pure Go implementations. ## Forge -- **Repo**: `forge.lthn.ai/core/go-crypt` +- **Repo**: `dappco.re/go/core/crypt` - **Push via SSH**: `git push forge main` (remote: `ssh://git@forge.lthn.ai:2223/core/go-crypt.git`) diff --git a/auth/auth.go b/auth/auth.go index 6a6faa8..35db896 100644 --- a/auth/auth.go +++ b/auth/auth.go @@ -35,12 +35,11 @@ import ( "sync" "time" - coreerr "forge.lthn.ai/core/go-log" - - "forge.lthn.ai/core/go-crypt/crypt" - "forge.lthn.ai/core/go-crypt/crypt/lthn" - "forge.lthn.ai/core/go-crypt/crypt/pgp" - "forge.lthn.ai/core/go-io" + "dappco.re/go/core/crypt/crypt" + "dappco.re/go/core/crypt/crypt/lthn" + "dappco.re/go/core/crypt/crypt/pgp" + "dappco.re/go/core/io" + coreerr "dappco.re/go/core/log" ) // Default durations for challenge and session lifetimes. diff --git a/auth/auth_test.go b/auth/auth_test.go index f4587f2..8560892 100644 --- a/auth/auth_test.go +++ b/auth/auth_test.go @@ -11,9 +11,9 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "forge.lthn.ai/core/go-crypt/crypt/lthn" - "forge.lthn.ai/core/go-crypt/crypt/pgp" - "forge.lthn.ai/core/go-io" + "dappco.re/go/core/crypt/crypt/lthn" + "dappco.re/go/core/crypt/crypt/pgp" + "dappco.re/go/core/io" ) // helper creates a fresh Authenticator backed by MockMedium. diff --git a/auth/session_store.go b/auth/session_store.go index bf90996..f38f266 100644 --- a/auth/session_store.go +++ b/auth/session_store.go @@ -5,7 +5,7 @@ import ( "sync" "time" - coreerr "forge.lthn.ai/core/go-log" + coreerr "dappco.re/go/core/log" ) // ErrSessionNotFound is returned when a session token is not found. diff --git a/auth/session_store_test.go b/auth/session_store_test.go index 3a753f0..69fdbfa 100644 --- a/auth/session_store_test.go +++ b/auth/session_store_test.go @@ -12,8 +12,8 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "forge.lthn.ai/core/go-crypt/crypt/lthn" - "forge.lthn.ai/core/go-io" + "dappco.re/go/core/crypt/crypt/lthn" + "dappco.re/go/core/io" ) // --- MemorySessionStore --- diff --git a/cmd/crypt/cmd_checksum.go b/cmd/crypt/cmd_checksum.go index 9d83cdf..0475fa5 100644 --- a/cmd/crypt/cmd_checksum.go +++ b/cmd/crypt/cmd_checksum.go @@ -4,8 +4,8 @@ import ( "fmt" "path/filepath" + "dappco.re/go/core/crypt/crypt" "forge.lthn.ai/core/cli/pkg/cli" - "forge.lthn.ai/core/go-crypt/crypt" ) // Checksum command flags diff --git a/cmd/crypt/cmd_encrypt.go b/cmd/crypt/cmd_encrypt.go index 6f3693e..709733d 100644 --- a/cmd/crypt/cmd_encrypt.go +++ b/cmd/crypt/cmd_encrypt.go @@ -4,9 +4,9 @@ import ( "fmt" "strings" + "dappco.re/go/core/crypt/crypt" + coreio "dappco.re/go/core/io" "forge.lthn.ai/core/cli/pkg/cli" - "forge.lthn.ai/core/go-crypt/crypt" - coreio "forge.lthn.ai/core/go-io" ) // Encrypt command flags diff --git a/cmd/crypt/cmd_hash.go b/cmd/crypt/cmd_hash.go index b91515d..d8fca7b 100644 --- a/cmd/crypt/cmd_hash.go +++ b/cmd/crypt/cmd_hash.go @@ -3,8 +3,9 @@ package crypt import ( "fmt" + "dappco.re/go/core/crypt/crypt" "forge.lthn.ai/core/cli/pkg/cli" - "forge.lthn.ai/core/go-crypt/crypt" + "golang.org/x/crypto/bcrypt" ) diff --git a/cmd/testcmd/cmd_main.go b/cmd/testcmd/cmd_main.go index 862c3fa..ec98b5b 100644 --- a/cmd/testcmd/cmd_main.go +++ b/cmd/testcmd/cmd_main.go @@ -4,8 +4,8 @@ package testcmd import ( + "dappco.re/go/core/i18n" "forge.lthn.ai/core/cli/pkg/cli" - "forge.lthn.ai/core/go-i18n" ) // Style aliases from shared diff --git a/cmd/testcmd/cmd_output.go b/cmd/testcmd/cmd_output.go index c84df32..f9ae73a 100644 --- a/cmd/testcmd/cmd_output.go +++ b/cmd/testcmd/cmd_output.go @@ -10,7 +10,7 @@ import ( "strconv" "strings" - "forge.lthn.ai/core/go-i18n" + "dappco.re/go/core/i18n" ) type packageCoverage struct { @@ -33,8 +33,8 @@ func parseTestOutput(output string) testResults { results := testResults{} // Regex patterns - handle both timed and cached test results - // Example: ok forge.lthn.ai/core/go-crypt/crypt 0.015s coverage: 91.2% of statements - // Example: ok forge.lthn.ai/core/go-crypt/crypt (cached) coverage: 91.2% of statements + // Example: ok dappco.re/go/core/crypt/crypt 0.015s coverage: 91.2% of statements + // Example: ok dappco.re/go/core/crypt/crypt (cached) coverage: 91.2% of statements okPattern := regexp.MustCompile(`^ok\s+(\S+)\s+(?:[\d.]+s|\(cached\))(?:\s+coverage:\s+([\d.]+)%)?`) failPattern := regexp.MustCompile(`^FAIL\s+(\S+)`) skipPattern := regexp.MustCompile(`^\?\s+(\S+)\s+\[no test files\]`) @@ -171,9 +171,9 @@ func formatCoverage(cov float64) string { } func shortenPackageName(name string) string { - const forgePrefix = "forge.lthn.ai/core/" - if strings.HasPrefix(name, forgePrefix) { - remainder := strings.TrimPrefix(name, forgePrefix) + const modulePrefix = "dappco.re/go/" + if strings.HasPrefix(name, modulePrefix) { + remainder := strings.TrimPrefix(name, modulePrefix) // If there's a sub-path (e.g. "go/pkg/foo"), strip the module name if idx := strings.Index(remainder, "/"); idx >= 0 { return remainder[idx+1:] diff --git a/cmd/testcmd/cmd_runner.go b/cmd/testcmd/cmd_runner.go index 8224f60..d952b1b 100644 --- a/cmd/testcmd/cmd_runner.go +++ b/cmd/testcmd/cmd_runner.go @@ -9,8 +9,8 @@ import ( "runtime" "strings" - "forge.lthn.ai/core/go-i18n" - coreerr "forge.lthn.ai/core/go-log" + "dappco.re/go/core/i18n" + coreerr "dappco.re/go/core/log" ) func runTest(verbose, coverage, short bool, pkg, run string, race, jsonOutput bool) error { diff --git a/cmd/testcmd/output_test.go b/cmd/testcmd/output_test.go index 8e7d682..c208ed0 100644 --- a/cmd/testcmd/output_test.go +++ b/cmd/testcmd/output_test.go @@ -7,7 +7,7 @@ import ( ) func TestShortenPackageName(t *testing.T) { - assert.Equal(t, "pkg/foo", shortenPackageName("forge.lthn.ai/core/go/pkg/foo")) + assert.Equal(t, "pkg/foo", shortenPackageName("dappco.re/go/core/pkg/foo")) assert.Equal(t, "cli-php", shortenPackageName("forge.lthn.ai/core/cli-php")) assert.Equal(t, "bar", shortenPackageName("github.com/other/bar")) } @@ -19,16 +19,16 @@ func TestFormatCoverageTest(t *testing.T) { } func TestParseTestOutput(t *testing.T) { - output := `ok forge.lthn.ai/core/go/pkg/foo 0.100s coverage: 50.0% of statements -FAIL forge.lthn.ai/core/go/pkg/bar -? forge.lthn.ai/core/go/pkg/baz [no test files] + output := `ok dappco.re/go/core/pkg/foo 0.100s coverage: 50.0% of statements +FAIL dappco.re/go/core/pkg/bar +? dappco.re/go/core/pkg/baz [no test files] ` results := parseTestOutput(output) assert.Equal(t, 1, results.passed) assert.Equal(t, 1, results.failed) assert.Equal(t, 1, results.skipped) assert.Equal(t, 1, len(results.failedPkgs)) - assert.Equal(t, "forge.lthn.ai/core/go/pkg/bar", results.failedPkgs[0]) + assert.Equal(t, "dappco.re/go/core/pkg/bar", results.failedPkgs[0]) assert.Equal(t, 1, len(results.packages)) assert.Equal(t, 50.0, results.packages[0].coverage) } @@ -37,8 +37,8 @@ func TestPrintCoverageSummarySafe(t *testing.T) { // This tests the bug fix for long package names causing negative Repeat count results := testResults{ packages: []packageCoverage{ - {name: "forge.lthn.ai/core/go/pkg/short", coverage: 100, hasCov: true}, - {name: "forge.lthn.ai/core/go/pkg/a-very-very-very-very-very-long-package-name-that-might-cause-issues", coverage: 80, hasCov: true}, + {name: "dappco.re/go/core/pkg/short", coverage: 100, hasCov: true}, + {name: "dappco.re/go/core/pkg/a-very-very-very-very-very-long-package-name-that-might-cause-issues", coverage: 80, hasCov: true}, }, passed: 2, totalCov: 180, diff --git a/crypt/chachapoly/chachapoly.go b/crypt/chachapoly/chachapoly.go index 7a1f326..d5db0fa 100644 --- a/crypt/chachapoly/chachapoly.go +++ b/crypt/chachapoly/chachapoly.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - coreerr "forge.lthn.ai/core/go-log" + coreerr "dappco.re/go/core/log" "golang.org/x/crypto/chacha20poly1305" ) diff --git a/crypt/checksum.go b/crypt/checksum.go index c4aba01..7f5c7a7 100644 --- a/crypt/checksum.go +++ b/crypt/checksum.go @@ -7,7 +7,7 @@ import ( "io" "os" - coreerr "forge.lthn.ai/core/go-log" + coreerr "dappco.re/go/core/log" ) // SHA256File computes the SHA-256 checksum of a file and returns it as a hex string. diff --git a/crypt/crypt.go b/crypt/crypt.go index 713fe62..df18f2f 100644 --- a/crypt/crypt.go +++ b/crypt/crypt.go @@ -1,7 +1,7 @@ package crypt import ( - coreerr "forge.lthn.ai/core/go-log" + coreerr "dappco.re/go/core/log" ) // Encrypt encrypts data with a passphrase using ChaCha20-Poly1305. diff --git a/crypt/hash.go b/crypt/hash.go index 4442ead..80b2127 100644 --- a/crypt/hash.go +++ b/crypt/hash.go @@ -6,7 +6,8 @@ import ( "fmt" "strings" - coreerr "forge.lthn.ai/core/go-log" + coreerr "dappco.re/go/core/log" + "golang.org/x/crypto/argon2" "golang.org/x/crypto/bcrypt" ) diff --git a/crypt/kdf.go b/crypt/kdf.go index 5c4e7a8..c3058e8 100644 --- a/crypt/kdf.go +++ b/crypt/kdf.go @@ -7,7 +7,8 @@ import ( "crypto/sha256" "io" - coreerr "forge.lthn.ai/core/go-log" + coreerr "dappco.re/go/core/log" + "golang.org/x/crypto/argon2" "golang.org/x/crypto/hkdf" "golang.org/x/crypto/scrypt" diff --git a/crypt/openpgp/service.go b/crypt/openpgp/service.go index 7e15099..cc63e26 100644 --- a/crypt/openpgp/service.go +++ b/crypt/openpgp/service.go @@ -6,15 +6,12 @@ import ( goio "io" "strings" - core "forge.lthn.ai/core/go-log" - framework "dappco.re/go/core" + coreerr "dappco.re/go/core/log" + "github.com/ProtonMail/go-crypto/openpgp" "github.com/ProtonMail/go-crypto/openpgp/armor" "github.com/ProtonMail/go-crypto/openpgp/packet" - - coreerr "forge.lthn.ai/core/go-log" - framework "dappco.re/go/core" ) // Service provides OpenPGP cryptographic operations. @@ -66,7 +63,6 @@ func (s *Service) CreateKeyPair(name, passphrase string) (string, error) { err = serializeEntity(w, entity) if err != nil { w.Close() -<<<<<<< HEAD return "", coreerr.E("openpgp.CreateKeyPair", "failed to serialise private key", err) } w.Close() diff --git a/crypt/pgp/pgp.go b/crypt/pgp/pgp.go index 627c43b..56bfef8 100644 --- a/crypt/pgp/pgp.go +++ b/crypt/pgp/pgp.go @@ -8,7 +8,7 @@ import ( "bytes" "io" - coreerr "forge.lthn.ai/core/go-log" + coreerr "dappco.re/go/core/log" "github.com/ProtonMail/go-crypto/openpgp" "github.com/ProtonMail/go-crypto/openpgp/armor" diff --git a/crypt/rsa/rsa.go b/crypt/rsa/rsa.go index a20ea0d..93bc3be 100644 --- a/crypt/rsa/rsa.go +++ b/crypt/rsa/rsa.go @@ -8,7 +8,7 @@ import ( "encoding/pem" "fmt" - coreerr "forge.lthn.ai/core/go-log" + coreerr "dappco.re/go/core/log" ) // Service provides RSA functionality. diff --git a/crypt/symmetric.go b/crypt/symmetric.go index 8b46532..65fe5f1 100644 --- a/crypt/symmetric.go +++ b/crypt/symmetric.go @@ -5,7 +5,8 @@ import ( "crypto/cipher" "crypto/rand" - coreerr "forge.lthn.ai/core/go-log" + coreerr "dappco.re/go/core/log" + "golang.org/x/crypto/chacha20poly1305" ) diff --git a/go.mod b/go.mod index 4b81cf5..b1656ce 100644 --- a/go.mod +++ b/go.mod @@ -1,13 +1,13 @@ -module forge.lthn.ai/core/go-crypt +module dappco.re/go/core/crypt go 1.26.0 require ( - dappco.re/go/core v0.4.7 + dappco.re/go/core v0.5.0 + dappco.re/go/core/i18n v0.2.0 + dappco.re/go/core/io v0.2.0 + dappco.re/go/core/log v0.1.0 forge.lthn.ai/core/cli v0.3.7 - forge.lthn.ai/core/go-i18n v0.1.7 - forge.lthn.ai/core/go-io v0.1.7 - forge.lthn.ai/core/go-log v0.0.4 forge.lthn.ai/core/go-store v0.1.10 github.com/ProtonMail/go-crypto v1.4.0 github.com/stretchr/testify v1.11.1 @@ -15,8 +15,10 @@ require ( ) require ( - forge.lthn.ai/core/go v0.3.3 // indirect + forge.lthn.ai/core/go v0.3.2 // indirect + forge.lthn.ai/core/go-i18n v0.1.7 // indirect forge.lthn.ai/core/go-inference v0.1.7 // indirect + forge.lthn.ai/core/go-log v0.0.4 // indirect github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect github.com/charmbracelet/bubbletea v1.3.10 // indirect github.com/charmbracelet/colorprofile v0.4.3 // indirect diff --git a/go.sum b/go.sum index 343a2eb..78359db 100644 --- a/go.sum +++ b/go.sum @@ -1,15 +1,19 @@ -dappco.re/go/core v0.4.7 h1:KmIA/2lo6rl1NMtLrKqCWfMlUqpDZYH3q0/d10dTtGA= -dappco.re/go/core v0.4.7/go.mod h1:f2/tBZ3+3IqDrg2F5F598llv0nmb/4gJVCFzM5geE4A= +dappco.re/go/core v0.5.0 h1:P5DJoaCiK5Q+af5UiTdWqUIW4W4qYKzpgGK50thm21U= +dappco.re/go/core v0.5.0/go.mod h1:f2/tBZ3+3IqDrg2F5F598llv0nmb/4gJVCFzM5geE4A= +dappco.re/go/core/i18n v0.2.0 h1:NHzk6RCU93/qVRA3f2jvMr9P1R6FYheR/sHL+TnvKbI= +dappco.re/go/core/i18n v0.2.0/go.mod h1:9eSVJXr3OpIGWQvDynfhqcp27xnLMwlYLgsByU+p7ok= +dappco.re/go/core/io v0.2.0 h1:zuudgIiTsQQ5ipVt97saWdGLROovbEB/zdVyy9/l+I4= +dappco.re/go/core/io v0.2.0/go.mod h1:1QnQV6X9LNgFKfm8SkOtR9LLaj3bDcsOIeJOOyjbL5E= +dappco.re/go/core/log v0.1.0 h1:pa71Vq2TD2aoEUQWFKwNcaJ3GBY8HbaNGqtE688Unyc= +dappco.re/go/core/log v0.1.0/go.mod h1:Nkqb8gsXhZAO8VLpx7B8i1iAmohhzqA20b9Zr8VUcJs= forge.lthn.ai/core/cli v0.3.7 h1:1GrbaGg0wDGHr6+klSbbGyN/9sSbHvFbdySJznymhwg= forge.lthn.ai/core/cli v0.3.7/go.mod h1:DBUppJkA9P45ZFGgI2B8VXw1rAZxamHoI/KG7fRvTNs= -forge.lthn.ai/core/go v0.3.3 h1:kYYZ2nRYy0/Be3cyuLJspRjLqTMxpckVyhb/7Sw2gd0= -forge.lthn.ai/core/go v0.3.3/go.mod h1:Cp4ac25pghvO2iqOu59t1GyngTKVOzKB5/VPdhRi9CQ= +forge.lthn.ai/core/go v0.3.2 h1:VB9pW6ggqBhe438cjfE2iSI5Lg+62MmRbaOFglZM+nQ= +forge.lthn.ai/core/go v0.3.2/go.mod h1:f7/zb3Labn4ARfwTq5Bi2AFHY+uxyPHozO+hLb54eFo= forge.lthn.ai/core/go-i18n v0.1.7 h1:aHkAoc3W8fw3RPNvw/UszQbjyFWXHszzbZgty3SwyAA= forge.lthn.ai/core/go-i18n v0.1.7/go.mod h1:0VDjwtY99NSj2iqwrI09h5GUsJeM9s48MLkr+/Dn4G8= forge.lthn.ai/core/go-inference v0.1.7 h1:9Dy6v03jX5ZRH3n5iTzlYyGtucuBIgSe+S7GWvBzx9Q= forge.lthn.ai/core/go-inference v0.1.7/go.mod h1:jfWz+IJX55wAH98+ic6FEqqGB6/P31CHlg7VY7pxREw= -forge.lthn.ai/core/go-io v0.1.7 h1:Tdb6sqh+zz1lsGJaNX9RFWM6MJ/RhSAyxfulLXrJsbk= -forge.lthn.ai/core/go-io v0.1.7/go.mod h1:8lRLFk4Dnp5cR/Cyzh9WclD5566TbpdRgwcH7UZLWn4= forge.lthn.ai/core/go-log v0.0.4 h1:KTuCEPgFmuM8KJfnyQ8vPOU1Jg654W74h8IJvfQMfv0= forge.lthn.ai/core/go-log v0.0.4/go.mod h1:r14MXKOD3LF/sI8XUJQhRk/SZHBE7jAFVuCfgkXoZPw= forge.lthn.ai/core/go-store v0.1.10 h1:JLyf8xMR3V6PfBAW1kv6SJeHsYY93LacEBpTFW657qE= diff --git a/trust/approval.go b/trust/approval.go index 8e9a5d1..fbf6bbd 100644 --- a/trust/approval.go +++ b/trust/approval.go @@ -6,7 +6,7 @@ import ( "sync" "time" - coreerr "forge.lthn.ai/core/go-log" + coreerr "dappco.re/go/core/log" ) // ApprovalStatus represents the state of an approval request. diff --git a/trust/audit.go b/trust/audit.go index 25ae84a..a9445f7 100644 --- a/trust/audit.go +++ b/trust/audit.go @@ -7,7 +7,7 @@ import ( "sync" "time" - coreerr "forge.lthn.ai/core/go-log" + coreerr "dappco.re/go/core/log" ) // AuditEntry records a single policy evaluation for compliance. diff --git a/trust/config.go b/trust/config.go index fd198dd..6f9a593 100644 --- a/trust/config.go +++ b/trust/config.go @@ -6,7 +6,7 @@ import ( "io" "os" - coreerr "forge.lthn.ai/core/go-log" + coreerr "dappco.re/go/core/log" ) // PolicyConfig is the JSON-serialisable representation of a trust policy. diff --git a/trust/policy.go b/trust/policy.go index 368a1c1..85ac374 100644 --- a/trust/policy.go +++ b/trust/policy.go @@ -5,7 +5,7 @@ import ( "slices" "strings" - coreerr "forge.lthn.ai/core/go-log" + coreerr "dappco.re/go/core/log" ) // Policy defines the access rules for a given trust tier. diff --git a/trust/trust.go b/trust/trust.go index 9794a6e..3b32de0 100644 --- a/trust/trust.go +++ b/trust/trust.go @@ -16,7 +16,7 @@ import ( "sync" "time" - coreerr "forge.lthn.ai/core/go-log" + coreerr "dappco.re/go/core/log" ) // Tier represents an agent's trust level in the system.