# Kiro CLI 2.x TUI (engine v2), permission prompt answered with "Yes, single permission" (Enter).
# Sources: two captures of one terminal: section a is the last 3000 of 7232 chars while the
# prompt was open, and section b (after it) is the full buffer after the turn.
# The two sections are separate captures, not one stream: a was taken while the prompt was open; b is the
# whole buffer after the turn, when Kiro had reprinted the transcript twice with plain \n and no 7501 report
# of any kind was left. No capture exists between the approve and the turn end.
# Encoding: \x1b = ESC, \x07 = BEL, \r = CR are written as text escapes; every real newline is one \n byte.
# Normalised (verdict-neutral): each line of the Kiro logo art is replaced by "[logo]" (line count kept);
# every ─ rule is 40 chars except the 28-char fragment where capture a starts; runs of 20+ spaces are one
# space. Every other byte is as captured.
# Section w (follow-up to #1418/#1426) is what follows section a once the prompt is approved and the turn is still
# running: a spinner row and the working footer, with no new OSC 7501 report, so the blocked report in a stays last.
# It is reconstructed from the screen text seen on a live worker after approval, not a raw byte capture.
@@ a
────────────────────────────\x1b[39m\x1b[0m\r\r
\x1b[2K\x1b[0m\x1b[38;2;95;135;215mdeveloper\x1b[39m \x1b[38;2;128;128;128m·\x1b[39m \x1b[39mauto\x1b[39m \x1b[38;2;128;128;128m·\x1b[39m \x1b[38;2;0;135;95m◔\x1b[39m \x1b[38;2;0;135;95m2%\x1b[39m \x1b[38;2;135;0;255m~/project\x1b[39m \x1b[38;2;128;128;128m·\x1b[39m \x1b[38;2;128;128;128m(\x1b[39m\x1b[39mmain\x1b[39m\x1b[38;2;128;128;128m)\x1b[39m\x1b[0m\r\r
\x1b[2K\x1b[0m\x1b[0m\r\r
\x1b[2K\x1b[0m\x1b[39m› \x1b[39m\x1b[7m\x1b[27m \x1b[7m\x1b[0m\x1b[38;2;98;98;98mKiro is working · 1s · Type to steer · Ctrl+S to queue\x1b[39m\x1b[0m\r\r
\x1b[2K\x1b[0m\x1b[0m\x1b[?2026l\x1b[1A\x1b[3G\x1b[?25h\x1b[3G\x1b[?25h\x1b[3G\x1b[?25h\x1b[3G\x1b[?25h\x1b[?2026h\x1b[2A\r\x1b[2K\x1b[0m\x1b[38;2;95;135;215mdeveloper\x1b[39m \x1b[38;2;128;128;128m·\x1b[39m \x1b[39mauto\x1b[39m \x1b[38;2;128;128;128m·\x1b[39m \x1b[38;2;0;135;95m◔\x1b[39m \x1b[38;2;0;135;95m3%\x1b[39m \x1b[38;2;135;0;255m~/project\x1b[39m \x1b[38;2;128;128;128m·\x1b[39m \x1b[38;2;128;128;128m(\x1b[39m\x1b[39mmain\x1b[39m\x1b[38;2;128;128;128m)\x1b[39m\x1b[0m\x1b[?2026l\x1b[2B\x1b[3G\x1b[?25h\x1b[3G\x1b[?25h\x1b[3G\x1b[?25h\x1b[3G\x1b[?25h\x1b[3G\x1b[?25h\x1b[?2026h\r\x1b[2K\x1b[0m\x1b[39m› \x1b[39m\x1b[7m\x1b[27m \x1b[7m\x1b[0m\x1b[38;2;98;98;98mKiro is working · 2s · Type to steer · Ctrl+S to queue\x1b[39m\x1b[0m\x1b[?2026l\x1b[3G\x1b[?25h\x1b[3G\x1b[?25h\x1b[3G\x1b[?25h\x1b[3G\x1b[?25h\x1b[?2026h\x1b[6A\r\x1b[2K\x1b[0m\x1b[38;2;26;26;26m•\x1b[39m \x1b[38;2;26;26;26mS\x1b[39m\x1b[38;2;26;26;26mh\x1b[39m\x1b[38;2;26;26;26me\x1b[39m\x1b[38;2;26;26;26ml\x1b[39m\x1b[38;2;26;26;26ml\x1b[39m\x1b[38;2;0;95;255m touch /tmp/trace-7501-1\x1b[39m\x1b[0m\x1b[?2026l\x1b[6B\x1b[3G\x1b[?25h\x1b]7501;state=blocked:kind=permission:app=kiro-cli\x07\x1b[?2026h\x1b[6A\r\x1b[2K\x1b[0m\x1b[38;2;128;128;128m↓\x1b[39m \x1b[mShell\x1b[0m\x1b[38;2;0;95;255m touch /tmp/trace-7501-1\x1b[39m\x1b[0m\r\r
\x1b[2K\x1b[0m\x1b[0m\r\r
\x1b[2K\x1b[0m\x1b[38;2;238;238;238m────────────────────────────────────────\x1b[39m\x1b[0m\r\r
\x1b[2K\x1b[0m\x1b[0m\r\r
\x1b[2K\r\r
\x1b[2K\r\r
\x1b[2K\r\r
\x1b[2K\x1b[4A\x1b[?2026l\x1b[?25l\x1b[?2026h\r\x1b[2K\x1b[0m \x1b[39mshell requires approval\x1b[39m\x1b[0m\r\r
\x1b[2K\x1b[0m \x1b[38;2;255;0;255m\x1b[1m❯\x1b[22m\x1b[39m \x1b[38;2;255;0;255m\x1b[1mYes, single permission             \x1b[22m\x1b[39m\x1b[0m\r\r
\x1b[2K\x1b[0m   \x1b[39mTrust, always allow in this session\x1b[39m\x1b[0m\r\r
\x1b[2K\x1b[0m   \x1b[39mNo (Tab to edit)                   \x1b[39m\x1b[0m\r\r
\x1b[2K\x1b[0m\x1b[38;2;238;238;238m────────────────────────────────────────\x1b[39m\x1b[0m\r\r
\x1b[2K\x1b[0m \x1b[39mesc\x1b[39m \x1b[38;2;128;128;128mto close\x1b[39m\x1b[38;2;128;128;128m · \x1b[39m\x1b[39m↑↓\x1b[39m \x1b[38;2;128;128;128mto navigate\x1b[39m\x1b[38;2;128;128;128m · \x1b[39m\x1b[39m↵\x1b[39m \x1b[38;2;128;128;128mto select\x1b[39m\x1b[38;2;128;128;128m · \x1b[39m\x1b[39mTab\x1b[39m \x1b[38;2;128;128;128mto edit\x1b[39m\x1b[0m\r\r
\x1b[2K\x1b[0m\x1b[0m\x1b[?2026l\x1b[5A\x1b[4G\x1b[?25h
@@ b

[logo]
[logo]
[logo]
[logo]
[logo]
[logo]
[logo]
[logo]
[logo]
[logo]

\x1b[38;2;238;238;238m────────────────────────────────────────
\x1b[39m\x1b[48;2;238;238;238m  Trace test. Run exactly this as a single shell call, nothing
  else: touch /tmp/trace-7501-1 . Then reply "done" (or "not run" if it was
  refused) and stop. Do not retry if refused.
\x1b[49m
\x1b[38;2;0;135;95m•\x1b[39m Shell\x1b[38;2;0;95;255m touch /tmp/trace-7501-1\x1b[39m

\x1b[38;2;95;135;215m•\x1b[39m done

\x1b[38;2;128;128;128m▸\x1b[39m \x1b[38;2;128;128;128mCredits: turn 0.16 • session 0.16 | Time: 13s\x1b[39m

\x1b[38;2;238;238;238m────────────────────────────────────────
\x1b[38;2;95;135;215mdeveloper\x1b[39m \x1b[38;2;128;128;128m·\x1b[39m auto \x1b[38;2;128;128;128m·\x1b[39m \x1b[38;2;0;135;95m◔\x1b[39m \x1b[38;2;0;135;95m3%\x1b[39m
\x1b[38;2;135;0;255m~/project\x1b[39m \x1b[38;2;128;128;128m·\x1b[39m \x1b[38;2;128;128;128m(\x1b[39mmain\x1b[38;2;128;128;128m)\x1b[39m

›  \x1b[38;2;98;98;98mask a question or describe a task ↵\x1b[39m

[logo]
[logo]
[logo]
[logo]
[logo]
[logo]
[logo]
[logo]
[logo]
[logo]

\x1b[38;2;238;238;238m────────────────────────────────────────
\x1b[39m\x1b[48;2;238;238;238m  Trace test. Run exactly this as a single shell call, nothing
  else: touch /tmp/trace-7501-1 . Then reply "done" (or "not run" if it was
  refused) and stop. Do not retry if refused.
\x1b[49m
\x1b[38;2;0;135;95m•\x1b[39m Shell\x1b[38;2;0;95;255m touch /tmp/trace-7501-1\x1b[39m

\x1b[38;2;95;135;215m•\x1b[39m done

\x1b[38;2;128;128;128m▸\x1b[39m \x1b[38;2;128;128;128mCredits: turn 0.16 • session 0.16 | Time: 13s\x1b[39m

\x1b[38;2;238;238;238m────────────────────────────────────────
\x1b[38;2;95;135;215mdeveloper\x1b[39m \x1b[38;2;128;128;128m·\x1b[39m auto \x1b[38;2;128;128;128m·\x1b[39m \x1b[38;2;0;135;95m◔\x1b[39m \x1b[38;2;0;135;95m3%\x1b[39m
\x1b[38;2;135;0;255m~/project\x1b[39m \x1b[38;2;128;128;128m·\x1b[39m \x1b[38;2;128;128;128m(\x1b[39mmain\x1b[38;2;128;128;128m)\x1b[39m

›  \x1b[38;2;98;98;98mask a question or describe a task ↵\x1b[39m
@@ w
\x1b[2K\x1b[5A\r\x1b[2K\x1b[0m\x1b[38;2;128;128;128m⠋\x1b[39m Thinking... \x1b[38;2;128;128;128m(esc to cancel)\x1b[39m\x1b[0m\r\r
\x1b[2K\x1b[0m\x1b[39m› \x1b[39m\x1b[7m\x1b[27m \x1b[7m\x1b[0m\x1b[38;2;98;98;98mKiro is working · 2m 24s · Type to steer\x1b[39m\x1b[0m\r\r
