Skip to content

fix(terminal): inline CI-poller hint instead of dead skill_view pointer - #85984

Draft
steveonjava wants to merge 3 commits into
NousResearch:mainfrom
steveonjava:fix/ci-poller-hint-dead-skill-ref
Draft

fix(terminal): inline CI-poller hint instead of dead skill_view pointer#85984
steveonjava wants to merge 3 commits into
NousResearch:mainfrom
steveonjava:fix/ci-poller-hint-dead-skill-ref

Conversation

@steveonjava

@steveonjava steveonjava commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

The homebrew CI-poller hint in terminal_tool told agents to run
skill_view(name='github/github-pr-workflow', file_path='references/green-ci-policy.md')
for the full write-up. That file never existed, so every agent who
hit the hint and followed it got a dead pointer instead of guidance.

Inlined the exit-code and column-2-awk snippets directly into the
hint string instead of adding a new skill file. A skill created
solely to satisfy one hint, while roughly two dozen other dead
pointers to the same imaginary skill still exist elsewhere in the
repo, would manufacture a real file to justify a broken convention.
The hint now stands on its own.

Restored the three tests removed by 3997561 (statusCheckRollup
shape firing the hint, gh pr checks | jq shape firing the hint,
canonical awk-on-tabs / exit-code-driven shapes NOT false-positiving),
plus added independent adversarial coverage for edge cases: jq
appearing as a substring of another word must not false-positive,
foreground-only statusCheckRollup must not fire, and multiple
qualifying signals in one command still fire exactly once.

Refs #31329, #31448, #31695, #31709, #31745, #32264, #33131
Supersedes #83029

The homebrew-CI-poller hint in terminal_tool told agents to run
skill_view(name='github/github-pr-workflow', file_path='references/green-ci-policy.md')
for the full write-up. That file never existed, so every agent who
hit the hint and followed it got a dead pointer instead of guidance.

I inlined the exit-code and column-2-awk snippets directly into the
hint string instead of adding a new skill file. Stephen's call on
this: a skill created solely to satisfy one hint, while roughly two
dozen other dead pointers to the same imaginary skill still exist
elsewhere in the repo, would manufacture a real file to justify a
broken convention. The hint now stands on its own.

I restored the three tests removed by 3997561: the statusCheckRollup
shape firing the hint, the `gh pr checks | jq` shape firing the hint,
and the canonical awk-on-tabs and exit-code-driven shapes NOT
false-positiving. Updated the assertions and docstrings to describe
green-ci-policy as the named convention the hint documents inline,
not a file to go read.
Independent edge-case coverage on top of the 4 restored tests: jq-substring
false-positive guard, foreground-only statusCheckRollup non-fire, and
single-fire dedup when multiple qualifying signals appear in one command.
@alt-glitch alt-glitch added type/bug Something isn't working P3 Low — cosmetic, nice to have tool/terminal Terminal execution and process management labels Aug 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

P3 Low — cosmetic, nice to have tool/terminal Terminal execution and process management type/bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants