Both change per-file extractor output (Markdown bare free-function mention
citation; C# extension-method facts + primitive receiver typing) and land in one
release window, so they share a single bump to 42 chained over prior (41).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Picks up the pypdf 6.21.3/6.21.4 security fixes in both the pdf and all extras.
Regenerated uv.lock on current v8 so the graphifyy self-entry reads 0.9.104 and
the pypdf bump lands on a clean lock (the PR's lock carried a stale self-version
from its fork). pdf extraction tests pass on 6.21.4.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
The doc-bisect fix added .yaml/.yml to _SPLITTABLE_TEXT_SUFFIXES, but those are
code, not documents (reclassified document->code in #2214), and never reach the
semantic pass, so slicing them at prose boundaries is meaningless. Drop the two
suffixes and their test parametrization; the core truncation-bisect fix stands.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Fold the Markdown mention change (#5093) into #5098's AST schema-41 comment with a
chained prior (40), since both change per-file extractor output and share one
release window. Correct the _qualified_tail docstring example (a dotted tail is
one token, not CamelCase-split) and note the CamelCase fallback only fires on
cased input the lowercased-norm_label callers never pass (#5095 tweak).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
#5098's receiver-chain resolver dropped a single-element chain (`Greeter g;
g.greet()`) when the receiver's class is declared in no local file, where the
pre-chain path parked it by type name for the cross-repo merge to finish (#3152).
Restore that parking for a single-element chain with a known-but-local-absent
receiver type, so a typed local calling into another repo is parked, not lost.
Fixes test_cross_repo_member_calls[cpp-typed-local].
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
The @azizur100389 cluster fixes #5016/#5017/#5018/#5019/#5020 (one each), not a
shared #5020, and the fresh-subfolder query fix references #2603. Correct the
thanks/issue refs and add the PR numbers.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
The scan-path injection fix reads graphify-out/.graphify_root once per Python
block, so the lean claude core grew from ~795 to 807 lines. Raise the ceiling to
820 — still far under the ~1156-line pre-split monolith the guard exists to catch.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
The generated /graphify runbook substituted the agent-supplied scan path straight
into Python string literals across every code block: detect(Path('INPUT_PATH')),
extract(cache_root=Path('INPUT_PATH'), root=Path('INPUT_PATH')), the semantic
cache check/save, build_from_json/generate/diagnose, the manifest write, and the
--update detect_incremental + merge. A scan root whose NAME carried a single
quote or a $(...) / backtick broke out of the literal and ran as arbitrary code
the moment the block ran (e.g. a cloned repo with a subdirectory named
$(...) ). The shell transport was already hardened (#3642/#3844 write the path
to graphify-out/.graphify_root through a quoted heredoc); this extends the same
trust boundary to the Python blocks.
Each block now reads the resolved root from graphify-out/.graphify_root (the file
Step 1 writes) into an INPUT_PATH variable and passes the value, so the path is
always inert data, never code. The prose no longer tells the agent to substitute
a path. Applied to the assembled hosts (core.md, references/shared/update.md) and
to the Aider and Devin monoliths; a new _is_input_path_sidecar_fix_line sanctions
the monolith diff and --monolith-roundtrip / --check / --audit-coverage stay
green. A fast regression guard asserts no generated skill body carries a quoted
'INPUT_PATH' code literal.
SPEC_PATH (the skill's own extraction-spec install path, not attacker-controlled)
is left substituted and tracked as a follow-up.
Reported and first proposed by @danikdanik in #4762.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
The landed fix caught a non-numeric price but still accepted nan, inf and
negative values, which parse as floats and then flow into cost estimation as
NaN/inf/negative. Validate each --pricing-input/--pricing-output through
_valid_price (finite and >= 0) with the same clean error + exit(1), and test
that nan/inf/-inf/1e999/-5 are rejected.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
tree_html.build_tree folded aliases in a different order (src first) than
build._fold_node_aliases (src last), so a node carrying two conflicting file
aliases could key on different paths in the viewer vs the built graph. Use the
same order and pop the consumed alias, as the build-side fold does.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Follow-up to #5025. The landed guard raised on any non-dict repo value, so a
single malformed entry backed up the whole manifest and dropped every tracked
repo. Keep the whole-file backup only for an unrecoverable shape (non-dict root
or repos map); when repos is a dict, drop just the malformed entries, keep the
valid repos, and report which went. Matches the per-entry isolation of #5024.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
#5058, #5060, #5062, #5054 and #5056 each change per-file Solidity or C#
extraction output and each bumped _AST_CACHE_SCHEMA to 40 on their own. Landed
together in one release window they share a single bump; this folds their
descriptions into one chained schema-40 comment over the prior 39 so a warm
cache re-runs the affected Solidity and C# extractions exactly once.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
#4664 locked the test_wheel_packaging builder but not _build_wheel_names in
test_install_references, which also runs python -m build against the shared
build/ dir. Add an inline per-checkout flock (same mechanism) so two concurrent
runs on one checkout cannot collide; a cross-module import does not resolve
under pytest's import mode.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
#4664 locked the test_wheel_packaging builder but not _build_wheel_names in
test_install_references, which also runs python -m build against the shared
build/ dir. Reuse the same _wheel_build_lock so two concurrent runs on one
checkout cannot collide.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
#4801 made _rebuild_code's no-change gate read the process-wide stat index, so
across the full suite a warm index left by an earlier test (thousands of roots
hashed in one process) could serve a stale hash and make a rebuild skip
re-extraction - failing watch/reconcile tests nondeterministically depending on
ordering. Add an autouse conftest fixture that resets the stat index to its cold
init state before each test (#3989: cross-root callers in one process must use a
fresh process; a real update/extract always does). Product behavior unchanged.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
#5003 (C# preprocessor blanking), #5005/#5001 (Solidity library + emit/revert/
require linking) and #4995 (YAML << merge precedence) each change per-file
extractor output; fold them into one schema-38 entry so warm caches re-run.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
#4997's _collision_aware matched any alphanumeric id suffix, which also matches
a class member id (classid_methodname), so a type-annotated field following a
method had its reference stolen onto the method in TS/JS/C#. Restrict the
sibling match to the actual underscore-collision salt (a 6-char sha1 hex, per
_underscore_salted_nid) and add a method-then-field regression test.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
#4816's _partial line used escaped double quotes (encoding=\"utf-8\"), which
work in the bash-wrapped runbook but break test_update_manifest_preservation,
which execs the manifest block as raw Python. Match the single-quote style the
rest of the file already uses so the line is valid in both contexts, and
regenerate the skill artifacts.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Fold the hooks/perf/TypeScript and this query/skill/install/watch batch into
a single 0.9.102 CHANGELOG section (0.9.102 and 0.9.103 were never published),
and keep the version at 0.9.102.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
The PR's parity test asserted an external CJS require emits no calls/inherits
edge, matching ESM. On the current tree an external require binding is a real
local node that new/extends resolve to, while an external ESM default mints
none - a pre-existing asymmetry outside #4688's intra-project ./ require fix.
Pin the real behavior so a future change is deliberate.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
#4985, #4972, #4956 (#4935) and the Go cluster #4966/#4853/#4934 each change
per-file extractor output; fold them into one schema-37 entry (#4956 shipped
without its own bump) so warm caches re-run the affected extractions.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
#4951 (type-alias exact-spelling binding + salted alias contains edge),
#4946 (receiver typing from parameters and fields), #4920 (split-header
owner binding via _cpp_qualified), and #4921 (local-callable suppression)
all change per-file C++ extractor output, so warm caches must re-run.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
#4927's _has_independent_semantic_evidence counted metadata and captured_at
as evidence, but extract.py attaches both to ordinary INFERRED mention
ghosts, so those ghosts would stop folding into their AST file-self twin and
proliferate as duplicates on real graphs. Keep only rationale, source_url,
author and contributor. Add a regression test that a metadata-only ghost
still folds.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
#4937 made the file_hash salt case-preserving (dropped the .lower() on the
absolute-path fallback), but the existing order-independence test still
asserted the lowercased salt. Update its exp_abs to match the written-case
salt so it pins the new behavior instead of the retired one (#4925, #4937).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
#4944 resolves Rust module-qualified calls, #4945 links calls inside
expression-macro arguments, and #4937 keeps cache keys case-preserving
(which also shifts the POSIX salt digest for uppercase-bearing paths).
All three change cached output, so warm caches must re-run.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
#4933 (python bare-call), #4931 (go method-value via field) and #4932 (go
var-init type refs) were merged on GitHub but each changes AST-cached
output and deferred its schema bump; one combined 33->34 bump so cached
Python/Go extractions re-run. #4929 (namespace packages) is a post-cache
pass and needs none. Opens the unreleased 0.9.101 changelog.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
#4856 (scala extension-method scoping) and #4861 (terraform portable ids)
change per-file AST output and are AST-cached, so one combined 32->33 bump.
Fixes the stale 'schema 30' in ARCHITECTURE.md that #4861 introduced. Adds
the 0.9.100 changelog for the second batch; #4794 landed Concern A only
(parallel-edge preservation); its TS tagged-template masking is held pending
a real failing fixture.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
#4799's new wording put `[^\W]` in the non-raw _EXTRACTION_SYSTEM
string, which raises SyntaxWarning: invalid escape sequence '\W' (a
SyntaxError in a future Python). Escape it to `[^\\W]`; the rendered
runtime prompt is byte-identical (`[^\W]`) and the markdown fragments are
unaffected.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
The four @ayushcodes10 extractor fixes (#4902 R, #4900 elixir, #4899 dart,
#4897 fortran) change per-file AST output and are AST-cached; they share
the global 31->32 bump already landed via #4908/#4895. Extend the comment
to credit them, and add the 0.9.100 changelog entries for #4842 and the four.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
#4908 (case-collision ids) carried the 31->32 bump; #4895 (PHP class-level
initializer const refs) also changes AST output and shares that global bump,
so extend the comment to credit it. Opens the unreleased 0.9.100 section.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
#4888 was built on 0.9.97, before #4881 (path weakest-hop refactor),
#4889 (qualified C# method labels) and #4891 (also_seen) landed. Its
cherry-pick dropped the merge commit that reconciled expectations. Update
the per-hop confidence assertions to carry scores ([INFERRED 0.85]) and
the C# path/explain/neighbor labels to their owner-qualified form
(Exporter.Run, IReport.Build) - the correct composed output of all four
features. Resolved the serve.py conflict by keeping #4881's _path_weakest/
_path_confidence_line and adding only #4888's _confidence_tag, applied over
edge_evidence so parallel/also_seen evidence keeps its scores.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Go (#4867/#4868/#4866) and Python (#4773) extractor changes alter
per-file AST output and are AST-cached, so one combined _AST_CACHE_SCHEMA
bump 30->31 forces stale caches to re-extract. Install (#4770/#4771) and
the skill reword (#4721) need no bump. Folded into the unreleased 0.9.99.
Each PR omitted its own bump / carried a stale number; the single combined
bump lands here.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Second half of #4881. 'path'/shortest_path returned an arbitrary route
among equal-length shortest paths (nx.shortest_path), so the reported
confidence could reflect a strong route while a weaker route of the same
length existed. Among all shortest paths (bounded at 256 to avoid
exponential enumeration), choose the one whose weakest hop is weakest and
note it was the weakest of N equal-length routes, so the confidence never
overstates the connection.
Factors _path_weakest out of _path_confidence_line and adds
_path_hop_datas / _path_confidence_key / _weakest_shortest_path in
serve.py, used by both the CLI path command and the MCP tool. No cache
bump (path rendering is post-extraction).
Refs #4881. Idea/report by @SyedFahad7.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
13 PRs folded into the unreleased 0.9.98; dups #4869/#4852/#4871 to close
at release. One combined _AST_CACHE_SCHEMA bump (29->30) covers the
output-changing extractors and the file/declaration id change.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Follow-up to #4847. Its fix stripped any trailing dotted segment, so a
dotted module name with no file extension (using module Az.Accounts)
resolved to 'az' (dropping .Accounts). Restrict the strip to real
module/assembly suffixes (.psm1/.psd1/.ps1/.dll/.exe) so file names like
Helpers.psm1 still resolve to 'helpers' while Az.Accounts keeps its full
name. Adds a regression test.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Covers the SyedFahad7 batch: #4891 and #4889 merged on GitHub; #4892 and
#4893 landed via authorship-preserving cherry-pick (their CI matrix was
gated pending first-contributor approval, so brought in through the local
gate instead). Credit by GitHub PR-author login @SyedFahad7.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
OCaml and-chained bindings (#4822) and SystemVerilog task methods (#4774)
change per-file AST output and are AST-cached, so one combined
_AST_CACHE_SCHEMA bump 28->29 forces stale caches to re-extract. The
other PRs in this batch (js, build, detect, resolution, report, wiki,
query) operate on JS-bypassed suffixes or post-extraction, so they need
no bump. Folded into the still-unreleased 0.9.97.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Follow-up to #4798. Its case-only-relabel sweep ran the two-step rename
unconditionally whenever the on-disk name differed from the produced name
by case. That is right on a case-INSENSITIVE filesystem (APFS, NTFS)
where the two are the same inode, but on a case-SENSITIVE filesystem
(ext4, most Linux CI and production hosts) the run already wrote the
correct content to a distinct file, so renaming the stale lower-case twin
over it silently restored the old body: no missing file, no dangling
link, just wrong content. #4508 never existed on case-sensitive hosts, so
the PR turned a non-bug into a silent corruption there.
Guard the rename with target.exists() and not target.samefile(old): a
distinct inode is a stale twin and is unlinked; the same inode takes the
rename. Adds a content-level regression test (the PR's existence/link
tests pass on both filesystems even with the bug, so they could not catch
this); it fails on a case-sensitive host without the guard.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
The anyio>=4.14.2 security floor added to [mcp] must also appear in
[all], which is the union of every other extra (enforced by
test_all_extra_is_the_union_of_every_other_extra). Keeps [all]
installable with the same floor.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
The 0.9.97 extractor batch changes per-file AST output for Markdown
(#4790/#4787), YAML (#4784), rationale redaction (#4647), Razor (#4820),
Terraform (#4819), COBOL (#4824), Blade (#4823), Pascal (#4825), VB.NET
(#4821) and Fortran (#4795). Those files are AST-cached, so one combined
_AST_CACHE_SCHEMA bump 27->28 forces stale caches to re-extract. Each PR
omitted its own bump by design, leaving the single combined bump to land
here.
Also floor anyio>=4.14.2 in the mcp extra, above CVE-2026-63374 (the
IDNA 2003/2008 hostname-validation bypass, CVSS 9.3). anyio is only
transitive today and the lock already resolves 4.15.1, but the direct
floor stops a future re-resolution from regressing below the fix. This is
why PR #4780 (a stale, conflicting lock-only rewrite) is not needed.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Follow-up to #4830, which fixed the same papercut for 'query'. 'explain'
is also a free-text command exempt from the generic --help intercept, so
'graphify explain --help' ran a literal node lookup for the string
'--help' ("No node matching '--help' found") instead of printing usage.
Intercept the exact standalone '--help'/'-h' the same way; a longer
target that merely contains '--help' as a substring still runs as a
lookup. Adds two regression tests mirroring the query ones.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
#4724 wrapped each watch-loop rebuild in _rebuild_timeout(), which arms
SIGALRM. signal.signal() only works on the main thread and raises
ValueError('signal only works in main thread') anywhere else. watch()'s
dispatch loop is run in a worker thread both under test
(test_watch_handler_honors_graphifyignore, gh-928) and when embedded, so
that ValueError escaped the loop's 'except TimeoutError' guard and tore
the watcher down before _rebuild_code ran: a non-ignored .py write never
triggered a rebuild.
Gate the SIGALRM path on threading.current_thread() is main_thread();
off the main thread, use the existing signal-free Timer fallback, which
bounds the rebuild just the same. Adds a behavioral regression test that
runs _rebuild_timeout() off the main thread and asserts it yields without
raising.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
- Bump _AST_CACHE_SCHEMA 26 -> 27 for the VB.NET (#4725), Python injected-field
(#4726), and Rust use-crate-scope (#4699) extraction-output changes; each PR
shipped a stale 25->26 bump.
- #4726: its method-result block passed the list-valued method_index.get(...)
straight to _emit_call, which silently dropped the edge since #4734 made
method_index list-valued; route it through _method_of for the exact method.
- #4748: _inputs_unchanged now treats a scanned file with no manifest row as
changed (unstamped_is_changed=True). A file whose extraction previously failed
was otherwise skipped forever once fixed, shipping a stale graph; inverted the
test that pinned the old behavior.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Triage of the 87 open Dependabot advisories: the real user-reachable
exposure is pillow (image parsing on untrusted files; 4 critical + 22
high, fixed in 13.0.0) and pypdf (PDF DoS, fixed in 6.19.0). The rest are
transitive/dev-tree (pyjwt, virtualenv, certifi, urllib3, anyio, fsspec,
soupsieve, cryptography) and clear with a lock refresh.
- pillow >=13.0.0 on Python 3.11+, >=12.3.0 on 3.10 (Pillow 13 drops 3.10;
no upstream fix exists for 3.10).
- pypdf >=6.16.1 -> >=6.19.0.
- uv lock --upgrade pulled patched transitive versions (pyjwt 2.15.1,
cryptography 50.0.2, certifi 2026.10.23, urllib3 2.8.0, virtualenv
21.14.13, anyio 4.15.1, fsspec 2026.9.0, soupsieve 3.0.4).
Full suite green (8725 passed, 1 pre-existing macOS-only failure).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
0.9.95 was gated but never shipped, so the follow-on batch belongs in it,
not a separate 0.9.96. pyproject stays at 0.9.95.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Covers #4578/#4579/#4580/#4581 (Python/Go/C++/Rust aliases + Rust union),
#4591 (#4584, C# overload nodes), and #4572 (#4569, package.json dep link).
Each PR shipped a stale 20->21 bump against an older base; this is the single
reconciled bump on top of HEAD's 24.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
The 0.9.95 YAML structural extractor (#4706) imports PyYAML, but it was
only a transitive dependency, so a fresh `pip install graphifyy` produced
zero nodes from .yaml/.yml files (the extractor degrades gracefully but
silently). manifest_ingest and markdown also use it via guarded imports.
Declare it like tree-sitter-json so the feature works out of the box.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
- Bump _AST_CACHE_SCHEMA 23 -> 24: #4705 (ObjC NS_CLOSED_ENUM) and #4677 (SQL
CREATE TABLE ERROR-node recovery) both change extraction output, and neither
PR included the bump, so a warm ObjC/SQL cache would serve stale results.
- #4677: display the recovered table label through _clean_ident (consistent
with the routine/trigger recoveries) while keeping the id keyed off the raw
name so FK edges still resolve to it.
- Add regression tests the #4708/#4709/#4710 security PRs shipped without
(multicast/unspecified SSRF block, Obsidian tag injection, Google shortcut
frontmatter escaping).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Three fixes on top of #4706's YAML extractor:
- Multi-document YAML (`---` separators) returned zero nodes because it used
yaml.safe_load, which accepts only one document; k8s manifests, Helm output,
and CI pipelines (the headline use cases) were silently empty. Use
safe_load_all and give each document a distinct node (labelled by kind+name
for k8s) so two docs in one file do not merge their keys.
- Add a _is_config_yaml gate mirroring extract_json's _is_config_json: a
top-level data array, an OpenAPI/Swagger spec, a JSON-schema-in-YAML, and a
flat all-scalar bundle (i18n) are skipped as data instead of minting up to
500 orphan nodes. A mapping with any nested value, a recognized config name,
or a .github/workflows path is still walked.
- Bump _AST_CACHE_SCHEMA 22 -> 23 (the PR reclassifies .yaml/.yml and adds a
new extractor, so cached YAML must re-extract).
- Tests: multi-doc, data/OpenAPI/array skip, the safe_load ACE guard, and caps.
- Clearer missing-PyYAML hint (pip install pyyaml).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
The landed docstring listed only the get_node/get_neighbors MCP tools,
but the CLI `explain` command also routes node lookup through this
resolver (cli.py), so a substring-only near-miss now refuses there too.
Name explain in the docstring so the shared surface is accurate.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
#4655 added amp/copilot/kilo/kimi to the hand-maintained --help install
line but still omitted antigravity-windows, so it disagreed with
_print_install_usage. Derive the list from the same
[*_PLATFORM_CONFIG, "gemini", "cursor"] expression the install usage
uses so the two cannot drift, and add test_help_lists_every_install_platform
to catch any future platform that is not advertised.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
#4634 suppressed the module-scope node for a require binding so it no
longer shadows the required class. But its guard used
_find_require_call(value), which matches ANY identifier(...) call, so it
also dropped real `const x = factory()` nodes (e.g. express(), NextAuth(),
wrapper()) and regressed #2604/#2552 (10 test failures). Add
_js_value_is_require, which name-checks the callee is literally `require`
the same way _require_imports_js already does, and gate the binding on it.
Bump _AST_CACHE_SCHEMA 20 -> 21: the require-binding change alters
extraction output (drops the shadow node, redirects the calls edge).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
The partial-read coverage check (#3987) adds a python block between the
Step B3 merge and Part C. Two skill-path tests that landed separately in
the 0.9.9x skill work hard-code the block count in that range (3) and
then execute every block in it. Bump the expected count to 4; the
behavioral assertions (token sums, merged node sets, stale-chunk
clearing) still hold because B3.5 only writes an empty
.graphify_partial.txt on the all-cached and codex-merge paths.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Land #3987 (@nothariharan, reported by @Ryanm218): on the skill
extraction path a long file a subagent only skimmed was cached as
complete and its unread tail silently dropped on the next replace-on-
re-extract. The chunk coverage self-report is now checked against each
file's real line count; a short file is cached partial and left
unstamped so --update retries it, reusing the library's existing
partial_source_files contract (#933, #1950).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
The ambiguous-name refusal added in #4517 routed through _resolve_single_node,
whose winning tier can be a prefix or substring match, so a bare search keyword
that merely substring-matched several labels was wrongly refused: `query "client"`
returned EXIT 3 because it is a substring of `AlphaClient`/`BetaClient`. That
narrowed query's keyword-search semantics.
Adds _query_name_refusal, which refuses only when the term EXACTLY names several
nodes (the source_exact/exact tiers) -- #4511's `.nonce()` case -- and otherwise
falls through to scoring. The `query` and `--seed` paths use it; explain/path/
get_node keep _resolve_single_node, whose prefix/substring tiers are correct for a
direct node lookup. Adds a regression test that a substring keyword still searches.
Co-Authored-By: shivampal46011 <shivampal46011@users.noreply.github.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>