Repository navigation
feat: global /autodream skill, shared tmo/repo_slug, validated noise-gate knobs - #158
Merged
Merged
Conversation
Both were byte-identical in prune-worktrees.sh and triage-candidates.sh. tests/portable.sh now pins them.
…comments AUTODREAM_MIN_USER_TURNS and AUTODREAM_MIN_MINUTES went to jq --argjson with stderr discarded, so a non-number gated nothing and sent every session to a model. They are checked at startup now, with a test. Seven comments that narrated a past change now state the constraint.
install.sh links skills/autodream into the skills dir (--no-skill skips it, AUTODREAM_SKILLS_DIR moves it). pending-triage.sh prints 'now triaging N issues from dates A to B' or 'no issues to address!' from the reports that have open questions and no Triage decisions heading. review.sh and pending-triage.sh share the marker parsing through report-format.sh.
… it can run Review findings. The skill logs under Triage in progress and writes Triage decisions after the last question, so an interrupted session does not hide the rest. A custom install dir links the skill only when AUTODREAM_SKILLS_DIR is set. pending-triage.sh sources the config with nounset off, lets the environment win, and ignores future-dated reports. link() returns failure when ln -s fails, and the skill says to work in the repository a question is about, to leave a rebuilding date out of the walk, and to skip the dream off macOS.
…g slash on the install dir pending-triage.sh subtracts the decisions logged under Triage in progress, and one question always stays until the heading is renamed. install.sh compares the install dir without a trailing slash.
…of trailing slashes on the install dir
…ink, and log decisions as bullets codex-review round 1: P1 an unknown report was hidden as an empty queue, P1 a user-owned symlink was replaced, P2 plain decision lines were not counted. Swept pending-triage.sh, SKILL.md and install.sh for the same classes (unknown state treated as absence, an existing link treated as ours, writer/parser format mismatch).
This was referenced Oct 19, 2026
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
/autodreamskill. It printsnow triaging N issues from dates A to B(orno issues to address!), starts a dream throughautodream-now.sh, recommends a--dangerously-skip-permissionssession, then walks the open questions one per turn.install.shlinks it into~/.claude/skills(--no-skillopts out).tmoandrepo_slugintobin/portable.sh; they were byte-identical copies inprune-worktrees.shandtriage-candidates.sh.AUTODREAM_MIN_USER_TURNS/AUTODREAM_MIN_MINUTESat startup. Before, the noise gate passed them tojq --argjsonwith stderr discarded, so a bad value let every session through to a model call.run.shandtests/run-all.sh.New files:
bin/pending-triage.sh,bin/report-format.sh(marker parsing moved out ofreview.sh),skills/autodream/SKILL.md,tests/pending-triage.sh,tests/install-skill.sh.Status
adapter-claudeneedsps, tworeview-cmuxinteractive assertions,prune-worktreeswatchdog timing). I did not re-compare names on the last run.install.shunchanged at 2 blocks/debate:run tightDebate fixes: a half-triaged report no longer looks addressed (
## Triage in progressuntil the last question), config sourced withset +uand the environment wins, the skill is linked only where its scripts live,link()reports a failedln -s, future-dated reports are ignored, the remaining count subtracts logged decisions, a zero-padded marker (08) reads as decimal, and any run of trailing slashes on the install dir is accepted.Open follow-ups
## Triage in progressover-subtracts the remaining count (floored at 1). The skill logs one line per decision, so this is left../install.shafter merge to link the skill; the live install was not touched./debate:run tight.Test plan
TMPDIR=/tmp/cdup bash tests/run-all.shbash tests/pending-triage.sh,bash tests/install-skill.sh,bash tests/review-skip.sh/debate:run tighton the branch diff./install.shon a real~/.claude, then/autodreamin a fresh session