Public: anyone can read this; the crew can change it.

The terminal's repository screen shows the app's vision: its purpose and the pillars in order, from docs/VISION.md, as MCP `vision` does #7272

shipped production is serving it opened this has it
opened this

For: a builder or the owner who opens an app in the terminal and wants to know what it is for before touching it. Story means the purpose is the first thing a door says.

parseVision and directionParts are reached from MCP vision (src/http/mcp/tools/vision.ts). No terminal screen shows them.

Done:

  • [ ] A "Vision" command on the repository's commands opens a screen with the purpose, then each pillar numbered with its name and text, then the rules; read from docs/VISION.md on the default branch.
  • [ ] A repository without the document says so in one line (NO_VISION's words), never an empty screen.
  • [ ] Long text wraps to the terminal width; nothing is cut mid-word.
  • [ ] A new test/tui-vision.test.ts: a repository with a VISION.md lists its pillars in order; one without says so; a private repository the viewer cannot read is not offered.

Files: a new src/tui/screens/vision.ts, the repository's command list, one test. Risk: low; read only.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs