Drop the clause the module docstring already holds, and a superlative
This commit was merged in pull request #42.
This commit is contained in:
@@ -107,7 +107,7 @@ How work proceeds in any repo, unless that repo's `AGENTS.md` says otherwise.
|
||||
|
||||
**Link, don't inline — and keep the link bare.** A mechanism identical across call sites or repos is documented once in the canonical source and pointed at with a one-line bare link; N copies drift, whether they are comments or READMEs. Don't summarize what's behind the link or restate the identifier's own name.
|
||||
|
||||
**A pointer is not a definition.** A definition the reader needs to follow the code — what a unit counts, what a term means, what invariant a cache rests on — sits at the code in one line. A pointer to it (`see AGENTS.md §11`) is the one comment form that cannot be checked against the code beside it, so it rots invisibly. A pointer carrying rationale — a rejected alternative, the premise behind a standing choice — is correct and stays.
|
||||
**A pointer is not a definition.** A definition the reader needs to follow the code — what a unit counts, what a term means, what invariant a cache rests on — sits at the code in one line. A pointer to it (`see AGENTS.md §11`) cannot be checked against the code beside it, so it rots invisibly. A pointer carrying rationale — a rejected alternative, the premise behind a standing choice — is correct and stays.
|
||||
|
||||
### Comments
|
||||
|
||||
|
||||
+1
-1
@@ -173,7 +173,7 @@ def render(entries):
|
||||
|
||||
|
||||
def typed(entry):
|
||||
"""A human turn: a "user" entry, not isMeta, whose message.content is a string not starting with "<" (<command-name> and its kind) or one or more text parts, none starting with "[Request interrupted"; Claude Code writes the rest, tool_result lists among them."""
|
||||
"""A human turn: a "user" entry, not isMeta, whose message.content is a string not starting with "<" (<command-name> and its kind) or one or more text parts, none starting with "[Request interrupted"."""
|
||||
if entry.get("type") != "user" or entry.get("isMeta"):
|
||||
return False
|
||||
content = entry.get("message", {}).get("content")
|
||||
|
||||
Reference in New Issue
Block a user