Repository navigation
docs(playbooks): land AGENT_FTX_HARNESS (zero-experience E2E) with the rc.80 reference run - #1106
Merged
Merged
Conversation
…ness, with the rc.80 reference run docs/research/llms-txt-2026-09/README.md:252 has referenced demo/playbooks/AGENT_FTX_HARNESS.md since that study landed; the file did not exist. The harness was rebuilt fresh against the rc.80 cut and is now landed with its first complete reference run. What the harness is: the replayable answer to "can an agent with no XERJ experience, using only what the product prints plus llms.txt, go from nothing to results → see them → connect AI → measure impact in tokens and values — with zero undocumented steps?" Three personas (shell novice, MCP-only, HTTP-only), four phases, and a scoring rule that every stall becomes a filed issue rather than coached-around. Reference run (v1.0.0-rc.80, 90-file/4.3 MB mixed corpus, shipped installer, pristine HOME): - Phases 1–3 pass on the naive path (install+checksum, console URL, zero-flag search/def, honest auth-failure fixes, map, catalog over plain HTTP, init writes .mcp.json/AGENTS.md, MCP answers all 13 tools on first session with the same top-3 as the CLI). - Four defects filed from the run, now pinned in the assertions: #1102 autoindex no-node error names no fix; #1103 the next: hint is gated on graph mode (--no-graph prints a bare success); #1104 gain cannot find the audit API (port+1 guess vs the real 8080 native listener); #1105 gain's hit-rate/latency are polluted by autoindex's internal size-0 count searches (179 of 283 "searches" in the window). - Token A/B, 5 fixed questions, both arms measured from transcripts: arm A (whole files behind 5 hits) 3,705,970 B = 926,492 tok vs arm B (the shipped CLI's projected request) 24,267 B = 6,066 tok — 152.7x; conservative top-1-file arm 829,553 B — still 34.2x. Conversion stated (4 B/token, docs/TOKEN_USAGE.md wire-bytes model). Files: - demo/playbooks/AGENT_FTX_HARNESS.md (new)
neoneye
pushed a commit
to agent-memory-atlas-archive/xerj-org--xerj
that referenced
this pull request
Oct 1, 2026
…de recipe, success guidance, and a gain that tells the truth The rc.80 zero-experience E2E (AGENT_FTX_HARNESS, PR xerj-org#1106) walked the shipped installer from install to "measure impact" as a first-time user and filed four defects. This fixes all four; each was reproduced verbatim before the fix and re-verified after it. xerj-org#1102 — autoindex's first contact printed ping's raw context ("endpoint unreachable ... Connection refused") and taught a first-time user nothing. autoindex is the onboarding verb, so the no-node case now prints the same recipe `xerj def` has: start a node, or aim --url/$XERJ_URL at one. (lib.rs, Es::ping call site) xerj-org#1103 — two success printers existed: the interactive summary taught the data map, the search shape and the _passage projection, while the generated-run (--no-graph / brain) printer stopped at "generation N committed" — and --no-graph is exactly the recovery the journal guard recommends, so users were steered onto the hint-less path. The code-aware hint text moved into one shared code_search_hint() and the generated-run printer now calls next_hint() + it too (gated on the committed run doc's code_files_indexed, the plan not being in scope on that resume/watch path). Before: bare one-liner. After: same guidance the graph path prints, verified on a fresh --no-graph run. xerj-org#1104 — xerj gain probed XERJ_URL and ES-port+1 for the native listener, but a default node puts native REST on 8080 (the banner says so), so gain was unusable without hand-guessing the port. Probe order is now: given URL, host:8080 (default native), then the +1 convention, deduplicated; the error lists every URL tried. Verified: bare `xerj gain` on a default-ports node reads the audit log first try. xerj-org#1105 — gain reported "283 searches, 3.0% found something, 275 zero-hit" after a session where every real search hit. The audit log mixed machine traffic into op=search: autoindex's read-back verification issues size:0 searches (~2/group; 179 in the harness window) and reconcile sweeps full-page searches against autoindex-catalog. Three parts: - the search audit note now carries the requested page size (took=4ms hits=0 size=0); additive, and gain treats a missing size= as a user search so pre-existing logs still parse. - gain separates the window into user searches vs counting probes vs catalog sweeps, reports the user's stats, and names what was excluded (nothing thrown away — it is all still in the audit log). - Es::count() uses the real _count endpoint first (audited count.post), keeping the size:0 search only as the old-build fallback. After, the same shape of session reports 4 user searches (2 hits, 2 honest misses) with 274 machine searches counted aside. Gates: xerj-autoindex --lib 1155 passed / 0 failed; ES-YAML conformance on a private port 1380 passed / 0 failed / 3 skipped. Files: - engine/crates/xerj-api/src/es_compat.rs — search audit note + size - engine/crates/xerj-autoindex/src/gain.rs — SearchWindow, note parser, native_candidates, output, tests - engine/crates/xerj-autoindex/src/esclient.rs — count() via _count - engine/crates/xerj-autoindex/src/lib.rs — ping recipe, shared code_search_hint, generated-run guidance
neoneye
pushed a commit
to agent-memory-atlas-archive/xerj-org--xerj
that referenced
this pull request
Oct 4
8000
, 2026
Version bump rc.80 -> rc.81 (17 workspace crates in Cargo.lock). CHANGELOG section cites every window PR: xerj-org#1106 xerj-org#1107 xerj-org#1112 xerj-org#1113 xerj-org#1114 xerj-org#1115 xerj-org#1116 xerj-org#1117 xerj-org#1119 xerj-org#1123 xerj-org#1124. ROADMAP rolled: shortlist re-verified live at cut (four open xerj-org#1091 xerj-org#1092 xerj-org#1094 xerj-org#1100; xerj-org#1093 closed by xerj-org#1112 inside the window and moves to the CHANGELOG). Landing stamp sweep RC.80 -> RC.81 in 54 files — footer stamps only; historical prose ('since rc.80', 'rc.80 closed that', PR xerj-org#1082 claims in llms.txt/llms-full.txt and the S3/alerting answers pages) deliberately left at rc.80.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Lands
demo/playbooks/AGENT_FTX_HARNESS.md— the filedocs/research/llms-txt-2026-09/README.md:252has referenced since thatstudy but which never existed on disk.
Why now
The rc.80 zero-experience E2E (the "one CLI to get results, see them,
connect AI, measure impact in tokens and values" run) just completed its
first full pass against the shipped installer. Four defects came out of
it (#1102 #1103 #1104 #1105); the harness that found them should exist in
the repo, with the reference numbers, so it can be re-run before/after
any agent-facing rewrite (the llms.txt study's own process rule).
Contents
verbatim transcripts, no coaching), 3 personas, 4 phases.
knows what to re-check.
gain: cannot find the audit API on a default node (bump_port guesses 9201; native REST actually listens on 8080) #1104/gain: hit-rate and latency are polluted by autoindex internal count-poll searches (179 size-0 "searches" logged as user queries) #1105; token A/B 152.7× (926,492 → 6,066 tok over 5 questions,
all-hits arm) and 34.2× conservative (top-1-file arm), conversion
stated.
Docs-only change; no engine code.