slop-approve only sees pending requests: once a request is approved, it disappears, and there's no way to follow its build, copies and activation from the terminal. The web app shows all of that (since #22).
Proposal
The broker: a new ApproveRequest::Running, answered with the running requests from runs::Runs: id, requester, summary and each phase's latest Progress.
slop-approve list: running requests below the pending ones, each with its status line (Run::status), like building: 37/120 derivations (firefox-147.0), 4m 10s.
Interactive mode: while waiting for requests, show running ones with the bars from slop (terminal::Board), updated every second; a new pending request takes over as now.
Afterwards (maybe):slop-approve show <id> for a finished request, with how each phase ended, as the web app's request page shows it.
Open questions
Is polling once a second enough, or should the approver socket get a stream of changes like the web app's /events?
Should --json cover the running list?
Other gaps compared with the web app
Not part of this issue, but for reference:
Requests that need a passkey can't be answered from slop-approve.
Notifications are only the terminal bell while interactive mode is open.
show prints details as one block; the web app folds sections.
slop-approve stays a separate binary (slop-broker approve), not a slop subcommand: slop is the agents' tool.
`slop-approve` only sees pending requests: once a request is approved, it disappears, and there's no way to follow its build, copies and activation from the terminal. The web app shows all of that (since #22).
## Proposal
- **The broker:** a new `ApproveRequest::Running`, answered with the running requests from `runs::Runs`: id, requester, summary and each phase's latest `Progress`.
- **`slop-approve list`:** running requests below the pending ones, each with its status line (`Run::status`), like `building: 37/120 derivations (firefox-147.0), 4m 10s`.
- **Interactive mode:** while waiting for requests, show running ones with the bars from `slop` (`terminal::Board`), updated every second; a new pending request takes over as now.
- **Afterwards (maybe):** `slop-approve show <id>` for a finished request, with how each phase ended, as the web app's request page shows it.
## Open questions
- Is polling once a second enough, or should the approver socket get a stream of changes like the web app's `/events`?
- Should `--json` cover the running list?
## Other gaps compared with the web app
Not part of this issue, but for reference:
- Requests that need a passkey can't be answered from `slop-approve`.
- Notifications are only the terminal bell while interactive mode is open.
- `show` prints details as one block; the web app folds sections.
`slop-approve` stays a separate binary (`slop-broker approve`), not a `slop` subcommand: `slop` is the agents' tool.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
slop-approveonly sees pending requests: once a request is approved, it disappears, and there's no way to follow its build, copies and activation from the terminal. The web app shows all of that (since #22).Proposal
ApproveRequest::Running, answered with the running requests fromruns::Runs: id, requester, summary and each phase's latestProgress.slop-approve list: running requests below the pending ones, each with its status line (Run::status), likebuilding: 37/120 derivations (firefox-147.0), 4m 10s.slop(terminal::Board), updated every second; a new pending request takes over as now.slop-approve show <id>for a finished request, with how each phase ended, as the web app's request page shows it.Open questions
/events?--jsoncover the running list?Other gaps compared with the web app
Not part of this issue, but for reference:
slop-approve.showprints details as one block; the web app folds sections.slop-approvestays a separate binary (slop-broker approve), not aslopsubcommand:slopis the agents' tool.