Skip to content

babysit-loop C5 trust test classifies repository-owned automation identities as untrusted provenance #1520

Closed

Description

@kyle-sexton

Raised by chatgpt-codex-connector as a P1 on #1405 (thread); recorded here as the deferred follow-up rather than resolved in that PR.

Finding

babysit-loop/SKILL.md's rung-partition C5 trust test marks a PR C5 when authorAssociation is anything other than OWNER or MEMBER. GitHub App / bot identities are never org MEMBER accounts, so a repository-owned automation identity fails the test and its PRs are C5 — ineligible at every rung.

That excludes the org-owned automation plugins/autonomy/reference/guardrails/work-classes.md explicitly places in C2:

Dependency bumps, lint/format, sync. Deterministic and trivially reversible; input provenance is the org's own automation

Evidence

Live authorAssociation for bot-authored PRs in this repository:

1373 dependabot CONTRIBUTOR
1374 dependabot CONTRIBUTOR
1375 dependabot CONTRIBUTOR

Severity

Not a safety hole — the test fails closed, withholding merge authority rather than granting it. The practical effect today is also masked: babysit_merge.py already holds dependency-manager authors absent --allow-dependency, so dependabot PRs were held before this test existed. The gap becomes material once a configured lane bot identity authors mechanical PRs under an adopted lane.

Suggested resolution

Incorporate a concrete, reviewed internal-bot trust signal (an explicitly configured lane-identity allowlist that is not babysit_watched_owners, which is a repository-owner allowlist and would classify every internally authored PR as trusted) rather than treating every non-member association as external.

Activity

  1. added
    needs-triage
    on Jul 26, 2026
  2. added and removed
    needs-triage
    on Jul 26, 2026
  3. added theissue type on Jul 26, 2026
  4. kyle-sexton commented on Jul 26, 2026

    @kyle-sexton
    MemberAuthor

    This was generated by AI during triage.

    Triage

    Verification: confirmed by direct source read, against current main (pulled forward through
    #1405's merge, which landed mid-triage).
    babysit-loop/SKILL.md's C5 rung-partition trust test
    matches the issue verbatim: authorAssociation other than OWNER/MEMBER marks a PR C5, fail-closed,
    with no internal-bot exception. The evidence (dependabot PRs carrying CONTRIBUTOR association) is
    consistent with how GitHub reports authorAssociation for non-member accounts, and the severity
    framing (fails closed, no safety hole, currently masked by the separate dependency-manager hold) is
    accurate — verified no internal-bot allowlist exists anywhere in the source-control skills or
    config-resolution.md.

    blocked by #1525 decision. This issue and #1525 (feat(source-control): reviewed internal-bot trust signal for the babysit-loop C5 trust test) share one underlying decision: both were deferred
    from review threads on the same PR (#1405), both report the identical mechanism gap, and both
    converge on the same fix shape (a reviewed, tracked-config internal-bot trust allowlist). #1525 is
    designated the decision carrier — it lists this issue as a cluster member and carries the fuller
    acceptance criteria. This issue is linked to it via a native blocked-by edge rather than being
    separately human-gated; resolving #1525's decision resolves this issue too.

    Classification

    • Type: Bug (native Issue Type set) — a real misclassification defect in the trust test's logic,
      distinct from feat(source-control): reviewed internal-bot trust signal for the babysit-loop C5 trust test #1525's framing as the trust-signal feature request.
    • Priority: priority: medium — real value (unblocks the C2 rung for legitimate org-owned automation
      PRs going forward), no hard deadline (fails closed today; the dependency-manager hold already
      covers the practically-relevant case).

    Labels applied: priority: medium (was priority: needs-triage). Bug type set. No role label
    applied — this item is blocked, not independently routed; see the cluster note above.

    Related: #1405 (source PR, merged), #1525 (decision carrier for this cluster).

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

    Fields

    No fields configured for Bug.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions