Keep at most 5,000 lines and 8 MiB of retained UTF-8 terminal history. Discard the oldest text at either limit while preserving complete live output. Track bytes and newlines in small chunks. Join split surrogates before eviction. Restore only the needed file tail, handle short reads, and close the file before rewriting current or legacy history. Created with GPT-6 Astra (preview) in Codex. Co-authored-by: will <[email protected]>
T3 Code docs
Using T3 Code
- Install and first run
- Permission modes
- Keyboard shortcuts
- Organizing threads
- Review usage
- Anonymous usage data
- Customize a project icon
- Mobile appearance
- Environment themes
- Remote access
- Keeping app and server in sync
- Source control integrations
- Background service (Linux)
- Providers: Codex · Claude · OpenCode
Mobile app: apps/mobile/README.md
Working on T3 Code
Everything below is for maintainers. Setup lives in the root README; policy in CONTRIBUTING.md; agent rules in AGENTS.md.
- Architecture overview
- Workspace layout
- Glossary
- Scripts
- Connection runtime
- Voice input
- Providers
- Remote environments
- Server updates
- Resource telemetry
- Product analytics
- Environment auth
- T3 Connect
- CI gates
- Engineering work artifacts