{"id":51536762,"url":"https://github.com/benyblack/novaterminal","last_synced_at":"2026-07-09T09:01:46.055Z","repository":{"id":353151753,"uuid":"1143525144","full_name":"benyblack/NovaTerminal","owner":"benyblack","description":"Cross-platform terminal emulator for deterministic rendering, VT correctness, GPU-accelerated performance, and modern SSH workflows.","archived":false,"fork":false,"pushed_at":"2026-07-05T16:36:30.000Z","size":4423,"stargazers_count":10,"open_issues_count":34,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-07-05T17:05:43.966Z","etag":null,"topics":["aot","avaloniaui","conformance","cross-platform","csharp","deterministic","developer-tools","dotnet","gpu-rendering","performance","pty","replay-testing","ssh","terminal","terminal-emulator","tui","vt-compatibility","vt100"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/benyblack.png","metadata":{"files":{"readme":"README.internal.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":"docs/ROADMAP.md","authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-01-27T17:28:34.000Z","updated_at":"2026-07-05T16:36:31.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/benyblack/NovaTerminal","commit_stats":null,"previous_names":["benyblack/novaterminal"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/benyblack/NovaTerminal","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benyblack%2FNovaTerminal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benyblack%2FNovaTerminal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benyblack%2FNovaTerminal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benyblack%2FNovaTerminal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/benyblack","download_url":"https://codeload.github.com/benyblack/NovaTerminal/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benyblack%2FNovaTerminal/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35293217,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-09T02:00:07.329Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aot","avaloniaui","conformance","cross-platform","csharp","deterministic","developer-tools","dotnet","gpu-rendering","performance","pty","replay-testing","ssh","terminal","terminal-emulator","tui","vt-compatibility","vt100"],"created_at":"2026-07-09T09:01:44.320Z","updated_at":"2026-07-09T09:01:46.018Z","avatar_url":"https://github.com/benyblack.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NovaTerminal – Internal Engineering Guide\n\nThis document defines **engineering intent**, **non-negotiable rules**, and\n**how work is evaluated** in NovaTerminal.\n\nIt is authoritative for contributors and automated agents.\n\n---\n\n## Core Principle\n\n\u003e Terminal correctness is enforced by automated tests, not discipline.\n\nAny change that weakens determinism, parity, or replayability is rejected.\n\n---\n\n## Non-Negotiable Rules\n\n1. **Terminal Core is OS-agnostic**\n   - No platform conditionals\n   - No UI or rendering logic\n   - No PTY knowledge\n\n2. **Renderer is semantics-free**\n   - Renderer may not “fix” buffer mistakes\n   - All drawing is derived from buffer snapshots\n\n3. **Tests have veto power**\n   - Replay tests block merges\n   - Parity tests block merges\n   - Renderer metric regressions block merges\n\n4. **If it cannot be replayed, it cannot be safely fixed**\n\n---\n\n## Architecture Boundaries\n\nThe solution keeps terminal semantics isolated behind small project boundaries so the VT core remains pure and reusable:\n\n- **NovaTerminal.App** owns Avalonia UI, interaction, and app composition.\n- **NovaTerminal.Platform** owns platform-integration utilities (input routing, path mapping, process abstraction, SSH) and the credential vault.\n- **NovaTerminal.VT** owns terminal state, parsing, buffer semantics, and reflow.\n- **NovaTerminal.Rendering** owns Skia-based drawing from immutable buffer snapshots.\n- **NovaTerminal.Pty** owns OS/process and stream integration.\n- **NovaTerminal.Replay** owns recording and replay infrastructure.\n\nKey constraints:\n\n- **NovaTerminal.VT** contains **no** Avalonia or SkiaSharp references.\n- **NovaTerminal.Rendering** contains **no** Avalonia references and does not fix semantic bugs.\n- **NovaTerminal.Pty** is strictly for stream/process management and binary interop.\n- UI concerns stay out of the terminal core logic.\n\n---\n\n## Automated Test Gates\n\n### Phase −1 (Blocking)\n- Deterministic replay harness\n- Cross-platform parity checks\n- Renderer metrics (full redraw, dirty cells, frame time)\n\n### Phase 0 (Correctness)\n- VT completeness\n- Alternate screen correctness\n- Resize \u0026 reflow stability\n- Zero flicker under stress\n\nFeature work is blocked until these gates pass.\n\n---\n\n## What We Do NOT Optimize For\n\n- Fast feature shipping at the expense of correctness\n- Pixel-perfect UI tests over buffer-state tests\n- Platform-specific hacks in core logic\n- “Looks fine on my machine” fixes\n\n---\n\n## How Changes Are Evaluated\n\nA change is acceptable only if:\n- buffer invariants remain intact\n- replay tests cover new behavior\n- cross-platform parity is preserved\n- renderer metrics do not regress\n\n---\n\n## Useful Docs\n\n- `docs/ROADMAP.md` – test-gated product roadmap\n- `docs/MODULE_OWNERSHIP.md` – invariant ownership\n- `docs/IMPLEMENTATION_WORK_PLAN.md` – correctness-first execution plan\n\n---\n\n## Final Reminder\n\n\u003e UI attracts users.  \n\u003e Correctness keeps them.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenyblack%2Fnovaterminal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbenyblack%2Fnovaterminal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenyblack%2Fnovaterminal/lists"}