Skip to content

2026.9.28.2: download progress as data, one rebuild per update, and a declared home identity - #628

Merged
Sunrisepeak merged 2 commits into
mainfrom
eco/one-authority-per-fact
Sep 27, 2026
Merged

Sunrisepeak merged 2 commits into
mainfrom
eco/one-authority-per-fact

Conversation

@speak-agent

Copy link
Copy Markdown
Collaborator

Summary

The xlings half of the ecosystem design of 2026-09-28 (mcpp-community/mcpp .agents/docs/2026-09-28-ecosystem-design-and-optimisation-plan.md, WS4, WS5 and WS6), released as 2026.9.28.2.

Criteria (each fails on the released 2026.9.28.1 and passes here)

Test 2026.9.28.1 this branch
E2E-91 update_package_test.sh S5 (store hit wording) "is already installed", "upgraded" passes
E2E-91 S6 (build script runs per update) 2 runs 1 run
E2E-123 download_progress_frames_test.sh P1 (lines off a terminal) 769 lines for one index 2 per download
E2E-123 P2, P3 (frames on a pseudo-terminal, events on the interface) not reached 2 frames, 2 events
E2E-120 shim_identity_test.sh S6 (#617) hands off to subos/s2/bin/xlings the home's entry
E2E-124 home_identity_test.sh H1-H3 (marker, migration, read-only) no marker passes
E2E-124 H4 (#624) "package file not found: .../registry/subos/default/work/mcpphome/..." passes
unit ProgressOutput.*, ShimAnchor* new pass

Locally, the non-tarball e2e tests were also run against this build; E2E-48 (non_interactive_contract_test.sh) fails identically on 2026.9.28.1 and on this build on the development machine, so its reading is taken from CI.

Compatibility

  • A 1.2 interface client that reads prevLines reads 0, as it already did for the index download. mcpp does not read it.
  • Off a terminal, a download prints two lines instead of a frame every five seconds (install) or a frame per chunk (index).
  • A home created by an earlier version gains .xlings-home on its first command; nothing else in the home changes.

Closes #617, #624, #626, #627.

… declared home identity

Protocol 1.3 (#626). `download_progress` carries data only: the files, their
bytes, the elapsed time and a `stream` id (`index:<name>`, `install:<n>`). A
producer sends at most one event per 100 ms per stream, does not repeat an
unchanged state, and always sends the final one; an index artifact fetch sends
one finished event when it completes. The CLI renderer keeps each stream's
frame state, draws at most one frame per 100 ms on a terminal, and prints one
line when a download starts and one when it finishes elsewhere. `prevLines` is
deprecated and always 0.

`update` (#627) takes the catalog without its implicit first build and runs
each index build script once. A target already in the store reads
"<pkg>@<v> is in the store", then "active: <a> -> <b>".

Home identity (#617, #624). `self init` writes `<home>/.xlings-home`, and one
predicate, `home_identity::is_home`, answers for every reader: the marker, or
the legacy layout of a directory that is not a SubOS of another home. A SubOS
with its own `subos/` is no longer taken for a home, and a path that continues
into a home nested below a `subos/<name>/` segment is not re-rooted by it. A
marker-less home gains the marker on its first command; a read-only home keeps
working and `self doctor` notes the missing marker.

Criteria: E2E-123 (progress frames), E2E-124 (home identity), E2E-91 S5/S6,
E2E-120 S6, and unit tests of the coalescer, the milestone lines, the byte
formatter and the home predicate. Each fails on 2026.9.28.1.
The rename after self init failed on this branch's first Windows run and on an
unrelated branch on 2026-09-14, and passed on that branch's next run: a handle
held inside the freshly written tree blocks a directory rename for a moment.
The test renames with [IO.Directory]::Move, which does not fall back to a
partial entry-by-entry move, retries for at most 10 s, and on failure names
the processes running from the tree.
@Sunrisepeak
Sunrisepeak merged commit a8b5474 into main Sep 27, 2026
9 checks passed
Sunrisepeak added a commit to openxlings/xim-pkgindex that referenced this pull request Sep 27, 2026
xlings 2026.9.28.2 (openxlings/xlings#628): interface protocol 1.3, one rebuild per update, and a declared home identity. The four sha256 values equal the release's sidecars.
Sunrisepeak pushed a commit to mcpp-community/mcpp that referenced this pull request Sep 27, 2026
kXlingsVersion and every workflow pin (check_version_pins.sh). xlings
2026.9.28.2 (openxlings/xlings#628): interface protocol 1.3 with a stream id
on download_progress, one rebuild per update, and a declared home identity
(.xlings-home), which mcpp's registry receives on its first command.
Sunrisepeak pushed a commit that referenced this pull request Sep 28, 2026
The publication of 2026.9.28.2 (#628) and the sandbox readings of mcpp's verify-published.sh against 2026.9.28.1 and 2026.9.28.2, appended to .agents/docs/2026-09-28-release-2026.9.28.2-notes.md section 4. The sub-index build scripts' frames off a terminal are recorded as found after the release (#629).
Sunrisepeak pushed a commit to mcpp-community/mcpp that referenced this pull request Sep 28, 2026
…eader tracking on every host, one statement per fact, and conditional tables by specificity (#730)

The mcpp part of the 2026-09-28 ecosystem design
(.agents/docs/2026-09-28-ecosystem-design-and-optimisation-plan.md, tasks M1-M9;
section 8 records the implementation).

- WS1: the files beside a PE program are decided by mcpp.build.runtime_placement:
  declared outranks toolchain, which outranks derived; the MSVC C++ runtime is
  one versioned set read from VERSIONINFO, the toolset's unless a complete,
  strictly newer set is offered; a dependency's copy is stated once as a
  packaging fault; the contract governs whether the set is carried, and a
  runtime file declared under host-coupled is refused. The plan, place-dlls
  (--crt, --toolset-crt) and mcpp pack read one answer; resolution.json
  records it.
- WS1/D3: every action of an MSVC-ABI build has the toolset's runtime directory
  first on PATH (__action --path-prepend), so each action re-runs once after
  the upgrade. Measured with the system's runtime hidden: Qt's moc.exe and
  lrelease.exe start from a payload without a copy as actions of this version,
  on a Visual Studio row and on a masked row with a managed toolset.
- WS2: a GNU depfile for every GNU-dialect compiler on every host.
- WS3: mcpp.diag prints a fact once per process; notes are a severity; a word
  inherited from [workspace.build] is attributed there; an edge's success-time
  statements go through .mcpp-advice and are reported once on the full and the
  fast path (SPEC-007 R4.5).
- D7 (#728): matching conditional tables apply by selector specificity.
- WS8: self env --format json reports defaultToolchain; the docs tables are
  checked against it on each CI host.
- WS7 (#729): check_workflow_assertions.py; pipefail on piped builds; the LLVM
  self-build on [email protected] and the function-size gate after it; known-red legs
  name their issue.
- WS10: release canaries gating the tag, tests/release/verify-published.sh, and
  the pull-request template's intersection table.
- The xlings pin moves to 2026.9.28.2 (openxlings/xlings#628).

Closes #728. Closes #729.
@Sunrisepeak Sunrisepeak added the ai-and-human AI did most of the work; a person directed it and interacted briefly label Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ai-and-human AI did most of the work; a person directed it and interacted briefly

Projects

None yet

2 participants