fix(7731): the stop after a note sends its lines without a trailing newline, as the check does
CI & Build / TypeScript typecheck (push) Successful in 38s
CI & Build / Plugin hooks (push) Successful in 17s
CI & Build / Python lint (push) Successful in 2s
CI & Build / Python tests (push) Successful in 2m7s
CI & Build / integration (push) Successful in 2m23s
CI & Build / Build & push image (push) Successful in 43s
CI & Build / TypeScript typecheck (push) Successful in 38s
CI & Build / Plugin hooks (push) Successful in 17s
CI & Build / Python lint (push) Successful in 2s
CI & Build / Python tests (push) Successful in 2m7s
CI & Build / integration (push) Successful in 2m23s
CI & Build / Build & push image (push) Successful in 43s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -91,7 +91,8 @@ _unique() { awk '!seen[$0]++' "$1" 2>/dev/null | head -n 80; }
|
|||||||
|
|
||||||
# The note a prompt carried: were its lines judged since?
|
# The note a prompt carried: were its lines judged since?
|
||||||
if [ -s "$asked_file" ]; then
|
if [ -s "$asked_file" ]; then
|
||||||
asked_enc=$(_unique "$asked_file" | grimoire_urlenc) || asked_enc=""
|
asked=$(_unique "$asked_file")
|
||||||
|
asked_enc=$(printf '%s' "$asked" | grimoire_urlenc) || asked_enc=""
|
||||||
if [ -n "$asked_enc" ] && curl -fsS --max-time 4 \
|
if [ -n "$asked_enc" ] && curl -fsS --max-time 4 \
|
||||||
-H "Authorization: Bearer ${token}" \
|
-H "Authorization: Bearer ${token}" \
|
||||||
"${url%/}/api/plugin/shape-check?phase=after&written=${asked_enc}${scope_q}" \
|
"${url%/}/api/plugin/shape-check?phase=after&written=${asked_enc}${scope_q}" \
|
||||||
|
|||||||
Reference in New Issue
Block a user