restructure: move backend/ and layout/ into src/; convert README to org syntax; fix demo package conflict and alien-sap ioctl; update ROADMAP with v0.15.0; remove stale files

- Move backend/ and layout/ directories into src/
- Update all path references in ASD, scripts, docs
- Convert README.org from Markdown syntax to proper Org-mode
- Fix demo.lisp use-package conflict (both backend and input export #:read-event)
- Fix modern-backend TIOCGWINSZ ioctl alien type (alien-sap wrapper)
- Add v0.15.0 section to ROADMAP, update line count to 5760
- Add known gaps (suspend/resume-backend, slot modes) to v1.0.0 checklist
- Remove docs/plans/, debug-layout.lisp, system-index.txt, ci-watchdog.sh
- Move tangle.py to Hermes skill (org-babel-tangle)
- Add .gitignore for fasl files
This commit is contained in:
Hermes Agent
2026-05-12 16:57:19 +00:00
parent 5f07c1fd76
commit 47094c48e5
31 changed files with 369 additions and 1390 deletions

View File

@@ -265,46 +265,89 @@ reads terminal background color at startup.
#+BEGIN_SRC
cl-tty/
├── cl-tty.asd
├── cl-tty-tests.asd
├── cl-tty.asd # ASDF system (main + test)
├── README.org
├── LICENSE
├── .gitignore
├── demo.lisp # Interactive demo
├── demo.sh # PTY launcher for demo
├── run-all-tests.lisp # Test runner
├── docs/
│ ├── ROADMAP.org
│ └── ARCHITECTURE.org ← this file
├── org/ # Literate source files
│ ├── backend-protocol.org
│ ├── box-renderable.org
│ ├── detection.org
│ ├── dialog.org
│ ├── framebuffer.org
│ ├── layout-engine.org
│ ├── markdown-renderer.org
│ ├── modern-backend.org
│ ├── mouse.org
│ ├── scrollbox-tabbar.org
│ ├── select.org
│ ├── slot.org
│ └── text-input.org
├── src/
│ ├── package.lisp
│ ├── backend/
│ │ ├── protocol.lisp
│ │ ├── detection.lisp
│ │ ├── package.lisp
│ │ ├── classes.lisp
│ │ ├── simple.lisp
│ │ ── modern.lisp
│ │ ── modern.lisp
│ │ └── detection.lisp
│ ├── layout/
│ │ ── nodes.lisp
│ │ ├── solver.lisp
│ │ └── api.lisp
│ │ ── layout.lisp
│ ├── components/
│ │ ├── base.lisp
│ │ ├── package.lisp
│ │ ├── box.lisp
│ │ ── text.lisp
│ ├── rendering/
│ │ ├── pipeline.lisp
│ │ ── text.lisp
├── render.lisp
│ │ ├── theme.lisp
│ │ ├── dirty.lisp
│ │ ── diff.lisp
└── theme/
├── tokens.lisp
── presets.lisp
└── tests/
├── package.lisp
├── backend.lisp
├── layout.lisp
└── components.lisp
│ │ ── input-package.lisp
│ ├── input.lisp
├── text-input.lisp
── textarea.lisp
│ │ ├── keybindings.lisp
│ │ ├── container-package.lisp
│ │ ├── scrollbox.lisp
│ │ ├── tabbar.lisp
│ ├── select-package.lisp
│ │ ├── select.lisp
│ │ ├── markdown-package.lisp
│ │ ├── markdown.lisp
│ │ ├── dialog-package.lisp
│ │ ├── dialog.lisp
│ │ ├── mouse-package.lisp
│ │ ├── mouse.lisp
│ │ ├── slot-package.lisp
│ │ └── slot.lisp
│ └── rendering/
│ └── framebuffer.lisp
├── tests/
│ ├── input-tests.lisp
│ ├── scrollbox-tabbar-tests.lisp
│ ├── select-tests.lisp
│ ├── markdown-tests.lisp
│ ├── dialog-tests.lisp
│ ├── mouse-tests.lisp
│ ├── slot-tests.lisp
│ ├── framebuffer-tests.lisp
│ └── integration-tests.lisp
└── scripts/
├── binary-search.lisp
├── code-audit.lisp
├── audit-compiler.lisp
├── find-t-form.lisp
├── find-t-warning.lisp
└── verify-api.py
#+END_SRC
** Dependency Graph
backend/ (no deps)
layout/ (no deps — pure math)
src/backend/ (no deps)
src/layout/ (no deps — pure math)
theme/ (backend for color resolution)
components/ (layout, theme, rendering)
rendering/ (layout, components, backend, theme)