Add agent target selection to installer#2
Draft
ytubecoder wants to merge 1 commit into
Draft
Conversation
e919890 to
27b084f
Compare
ytubecoder
added a commit
that referenced
this pull request
May 12, 2026
…review #2) update_pane_capture was always setting last_captured_at = now(), so the capture worker passed prev_time ≈ 2s ago into classify_attention on every cycle. The 30s PANE_IDLE_THRESHOLD_S was never reached, so idle/question states never fired. Fix: read current tail and last_captured_at before writing; only refresh last_captured_at when tail_text actually changes, or when it is NULL. Adds three TDD regression tests covering: stable ts on identical tail, advancing ts on changed tail, and end-to-end idle classification after backdate-simulated elapsed time. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
--target auto|claude|codex|both|noneto the installer.$CODEX_HOME/skillsor~/.codex/skillswhile preserving the existing runtime under~/.claude/ticket-takeaway.Validation
python3 -m py_compile install.pyHOME=/tmp/tt-smoke.JRgM5y CODEX_CI=1 python3 install.py --target auto --no-seedNot Run
python3 -m pytest tests/test_install_targets.pybecause pytest is not installed in this environment.