Skip to content

Fleet: remote Stop, Dismissal and Undo #1765

Closed

Description

@JacobStephens2

This was generated by AI during triage.

Parent

#1142 (Spec: the Fleet in the Console). Built on #1753 (the Console API), released by #1760. Governing decision: ADR 0026.

What to build

The Day shift can Stop, make a Dismissal and Undo one on any fleet machine's row, from the Console or the CLI. The owning machine carries each action out.

  • In the Console, a remote row's Stop (with the usual confirm step), Dismiss and Undo POST to the owning machine's /api/v1, with the signed-in person named in the request header Spec: the Console API, /api/v1 behind scoped tokens #1753 defines. The owning machine's answer is shown, refusals included.
  • Controls appear on a remote row only when the effective scopes that machine's whoami reports for this person allow them (the token's scopes intersected with the person's scopes there), fetched alongside the Inbox.
  • Other-account Commands on a fleet machine show no Stop or Dismiss controls.
  • thirdshift stop and thirdshift dismiss take --machine <name>, call the owning machine's API without naming a person, and are attributed there to the token's holder.
  • The calling machine never signals another machine's processes and never writes into its logs. The Dismissal and the Activity log line live on the owning machine.

Acceptance criteria

  • Two-Console test: a signed-in Stop of a live remote fixture Command from the caller ends it on the owning machine. The owning machine's Activity log reads "by <person> from the Console on <holder>".
  • Dismiss and Undo of a remote Needs you row work the same way, and the row leaves and returns on the caller's Inbox.
  • With a read token, or a person with only read on the owning machine, remote rows show no controls, and a forced POST is refused with the owning machine's 403.
  • A person not on the owning machine's sign-in list is refused there.
  • stop --machine and dismiss --machine work, and are attributed to the token's holder.
  • Nothing is written to the caller's logs or Activity log for remote actions.
  • docs/guide.md describes acting across the Fleet.

Activity

  1. added
    enhancement
    ready-for-agent
    on Nov 5, 2026
  2. JacobStephens2 commented on Nov 6, 2026

    @JacobStephens2
    OwnerAuthor

    Closed by #1829, merged into issue-1142 by a thirdshift Ticket run with Self-merge.

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

    enhancementready-for-agent

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions