whatisgithub

What is lrnev-govern?

luchangqiu/lrnev-govern — explained in plain English

Analysis updated 2026-05-18

29TypeScriptAudience · developerComplexity · 3/5Setup · easy

In one sentence

A project governance tool with a CLI and MCP server that gives AI coding assistants a persistent, file-based record of a project's requirements, tasks, and decisions.

Mindmap

mindmap
  root((lrnev))
    What It Does
      Track requirements
      Manage Specs
      Task state machine
      Architecture decisions
    Tech Stack
      TypeScript
      Node.js
      MCP server
    Use Cases
      Persistent AI memory
      Project governance
      Gate checks
    Audience
      Developers
      AI assisted teams

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Give an AI assistant persistent memory of a project's requirements and design decisions across conversations.

USE CASE 2

Track feature specs through requirements, design, and task breakdown with a gate check before implementation.

USE CASE 3

Keep an architecture decision record and error log as plain Markdown files committed to git.

USE CASE 4

Connect lrnev to Claude Code, Cursor, or any MCP-compatible client via CLI or MCP server.

What is it built with?

TypeScriptNode.jsnpmMCP

How does it compare?

luchangqiu/lrnev-governdavidhdev/rbp-portfoliodrakkar-softwares/polymarket-kalshi-arbitrage-bot
Stars292929
LanguageTypeScriptTypeScriptTypeScript
Setup difficultyeasyeasymoderate
Complexity3/52/53/5
Audiencedeveloperdesignerdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 30min

Installable globally via npm, works with Claude Code, Cursor, or any MCP or CLI compatible client.

So what is it?

lrnev is a project governance tool designed for workflows where AI assistants help write code. It provides two interfaces: a command-line tool and an MCP server that any MCP-compatible AI client can call. The goal is to give an AI assistant a persistent record of a project's requirements, design decisions, tasks, and known problems, so that opening a new conversation does not mean starting from scratch. When you initialize lrnev in a project, it creates a .lrnev directory containing plain Markdown files. These files hold the project description, architectural constraints, feature specifications (called Specs), task lists, architecture decision records, and an error log. Because everything is ordinary text, you can read it directly, commit it to git, and review it without any special tooling. A Spec is the central unit: a folder with three documents covering what to build (requirements with acceptance criteria), how to build it (design), and the list of individual tasks. The system maintains a state machine for each task, tracking whether it is pending, in progress, or completed. A gate check validates that a Spec's requirements are sufficiently complete before any implementation begins. The tools operate on these files directly without calling any language model. lrnev handles deterministic work: reading files, assigning IDs, updating task states, and checking document structure. When judgment is needed, for example whether a requirement is clear enough, it signals the AI with a follow-up prompt and leaves the decision to the AI and the user. The README describes this as "guide, not enforce" and notes that short one-off scripts do not need Specs at all. The tool is installable globally via npm and works with Claude Code, Cursor, and any other client that supports MCP or CLI access.

Copy-paste prompts

Prompt 1
Initialize lrnev in my project and create a new Spec for [describe the feature].
Prompt 2
Show me the current status of all tasks tracked in this project's .lrnev directory.
Prompt 3
Run lrnev's gate check on my latest Spec before I start implementation.
Prompt 4
Explain the difference between requirements, design, and tasks in an lrnev Spec.
Prompt 5
Set up lrnev as an MCP server for my AI client and walk me through first use.

Frequently asked questions

What is lrnev-govern?

A project governance tool with a CLI and MCP server that gives AI coding assistants a persistent, file-based record of a project's requirements, tasks, and decisions.

What language is lrnev-govern written in?

Mainly TypeScript. The stack also includes TypeScript, Node.js, npm.

How hard is lrnev-govern to set up?

Setup difficulty is rated easy, with roughly 30min to a first successful run.

Who is lrnev-govern for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.