Repository navigation
Bodies: optional acting layer, LeRobot driver (FineART-VLA), rules from priors - #8
Merged
Merged
Conversation
… FineART-VLA Mem.Body: a TBody seam next to TEngine ([body] driver=none by default). A body takes a task in language and streams events (subtask, observation, done, failed) and can be stopped after any of them. Drivers: mock (in-process, with optional plans standing in for a planning policy), lerobot (body/lerobot_body.py: any LeRobot policy through its RolloutController; a policy that plans in language, FineART-VLA, gets the task as an autosteer goal and reports each subtask) and process (any program speaking the JSON-lines protocol). The agent: /do <task>, /confirm, /cancel. The task goes with the facts RAG finds and the rules: active negative priors that apply to a body. A task with a step that breaks a rule is refused; a reported subtask that breaks one stops the body (a backstop, documented as such). Every event is stored in the conversation, and finished "put X in Y" steps become facts. Priors get a scope: chat, all (rules about handling things, picked up from the chat) or body (/prior --body). Body-only rules stay out of the chat prompt. BreaksPrior matches a step against a rule. Tests: priors_test (39 checks, now with scope and BreaksPrior), scripts/e2e_body.sh (the mock and the LeRobot driver's --stub over the real process protocol). The LeRobot path itself is written to its documented RolloutController API and has not been run on a robot or simulator. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01NPVFJHeBeotAKkU7EPbTgn
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
memagent can now act as well as talk, through an optional body next to the engine.
[body] driver=noneis the default, so nothing changes for chat-only use. Details are inbody/README.md.Mem.Body
TBodytakes a task in language, streams events (subtask, observation, done, failed) and can be stopped after any event. Drivers:mockgoal => step; step) stand in for a policy that planslerobotbody/lerobot_body.py: any LeRobot policy through LeRobot's documentedRolloutController(start,autosteer/set_task,reset, events). A policy that plans in language (FineART-VLA,supports_text_queries) gets the task as an autosteer goal, and each applied subtask is reported. Other policies get it viaset_task.processAgent
/do <task>shows what will run and which rules apply./confirmruns it./canceldrops it.[body] confirm=1is the default.BreaksPrior), and a match stops the body.body). Finished "put X in Y" steps become facts ("The mug is in the left cabinet."), which RAG and the memory tiers learn.chat: answering rules.all: rules about handling things, picked up from chat.body: set with/prior --body; these stay out of the chat prompt.scopecolumn byALTER TABLE.body/.Tests
make test: pass.priors_testnow has 39 checks, including scope andBreaksPrior.scripts/e2e_body.sh: pass with both the mock driver andlerobot_body.py --stub, the latter over the real process protocol./doasks first,/canceldrops, and steps become facts./statusline is correct.scripts/e2e_priors.sh: pass.Not tested: the real LeRobot path. It's written to LeRobot's documented API, read from its source at
main, but it hasn't run on a robot or simulator; that needs a CUDA machine.lerobot/fineart_vla_basewas trained on a 14-joint ALOHA, and its weights are under the Gemma license.Generated by Claude Code