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
{{ message }}
Repository navigation
Commit 9bbb35d
Browse filesBrowse the repository at this point in the historyBrowse files
|`/code-context <repo> "query"`| Retrieve a compact context pack |
34
34
|`/code-ask <repo> "question"`| Retrieve + answer with citations (add an optional `"query"` before the question to steer retrieval) |
35
-
|`/code-history <repo> "question"`| Search indexed git commit history (SourceVault v1.8+; index every commit via the dashboard's Full git history setting) |
35
+
|`/code-history <repo> "question"`| Search indexed git commit history (requires the SourceVault history index; enable *Full git history* in the dashboard to index every commit) |
36
36
37
37
Telegram uses underscore forms (`/code_ask`, …).
38
38
@@ -75,8 +75,8 @@ If you have the SourceVault server repo, use its installer instead — it also
| `CODE_SEARCH_HMAC_SECRET` | — | Shared request-signing secret (required unless an agent identity is set) |
165
+
| `SOURCEVAULT_AGENT_NAME` | — | Named agent identity, sent as `X-Code-Search-Signature-Agent` (mint with `sourcevault agent mint <name> --surfaces http`) |
166
+
| `SOURCEVAULT_AGENT_TOKEN` | — | The agent's plaintext token (`sva_…`); the plugin signs with a key derived from it instead of the shared secret. Both agent vars are required together |
155
167
| `REPO_ROOT` | `~/.hermes/repos` | Local repo mirrors for `/code-repos`, `/code-sync` |
156
168
| `SOURCEVAULT_CODE_TOOLS_DEBUG` | off | Log argument shapes (no secrets) |
157
169
158
170
## Security notes
159
171
160
172
- All requests are HMAC-signed and travel over localhost only.
173
+
- Signatures are timestamped and nonce-protected (SourceVault v1.28+ requires
174
+
this), so a captured request cannot be replayed. With an agent token
175
+
configured, every request is attributed to that agent in the server's audit
176
+
chain instead of the shared secret.
161
177
- The plugin never executes retrieved code; `/code-sync` runs only
162
178
`git pull --ff-only`inside the configured repo root.
163
179
- Repo paths are confined to `REPO_ROOT`; traversal attempts are rejected.
0 commit comments