AltimateAI / AltimateAI/data-engineering-skills
Remove `< /dev/null` workaround once min altimate-code version includes stdin-wedge fix
- 主要语言
- 没有语言数据
- 星标
- 122
- 派生
- 10
- PR 合并指标
- 30 天内没有已合并 PR
描述
## 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:
```bash
altimate-code run "" --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](https://github.com/AltimateAI/altimate-code/issues/934).
The proper fix is the source-side guard in [AltimateAI/altimate-code#935](https://github.com/AltimateAI/altimate-code/pull/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:
```bash
altimate-code --version | || {
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
- Original bug: [altimate-code#934](https://github.com/AltimateAI/altimate-code/issues/934)
- Source-side fix: [altimate-code#935](https://github.com/AltimateAI/altimate-code/pull/935)
- Catalog entry: `plugin-skill-experiments/03-issues-and-fixes.md` Issue #3
贡献指南
评估
这个 Issue 还没有评估数据。