nietzschian
Socratic debugging session that asks questions instead of patching the code
TLDR
SYNOPSIS
nietzschian debug problem [-i intensity]nietzschian --version
DESCRIPTION
nietzschian is an interactive debugger that refuses to hand you a patch. You describe a problem, then answer questions at a > prompt until you reach the cause yourself. The console script is nietzschian (package nietzschian-debugger). It needs Python 3.10 or newer and an Anthropic API key:
nietzschian debug "the worker drops the second message"
PARAMETERS
problem
What is broken, in your own words. An empty description exits with status 2.-i, --intensity socrates|nietzsche|zarathustra
How hard the questions push. Names are matched without case. The default is nietzsche. socrates stays exploratory. zarathustra is the sharpest of the three.
CAVEATS
The key is read from the environment. A missing key exits with status 1 and prints how to set it. An invalid key also exits 1. Rate limits, connection failures, and other API errors exit 3. A completed session exits 0.Questions go to Anthropic's API, so the problem text and your replies leave the machine. There is one command, debug.
HISTORY
nietzschian is published by Dilawar Shafiq as the Nietzschian Debugger. It is written in Python with Click, licensed under MIT.
