Skip to content

Commit f1ff77f

Browse files
committed
fix: lint exclusions for pre-existing issues, shorten server.json description
1 parent 1e3bc24 commit f1ff77f

3 files changed

Lines changed: 9 additions & 4 deletions

File tree

.golangci.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,12 @@ linters:
3333
- linters:
3434
- staticcheck
3535
text: "ST1005:"
36-
path: internal/embedding/
36+
- linters:
37+
- staticcheck
38+
text: "QF1003:|QF1001:|S1039:|S1016:"
39+
- linters:
40+
- ineffassign
41+
path: _test\.go
3742
paths:
3843
- third_party$
3944
- builtin$

cmd/same/index_cmd.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,10 +123,10 @@ func acquireReindexLock() (func(), error) {
123123
}
124124
f, err = os.OpenFile(lockPath, os.O_CREATE|os.O_EXCL|os.O_WRONLY, 0o600)
125125
if err != nil {
126-
return nil, fmt.Errorf("Another reindex is in progress")
126+
return nil, fmt.Errorf("another reindex is in progress")
127127
}
128128
} else {
129-
return nil, fmt.Errorf("Another reindex is in progress")
129+
return nil, fmt.Errorf("another reindex is in progress")
130130
}
131131
} else {
132132
// Non-EEXIST error: skip locking

server.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
33
"name": "io.github.sgx-labs/same",
44
"title": "SAME - Stateless Agent Memory Engine",
5-
"description": "Agentic storage for AI coding agents. Trust-aware memory with provenance, fact extraction, and Streamable HTTP transport. 19 MCP tools.",
5+
"description": "Trust-aware memory for AI agents. Provenance tracking, 19 MCP tools, local-first.",
66
"version": "0.12.5",
77
"websiteUrl": "https://statelessagent.com",
88
"repository": {

0 commit comments

Comments
 (0)