# Symbols the guard mis-flags as unresolved. The guard parses `from X import Y`
# only within a staged diff hunk, so a new line using a stdlib symbol whose import
# line isn't also in the hunk gets a false positive. A genuinely missing import of
# these is caught immediately by pytest/import, so suppressing them here is safe.
Path
OrderedDict
Lock
Counter
Thread
field
dataclass
# Also mis-flagged: a callback PARAMETER invoked as a bare call (`drop_sink(h, v)` in
# policy.apply). The guard resolves module symbols/imports, not function parameters, so a
# param called by name reads as unresolved. A genuinely wrong name is caught by pytest.
drop_sink
answerer
rule_for
# cli.py's _build_answerers(args, make_openai, make_anthropic, ...) — the two answerer-
# factory PARAMETERS, called bare (make_openai(base, key, m) / make_anthropic(model)).
# Same false-positive class as drop_sink/answerer/rule_for above.
make_openai
make_anthropic
# fluency.py's _aggregate_by_model(pairs, answerers, trials, payload_fn) — the eval
# PARAMETER (run_diff_payload/run_text_diff_payload), called bare as payload_fn(a, b,
# fn, tool, trials=trials). Same false-positive class as drop_sink/answerer above.
payload_fn
# Also mis-flagged: a local variable holding a function REFERENCE, called bare in a
# monkeypatch wrapper (`real = mod.fn; def wrapper(*a): return real(*a)`), same
# root cause as the callback-parameter case above — the guard resolves module
# symbols/imports, not locals. Confirmed correct: pytest passes with these wrappers.
real_apply
real
orig_send
# test_run_text_diff_payload_computes_wire_exactly_once's `original = fluency.text_diff.
# text_diff_wire`, called bare inside its counting_wire wrapper. Same class as real/
# orig_send above.
original
# Also mis-flagged: plain English words inside a docstring that happen to look like
# `word(...)` bare calls to the guard's pattern match (e.g. "the client's stdin",
# "server->client", "closes the transport in turn"). Not code at all.
client
wire
cleanly
server
args
keys
measurement
one
unconditionally
flight
rows
inner
built
wide
name
callers
detail
scope
scopes
implicitly
# report.py's _build_diff_style_report docstring: "pre-split into lines (not a single
# string)" — "lines (not" reads as a bare call. Not code.
lines
# fluency.py's run_text_diff_payload docstring: "computes the diff wire exactly ONCE
# (unlike calling gen_text_diff_questions..." — "ONCE (unlike" reads as a bare call.
ONCE
# Also mis-flagged: importlib.metadata.version, imported locally inside
# _attestation_card (html_report.py) the same way report.py's build_verify_header
# already does — same hunk-splitting false positive as the stdlib symbols above.
# Confirmed resolving correctly: `terse verify --html` prints the real version.
version
# probes.py / cli.py #64 cross-server probe: hunk-split import + same-file false
# positives — the guard parses `from X import Y` only within the staged hunk and does not
# resolve same-file top-level defs (e.g. value_redundancy called inside cross_server_*).
# All confirmed defined/imported; a genuinely missing one is caught by pytest/import.
combinations
extract_records
encode_cl100k
value_redundancy
DEFAULT_PROBE_REPORT
# probes.py cross_call_overlap docstring: "When `idf` is supplied (from `token_idf`)" —
# "supplied (from" reads as a bare call to the guard's pattern match. Not code.
supplied
# proxy.py _emit_audit: `audit = self.audit` narrowed local (mypy baseline, audit
# fix #1), called bare — same local-variable false-positive class as real/orig_send.
audit
# test_codec_hotpath.py's counting wrapper: `real_minify = transforms.minify`, called
# bare inside the monkeypatch lambda. Same local-variable class as real/orig_send.
real_minify
# proxy.py run_proxy docstring (stats ledger): "record per result (sizes + decision"
# and "ON by default (cli.py resolves" — English words reading as bare calls. Not code.
result
default
# test_stats.py locals holding build_stats_writer's returned closure, called bare
# (writer(...) / quiet(...) / loud(...)). Same local-variable class as real/orig_send.
writer
quiet
loud
# policy.py select / proxy.py run_proxy docstrings (#83): English prose the guard's
# pattern match reads as bare calls — "when `server` is known (#83)", "self-prefix
# their own tool names (kb names ...)", "a server-scoped rule (`runecho.*`)", "the
# command basename (kb behind ...)". Not code.
known
names
rule
basename
