{
  "name": "Balance0014/claude-code-when-to-clear — 1 skill",
  "slug": "source-skills-a827de96efe61c1dd5aacc4c",
  "type": "skills",
  "category": "developer-tools",
  "example": false,
  "evidence_state": "pinned_source_listing",
  "stamp": "Pinned source listing — machine-checked",
  "summary": "Pinned source declarations and file hashes were listed.",
  "outcome": "Listed 1 skill declaration. Ran 18 git commands; each one's exit status and output hash is in commands.json. Scope: acquisition and static inspection.",
  "rule_results": [
    "The retained source tree matches its acquisition manifest.",
    "Declared skill names (listing.json): handoff"
  ],
  "task": "What declarations and files are present in this pinned source?",
  "setup": "Git blob acquisition followed by static source inspection.",
  "limitations": "Scope: acquisition and static inspection. Command results: commands.json.",
  "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": {
    ".claude-plugin/marketplace.json": "fe8c6477d071cdd9eaca3c0aed60dfd52cdb37f20e972fc6fc3f954901e29095",
    ".claude-plugin/plugin.json": "6b75e4b2ea618b860b52c594add0989e8beaca654f33bc4bb2ab59d3230cc12e",
    ".github/workflows/ci.yml": "9af975f3815ea4d397f072001587f7cc4ace6dfdcc65628528c91f8c328864db",
    "CHANGELOG.md": "f9e50ce37c044cccf62d3bb3488d5f6eac53eefcb4b203846f2f594367c53812",
    "CONTRIBUTING.md": "5a19d08ff520844d5f7635e6ddbad5e5bf1466b94284e01976a39869d8b018c3",
    "LICENSE": "118a5351e04b95a8646611d51fc1f968c07371ec88206e823c736092a692808d",
    "README.md": "8926106d39b0652285ec2389a15e6abb161e7fcd1e5624344707d7b47d2372e3",
    "README.zh-CN.md": "03c2b9d53ec943e4bdba0541cb37304d974a12eb1a0465203746b029440971ce",
    "docs/demo.svg": "aa9f93eda86c407be41612b5a57070fbfe2545d0d63e5269d70c4daa407b41ff",
    "hooks/hooks.json": "539bfc5f057a393b6714d694f0f40549d3349cef755d4c31ecdda3a05e1e53df",
    "skills/handoff/SKILL.md": "8ed44d712b475ae3ff9c4685f3edb631879f53f2a52376799d6f9eb81392195a",
    "tests/test_when_to_clear.py": "f41902f871d329fc6779c176fbb472e37d56730ec43ff17af861fe757c70337d",
    "when_to_clear.py": "aee361c734d52ab570c770de5b74779f9610ec59fbeb4be353fc8fecbacd2b6c"
  },
  "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 pipeline",
  "harness_version": "toolwitness harness at commit 11979a4e2494e8fc75747c453ca0675b04c7d9e9",
  "claude_code_version": "Not applicable: static source inspection (commands.json).",
  "model_id": "Not applicable: static source inspection (commands.json).",
  "scanner_version": "Not applicable: static source inspection.",
  "rulepack_version": "Not applicable: static source inspection.",
  "agents": [],
  "disclaimer": "This record lists declarations and file hashes from a pinned source tree. Git command results from acquisition and static inspection are retained in commands.json. Scope: acquisition and static inspection. It is not a security or quality verdict. Changed bytes are outside this record.",
  "commands": [
    "Ran 18 git commands; each one's exit status and output hash is in commands.json. Scope: acquisition and static inspection."
  ],
  "prompt_list": [
    "Not applicable: static source inspection (commands.json)."
  ],
  "history": [
    "2026-11-12T06:17:27Z: pinned source inspection"
  ],
  "application": {
    "name": "Balance0014/claude-code-when-to-clear — 1 skill",
    "softwareVersion": "8b4b35f7fc1493cc571fd7ba5f5387a70385503c",
    "applicationCategory": "DeveloperApplication",
    "operatingSystem": "Not exercised"
  },
  "artifacts": {
    "transcript": "Ran 18 git commands; each one's exit status and output hash is in commands.json. Scope: acquisition and static inspection.",
    "sinkhole_log": "Not applicable: static source inspection (commands.json).",
    "canary_log": "Not applicable: static source inspection (commands.json).",
    "scanner_output": "Not applicable: static source inspection (commands.json).",
    "normalized_text": "{\n  \"listing\": {\n    \"skills\": [\n      {\n        \"path\": \"skills/handoff/SKILL.md\",\n        \"name\": \"handoff\",\n        \"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.\",\n        \"files\": {\n          \"skills/handoff/SKILL.md\": \"8ed44d712b475ae3ff9c4685f3edb631879f53f2a52376799d6f9eb81392195a\"\n        }\n      }\n    ],\n    \"hooks\": [\n      {\n        \"path\": \"hooks/hooks.json\",\n        \"sha256\": \"539bfc5f057a393b6714d694f0f40549d3349cef755d4c31ecdda3a05e1e53df\",\n        \"event\": \"Stop\",\n        \"matcher\": null,\n        \"declaration\": {\n          \"type\": \"command\",\n          \"command\": \"python3 \\\"${CLAUDE_PLUGIN_ROOT}/when_to_clear.py\\\" hook --at 200k\",\n          \"timeout\": 15\n        },\n        \"executed\": false\n      }\n    ],\n    \"executions\": []\n  }\n}"
  },
  "review_input": {
    "identity_artifact": "identity.json",
    "evidence_sha256": {
      "LOCK.json": "104c5bc6121d11e59d45c02aa63313f0b1bfea40f84d7aa9c557a6b28fe53b55",
      "commands.json": "3c1b86b0dafdfc79029509088db62d4ef5899e235025508aafd85e40daee5b1a",
      "complete.json": "91b504b43905fdc009504d516c45eea831f39a1995b9e7d69987c9756c936d6f",
      "identity.json": "8db4789b4f214ec720a2252d1d886eb9ea180b1491f6010c253a03726a56b193",
      "listing.json": "3c5652d8c76dc76704aa7934cb7d242f5e16d0cc08fb3cb4aa960cababcf74f1",
      "selection.json": "389de6320dd23f5d8067403d2f831e8f6b312ecf6e01936edac26c0b89691945"
    },
    "claims": [
      {
        "id": "acquired",
        "field": "summary",
        "text": "Pinned source declarations and file hashes were listed.",
        "sources": [
          "LOCK.json",
          "listing.json",
          "commands.json"
        ]
      },
      {
        "id": "listed",
        "field": "outcome",
        "text": "Listed 1 skill declaration. Ran 18 git commands; each one's exit status and output hash is in commands.json. Scope: acquisition and static inspection.",
        "sources": [
          "LOCK.json",
          "listing.json",
          "commands.json"
        ]
      },
      {
        "id": "tree",
        "field": "rule_results.0",
        "text": "The retained source tree matches its acquisition manifest.",
        "sources": [
          "LOCK.json",
          "listing.json",
          "commands.json"
        ]
      },
      {
        "id": "declared",
        "field": "rule_results.1",
        "text": "Declared skill names (listing.json): handoff",
        "sources": [
          "LOCK.json",
          "listing.json",
          "commands.json"
        ]
      }
    ]
  },
  "review": {
    "kind": "machine-checked",
    "date": "2026-11-12",
    "reviewed_sha256": "7aa0bef889798eb126b21344fb91252ef4c7abc0f15eedde72cf16f0b69efc27",
    "gates": "a0e86557e19ed826386dde0c6a5fddf0541ad925ea1454760f620d7d51acf915",
    "codex": "9e077e631bed02bbe3e3b0d555ec855f5c9893471d0c56688b8a7eec7446802e",
    "grok": "3e339f65eed047b0339e076793977cd944fecc03d4132053322755e512a1f56e",
    "summary": "Deterministic gates passed; every claim rebuilt from evidence with a reviewed template; Grok reported no standing refutation."
  }
}
