Balance0014/claude-code-when-to-clear — 1 hook

Pinned source listing — machine-checked

What declarations and files are present in this pinned source?

Pinned source declarations and file hashes were listed.

Review

Machine-checked ·

Run UTC
Reviewed
Published
Updated

Observations · Limitations · Evidence

Loader format matches Claude Code and Grok Build docs. Not run in those agents.

What we ran

Git blob acquisition followed by static source inspection.

What we saw

Listed 1 hook declaration. Ran 18 git commands; each one's exit status and output hash was recorded. Scope: acquisition and static inspection.

Limits

Scope: acquisition and static inspection.

developer-tools · hooks · Upstream source · Upstream documentation

Pinned source inspection only; no runtime platform was exercised, UTC 2026-11-12T06:17:27Z, tree d8853d4cead985e148bd77bcb4b79dd1a688661f09e7e7be7e462f142ae371be.

No browser or computer-use tools. Pin this exact version; the stamp does not follow updates.

Additional record fields
type
hooks
category
developer-tools
rule results
["The retained source tree matches its acquisition manifest.","Declared hook names (listing.json): Stop"]
source url
https://github.com/Balance0014/claude-code-when-to-clear
documentation url
https://github.com/Balance0014/claude-code-when-to-clear
commit
8b4b35f7fc1493cc571fd7ba5f5387a70385503c
tree sha256
d8853d4cead985e148bd77bcb4b79dd1a688661f09e7e7be7e462f142ae371be
file sha256
13 file hashes in record.json
lockfiles
["LOCK.json"]
utc date
2026-11-12T06:17:27Z
source date
2026-11-04
discovered date
2026-11-04
retested date
2026-11-12
reviewed date
2026-11-12
published date
2026-11-12
modified date
2026-11-12
reviewer
Machine-checked
harness version
toolwitness harness at commit 11979a4e2494e8fc75747c453ca0675b04c7d9e9
agents
[]
commands
["Ran 18 git commands; each one's exit status and output hash was recorded. Scope: acquisition and static inspection."]
history
["2026-11-12T06:17:27Z: pinned source inspection"]
application
{"applicationCategory":"DeveloperApplication","name":"Balance0014/claude-code-when-to-clear — 1 hook","operatingSystem":"Not exercised","softwareVersion":"8b4b35f7fc1493cc571fd7ba5f5387a70385503c"}
review input
4 claims checked against 6 hashed lab files; hashes in record.json

Downloadable evidence

transcript

Download complete transcript

Ran 18 git commands; each one's exit status and output hash was recorded. Scope: acquisition and static inspection.

normalized text

Download complete normalized text

{
  "listing": {
    "skills": [
      {
        "path": "skills/handoff/SKILL.md",
        "name": "handoff",
        "description": "Use when the user asks for a handoff note, wants to /clear or start a new session without losing their place, or when the when-to-clear reminder says the conversation is getting long. Writes HANDOFF.md so a fresh session can pick up the work.",
        "files": {
          "skills/handoff/SKILL.md": "8ed44d712b475ae3ff9c4685f3edb631879f53f2a52376799d6f9eb81392195a"
        }
      }
    ],
    "hooks": [
      {
        "path": "hooks/hooks.json",
        "sha256": "539bfc5f057a393b6714d694f0f40549d3349cef755d4c31ecdda3a05e1e53df",
        "event": "Stop",
        "matcher": null,
        "declaration": {
          "type": "command",
          "command": "python3 \"${CLAUDE_PLUGIN_ROOT}/when_to_clear.py\" hook --at 200k",
          "timeout": 15
        },
        "executed": false
      }
    ],
    "executions": []
  }
}
Download full record JSON

Disclaimer

This record lists declarations and file hashes from a pinned source tree. Git command results from acquisition and static inspection are hash-pinned in the record JSON. Scope: acquisition and static inspection. It is not a security or quality verdict. Changed bytes are outside this record.

Page updated