Commit 5797025
committed
feat: production-ready implementation with Basilica integration
- config.rs: typed env-var configuration with startup banner
- sandbox.rs: resource-limited process execution (ulimit, nice, timeouts, output truncation)
- metrics.rs: Prometheus-compatible /metrics endpoint
- cleanup.rs: session directory reaping, process group kill
- basilica.rs: auto-enroll public metadata on startup
- session.rs: eval steps tracking, session stats, TTL reaper
- task.rs: workspace.yaml + checks.txt parsing, archive validation
- executor.rs: full eval pipeline (download → clone → install → agent → tests)
- handlers.rs: /health, /status, /metrics, /evaluate, /evaluations endpoints
- main.rs: graceful shutdown, concurrency limiter, background reapers
- Dockerfile: multi-stage with Python, Node, Go, Rust toolchains
- CI: lint (fmt+clippy) + build + test + Docker push
- README: Mermaid diagrams, API reference, deployment guide
28 tests, 0 warnings, 0 clippy issues.1 parent 18f4f67 commit 5797025
File tree
16 files changed
+1707
-600
lines changed- .github/workflows
- src
16 files changed
+1707
-600
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
19 | 31 | | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
25 | 38 | | |
26 | 39 | | |
27 | 40 | | |
28 | 41 | | |
29 | 42 | | |
30 | 43 | | |
31 | | - | |
32 | 44 | | |
33 | 45 | | |
34 | | - | |
35 | 46 | | |
36 | 47 | | |
37 | 48 | | |
38 | 49 | | |
39 | | - | |
| 50 | + | |
40 | 51 | | |
41 | 52 | | |
42 | 53 | | |
43 | 54 | | |
44 | 55 | | |
45 | 56 | | |
46 | 57 | | |
47 | | - | |
48 | 58 | | |
49 | 59 | | |
50 | 60 | | |
51 | 61 | | |
52 | 62 | | |
53 | 63 | | |
54 | | - | |
55 | 64 | | |
56 | 65 | | |
57 | 66 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
58 | 64 | | |
59 | 65 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | 1 | | |
3 | 2 | | |
4 | | - | |
5 | | - | |
| 3 | + | |
| 4 | + | |
6 | 5 | | |
7 | 6 | | |
8 | | - | |
9 | 7 | | |
10 | 8 | | |
11 | 9 | | |
12 | | - | |
| 10 | + | |
13 | 11 | | |
14 | 12 | | |
15 | 13 | | |
16 | 14 | | |
17 | 15 | | |
18 | | - | |
19 | | - | |
20 | | - | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
21 | 20 | | |
22 | | - | |
23 | 21 | | |
24 | | - | |
25 | 22 | | |
26 | | - | |
| 23 | + | |
27 | 24 | | |
28 | | - | |
| 25 | + | |
29 | 26 | | |
30 | | - | |
31 | | - | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
32 | 30 | | |
33 | 31 | | |
34 | 32 | | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
35 | 36 | | |
0 commit comments