8000 Fix two macOS-only bugs from the release run; record run 35 by adeelahmad · Pull Request #57 · adeelahmad/aloop · GitHub
[go: up one dir, main page]

Skip to content

Fix two macOS-only bugs from the release run; record run 35 - #57

Merged
adeelahmad merged 1 commit into
masterfrom
claude/project-thread-qerfr9
Oct 19, 2026
Merged

adeelahmad merged 1 commit into
masterfrom
claude/project-thread-qerfr9

Conversation

@adeelahmad
Copy link
Copy Markdown
Owner

Requested by Adeel · project thread

Before: the release run on Adeel's Mac hit two bugs that Linux CI never sees.

  1. budget-soft-telemetry.test.py failed. stats sprint-close compared the realpath STORY_DIR that budget contract records against the unresolved sprint dir. On macOS every temp dir is /var/..., a symlink to /private/var/..., so the comparison matched nothing and the sprint counted 0 attempts.
  2. make conformance hung when an older aloop checkout's plugin/bin was ahead on PATH. ensure-tools --resolve ctx-symbols skipped only its own bin dir, so it returned that other checkout's shim. The shim's own ensure-tools then resolved back again.

After:

  1. stats and the sprint charge in budget compare paths with a new _paths.under(), which uses realpath and a /-bounded prefix. As a side effect, sprint1 no longer matches sprint10.
  2. find_tool skips any directory that holds an ensure-tools, because that marks an aloop plugin bin whose md-db/ctx-symbols are only shims.

How: both bugs reproduce on Linux in the updated tests.

  • budget-soft-telemetry.test.py now runs its project through a symlink. It fails without the fix and passes with it.
  • ensure-tools.test.py puts a second checkout's shims ahead on PATH and asserts that --resolve skips them and finds the real binary behind them.

ROADMAP M8 records both bugs and adds a "macOS CI job" as the next item, because both were found only by hand. make ci is green.

Also recorded: run 35 (wordfreq) is the first live run since #56 with a clean environment. It recalled no memory and had its own session id. It passed 13/13 in 12m59s for $0.91, with 31 supervisor turns, 2 wakes, 0 plugin-source reads and 2 blocks, both caught by the workers' own self-checks. Those numbers are within the range of runs 27–33.


Generated by Claude Code

- stats/budget compare story dirs by realpath (_paths.under): a project
  behind a symlink (macOS /var -> /private/var) counted 0 attempts in
  stats sprint-close; also stops sprint1 matching sprint10.
- ensure-tools --resolve skips any aloop plugin bin/ on PATH: another
  checkout's ctx-symbols shim ahead on PATH made make conformance hang.
Both reproduce on Linux in the updated tests. Run 35 is the first live
run with a clean env (#56).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015QxyVf3NgwsgRyYpBgDDTC
@adeelahmad
adeelahmad merged commit 14da750 into master Oct 19, 2026
4 checks passed
adeelahmad pushed a commit that referenced this pull request Oct 19, 2026
The v0.12.0 release run on a Mac found two bugs Linux CI never saw
(#57). Run the host tests and the conformance fixtures on macos-latest
so the next one is caught before a release.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015QxyVf3NgwsgRyYpBgDDTC
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

0