Skip to content

Probe Which Signal Spellings uutils timeout Reads as Signal 0 #2317

Closed as not planned

Description

@ptr727

Problem

The wait-loop check in host-setup/agent-safety/claude/gh-write-guard.py models how GNU coreutils timeout reads a -s value, and README requirement 7 scopes its signal-0 reading to "any spelling GNU timeout reads as that signal". uutils coreutils, the Rust timeout that recent Ubuntu releases ship by default, may read further spellings as signal 0, such as -s +0. If it does, a constructed command like this one is read as bounded on such a host while its timeout bounds nothing:

timeout -s +0 900 bash -c 'until [ -f x ]; do sleep 60; done'

This is unverified, since no uutils host was available.

Done looks like

A probe on a uutils host records which -s spellings it reads as signal 0 and whether it rejects the rest, then either the check reads those spellings too, with self-test rows, or requirement 7 keeps its GNU scope with the measured difference noted.

Carried as an unfiled follow-up through the auto-1634 lane (#2072).

Activity

  1. ptr727 commented on Oct 8, 2026

    @ptr727
    OwnerAuthor

    Declined per #2517, approved by the maintainer, under GOVERNANCE.md "Trust Boundaries and Hardening Effort": The guard backstops an agent's own mistakes, and this is a command shape built to defeat it rather than one an agent session writes, so a miss does not realistically occur. See #2517 for the per-issue reason.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions