members: by-hand-creation — username + temp password, creating is approving #54
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
1 participant
Notifications
Due date
No due date set.
Blocks
Depends on
Reference
Matou/idss#54
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?
Parent
Feature spec: #19 (members).
What to build
Not everyone does links. From Invite (P6-S2 → S1) the operator can create a member by hand — a username and a temporary password — for someone who won't open a QR on a phone, so belonging never depends on phone habits. This path carries no approval step: the operator creating the credentials is the approval (DDR 0073). The new account exists immediately and shows the "hasn't signed in yet" status until the person's first login, at which point they are prompted to set a credential of their own. The account is created through the
memberorchestrator'sidpport (ADR 0077), and the by-hand creation is audit-logged like every other lifecycle action.Acceptance criteria
Blocked by
Task manifest
Done in commit
7b297d9— thememberorchestrator's create-by-hand face (DDR 0073 + ADR 0077, story 15).What was built (
internal/member/):CreateByHand(actor, ByHandSpec)— mints a plain-member account (username + temp password) through theidpport's new runtimeCreatePersonverb, landing directly in the "hasn't signed in yet" state (StatusNeverSignedIn) with no approval step — creating is approving. Always a plain member; the operator role is granted later in member detail, never through creation.created=false— never a duplicate person, never a second audit entry.Audithook (ActionCreate, operator-attributed; an unattributed create is refused before anything is written).FirstLogin(personID)transitions "hasn't signed in yet" → active on the person's first sign-in and prompts a credential of their own (PromptCredential); only the first login prompts — later logins are quiet no-ops.idpport +FakeIDPgrewCreatePerson(idempotent, temp-credential tracked viaCredential()).Acceptance (story 15) ✓ — the account needs no approval, shows "hasn't signed in yet" until first login, and first login prompts a credential of their own.
Evidence: 6 new seam tests in
internal/member/byhand_test.go(no-approval landing, first-login prompt + go-active, unknown-member, idempotent-never-duplicates, audited+attributed, requires-username+temp-password).go/vet/gofmt/golangci-lint clean.Out of scope (their own slices): invite-based signup/approval, invite minting, member detail/reset, outbound notifications.