### Install OpenSpec CLI Source: https://openspec.dev/ Install the OpenSpec command-line interface globally using npm. ```bash npm install -g @fission-ai/openspec@latest ``` -------------------------------- ### Example Spec Delta Source: https://openspec.dev/ Illustrates a spec delta showing changes in requirements for session expiration. This format helps understand system modifications and reviewer comprehension. ```markdown openspec/specs/auth-session/spec.md ### Requirement: Session expiration - The system SHALL expire sessions after a configured duration. + The system SHALL support configurable session expiration periods. #### Scenario: Default session timeout - GIVEN a user has authenticated - - WHEN 24 hours pass without activity + - WHEN 24 hours pass without "Remember me" - THEN invalidate the session token + #### Scenario: Extended session with remember me + - GIVEN user checks "Remember me" at login + - WHEN 30 days have passed + - THEN invalidate the session token + - AND clear the persistent cookie ``` -------------------------------- ### OpenSpec Specs Directory Structure Source: https://openspec.dev/ Shows the directory structure for OpenSpec specifications, organized by capability. This structure aids in understanding the system and maintaining context. ```bash $ tree openspec/specs/ openspec/specs/ ├── auth-login/ │ └── spec.md ├── auth-session/ │ └── spec.md ├── checkout-cart/ │ └── spec.md └── checkout-payment/ └── spec.md ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.