Decompose: Feature: "Little Black Book" mode — locked private vault for discreet contacts — Phase 4: Discreet entry point + auto-lock timer #142
Labels
No labels
blocked:depends-p1
blocked:gate-research
blocked:lint-failed
blocked:needs-decision
blocked:needs-human
blocked:verify-failed
bug
data-loss
documentation
enhancement
feature-request
in-progress
needs-decompose
needs-triage
pwa
quickfix
security
security/high
security/medium
test
test-coverage
triage-approved
vault
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Mark/kimi_agent_kin_app_sync#142
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?
Phase 4: Discreet entry point + auto-lock timer
Goal: Vault entry is not labeled "Little Black Book" or "Vault." Auto-lock when the app goes to background, with configurable delay.
Approach candidates:
App.addListener("appStateChange", …)) records background timestamp. On resume, if elapsed > delay and vault is unlocked, lock it.vault.autoLockDelay = "immediate" | "1min" | "5min". Default1min.Outputs:
Appbackground/resume wiring insrc/vault/lifecycle.ts.src/screens/Settings.tsx(delay radio).Acceptance criteria:
immediate→ background → resume → vault locked.5min→ background 30s → resume → vault still unlocked.appStateChangeevents with faked timestamps; verify unlock-state transitions.Files touched:
src/screens/Settings.tsx,src/App.tsx(lifecycle wiring),src/vault/lifecycle.ts(new).Decomposed from kimi_agent_kin_app_sync#26