Commit 13bcf7c
fix(xlings): the remedy for a SubOS with no subos_info is a command that works (#447)
Three messages told the user how to get an undescribed SubOS described, and
all three named something that does not do it. The wording has now been wrong
in two opposite directions:
1. `xlings self update` — which does not touch a subos manifest at all.
2. "an existing one is NOT backfilled; recreate the SubOS" — the correction
to (1), and also wrong. `xlings self doctor --fix` has always described
the ACTIVE subos; what it got wrong was the CONTENT, stamping the block
with whatever the built-in default libc happened to be rather than with
what the SubOS actually runs.
xlings 2026.8.17.1 fixes the content (openxlings/xlings#547): the runtime now
comes from the recorded binding, the workspace record, or the payload behind
`lib/libc.so.6` — and when none of those can answer, the `runtime` key is
OMITTED rather than filled with a guess.
That last part lands on a path this file already had: `info.present &&
info.runtime.empty()` already notes that runtime rules cannot be evaluated.
It was written for a hypothetical and is now the honest state a described-but-
unprovable SubOS reports, so nothing here needs to change to accept it.
"from inside this SubOS" is load bearing: doctor inspects the subos the run is
in and no other. When mcpp is the one complaining, the user is in it.
Telling someone to delete and recreate a SubOS to recover an environment is a
large ask, and it was never the smallest one that works.
Co-authored-by: speak-agent <248744407+speak-agent@users.noreply.github.com>1 parent 7b3f7ef commit 13bcf7c
3 files changed
Lines changed: 23 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
284 | 284 | | |
285 | 285 | | |
286 | 286 | | |
287 | | - | |
288 | | - | |
| 287 | + | |
| 288 | + | |
289 | 289 | | |
290 | 290 | | |
291 | 291 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
146 | 161 | | |
147 | 162 | | |
148 | 163 | | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
153 | 168 | | |
154 | 169 | | |
155 | 170 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
874 | 874 | | |
875 | 875 | | |
876 | 876 | | |
877 | | - | |
878 | | - | |
879 | | - | |
| 877 | + | |
| 878 | + | |
880 | 879 | | |
881 | 880 | | |
882 | 881 | | |
| |||
0 commit comments