Skip to content

Graphicle 0.1.21

Latest

Choose a tag to compare

@github-actions github-actions released this 01 Dec 16:53

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, _CREDENTIAL or _DSN (as
    well as token, password, secret and api_key) in KEY=value,
    key: value, quoted and JSON-escaped forms; GitHub installation
    tokens followed by a JWT (ghs_<id>_<jwt>) and ghr_ 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_touched and tools metadata of a
    captured turn go through the same cleaning as its text.

  • A captured turn's capture_policy no 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 example graphicle 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 in files_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), Bearer and Basic credentials given as a
    keyed value or Authorization: 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-reminder without 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: Basic followed
    by a word (## Basic Settings), Bearer $TOKEN templates, 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/alternates file of the last alternate git reads (five
    levels down) is checked too.

  • core.worktree, core.excludesFile, core.attributesFile and
    core.hooksPath values that reach another machine through a link in
    the repository are refused.

  • A gitdir:, commondir or 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): before git status runs,
    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 .git that 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.

  • .gitignore and .graphicleignore files 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 setup or wiki hook. The hooks list that status reports
    no longer runs git in a repository whose git files point elsewhere.

  • Linked-worktree detection and the info/exclude lookup read gitdir:
    and commondir exactly 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 .graphiclerc are opened
    without following a link at their name (O_NOFOLLOW on Unix,
    FILE_FLAG_OPEN_REPARSE_POINT on 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_root or 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.

  • watch and 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 and serve --watch refuse
    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 linked memory/ 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 \x or C:x) are refused as
    non-relative, as pathlib's glob refuses them; a dangling Cargo.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, and graphicle 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-dir their 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 hooks status and
    doctor list (a hook on another share, and the folder a hook block
    names) and to a .git link at a repository's top.

  • git tests each folder it climbs through as a bare repository before
    refusing one, reading its HEAD and commondir and looking at
    objects/ and refs/; a folder of a checkout (a plain clone
    included) whose commondir names another machine, or whose parts link
    there, now turns git off for a project synced from below it.

  • core.worktree is checked as git reads it (no ~ or %(prefix)/
    expansion), and config path values with their quoted spaces;
    gitdir:, commondir and 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/exclude lookup checks both readings (links first, and ..
    applied to the text as Windows does) of an absolute gitdir: or
    commondir with .. 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 .gitmodules file 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 extract refuses an output folder that is, holds or lies
    below a link to another machine before creating or reading anything
    there; an existing graph.json shipped as such a link is no longer
    read to guard the overwrite (the write itself was already refused).

  • watch checks 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 .json files 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 memory folder that leads outside the
    project (its files were all refused, after a walk of whatever the link
    named), and a link inside memory leading outside the project is not
    followed.

  • Backups are not written through a backup folder or file shipped as a
    link (a link to .git/config could 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 linked converted folder is not followed, stub
    origin_file paths 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 the converted folder, or the copy's own name in
    it, is a symbolic link (a repository could ship one pointing at
    .git/config or 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.

  • watch and update write their marker files in the output folder
    (the needs_update flag, .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.json is not
    saved over a link at its name.

  • graphicle extract writes .graphicle_root without 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-only and label refuse an output folder that is, holds or
    lies below a link to another machine before reading graph.json there
    or writing anything, as extract does; a --graph file is not read
    through such a link either.

  • hook install / uninstall (and the library's install_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 for hook install, uninstall and status. The .gitattributes merge 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/exclude lookup also checks both readings of an absolute
    gitdir: before reading its commondir. 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-dir an 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/config no longer gets
    .git/config overwritten by extract, cluster-only, label,
    watch, update or 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 covers GRAPH_REPORT.md,
    manifest.json, .graphicle_labels.json and its .sig and
    pending-labels files, .graphicle_analysis.json,
    .graphicle_semantic_marker, cost.json, graph.html, the
    cluster-only stale-page marker, the watch state files,
    .graphicle_cached.json and .graphicle_uncached.txt,
    merged-graph.json, merge-chunks output, 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.json written by extract and cluster-only is unchanged in
    this round: those commands still replace the file a local link at
    graph.json points to (rebuilds by watch and update already
    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 sync and the freshness check no longer open a
    .gitignore, .ignore or .git/info/exclude that 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.

  • extract no longer looks at the source paths stored in an existing
    graph.json when 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

  • watch now exits with an error when the watched folder starts to lead
    to another machine through a symbolic link; a rebuild or serve --watch start 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 setup finds the hooks folder, and the repository's info/exclude is
    read. A pointer to any other host or share is still refused.
  • git's user-wide excludes file (core.excludesFile in 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 config checks no longer depend on GIT_CEILING_DIRECTORIES when
    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 of redis-worker (#52)
    and GRAPHICLE_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, uninstall and status keep 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 by setup, config show, doctor and ask.
  • 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 --fix repairs capture and guard hooks that name no
    --data-dir (they belong to the default data folder) when doctor
    reports them, and leaves them alone for any other data folder;
    doctor lists 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 members pattern 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-module require or TS import 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 @Getter field 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 named partial, required, async, nint, nuint
    or with no 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/name twins
    keep their own nodes; Ruby private def and class << self mixins.
  • PHP: $this->m(), inherited and trait methods, and every call site.
  • Go, Swift, Kotlin, VB.NET, COBOL, Svelte and tsconfig fixes, including
    COBOL GO TO edges and tsconfig extends and paths targets.
  • Pascal and Delphi: a unit with a leading escaped apostrophe in a
    string, or a directive before a routine's begin, 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 (and demote_docs in the MCP tool and the
    project settings file) keeps documents at full weight; images are
    demoted like documents.
  • affected treats overloads of another shape as distinct.
  • MCP: a new affected tool and seeds on query_graph; a call
    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.21

On 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 | iex

Each 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