Skip to content

Instantly share code, notes, and snippets.

@stanislaw
Last active March 26, 2026 20:45
Show Gist options
  • Select an option

  • Save stanislaw/264328b774dad28506bdcb81d475093c to your computer and use it in GitHub Desktop.

Select an option

Save stanislaw/264328b774dad28506bdcb81d475093c to your computer and use it in GitHub Desktop.
RST for requirements management

Requirement proposal 1

UID:REQ-002
Type:Requirement
Status: Active
Relations:
  • Type: Parent Value: REQ-1 Role: Refines
  • Type: File Path: file.py Element: Function ID: hello_world Hash: 5c2e9a1b7d4f8c3a6e0b2d1f9a7c5e3b8d6f1a4c2e9b7d0f3a5c8e1b6d2f4a9
  • Type: File Path: file.rs Element: Function ID: <file::FooTuple as file::FooTrait>::bar Hash: d1f7c3a9b5e2d8f4a6c0b1e3f9a7d2c5b8e4f6a1c3d9e7b0a2f5c8d1e4b6a9f
Statement:The system shall show "Hello".
Rationale:This is a simple example.

Requirement proposal 2

  • UID: REQ-002
  • Type: Requirement
  • Status: Active
  • Relations:
    • Type: Parent, Value: REQ-1, Role: Refines
    • Type: File, Path: file.py, Element: Function, ID: hello_world, Hash: 5c2e9a...
    • Type: File, Path: file.rs, Element: Function, ID: <file::FooTuple as file::FooTrait>::bar, Hash: d1f7c3...

Statement: The system shall show "Hello".

Rationale: This is a simple example.

Requirement proposal 3

UID: REQ-002
Type: Requirement
Status: Active
Relations:
  • Type: Parent
    Value: REQ-1
    Role: Refines
  • Type: File
    Path: file.py
    Element: Function
    ID: hello_world
  • Type: File
    Path: file.rs
    Element: Function
    ID: <file::FooTuple as file::FooTrait>::bar

Statement: The system shall show "Hello".

Rationale: This is a simple example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment