Skip to content

Remove < /dev/null workaround once min altimate-code version includes stdin-wedge fix #11

Description

@sahrizvi

Context

The altimate-code skill's documented invocations are about to be patched (in the companion PR) to append < /dev/null to every altimate-code run call:

altimate-code run "<task>" --yolo --output /tmp/altimate-result.md --dir "$(pwd)" < /dev/null

This is a transitional workaround for an upstream bug: altimate-code run wedges silently on inherited stdin when invoked as a subprocess (Claude Code's Bash tool, CI, Python subprocess.run(..., stdin=None)). Bun.stdin.text() waits forever for an EOF that never arrives. Full repro: AltimateAI/altimate-code#934.

The proper fix is the source-side guard in AltimateAI/altimate-code#935 — once that PR is merged and a release ships, the < /dev/null workaround is no longer needed for users on that release or later.

Action when #935 ships

Once a tagged altimate-code release containing the fix is available:

  1. Identify the release version (e.g. v0.8.8 or v0.9.0, whatever ends up shipping it).
  2. Replace the < /dev/null redirect in each altimate-code run invocation in skills/altimate-code/SKILL.md with a min-version prereq check in the existing "Prerequisite Check" section. Sketch:
    altimate-code --version | <semver-ge X.Y.Z check> || {
      echo "altimate-code >= X.Y.Z required (older versions wedge on inherited stdin)"; exit 1;
    }
  3. Remove the HTML comments next to each invocation (they point back here).
  4. Close this issue with a link to the cleanup PR.

Why not skip the band-aid and only do the min-version bump?

Until the release ships and most users have upgraded, the band-aid protects every existing user from the silent wedge. Costs ~10 characters of token tax per invocation; saves real users from a hang that takes ~5 minutes to diagnose.

Tracked elsewhere

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