How major-solutions/reqlite works
reqlite is a requirements-management engine and Claude Code plugin: users author requirements as linked Markdown files, then run local structural checks and reports, optionally followed by isolated LLM review. The graph preserves distinct authoring, graph analysis, code traceability, review, and project setup capabilities. Edges reflect README statements and the supplied source excerpts or index references; unsampled implementations and hook wiring are not inferred.
Main entry points: cli.py CLI · review.py Isolated review runner · items.py Item parser · graph.py Dependency graph
Components 20
Requirements model
- Item parser
src/reqlite/items.py - Hidden-text detection
src/reqlite/hidden.py - Dependency graph
src/reqlite/graph.py - Link extraction
src/reqlite/references.py
Local analysis
- Structural analyses
src/reqlite/analyses.py - Dimension queries
src/reqlite/query.py - Integrity and commit check
src/reqlite/check.py - Ruleset validation
src/reqlite/ruleset_check.py
Code traceability
- Code justification scanner
src/reqlite/fences.py - Observed trace comparison
src/reqlite/trace.py
Inferential review
- Context compiler
src/reqlite/compile.py - Isolated review runner
src/reqlite/review.py - Copilot review mode
src/reqlite/copilot.py - Finding parser
src/reqlite/parse.py
Project integration
- CLI
src/reqlite/cli.py - Project initialization
src/reqlite/scaffold.py - Ruleset library
src/reqlite/rulesets - Commit hook configuration
hooks/hooks.json
Other components
- Engineer
- Language model
Connections 21
- Engineer → CLI: runs commands
README.md - CLI → Item parser: loads items
src/reqlite/cli.py - CLI → Dependency graph: builds graph
src/reqlite/cli.py - Item parser → Hidden-text detection: detects hidden text
src/reqlite/items.py - Dependency graph → Link extraction: extracts links
src/reqlite/graph.py - CLI → Structural analyses: runs analysis
src/reqlite/cli.py - Structural analyses → Dimension queries: evaluates queries
src/reqlite/analyses.py - CLI → Integrity and commit check: runs checks
src/reqlite/cli.py - CLI → Ruleset validation: validates ruleset
src/reqlite/cli.py - CLI → Project initialization: initializes project
src/reqlite/cli.py - Project initialization → Ruleset library: copies defaults
README.md - CLI → Observed trace comparison: compares trace
src/reqlite/cli.py - Observed trace comparison → Code justification scanner: uses code fences
src/reqlite/trace.py - CLI → Isolated review runner: starts review
src/reqlite/cli.py - Isolated review runner → Context compiler: assembles context
src/reqlite/review.py - Isolated review runner → Copilot review mode: dispatches optional mode
src/reqlite/review.py - Isolated review runner → Language model: sends review prompt
README.md - Language model → Finding parser: returns findings
README.md - CLI → Finding parser: parses findings
src/reqlite/cli.py - Commit hook configuration → Integrity and commit check: invokes commit check
- Engineer → Commit hook configuration: commits changes
README.md