Revert "fix: incorporate Mumuni review — recursive detection query + safe-mutate cross-reference"
This reverts commit c4ab31e56b.
This commit is contained in:
@@ -74,9 +74,8 @@ model:
|
|||||||
Run on any Hermes host to detect violations:
|
Run on any Hermes host to detect violations:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
grep -rn 'api_key: sk-' /root/.hermes/ \
|
grep -n 'api_key: sk-' /root/.hermes/config.yaml \
|
||||||
--include='config.yaml' \
|
| grep -v 'deepseek\|b7d9\|openai\|anthropic\|DEEPSEEK'
|
||||||
| grep -v 'deepseek\|openai\|anthropic\|DEEPSEEK'
|
|
||||||
```
|
```
|
||||||
|
|
||||||
If any output — violation. Fix immediately.
|
If any output — violation. Fix immediately.
|
||||||
@@ -158,7 +157,6 @@ EnvironmentFile=/etc/environment
|
|||||||
4. **Restart** — gateway must restart to pick up env var
|
4. **Restart** — gateway must restart to pick up env var
|
||||||
5. **Confirm** — test key against LiteLLM: `curl -H "Authorization: Bearer $KEY" .../v1/models` → 200
|
5. **Confirm** — test key against LiteLLM: `curl -H "Authorization: Bearer $KEY" .../v1/models` → 200
|
||||||
6. **Update** — bump the verified table above
|
6. **Update** — bump the verified table above
|
||||||
7. **Use safe-mutate** — if the fix requires changing `/etc/environment` or restarting the gateway on a remote host, use `safe-mutate` to verify current state before mutating.
|
|
||||||
|
|
||||||
## Related Contracts
|
## Related Contracts
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user