Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .githooks/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -115,4 +115,12 @@ if ! git config --get user.signingkey >/dev/null 2>&1; then
fi
echo " signing check: done"

# 12. ci_guards.py — bug-class pattern detection (non-atomic writes, OOM reads, curl, etc.)
if command -v python3 >/dev/null 2>&1; then
python3 scripts/ci_guards.py --staged 2>&1 || {
echo "FAIL: guardrail violations found. Mark with // GUARDED: intentional if a false positive."
exit 1
}
fi

echo "[guard] All checks passed."
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ jobs:
bad=$(grep -rn "\.ok();" crates/ --include="*.rs" 2>/dev/null | grep -v "GUARDED: intentional\|test\|#\[cfg\|\.and_then\|filter_map\|\.ok()?\|// ok" || true)
if [ -n "$bad" ]; then echo "FAIL"; echo "$bad"; exit 1; fi

- name: ci_guards.py (bug-class detection)
run: python3 scripts/ci_guards.py || { echo 'ci_guards FAIL — see above for violations'; exit 1; }

- name: CLI docs check
run: |
cmds=$(grep -A50 "^pub const CLI_COMMANDS" crates/reliary-agent/src/main.rs 2>/dev/null | grep '"' | grep -oP '"[a-z][a-z-]+"' | tr -d '"' | sort -u || true)
Expand Down
353 changes: 147 additions & 206 deletions CHANGELOG.md

Large diffs are not rendered by default.

24 changes: 14 additions & 10 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ members = [
resolver = "2"

[workspace.package]
version = "0.6.6"
version = "0.6.11"
edition = "2021"
description = "Grammar-free code intelligence daemon, CLI, MCP server, and API proxy."
license = "MIT"
Expand Down
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -496,6 +496,14 @@ your upstream from agent configs, or you can set `RELIARY_UPSTREAM_URL` as a fal

## Troubleshooting

### "Claude Code returns 501 Not Implemented"

The proxy currently supports OpenAI-compatible chat completions only. Anthropic
`/v1/messages` requests receive a 501 with a clear error. To use Claude Code
through the proxy today, route it to an OpenAI-compatible proxy (LiteLLM,
OpenRouter, or a self-hosted OpenAI-compatible endpoint) via
`RELIARY_UPSTREAM_URL`, or run the agent without the proxy.

### "Proxy is not compressing anything"

```bash
Expand Down
3 changes: 2 additions & 1 deletion crates/reliary-agent/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ regex = "1"
once_cell = "1"
regex-lite = "0.1"
rlimit = "0.10"
getrandom = "0.2"
dirs = "6.0"
rustc-hash = "2"
rayon = "1"
Expand All @@ -39,7 +40,7 @@ futures-util = "0.3"
tokio-stream = "0.1"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "time"] }
tower-http = { version = "0.6", features = ["cors"] }
tower-http = { version = "0.6", features = ["cors", "limit"] }
walkdir = "2"

[dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion crates/reliary-agent/pi/gate.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const { execFileSync, spawnSync } = require("child_process");
const { existsSync, readFileSync, readdirSync, statSync, unlinkSync } = require("fs");
const { createHash } = require("crypto");

const GATE_VERSION = "0.6.5";
const GATE_VERSION = "0.6.10";

// ── Log levels (matching RELIARY_LOG convention) ──
const LOG_LEVELS = { error: 1, warn: 2, info: 3, debug: 4, trace: 5 };
Expand Down
Loading
Loading