Commit be56361
committed
cli: report sandbox confinement for plugin-routed comparisons
Surface the active sandbox confinement (active_sandbox_status) wherever
a plugin helper runs a comparison: archive --unpacker / auto-route prints
sandbox=<label> (and a sandbox{label,confined} object in --json), and
compare --prediffer appends the confinement to its info line. A degraded
run (LINSYNC_SANDBOX_SKIP / no backend) is therefore visible at the point
of use, not just via plugin run-diagnostic.
Advances Phase 6's 'surface sandbox-policy decisions/degradation';
threading the confinement into the FolderCompareResult/TextCompareResult
types themselves remains.
Test asserts the archive --unpacker JSON carries sandbox.confined.1 parent b5472bf commit be56361
2 files changed
Lines changed: 12 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
474 | 474 | | |
475 | 475 | | |
476 | 476 | | |
477 | | - | |
478 | | - | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
479 | 480 | | |
480 | 481 | | |
481 | 482 | | |
| |||
1431 | 1432 | | |
1432 | 1433 | | |
1433 | 1434 | | |
| 1435 | + | |
| 1436 | + | |
| 1437 | + | |
1434 | 1438 | | |
1435 | 1439 | | |
1436 | 1440 | | |
1437 | 1441 | | |
1438 | 1442 | | |
1439 | 1443 | | |
| 1444 | + | |
1440 | 1445 | | |
1441 | 1446 | | |
1442 | 1447 | | |
| |||
1449 | 1454 | | |
1450 | 1455 | | |
1451 | 1456 | | |
1452 | | - | |
| 1457 | + | |
| 1458 | + | |
1453 | 1459 | | |
1454 | 1460 | | |
1455 | 1461 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
535 | 535 | | |
536 | 536 | | |
537 | 537 | | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
538 | 541 | | |
539 | 542 | | |
540 | 543 | | |
| |||
0 commit comments