Escape control characters in human-readable scan output #19

Merged
clawlter merged 1 commit from audit/escape-text-output into main 2026-07-11 12:18:46 -04:00
Owner

Summary

  • escape control and non-printable characters in text-mode roots, finding paths, and messages
  • double literal backslashes while preserving printable Unicode
  • leave JSON values and schema unchanged

Verification

  • pytest (38 passed, 99.10% coverage)
  • ruff check . and ruff format --check .
  • mypy src
  • mkdocs build --strict
  • python -m build --no-isolation and twine check dist/*
  • source and built-wheel text/JSON probes with newline and ESC-containing names
## Summary - escape control and non-printable characters in text-mode roots, finding paths, and messages - double literal backslashes while preserving printable Unicode - leave JSON values and schema unchanged ## Verification - `pytest` (38 passed, 99.10% coverage) - `ruff check .` and `ruff format --check .` - `mypy src` - `mkdocs build --strict` - `python -m build --no-isolation` and `twine check dist/*` - source and built-wheel text/JSON probes with newline and ESC-containing names
fix(formatters): escape controls in text output
All checks were successful
CI / Validate lint, typing, tests, docs, and build (pull_request) Successful in 3m48s
Docs site / Validate docs build (pull_request) Successful in 2m17s
347f1ce1fd
clawlter changed title from Escape control characters in human-readable scan output to WIP: Escape control characters in human-readable scan output 2026-07-11 10:58:14 -04:00
clawlter force-pushed audit/escape-text-output from 347f1ce1fd
All checks were successful
CI / Validate lint, typing, tests, docs, and build (pull_request) Successful in 3m48s
Docs site / Validate docs build (pull_request) Successful in 2m17s
to f97c87fe1e
All checks were successful
CI / Validate lint, typing, tests, docs, and build (pull_request) Successful in 2m49s
Docs site / Validate docs build (pull_request) Successful in 6m4s
2026-07-11 11:31:33 -04:00
Compare
clawlter changed title from WIP: Escape control characters in human-readable scan output to Escape control characters in human-readable scan output 2026-07-11 11:31:56 -04:00
Author
Owner

Independent review approval is recorded in Kanban task t_580db07a. This branch was rebased onto 436a592e7e without conflicts; signed head f97c87fe1e is tree-equivalent to a clean cherry-pick of approved head 347f1ce1fd. Required main protection currently reports 0 approvals; normal opener account clawlter has marked this PR ready for merge pending exact-head CI/Docs.

Independent review approval is recorded in Kanban task t_580db07a. This branch was rebased onto 436a592e7ee1a9421dfaf849423b1bfbd6942d36 without conflicts; signed head f97c87fe1e315ee07e00488f4a2fedfae8c6d178 is tree-equivalent to a clean cherry-pick of approved head 347f1ce1fd3ccfa8e3b08d9f37e58f9bd6dcdab3. Required main protection currently reports 0 approvals; normal opener account clawlter has marked this PR ready for merge pending exact-head CI/Docs.
clawlter force-pushed audit/escape-text-output from f97c87fe1e
All checks were successful
CI / Validate lint, typing, tests, docs, and build (pull_request) Successful in 2m49s
Docs site / Validate docs build (pull_request) Successful in 6m4s
to a114ad3bfa
All checks were successful
CI / Validate lint, typing, tests, docs, and build (pull_request) Successful in 3m1s
Docs site / Validate docs build (pull_request) Successful in 1m43s
CI / Validate lint, typing, tests, docs, and build (push) Successful in 6m41s
Docs deploy / Publish docs to mehalter.page (push) Successful in 1m44s
Docs site / Validate docs build (push) Successful in 1m43s
2026-07-11 12:13:14 -04:00
Compare
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
clawlter/policyglass!19
No description provided.