Repository navigation
Every crate is at 0.1.21, and graphicle --version prints
graphicle 0.1.21 (core). The Python and TypeScript SDKs are at 0.1.21 too.
This release fixes session capture storing some credential shapes as
written (GHSA-m4pq-gpjq-wh9c), closes the remaining routes of the
network-path advisory (GHSA-g6c9-j4vm-mwq4), and takes in more of
Graphify 0.9.104 to 0.9.120. The first time 0.1.21 opens a data folder,
it cleans the session turns stored by earlier builds (see Security).
The engine still reports Graphify 0.9.103, as the port is not complete.
Each file is extracted again once: the extraction output changed (AST
cache schema 13).
Security: session capture (GHSA-m4pq-gpjq-wh9c)
-
Session capture (
graphicle sessions import, which the Claude Code,
Codex and Muse Code hooks run) now masks many more credential shapes
before a turn is stored: URL userinfo with or without a password
(https://user:pass@host,https://TOKEN@host,
postgresql://user:pass@host); presigned-URL parameters
(AWSAccessKeyId,Signature,X-Amz-Credential,X-Amz-Signature,
X-Amz-Security-Token, and Google's and Azure's equivalents, also
inside a percent-encoded URL); base64
runs of 80 or more characters, also wrapped over lines; values of keys
ending in_SECRET_ACCESS_KEY,_ACCESS_KEY,_SERVICE_KEY,
_ANON_KEY,_PRIVATE_KEY,_PASSWD,_CREDENTIALor_DSN(as
well astoken,password,secretandapi_key) inKEY=value,
key: value, quoted and JSON-escaped forms; GitHub installation
tokens followed by a JWT (ghs_<id>_<jwt>) andghr_refresh tokens;
JWTs with a tiny payload; and Voyage (pa-), Resend (re_) and
Supabase (sb_secret_) keys. The code graph's credential rule now
also runs on captured text. Earlier builds stored these shapes
verbatim. (GHSA-m4pq-gpjq-wh9c) -
The
cwd,git_branch,files_touchedandtoolsmetadata of a
captured turn go through the same cleaning as its text. -
A captured turn's
capture_policyno longer says"credentials": "redacted"; it says the masking is shape-based and best effort, not a
guarantee, and records the version of the rules (redaction_rules). -
Turns captured by an earlier build are cleaned automatically: the
first time 0.1.21 opens a data folder (any command, the server, or the
next hook run), it re-applies the new rules to every stored session
turn, its earlier versions and its metadata, and drops caches and
notes derived from turns that changed. Other connectors' documents are
not touched. To clean a store right away after upgrading, run any
command against it, for examplegraphicle status. Copies made before
the upgrade (backups, archives, exports) still hold the old text. -
Session capture: tool names are now masked in the stored turn text
too, not only in its metadata. -
Session capture: a path named inside a
<private>span is no longer
recorded infiles_touched; a<private>span now ends only at its
own closing tag (nested spans included), and text such as
Result<PrivateKey>or<PrivateRoute>is no longer taken for an
unclosed private tag and cut off. -
Session capture (Muse Code): a run whose prompt is entirely private is
skipped whole instead of being added to the turn before it. Claude
Code: a system reminder next to a tool result no longer starts an
empty turn. -
Credential redaction now also masks tokens that follow a JSON-escaped
line break, keyed values with escaped quotes or JSON escaped twice,
camelCase and kebab-case key names (secretAccessKey,
--secret-access-key),BearerandBasiccredentials given as a
keyed value orAuthorization: Basic, and presigned-URL parameters
after a JSON-escaped&(&). -
Credential redaction damages less ordinary text: a private-key header
without key lines (code that names it) no longer hides the rest of the
turn, a wrapped base64 block no longer takes the first word of the
next line, and AWS key ids and Google API keys must end at a boundary. -
Turns stored by earlier builds whose metadata could not be read are
now cleaned once instead of being retried on every store open. -
Session capture: text that names
<system-reminderwithout closing it
(in prose or code) no longer hides or exposes a<private>span after
it;"<private"in code no longer hides the rest of a turn; hidden
tags pair with their own closing tags, nested ones included. -
Session capture: Codex and Muse Code decide whether a message is a
prompt without client-injected<system-reminder>blocks, as Claude
Code already did. -
Session capture redaction: a quoted credential value keeps an escaped
quote inside at any level of JSON escaping; a cut-off OpenPGP or
indented private-key block hides its key lines; wrapped base64 is
masked when its lines are grouped by width, without taking the first
word of the next line; AWS and Google key formats followed by_or
-are masked. -
Session capture redaction masks less ordinary text:
Basicfollowed
by a word (## Basic Settings),Bearer $TOKENtemplates, and code
that names both PEM header and footer lines. -
Read-only mode reports a missing data folder as missing instead of as
one last used by an unknown version.
Security: network paths (GHSA-g6c9-j4vm-mwq4)
-
The check that decides whether git may run in a folder now walks the
whole git directory and common directory (refs, packs and loose
objects,info/*,shallow,sharedindex.*, logs, hooks, rebase and
merge state), and every alternate object folder, and refuses any entry
that is a link to another machine. The walk lists names only, follows
local links to folders, skips submodule and linked-worktree git
folders (checked when git uses them) and Git LFS object files, and is
bounded (200,000 entries, 32 folders deep); a git folder past those
bounds is treated as not local. -
The
info/alternatesfile of the last alternate git reads (five
levels down) is checked too. -
core.worktree,core.excludesFile,core.attributesFileand
core.hooksPathvalues that reach another machine through a link in
the repository are refused. -
A
gitdir:,commondiror alternates value with..is checked both
with links followed first and with..applied to the text (as
Windows and git's alternates reading do). -
Freshness checks (
sync,status,ask): beforegit statusruns,
every index entry name must be a plain relative name (no root, drive,
.., and on Windows no\or:), and the untracked folders git
looks into are checked for a nested.gitthat leads to another
machine (ignored folders are checked themselves but not entered, as
git does). The same applies inside checked-out submodules. Every
gitlink now counts toward a bound (1,024) before it is checked. -
.gitignoreand.graphicleignorefiles that are links to another
machine are not read; the encoding-aware ignore reader refuses such
links. -
Hook commands: a hook file, or a hooks folder, that leads to another
machine through a link is left alone; a hooks folder that git names
with..or through a link that leads nowhere is not used by
graphicle setuporwiki hook. The hooks list thatstatusreports
no longer runs git in a repository whose git files point elsewhere. -
Linked-worktree detection and the
info/excludelookup readgitdir:
andcommondirexactly as git does (no trimming). -
Windows verbatim paths (
\\?\C:\...) are resolved as their plain
spelling names them: a/inside a part separates and..climbs, so
a link reached that way is checked. A resolved verbatim path that
would name another file without its prefix (a part ending in a dot or
a space) keeps the prefix. -
Files read on a repository's behalf (
read_local: Cargo manifests,
git pointer files, SCIP documents) and.graphiclercare opened
without following a link at their name (O_NOFOLLOWon Unix,
FILE_FLAG_OPEN_REPARSE_POINTon Windows) and read from that handle,
so a link swapped in after the check is refused rather than followed. -
serve --watch: the in-memory patch runs as a scan of the served
folder; a recorded.graphicle_rootor stored source path on another
machine is not probed; a changed path below a link to another machine
counts as removed without the ignore rules reading its folders. -
watchand rebuilds: a watched folder that a pull turned into (or put
below) a link to another machine stops the watch at the next poll and
is not rebuilt. A share-hosted watch keeps its own files during a scan
of another folder in the same process instead of treating them as
deleted. -
An output folder shipped with a repository (
.graphicle/as a link,
or links inside it) is not used: rebuilds andserve --watchrefuse
it, the cache refuses linked cache folders and treats linked entries
as misses, cached paths on another machine are blanked on a hit,
stat-index keys on another machine are dropped, detection does not
walk a linkedmemory/folder or write converted copies through a
link, and backups, note adoption and the existing-graph check do not
read through such links. -
--cargo:**in workspace members follows local links once per real
folder with a cap on folders listed; member patterns with a root or
drive (/x, and on Windows\xorC:x) are refused as
non-relative, as pathlib's glob refuses them; a danglingCargo.toml
link is no longer taken as the discovered root manifest. -
A project folder that a pull turned into (or put below) a link to
another machine is refused at each freshness check, before anything
follows it: the check reports an error, answers get a stale note
instead of a refresh, andgraphicle sync --quiet(run by the Git
hooks) refuses the folder. A folder on a network share the user chose
stays allowed. -
The agent files a repository can ship in the project folder
(.mcp.json,.vscode/mcp.json,.claude/settings.local.json,
AGENTS.md,CLAUDE.md) are no longer read through a link to another
machine, and the program and--data-dirtheir entries and hooks name
are compared as text, never looked at, when they are on another
machine than the folder's own share (graphicle status,doctor,
doctor --fix). The same applies to the Git hooksstatusand
doctorlist (a hook on another share, and the folder a hook block
names) and to a.gitlink at a repository's top. -
git tests each folder it climbs through as a bare repository before
refusing one, reading itsHEADandcommondirand looking at
objects/andrefs/; a folder of a checkout (a plain clone
included) whosecommondirnames another machine, or whose parts link
there, now turns git off for a project synced from below it. -
core.worktreeis checked as git reads it (no~or%(prefix)/
expansion), and config path values with their quoted spaces;
gitdir:,commondirand alternates that are not valid UTF-8 are
refused; an alternates line ending in a carriage return is read as git
reads it; a folder inside an LFS object store that a link elsewhere in
the git folder leads to is walked in full. -
The
info/excludelookup checks both readings (links first, and..
applied to the text as Windows does) of an absolutegitdir:or
commondirwith..before looking at the file. -
Freshness checks: an index whose entries are out of git's sorted order
is refused (git would take a tracked folder for an untracked one); an
ignore, attributes or.gitmodulesfile that links to another
machine, at the top, above a synced subfolder or in a folder git
lists, makes the check scan before git runs. On Windows, an index name
with a part ending in a dot or a space, or a gitlink path that is a
junction, makes the check scan, and index names are matched to folders
without regard to ASCII case as Git for Windows matches them. -
graphicle setup: a hooks folder named through a link that leads
nowhere is refused also when it is written with a trailing/or
/.. -
A link whose target names the same share only before its
..parts
are applied (\\.\UNC\host\share\..\..\other\x) is refused;..is
accepted only where the host and share are part of the path's prefix
(\\host\share\...,\\?\UNC\host\share\...). -
Windows verbatim paths spelled with
/right after the drive
(\\?\C:/repo/link\f) are resolved part by part, so a link on the way
is checked. -
graphicle extractrefuses an output folder that is, holds or lies
below a link to another machine before creating or reading anything
there; an existinggraph.jsonshipped as such a link is no longer
read to guard the overwrite (the write itself was already refused). -
watchchecks the output folder at start and at each poll (and the
watched folder as named as well as resolved); the build config and the
previous manifest are read without following a link to another
machine; the update flag is neither written nor checked through such a
link; a rebuild re-checks both folders before each late pass. -
The cache does not list, clear or clean through a cache folder shipped
as a link (clearing could remove.jsonfiles wherever the link
pointed), does not look at cached target files or model-written source
paths on another machine, and does not flush its index into a cache
folder that has since become such a link. -
Detection does not walk a
memoryfolder that leads outside the
project (its files were all refused, after a walk of whatever the link
named), and a link insidememoryleading outside the project is not
followed. -
Backups are not written through a backup folder or file shipped as a
link (a link to.git/configcould be overwritten). -
Reads that refuse links no longer wait on a named pipe placed where a
file is expected (.graphiclerc, cache files) and no longer abort on
a file whose size cannot be allocated. -
Extraction: the symbol-less file check reads through the shared
checks, a linkedconvertedfolder is not followed, stub
origin_filepaths on another machine are blanked, and the
single-file and listing API actions run as a scan of the folder they
are given. -
Converted copies of Office documents and Google Workspace shortcuts
are not written when theconvertedfolder, or the copy's own name in
it, is a symbolic link (a repository could ship one pointing at
.git/configor a folder outside the project). Detection skips such a
file and lists it with the reason (converted copy not written: ...);
the conversion API actions return an error instead. -
watchandupdatewrite their marker files in the output folder
(theneeds_updateflag,.pending_changes,.pending_full,
.pending_incremental,.pending.lock,.graphicle_root, the
stale-page marker) without following a symbolic link at their names:
such a link is refused with an error, never written through, and a
named pipe there is not waited on..graphicle_build.jsonis not
saved over a link at its name. -
graphicle extractwrites.graphicle_rootwithout following a
symbolic link at its name. -
On Windows the rebuild lock (
.rebuild.lock) is opened without
following a link, and a junction at its name is removed like a file
link. -
cluster-onlyandlabelrefuse an output folder that is, holds or
lies below a link to another machine before readinggraph.jsonthere
or writing anything, asextractdoes; a--graphfile is not read
through such a link either. -
hook install/uninstall(and the library'sinstall_hook/
uninstall_hook) take only a plain hook file name, so a hook file is
always inside the hooks folder and on its share; a path that a link on
the way leads to another machine from has no repository forhook install,uninstallandstatus. The.gitattributesmerge line is
read and written without following a link at its last part on Windows
too. -
graphicle setup: a work-tree top that git prints on another machine
than the folder's own share is not taken; git is not run there. -
The
info/excludelookup also checks both readings of an absolute
gitdir:before reading itscommondir. A repository's own~/...
path setting (core.excludesFile,core.attributesFile,
core.hooksPath) that leads to another machine through a..or a
link below the home turns git off for that repository; one that stays
under the home keeps git. -
Freshness checks: index names with an empty,
.or..part are
refused; a synced subfolder's index entries are read from the whole
index and its order checked; a gitlink that is also a tracked file or
folder makes the check scan; an ignore, attributes or.gitmodules
file is recognised in any ASCII case; on Windows and macOS a folder
whose case differs from the index makes the check scan; the work-tree
top git prints and a folder about to be synced are not made canonical
through a link to another machine. -
status/doctor/doctor --fix: a recorded project folder (from
the store or the agent-files record) that a link now leads to another
machine is neither made canonical nor looked into; a program or
--data-diran agent file names with a..after a local link is
checked as Windows reads it too. -
Files Graphicle writes in its output folder and its cache are no
longer written through a symbolic link (or Windows junction) at their
names. A repository that ships, for example,
.graphicle/GRAPH_REPORT.md -> ../.git/configno longer gets
.git/configoverwritten byextract,cluster-only,label,
watch,updateor the exports. The new file is renamed over the
name, so the link is replaced by a regular file and the file it
pointed to is left unchanged. This coversGRAPH_REPORT.md,
manifest.json,.graphicle_labels.jsonand its.sigand
pending-labels files,.graphicle_analysis.json,
.graphicle_semantic_marker,cost.json,graph.html, the
cluster-onlystale-page marker, the watch state files,
.graphicle_cached.jsonand.graphicle_uncached.txt,
merged-graph.json,merge-chunksoutput, the wiki and Obsidian
notes (and the Obsidian manifest and canvas), the SVG and Cypher
exports, the tree and call-flow pages, the lessons file and its
learning sidecar, audio transcripts, and the hook guard's query stamp
and nudge counters. -
The output folder itself may still be a link (for example to another
disk), and files are written inside it as before. -
The installers are unchanged: agent settings files, hooks and
instruction files kept as links (for example in a dotfiles folder) are
still written through the link. -
graph.jsonwritten byextractandcluster-onlyis unchanged in
this round: those commands still replace the file a local link at
graph.jsonpoints to (rebuilds bywatchandupdatealready
replace the link itself). -
The manifest, the hook guard's markers and graph hint, and serve's
report and suggested-questions resources are read without following a
link to another machine. -
graphicle syncand the freshness check no longer open a
.gitignore,.ignoreor.git/info/excludethat is a symbolic link
to another machine (on Windows, opening one makes Windows connect to
that host and offer the user's credentials). A folder inside the
synced folder that holds such a link is left out of the sync, with
everything under it. Such a link in the synced folder itself, or in a
folder above it, stops the sync with an error that names the file.
Ignore files that are links to local files are read as before, and a
folder the user chose on a network share keeps working. -
graphicle extract <path>refuses a path that reaches another machine
through a symbolic link on the way, before looking at it. A folder
named directly on a network share is still extracted. -
extractno longer looks at the source paths stored in an existing
graph.jsonwhen they name another machine (it compares them as
written when deciding whether a failed source had saved records). -
A cached target file on another machine is no longer checked outside a
scan.
Changed
watchnow exits with an error when the watched folder starts to lead
to another machine through a symbolic link; a rebuild orserve --watchstart fails with an error naming the output folder when it
leads to another machine.- A workspace member pattern such as
\crates\*on Windows is now an
error ("Non-relative patterns are unsupported") instead of matching
below the workspace. - A git folder with more than 200,000 entries, or nested more than 32
folders deep, is treated as not local: git is not run there, and
freshness checks scan the folder instead. - On Windows, an index entry name holding
:or\makes freshness
checks scan instead of using git.
Fixed
- Repositories on a network share: git pointers and config values that
stay on the same share as the chosen folder (for example the network
path a linked worktree on a share uses for its git folder) no longer
turn git off. The freshness check keeps its git fast path,graphicle setupfinds the hooks folder, and the repository'sinfo/excludeis
read. A pointer to any other host or share is still refused. - git's user-wide excludes file (
core.excludesFilein the user's own
git config, or the default$XDG_CONFIG_HOME/git/ignore/
~/.config/git/ignore) is read again when it lies on a network share,
such as a home folder on a share, during a scan of another folder. It
was skipped, so files the user excluded were indexed. A value set in a
repository's own config is still never looked at on another machine,
and a link on the way from the user's file to another machine or share
is refused. - A git run that passes its time limit during a freshness check is now
killed on Windows as well, and on every platform it is waited for only
after the kill. git configchecks no longer depend onGIT_CEILING_DIRECTORIESwhen
the temporary folder's path contains:(Unix) or;(Windows).- An empty environment variable now counts as unset where Graphicle
reads a credential or a helper: a provider key in the model status
(#51), the worker queue password and model key ofredis-worker(#52)
andGRAPHICLE_DOCUMENT_HELPER(#53). - An existing vault key is read without writing to the data folder, so a
store on read-only media opens (#54). - MCP: callers racing on the first load of a graph share one build.
graphicle hook install,uninstallandstatuskeep working for a
repository on a network share the user chose: its hooks folder and
hook files on that share are used, while a hooks folder or hook file
on another host or share, or behind a link that leads there, is
refused.- Windows: an Ollama installed on
PATH(ollama.exe) is detected
again bysetup,config show,doctorandask. - A folder the user chose on a network share (output folder, watched
folder) keeps working when it holds links to other places on the same
share while another folder is being scanned in the same process. - Cargo workspaces on a network share (or a mapped drive) keep their
{ workspace = true }dependency edges. - Watching a subfolder of a repository on a share reads the project's
recorded root and stored files again. --cargo: a workspace member pattern made of many*parts beside
links to.stops at the folder limit instead of listing 2^parts
folders; with**, a real folder's own path is kept even when a link
to it sorts first.- Live serving: a background rebuild that keeps failing is retried after
a growing wait (1.2 s doubling up to 60 s) instead of at every 100 ms
poll. - A credential created with an expiry that is not a timestamp string is
refused; before, such an expiry was dropped and the credential never
expired. doctor --fixrepairs capture and guard hooks that name no
--data-dir(they belong to the default data folder) whendoctor
reports them, and leaves them alone for any other data folder;
doctorlists them only for the default data folder.- The daily backup of a protected graph is no longer skipped when the
repository ships the backup folder as a link back to the output folder
(or a backup file as a link to the live graph). Such a backup is not
reused, a warning is printed, and the write goes ahead as before. - Clearing the extraction cache no longer removes files where a cache
folder that is a symbolic link points. - Expanding a Cargo workspace
memberspattern with many wildcards next
to links is much faster. Each real folder is read once per pattern,
and a pattern that would exceed the folder limit fails before listing.
The limit and its error message are unchanged.
Extraction
- JavaScript and TypeScript: a member call through
import * as m, a
whole-modulerequireor TSimport m = require(...)binds to the
function the module exports, never to an exported object. - Java: calls through a class-qualified static field
(Service.INSTANCE.get()); each overload is its own node with its
arity and erased signature, and a call binds to the overload its
argument count fits; a Lombok@Getterfield gets its getter. - Kotlin: a member call is resolved through the receiver's declared
type, and interface methods dispatch to their implementers. - C#:
Audio.Instance.Click()resolves through the static member's
type; a local namedpartial,required,async,nint,nuint
orwithno longer drops the rest of the file; an explicit interface
implementation gets its own node and is no call target by name; a
Windows-1252 file with a directive is decoded before parsing. - Python: imports of a folder added to
sys.path, parameterized bases
(Base[int]), calls through parameters and lambda parameters, and
calls shadowed by a function-local import are handled. - Rust: a
use crate::import stays in its own crate; impl members that
differ only by_or case get their own nodes; a prelude trait's type
argument is no longer read as the trait. - C and C++: angle includes keep their spelling, standard headers never
bind to a same-named project header, and a call through a struct
field no longer binds to a free function. - SQL: T-SQL procedure writes, Oracle package members, partly parsed
PL/pgSQL bodies and misread T-SQL headers. - Ruby, Lua, Scala, Elixir, Swift and Objective-C:
_name/nametwins
keep their own nodes; Rubyprivate defandclass << selfmixins. - PHP:
$this->m(), inherited and trait methods, and every call site. - Go, Swift, Kotlin, VB.NET, COBOL, Svelte and tsconfig fixes, including
COBOLGO TOedges and tsconfigextendsandpathstargets. - Pascal and Delphi: a unit with a leading escaped apostrophe in a
string, or a directive before a routine'sbegin, keeps its later
declarations; a base class declared in a unit not named after it
resolves to its declaration; a call through a global object
(DM.Open) reaches the method of the object's class; a form
(.dfm,.lfm) links its class and event handlers to the unit that
implements them. - Python: a function-local import no longer resolves a same-named call
in a sibling function. - A source whose extraction fails keeps its last good records, and
only arms the shrink guard when it had records to protect. - The cross-language edge guard covers every extraction language.
Graph, queries and outputs
- An AST edge keeps its pair against a semantic copy; a member's usage
edge, not any edge, loses to its membership edge; a Markdown page's
structure survives folding into its semantic twin. query --no-doc-demotion(anddemote_docsin the MCP tool and the
project settings file) keeps documents at full weight; images are
demoted like documents.affectedtreats overloads of another shape as distinct.- MCP: a new
affectedtool andseedsonquery_graph; acall
filter keeps cross-repository calls; a path endpoint that is a node
id resolves directly. - An update restores a missing GRAPH_REPORT.md and reacts to ignore
file changes; an oversized JSON file is skipped, not failed. - Excluding a symlink inside the corpus prunes only that entry, not
the file it points at. - MCP: reloading a changed graph no longer stalls requests for other
graphs or callers already holding the previous one. - The search hook softens its reminder when the graph may be stale.
- Semantic extraction: incomplete precomputed slices never save a file
as complete, and a failing progress callback stops queued chunks. - Wiki articles on a directed graph include and mark incoming edges and
link other articles by id; exports
honour the filesystem's filename limit, make their folders and take
nodes without a label; community cohesion stays within 0 to 1.
Install
brew install graphicle-ai/tap/graphicle
# or
curl -fsSL https://github.com/Graphicle-AI/graphicle/releases/download/v0.1.21/install.sh | sh -s -- --version 0.1.21On Windows (x86-64, preview), in PowerShell:
$env:GRAPHICLE_VERSION = '0.1.21'; irm https://github.com/Graphicle-AI/graphicle/releases/download/v0.1.21/install.ps1 | iexEach archive's SHA-256 sum is in SHA256SUMS and beside it in a .sha256 file.
graphicle.exe and graphicle-graph.exe in the Windows archive carry a signature from a SignPath test certificate. Windows does not trust that certificate, so it treats them as unsigned programs and may warn before it runs them. Code signing policy