Skip to main content

Research — DropTerm's decision records

Every non-trivial DropTerm feature started as a research record in this directory: a peer survey with the evidence, a recommendation graded by precedent, and the alternatives that were rejected and why. The records are the project's ADRs — this index is their map.

The rules​

  • Records are immutable. A record captures what was known and decided on its date; it is never edited to match later reality. When a decision is reversed, a new record supersedes the old one and both stay.
  • A plan record is the maintained exception. A record that consolidates decisions and carries their execution roadmap is updated in place while its phases run (checklists tick, status lines move, results append, gates record verdicts), with its evidence sections as fixed as any record's. The records it consolidates stay in place as superseded, untouched. Its header says so; portability-plan is the current example.
  • Status lives here, not in the records. The table below is the only place that tracks whether a verdict shipped, stalled, or was overtaken — the records' "What DropTerm has today" sections are period snapshots and are allowed to go stale.
  • A row is a map entry, not a history. One-sentence verdict, current status, where it shipped. The record carries the evidence, the rejected alternatives, and the stage-by-stage narrative; this file's git history carries whatever a row used to say.
  • Retired records stay in place. When nothing in a record remains pending, nothing moves: the record keeps its file untouched and its row in the table below, marked retired.
  • A new record follows the house format: a question for a title, a date, a TL;DR with the verdict in the first sentence, numbered findings with line-level citations into the surveyed sources, a "what DropTerm has today" grounding section, a recommendation with rejected alternatives spelled out, and sources pinned by repo, commit, and fetch date. Add its row here when the verdict lands.

Decision log​

Ordered by record date. "Shipped as" names the code or doc that carries the verdict today.

RecordDateVerdictStatusShipped as
rust-file-size-guidance2026-12-06No official Rust source caps .rs file size; the only mechanical size rule is clippy::too_many_lines (100 code lines per function, pedantic, allow-by-default, and unused by tokio, rust-analyzer, bevy, ripgrep, serde, clap, or clippy itself), and the only upstream file-level cap is rustc's own tidy gate at 3,000 lines. Adopted: the 3,000-line cap as a pinned ratchet plus Microsoft's M-BALANCED-MODULES guidance; the clippy function lint and the layout/test lints declinedBuilt 2026-12-06 — just size-check rides just check, with the 14 files over the cap pinned at their then-current lengthsscripts/check_file_size.py and scripts/file-size-allowlist.txt, the size-check recipe, the AGENTS.md Rust notes
clickable-terminal-text2026-12-05Copy WezTerm's model with Zed as the GPUI worked example: the carried stack already parses OSC 8 into cells and the engine already underlines an active_hyperlink_id nothing ever sets, so clickable text is a completion (hover producer in on_motion, a selection-first click router opening through the vendored open crate, regex fallback over the already-computed matches, config keys), not a port; the installed VTE 0.76.0 binary decodes to the same architecture (REA cross-check)Researched 2026-12-05, not builtthe record
package-manager-distribution2026-12-03Every surveyed peer ships plain release artifacts and holds only community-run package-manager channels — no own Homebrew tap, no vendor Chocolatey package — except two vendor-automated winget packages (Windows Terminal, Warp), so the realistic first channel is a self-submitted winget manifest for the unsigned per-user Inno exe (the wez.wezterm manifest is the exact accepted shape, InstallerType: inno, GitHub-release URL), an own l1br3-io/homebrew-tap as macOS staging until W4's .app ruling and Homebrew's notability bar (30 forks/watchers/75 stars, 90/90/225 for self-submission) are met, Chocolatey deferred (human moderation on every version, all terminal packages volunteer-run), and Scoop Extras whenever a volunteer writes the one JSON — P75 stands for the first Windows releaseSpecified 2026-12-03, not built — two modules carry the verdict, winget-package and homebrew-tap; the specifications correct the record on one point: the macOS artifact is ruled on the Mac branch (a bare usr/bin/dropterm in the release tarball, no .app), so the tap's entry is a formula and the macOS channel no longer waits on an .app rulingthe record
profile-scoped-plugins2026-12-02A profile can carry its own plugin setup as audience scoping — a plugins: Option<Vec<String>> field with the per-tab gates living in the Lua host (emits, command runs, and the title and chips asks honor a per-tab scope through the host's existing Audience::Plugins path, and the command sync reports each command's owning plugin) and the shell keeping the palette and menu filters; the one-per-process interpreter and the app-global surfaces (panels, bands, styles, dialogs, state) structurally cannot follow a profile, and there is no enablement switch anywhere to override todaySpecified 2026-12-03, not built — the specification corrects the record on two points: the gates need a host-side change, because the shell cannot attribute an event, a script command, or a title/chips seat to its plugin from what the host reports today; and the audit's command-finish notification keys have no runtime consumer, so they stay out of the per-profile behavior workthe record
documentation-improvement2026-10-23The docs match the gold standards on reference depth; the five gaps that matter are zero screenshots/demos, a packaging section, an unreachable Pages site, no how-to layer, and no FAQ/changelog/sample configIn progress — the how-to/FAQ layer, the releases page, and the generated sample config are the first three to buildthe docs additions it seeds (each page carries its own row as it ships)
terminal-images2026-11-05iTerm2 OSC 1337 first through the existing OSC fork arm, images stored as cells in the scrollback grid; then the kitty graphics subset through the fork's APC parser; Sixel deferred, overlay placements and file/shm reads rejectedShipped — detection is the last modulethe record
bare-word-path-completion2026-11-06Bare argument words complete as paths as a fallback (every surveyed peer ships one), directories-only for cd/pushd; menu-only rows, a path-command allowlist, and unconditioned fish-parity ghosting rejectedProposedthe record; the carve would land in src/terminal/suggest.rs + src/core/terminal/engine.rs
paste-image-ux2026-11-08The pasted path stays the grid's only trace; a per-tab images panel carries the five actions; a conditional band chip opens it; the full-size auto-render leaves the paste handler; placeholder-only rejectedShipped — the config gate and retention (PI-3/PI-4) remain; the band chip that opened the panel retired 2026-11-29, and the band menu's row and the palette row open itsrc/core/tabs.rs, src/core/paste_cache.rs, src/terminal/input.rs, src/images_panel.rs; the band menu's row in src/band.rs
portability-plan2026-11-10Supersedes the 2026-11-09 GPUI analysis and carries the never-committed gpui-kit survey: GPUI can replace libcosmic as a full UI-layer rewrite gated on a hardware spike, whose crux is shaping the surface at creation on every show plus the mid-slide keyboard re-grab; platforms tiered (layer-shell Wayland per-release primary, X11/GNOME/macOS milestone, Windows builds-only) over six compile-time seams, runtime plugins rejected; the chrome adopts gpui-kit only with its gpui-pre snapshot as the sole GPUI sourcePlan, reviewed 2026-11-10: the Phase 0 reality check, the base spike, the identity flag day, and the config-store move open first; the Kit ruling and its timing are openthe record (its capability map, work packages, Phase 0 checklist, and spike table)
gpui-spike2026-11-13The Phase 2 spike says GO: GPUI carries the lifecycle on COSMIC and sway — release show 34 ms against the 130 ms slide, heights honored, the recreate path re-grabs the keyboard at ~one extra show (ruling 3's numbers), the keyboard-less hide's recreate surface in that class for the whole slide and every show's head frames pre-focus-grab — plus a latent animation-element staleness (the constant "slide" id; masked today only by the re-target recreates, live once they go); fixes app-level and ranked: set inactive_frame_interval on the layer windows, key the element per slide epoch, then drop the hide's Hold{Released} recreate (the 138–146 ms gap) behind an owner-ruled focus trade; the "1 ms slide tick" in the design docs is stale — no code spawns it, frames already ride wl_surface.frame callbacksIn progress — the record's three fixes landed, then the bounce walk surfaced a fourth root cause the record missed: the draw-site top signs were crossed, so each drawer rose in and sank out through its free edge (bouncing on the mid-screen line) — swapped into the pinned slide_top_offset helper (70c9603); then the canvas walk surfaced a fifth: the Kit's window root painted the theme background as a full-window opaque backdrop behind the band (plus its static 1 px window_border frame), so the slide read as content moving inside a static rectangle — the root and the frame token now transparent, the drawer carrying its own frame overlay over the transparent surface, and the transition proper-cubic at 150 msdropterm/src/executor.rs, dropterm/src/app_shell.rs, dropterm/src/core/slide.rs, dropterm/src/core/surface_lifecycle.rs
kit-root-border2026-11-13gpui-component 0.9.1 hard-codes a 20 px Root window border with no public opt-out and Wayland forces Client decoration on every surface, so each layer surface inflates 2×20 px (a 1280×320 drawer negotiates 1320×360) and edge-to-edge is inexpressible — the owner ruling carries a private one-const copy of the Kit under the root [patch.crates-io] with the Linux SHADOW_SIZE zeroed, retiring the day upstream ships a per-window opt-out, a check this record renews on every Kit bumpCarried — the patched copy is live in every build and the upstream opt-out remains the standing retirement triggerthe carried copy carried/gpui-component/, the root [patch.crates-io] in dropterm/Cargo.toml, the dependency table's Kit row
memory-tracking-tooling2026-11-17heaptrack on the capped headless repro is the primary external instrument, dhat's testing-mode HeapStats the OOM-proof in-binary fallback, bytehound server-streaming reserved for fragmentation questions, and the always-on sampler needs no new dependency — /proc/self/status (VmRSS/RssAnon/RssFile/VmSwap) at 1 Hz plus smaps_rollup every 30th tick into a two-file bounded rotation under XDG_STATE_HOME, with memory-stats rejected by its own docs (it reads the expensive full smaps) and sysinfo built for whole-system refreshes; the peer survey pins the incident mechanism class as reflow/reflow-adjacent (alacritty #5438, wez #1342, Claude Code #39022's 21 GB in ~6 s)Shipped 2026-11-18 — the sampler landed as ram-telemetry and its daily curve is what decides the known-issues growth rowthe sampler in dropterm/src/app_shell.rs + dropterm/src/core/terminal/engine.rs, memory diagnostics
ram-leak2026-11-17the 47.1 GB OOM of 2026-11-17 20:54 was an immortal row in the pinned alacritty fork's shrink_columns reflow — at one column a row led by a wide (East-Asian) glyph rebuilds at its own length every iteration, and the toggle churn's 1-col ↔ full-width swing supplies the wide cells every real run drives — fixed by two one-column guards carried at the fork pin (the kit-root-border shape, owner ruling) plus one dropterm-side victim fix; the capped repro that climbed 49 MB → the cap inside one resize now runs flat at +1.1 MiB over 22 cyclesFixed and pinned — whether a second, slower daily-growth vector remains is what the always-on sampler's curve decides, the open known issues rowthe guards in carried/alacritty-terminal/ at the [patch.crates-io] pin, the headless pin a_one_col_churn_over_wide_glyphs_stays_bounded inside just check, just mem-churn's capped repro
resource-audit2026-11-17the sweep walked every resource vector across the one GPUI binary — eight bounds landed (two by owner ruling: the 256 MiB oldest-evicted paste cache, the 32 MiB paste-read refuse-over), ten vectors verified bounded with code citations, three filed as P2 with their evidence in the record, and no P1 open; every stated bound is a number pinned by a test or stated in a docs rowComplete — the three P2s stay filed, the per-tab 320 MiB decoded-image cap the one with a standing ask-first note (known issues)the bounds as landed (each fix its own commit with a headless pin), known issues' P2 rows
images-panel-open-closes2026-11-20Supersedes the 2026-11-19 stay-open ruling: the owner ruled the close — Open and Open folder hand the path to the system and the drawer closes behind a landed launch, the launched window as the feedback; a refused launch keeps the panel standing; the toolkit-genus evidence stands unrefuted, the product call overrides it, and the armed-pair cost is accepted. Second leg (same day, after the live walk): the stay-open surface follows the launch out — with hide_on_focus_loss off the launch hands its own Hide through the pane-signal funnel, since nothing else walks the viewer out from behind the still-mapped drop-downShippeddropterm/src/app_shell.rs (system_open_landed :3776, the Open arm :3834, OpenCache :3928), the pin tests :6110 and :6307, the verb docs in dropterm/src/images_panel.rs
key-delivery2026-11-21Bare Tab dies upstream of all DropTerm key logic on the dev surface; A1's owner-run wire capture proved delivery (ten Tab pairs on the focused surface, the on_key trace silent for every one) and Task 3's read-plus-probes named the eater: the Kit Root's global-path tab-traversal binding (gpui-base root.rs:44/:222/:255), swallowed at gpui-pre window.rs:6438-6451 — gpui-pre itself clean, so the branch flipped to B3 (in-repo Terminal-context Tab claim, no carry), owner-confirmed at the re-convened Checkpoint 1Complete — owner acceptance directive 2026-11-21 closed Task 12 and the module (the record's closure section carries the five-clause audit); the pty-test-gate class stays parked for its own /specthe record; the claim in dropterm/src/terminal/view.rs (bind_pane_keys, the "Terminal" context), the boot registration in dropterm/src/app_shell.rs, the pin a_dispatched_tab_reaches_the_pane_under_the_kit_root
pty-test-gate2026-11-21Pane-booting gpui tests trip the test scheduler's thread-affinity gate because the pane pump's tokio waker sits on the foreground executor while its senders live on foreign threads (the PTY reader, unnamed generator waiters) — any send or drop landing inside a poll window aborts the test as nondeterministic; two tests are already #[ignore]d over it and per-test defusal measurably just moves the flakeClosed by the harness, 2026-12-06 — the record's first candidate shape, landed: a cfg(test) pump hand-off in dropterm/src/terminal/view.rs (PanePumpHandoff arms a thread-local switch, armed boots skip the pump task and tray the event receiver, drain_deferred_events applies them on the test thread), so no waker sits on the test executor and the foreign wakes are inert; all 16 pane-booting tests un-ignored (the two 2026-11-21 losses among them); owner acceptance runs pendingthe record; the hand-off in dropterm/src/terminal/view.rs, the drained waits in dropterm/src/terminal/view/tests.rs, the armed pins in dropterm/src/app_shell.rs
completion-dir-file-order2026-11-21The surveyed convention is no dir-vs-file grouping: one interleaved name/score-ordered list with /-suffixed directories (readline, zsh, fish, Warp, Q, Nushell, tsserver, cmp-path, fzf, telescope); explicit dirs-first is a minority default — blink.cmp's path source (unconditional sortText tier), Gemini's pattern-filter path, and opt-in zsh styles — while files-first has zero precedent across all fifteen surveyed tools, and DropTerm's order at HEAD 124a113b already matches the conventionClosed 2026-11-21 — no code change: the "files on top" premise matches no code at HEAD or any prior commit (git-history sweep, all five menu tiers and the pane ride the interleaved listing), and the convention is now pinned at the menu level against any future files-first or dirs-first regroupingthe record; the interleaved order stands in read_sorted_entries + path_candidates, pinned by the_menu_keeps_the_listing_interleaved_never_regrouped_by_type
terminal-plugin-systems2026-11-21The ten-terminal plugin/extension survey: three UI-contribution models (an embedded interpreter computes text the host renders — WezTerm Lua, iTerm2 Python, tmux formats; the plugin draws freely in host-granted space — kitty kittens, Hyper's React HOCs; the plugin emits structured components the host interprets — Zellij's DCS vocabulary, Warp's workflow schema), sandboxing only where the boundary crosses a process or capability edge (Zellij's 17-capability manifest, kitty's scoped socket passwords; in-process interpreters have none), distribution following the runtime (git/npm/WASM-URL/config dirs), and no peer ships a third-party completion API — Warp's is "in progress" since 2024; REA on the 0.2026.11.18 binary confirms Warp ships no in-process plugin system, extending through files and protocols only. Verdict (owner, same day): tiered Lua-first — the WezTerm blueprint (mlua vendored Lua 5.4, event bus, compute-strings-host-renders, dedicated host thread) for status segments, tab titles, script commands, and hooks; themes-from-disk first; WASM deferred; native dylibs never; completions stay builtinComplete 2026-11-23 — the plugins initiative's six modules all built, walked, and closed on the owner's verdicts: theme-files done 2026-11-22 (F1–F4: the loader/merge, the shell registry + themes watch, the merged pickers, docs — the four F-walks closed on "the themes work perfectly"); lua-host done 2026-11-23 (L1–L5: the dedicated host thread + std-mpsc bridge + dropterm.on/emit port, the soft/hard timeout machine, the watcher feed, the shell drain — the three L-walks closed on the owner's directive "mark them as done as well", L-C's seven-clause audit in the chunk); status-segments done 2026-11-22 (SG1–SG4 + the boot-query fix: the registry/query round-trip, the band merge, the trigger state machine, the ordered-id key, docs — the three SG-walks closed on "worked well"; the registry-sync out-arm shape the later modules inherit; retired 2026-11-29 into chips at the panel-bands build: dropterm.status_segment is gone, and a status chip is a panel view in the chips band); event-hooks done 2026-11-22 (EH1–EH3: the seven-name vocabulary live — five engine arms change-gated + the focus pair off the activation transition, LuaHostHandle dir-gated at pane boot, the plugins.md event table; the three EH-walks closed on "looks like focus works" / "all works"); tab-titles done 2026-11-22 (TT1–TT3: the TabTitleMode::Script arm with rename-wins precedence, the change-gated ask/drain round-trip and the stale ladder, docs — the three TT-walks closed on "the module tab-titles works"); script-commands done 2026-11-23 (SC1–SC4: the dropterm.command port with runtime keybind rows beside the built-ins, the script/<name> dispatch namespace with fire-and-forget RunCommand, send_text as v1's one bus-global verb — the three SC-walks closed on "really works well"); OSC-777 agent assist tracked for its own recordthe record; the SPEC set; dropterm/src/core/plugins/ as it lands
global-toggle-hotkeys2026-11-22Every surveyed peer grabs the hotkey in-process where the OS allows (X11 XGrabKey, Windows RegisterHotKey, iTerm2 Carbon+CGEventTap, Electron globalShortcut) and falls back to a user-created DE/compositor shortcut running the app's toggle verb on restricted Wayland (Tilix ships it as the only path; Guake, Warp and Tabby users improvise it); the XDG GlobalShortcuts portal is the only sanctioned in-process Wayland path — live on Plasma, GNOME 48+ and Hyprland (Electron and CopyQ adopted it), absent on COSMIC (issue #4 open since 2023-05) and wlroots portals — so DropTerm keeps the external-shortcut baseline (dropterm toggle over the existing seam), adds a gated portal client as the in-process upgrade, and rejects writing cosmic-comp's config (zero peer precedent, transitional format)Proposedthe record; the portal client would land beside dropterm/src/core/dbus_state.rs, the per-DE bind rows already in the portability plan
cosmic-shortcut-store-writes2026-11-22The write-seam facts the writer module was blocked on, pinned first-hand: cosmic-config writes entries with ron::to_string_pretty under RON's default PrettyConfig and replaces files through atomicwrites' temp+rename with no explicit mode; the keyboard page confirms the wipe hazard (any read error but not-found proceeds with an empty map) and pins the verdict rules (is_set, is_super = bare logo, the forbidden unmodified keysyms, conflicts = effective-map hit with a non-Disable action, replace-not-refuse); /bin/sh -c executes Spawn commands; the real cosmic-settings-config would drag floating unpinned git deps (libcosmic cosmic-config, a personal-fork atomicwrites) plus notify/dirs/xdg; epoch-1.11.0 carries the same behavior — and the hotkeys record's "transitional format" ground is superseded for the Shortcuts/v1 store while the zero-peer-precedent ground stands. Recommendation: hand-rolled shapes (the discipline closes the wipe hazard; the crate's cost is unpinned git deps against a cheap-to-delete module), spawn string = the absolute binary path + toggleProposed — the writer's Open Questions 1 and 3 consume itthe record; the writer in dropterm/src/core/global_shortcut.rs
ai-completion-providers2026-11-23No surveyed peer keeps an LLM on the ghost-text keystroke path — Warp's own docs describe autosuggestions as "shell history and possible completions", Amazon Q/Kiro shipped AI ghost text and removed it entirely in Kiro CLI 3.0.0, Wave and gh copilot ship none — so the Ai source joins the seam additively reading only engine-cached candidates behind an engine-side AI provider trait (the generators runner's spawn/deadline/stale-while-revalidate pattern, already in engine.rs), with model choice as one Zed-shaped {provider, model} settings pair over a v1 single OpenAI-compatible custom provider (the URL-swap shape all four extensible peers converged on), keys kept out of the config file (keychain/env per Zed, Wave, Warp; Copilot CLI's plaintext as the cautionary counter-example), the source defaulted off as its own consent gate, and ranked last so AI never outranks local truth; ACP rejected (a chat/session protocol with no completion surface), named per-vendor adapters at v1 rejected, inline streaming LLM ghost text rejectedProposedthe record; the Ai arm would land in dropterm/src/core/terminal/suggest.rs, the provider trait + cache beside the generators runner in dropterm/src/core/terminal/engine.rs
warp-completion-behavior2026-11-23Warp's client is open source (AGPL; behavior-only copying), and its menu mechanics are now pinned line-cited from f8223ce: as-you-type recompute per edit behind setting + single-cursor-at-end + ≥2-chars + live-prompt gates with snapshot discard and a 750 ms staleness close (async-only machinery), first row preselected, path fallback manual-only; wrap navigation + Shift+Tab, Tab fills the LCP of filtered case-sensitive prefix rows (closing the last) else cycles, Enter accepts-and-closes with the equal line executing, Escape untouched, printables recompute; the corpus is MIT in its own 498-spec repo — verdict: adopt the observable behavior as suggest-parity minus the 750 ms timer (our sync under-lock collection cannot be stale), keep history rows and Ctrl+Space, condition Tab-while-closed on qualifying rows; unconditional Tab bind, exact-Warp row drop, async rewrite, and code copying rejectedShipped 2026-11-24 — suggest-parity (SP1–SP5) built and closed; the verdict's Tab-while-closed clause was reversed after closure by owner ruling 2026-11-24 (SP-D10, "Tab is the shell's key": bare Tab and Shift+Tab forward to the shell verbatim in every state, menu open or closed); corpus growth stands as an OQ follow-up, SkimMatcherV2 consumed by suggest-depththe record; the module in dropterm/src/core/terminal/suggest.rs, dropterm/src/terminal/suggest.rs, dropterm/src/core/terminal/engine.rs, dropterm/src/terminal/view.rs
warp-completion-depth2026-11-24Supplements the shipped behavior record with everything it stopped short of, four read-only sweeps over the same pinned f8223ce checkout: the engine pipeline in depth (parse → locate → expand-aliases-after-parse → dispatch → coalesce → filter-at-query, replacement span = last location, coalesce's type-grouped default buckets and display-dedup, filter's exact-cs → exact-ci → prefix → fuzzy-by-score ladder); the default match strategy is fuzzy (SkimMatcherV2 upstream defaults pinned, punctuation-only queries refused) with the Tab fill deliberately case-sensitive; the ghost's content is a three-tier chain over a fully open sqlite store — similar-context next-command counting (same command + equal pwd/exit_code/shell, top-5 most common, 25 contexts, skip-LLM thresholds 0.1/0.25) → recency with pwd preference → the completer as case-sensitive fallback; settings defaults verified (completions_open_while_typing = false, settling the shipped record's Unverified flag); the corpus format's parsed-but-dropped fields (exclusiveOn, dependsOn, history/help templates) an adapter may keep; the remaining surface (per-shell command scanning once per session, $VAR completion, ./.. always chained, trailing-space insert rule, OSC 9280 native shell completions, pinned-rev freshness) with the DropTerm verdict per capabilityShipped 2026-11-24 — suggest-depth (SP-D1–SP-D10) built and closed, fuzzy-matcher 0.3.7's SkimMatcherV2 in the fourth rung; SP-D10 carries the owner's post-closure Tab ruling (Tab and Shift+Tab forward to the shell verbatim in every state) reversing the behavior record's Tab-while-closed clausethe record; the module beside dropterm/src/core/terminal/suggest.rs, dropterm/src/core/terminal/engine.rs, dropterm/src/core/config.rs
warp-editor-behavior2026-11-25Completes the Warp survey for rich-input (RI-0), the editor itself this time: the prompt is a real multi-line editor whose documented surface is readline chords over modern editing (Ctrl+A/E/B/F/N/P/H, Ctrl+W/U/K/Meta+D kills, word motions, Home/End, Ctrl+J/Shift+Enter newlines, undo/redo — every chord quoted from the first-party keyboard-shortcuts reference); Up opens the inline history menu over a store that merges Warp's sqlite table, the shell's history file per host, and the live session, deduped first-occurrence-wins; the signal keys are editor ops while the line is owned (Ctrl+C clears the editor, Ctrl+D forward-deletes, Ctrl+Z undoes, Ctrl+L clears the screen), with explicit key forwards only during running programs; multi-line paste inserts verbatim and only Enter runs, no confirmation setting existing; ghost suppression and accept keys carry over from the shipped records; the typed line highlights live by HIR token class with unknown-command underlining, both default on; the full settings table is pinned with defaults (completions_open_while_typing = false re-verified); the editor stands aside by shell-integration prompt truth plus narrow forwards, and Enter runs the buffer whose content becomes the block — verdict: rich-input v1 copies all of it (editing core, store history, signal trio, verbatim paste, Enter-only runs), with two deliberate divergences, PTY-write Enter (shell keeps echo) and Tab staying the shell's key (SP-D10); always-visible-editor adoption, Warp's completions_open_while_typing default, Meta+. v1, PTY-state undo, editor bracketed paste, and code copying rejectedApproved 2026-11-25 — feeds rich-input (RI-0 closed; the owner landed the record by own commit and dismissed the rulings ask without corrections, so the recommendations fold as defaults, overrule at review). The editor itself left on 2026-11-27: the owner's ruling kept the completion logic and dropped the custom input, the suggestions returning as overlays on the shell's own line (suggest-overlay); the record stands as writtenthe record; feeds SPEC-rich-input.md (RI-0)
in-surface-popups2026-11-30Supersedes the 2026-11-23 window shape — Settings, the wizard, and About become popups drawn inside the terminal (a layer over the terminal's column, inside the slide; the keyboard held by a render-time claim and returned on close; one popup at a time), because the window lands behind other windows off COSMIC; the pairing and settings_coexist go; the height finding stands and is answered by ruling (50% for new installs, scrolling, a dropdown below 640 px)In progress — the seat (settings-popup) is built headless; the wizard and About follow in onboarding-popup and about-popup; the owner's rows SP-w1 to SP-w11 close itdropterm/src/core/popup.rs, dropterm/src/app_shell.rs (popup_layer, open_settings, close_settings), dropterm/src/settings.rs, Settings
command-palette2026-11-22Ship the palette as a pure core model over the vocabularies DropTerm already owns (the 33-row keybind registry, context-menu/CLI verbs, settings pages, scheme registry, open tabs, profile list) scored by nucleo-matcher — the matcher WezTerm, Zed, and Helix all converged on; stale fuzzy-matcher, full-TUI skim, an in-house scorer, and substring-only filtering rejected — rendered as an in-window close-confirm-shaped modal (never a second layer surface, so GNOME parity holds) hosting the Kit List's own escape/enter/up/down key context with the palette input holding focus, opened by Ctrl+Shift+O as a new bindable action row (the peers' Ctrl+Shift+P is already held by the images-panel bind — one chord, one action), dismissible by Esc/click-away/blur, with plugin script commands reserved an append-by-id slot on the WezTerm augment-command-palette precedent and palette-launches-shell ruled out of scope (no terminal palette runs shell commands)In progress — the model, the surface, and the search half landed on ced2 (Tasks 1–3, with the doc surface), the owner walks pending (Checkpoint A's re-walk, Checkpoint B)dropterm/src/core/palette.rs, dropterm/src/palette.rs, command-palette
lua-declarative-ui-precedents2026-11-24Follows terminal-plugin-systems: seven precedents (WezTerm, awesome wibox, Zellij, kitty, Neovim, RmlUi, the Elixir gpui package) converge on DropTerm's snapshot/event contract — a closed script-side vocabulary the host interprets, interaction returning as host-routed typed events — and none validates a JSX-like engine first; adopt WezTerm's tiny-closed-vocabulary + fail-to-default for cheap surfaces and skip its GUI-thread sync, awesome's nesting-as-layout with a widget=-style type tag while rejecting its silent-field fallback chain, Zellij's typed UiResponse + host hit-testing while skipping absolute coordinates, Neovim's placement/content split + update-by-id + additive-only closed keysets, the Elixir gpui rules that the script owns all state and a headless test display ships from day one; kitty's overlay TUI is the counter-example, RmlUi's markup engine the deferred JSX end-stateProposed — the record feeds the declarative-schema module's future /spec; nothing builtthe record; the schema would land beside dropterm/src/core/plugins/
vscode-typed-slots-rea2026-11-24REA + byte-level grounding of the owner's "real VS Code: typed slots" ruling against the shipped VS Code 1.147.0 artifact: one identifier table maps string ids to ~90 typed MainThread* proxies, every UI surface (status item, webview view, tree view) is one table entry, the ext host holds only proxies, the host calls back via $-prefixed typed methods ($resolveWebviewView, $acceptStaticEntries — present on both bundles), registration is one-live-seat-per-id with a throw on duplicates and validate-and-throw on bad shapes; DropTerm's lua-host already ships the extension-side of this shape, so the gap is contract (typed answers, dialog slot, panel containers), not architecture; REA's semantic graph hit its 20k/node file ceiling on the minified 2.3 MB bundle, so identifier facts cite sha256-pinned byte inspection of the same digested files, with the 22 MB renderer internals recorded unverifiedRuled + grounded — the record feeds the typed-slots capability map's /spec; nothing builtthe record; the slots would land beside dropterm/src/core/plugins/ and the shell layout
vscode-extension-lifecycle-rea2026-11-25Extends the 2026-11-24 record from slot contract to extension lifecycle, same 1.147.0 artifact plus a real marketplace extension (Error Lens) and a census of the 95 built-in manifests: boot is a pushed registry delta ($startExtensionHost), activation is event-driven from manifest declarations + extension-point generators (25 namespaces; Error Lens proves implicit onCommand: derivation behaviorally), onStartupFinished defers past a measured 50 ms startup budget, pure-declarative extensions never run code, the slot table now counts 97 MainThread* identifiers (new: Dialogs request→typed-result, QuickOpen's showQuickPick/showInputBox, Storage's frozen per-extension context, OutputService+Logger split, Progress cancellable handles, FileSystemEvent watchers); incorporation order for DropTerm: quick-pick/input kinds on the existing dialogs slot, then a declarative plugin manifest with activation events, output channels, a typed storage slot, progress gated behind the async seam; webviews, plugin-declared keybindings, terminal verbs, and a watcher slot rejected or gatedPartly built - the plugin manifest, the style engine, the dialog's input and pick kinds, and the output channels landed on its recommendations (2026-11-22 to 2026-11-27; owner walks open); storage, profile contributions, and progress are planned and unbuilt, and the remaining verdicts wait on the owner's rulingsthe record; dropterm/src/core/plugins_manifest.rs (the manifest and activation), dropterm/src/core/style_engine.rs, dropterm/src/core/lua_host.rs (the dialog kinds' port, dropterm.output), dropterm/src/dialog_slot.rs, and dropterm/src/panels.rs (the rail's channels)
terminal-ai-surfaces2026-11-26Every AI surface the surveyed peers ship is invoked (agent modes, chat panes, explain/generate commands, embedded CLI agents) and none puts an LLM uninvited on the typing path; consent is layered (a feature off-switch, per-category Ask/Always/Never grants, per-call approval with persist options, deny-wins rule lists) and is itself the only documented prompt-injection defense; context is bounded screen text, ranged scrollback, or shell-integration state, never raw PTY streams; host-provided AI for extensions follows the VS Code vscode.lm / browser Prompt API shape (the host holds the keys behind a consent gate); Wave's command execution is "Coming Soon" and Tabby, WezTerm, Alacritty, and Ghostty ship no AI; verdict: v1 is three one-shot plugin-served surfaces (error explanation off child-exit, palette-driven command generation ending in send_text, a plain ask) over one host ai verb and one bounded screen-capture verb, with no chat pane, no in-app agent loop, and no auto-execution tierProposed — feeds the AI capability's /spec; the context-capture spike gates error explanationthe record; the verb would land beside dropterm/src/core/lua_host.rs, the surfaces as plugins
ai-provider-transport-and-secrets2026-11-26Everything hard for an AI capability is already in the pinned graph: gpui-pre-http-client (a streaming-capable trait, ungated), gpui-pre-reqwest (reqwest 0.12.15, lock-resolved but not compiled on Linux), the tokio sidecar runtime serving D-Bus, and oo7 0.6.0 (Zed's Secret Service client) already compiled into every Linux build through gpui-pre-linux on the same zbus 5.19; one hand-rolled OpenAI-compatible Chat Completions + SSE client covers OpenAI, Ollama, LM Studio, llama.cpp, OpenRouter, and gateways while Anthropic and Gemini diverge structurally; COSMIC's session script starts gnome-keyring's secrets component; the multi-provider SDKs import a second HTTP family and rig-core exceeds the toolchain pin; verdict: two direct dependency lines, a thin adapter on the sidecar runtime, the hand-rolled client, env-first keys with an opt-in oo7 store and no plaintext fallback, and dropterm.ai as new token-matched HostCommand/HostEvent armsProposed — three spikes gate it (SSE through the sidecar without a foreign-thread wake, the first Linux compile of gpui-pre-reqwest, oo7 against live gnome-keyring)the record; the seam would land in dropterm/src/core/ai/ beside lua_host.rs
plugin-authoring-and-creator-ux2026-11-26Every surveyed ecosystem builds authoring on four legs (a template or generator, a live-reload dev loop, a host-shipped validator, machine-readable docs) and none ships an in-app wizard that writes extension code — Raycast's "Create Extension" is a scaffold launcher and Warp's workflow editor a form for YAML data files; AI-assisted authoring (Claude Code's plugin-creator, Codex's bundled skill-creator) pairs an agent with a manifest reference, examples, a validator in the loop, and a user handoff; DropTerm today has no schema, scaffold, validator, examples, or plugin CLI verb, so an author's only feedback is a log line and the live app; verdict: the plugin creator is the authoring layer (a JSON Schema for plugin.json, a dropterm plugin group with validate/new/docs, an examples gallery, llms.txt), AI creation served by external agents against it, and an in-app form wizard as the optional launcher on top; an in-app code editor rejectedProposed — no blockers on the layer; the headless harness and the wizard each need a spikethe record; the schema and verbs would land beside dropterm/src/core/plugins_manifest.rs and dropterm/src/cli.rs
agent-protocols-mcp-acp-skills2026-11-26MCP (stable spec 2026-07-28, stateless per request, sampling and roots deprecated) is the one standard that carries a DropTerm AI capability today, in two roles over the official Apache-2.0 rmcp 3.11.0 SDK whose hard dependencies are all in the lock: client/host for a Lua-free plugin tier (a spawned MCP server whose tools become palette rows) and a stdio server exposing the terminal to external agents; ACP (v1 stable, v2 a Preview that removed the client terminal APIs, crate 5.6.1 under the agentclientprotocol org) carries an agent in the right rail and nothing else, so the completion rejection stands; Agent Skills are instructions for an AI agent with no plugin runtime, so the creator's AI path is a DropTerm authoring skill over the existing Lua format; no surveyed terminal exposes itself as an MCP server; Skills-over-MCP has no full host supportProposed — the client tier is gated on a thread-rule spike, the server role on a reply-capable IPC seam and an owner grants ruling, and the skill ships once a validator existsthe record; a client would land in dropterm/src/core/mcp/
contribution-process2026-11-29Adopt Zed's CONTRIBUTING process as the model — the only surveyed process strict on scope and verification yet permissive on AI-assisted work (no autonomous agents, the human owns and explains every line, disclosure required), whose maintainer-confirmed feature gate maps onto DropTerm's spec-approved-before-implement rule, whose will-not-merge list and review bar (non-trivial changes without tests don't merge; manual test before PR) map onto the owner rulings and the just check/DoD gates, and whose AI policy DropTerm's own CONTRIBUTING.md already cites; Alacritty's and the pop-os/cosmic-epoch LLM bans rejected as incompatible with agent-assisted development, Ghostty's vouch regime rejected as many-maintainer machinery (its accepted-issue gate and disclosure rules borrowed), Helix too thin to answer scope/review/AI, VS Code reduced to two borrowed rules (one PR per issue with the issue linked, issue existence is not acceptance), and COSMIC's absence recorded as absence — no process exists there to adoptShipped 2026-11-30 — the owner's adopt ruling: the scope/will-not-merge, feature-gate, and review/merge sections extend the root CONTRIBUTING.md, and the PR and issue templates live in .github/the record; the three sections in CONTRIBUTING.md, .github/PULL_REQUEST_TEMPLATE.md, .github/ISSUE_TEMPLATE/
macos-build-approach2026-11-21The macos-build structure is the established pattern — target-cfg dependency tables are the Cargo Book's own mechanism (zed's gpui_platform uses them verbatim), paired honest cfg arms are how alacritty_terminal/wezterm/gpui all ordered platform work, the refusal stub mirrors the layer-shell guard contract — with two comment-level corrections carried (the wayland-sys pkg-config rationale does not hold in either feature graph, probed; map_or_default lives in gpui-pre-macos, not -apple) and one binding rule: the SurfaceBackend seam lands with macos-surface's first commit, not afterShipped (mb-1..mb-6, 6edfff5..bcc3a8c) — verified live: 1113 lib tests pass on a real mac host at rustc 1.98.0the record; the tables in dropterm/Cargo.toml:152, the gates in dropterm/src/main.rs + startup.rs + terminal/{clipboard,view}.rs, the macos CI job, the just deps Darwin arm, known issues's refusal row
plugin-examples-precedents2026-12-01Every surveyed starter corpus (VS Code samples, WezTerm quick-start + linted docs fragments, kitty's built-in kittens, Yazi's docs-snippets monorepo, Zellij's default-plugins) converges on examples that are self-contained, one-concept, no-build, and state the observable result — so DropTerm ships an examples/plugins/ gallery of ten two-file plugin dirs, one per API surface (command, menu row, clipboard watcher, event notifier, chips-band status chip, rail task list, field-filter tab switcher, ssh tab titles, cancellable progress, manifest-only styles/profiles), each test-pinned to the documented vocabulary; blocking-work and not-yet-existing surfaces (completions, screen-text reads, script-declared keybinds) rejected with their recordsProposed — no blockers, no spikes; the gallery is the precondition the plugin-creator record names for plugin new and the agent few-shot corpusthe record; the gallery would land in examples/plugins/, linked from the plugin docs pages
inner-popup-padding2026-12-0224 px is the number — the settings content pane takes 24 px side gutters (24 top, 16 bottom) over 24 px group gaps and 8 px row clusters with the control column grown to 320 px, the wizard takes 24 px padding with its column clamped to 600 px (libadwaita's AdwClamp default), and the small dialog keeps 440 px but takes Fluent's ContentDialogPadding 24,18,24,24 — all code constants beside their views since the style engine's settings nodes carry no padding slot; the floating-card surface shape (the carried Kit's own dialog: 16 px viewport margin, a tenth of the height down, width-capped) is the precedent-backed answer to the "too big" feel but reverses the in-surface-popups ruling and stays the owner'sProposed — the numbers wait on the owner's ruling; no code writtenthe record
ai-plugin-authoring2026-12-01Agents author plugins on the file-and-CLI layer the creator-UX record prescribed — schema, dropterm plugin validate, examples, machine docs — delivered by an on-demand .agents/skills/ authoring skill that names the validator (agents run the commands instruction files name), plus one affordance both prior records missed: a machine-readable error sink for the journal-only plugin log; an MCP server is rejected as an authoring vehicle — nothing it serves is unreachable without it — while the runtime-exposure server stays the MCP record's gated proposalProposed — the skill ships once the validator exists; the log sink and the headless harness each need a design passthe record; the layer would land beside dropterm/src/core/plugins_manifest.rs (schema + validator) and dropterm/src/cli.rs (the verb), .agents/skills/ (the skill)
mimicry-targets-survey2026-12-02The ten-app mimicry survey upholds the schema → validate → examples → machine-docs → skill ladder and adds what it lacks: a LuaCATS dropterm.lua stub file (Albert's stub-written-into-the-plugin-dir precedent, Neovim's LuaCATS tooling), machine docs printed from one source by a dropterm plugin docs verb (Ghostty's +show-config --default --docs), a per-plugin doctor aggregate over the log sink (Neovim's health checks), Raycast's $schema-in-every-manifest delivery and an Ulauncher/Zed-style API-version key when the schema lands, and kitty's action-scoped remote_control_password grants as the design for the gated runtime-exposure seam — store review, GNOME's anti-AI-generation regime, foreign runtimes, and the no-manifest convention all rejected against the rc-file trust modelProposed — the stub, schema key, and docs verb are cheap file/CLI work; the doctor is design-gated on the log sink; the kitty grants model is gated on the MCP record's IPC seam and grants rulingthe record; the stub and verbs would land beside dropterm/src/core/plugins_manifest.rs and dropterm/src/cli.rs, the grants design note in the future dropterm/src/core/mcp/
authoring-references-distribution2026-12-02Every peer distribution channel is already live on DropTerm's side — the hosted llms.txt serves (verified 2026-12-02), the skill installs with npx skills add (documented at plugins.md), the schema rides its $schema URL in every example manifest, plugin docs prints offline, GitMCP covers the repo passively — and the surveyed peers split the same way (Tauri's llms.txt family, Zed's llms.txt + per-page .md, skills.sh and Anthropic's marketplace for one-command skill installs) while the terminals ship no machine docs at all; naming the channels in the kit README is the one work item — SchemaStore submission (generic plugin.json filename defeats fileMatch), LuaLS registry submission, Context7 registration, per-page .md routes, and an llms-full.txt/query API now all rejected with groundsProposed — no build work; the kit README's getting-started text should name the four channelsthe record; the naming would land in plugin-kit/README.md
landing-hero-platform-copy-survey2026-12-02The fifteen-tool landing survey splits the hero platform claim into two shapes — the explicit list line "Available for macOS, Linux, and Windows" (Zed, Wave) or no platform words at all with the download UI carrying the claim (Warp, kitty, Rio, Hyper, VS Code, Obsidian, Raycast) — every peer stops at OS families with version floors, and no peer names an unbuilt platform in the hero list, so DropTerm's "Built for COSMIC, GNOME, X11, macOS, and Windows" matches the list shape while being the only corpus entry to mix desktop environments with OS families and to list a platform still in progressShipped 2026-12-02 — the owner's keep-as-is ruling: the hero subtitle and the meta description in docs/index.html carry "Built for COSMIC, GNOME, X11, macOS, and Windows", with the two precedent breaks (an unbuilt platform in the hero list, desktop-environment granularity) accepted on the owner's callthe record
performance-measurement2026-12-03The pinned stack already carries nearly every instrument — the work is wiring, not procurement: gpui-pre 0.3.12 ships a criterion bench harness (bench_group!/#[gpui::bench], switchable BENCH_MEASUREMENT across wall time, retired instructions, getrusage, heap allocations), a foreground journal sealing per-frame FrameSnapshots from polls/input dispatches/draws/presentations, a HangDetector, and public rendered_scene() — all exportable via the profiler feature the dev graph can already enable (no tracy at the pin; Zed's miniprofiler_ui is zed-private), while the peers fix the axes and the discipline — kitty's latency/throughput/energy trio with latency measured externally (Typometer or hardware; the anticipated --measure-latency flag does not exist), ghostty's generate-then-bench corpora + hyperfine + release-only builds, alacritty's --print-events/--ref-test only, wezterm two dhat features — against a DropTerm side that is half-built: boot-elapsed logging + StartupMark (boot→first frame), DROPTERM_CHECK scenarios, and the vm-* walk plumbing, but no benches/ and no perf recipes, so the recommendation is a dropterm/benches/ engine suite on the pinned harness, a scripted throughput/startup/show walk, a profiler-feature check-scenario dump of journal snapshots + hang incidents (one new code item, doubling as the slide record's frame-interval verification and an app-side key→draw segment), and per-platform capture ladders (samply/perf, xctrace) — with Typometer automation on the layer-shell surface, tracy/puffin, a miniprofiler port, an in-app stats HUD, and WAYLAND_DEBUG-as-pacing-instrument rejected, and true key-to-phosphor latency left an owner-run walkProposed — nothing built; the first step is proving #[gpui::bench] compiles under this workspacethe record
docusaurus-typography-survey2026-12-05The six verified Docusaurus peers (React Native, Jest, Redux, docusaurus.io, Relay, Playwright; tRPC and react-hook-form dropped as non-Docusaurus) cap the body at 17px/1.65 — exactly DropTerm's current article size — and the levers they actually pull are elsewhere: page-wide :root sizing (DropTerm's 17px is article-only, its sidebar/TOC stay 16px), shrunken dense tables and fences (React Native: th 80% / td 90% / fences 80% at 1.6), Infima's own doc heading scale 3/2/1.5rem above DropTerm's 2.5/1.75/1.375, and width bounded structurally at ≤1400px containers — while DropTerm runs the corpus's widest container (1680px), so the "too small" report may be measure, not size, a conflict with the 2026-12-05 no-measure-cap ruling recorded (finding 7) for the ownerShipped 2026-12-05 — the owner's three rulings on the conflict: the width cap at React Native's 1400px (both the container tokens and the whole docs row wrapper, landing the article ≈810px on a 1920 screen; prose itself keeps the no-measure-cap ruling's letter), the 17px corpus ceiling page-wide on doc pages via the docs-doc-id scope (sidebar/TOC/navbar scale with the article; the hero landing keeps its own sizes), and Infima's stock 2/1.5rem heading scale in place of the 1.75/1.375 caps; the peers' table/fence shrink and Redux's 15px mobile arm left un-adoptedthe record; docs/src/css/custom.css (the container tokens, the docs-page base, the wrapper cap, the heading rules)