Repository navigation
feat(release, luban): part 3 -- one writer of a release's index entries, cross-repo contract read through the client, a move tried first (J47), #699; 2026.10.23.2 - #701
Merged
Conversation
… release's index pointers, cross-repo contracts tested on both sides, the verification loop, what is left Co-authored-by: speak-agent <248744407+speak-agent@users.noreply.github.com>
Co-authored-by: speak-agent <248744407+speak-agent@users.noreply.github.com>
…26.10.23.2); self-review Co-authored-by: speak-agent <248744407+speak-agent@users.noreply.github.com>
A script package is registered with the alias `xlings script <path>`, and the shim reads an alias as words: in a home under `/tmp/mc probe` it ran `xlings script /tmp/mc` and failed with `package file not found`. The path is now quoted with `platform::shell_quote`; a quoted alias is still plain words to the shim (`split_plain_words`), so it keeps running without a shell. tests/e2e/script_type_install_test.sh runs a script package's shim in a home whose path holds a space. Co-authored-by: speak-agent <248744407+speak-agent@users.noreply.github.com>
…he bump-index job that never ran is gone (part 3, U3, U4) xlings, luban, luban-os and xim:xdesk have one writer of their versions, xlings' release. tools/bump_index.py writes every platform block and latest of the four recipes from the release's .sha256 sidecars, byte for byte the shape written by hand; a missing sidecar writes nothing; a second run changes nothing. Run locally after the CN mirror, then open the index PR. release.yml's bump-index (tools/bump_index.sh) called the index's version-check.py, which the index removed, and waited on a mirror job that times out: it never wrote anything. Both are removed; AGENTS.md, the contributing skill and docs/92-release name the tool. Co-authored-by: speak-agent <248744407+speak-agent@users.noreply.github.com>
…the client, not a regex over the recipe; package_info carries versions (protocol 1.18; part 3, U5)
tests/e2e/rootfs_lib.sh took the first `linux = {` of the index's
xlings.lua as its version table; the index put autoupdate (with a
`linux = {` of its own) above xpm, and main and every PR went red in the
distro shard. The fixture now asks the candidate client:
`interface package_info xim:xlings` (linux), whose `package` carries
`versions` -- the platform's concrete versions, newest first -- beside
`version` (what latest resolves to). How the index lays a recipe out is
its own. Supersedes #700.
Protocol 1.18 (additive): features package_versions and domain_check;
the spec gains the 1.17 row it lacked.
Co-authored-by: speak-agent <248744407+speak-agent@users.noreply.github.com>
… host cannot build the domain nothing is carried away (J47); 2026.10.23.2 `luban upgrade` of a system made before 2026.10.14 exported it (gigabytes), removed it and made it again in /xlings; where this host cannot build the private domain it was made again in the home's prefix and the archive stayed. `self doctor --isolation` said this host could: it judges the tools, not the namespace working. xlings `subos __domain-check <home>` tries the domain as `subos new --domain-if-possible` starts (the same code: prepare, `self init` inside, judged by the home it made): 0, or an error saying why. luban asks it before the move (feature domain_check): where it fails the system stays, recorded in `.stays` with the reason and said once, and the upgrade goes on in place. An archive kept by a system living in the prefix is named in `luban status` as not needed, `rm <archive>` first. docs/luban 03 (en, zh); design part 3 records the implementation. Co-authored-by: speak-agent <248744407+speak-agent@users.noreply.github.com>
…ecipe it cannot write; an upgrade's dry run says the move is tried first (self-review) Co-authored-by: speak-agent <248744407+speak-agent@users.noreply.github.com>
…home is mounted before the system's home (J50); the domain check's test reads bwrap only A system in this home's prefix has its home where the host has it -- under /home on most hosts (a runner's /home/runner/work/_temp too). The guest mounted that home, then /home over it for the machine's users (J32, 2026.10.23.1; persist home before it): no xlings in the machine. luban-os-ci L2 on runners: core-machine failed every scenario with exit 127. /home is mounted first now; the home's mount point is where it was before J32 (the two shares are one host directory). The dynamic candidate initialises a domain where bwrap makes namespaces (CI): DomainProducer.ADomainCheck... expects success on the bwrap probe alone. Co-authored-by: speak-agent <248744407+speak-agent@users.noreply.github.com>
… a failing namespace backend (XDEV_BWRAP) LUBAN-RELAYOUT-TRIED skipped where the domain builds (CI), and the report requires a passing execution of every required ID. Both J47 tests now make the backend fail explicitly (the domain producer's XDEV_BWRAP), so the path a host without namespaces takes is tested everywhere; the building path stays where bwrap works. Co-authored-by: speak-agent <248744407+speak-agent@users.noreply.github.com>
Member
Author
Self-review (before merge)
CI: all checks green (asan shards run on main). luban-os-ci L2 for this branch: 17 passed, 0 failed (L2-06's known is mcpp#831, U10). |
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.
Part 3 of the Luban OS ecosystem usability design (
.agents/docs/2026-10-23-luban-os-ecosystem-usability-part3-design.md), converged into one PR and one version, 2026.10.23.2.What
tools/bump_index.pylatest) into an xim-pkgindex checkout from the release's.sha256sidecars -- byte for byte the shape written by hand (checked against 2026.10.23.1), all or nothing, idempotent.tests/scripts/test_bump_index.py(contract-scripts).bump-indexandtools/bump_index.shremoved: they called the index'sversion-check.py(removed by xim-pkgindex#1027) and waited on a mirror job that times out -- they never wrote anything. AGENTS.md, the contributing skill anddocs/92-release(en, zh) name the tool.xim:xlings's versions (interface package_info), not a regex over the recipe: #1027 put anautoupdatetable with its ownlinux = {abovexpm, and the distro shard of main and every PR went red.package_info'spackagenow carriesversions(protocol 1.18, featurepackage_versions;IFACE-PACKAGE-VERSIONS).luban upgradeof a pre-2026.10.14 system is tried first: xlingssubos __domain-check <home>(plumbing; same code assubos new --domain-if-possible's start; featuredomain_check;DOM-CHECK-TRIED). Where the host cannot build the domain nothing is exported or removed -- it stays, said once (LUBAN-RELAYOUT-TRIED). An archive kept by a system that lives in the prefix is named inluban statusas freeable.Tests
test_interface_protocol,test_xpkg_extensions,test_i18n_domains,test_domain_producer(new check),test_luban(all 32), contract scripts, lints; the fixture run against the live index (picks 2026.10.22.4 for a 2026.10.23.1 candidate).After merge
release 2026.10.23.2 → GitCode filled locally (gtc) →
tools/bump_index.py 2026.10.23.2into xim-pkgindex#1031 (+ its U6 contract check) → merge #1031 → verification (part 3 §4).Closes #700. Supersedes #699 (its commit is here, author kept).
Co-authored-by: speak-agent 248744407+speak-agent@users.noreply.github.com