{
 "schema_version": 1,
 "generated": "2026-10-26",
 "id": "ghalebdweikat-winnow--trial-winnow-in-shadow-mode",
 "repo": "GhalebDweikat/winnow",
 "repo_url": "https://github.com/GhalebDweikat/winnow",
 "repo_slug": "ghalebdweikat-winnow",
 "title": "Test Winnow in shadow mode before it changes results",
 "page_title": "How to test Winnow in shadow mode before it changes results with Winnow",
 "summary": "Log what Winnow would hide for a week without changing anything Claude sees.",
 "who": "A developer who wants evidence that the judge's decisions are right before trusting it with live context.",
 "problem": "Hiding the wrong block could cost time, and it is hard to judge filter quality without seeing the decisions.",
 "outcome": "A week of logged decisions and savings estimates that show whether active mode is safe to enable.",
 "steps": [
  "Add WINNOW_MODE=shadow to ~/.winnow/env, or to the env block of ~/.claude/settings.json.",
  "Work in Claude Code as normal for about a week so the hook judges real tool results.",
  "Run `winnow stats` to see how many results would have been rewritten and how many characters would have been saved.",
  "Run `winnow recall` with a key from ~/.winnow/decisions.jsonl to see exactly what would have been hidden.",
  "If the decisions look right, change WINNOW_MODE to active."
 ],
 "agent_prompt": "In the winnow repo at <repo path>, set WINNOW_MODE=shadow, then run `winnow stats` after a week of Claude Code use. Report the number of results that would have been rewritten and the characters that would have been saved. Verify that the decision log in ~/.winnow/decisions.jsonl contains per-block probabilities.",
 "agents": [
  "claude-code"
 ],
 "difficulty": "Beginner",
 "time": "15 minutes",
 "basis": "readme",
 "caveat": "Shadow mode still judges every result and sends the tool output to the judge, so data leaves your machine even though nothing is rewritten.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "python",
 "requirements": [
  "Python 3.10+",
  "uv installed",
  "Claude Code 2.1.260 or newer with function hooks enabled (early access)",
  "A Jev key from TypeSafe, or an Anthropic API key for the adapter judge",
  "Git to clone the repo"
 ],
 "risk": "sensitive",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.9,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/ghalebdweikat-winnow/trial-winnow-in-shadow-mode/",
 "md": "https://dedupedai.com/use-cases/ghalebdweikat-winnow/trial-winnow-in-shadow-mode/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/ghalebdweikat-winnow--trial-winnow-in-shadow-mode.json",
 "api_version": "v1"
}
