Paste this prompt
Work only inside this practice folder. Read observations.txt without changing it: a fictional beginner's notes after her first ten minutes in Ghostty. Do not use the network, install anything, or write files outside this folder, including /tmp, settings in the home folder, browser profiles and screenshots. Do not read outside this folder except for the installed built-in theme palette files under /Applications/Ghostty.app/Contents/Resources/ghostty/themes, solely to inspect candidate palettes against Ghostty's installed defaults. Do not launch a browser or take screenshots; a separate human checks the HTML layout after recording. Do not create backup, temporary or other extra files, even inside the practice folder. You may execute the installed Ghostty program to read defaults and action documentation, list built-in theme names and keyboard shortcuts, and validate the file you write. Never create or modify a theme. On a Mac it is /Applications/Ghostty.app/Contents/MacOS/ghostty; on Linux find it with command -v ghostty. If you cannot find it, say validation was not done and do not report success. Do not use em dashes or en dashes.
Treat Ghostty's defaults as the starting guess that suits most people. For each note, decide one of three things: the default already does what she wants (write nothing, and tell her the keystroke or behavior), her notes give evidence the default fails her (write the smallest setting that fixes it), or there is no evidence either way (keep the default).
Write only these files: config.ghostty, decisions.md, questions.md, check.py, setup.html.
1. config.ghostty: only the settings her evidence supports, one per line, each with a plain-text comment line above it quoting the words from her notes it rests on. Do not put HTML tags in this file or require them in its checker. Put source attribution in decisions.md and the HTML page. Use only themes Ghostty lists as built in (marked resources in ghostty +list-themes), never user themes.
Describe a light theme only as a response to reported morning glare, not a guarantee that every terminal color is legible. Inspect each proposed change's whole effect, not just its intended benefit. If a configuration form requires another value that her notes did not request, explicitly separate that forced choice from her evidence, inspect its actual palette against the installed default, and explain the tradeoff in decisions.md and the theme card. Calculate foreground and ANSI color contrast on the actual backgrounds with the sRGB relative-luminance formula using Python standard library code; give reproducible source colors, measurements and provenance, not guessed readability. Do not quietly trade away readable program colors for an unrelated appearance change: choose an inspected built-in alternative when a candidate's text colors regress, and tell her to test actual colored output under each appearance before keeping it. Do not call any palette identical to the default unless every entry matches. Keep the settings file as small as the evidence and necessary dependencies permit; do not label an unrequested side effect as evidence-backed. In the installed Ghostty CLI, +validate-config checks syntax and resolves the LIGHT half of a light/dark pair, using its default conditional state; it does not follow the desktop appearance and does not validate the dark half. Verify every selected name separately against +list-themes resource entries and attribute that check to check.py, not validation. Neither name checking nor validation proves color legibility.
2. decisions.md: one entry per note: what she wants, Ghostty's default and the command you ran to read it, the evidence for a change or none, and your decision. A quote's presence alone cannot establish that a value follows from it; say what inference or test supports each change.
3. questions.md: list the questions you could ask her next. For each, say which lines of config.ghostty each possible answer would change, and how likely that answer is given her notes, quoting the note that tells you. Ask only the one with the biggest expected change: an answer that is likely and changes a line beats one that is unlikely and changes many. Say what you will write for each answer.
4. check.py, Python 3 standard library only, written independently of how you made the other files: it checks that every setting in config.ghostty has a comment quoting words that really appear in her notes (including answers.txt when present), and verifies selected built-in theme names against +list-themes resource entries, not against +validate-config alone. It checks that each claim in decisions.md that something is already a default matches what Ghostty itself reports, and runs Ghostty's +validate-config --config-file=config.ghostty, printing the command with its exit status. Independently compare the full copyable configuration block in setup.html with the complete config.ghostty, including comments, not only the separate setting cards. Check every displayed config key and value, with its cited note and decision, and that its printed validation status agrees with the command you ran. A quote match is not proof that the note supports the chosen setting or value: say so plainly in the guide, leaving that semantic check to the reader. It exits nonzero if any check fails or Ghostty is missing. python3 check.py --self-test mutates in-memory copies separately: invent a note quotation, change a displayed setting card value, and change a value only in the full copy block; show each is rejected without changing files. Describe the first mutation as an invented quote, not as proof the checker detects semantically unsupported settings.
5. setup.html: one self-contained page a first-time terminal user can follow in 20 minutes: get Ghostty from ghostty.org (a person does this in a browser, not you), open it and type pwd, what each line of config.ghostty does and the note behind it, the defaults she does not need to change and how to use them, and how to put the lines in place. Label paths and shortcuts as macOS instructions; Linux readers should consult ghostty +list-keybinds --default on their own machine. On a Mac, Command and comma asks Ghostty to open the settings file in the default OS editor; if no editor is configured, it can fail with the error visible only in logs. Consult the installed +list-actions --docs entry for open_config and cite https://ghostty.org/docs/config/keybind/reference#open_config, not an old editor discussion. Give a fallback: open the documented ~/Library/Application Support/com.mitchellh.ghostty/config.ghostty in a chosen text editor, creating the folder and file if needed; if an XDG Ghostty config exists, the macOS file loads after it and wins on conflicting settings. Check the same macOS folder for an older file named config, which loads after config.ghostty: edit that file instead or remove its conflicting lines so it cannot override the new settings. Link https://ghostty.org/docs/config#file-location. Back up any existing configuration, replace existing matching keys rather than duplicating them, save, then press Command, Shift, and comma to reload; explain how to undo by deleting a line. Explain that close-warning behavior distinguishes a prompt from running work through shell integration; link https://ghostty.org/docs/features/shell-integration and https://ghostty.org/docs/config/reference#confirm-close-surface. Automatic integration supports bash, elvish, fish, nushell and zsh, but the macOS bundled bash needs manual integration. Mention confirm-close-surface = always as an optional choice for readers without integration or who want confirmation every time, not as a setting supported by Maya's notes. Quote the real validation command and exit status. Explain the CLI's light-half-only theme resolution, independent of desktop appearance, and attribute every built-in resource-name check to check.py; neither check proves that the quote gives a good reason for the setting. Show a compact, source-linked note to default to decision map, with each original note and the matching config line or built-in shortcut in ordinary HTML. A labeled note selector should show the exact observation and its decision in a visible evidence panel; with JavaScript off, the full note ledger and the config stay visible. Do not present undecided questions as settings she already chose. Design it like an approachable annotated field guide rather than a settings dashboard. Put all styles, scripts and data inline; no external assets, scripts, or network calls. Make it readable by keyboard and touch, with focus and reduced-motion support. At 390 pixels wide nothing scrolls sideways or splits a word; write responsive CSS without running a browser here, and tell the reader that layout was not browser-tested inside this recording. In reader prose, anything inside quotation marks or a blockquote must be copied exactly from the files; put its file name in a <cite> after it. Configuration comments remain plain text, not HTML. Write summaries as plain sentences, never as quotations.
At 360, 375, and 390 pixels and across tablet widths through 1300, no element may extend past the screen, including the macOS config path and the full Ghostty validation command; never create an inner horizontal scroller. Break long paths and commands at natural separators such as slashes, dots, and spaces with <wbr> inside <code> where needed, preserving copyable text. Never break a word or an amount mid-word. A human will test these widths after recording; do not launch a browser.
Explain the installed Ghostty font-size reload caveat from https://ghostty.org/docs/config/reference#font-size in setup.html: if the reader has manually used Command and plus in an existing terminal, reloading a changed font-size setting will not change that terminal's size. After reloading, press Command and 0 to reset to the configured size or open a new terminal, then test there. Show the official link; do not claim the old manually adjusted terminal changes immediately.
Check the syntax of every inline script using an available JavaScript runtime without creating files or opening a browser. Repeat this check after any edit to setup.html. A syntax check is not a browser interaction test: the separate human must still select every note and confirm the panel changes to the matching observation and decision.
Run python3 check.py and python3 check.py --self-test, and report each command and its exit status in your final reply. Never claim Ghostty validation succeeded unless you actually ran it.
The prompt asks the agent to stay in this folder; it cannot enforce that. Read each file change and command before you approve it.
Check it yourself
Open cli-practice/setup.html in your web browser (double-click it), then:
Human check: Check config.ghostty line by line for actual support; separate required but unrequested side effects from evidence. Inspect selected theme palettes and reproduce the contrast calculations against installed defaults. Run check.py and --self-test; independently tamper only the full HTML copy block and confirm rejection. In scratch fixtures, exercise a misspelled dark theme against +validate-config and separately against the checker; the guide must describe the CLI light-half behavior, not current desktop appearance. Check current defaults, built-in resources, editor fallback and legacy-file precedence, reload caveat and shell integration. Select every note and inspect its exact observation and decision. Check all required widths and the full config and ledger with JavaScript off. The first question should concern the untested laptop size.
When we checked the recording above: Scratch check.py and --self-test exit zero. Both real Ghostty validation commands exit zero. A dark-theme-name typo still exits zero from Ghostty but the checker rejects its missing resource name; a light-name typo exits nonzero. The guide now describes light-half CLI resolution independently of desktop appearance. Independently changing only the full copy block is rejected. Recomputed every palette table color and rounded ratio from installed defaults and selected resources with no mismatch. The dark choice is explicitly a forced side effect, not a user preference; low-contrast candidates are rejected and remaining palette tradeoffs and actual-output tests are disclosed. Browser exercised every note at 360, 375, 390 pixels and 400 through 1300 in four-pixel steps: exact observation and decision updates, no errors, overflow or inner scrollers. JavaScript-off ledger and full config remain visible; mobile and desktop cards and copy block inspected visually. Existing editor, load-order, reload and shell-integration caveats remain. The untested laptop size is the first question. changed_inputs is empty.