by-hand member can NEVER become active: story 15's FirstLogin flip is built but wired to nothing — suspend (story 19) unreachable, phase-2 regression red #789
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.
Blocks
Reference
Matou/idss#789
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?
Found by the #722 phase-2 regression drive
20260825T042104Z(24/26 green; the reporter was token-limited so this is filed from the watch). First time the by-hand → sign-in → suspend story has ever been walked end-to-end on current code (the two prior drives red'd earlier on the since-fixed #765 assertion).Failure
invite-memberleg: after the by-hand member signed in through the door (OIDC with the temp password; Files landing asserted; the story-11 admin-denial 403 graded correctly),POST /api/v1/members/e2e-member/suspend→400 {"code":"act_failed","message":"member: only an active member can be suspended"}.Root cause — story 15's activation hook is an ORPHAN
internal/member/byhand.goOrchestrator.FirstLogin("records a member's first sign-in, story 15": flipsStatusNeverSignedIn → StatusActive, returnsPromptCredential: true) has zero callers:grep -rni 'firstlogin|first-login|first_login|PromptCredential'across Go/TS/Vue finds only its own definition. No control-plane route, no forward_auth/auth-gate observation, no reconciler invokes it. A by-hand member therefore stayshasn't signed in yetFOREVER —detail.gokeepsCanGrant=false/controls disabled, andsuspend.go'sErrCannotSuspendcorrectly refuses (the switch is an active↔suspended toggle).So two stories are dead for by-hand members: story 15 (first-login activation + credential prompt) and, transitively, stories 19/20 (suspend/un-suspend — unreachable while the member can never become active).
Where the wire belongs
The natural observation point is the gateway's per-request auth-gate check (ADR 0074/0076,
refusal.gore-evaluates per request): the first authenticated forward_auth pass for aStatusNeverSignedInmember is exactly "the member signed in". Alternatives: the IdP port's session-established signal, or the existing member reconciler pass. Whichever lands, the e2e leg needs no change — it already signs the member in before suspending; a short activation-visible poll in the leg (detail read untilactive) would absorb an async wire.Blocks #722 (attached).
swarm-claim host=elitebook-distributed-server-03 run=10051
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #789 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope