Skip to content

A read counts only when shown; a corpus may declare its standards - #60

Merged
daniel-rossier merged 2 commits into
mainfrom
evidence-only-what-was-shown
Nov 29, 2026
Merged

daniel-rossier merged 2 commits into
mainfrom
evidence-only-what-was-shown

Conversation

@daniel-rossier

Copy link
Copy Markdown
Contributor

Two defects found by the first Infrabase questions on 0.3.0-base.

  1. Evidence. A windowed read marked its blocks as seen before running, from the range asked for. sed -n '1,320p' of a bbclass reached the model as a 2000-character preview, and the narrower re-read was refused as already in evidence until the turn was declared stalled. A result cut for the model, or a refused/failed command, now unmarks its blocks. Tests: AReadCutForTheModelIsNotEvidence.

  2. Standards per corpus. The active binding is shared by every corpus of a state directory. An Infrabase question ("what do the files record") bound the Arm architecture manual, and the next answer was withheld for naming BitBake. A projects.json entry may now list standards; a corpus that does is governed by those alone. Without the key, nothing changes. Tests: test_corpus_standards.py.

A windowed read marks its blocks as evidence before it runs, from the
range it asks for. A result longer than the bash result policy allows
reaches the model as a preview of its first characters: sed -n '1,320p'
of a bbclass showed some forty lines, and the narrower read that
followed was refused as already in evidence three times, until the turn
was declared stalled.

After the command, a result cut for the model, or a command refused or
failed, unmarks the blocks it marked.
The active binding belongs to the state directory, so every corpus of an
image shares it. Infrabase, a build system in an image bound to the Arm
architecture manual, had a question about which files an attach records
bound to the manual by the word "record", and the answers that followed
were withheld for naming BitBake.

A projects.json entry may list its standards. A corpus that does is
governed by those alone; without the key, the active standard governs
every corpus as before.
@daniel-rossier
daniel-rossier merged commit 9ec9edf into main Nov 29, 2026
2 checks passed
@daniel-rossier
daniel-rossier deleted the evidence-only-what-was-shown branch November 29, 2026 19:13
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