AdrianLlopart commited on
Commit
09e3c28
Β·
verified Β·
1 Parent(s): 5f67911

docs: HF model card for OpenRAL/rskill-playbook-decompose_mission v0.1.0

Browse files
Files changed (1) hide show
  1. README.md +100 -0
README.md ADDED
@@ -0,0 +1,100 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ license: apache-2.0
5
+ pipeline_tag: robotics
6
+ tags:
7
+ - OpenRAL
8
+ - rskill
9
+ - any
10
+ inference: false
11
+ ---
12
+
13
+ # rskill-playbook-decompose_mission
14
+
15
+ A `kind: playbook` rSkill: a symbolic S2 **decision procedure** the
16
+ Reasoner reads, not a neural policy. It carries no weights β€” the authored
17
+ [`PLAYBOOK.md`](./PLAYBOOK.md) *is* its runtime.
18
+
19
+ ## What this skill does
20
+
21
+ Breaks a compound, multi-step instruction into an ordered list of subtasks, each
22
+ with its own verifiable done-condition (an internal TODO list), then executes and
23
+ verifies them in order. It decomposes the goal, records the subtasks to memory so
24
+ the plan survives a tick, dispatches the matching skill for each, verifies the
25
+ done-condition before advancing, and on a subtask failure replans **that subtask
26
+ only** β€” escalating to a human if a subtask exhausts its replan budget. Concrete
27
+ walkthrough: the stack-bowls / drawer / cookie-box example in
28
+ [`PLAYBOOK.md`](./PLAYBOOK.md).
29
+
30
+ ## How it works
31
+
32
+ This playbook is **content, not code**. When installed, the reasoner injects
33
+ `PLAYBOOK.md` into its system prompt and follows the SOP, composing tools it
34
+ already has (`execute_rskill`, `query_scene`, `query_task_progress`,
35
+ `memory_write`, `memory_search`, `emit_prompt`). It is `role: s2` and is **never**
36
+ dispatched through `ExecuteSkill`. Every motion it triggers is an `execute_rskill`
37
+ β†’ Action chunk β†’ C++ safety kernel β€” the playbook holds no actuation authority
38
+ (CLAUDE.md Β§1.1).
39
+
40
+ ### Observation β†’ action contract
41
+
42
+ None. A playbook emits no `Action` chunks and requires no actuators
43
+ (`actuators_required: []`, `chunk_size: 1`). Its "output" is the sequence of
44
+ tool calls the reasoner makes while following the SOP, bounded by
45
+ `playbook.max_steps`.
46
+
47
+ ## How it was authored / Upstream provenance
48
+
49
+ N/A β€” a playbook is **hand-authored**, not trained: it has no weights and no
50
+ upstream model. Its provenance is the authoring decision record
51
+ (also linked via `paper_url`). To change behaviour, edit `PLAYBOOK.md` and bump
52
+ `version`.
53
+
54
+ ## Supported robots
55
+
56
+ Embodiment-agnostic β€” declares the explicit wildcard `embodiment_tags: ["any"]`
57
+ (never an empty list). Pure planning / orchestration, so `capabilities_required`
58
+ is empty (`{}`): it works on any robot. Each subtask it dispatches is gated at
59
+ runtime by the composed tools, not by this playbook's flags.
60
+
61
+ ## Sensors required
62
+
63
+ None directly. The tools it composes declare their own sensor needs.
64
+
65
+ ## Manifest summary
66
+
67
+ - `kind: playbook`, `role: s2`, `actions: [plan]`, `chunk_size: 1`.
68
+ - `playbook.trigger`: the goal is a compound, multi-step instruction.
69
+ - `playbook.done_predicate`: every subtask's verifiable goal has been confirmed met, or the mission has been handed off.
70
+ - `playbook.max_steps`: 24.
71
+
72
+ ## Quick start
73
+
74
+ ```python
75
+ from openral_core.schemas import RSkillManifest
76
+
77
+ m = RSkillManifest.from_yaml("rskills/decompose-mission/rskill.yaml")
78
+ assert m.kind == "playbook" and m.playbook is not None
79
+ print(m.playbook.trigger)
80
+ ```
81
+
82
+ ## Reproduction
83
+
84
+ Packaging-only: the manifest + SOP are validated by
85
+ `tests/unit/test_playbook_rskill_manifest.py`. There is no benchmark number to
86
+ reproduce; the playbook's behaviour is exercised by the reasoner integration
87
+ tests in later phases.
88
+
89
+ ## Evaluation
90
+
91
+ N/A β€” no `eval/*.json`; a playbook produces no benchmarkable policy output.
92
+
93
+ ## License
94
+
95
+ - **Code / content:** Apache-2.0.
96
+ - **Weights:** none.
97
+
98
+ ## See also
99
+
100
+ - [`PLAYBOOK.md`](./PLAYBOOK.md) β€” the decision procedure itself.