A review of the shown files and the diff card: the sheet opens the gate, the diff is bounded first
CI / check (push) Canceled after 0s

The assistant's sheet is a session's window and no activity, so the gate a
reply's picture now waits at never opened for it: the session says when it
shows and hides, and the lock still keeps the gate shut.

An edit's diff is worked out off the main thread, one file after another,
and each text is cut to 2000 lines and 200000 characters before anything is
split or compared; a change that was cut says so. Lines are compared
without the carriage return before their newline, and a change of line
endings is said once. Invisible, direction-changing and line-breaking
characters in a line or a path are written as their code point. The call's
arguments stay on the card when the diffs say nothing.

"Open with" takes the type from the copy's first bytes, else from its
name's extension, and no longer from the instance's word.

Tests: the too-long case now shares lines out of order and can fail; the
device file fixtures are checked by field; the gate with the session; the
bounds, the line endings, the escaping, the arguments and the type.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
HomerandClaude Fable 5.2 committed 2026-11-24 13:52:03 +00:00
1 parent 5e5e63353a
commit bac89b5e68
25 files changed
+554 -87

No files matched your search

+2
View File
@@ -459,6 +459,8 @@ STRINGS: dict[str, str] = {
"diff_show_all": "Show all %1$s lines",
"diff_show_less": "Show less",
"diff_more": "%1$s more lines are not shown here.",
"diff_endings": "The line endings change from %1$s to %2$s.",
"diff_cut": "This change is too long to compare here. Only its beginning is shown.",
"media_gone": "That file no longer exists.",
"job_queued": "Queued",
"job_running": "Running",