Skip to content

armgit / xerj

Public Imported from GitHub
0

AI search engine and MCP server for bots and agents. One Rust binary indexes code, docs, logs, JSONL/CSV and PDFs for BM25 full-text, vector and hybrid search, code search without grep, agent memory and RAG. Elasticsearch-compatible API; Corpus Hub serves hundreds of reference memory corpora.

2.5 KB
Raw Blame

Deviations from the frozen protocol

Empty at freeze. Any deviation after the protocol commit is appended here with a timestamp and a reason — there is no silent protocol change.

When What Why
2026-10-01 14:40 UTC P1 attempt 1 (wall 2,308 s) died on an external SIGTERM (exit 143) mid-generation, ~38 min in; no findings.json, no usage JSON. Transcript (7.0 MB) preserved at runs/p1-attempt1-transcript/. Attempt discarded — not scored, not counted in either arm. P1 was relaunched from scratch with the same task file and pinned SHA; the only change is the launcher (runs detached via setsid so the process is not in the harness task's process group). The kill was infrastructure (harness/background-task lifecycle), not the subject: the agent was mid-investigation when terminated. Relaunching identical conditions preserves the protocol; the alternative — scoring a killed run — would measure the infrastructure, not the arm.
2026-10-01 16:05 UTC Root cause of BOTH exit-143 kills identified (P1a, and X1 attempt 1 at 1,242 s): the agent, restarting a scratch node for a crash PoC, ran pkill -f 'xerj.*9931' — and the task prompt was passed as ONE ARGV ELEMENT to claude -p, so the prompt text itself (which contains the example --port 9931 line beside the string "xerj") matched the pattern and the agent SIGTERMed its own session. Fix applied to the launcher only: the prompt now travels via STDIN (claude -p … < TASK.md), so no task text can appear in any process's argv. Task files, scope, turn budget, and accounting are unchanged. X1 attempt 1 (transcript 3.1 MB preserved at runs/x1-attempt1-transcript/) discarded and relaunched from scratch. The task content is identical for both arms; only the transport of the prompt changed, and it changed BEFORE any completed run of arm X exists (X has zero scored runs yet, P1 completed under argv transport — see threats note in RESULTS.md). Scoring a run the agent accidentally killed mid-PoC would measure the harness bug, not the arm.
2026-10-01 16:20 UTC P1 attempt 2 (completed cleanly: exit 0, 56 turns, $31.82, 10 findings, transcript preserved) DEMOTED to unscored (runs/p1-attempt2-unscored/) and P1 re-run from scratch under the stdin launcher. Fairness: the comparison is only defensible if ALL FOUR scored runs use the same launcher. Keeping the argv-transport P1 while scoring stdin-transport X/P2 runs would hand a reviewer a real confound. The ~$32 re-run cost is the price of a clean claim.