Skip to content

Launch Bifrost with source admission settings for real repositories - #204

Merged
DavidBakerEffendi merged 1 commit into
mainfrom
bifrost-source-admission-knobs
Oct 19, 2026
Merged

DavidBakerEffendi merged 1 commit into
mainfrom
bifrost-source-admission-knobs

Conversation

@DavidBakerEffendi

Copy link
Copy Markdown
Collaborator

What

The Bifrost runner now launches the server with BIFROST_MAX_LINE_LENGTH=0 and BIFROST_ADMIT_NUL_BYTES=1. README and the reproduce guide document both settings.

Why

real-project-v1/typescript-01, -02 and -04 have failed since the 2026-10-04 run with unavailable_canonical_facts. In each repository, Bifrost's interactive defaults refuse one valid source file: a raw NUL inside a string literal (tailwindcss, paperclip) or a 16,621-byte JSX SVG path line (excalidraw). A single refused file makes the whole JS/TS usage index unavailable. The benchmark measures repositories as written, so it admits these files. Bifrost's own defaults stay unchanged.

BIFROST_ADMIT_NUL_BYTES is new in BrokkAi/bifrost-dev#5870. A Bifrost revision that predates a setting ignores it.

Validation

With a debug build of BrokkAi/bifrost-dev#5870 (--bifrost-binary): typescript-01 3/3 (12 TP), typescript-02 3/3 (21 TP), typescript-04 3/3 (11 TP), with 0 FP and 0 FN. cargo build and cargo fmt are clean.

🤖 Generated with Claude Code

The real-project-v1 TypeScript documents (typescript-01, -02, -04) have
failed since the 2026-10-04 run with unavailable_canonical_facts. Bifrost's
JS/TS usage index needs canonical facts for every file, and each of these
repositories holds one valid source file that Bifrost's interactive
defaults refuse to parse: a raw NUL inside a string literal (tailwindcss,
paperclip) or a 16,621-byte JSX SVG path line (excalidraw).

The benchmark measures usage lookup on repositories as written, so the
runner now launches Bifrost with BIFROST_MAX_LINE_LENGTH=0 and
BIFROST_ADMIT_NUL_BYTES=1. Bifrost's own defaults stay unchanged. A Bifrost
revision that predates a setting ignores it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@DavidBakerEffendi
DavidBakerEffendi marked this pull request as ready for review October 19, 2026 09:59
@DavidBakerEffendi
DavidBakerEffendi merged commit c45da08 into main Oct 19, 2026
5 checks passed
@DavidBakerEffendi
DavidBakerEffendi deleted the bifrost-source-admission-knobs branch October 19, 2026 18:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant