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-04T13:00:29Z, tree a87a78040c1b609fd0ff2717663e66d3faac75f24353cefe673b9ce22e7ea707.

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
1193d86f61face50dfe87ba0ad3748a463ef957f
tree sha256
a87a78040c1b609fd0ff2717663e66d3faac75f24353cefe673b9ce22e7ea707
file sha256
13 file hashes in record.json
lockfiles
["LOCK.json"]
utc date
2026-11-04T13:00:29Z
source date
2026-11-04
discovered date
2026-11-04
retested date
2026-11-04
reviewed date
2026-11-04
published date
2026-11-04
modified date
2026-11-04
reviewer
Machine-checked
harness version
toolwitness harness at commit 315e99350765ac8b562721804e18fe9fccd71fb7
agents
[]
commands
["Ran 18 git commands; each one's exit status and output hash was recorded. Scope: acquisition and static inspection."]
history
["2026-11-04T13:00:29Z: pinned source inspection"]
application
{"applicationCategory":"DeveloperApplication","name":"Balance0014/claude-code-when-to-clear — 1 hook","operatingSystem":"Not exercised","softwareVersion":"1193d86f61face50dfe87ba0ad3748a463ef957f"}
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