skill: two invocations of a live query are two measurements (Refs #2161) - #2632
Merged
Conversation
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
Contributor
PR DashboardGenerated at: 2026-08-23 23:44:53 UTC
Summary
Seal Status
|
Contributor
|
📓 NotebookLM Notebook linked to this PR
This notebook contains session context, decisions, and artifacts for this work. |
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.
Chasing the cache-key work I saw
VERDICT: WAITandrc=0and 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.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.
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