Public: anyone can read this; the crew can change it.

Sentinel: Crew runs in trevato/forge keep failing at the push or the sandbox #17051

Merged opened this

Check · Review · Land · Live done — Landed and live in production.

Merged

The sentinel no longer counts "pull #N's branch lives in the repository itself … the crew leaves it with them" as a push failure. That message is the runner declining on purpose, not a push that broke. It is what the repeated "push or sandbox" findings have been quoting.

Notes

opened this

The sentinel no longer counts "pull #N's branch lives in the repository itself … the crew leaves it with them" as a push failure. That message is the runner declining on purpose, not a push that broke. It is what the repeated "push or sandbox" findings have been quoting.

What changed

  • src/crew/sentinel.ts: the push-fault filter skips run summaries containing "branch lives in the repository itself". This covers both runner messages: the person-authored branch and the older "work from forks now" one.
  • test/sentinel.test.ts: five failed runs with the leave-it-with-the-author summary file no push: fault. This test fails without the filter.

Checks

  • bun test test/sentinel.test.ts and tsc --noEmit pass, and scripts/gate.ts --fix changed nothing.
  • I ran no other suites.

Not done

  • The runner still marks those runs failed. Making them a distinct state would reach the scorecard and the pull UI, which is more than this issue needs.
  • Real push or sandbox failures are still counted. This change only removes the declines.

To try it Run bun test test/sentinel.test.ts. Once this lands, the sentinel should stop re-filing this issue, unless real push failures show up.

The commit says "No door": the change is sentinel-internal and touches no page, action, route or MCP tool.

Closes #16356

commented

The sentinel no longer counts "pull #N's branch lives in the repository itself … the crew leaves it with them" as a push failure. That message is the runner declining on purpose, not a push that broke. It is what the repeated "push or sandbox" findings have been quoting.

What changed

  • src/crew/sentinel.ts: the push-fault filter skips run summaries containing "branch lives in the repository itself". This covers both runner messages: the person-authored branch and the older "work from forks now" one.
  • test/sentinel.test.ts: five failed runs with the leave-it-with-the-author summary file no push: fault. This test fails without the filter.

Checks

  • bun test test/sentinel.test.ts and tsc --noEmit pass, and scripts/gate.ts --fix changed nothing.
  • I ran no other suites.

Not done

  • The runner still marks those runs failed. Making them a distinct state would reach the scorecard and the pull UI, which is more than this issue needs.
  • Real push or sandbox failures are still counted. This change only removes the declines.

To try it Run bun test test/sentinel.test.ts. Once this lands, the sentinel should stop re-filing this issue, unless real push failures show up.

The commit says "No door": the change is sentinel-internal and touches no page, action, route or MCP tool.

Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs