idip service access: take ONE credential off a service (unrestrict) — today it's restrict-add or open-to-all, with an open-to-everyone window between #1778
Labels
No labels
agent-blocked
agent-working
autopilot
bug
deferred
deploy-pending
enhancement
landing-pr
model-haiku
model-opus
model-sonnet
needs-design
needs-info
needs-triage
no-triage
out-of-scope
priority
ready-for-agent
ready-for-human
ready-for-session
rehearsal-183
snapshot-pending
standing-drive
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Depends on
Reference
Matou/idss#1778
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
A steward cannot take ONE credential off a restricted service. The IDIP service-access routes are only
…/access/{service}/restrict(additive — adds this credential) and…/access/{service}/open(clears EVERY restriction). To stop Kaumātua opening Files while Finance komiti keeps it, a steward must open Files to all members and then re-restrict it to Finance komiti — and for that window Files is open to every member.(
internal/controlapi/idip_service_access.go:86-124; ADR 0222, #1156.)Build
POST /api/v1/idip/credentials/{slug}/access/{service}/unrestrict— removes THIS credential from the service's opening set, leaving the others. Normalise thecommittee:<slug>/ bare-slug forms asrestrictAdditivedoes. If it was the LAST opening credential, the service does not silently become stewards-only: refuse with a 409 naming the choice ("this is the only credential opening files — open it to all members, or restrict it to another credential first"), and the UI offers exactly those two.IdipCredentialsClient.unrestrictService.idip-credentials-ui,CredentialsSurface.vue): when this credential opens the service, the "Only credential holders — current" row gains Stop this credential opening it; the last-credential case shows the two ways out instead.Acceptance
session-claim 2026-09-23 — being worked in Ben's interactive Claude session (worktree
panel-idip, branchidip-credentials-ui), not by the swarm.ready-for-agentis off andagent-working+no-triageare on for the duration so no host picks it up; the claim is released (labels restored or the ticket closed) when the session lands it.ben referenced this issue2026-09-23 19:18:13 +00:00
Built in-session: PR #1797 (branch
idip-unrestrict, stacked on #1796 /idip-credentials-uibecause the editor change sits on that branch). All three acceptance clauses covered by seam tests (controlapi + gate over the same matrix) and the dashboard suite; details + screenshots on the PR. Lands after #1796 merges — session claim released (agent-working/no-triageoff,ready-for-agentdeliberately NOT restored so the swarm does not redo it).Triage —
ready-for-humanEstablished so far:
idip-unrestrict) is up, stacked onidip-credentials-ui(base = that branch, notmain), so it lands only after #1796 / #1759 merges. PR ismergeable: trueagainst its stacked base.ready-for-agentdeliberately not restored so the swarm does not redo built work.Why human
The only residue is a human merge of PR #1797, which sits on the
landing-prbranch a human merges (ADR 0267) and lands after #1796. No agent work remains — the code exists in the PR.Considered under ADR 0174 whether to rule this two-way (e.g.
ready-for-agent/no-triage): there is no agent decision to rule — the implementation is already in a PR, and merging a stacked PR onto a human-merged landing branch is the reserved human act, not a revertible agent call. Henceready-for-human, not an agent ruling.