[audit] Security, AX compliance, missing tests, error handling #2
Labels
No labels
athena
athena-gemini
audit
clotho
clotho-gemini
codex
darbs-claude
security
wiki
No milestone
No project
No assignees
1 participant
Notifications
Due date
-
Dependencies
No dependencies set.
Reference: core/go-rocm#2
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Full audit:
Report all findings with severity and file:line. Do NOT fix.
Codex Audit Findings
MEDIUM — AX Compliance (extensive)
stdlib usage throughout production code:
Same violations in test code (server_test.go, discover_test.go)
Fix Applied
Commit b788412: fix: resolve issue 2 audit findings
Verification: FAIL
HIGH: BatchGenerate violates TextModel contract — collapses each prompt's completion into single Token instead of per-token output. Interface expects per-token output (go-inference TextModel contract).
Needs: return individual tokens per prompt, not aggregated single token.
Fix Round 2
Commit 3b18b33: fix: preserve batch token boundaries
Dispatching verification.
Verification Round 2: FAIL (medium)
MEDIUM: Classify with WithLogits() breaks when sampling options present — temperature/top_k/top_p affect logprob output from llama.cpp /completion. top_logprobs may have fewer entries than vocab size.
This is llama.cpp API semantics — needs human understanding of the sampling→logprobs interaction. Escalating to needs-human.