Skip to content

:install-user installs a stale out/release binary when the reseed battery exits green by :sources-green without building #3017

Closed

Description

@ehartford

Observed 2026-11-03 after merging stack #3008. The reseed worktree (~/.local/with-staging/reseed, detached at main) still held yesterday's out/. with run tools/battery.w exited GREEN at once: the committed sources already had a published green (the stack top's battery, identical tree), so :sources-green skipped every lane. Then out/release/bin/with build :install-user printed "verified against last-green" and installed yesterday's binary: ~/.local/bin/with had no chunks, no Iter.empty, none of the day's std.

The green is keyed on sources (D49/D50), but the install verified the sources, not the binary: nothing checked that out/release/bin/with was built from the tree whose green it cites. Done when :install-user refuses a release binary whose recorded build inputs (its embedded commit or source digest) differ from the green's key, with a message naming src/main build. The reseed recipe in AGENTS.md (git pull, src/main build, :install-user) was right; the shortcut I took (battery, then install) is what the check must refuse.

Activity

  1. added a commit that references this issue on Nov 7, 2026
  2. ehartford commented on Nov 7, 2026

    @ehartford
    ContributorAuthor

    Fixed in #3056 (merged as afbdbb1).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions