Skip to content

skill: two invocations of a live query are two measurements (Refs #2161) - #2632

Merged
gHashTag merged 1 commit into
masterfrom
docs/two-invocations
Aug 23, 2026
Merged

skill: two invocations of a live query are two measurements (Refs #2161)#2632
gHashTag merged 1 commit into
masterfrom
docs/two-invocations

Conversation

@gHashTag

Copy link
Copy Markdown
Owner

Chasing the cache-key work I saw VERDICT: WAIT and rc=0 and concluded the exit-code fix was not working. It was working.

I had run the command twice — once to capture the output, once to capture $? — and in the second between them the last check completed. The WAIT belonged to the first invocation and the zero to the second, and neither was wrong.

./tri pr ready N 2>&1 | tail -3         # says WAIT
./tri pr ready N >/dev/null; echo $?    # says 0

Two invocations of a command that reads a live external system are two measurements of two different states. On adjacent lines they read as one.

out=$(./tri pr ready N 2>&1); rc=$?     # one invocation, both facts

This is the campaign's own subject arriving in the shell one-liner used to investigate it. Before suspecting the subject, count how many times the question was asked — against a moving system, asking twice is already a different question.

§108.

Refs #2161

Chasing the cache-key work I saw `VERDICT: WAIT` and `rc=0` and
concluded the exit-code fix was not working. It was working. I had run
the command twice -- once to capture the output, once to capture `$?` --
and in the second between them the last check completed. The WAIT
belonged to the first invocation and the zero to the second.

    ./tri pr ready N 2>&1 | tail -3        # says WAIT
    ./tri pr ready N >/dev/null; echo $?   # says 0

Two invocations of a command reading a LIVE external system are two
measurements of two different states. On adjacent lines they read as
one.

    out=$(./tri pr ready N 2>&1); rc=$?    # one invocation, both facts

This is the campaign's own subject arriving in the shell one-liner used
to investigate it. Before suspecting the subject, count how many times
the question was asked.

Refs #2161
@github-actions

Copy link
Copy Markdown
Contributor

PR Dashboard

Generated at: 2026-08-23 23:44:53 UTC

Summary

Status Count
Total Open PRs 2
PRs with Failing Checks 1
PRs with All Checks Green 1
READY 0
FAILING 1
PENDING 0

Seal Status

  • ⚠️ STALE -- sha256(compiler.rs)=e6333575ec10 != manifest seal=87e5cbd3ad94.
    The committed NMSE numbers were certified against an older compiler.rs.
    Run scripts/reseal-check.sh locally for the two-step reseal command (advisory; not a merge gate).

@github-actions

Copy link
Copy Markdown
Contributor

📓 NotebookLM Notebook linked to this PR

This notebook contains session context, decisions, and artifacts for this work.

@gHashTag
gHashTag merged commit aacaaed into master Aug 23, 2026
22 of 23 checks passed
@gHashTag
gHashTag deleted the docs/two-invocations branch August 23, 2026 23: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