Repository navigation
docs: add product user stories (docs/user-stories.md) - #9
Merged
Merged
Conversation
Covers 5 user roles (visitor, regular user, sharer, enterprise admin, enterprise member) with goals/pain points, standard 'As a / I want / so that' stories with acceptance criteria, 4 key user journeys (public: register->consume, share->earn; enterprise: admin configure->employees use, employee consume->request top-up), and 12 edge/exception scenarios. Aligned with docs/architecture.md and the ui/ prototype.
13 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds the product user-stories document
docs/user-stories.md— the core product-design reference for future UI/backend implementation.This addresses the host rant 2026-08-14T20:04:34 ("编写产品用户故事(User Stories)— 从不同用户角色视角描述使用流程").
Related Issue
N/A (host instruction rant)
Changes
As a … / I want … / so that …) with Acceptance Criteria, covering the core loops (register → get points → consume; list key → consumed → earn; enterprise configure → allocate → use) and key operations (marketplace search/filter/sort, sharing pause/delete, transactions, API Key CRUD+copy, member top-up, department management, usage reports)Tests
cargo testpasses (1 passed)cargo fmt --checkpasses