Answer product-owner round 2: 0 🔴, 1 🟡 (0 misread); say that a Read goes through until the agent read the file with Read
This commit is contained in:
@@ -48,7 +48,7 @@ RULES: dict[RuleName, Rule] = {
|
||||
),
|
||||
# A Read carries no text for a marker, and a misjudged read has a way through that the message names, so no marker waives it.
|
||||
"repeat-read": Rule(
|
||||
"an agent reads no lines of a file that its context already holds unchanged, since each read pays for them again; where the context lacks them although the transcript shows them, as after Claude Code cleared old tool results, read them with another command, such as `grep -n '' <file> | sed -n '<A>,<B>p'`; a Read goes through once the file changed after the agent last read it with Read or wrote it with Edit, MultiEdit or Write, since those refuse a file until then",
|
||||
"an agent reads no lines of a file that its context already holds unchanged, since each read pays for them again; where the context lacks them although the transcript shows them, as after Claude Code cleared old tool results, read them with another command, such as `grep -n '' <file> | sed -n '<A>,<B>p'`; a Read goes through until the agent has read the file with Read or written it with Edit, MultiEdit or Write, and again once the file changed after that, since those refuse a file until then",
|
||||
"a Read call, and a Bash command that is one `cat <file>`, `head [-n <N> | -<N>] <file>` or `sed -n '<A>[,<B>]p' <file>`, with no pipe or redirect, against the reads in the calling agent's own transcript since its last compaction",
|
||||
overridable=False,
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user