instinct-cli 0.3.10

Shared local memory for coding agents. Save a fix once and find it again in a new session or another connected tool.
1
2
3
4
5
6
7
8
9
10
11
12
13
# Opt-in attached-check hints

Set `INSTINCT_CHECK_HINTS=1` for the prompt-hook process to add a compact hint when its selected lesson has a valid current artifact-policy attachment. With the variable absent or any other value, the hook takes the unchanged rendering path and does not read the sidecar for this feature.

The hint says a check is available but **not evaluated**. It does not choose a filesystem root, inspect a target, run the policy, record a hit, or authorize an action. Actual check-verified feedback still requires the separate explicit observation path. The message prints no policy filenames, root paths, conditions or other private attachment values.

The lookup reads at most 64 KiB / 128 records from the selected bank's regular non-symlink capability sidecar. It uses the existing verified Helix DB decoder rather than a second storage parser. Unknown, malformed, too-large, revoked, mismatched-bank or changed-lesson attachments are silent. Policy fingerprint, exact lesson scope and revision are validated without granting traversal. This advisory read creates no lock files or feedback events and does not change ordinary recall failure behavior.

This path assumes a trusted local bank directory. A portable metadata check followed by open is not protection against a hostile concurrent symlink replacement. Concurrent or stale reads can at most produce an advisory availability hint, never a PASS, access grant or feedback credit. Large sidecars require a future bounded index; this hint does not scan them unboundedly.

The reproducible `bench/capability/hint_latency.hlx` runner checks actual prompt output on a disposable 2,000-lesson bank. One optimized paired run (30 calls per arm) measured hint-on/off p50 14.38/14.69 ms and p95 21.40/22.12 ms. This met the 15 ms median target in that run, not a population guarantee or a demonstrated speedup. An earlier single-lesson debug run was slower and noisy (on/off p50 46.70/34.48 ms); retain both measurements rather than comparing them as a causal improvement.

No observation is automatically enabled in hooks or MCP. Older installations simply do not emit the hint. The environment flag is explicit opt-in and is not installed into live user configuration by this feature.