AGENTS.md instructions for /Users/tanishqpalandurkar/Projects/yyork <INSTRUCTIONS>…
- User
AGENTS.md instructions for /Users/tanishqpalandurkar/Projects/yyork
--- project-doc ---
Agent workflow
- User will assign one PRD at a time to an agent to implement. All the PRDs are available in the
./prdsdir. - At any time if you think you could do a better job if a CLI tool was available to you and it would take you lesser tokens to do the task in presence of that tool, explicitly ask user to install it. Do not install it directly on your own as there are security related issues regarding this way of installation.
- User will assign one PRD at a time to an agent to implement. All the PRDs are available in the
- User
<environment_context> /Users/tanishqpalandurkar/Projects/yyork zsh <current_date>2026-06-10</current_date> Asia/Kolkata <workspace_roots>/Users/tanishqpalandurkar/Projects/yyork</workspace_roots><permission_profile type="disabled"><file_system type="unrestricted" /></permission_profile> </environment_context>
- User
I need a list of relevant files that takes care of the terminal component end to end and makes sure that the intended experience is provided
- Assistant
I’ll trace this from the visible terminal UI down through the backend session and PTY plumbing so the list reflects actual ownership, not just filename matches.
- Assistant
I found prior notes pointing at a Zellij-backed browser terminal, including statusline/gap work. This checkout is dirty and has several moved files, so I’m verifying against the current source before naming the ownership files.
- Assistant
The frontend confirms there are two terminal renderers behind one panel, with xterm.js as the default and wterm as an experiment. I’m now following the WebSocket endpoint and backend attach lifecycle to see which files preserve reconnect, resize, snapshot, and Zellij behavior.
- Assistant
The server endpoint is
GET /api/sessions/{sessionID}/terminal; it scopes the request by project, checksTerminalSupported, then hands a Zellij attach command tointernal/terminal.Manager. I’m checking how that attach command and environment are created now. - Assistant
The default backend strategy is the shared emulator path, not per-client attach: it keeps one PTY attach process per logical terminal, snapshots the current screen for reconnects, and forwards resize/input over the same WebSocket.
- Assistant
Session creation uses a generated Zellij layout that explicitly includes tab-bar and status-bar panes, while attach uses a managed yyork Zellij config. Those two are part of the intended browser-terminal look, not incidental files.
- Assistant
Route ownership is split from the terminal renderer:
/terminal/$sessionIdonly parses route/search state, thenWorkspaceLayoutresolves that route to the selected worker or orchestrator session and supplies it toTerminalPage. - Assistant
The theme and sizing pieces live in CSS as well as React. The
.ao-terminalblock maps app tokens into terminal ANSI slots and intentionally hides wrapper overflow to avoid the old right-gutter issue. - Assistant
The validation surface is mixed: unit tests cover the frontend connection helpers and backend snapshot/reconnect behavior, and the live Playwright smoke script verifies real socket frames, resize frames, reconnect/switch/soak behavior against a running stack.
- Assistant
I’m also checking the local wterm guidance because this terminal panel includes
@wterm/reactas one renderer option, even though the current default path is xterm.js. - Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.