# // ROADMAP & FUTURE PLANS

The **Pi Agent Control Extension** enforces continuous evolution to ensure a robust environment for autonomous AI agent orchestration, verification, and terminal control. The core vector prioritizes rock-solid automation and absolute system control. Superficial UI features are strictly discarded in favor of pure, programmatic execution.

---

## // Q3 2026: HARDENED CONTROL & COMPUTER USE

- [ ] **Background PTY Sessions**: Extend `true-input` and `tuistory` to manage fully detached, long-running background PTYs with seamless re-attachment, facilitating massive asynchronous workflows.
- [ ] **Advanced Computer Use Integration**: Deploy deep OS-level control schemas (e.g., native headless X11/Wayland orchestration, raw keyboard/mouse event injection) to process complex "Computer Use" operations independent of basic browser wrappers.
- [ ] **LLM-Powered Guardrails**: Replace static regex-based `guards.ts` with lightweight semantic analysis engines to intercept destructive shell patterns while maintaining valid deep-system access.

---

## // Q4 2026: ENHANCED CAPTURE & QUALITY

- [ ] **High-Fidelity Screen Recording**: Upgrade `screenshot` and `record` architectures to process 60fps, 4K resolution scaling, and lossless mp4 encoding via strict Remotion pipelines.
- [ ] **Steadier Orchestration Engine**: Harden the `tctl` wrapper to manage absolute stability during PTY crashes, orphaned process state transitions, and aggressive terminal escape sequence floods.

---

## // 2027+: DISTRIBUTED CONTROL

- [ ] **Remote Tmux Orchestration**: Authorize `tctl` to trigger and attach to tmux sessions on remote SSH targets, mandating high-quality PTY evidence capture from production environments.
- [ ] **Multi-Agent Swarm Skills**: Expand chaining (`mixed` driver) to execute subagent swarms in parallel, distributing shared background PTY architectures for aggressive codebase restructuring.
