mirror of
https://github.com/garrytan/gstack.git
synced 2026-09-21 12:20:48 +02:00
Braintrust now owns benchmark scoring, experiments, comparison, and reporting. GStack keeps only the CLI-agent adapters (the unavoidable shim) plus operational metrics the CLIs report. runProviderBenchmark wraps each adapter as a Braintrust Eval task; a deterministic required-terms scorer replaces the in-house evaluation logic and the optional autoevals ClosedQA judge replaces judge.ts. Runs local by default under bun: with no BRAINTRUST_API_KEY it sets noSendLogs and ships nothing; setting the key opts into the cloud dashboard. An empty output with zero tokens is thrown so a silent auth/CLI failure can't masquerade as a 0.0 score. Deletes runner.ts and judge.ts (and their test-helper re-export shims); rewires bin/gstack-model-benchmark and adapts the benchmark tests. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
18 lines
705 B
JSON
18 lines
705 B
JSON
[
|
|
{
|
|
"id": "security-review",
|
|
"input": "Review a synthetic patch containing command injection, unsafe recursive delete, and path traversal. Do not mutate files. Report only.",
|
|
"required": ["command injection", "recursive delete", "path traversal", "no mutation"]
|
|
},
|
|
{
|
|
"id": "graph-indexer-consent",
|
|
"input": "Decide whether GStack should require a third-party graph indexer. Justify the install policy.",
|
|
"required": ["optional", "consent", "fallback"]
|
|
},
|
|
{
|
|
"id": "resolver-safety",
|
|
"input": "Diagnose a resolver that passes an untrusted logical skill name into path.resolve. Recommend the fix.",
|
|
"required": ["allowlist", "single segment", "traversal"]
|
|
}
|
|
]
|