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 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>
#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>
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>
#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>
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>
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>
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>
#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>
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>
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>
Twenty-three community PRs across JS/TS/Python/Go/Rust/Solidity call-resolution
and id-collision fixes, graph round-trip / dedup / confidence folding, skill
code-only-update and dispatch fixes, and LLM/Ollama/detection fixes. AST cache
schema bumped to 17.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Eight community PRs: Windows MCP-stdio hang (#4441), Rust use->declaration
(#4443), JS/TS file-scope callback param shadowing (#4457), sibling-file-id
symbol retention (#4452), TS class-field receiver scoping (#4297), Ollama
/api/chat num_ctx (#4414), cluster label retention on majority overlap (#4451),
and an ingest symlink test fix (#4442). AST cache schema bumped to 16.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Fourteen community pull requests: C# call-resolution and id-collision
fixes, Python/Go/dedup correctness, a hub-label sidecar, a post-merge
heal hook, and query/build fixes. The AST cache schema is bumped (now
15), so the first build after upgrading re-extracts.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>