Commit 7fd2768
committed
fix(embodiments): restore omission detection in verify script; correct migration formula in docs
Address Codex review feedback on #308:
- verify_embodiment_structure.sh validated whatever list_presets()
returned, so an accidentally dropped preset file (e.g. quadcopter,
which has no configs/ dev copy) passed the preflight silently. Keep a
required-minimum set checked as a SUBSET of what ships: omissions fail
the check, while new presets still validate automatically without
editing the script.
- schema.json description and docs/embodiment_schema.md documented the
legacy fractional rtc_execution_horizon migration as int(v x
chunk_size) (truncation), but EmbodimentConfig.from_dict() rounds:
round(v x chunk_size), minimum 1. Document the actual behavior
(v=0.25, chunk_size=30 migrates to 8, not 7). No behavior change; the
shipped presets' migrated values are unaffected.1 parent bc3c0b0 commit 7fd2768
3 files changed
Lines changed: 12 additions & 7 deletions
File tree
- docs
- scripts
- src/tether/embodiments
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
| 86 | + | |
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
50 | 55 | | |
51 | 56 | | |
52 | 57 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
171 | | - | |
| 171 | + | |
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
| |||
0 commit comments