feat(brain): a sandboxed language model session with an MCP channel to the box
The brain: a long-running Claude Code session, confined with bwrap to its workspace, that hears the box through a channel and works the TV with the box's ir and look capabilities. - brain/channel.js: MCP on stdio to the brain (reply, say, ir_listen, ir_send, look, report_problem), and the ask capability, behind a gate, to the box - brain/ask.js: the conversations between them; report.js: an issue on one repository, by a token that can do nothing else - brain/brain.service: the session in tmux, in bwrap: a read-only system, an empty home but for its workspace, keys, and claude - brain/instructions.md: how to work the TV; it imports household.md, who's who (an example, with no real people) - brain/Makefile: make install, attach, status - checks: brain-js (unit tests), brain (the package, put together) Generated-by: Claude Opus 5.5
This commit is contained in:
1 parent
521998b666
commit
84d2816f24
16 files changed
+927
-1
No files matched your search
@@ -0,0 +1,11 @@
|
||||
# Household (an example: make install copies it to the workspace once; then it's yours to edit)
|
||||
|
||||
Pat set you up and looks after you; problem reports go to Pat.
|
||||
|
||||
You serve Lee and Sam, in their living room. They like the evening news, cooking shows, and the local team's games.
|
||||
|
||||
What helps them:
|
||||
|
||||
- Answer each question as if it's the first, one step at a time.
|
||||
- If you can't tell what was said, ask gently.
|
||||
- They're adults with long lives behind them. Never talk down.
|
||||
Reference in new issue
Block a user