idip: standing-suspend-remove — revocation is standing: suspend, remove, re-admit #785

Closed
opened 2026-08-25 04:27:27 +00:00 by ben · 2 comments
Owner

Parent

Feature spec: #767 (idip; wayfinder map #725).

What to build

Standing under IDIP (ADR 0198): the registry TEL is the sole source of truth. Suspend = revoke the membership ACDC + the auth-gate deny projection kills sessions fleet-wide (ADR 0074's shape) + the bridge refuses new tokens and refreshes — a missed kill bounded to one access-token hour. Removal = the same revocation + archiving the roster entry, with the honest wording that the AID and its KELs persist (KERI working as designed; the audit trail) — removal un-members, it cannot erase. Re-admission is a fresh issuance: TELs never un-revoke. The kanidm-tier member states (waiting/active/suspended/removed) read identically on the operator surface.

Acceptance criteria

  • (story 22) Given an active member, when a steward suspends, then the ACDC revokes, gate sessions die fleet-wide, and the bridge refuses tokens and refreshes.
  • (story 17) Given the suspension, then the exposure window is bounded to one access-token hour (refresh always re-checks).
  • (story 23) Given a removal, then revocation + roster archive land and the surface states plainly that identity history persists.
  • (story 23) Given a re-admission, then it is a fresh issuance — the old TEL stays revoked.

Blocked by

  • #782 — idip:steward-approve-issue
  • #776 — idip:idss-idp-bridge
  • members:suspend (#60 arc) (done — satisfied)
  • members:removal-fates (done — satisfied)

Task manifest

task: idip:standing-suspend-remove
interface: 'suspend/remove/re-admit on the IDIP substrate: revoke + deny-projection kill + bridge refusal;
  roster archive with honest persistence wording; re-admission as fresh issuance'
seam: member-port suspend/removal contract against the keria binding + bridge refusal assertions (token,
  refresh) + gate projection kill, on the real packaged stack
acceptance:
- given: an active member
  when: suspended
  then: revoke + fleet-wide session kill + bridge refusal; ≤1h exposure
- given: a removal
  when: it completes
  then: revocation + roster archive + honest history wording
- given: a re-admission
  when: it runs
  then: fresh issuance; old TEL stays revoked
depends_on:
- steward-approve-issue
- idss-idp-bridge
- members:suspend
- members:removal-fates
out_of_scope:
- komiti revocation — komiti-credentials
- mail held/archived states (no mail on IDIP-v1)
needs_human_decision: []
## Parent Feature spec: #767 (idip; wayfinder map #725). ## What to build Standing under IDIP (ADR 0198): the registry TEL is the sole source of truth. Suspend = revoke the membership ACDC + the auth-gate deny projection kills sessions fleet-wide (ADR 0074's shape) + the bridge refuses new tokens and refreshes — a missed kill bounded to one access-token hour. Removal = the same revocation + archiving the roster entry, with the honest wording that the AID and its KELs persist (KERI working as designed; the audit trail) — removal un-members, it cannot erase. Re-admission is a fresh issuance: TELs never un-revoke. The kanidm-tier member states (waiting/active/suspended/removed) read identically on the operator surface. ## Acceptance criteria - [ ] (story 22) Given an active member, when a steward suspends, then the ACDC revokes, gate sessions die fleet-wide, and the bridge refuses tokens and refreshes. - [ ] (story 17) Given the suspension, then the exposure window is bounded to one access-token hour (refresh always re-checks). - [ ] (story 23) Given a removal, then revocation + roster archive land and the surface states plainly that identity history persists. - [ ] (story 23) Given a re-admission, then it is a fresh issuance — the old TEL stays revoked. ## Blocked by - #782 — idip:steward-approve-issue - #776 — idip:idss-idp-bridge - members:suspend (#60 arc) (done — satisfied) - members:removal-fates (done — satisfied) ## Task manifest ```yaml task: idip:standing-suspend-remove interface: 'suspend/remove/re-admit on the IDIP substrate: revoke + deny-projection kill + bridge refusal; roster archive with honest persistence wording; re-admission as fresh issuance' seam: member-port suspend/removal contract against the keria binding + bridge refusal assertions (token, refresh) + gate projection kill, on the real packaged stack acceptance: - given: an active member when: suspended then: revoke + fleet-wide session kill + bridge refusal; ≤1h exposure - given: a removal when: it completes then: revocation + roster archive + honest history wording - given: a re-admission when: it runs then: fresh issuance; old TEL stays revoked depends_on: - steward-approve-issue - idss-idp-bridge - members:suspend - members:removal-fates out_of_scope: - komiti revocation — komiti-credentials - mail held/archived states (no mail on IDIP-v1) needs_human_decision: [] ```

swarm-claim host=elitebook-distributed-server-03 run=10599
(automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=elitebook-distributed-server-03 run=10599 (automated multi-host claim — lowest live claim id works this ticket)

close-report for #785 — status success

✅ close-report gates passed — every claim verified against main; issue closed.

envelope
{
  "issue": 785,
  "status": "success",
  "commits": [
    "abd40356808d76eb68e3601bc5b2d3eb350c959c"
  ],
  "changed_files": [
    "STATUS.md",
    "internal/idp/standing_seam_test.go",
    "internal/keria/registry.go",
    "internal/keria/standing.go",
    "internal/keria/standing_test.go"
  ],
  "tests": [
    {
      "command": "go test -count=1 ./internal/keria/",
      "exit_code": 0
    },
    {
      "command": "go test -count=1 ./internal/idp/",
      "exit_code": 0
    },
    {
      "command": "go build ./...",
      "exit_code": 0
    }
  ],
  "criteria": {
    "story 22 — active member, suspend: ACDC revokes, gate sessions die fleet-wide, bridge refuses tokens and refreshes": "keria.Standing.Suspend (internal/keria/standing.go) fires gate.Deny then AnchorRevocation+ConfirmReceipt so IsIssued reads false; TestStanding_Suspend_RevokesKillsSessionsRefusesBridge asserts IsIssued=false + gate.NextRequestDenied + status suspended; TestSeam_Suspend_KeriaBinding_RefusesRefresh_BoundedToAccessHour + TestSeam_Suspend_KeriaBinding_RefusesNewToken drive the REAL bridge (IsIssued bound to keria.Registry) and assert the refresh is refused and a fresh sign-in mints no token",
    "story 17 — suspension: exposure window bounded to one access-token hour (refresh always re-checks)": "gate.Deny fires first as the instant fleet-wide kill; the bridge's every-refresh IsIssued re-check refuses renewal; TestSeam_Suspend_KeriaBinding_RefusesRefresh_BoundedToAccessHour asserts expires_in<=3600 on the live access token and the post-suspend refresh refused",
    "story 23 — removal: revocation + roster archive + surface states plainly identity history persists": "keria.Standing.Remove revokes + kills + SetArchived(true); RemovalPersistenceCopy states the AID and KELs persist (removal un-members, cannot erase); TestStanding_Remove_RevokesArchivesKeepsHistoryHonest asserts Archived + status removed + honest wording + AID untouched",
    "story 23 — re-admission is a fresh issuance, old TEL stays revoked": "keria.Standing.Readmit runs AnchorIssuance(newSAID)+ConfirmReceipt + clears archive + gate.Allow; TestStanding_Readmit_IsAFreshIssuanceOldTELStaysRevoked and TestSeam_Readmit_KeriaBinding_FreshIssuanceAdmitsAgain assert the new SAID issues, the old SAID stays revoked, and the re-issued member signs in again"
  },
  "summary": "IDIP-tier suspend/remove/re-admit lifecycle on the keria binding — revoke + auth-gate deny-kill + bridge refusal (token+refresh), roster archive with honest persistence wording, and re-admission as a fresh issuance — proven at the member-port seam and against the real packaged bridge.",
  "blockers": []
}
**close-report** for #785 — status `success` :white_check_mark: **close-report gates passed** — every claim verified against main; issue closed. <details><summary>envelope</summary> ```json { "issue": 785, "status": "success", "commits": [ "abd40356808d76eb68e3601bc5b2d3eb350c959c" ], "changed_files": [ "STATUS.md", "internal/idp/standing_seam_test.go", "internal/keria/registry.go", "internal/keria/standing.go", "internal/keria/standing_test.go" ], "tests": [ { "command": "go test -count=1 ./internal/keria/", "exit_code": 0 }, { "command": "go test -count=1 ./internal/idp/", "exit_code": 0 }, { "command": "go build ./...", "exit_code": 0 } ], "criteria": { "story 22 — active member, suspend: ACDC revokes, gate sessions die fleet-wide, bridge refuses tokens and refreshes": "keria.Standing.Suspend (internal/keria/standing.go) fires gate.Deny then AnchorRevocation+ConfirmReceipt so IsIssued reads false; TestStanding_Suspend_RevokesKillsSessionsRefusesBridge asserts IsIssued=false + gate.NextRequestDenied + status suspended; TestSeam_Suspend_KeriaBinding_RefusesRefresh_BoundedToAccessHour + TestSeam_Suspend_KeriaBinding_RefusesNewToken drive the REAL bridge (IsIssued bound to keria.Registry) and assert the refresh is refused and a fresh sign-in mints no token", "story 17 — suspension: exposure window bounded to one access-token hour (refresh always re-checks)": "gate.Deny fires first as the instant fleet-wide kill; the bridge's every-refresh IsIssued re-check refuses renewal; TestSeam_Suspend_KeriaBinding_RefusesRefresh_BoundedToAccessHour asserts expires_in<=3600 on the live access token and the post-suspend refresh refused", "story 23 — removal: revocation + roster archive + surface states plainly identity history persists": "keria.Standing.Remove revokes + kills + SetArchived(true); RemovalPersistenceCopy states the AID and KELs persist (removal un-members, cannot erase); TestStanding_Remove_RevokesArchivesKeepsHistoryHonest asserts Archived + status removed + honest wording + AID untouched", "story 23 — re-admission is a fresh issuance, old TEL stays revoked": "keria.Standing.Readmit runs AnchorIssuance(newSAID)+ConfirmReceipt + clears archive + gate.Allow; TestStanding_Readmit_IsAFreshIssuanceOldTELStaysRevoked and TestSeam_Readmit_KeriaBinding_FreshIssuanceAdmitsAgain assert the new SAID issues, the old SAID stays revoked, and the re-issued member signs in again" }, "summary": "IDIP-tier suspend/remove/re-admit lifecycle on the keria binding — revoke + auth-gate deny-kill + bridge refusal (token+refresh), roster archive with honest persistence wording, and re-admission as a fresh issuance — proven at the member-port seam and against the real packaged bridge.", "blockers": [] } ``` </details>
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
Matou/idss#785
No description provided.