Alias the core package consistently

Why: An interrupted import cleanup removed the cmdbus core import while two human-decision files used an explicit alias.

Evidence: go test ./internal/cmdbus ./internal/server passes.

Impact: The backend worktree is buildable and consistently names the core package without behavior changes.

Refs: W4b human decision verifier
This commit is contained in:
weichen
2026-10-15 06:01:32 +00:00
parent a4d6404c5f
commit 451aa49954
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ import (
"time"
agentcommand "agent-command"
"agent-system-core"
core "agent-system-core"
)
// AuditStore 审计落盘端口(store 实现;v7 建表、v18 加 owner 列)。
+1 -1
View File
@@ -1,6 +1,7 @@
package server
import (
core "agent-system-core"
"errors"
"net/http"
"strconv"
@@ -9,7 +10,6 @@ import (
"agent-system-backend/internal/cmdbus"
"agent-system-backend/internal/store"
"agent-system-core"
)
// resolveHumanDecision handles a card issued by HumanDecisionVerifier.
+1 -1
View File
@@ -1,6 +1,7 @@
package server
import (
core "agent-system-core"
"context"
"net/http/httptest"
"testing"
@@ -10,7 +11,6 @@ import (
"agent-system-backend/internal/cmdbus"
"agent-system-backend/internal/store"
"agent-system-backend/pkg/extension"
"agent-system-core"
)
type nopHumanAudit struct{}