Answer prose round 1: 0 🔴, 7 🟡 (0 misread); define a subcommand word in command-patterns' help and split its table sentence, point the bin/ decision at the CI entry by name, leave ci.sh's pinned details to its header, say what a CI rule check needs, and split the two argument errors
CI / tests (pull_request) Successful in 2m47s
CI / tests (pull_request) Successful in 2m47s
This commit was merged in pull request #450.
This commit is contained in:
@@ -7,11 +7,10 @@ import re
|
||||
from claude_code.entries import AssistantTurn, parse_entry, ToolCall, ToolResults
|
||||
from command_lines.shell_command import segments
|
||||
|
||||
# A word that reads as a subcommand, such as `pr` in `tea pr create`; an option, a path or a number ends the pattern.
|
||||
# A subcommand word, such as `pr` in `tea pr create`. Any other word ends the pattern.
|
||||
SUBCOMMAND = re.compile(r"[a-z][a-z0-9-]*")
|
||||
# The words after the tool a pattern keeps at most.
|
||||
SUBCOMMANDS = 2
|
||||
# Tokens are estimated from characters, at about four characters a token.
|
||||
CHARACTERS_PER_TOKEN = 4
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user