Skip to content

Latest commit

 

History

History
2337 lines (2143 loc) · 141 KB

README.md

File metadata and controls

2337 lines (2143 loc) · 141 KB

@rness/cli

The rness command: configuration-plane CLI for rness workspaces. It resolves, validates and syncs an organisation's context for AI coding agents. Not an agent — no LLM loop.

Install

npm create rness           # asks how to start: a GitHub organization, or a blank workspace
npm create rness acme      # the organization github.com/acme, no first prompt
pnpm create rness demo --blank   # ./demo with no GitHub step; npm: npm create rness demo -- --blank
pnpm create rness          # the same with pnpm, yarn or bun: `.rness/` is
yarn create rness          # installed with the manager that ran the command
bun create rness
npm i -g @rness/cli        # the command is `rness`
npx @rness/cli --help

Inside a workspace, every rness delegates to the copy pinned in .rness/package.json.

Commands

rness create [<org>] [--provider github] [--repos a,b] [--agent claude] [--pm npm|pnpm|yarn|bun] [--ssh|--https] [--skip-install] -y
rness create <name> --blank [--agent claude] [--pm npm|pnpm|yarn|bun] [--skip-install] -y
rness add <repo> [--scopes apps/web,packages/ui] [--ssh|--https] -y
rness sync [--all] [--scope <name>] [--check] [--pull] [--agent <name>] -y
rness upgrade [<version>] -y
rness login [--setup-git|--no-setup-git]
rness logout
rness context [--scope <name>] [--json]
rness status [<tab>] [--json]
rness board push [-y]
rness note [--plan <path>] [--kind approach|deviation|blocker|done] [<text>]
rness skill add <github:owner/repo|git:url|path:dir> [--path <dir>] [--ref <ref>] [--name <name>] [--scope <scope>]
rness skill update [<name>...] [--ref <ref>] [--scope <scope>]
rness skill remove <name> [--scope <scope>]
rness skill install [<name>...] [-y]
rness skill uninstall <name>...
rness skill list
rness validate
rness mcp

create never runs inside a workspace. add, sync and create ask for confirmation in a terminal; pass -y/--yes in scripts. sync --check writes nothing and exits 1 when a block is out of date — use it in CI.

create --blank needs no GitHub organization, account or login: it writes <name>/.rness/ (a rness.json without "org", committed), an empty <name>/org/ and the root AGENTS.md and CLAUDE.md. Only the install of .rness/ goes to the network. Bring repositories in with rness add <owner>/<repo> or a git URL — a bare name needs an "org".

Status

rness status            # every decision, specification and plan, a tab per directory
rness status specs      # open on one tab (off a terminal: print only that one)
rness status --json     # one JSON object: what the Claude Code plugin draws

A tab for ADR, Specs and Plans, always, then one for each other directory of .rness/ whose Markdown files carry a status in their front matter (a marketing/ of dated posts, say). A line per document, newest first: its number (or date), its title, its status — green when done, grey when dropped, red ? when missing.

  • In a terminal, a full-screen view: ←/→ or Tab change tab, ↑/↓, PgUp/PgDn, Home/End scroll, q or Esc closes and gives the screen back. Read-only.
  • Off a terminal — a pipe, CI, an agent's tool — Markdown: a table per tab.
  • --json, terminal or not: the tabs and their rows — each row with the colour of its status on Agent Pulse (color, the board's name for it: yellow for In progress; red without a status) and its item there (link, the board filtered on its path; null without a board, or before board push creates it) — the board (pulse), and what a Claude Code session shows of the workspace, worded by the CLI — the session-start banner, the footer's label, the scope's plans In progress and the notes of the safety net (see "Hooks"). The plugin's mod reads it (see "The mod").
  • From Claude Code, /rness:status [tab] opens a pane beside the conversation when the plugin's mod is loaded (see "The mod"), and shows those tables otherwise (see "Agent targets"). Nothing started from inside Claude Code gets the terminal, so the view cannot open from there (verified with Claude Code 2.1.284 on 2026-09-29). Two ways to reach it, and the skill ends with both: in the same terminal, Ctrl+Z suspends Claude Code, run npx @rness/cli status (or rness status with a global install), q, then fg resumes it (Unix only); or in another terminal, from the workspace's .rness/, with the manager it installs with — pnpm rness status, npx rness status, yarn rness status or bunx rness status — which runs the pinned copy without the network (verified with each manager on 2026-09-30).

rness.json

.rness/rness.json is contract 2: one scopes key declares the repositories and the parts of them.

{
  "contract": 2,
  "provider": "github",
  "org": "acme",
  "agents": ["claude"],
  "boards": { "pulse": { "number": 3, "preset": "agent-pulse/1" } },
  "scopes": {
    "app": { "url": "git@github.com:acme/app.git" },
    "platform": {
      "url": "https://github.com/acme/platform.git",
      "scopes": {
        "web": { "path": "apps/web" },
        "ui": { "path": "packages/ui", "extends": ["web"] }
      }
    }
  }
}
  • A scope with a url is a repository, cloned at org/<name>. It has no path: scope "app": a repository has no path; it is org/app.
  • A scope in the scopes of a repository is a part of it. Its path is relative to its parent's directory (org/platform/apps/web above); it has no url. Parts nest.
  • A scope inherits its parent first, then the scopes in its extends, which may name any scope of the file. Naming its own parent is redundant: rness validate says so (scope "web": extends "platform" is already its parent; remove it).
  • A name is used once in the whole tree, whatever its depth (scope "web" is declared twice: under platform and under app). It is the name --scope, standards/<name>/ and the other collections use.
  • repos is not a key: the repositories are the scopes with a url. A hand edit that breaks these rules is refused by rness validate and by the Claude Code guard before it lands.

rness add platform --scopes apps/web writes platform with its url and web under it with path: "apps/web", and no extends: nesting is the inheritance. It prints declared scope platform (org/platform) and declared scope web (apps/web, in platform). A name already declared elsewhere is refused (scope "web" is already declared under app).

Agent targets

The AGENTS.md block is what every agent reads. On top of it, rness writes the files a given agent needs, for the agents the team declares in rness.json:

rness sync --agent claude     # declare claude, then write its files
rness sync                    # in a terminal, with nothing declared, asks once
{ "contract": 2, "org": "acme", "agents": ["claude"], "scopes": { … } }
  • agents is the team's: the files it produces are committed in each repository. [] means none; without the key, sync asks in a terminal and never in scripts (-y, --check). A new workspace asks with create's other questions, or takes --agent.
  • Claude Code (claude): each clone gets .claude/settings.json with ../../.rness in permissions.additionalDirectories, so a session in the repository reads the context repository without a prompt. Claude Code applies it once the repository has been trusted interactively. Verified with Claude Code 2.1.284 on 2026-09-29. Each clone also gets .mcp.json, which registers the MCP server; see "MCP server". The same settings file carries four hooks, and so does .claude/settings.json at the workspace root, which sync writes on every machine; see "Hooks". Both places also get a Claude Code plugin, .claude/skills/rness/, with four commands: /rness:status [tab], the tables of rness status, and the lifecycle skills below; and a mod, its hooks module (see "The mod"). rness owns those files whole — an edit by hand is reported by sync --check and written back by sync. The plugin's manifest, .claude-plugin/plugin.json, also carries the agent-plugins.org $schema, the author, homepage, repository, licence and keywords, so a scanner that looks for an Agent Plugins manifest finds one; Claude Code reads the same file. The repository root also carries a plugin.json in that form, describing the repository, where a scanner looks first. Nothing in them depends on the version; the last line of the status skill names the workspace's package manager, so changing packageManager in .rness/package.json leaves it stale until the next sync. Claude Code loads the plugin once the folder is trusted, in a session started there.
  • The lifecycle skills, one per collection, on one grammar: the first word is the verb, a bare number reopens, anything else is the subject of a create. /rness:adr [create <subject> | open NNNN] records a decision as an ADR or reopens one; /rness:spec [create <subject> | open NNNN] writes a specification or reopens one; /rness:plan takes four verbs: from <spec NNNN> writes a plan from a specification and approves it (typing the command is the approval), create [subject] writes a plan from the conversation for work too small for a specification, open NNNN reopens a plan, and check NNNN runs the proofs of a plan — each task's command, run now — and closes it when they all pass: the plan Completed, its specification Implemented, the documents the work made inaccurate corrected; one task without evidence and nothing moves. Each is a procedure loaded into the conversation, not a file generator: after a decision has been discussed, /rness:adr writes it from the conversation; otherwise it asks, one question at a time. The skill stays in the conversation for the next turns, and the file carries the work to the next session (/rness:adr 0010 reopens it). The agent may start one itself — an ADR when a choice is expensive to reverse — but writes nothing without a yes, except /rness:plan check on a plan whose last task has just passed. The rules stay in .rness/CONVENTIONS.md; the skills only add the steps. A new document takes the collection's first status (Proposed for an ADR, Draft otherwise) and the next number, allocated by rness doc new <collection> — the second pre-approved line of each skill, so that every runtime and a bare terminal get the same number; rness validate refuses two documents with one number, the case a merge of two branches can still produce, and a document named without one (NNNN-<slug>.md, never a date). Each skill records its session: it adds { id: <session id>, agent: <model> } to sessions: in the front matter of what it writes or closes. The agent is the model it runs as, as Claude Code names it (Claude Opus 5.5): no variable gives it to a skill. An edit made without a skill leaves none. The agent moves a status with the work (a plan In progress, then Completed; a specification Implemented) and whenever the developer says so; accepting an ADR or approving a specification stays the developer's unless they asked it to go ahead. Each skill ends in a commit of the files the agent alone changed, added by name; a file someone else changed too is left uncommitted and named. No skill pushes.
  • rness owns values, not files: what is missing is added, nothing else is touched, and a file it cannot parse is reported, never rewritten. sync --check and validate report a missing value. Removing an agent from agents leaves its values in place; sync says where.
  • Other agents (Codex, Cursor, GitHub Copilot) read the AGENTS.md block; sync refuses an agent it has no target for.

The mod

Claude Code loads the plugin only in a folder trusted itself (verified with 2.1.325, 2026-11-16): under a trusted parent folder the hooks run and the session-start line shows, but /rness:status and the team skills answer Unknown command. Set projects["<path>"].hasTrustDialogAccepted to true in ~/.claude.json, <path> being the repository root (the workspace root and each clone where you open sessions); rness does not do it for you. When agents declares claude, the session start says it: one line naming the folder and this fix, for you and for the model. It reads Claude Code's .claude.json ($CLAUDE_CONFIG_DIR/.claude.json when set) and never writes it; a file it cannot read gives no line.

Since 0.19.0 the plugin carries a hooks module — what Claude Code calls a mod — in hooks/hooks.json, hooks/register.tsx and types/index.d.ts. It draws the workspace in the session, from rness status --json run by the pinned copy, and computes nothing itself:

  • A band above the prompt, whenever a note needs action (a pin the installed copy does not match, problems validate would report): those notes. The banner is not repeated there; the session-start line says it once, in the transcript.
  • A label in the prompt footer, among the session modes (focus, memory paused), dim: rness · <scope> · <n> in progress, with ⚠ <n> when there are notes. Not the pinned status line a plugin can set: Claude Code draws every pinned line after a ⚠ in its warning colour (2.1.291), the wrong sign for a line that informs.
  • /rness:status [tab] as a pane beside the conversation, a tab per collection, a row per document, its status in the colour Agent Pulse gives it (yellow in progress, green done, red blocked, gray draft or abandoned, blue proposed, purple approved — the board's purple is the terminal's magenta); no model turn. The pane takes the keyboard as it opens, on the newest row, with the keys of the full-screen view: ↑/↓ select a row, PgUp/PgDn a page away, Home/End the ends, the window following the selection; Tab and Shift+Tab change the tab, wrapping, and so does a tab's digit (written before its name); Enter, or a click, on a row shows the document; Esc and q close the pane, and so does Esc at an empty prompt once the prompt has the keys back. The selected row is drawn between ‹ and ›, which a click presses too. A pane has no ←/→ in Claude Code 2.1.289. The document is read from .rness/ without its front matter, as the board's card shows it; q brings the list back, Esc still closes. An edit of the document shows at the next refresh. Agent Pulse is a link when the workspace has a board: the board from the list, the document's item (the board filtered on its path) from the document. The terminal opens it as it opens any hyperlink (cmd+click on macOS, as a rule), a desktop surface on a click. In claude -p, or where no pane can be placed, the skill's tables answer instead.

It reads the snapshot again at session start, after an Edit or Write of a file under .rness/, and at the end of each turn, off the turn's path. The module runs the pinned copy at the one path sync writes into it for its place (.rness at the root, ../../.rness in a clone), as the settings hooks do: never a copy a clone's own tree could hold. Like them, it never installs: a pin that drifts from the installed copy is a note in the band, and npm install in .rness is the developer's. It loads where the plugin loads — a trusted folder, claude -p included — on a Claude Code that has mods: run by 2.1.280 and later, ignored without an error by 2.1.240 and 2.1.199, where the skills work as before (verified on 2026-10-04). An older Claude Code is told so once per version and machine, in the session-start line: rness: Claude Code 2.1.240 shows no rness band, footer label or pane; 2.1.280 or later does — claude update. The version comes from AI_AGENT, which Claude Code sets (2.1.240 does); one that does not set it, or not in that form, is told nothing. The versions told are kept in claude-code.json beside the login (~/.config/rness/ by default). Not in claude -p or another SDK session, where nobody would read it; not after a compaction. Versions between 2.1.240 and 2.1.280 were not tried: one of them that loads mods is told to update for nothing. Mods are early access in Claude Code: a release that changes their API may stop the band or the pane until the next rness release; the skills and the settings hooks do not depend on it.

To work on it, from org/rness: pnpm check:mod runs claude plugin validate and claude plugin test on packages/cli/mod (Claude Code needed, so not in CI); tsc -p packages/cli/mod type-checks it once a claude --plugin-dir packages/cli/mod session has laid Claude Code's types there.

Hooks

With claude in agents, each clone's .claude/settings.json and the workspace root's carry four Claude Code hooks, all run by the pinned copy:

  • At session start (SessionStart, every source): a line for the developer — rness 0.10.0 · acme · scope web — 3 standards, 2 decisions — and, for the model, the scope's documents as rness_context lists them. When the context may be wrong, both say why: no .rness next to the repository or nothing installed there, a rness.json rness refuses, a pin the installed copy does not match, the problems rness validate reports. A Claude Code too old for the plugin's mod gets one more line, once (see "The mod"). When a board keeps a journal and the scope has a plan in progress, the model gets one more line: how and when to post a note (see "Boards"). After a compaction, the context only.
  • Before an edit (PreToolUse on Edit|Write): refused, with the reason for the model, when it would change what sync generates — a line of the block of an AGENTS.md or CLAUDE.md (the reason names the standard that line comes from, to edit instead), or a file of .claude/skills/rness/ — or add a problem to a document of .rness/ or to rness.json, or add a line an enabled added-lines policy refuses (see "Policies", which also describes the Bash entry of this hook). Only the problems the edit adds: a document already broken stays editable. The old_string is found as Claude Code's Edit finds it, straight quotes matching curly ones. Writes through Bash are not seen: the guard is best effort. About 0.07 s per edit, 0.11 s for a document of .rness/ (measured 2026-10-04).
  • After an edit (PostToolUse on Edit|Write): when the file is under .rness/, its front-matter problems — or those of rness.json — go back to the model, which fixes them in the same turn. Any other edit costs one path check. Stale blocks are left to sync. When a board declares mark and holds the document, the edit is then marked on it, broken or not; see "Boards".
  • At session end (SessionEnd): when a board declares clear-marks, clears the marks this session set and syncs; when one declares journal-summary, posts the session's summary; see "Boards". Without either, nothing.

Each hook is one fixed sh line: it runs <.rness>/node_modules/@rness/cli/dist/bin/rness.js hook <event> when that file exists, and otherwise says so at session start and nothing after an edit. The line never changes between versions — what the hook does lives in the CLI — because rness compares its entry as a whole: an entry edited by hand counts as missing, and the next sync adds a second one. The team's own hooks stay where they are.

Claude Code runs hooks from a committed settings file without asking each developer, including in claude -p. These four read .rness/, write no file of the workspace and run no install; with a journal, the session start records the clone's HEAD in its git directory. Only with a board created do they reach the network, through a detached rness process that uses your login; when that process fails, it writes why to board.json in rness's configuration directory (~/.config/rness/ by default), which the next session start reads, says once and deletes (0.21 wrote pulse.json: read once too). See "Boards". Review a change to them like code. Verified with Claude Code 2.1.284 on 2026-09-29: in a clone and at the root, the model received the context; after an edit that broke a status, it received the problem. The sh line is not verified on Windows.

Policies

A policy is a rule a machine answers yes or no, refused at the moment of an action. It is a document of .rness/policy/<name>.md (global) or .rness/policy/<scope>/<name>.md (one scope; a scoped policy only adds, and a name used both ways is refused by validate). The name is lowercase words joined by hyphens and is the policy's id; the title is the # heading; the body is the reason. Policies are not numbered (rness doc new policy is refused) and never become cards on a board.

---
status: Enabled
standard: standards/documentation.md
rules:
  - check: commit-message
    deny: '^co-authored-by: .*(claude|codex|cursor)'
    fix: Remove the agent's Co-Authored-By trailer, then commit again.
---

# No agent trailers

Front matter: status (Enabled or Disabled) and rules (a non-empty list) are required; standard (the path of an existing standard that explains the rule), date and updated are optional; any other key is refused. Each rule has check, deny and fix (one line, what the agent reads), all required. A deny pattern is a JavaScript regular expression compiled with the flags iu and matched against one line at a time (\u2014 names the em dash without writing it). rness validate checks the files, Disabled ones included, and refuses YAML anchors, aliases, custom tags, merge keys and duplicate keys, naming the line. The package publishes a JSON Schema of the front matter. Enabled policies are listed under ## Policies in the generated block of the scope they apply to; with none enabled there is no section and the block is unchanged.

The three checks, a fixed set:

check Reads deny Run by
commit-message every line of the message, comment lines included, cut at git's scissors line only for a message edited in an editor (never under -m, -F or for a merge message) a pattern the commit-msg hook
added-lines each line a commit or an edit adds, never a line already there a pattern the pre-commit hook; the guard on Edit and Write
push each ref update of a push non-fast-forward only the pre-push hook

added-lines does not check what rness writes itself: the files of .claude/skills/rness/ and the lines inside a rness block. A merge git concludes itself runs no pre-commit; one concluded with git commit after a conflict does, and only the lines added against every parent are checked (a conflict resolution, a new line): a line either branch brought passes, since that branch's commit was checked. A new branch and a deletion pass push; a remote object missing locally counts as non-fast-forward, and the fix says to fetch first. In a clone with several scopes, added-lines applies each file's deepest scope; commit-message and push apply every scope of the clone.

Git hooks. create, add and sync write pre-commit, commit-msg and pre-push in the hooks directory of every clone of org/ that rness.json declares, as a repository or as the home of a scope (never .rness, whose scaffold .githooks/ carries the same three, and never under sync --check). A clone it does not declare gets none. In a clone that holds no scope, no policy applies: rness policy check passes in silence and the guard does not check its files. A clone's name is compared whatever its case: org/Web is the declared web, and its policies apply. The hooks are written whatever the policies: each passes at once while no enabled policy uses its check, so an Enabled merged in .rness applies without a sync. They are local, never committed, mode 0755, carry a marker line and call the pinned CLI by its absolute path (rness policy check <hook>, a hidden command). sync rewrites a stale rness hook. A hook file without the marker is never touched, and a clone with core.hooksPath set (husky, lefthook) is left alone; sync reports each, once per clone until the cause changes, with the lines to add to the team's own hook, <hook> replaced by its name. They find the workspace from the clone, so a team can commit them; outside a work tree they do nothing, and they end the hook only to refuse:

rness_dir=
if rness_top=$(git rev-parse --show-toplevel 2>/dev/null); then
  rness_dir=$(cd "$rness_top/../../.rness" 2>/dev/null && pwd -P) || rness_dir="$rness_top/../../.rness"
fi
rness_bin="$rness_dir/node_modules/@rness/cli/dist/bin/rness.js"
rness_why=
if [ -z "$rness_dir" ]; then
  :
elif ! command -v node >/dev/null 2>&1; then
  rness_why='node not found'
elif [ ! -f "$rness_bin" ]; then
  rness_why="$rness_bin not found"
elif [ ! -f "$rness_dir/rness.json" ] || [ ! -O "$rness_dir" ] || [ -n "$(find "$rness_dir" -prune -perm -0002)" ]; then
  echo "rness: policies not checked: $rness_dir is no workspace .rness of yours alone" >&2
else
  rness_status=0
  rness_out=$(node "$rness_bin" policy check <hook> "$@" 2>&1) || rness_status=$?
  if [ "$rness_status" -ne 0 ] && [ "$rness_status" -ne 20 ]; then
    rness_out="rness: policies not checked: the rness CLI exited $rness_status"
  fi
  if [ -n "$rness_out" ]; then
    printf '%s\n' "$rness_out" >&2
  fi
  if [ "$rness_status" -eq 20 ]; then
    exit 1
  fi
fi
if [ -n "$rness_why" ] && { [ ! -d "$rness_dir" ] || grep -rqsE "^status:[[:space:]]*[\"']?Enabled" "$rness_dir/policy"; }; then
  echo "rness: policies not checked: $rness_why" >&2
fi

The guard. The PreToolUse hook gains two entries. On Edit and Write it checks the lines the edit adds against the added-lines rules of the file's scope, anywhere in the workspace but a clone that holds no scope, before the file is written. On Bash it parses every command and refuses, while an enabled policy applies, a bypass of the hooks: git commit --no-verify or -n, git push --no-verify, git merge or pull --no-verify, git -c core.hooksPath=..., an alias that skips hooks, GIT_CONFIG_GLOBAL, GIT_CONFIG_SYSTEM, GIT_CONFIG, a write of core.hooksPath or of an include, and, as a backstop, a git command holding a hook-skipping word the parser cannot read. Other commands pass at once. A refusal exits 2 with the reason on stderr. The guard never stops a session on its own failure.

The refusal. Every failing rule of every policy comes in one message, so one correction passes:

rness: policy no-agent-trailers refused this commit
  commit message, line 7: Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
  fix: Remove the agent's Co-Authored-By trailer, then commit again.
  policy: .rness/policy/no-agent-trailers.md

Where refusals show. Each refusal appends a line to rness/refusals.jsonl in the clone's git directory, or in .rness's (never committed; sync prunes records older than 30 days in both). The session summary of a board journal gains Policies: 3 refusals (no-em-dash 2, no-agent-trailers 1), and is posted when the session has at least one commit, note or refusal. rness status policy and the /rness:status pane have a Policies tab: every policy with its scope and status, then the refusals of the last 7 days across the clones, by policy, with the last time in UTC. The session-start banner counts the Enabled policies; rness context prints every policy with its status under its title.

Fail open. A missing node, a missing pinned CLI, a .rness not reachable or an error of rness's own never blocks: the hook prints at most one line, rness: policies not checked: <why>, and exits 0. A missing node or CLI says nothing while no policy of .rness/policy/ is Enabled (nothing would be checked), and is said when .rness/ itself is not there. A hook runs the CLI only from a .rness that holds its rness.json, is owned by the user and is not writable by all: a directory planted above a clone (/tmp/.rness for a clone under /tmp) is said in one line, never run. Only a refusal blocks: rness policy check exits 20 for it, and each hook maps 20 to 1, its words on stderr; any other non-zero status becomes one line, rness: policies not checked: the rness CLI exited <n>, in place of what the CLI printed (a crash's stack, the help of a CLI without policy), and exit 0. What policies do not cover (a write through Bash until it is committed, --no-verify outside Claude Code, cloud agents without the hooks) is in the enforcement matrix of the documentation.

After a rollback. A pin moved back below the version that brought policies leaves the hooks of the clones in place, each commit and push saying the rness CLI exited 2. To remove them, in each clone (a rness hook is the one whose second line is the marker; any other is left):

for hook in pre-commit commit-msg pre-push; do
  file="$(git rev-parse --git-path hooks)/$hook"
  if grep -qs '^# rness: policy hook' "$file"; then rm "$file"; fi
done

Team skills

A team skill is a skill (a directory with a SKILL.md) that every clone of the organization gets, with each developer's consent, and never beyond the organization. The team writes it as a directory of .rness/skills/ (.rness/skills/scopes/<scope>/<name>/ for one scope), or declares it in rness.json and has rness copy it.

rness skill add github:obra/superpowers --path skills/brainstorming --ref v7.0.0
rness skill add git:git@github.com:acme/skills.git --path deploy
rness skill add path:../ops/skills/deploy --scope web
rness skill update [<name>...] [--ref <ref>]
rness skill remove <name>
rness skill install [<name>...] [-y]
rness skill uninstall <name>...
rness skill list
  • Declaring. add fetches the source, checks the skill, copies it into .rness/skills/<name>/ (or .rness/skills/scopes/<scope>/<name>/ with --scope) and writes its entry under skills in rness.json, at the top or in a scope: source, path, ref, the commit the ref resolved to and the tree of the copy: the id git gives it in .rness (40 hexadecimal characters, 64 in a sha256 repository), the same before the commit, after it and in every clone. Git decides what the copy holds: a file .rness or the skill's own .gitignore leaves out is no part of it. --name installs it under another name (the name of its SKILL.md is rewritten to match, before the tree is taken). add changes .rness only and commits nothing.
  • Sources. github:<owner>/<repo>, git:<url> (SSH or HTTPS, private repositories included, with your git credentials) or path:<dir> (a directory on your machine, relative to .rness/ or absolute; only a machine that has it can update that skill). --ref is a tag, a branch or a full 40-character commit (a short SHA is refused); without it, HEAD.
  • A frozen copy, reviewed. The copy in .rness/skills/ is what the team reviews in a pull request, like any change of .rness. Nothing is fetched at install time. update fetches again (at a new --ref when given), replaces the copy and says how many files were added, changed and removed; a new copy is a new review in the pull request. remove undeclares the skill and deletes its copy; the next sync of each developer removes the installed copies. validate reports a declared copy whose tree differs from its tree.
  • Consent, once per skill. A skill is pending for you until you have accepted or declined it. Once accepted, its new versions, reviewed in the pull request that changes .rness, are installed by sync without a new question, and said: updated deploy (3ae403c -> 017c560), with , allowed-tools: <before> -> <after> when the two versions ask for different tools; a bare rness skill install with nothing pending delivers them too. A declined skill is not proposed again, whatever its version; rness skill install <name> installs it later. rness skill uninstall <name>... uninstalls skills, accepted or not: recorded as declined, and their installed copies removed from every clone and the root (uninstalled deploy removed (org/web, workspace root)); a name two skills share is refused, naming their ids. rness skill install lists what is pending (name, source and version or "written by the team", the allowed-tools it asks for) and asks Install, Decline or Details (default Decline; Details lists each skill's files). With names it asks about those only; -y accepts without the question. A name that two applied skills share (each repository declaring its own deploy) is shown, and given, as <scope>/<name>; -y refuses the bare name. Off a terminal without -y, it lists and exits 2. Your answers are kept in rness/skills.json inside the git directory of .rness: never committed, one record per workspace. rness skill list shows each skill that applies and its state: installed, pending, declined, or invalid (its committed copy fails the checks below, or it is not committed yet). allowed-tools pre-approves tools for the turn that invokes a skill and restricts nothing (verified 2026-11-13).
  • What is installed: the commit. A skill is installed as committed at HEAD of .rness, whatever branch it is on, each file written from git's objects with its executable bit (no line-ending conversion of the clone of .rness applies). A skill not committed yet is not installed: sync and install say <name>: commit .rness first, never as a failure. An edit of the copy in .rness that is not committed never reaches a clone.
  • Where they are installed. Each accepted skill is copied into every clone it applies to (a top-level skill: every clone; a scope's skill: the clones of that scope and of the scopes that extend it; a part's skill: its repository's clone root), as .claude/skills/<name>/ (a declared skill) or .claude/skills/rness/skills/<name>/ (a team-written one) when agents declares claude, and as .agents/skills/<name>/ for both; the top-level skills also at the workspace root, at the Claude path of each kind. A copy keeps its files' bytes and executable bits. In a clone, the paths are added to .git/info/exclude between # rness: team skills and # rness: end of team skills, and recorded with their tree in .git/rness/skills.json, so git status shows nothing and a git pull brings no skill. The workspace root is not a git repository: its record is rness/root-skills.json in the git directory of .rness. A clone where .claude/skills/<name>, .claude/skills/rness/skills/<name> or .agents/skills/<name> is tracked by git, or holds a directory rness did not write, is skipped, and sync and install say so (naming both Claude paths).
  • Two kinds of names. A skill the team writes in .rness/skills/ (no source) is installed for Claude Code inside the rness plugin, .claude/skills/rness/skills/<name>/, and invoked as /rness:<name>; the CLAUDE.md block line reads - release (Claude Code: /rness:release): .... Codex and Cursor read it under its plain name, .agents/skills/<name>/. A declared skill (github:, git:, path:) keeps its original name (/no-ai-slop). A 0.26.0 copy of a team-written skill moves at the next sync. The names status, adr, spec and plan (rness's own skills) and the retired done are refused for a team-written skill. Like /rness:status, these load only when Claude Code is opened at a repository root, in a trusted folder.
  • Tools that see the installed copies (verified 2026-11-13). The exclude in .git/info/exclude hides the copies from git, not from every tool. prettier 3.10.1, eslint 10.14.0, vitest 5.1.0 and jest 30.5.2 read them (none reads .git/info/exclude), and biome 2.6.7 too unless its vcs block is enabled for git with useIgnoreFile; tsc 7.0.2 and node --test skip dot directories. rness never edits these tools' files; add the line yourself: prettier /.claude/skills/ and /.agents/skills/ in .prettierignore; eslint ignores: [".claude/skills/", ".agents/skills/"]; vitest test.exclude: [...configDefaults.exclude, ".claude/**", ".agents/**"]; jest testPathIgnorePatterns: ["/node_modules/", "/\\.claude/", "/\\.agents/"] (it replaces jest's default); biome vcs: { enabled: true, clientKind: "git", useIgnoreFile: true }.
  • Where never. Not in your home directory (~/.claude/skills, ~/.agents/skills), not outside the workspace, and not in .rness beyond the reviewed copy.
  • sync. sync (interactive or -y) installs, as committed in .rness, the skills you accepted (a new clone, a removed copy, a new version), rewrites an installed copy whose files no longer match git's (compared blob by blob; a .DS_Store is ignored), removes what is no longer accepted or declared, and prints one line when skills are pending: skills 2 team skills await your consent: rness skill install. It never installs a skill you have not accepted, and a pending skill never fails sync --check or validate. The generated AGENTS.md and CLAUDE.md blocks gain a ## Team skills section: name and description of each skill that applies to the scope. skill add, update and remove refresh those blocks.
  • In Claude Code. The session start shows you the same line and gives the agent the pending skills (name, source, allowed-tools) with the instruction to ask you first and, on your yes, to run rness skill install <names> --yes; never without asking. Claude Code may need /reload-skills to see a new skills directory. The command is not refused by the guard: the safeguard is the question and Claude Code's own permission prompt.
  • The guard. With claude in agents, an Edit or Write is refused in two places: under an installed copy in a clone (<path> is a team skill rness installs from .rness/skills/<name>; edit it there), and under the copy in .rness/skills/<name>/ of a declared skill (<name> is a copy of <source>@<ref>; run rness skill update, or remove its source in rness.json to make it the team's own). Writes through Bash are not seen.
  • The checks of a skill, at add and update and by validate on the copies, on the files git holds in the copy's tree: a SKILL.md at the root with a name equal to the directory's (lowercase letters, digits and hyphens, at most 64 characters) and a description; regular files only (a symbolic link or a nested repository is refused, naming it, and a refused copy is removed, an update putting the previous one back); a .git anywhere below the source's root, in any form a file system takes for one (.GIT, git~1, .git ), refuses it before anything is copied; no path with an empty, . or .. part, a .git, a backslash or a colon, checked again before each file is written into a clone; no control character in a file name, the description or allowed-tools; at most 1 MB of file content; a name rness is refused (it collides with the plugin's directory). A name declared twice in one clone, or both declared and written by the team, is refused by validate. The tree is taken in an index of its own, never the one of a commit in progress (validate runs in the .rness pre-commit), started from HEAD as the next commit is: a committed file an exclude now matches stays, and a file committed with CRLF line ends is not converted again. The session start and rness status take none and check each SKILL.md alone, read only when it is a regular file of at most 1 MB in a directory that is no link.
  • Teammates on 0.25.x. 0.25.x refuses a rness.json that has skills (rness.json: unknown key "skills") and its hooks never catch up a moved pin: a teammate who pulls a .rness that declares skills runs rness sync once, which installs the pinned CLI.
  • What reads them (2026-11-13). Claude Code reads .claude/skills/ only, from the start directory up to the repository root, and loads a nested .claude/skills/ when a file of that subdirectory is read. Codex reads .agents/skills/ from the working directory up to the repository root (vendor documentation, not run here). Cursor reads .agents/skills/, .cursor/skills/ and .claude/skills/: it may list a skill twice, since rness writes both .claude/skills/ and .agents/skills/ (not verified: the vendor does not document the same name in two directories). Claude Code on the web, cloud agents, CI and a clone made without rness have none. A personal ~/.claude/skills/<name> wins over a project skill of the same name: a team skill you also keep in your home directory is shadowed by your copy.

rness never runs a skill, and fetches nothing but at add and update. There are no automatic updates, no plugin or marketplace sources, and no Codex or Cursor configuration: only the directories above.

Boards

rness board push    # every board rness.json declares: created if it is not yet, then brought up to date
rness note "…"      # the agent's journal on the plan in progress

A board is a view of the rules the agent applies: the documents of .rness/ — decisions, specifications, plans, a team's own collections — and where an agent is at work on them. The provider supplies the tool: a GitHub Project, GitLab issue boards, or a Jira space's board. Each board is declared in rness.json, under boards: first Agent Pulse (pulse), where the team sees — and reads — every document of .rness/, and sees when an agent is at work on one. rness writes the boards; if it is not in rness, it does not belong there.

  • Boards declared in rness.json (0.21.0; boards since 0.22.0, projects before): boards maps a name to a board, written whole — its number, collections, colors, fields, labels, views, and optionally title, description, readme and updates (files of .rness/) — or to a preset not created yet, by name: "boards": { "pulse": "agent-pulse", "marketing": "collection" } (agent-pulse for pulse, collection for a collection's board; see "A board created"). What rness.json says is the board; what it does not declare, the board does not have, but the engine's own: one issue of .rness per document, found by its Path, its Status, the label rness. Nothing knows Agent Pulse by name: it is a board like any other, made from the preset agent-pulse, and the example a team copies for another.

    • collections: "all" (ADR, specs and plans with the contract's statuses, then every other directory rness status finds, but those another board holds), or directories, each with statuses — "contract", "found" or a list in order — a label and an optional field, a select of its statuses alone.
    • fields: each a type (text, date, select, number) and a from: a front-matter key, or what rness knows — $collection, $status, $agent (working while a session marks the card), $session, $sessions, $id — or a list, the first present winning. Path, Status and GitHub's own fields cannot be declared.
    • views: each a name and a layout (board, table, roadmap), optionally collection and filter; a board's columns, a table's fields, a roadmap's date.
    • colors: option → gray, blue, green, yellow, orange, red, pink or purple; an option not named takes its kind's colour (a status its tone, a collection pink). A colour changed is set at the next sync, every card keeping its value.
    • A board that rness.json declares wrongly is refused alone, by its full key ("boards.marketing.views[2].date" must name a date field); the others sync. validate reports it, and also a collection that is no directory of .rness/, one on two boards, a readme or updates not there, a README that still declares (below). readme and updates are paths within .rness/: a path out of it, or a file that is a link leading out, is refused before anything is read.
    • A view declared and missing is made; one whose filter or fields differ is updated in place, keeping its id, sort and widths (GitHub returns a filter as given and the fields in the project's order, read on 2026-10-06); one whose layout or columns differ is made again. A view rness made and no longer declared is deleted; one the team made is left, and said once per clone (note view Roadmap is not declared: delete it on GitHub if unwanted), as is a field no longer declared and views out of the declared order (GitHub reorders none). A roadmap's date is chosen in its settings: GitHub's API does not set it.
    • Presets and their revisions. board push writes a board from a preset, agent-pulse or collection, recording it ("preset": "agent-pulse/1"). When a later rness ships a newer revision, rness sync merges it into the board value by value: a value the team never changed takes the new one, one it changed is kept, and said when the revision changed it too (kept boards.pulse.colors.Draft: kept orange, agent-pulse/2 gives blue). Removing preset takes a board off the merge. An upgrade commits the result, for the team to read before pushing.
    • From 0.20 and before. A board declared by its number ("pulse": 4) is read as its preset, and rness sync — which rness upgrade runs — writes it whole; nothing changes on GitHub. A collection's README.md that declared description, statuses, fields or labels has them moved into its board and out of its front matter (a value declared otherwise in both is refused, naming both). Until then, board push skips a board whose README still declares.
    • From 0.21 and before. projects, and the older "pulse": { "project": <number> }, still read as boards; more than one of the three at once is refused. rness sync renames the key (renamed projects to boards in .rness/rness.json), the boards as they were, and every write of rness.json writes boards.
  • Items: one per document of rness status, an issue of <org>/.rness added to the project. GitHub shows it only to people who can read .rness. Its title is the document's (0016 — CLI: rness status, …) and its body the document (see Body). It carries the label rness, made if missing; -label:rness leaves these issues out of .rness's Issues tab. An issue is open while its document exists. When the document is gone, the issue is closed as not planned and its item archived. Gone means gone for this clone's git: the path is in its history and no longer in its working tree. A path it has never seen is judged only on an issue this clone's sync opened — a document its agent wrote, then renamed or deleted before any commit. The clone records the issues it opens in its own git directory (rness/opened, per worktree, never pushed), and forgets one as soon as its git has seen the path. Any other — a teammate's new document, or yours from another clone, not pulled yet — is left alone. An issue closed while its document exists — by hand, or by a fixes #12 in a .rness commit — is reopened at the next sync. The document's status is its field, not the issue's state. rness's items are those with a Path whose content is an issue of .rness. A draft with a Path is rness's from 0.12.0, and is converted into an issue of .rness. An issue of .rness on the board, labelled rness, without Path, whose body's first line is a document's first line, is one a stopped sync left: it gets its Path and is brought up to date, and no second issue is made. Anything else — an item without Path, an issue of another repository, any other issue of .rness without Path — is the team's: never edited, closed or archived. Two known limits. A clone behind the others writes what its working tree holds — an older title, status or body — until it pulls; the next up-to-date sync writes them back. A document that lives only on a branch of .rness has its issue closed by a sync from a branch without it, if git has seen the path or this clone opened the issue; back on its branch, it gets a new issue (.rness is worked on main, and branches of it are rare). The project is linked to .rness, so Agent Pulse shows in its Projects tab. Comments are the team's: a spec's discussion lives on its issue, and rness never writes or deletes one. board push needs Issues on .rness. Without them it stops before writing anything: boards need Issues on <org>/.rness: turn them on in its Settings.

  • Body: the document, the same bytes for the same document. It starts with a first line: the document's path and a link to the file. Then comes the document without its front matter (the status is a field) and without its first heading (the title). Links outside code are rewritten. A link to another document becomes the URL of its issue, which opens in the board's side panel. A link to any other file of .rness points to it on GitHub at main (an image, raw). An absolute link, a link out of .rness, or a link to no file stays as written. Outside code spans and fenced blocks, @name is written \@name, and a bare #12 gets a zero-width space after #: a body notifies no one and points at no wrong issue. A body holds at most 65,536 characters. A longer document is cut at the last blank line that fits and ends with The rest: <link>. A last line, invisible on GitHub, <!-- rness <digest> -->, is how sync tells a body that changed.

  • Layout: the fields Status (the union of the collection fields' options: every contract status plus the ones found in .rness/, in lifecycle order, at most 50), Collection (one option per tab of rness status; not Type, which is GitHub's own issue-type field and filter), Agent (working), Working session (claude · 1a2b3c4d, plus the agent type for a subagent: the session working on the document now, cleared when it ends), Path, and Session history — the document's sessions: (see "Agent targets"), each Claude Opus 5.5 · <id> (the id alone for an entry without its agent), joined by , , written by sync and never cleared: which sessions wrote a specification or implemented a plan, after they ended (claude --resume <id> reopens one on the machine it ran on). A board made before 0.15.0 gains Session history at its next sync; one from 0.15 has its Session and Sessions renamed in place, values and views kept (renamed field Session → Working session). A board per directory, named as rness status names its tab, filtered on its Collection, its columns that collection's own steps: each collection has its own status field (ADR status, Specs status, …; a directory without statuses is columned by Status, which holds them all for the All table). board push remakes a board built by an earlier version (its URL changes once); a Working table, filtered on Agent: working. A first view named View 1 (GitHub's default) becomes All when no All exists, on create and on sync, showing Title, Collection, Status and Working session. Options are coloured (statuses by lifecycle: blue proposed, purple approved, yellow in progress, red blocked or rejected, yellow superseded, green done, gray abandoned; collections and working too); a sync recolours rness's options and leaves other options' colours alone. rness does not set the project's visibility: the project gets GitHub's default for a new organization project, which is private (public: false). Verified with Claude Code 2.1.284 on 2026-09-29.

  • Login: boards need the project scope. rness login asks for it when the workspace declares a board, and board push when it creates one (in a terminal it offers to log in; with -y or off a terminal it stops with boards need a GitHub login: run rness login or boards need the project scope: run rness login). A developer who never uses boards grants nothing more than repo read:org. When GitHub cannot be asked, rness says so (cannot reach GitHub: …, or GitHub's own answer) instead of asking for a login. A classic GITHUB_TOKEN works if it carries the scope; a fine-grained or GitHub App token reports no scope, so boards refuse it whatever its permissions. An organization that restricts OAuth apps must approve "Rness", as for its private repositories.

  • A board created (0.22.0): a board of boards without a number — a preset's name, or a declaration that leaves it out — is not on GitHub yet, and board push creates it. Its name is pulse or a collection of .rness/, else it is refused before GitHub is asked anything (validate says so too). In a terminal push asks once (Create Agent Pulse (pulse) on GitHub, in acme?); -y does not ask. Off a terminal without -y, or declined, it creates none, pushes the others and exits 1: not created: pulse — rness board push in a terminal, or with --yes, creates it. Then, in order: the login and its project scope, Issues on .rness, the project, and at once its number in rness.json — a preset's name is written whole from that preset, a declaration gets its number and nothing else — with the provider; then the fields, options and views, and a first push. Its created lines say what it added, and the last line what to commit (git -C .rness commit -am "chore: board pulse"). If a step after the project fails, it exits 1 with the number written, and the next board push completes the layout. A project deleted on GitHub is not made again: push stops on GitHub has no project 4 in acme; removing the number asks for a new one. A workspace needs an org (a blank one is refused); one without a provider whose repositories look like GitLab is refused before anything is created: write "provider": "github" if the organization is on GitHub.

  • board push works in two passes. First every document gets its issue — created, converted from a 0.12.0 draft, or reopened — with its title, label and fields. Then the bodies whose digest differs are written, since a body links to other documents' issues by number. It also adds the option or the board that a new status or directory needs. It says what it did to the issues, then to the items: created 1 issue, reopened 1 issue, synced 52 items: 1 created, 2 updated, 49 unchanged.

  • One way: rness reads the board and the issues only to find its items and to tell a changed body. Anything changed by hand — a card moved, a field, a title, a body, an issue closed — is written back at the next sync, and never reaches .rness/. The board is not made read-only: whoever runs an agent writes it with their own login, so they need Write on the project. Read-only access for anyone else is set by hand, in the project's "Manage access". The project's workflows are left alone. GitHub turns on "Auto-add sub-issues to project" for a new project, so a sub-issue added under a document's issue joins the board without Path, as the team's item. A workflow someone turns on (Item closed, Item added to project) may change a field of rness's items; the next sync writes it back.

  • A collection's own board (0.17.0): "marketing": "collection" in boards, then rness board push, gives a directory of .rness/ whose documents carry a status — a tab of rness status — a project of its own, named after it, written whole from the preset collection into boards.marketing. Agent Pulse keeps every other collection and the Working table; the collection's items leave it (deleteProjectV2Item, their issues untouched) once its board holds them. board push pushes the collections' boards, then Agent Pulse. The project is written from the collection's files, one way:

    • <collection>/README.md is its README (readme in its board since 0.21.0, where description, statuses, fields and labels are declared too: what follows is how a README declared them before, which rness sync moves); its front matter may give description: (the short description), statuses: (the columns, in order, each there even when empty), fields: (each a name, a type — text, date, select, number — and from, the front-matter key of the documents that fills it, or a list of keys, the first present one winning; a select may give options:) and labels: (directory, the subdirectory a document sits in, or a front-matter key). A date field adds a Calendar roadmap; which date it draws is set once in the view's settings: GitHub's API does not set it.
    • <collection>/updates/<date>.md are its status updates: health (on-track, at-risk, off-track, complete or inactive), optionally start_date and target_date, the text below. Each is posted once, in the order of the names, and updated when its file changes; a deleted file leaves its update.

    rness adds no field or label of its own to a collection's project, and none of this reaches Agent Pulse: a workspace that declares no collection keeps its board as 0.16 made it.

  • Hooks, with claude in agents: what a session does to a board is declared in its hooks (spec 0032, 0.21.0), each event — session-start, edit, session-end — listing actions from a fixed catalogue: mark-in-progress (the documents of the session's scope in the given collections and statuses, plans and In progress by default), mark (the document edited, on a board that holds it) and clear-marks (the session's marks, then a sync). Marks are written through the board's select from $agent and its text from $session, whatever their names. A hook never runs a command rness.json names: the file is the organization's and the hooks run on every developer's machine. The preset agent-pulse declares all three, which is 0.20's behaviour; removing hooks from a board turns its marking off, and a board without them is only what board push makes of the documents. For each event, one detached rness board run <event> does every board's actions, in the order of boards; a failure is recorded naming the board and the action (mark on Marketing failed: …). A board not created yet runs none. With Agent Pulse's preset: session start marks the In progress plans of the session's scope Agent: working, with the session; an edit of a document of .rness/ marks it — one the agent has just written, with no item yet, gets its issue first through a sync, and so does one whose status the edit changed, so its card moves within seconds rather than at the session's end; an edit that leaves the status alone, or of any other file of .rness/, costs no sync; the hooks' syncs run one at a time, an edit's skipped while another runs, the session end's waiting its turn; session end clears the marks of that session (its subagents' included) and syncs. Each one starts a detached rness process and answers at once, so a slow network never holds Claude Code; the session-end sync outlives Claude Code's exit. Verified with Claude Code 2.1.284 on 2026-09-29: the detached process wrote its file 3 s after /exit. It uses your login: with none, without the scope, or when GitHub cannot be reached, nothing is sent, and the next session start's banner says why, once: rness: board not updated — <reason>, such as boards need the project scope: run rness login or cannot reach GitHub: …. Two sessions marking one plan both write; the last wins.

  • Agent journal (spec 0030, 0.21.0): how a plan was implemented, in the agent's words. A board that holds plans declares { "action": "journal", "to": "plan" | "repo", "limit": 5 } at session-start, and journal-summary at session-end. With a plan In progress in the session's scope, the session start tells the model to post a note — rness note, or rness_note — when it chooses an approach, deviates from the plan, is blocked, and when done: decisions and their reasons, not steps. A note is a comment headed **Approach** · claude · 1a2b3c4d · \feat/limits` @ `9f8e7d6` (--kindtitles it; the branch and commit are those of the session's repository), then the text, from the argument or stdin. With"plan"it goes to the plan's issue in.rness. With "repo", to the plan's implementation issue in the repository the session works in: labelled rness:plan, found again by the last line of its body, made by the first note and made a sub-issue of the plan's. The note prints where it went (acme/api#87), for the pull request that completes the plan there to carry Closes acme/api#87and an earlier oneRefs acme/api#87. GitHub closes the issue when a person merges that pull request into the default branch; rness closes nothing. A repository with its issues off, that refuses this login's write, or not under the organization on GitHub sends the note to the plan's issue, its first line saying why, and the next session start says so once. A session in .rness/or at the root writes on the plan's issue. With several plans in progress,--plannames one. Each note holds 1 to 4,000 characters; a session posts at mostlimit per plan (journal full for this session: put the rest in the pull request); a note that looks like it holds a credential (ghp_, gho_, github_pat_, AKIA…, a private key, xox…-, sk-…) is refused, never redacted. The counts stay in the .rness clone's git directory (rness/journal), never pushed. At the session's end, journal-summarypostsSession summary · claude · 1a2b3c4d · 47 min, the branch and its commits since the session started (its HEAD, recorded in the clone's git directory, rness/sessions/) and the branch's pull request: to each issue the notes went to, else to the one plan in progress when there is a commit; with neither, nothing. It counts toward no limit. Not verified against GitHub yet (2026-10-06): a sub-issue across repositories, and Closes` on a pull request merged into the default branch.

  • One issue per document: before making an issue, board push reads the open issues of .rness labelled rness (one request per 100, and only when it has one to make). One whose body starts with the document's first line was made by an earlier sync, whose item the board's listing did not show yet. It is added to the board instead of made again, and the output says adopted 1 issue already made for its document. Seen on 2026-09-30: two syncs 18 s apart made two issues for one document.

  • Rate: rness sends one request at a time. A new document costs an issue, its addition to the board, up to five fields, then its body. An unchanged document costs nothing but its share of the listing, which reads every item's body. On one of GitHub's rate limits rness waits as long as GitHub says (waiting 60 s — GitHub's rate limit), 10 minutes at most in all. Past that it stops, saying how many changes it did not make, and the next sync makes them. Measured on rness-dev (54 documents, 2026-09-30): the migration from 0.12.0 took 169 s with no wait; a sync with nothing to change, 4 s; the listing, one page of 852 KB in about 1 s.

  • On GitLab (the Free tier's shape): the cards are the issues of the context project <group>/rness. Each board view is an issue board of that project, <title> · <view>, its lists the labels of its columns (ADR status::Accepted), in the declared order, the Open and Closed lists hidden. A select is a label Key::value (Status::Draft, Collection::ADR, Agent::working), kept exclusive by rness: a status that changes swaps the label, and a card moved by hand between lists is written back at the next push. A text, date or number field (Working session, Session history) is a line of a footer at the end of the description, below the digest, so a mark never makes the body look changed. rness.json names the board by ids, one issue board id per view, written when push creates them; number is refused on GitLab, ids on GitHub. A table view has no object on GitLab: push prints its issue list once (view All: a table is not a board on GitLab - …); a roadmap view neither. A README, a short description and status updates are not written. References in a document (#4, !5, @name, an entity that decodes to one) are escaped, so a card notifies no one. The link of rness status is the first view's board. rness note posts to the plan's card; an implementation issue in a member project is linked relates_to (Free has no sub-issues), and the session summary names the merge request.

  • On Atlassian (a team-managed Jira space): the board is the space's own one board, which every board view shares. rness never creates a board and writes nothing back into rness.json, where number and ids are refused. The first push asks Set up RNESS for Agent Pulse: 13 statuses, any-to-any transitions? (--yes answers; off a terminal without it, nothing is set up and the push exits 1 saying how). In a space as the template made it, the template's To Do, In Progress and Done are renamed Draft, In progress and Completed; the other statuses are created, Gone among them (category Done), each reachable from any other by a GLOBAL transition. A card is an issue of the space labelled rness, and its status is a real Jira status. A select is a label <field>-<option>, lowercased, spaces as - (collection-specs, agent-working); a text, date or number field is a line of a footer below a rule in the description. The description is the Markdown converted to Atlassian Document Format (ADF), its first line `specs/0016-cli-status.md` · [on Bitbucket](https://bitbucket.org/<workspace>/.rness/src/main/…), a document's issue linked as https://<site>/browse/<space>-<n>, nothing escaped (Jira's text mentions no one), 32,767 characters at most; the body's digest is kept in the issue property rness. A gone document's card moves to the status Gone, and back when the document returns; a card moved by hand is moved back at the next push. Jira gives each new status its own column on a fresh board (seen 2026-10-21), so Gone has one, and push says visible Gone has a column, so gone documents show on the board: hide it once, among the hidden statuses of the board's column settings, <board url>. Once it is hidden: checked board RNESS: every status in a column, Gone hidden. A declared status in no column is said unmapped, with the same URL. The views are said once per clone: note views ADR, Specs, Plans share the board of RNESS: filter on collection-adr, collection-specs, collection-plans; a table view is the issue search URL https://<site>/issues/?jql=…; a roadmap view has nothing. A README, a short description and status updates are not written. On a site in another language Jira translates the names (Draft shows as Brouillon): rness works by ids. The hooks mark a card with the label agent-working and a Working session footer line. The link of rness status is the space's boards page, https://<site>/jira/software/projects/<space>/boards. rness note posts to the plan's card. Bitbucket has no issues, so each repository's implementation issue lives in the space too, labelled rness-plan, its last paragraph the marker rness journal <owner>/<repo> <plan>, linked Relates to the plan's issue; notes are comments, an issue is named by its key (RNESS-12), and the session summary names the branch's Bitbucket pull request (opened, merged or closed). Not tried on a Jira site yet (2026-10-23): the digest read back with the cards, and the boards page leading to the board.

  • Not yet: GitLab's Premium features (status lists, scoped boards, custom fields); on Jira, a board per view; Bitbucket and Jira Data Center. Waiting and Review statuses, several agents on one board and hooks for agents other than Claude Code are not built.

  • rness pulse, the name of all this until 0.21: hidden, each of its commands still runs as its new one and says so once on stderr (rness pulse sync is now rness board push); rness pulse create [<collection>] adds the preset's name to boards when it is not there, then pushes without asking. rness pulse mark, which 0.20's hooks started, exits 0 and does nothing. The alias goes in a later minor.

Provider

rness.json records where the organization lives: "provider": "github", "gitlab" or "atlassian", between contract and org. Every command talks to it through one adapter; git still does what git does (clone, pull, push, credentials), and the provider's API the rest (organizations, creating a repository, the board).

  • rness create asks Where does your organization live? first: GitHub, GitLab, Atlassian (Bitbucket + Jira), and No organization yet: a blank local workspace (the --blank of "Blank workspace"). --provider github, gitlab or atlassian answers it off a terminal; --org, --repos and --blank settle it unasked. Joining an organization asks first as well, then takes the provider its rness.json names.
  • A workspace without the key is read from its first repository URL: a GitLab host reads as gitlab, bitbucket.org or ssh.bitbucket.org as atlassian, any other host, or no repository, as github. Nothing to change: board push writes it when it creates a board, and refuses to create one while it detects a provider other than GitHub and the key is absent (write "provider": "<provider>" in rness.json). The order of keys is contract, provider, org, jira, agents, boards, scopes. The former projects and "pulse": { "project": <number> } are read by rness upgrade alone, which writes them as boards; more than one of them at once is refused. A board in boards is written whole, on several lines, once created; a number still reads, as its preset, until rness sync writes it whole.
  • GitLab: the organization is a top-level group, by its path (letters, digits, _, -, .; a subgroup is not a workspace). The wizard asks Which GitLab group?, your own namespace last, and lists the group's projects, its subgroups' included: each by its path, the subgroup as the hint (platform/mobile), cloned under org/<path>; internal wears the padlock with its word; a second project with a path already offered is left out and named once; archived projects and those scheduled for deletion are not offered. The member line names your role (member acme (as cedric, Owner)). The context repository is the project <group>/rness, named _rness, since a GitLab slug starts with a letter or a digit; it is still cloned as .rness/. Declined or refused, the manual steps name git, then glab repo create <group>/rness --name _rness --private --skipGitInit. rness add takes a subgroup's project by its full path (rness add acme/platform/mobile).
  • Atlassian: the organization is a Bitbucket workspace, by its slug (lowercase letters, digits, -, _, not starting with -). The wizard asks Which Bitbucket workspace?, the workspaces listed with their names as hints, then a workspace not listed here… (no personal account: Bitbucket has no namespace apart from the workspaces). Then Which repositories do you want in your workspace?: each by its slug, its Bitbucket project as the hint, a private one padlocked. The member line names your role as Bitbucket does (member acme (as smarttdev, owner)). The context repository is .rness on Bitbucket, left out of the list and cloned as .rness/; the wizard offers to create it, private, and push it, else the manual steps are git alone (# create the empty private repository acme/.rness on bitbucket.org, then: and git remote add origin <url> && git push -u origin main). The teammate's line is npm create rness -- acme --provider atlassian. After the repositories, a new workspace in a terminal asks Which Jira space for the cards and the journal? on the Jira site the login holds (Which Jira site? first when several are stored): the spaces you can edit, by key with their names, then a new space RNESS when the key RNESS is free, else a new space… and a key typed. jira is written into rness.json at once. A new space (team-managed, Kanban) is created once the workspace is built, before .rness is published (created space RNESS (team-managed, Kanban) on acme.atlassian.net); refused by Jira, the next steps say how to make it by hand (# create a team-managed Kanban space with the key RNESS on <site>, # (Jira > Spaces > Create space > Kanban > Team-managed), then: rness board push). Without a Jira login, or off a terminal (--yes), no space is asked and jira is not written: a next step says # for the cards: add "jira": { "site": "<name>.atlassian.net", "space": "<KEY>" } to rness.json. rness add api takes <workspace>/api, rness add other/api another workspace's; .rness is refused.
  • jira, Atlassian only: "jira": { "site": "<name>.atlassian.net", "space": "<KEY>" }, the Jira site and the key of the space that holds the cards and the journal. On another provider it is refused ("jira" is for an Atlassian workspace: it needs "provider": "atlassian"), and so is a malformed value, naming the key. board push, rness note and the hooks need it; without it they say this workspace has no Jira space: add "jira" to rness.json.
  • provider names one of the three; any other value is refused when rness.json is read ("provider" must be one of github, gitlab, atlassian (got "bitbucket")). null is not a value: an absent key means none.

MCP server

rness mcp      # started by the agent over stdio, not by hand

A local MCP server over the workspace's .rness/, for an agent to find what applies to the repository it works in and where a subject was decided. It is read-only but for rness_note, listed only when a board keeps a journal as the server starts (Claude Code starts it with the session):

Tool Returns
rness_context({ scope? }) the scope of the working directory (or the one named) and what applies to it: standards, decisions, specifications, plans — id, status, title, path
rness_list({ collection, status? }) every document of a collection, across scopes, optionally of one status
rness_read({ path }) one file of .rness/, 256 KiB at most; nothing outside it
rness_search({ query, collection? }) the documents that match, most matching first, with the matching lines
rness_note({ text, session, kind?, plan? }) a note of the agent's journal posted to GitHub, as rness note posts it; the issue it went to (see "Boards")
  • MCP over stdio, one message per line: the 2026-07-28 revision and the earlier ones that open with initialize (2025-11-25 back to 2024-11-05). No MCP SDK, no added dependency.
  • .rness/ is read again on each call, so an edit shows at once. Nothing is written, but by rness_note, which posts with your login. It takes the session as an argument (claude · 1a2b3c4d, as the session start spells it): the server's environment names none.
  • With claude in agents, sync registers it in each clone: .mcp.json gets mcpServers.rness, which runs the pinned copy (node ../../.rness/node_modules/@rness/cli/dist/bin/rness.js mcp). A team's own rness entry is left as it is.
  • Each developer approves the server once, in Claude Code's own dialog. rness does not pre-approve it: enabledMcpjsonServers in a committed settings file would let any change to the rness entry of .mcp.json run unasked. Review such a change like code.
  • Verified with Claude Code 2.1.284 on 2026-09-29: the server starts from the repository and its tools answer.
  • Another agent can run the same command from a clone; rness writes no configuration for it.

Log in

rness login     # shows a code and https://github.com/login/device
rness logout

rness login connects rness to your GitHub account (OAuth device flow: you approve a code in a browser, on any machine). Logged in, create lists the private repositories you can access, offers your organizations to choose from, and says as whom it looks at one (member acme (as you)). The create wizard offers the login itself when it would otherwise list anonymously.

  • The login is one file, ~/.config/rness/auth.json ($XDG_CONFIG_HOME, %APPDATA% on Windows), readable by you only. The access token lives 8 hours and is renewed on its own. GITHUB_TOKEN, then GH_TOKEN, win over it — CI needs no login.
  • rness asks for repo and read:org: GitHub has no read-only scope for private repositories. It only lists and clones. Where the workspace declares a board it asks for project too; see "Boards".
  • A new workspace has to reach GitHub before teammates can join it. Logged in, the create wizard offers to do it: it creates the private repository <org>/.rness and pushes the context with git. Declined, refused by GitHub, anonymous or with --yes, it prints the two manual steps instead — create the empty repository on github.com, then git remote add origin … && git push. No other tool is ever needed.
  • Logged in, the wizard lists the organizations you belong to that have approved "Rness" — GitHub shows an OAuth app no other — your account last, then an organization not listed here… for a typed name: one that has not approved rness yet, an outside collaborator's, a public one. Right after the organization, before the SSH test, the probe of <org>/.rness and the listing, create checks your access: an organization that restricts OAuth apps and has not approved "Rness" hides its private repositories, so the wizard asks Open github.com to approve rness for <org> now?, opens the approval page in your browser (printed only over SSH) and waits — polling every 5 seconds, for 10 minutes at most — until an owner's click makes you a member in its eyes; then it goes on with the full listing. Declined, or timed out, it goes on with what is visible and names the page for later; with --yes or off a terminal it prints the warning and the page, and asks nothing. The order matters: a private .rness probed through a token the organization has not approved would read as absent, and create would start a second one.
  • Over HTTPS, rness's own clones and pulls carry the login — through the environment of that one git command, never in a URL or .git/config. For your own git pull and git push, login offers to make rness git's credential helper for github.com (--setup-git, --no-setup-git); logout undoes it. It needs a global install (npm i -g @rness/cli): a copy run through npx lives in a cache. Over SSH none of this is needed. The helper names node by its absolute path: after a Node upgrade through a version manager (mise, nvm), run rness login --setup-git again.
  • rness logout forgets the login; revoke the authorization itself in GitHub's settings (the command prints the link).
  • GitLab: rness login --provider gitlab (inside a GitLab workspace, the flag is not needed) runs gitlab.com's device flow with rness's application "Rness" of the group rness-dev, scopes api and write_repository: the access token lives 2 hours and is renewed on its own, beside the GitHub login in the same auth.json. GITLAB_TOKEN wins over it (a personal access token works). Over HTTPS git sends the username oauth2; --setup-git writes the helper for gitlab.com, one block per host. rness logout --provider gitlab forgets that login only and names https://gitlab.com/-/user_settings/applications, where the authorization is revoked. RNESS_GITLAB_CLIENT_ID points at another application (a fork, a self-managed instance's).
  • Atlassian: rness login --provider atlassian (inside an Atlassian workspace, the flag is not needed) asks two API tokens, both made at https://id.atlassian.com/manage-profile/security/api-tokens: neither Bitbucket nor Jira has a device flow. First a Bitbucket token "with scopes", app Bitbucket, scopes read:user:bitbucket read:workspace:bitbucket read:project:bitbucket read:repository:bitbucket write:repository:bitbucket admin:repository:bitbucket read:pullrequest:bitbucket; then the Jira site (acme.atlassian.net), the account's email (Bitbucket's primary address offered) and a classic Jira token "without scopes". The prompts are masked, a refused token is asked again, and nothing is stored until both answer; then both are, beside the other logins in auth.json. A token lives until it expires or is revoked, with no refresh: refused later, its entry is cleared (your Bitbucket token was refused (expired or revoked); run rness login --provider atlassian). BITBUCKET_TOKEN, and JIRA_EMAIL with JIRA_API_TOKEN, win over the stored login; off a terminal, login exits 1 naming the three. Over HTTPS git sends the username x-bitbucket-api-token-auth with the Bitbucket token, never the Jira one; --setup-git writes the helper for bitbucket.org. rness logout --provider atlassian forgets both logins (Bitbucket's and the Jira sites') and names the tokens page, where they are revoked.

SSH or HTTPS

create and add test your SSH access to the workspace's host once (ssh -T git@github.com, git@gitlab.com on GitLab, whose greeting comes on stdout, git@ssh.bitbucket.org on Atlassian) and write git@<host>: URLs when the host accepts your key, https://<host>/ ones otherwise; --ssh and --https decide without the test. In a terminal ssh may ask for your key's passphrase; without one (--yes, CI) it never prompts, so a key that needs a passphrase counts as no access unless an agent holds it.

SSH to Bitbucket goes to ssh.bitbucket.org: Bitbucket refuses SSH on bitbucket.org after 2026-11-12 (its notice, read 2026-10-19). A URL on the old host, typed or as Bitbucket's API still gives it, is written on the new one, and a clone made with either name counts as the same repository. Bitbucket's greeting names no login, so the line reads using ssh (ssh.bitbucket.org), without as.

rness.json is authoritative: a URL written there is cloned as written, never converted. In a workspace whose catalogue clones over SSH, create (joining) and sync stop before the first clone when the SSH test fails and say how to set up a key; add offers "Clone over HTTPS instead?" (or --https), which writes an HTTPS URL for that repository only.

Without an agent, a protected key is asked for again by every git clone. Load it once per session: ssh-add --apple-use-keychain ~/.ssh/id_ed25519 on macOS, ssh-add ~/.ssh/id_ed25519 elsewhere.

Colour

In a terminal create, login, add, sync and upgrade run as one session: an intro, a line per finished step, spinners, a "Next" box, an outro — in the same gutter as the questions. A spinner never animates while git might ask for a passphrase: rness first tests SSH unattended, and clones animate only when that passed. The help and the banner are coloured. Through a pipe, in CI, or with NO_COLOR=1, the output is plain text — the same bytes as before 0.5.0; FORCE_COLOR=1 paints it anyway. No dependency does this: util.styleText, and a banner kept as a constant.

Upgrade

rness upgrade            # the latest release; `rness upgrade 0.5.0` for another
npx @rness/cli@latest upgrade     # your global rness is below 0.8.0, or the pin is below 0.5.0, or below 0.25.0 on a contract-1 workspace
pnpm rness upgrade       # inside .rness: the pinned copy merges its own scaffold

The version is written in one place, .rness/package.json. upgrade pins it there (exact, the rest of the file untouched), installs with the workspace's package manager, syncs through the new copy, then commits .rness (chore: rness <version>); a failed install restores the file. Push .rness. Teammates pull, then run any rness command (rness status) before opening Claude Code: it installs the new pin itself, frozen, so the working tree stays clean, and carries on. The hooks run the copy installed in .rness and never install a pin: until a command has, they run the earlier version. RNESS_NO_INSTALL=1 turns the install off and restores the warning, for CI, a container image, or a machine that cannot install. A workspace still on 0.5.0 has no such catch-up: moving it to 0.5.1 is the last manual install.

The catch-up needs one of two things: a launcher — the rness you typed, usually the global install — at 0.5.1 or later, or an installed copy at 0.5.3 or later, which checks for itself whatever launched it. With an older global and a workspace below 0.5.3, a pin that moved is neither installed nor announced: npm i -g @rness/cli@latest once.

A workspace ships .github/dependabot.yml, so each release opens a pull request on the organization's .rness: the pin and the lockfile in the diff, validate running on the new version, review, merge. The pull request arrives 3 to 10 days after a release: the check is weekly, and Dependabot holds any new version back for 3 days by default, a guard against a compromised release. The file's header says how to lift that delay for @rness/cli.

upgrade rewrites rness.json once, from contract 1 (repos beside a flat scopes, and the former projects and pulse) to contract 2. It reads and checks the file first, before the scaffold merge and the install: a file contract 2 cannot hold stops it with one line per problem (repo "api" has no scope at org/api, scope "api" at org/api has no repository: add its url, or remove it, scope "web" at org/platform/apps/web is inside no repository of rness.json, scope "tools" at tools/ is outside org/, repo "web": its scope at org/web is named "frontend"; rename it web), exit 1, nothing changed and the pin where it was. With the pin below 0.25.0, the earlier version keeps working while the team edits the file by hand. With the pin already at 0.25.0 or later (a Dependabot pull request merged first), every command refuses the file and the Claude Code guard refuses edits under .rness/: edit rness.json outside Claude, or step back first with npx @rness/cli@0.24.0 upgrade 0.24.0, which reads contract 1. Otherwise, after the install and before the sync, it writes the file (rewrote rness.json as contract 2 (ADR 0012)), says what nesting changed (scope "web" now inherits platform (nested)), and chore: rness <version> holds it. A downgrade below 0.25.0 of a contract-2 file is refused.

  • One step: npx @rness/cli@latest upgrade, which runs the new copy.
  • Two steps: pnpm rness upgrade (or any copy below 0.25.0) installs 0.25 and stops on the sync, as the new copy reads no contract 1 (rness.json is contract 1: run npx @rness/cli@latest upgrade). Run that, or the pinned copy from .rness (pnpm rness upgrade, npm exec -- rness upgrade): it finishes the merge, rewrites the file, syncs and commits. A global rness below 0.25.0 cannot: it answers "merge in progress" or "already at". If a newer release came out between the two runs, upgrade <version>, with the version the first run installed, finishes it.
  • In a workspace whose packageManager is npm, pnpm rness fails: use npm exec -- rness upgrade or npx rness upgrade.
  • Every command but upgrade (and login, logout) refuses a contract-1 file with that one line, exit 1. rness policy check and the hooks do not block: they print rness: policies not checked: rness.json is contract 1: run npx @rness/cli@latest upgrade.
  • rness create <org> of 0.25 joining a workspace still on contract 1 stops before cloning more, naming the version to use: npx @rness/cli@<pin> create <org>, with the --provider and --host given. When the pin already names 0.25.0 or later, it names the upgrade instead: a teammate runs npx @rness/cli@latest upgrade in .rness and pushes, then create again.

After the Dependabot pull request moves the pin, rness validate fails in its CI, saying run npx @rness/cli@latest upgrade: until the file is rewritten the new copy reads no contract 1. Tell the team: one developer runs npx @rness/cli@latest upgrade in .rness (on the pull request's branch before merging it, or on main after) and pushes; the others git pull, then run any rness command (rness status) before opening Claude Code. Until a command installs the new pin, the copy still installed reads no contract 2, and the hooks it runs say rness.json: unsupported contract: 2 (expected 1).

upgrade also merges the scaffold of the target version into .rness, with git: the CI workflow, the hooks, the starter documents. After a Dependabot pull request, run it once more to merge the scaffold of the version the pin now names; rness validate warns while it is behind.

rness upgrade
merging  the @rness/cli 0.8.0 scaffold
added    .github/workflows/validate.yml
updated  .githooks/pre-commit
merged   AGENTS.md
  • The base is the last scaffold commit of .rness: the commit create made, or the previous chore: rness scaffold <version>. A file the team never touched takes the new version; an edited one keeps its edits where the scaffold did not change; overlapping lines conflict, and upgrade stops before installing — resolve with git (git checkout --ours <file> keeps yours, --theirs takes the scaffold's), commit, run upgrade again.
  • .rness must be a clean git repository with no merge in progress. upgrade commits the merge itself, through the repository's hooks. When a hook refuses, everything stays staged, what it said is shown, and upgrade exits 1 with the commit to make.
  • A workspace with no scaffold commit (made by hand, or older than create) is adopted: identical files merge silently, a differing one conflicts once.
  • Merge an upgrade pull request with a merge commit, not a squash: a squash drops the scaffold commit, and the next upgrade falls back to an older base.

upgrade is never delegated to the pinned copy, which is what it replaces — so it runs the copy you typed. From 0.8.0, a global rness older than the pin merges the scaffold of the copy installed in .rness. A global below 0.8.0 knows no scaffold: it answers "already at" and merges nothing — use the npx form, or the pinned copy from inside .rness. A workspace pinned below 0.5.0, whose copy has no such command, starts with the npx form.

An upgrade commits .rness only. Its sync rewrites a block only when the block's content changed — a block is current when its hash is, whatever wrote it — and writes the agent files a release adds. The next steps list, per repository, the files to commit there.

Exit codes: 0 success, 1 failure, 2 usage — or a refusal without a TTY. RNESS_DEBUG=1 adds stack traces; RNESS_NO_DELEGATE=1 skips the delegation.

0.26.2 - the status pane under Claude Code 2.1.325; a folder Claude Code does not trust, said

  • Documented: Claude Code loads the plugin only in a folder trusted itself. Under a trusted parent folder /rness:status and the team skills answer Unknown command; the fix is a hand edit of ~/.claude.json. The session start now says it (agents declaring claude): one line naming the folder and the fix, read from ~/.claude.json ($CLAUDE_CONFIG_DIR/.claude.json when set), which rness never writes.

  • The /rness:status pane: Enter opens the selected row again under Claude Code 2.1.325, after ↑/↓ or a click, instead of changing the tab. Claude Code's terminal keeps the focus ring as a place among the pane's buttons, and the ‹ › that moved with the selection shifted that place onto the › beside the new row. Each row now keeps its ‹ ›, hidden on the rows not selected, so its button keeps its place.

0.26.1 - a skill the team writes is /rness:; the tools that see installed copies

  • A skill the team writes is /rness:<name> in Claude Code. It is installed in the rness plugin (.claude/skills/rness/skills/<name>/); Codex and Cursor read it under its plain name in .agents/skills/<name>/. A declared skill keeps its name. A 0.26.0 copy moves at the next sync: the first sync after the upgrade moves a team-written skill's copy into the plugin and says installed and removed once for it. status, adr, spec, plan and done are refused as names of a team-written skill.
  • Documented: the tools that see installed copies, with the ignore line each needs (see Team skills). rness edits none of those files.

0.26.0 - team skills: declared, reviewed, installed with consent

  • Team skills: rness skill add | update | remove | install | uninstall | list. An organization declares skills in rness.json (skills, at the top or in a scope) from github:, git: or path: sources; each is copied and frozen in .rness/skills/ for review in a pull request, its fingerprint the tree git gives the copy, and installed in each developer's clones, as committed in .rness, only with their consent, asked once per skill. See "Team skills".
  • Team skills: once accepted, a skill's new versions are installed by sync without a new question, said updated <name> (<old> -> <new>). sync reinstalls the accepted skills, removes the ones no longer accepted or declared and prints a line for the pending ones; it never installs a new one. rness skill uninstall <name>... removes skills from your clones and never proposes them again until you install them. After pulling a .rness that declares skills, a teammate still on 0.25.x runs rness sync once. AGENTS.md and CLAUDE.md list the team skills of each scope.
  • Claude Code: the session start asks the developer about skills never answered, and the guard refuses an edit of an installed copy or of a declared copy in .rness/skills/.
  • Skills are never written in the home directory.
  • Existing directories under .rness/skills/ become team skills: validate checks them, the AGENTS.md and CLAUDE.md blocks list them, and every developer is asked before they are installed.

0.25.1 - an upgrade never merges against a hand-made merge commit

  • upgrade finds the commit holding the previous scaffold to merge the new one against. A merge commit is never taken for it, whatever its subject: a conflict resolution committed by hand as chore: rness scaffold <version> used to become that base, and the next upgrade then took the scaffold's version of every file over the team's edits. If an earlier upgrade left such a commit in your .rness, this release merges against the real scaffold commit and keeps your edits.

0.25.0 - rness.json contract 2: a scope is a repository, or a part of one

  • rness.json contract 2: one key, scopes; a scope is a repository (url, cloned at org/<name>) or a part of one (nested in its scopes, path relative to the parent). A part inherits its parent, then its extends. repos is gone: the repositories are the scopes with a url. See "rness.json".
  • rness add writes scopes.<repo> = { url } and each --scopes part under it, with its path and no extends.
  • rness create writes contract 2, --blank too; joining a workspace on contract 1 stops with the command to use at its pin, with the --provider and --host given, or asks for the upgrade first when the pin already reads contract 2.
  • rness upgrade checks rness.json first, then rewrites a contract-1 file once, in its chore: rness <version> commit; every other command refuses a contract-1 file with run npx @rness/cli@latest upgrade, which does it in one step; see "Upgrade". Its next steps tell teammates to run a rness command after git pull, before opening Claude Code.
  • rness validate reports a redundant extends (an ancestor).
  • Library API: RepoEntry and Manifest.repos are gone; ScopeEntry.url and ScopeEntry.parent are required and Manifest.contract is 1 | 2; repositories() (its Repository type) lists the repositories; loadManifest throws on a contract-1 file and writeManifest writes contract 2 only.

0.24.0 - policies as data

  • Policies as data (spec 0040): a policy/ collection of rules refused at commit, at push and on edit, for every local agent. Three checks (commit-message, added-lines, push), the ## Policies section of the block, git hooks written by create, add and sync in every declared clone (reported when a foreign hook or core.hooksPath is left alone), the Claude Code guard on Edit, Write and Bash, refusals on record in the session summary and in a Policies tab of rness status. The scaffold gains policy/no-force-push.md (Disabled) and the .githooks/ commit-msg and pre-push. See "Policies".
  • Known limit: a hook runs only the CLI of a .rness owned by the current user. Where .rness belongs to another user (a devcontainer, a bind mount), every commit prints one line and no policy is checked.

0.23.1 - a key on every element of a /rness:status row

  • The /rness:status pane gives every element of a row a key: the status, and the blank before a row not selected, had none. A repository whose linter reads the synced .claude/ (react/jsx-key) failed on it.

0.23.0 - GitLab and Atlassian as providers

  • GitLab as a provider (spec 0037): rness login --provider gitlab (gitlab.com's device flow, the application "Rness", GITLAB_TOKEN, oauth2 over HTTPS, --setup-git per host); create on a top-level group, its subgroups' projects included, the context project <group>/rness; add by full path; sync leaves org/rness alone on GitLab; the boards as issue boards of <group>/rness, one per view (ids), the selects as scoped labels kept exclusive, the other fields in a footer; rness note and the session summary on GitLab.
  • Atlassian as a provider (spec 0039): Bitbucket for the repositories, Jira for the cards. rness login --provider atlassian (two API tokens, a scoped Bitbucket one and a classic Jira one; BITBUCKET_TOKEN, JIRA_EMAIL with JIRA_API_TOKEN; x-bitbucket-api-token-auth over HTTPS, --setup-git for bitbucket.org); create on a Bitbucket workspace, the context repository .rness on Bitbucket, then the Jira space, listed or created, written as jira in rness.json; add; the boards as the space's one board, real Jira statuses set up at the first push, the selects as labels, the other fields in a footer, Gone hidden once by hand; rness note and the session summary on Jira, with Bitbucket's pull request.
  • SSH to Bitbucket on ssh.bitbucket.org; a URL on the old SSH host is written on the new one.
  • A new runtime dependency, marklassian 1.2.1 (MIT): Markdown to Jira's ADF, loaded by import() on the Jira path only; context and validate never load it.
  • The SSH test reads the greeting on stdout as well as stderr.
  • create asks the provider's API whether the context repository exists, by status code: 200 joins, 404 starts a new workspace, 401 (a refused token) and 403 (no access) stop it with the code. Without a login it still asks git, which now reads a missing repository over SSH on Bitbucket and GitLab as absent, not as an error.
  • A Jira space whose workflow uses the site's global In Progress (a space made since November 2026) is set up: the push reads the statuses the workflow uses, whatever their scope, adopts the global one as it is (never renamed: that would rename it for the whole site) and makes no second In progress, which Jira refused in the workflow.
  • Joining a context repository that holds no rness.json says so: acme/.rness exists but holds no rness.json: it is not a workspace. Delete it, or push a rness.json to it, then run rness create again, instead of rness.json: not found.
  • create --help names GitLab and Atlassian (a Bitbucket workspace); --ssh and --https say <host>.
  • The npm descriptions of create-rness and @rness/create name a GitLab group and a Bitbucket workspace beside a GitHub organization.

0.22.2 - repository names in any case

  • rness add takes a repository name in any case, as create does: rness add dApp declares dapp in rness.json and clones into org/dapp; the URL keeps the spelling typed. create --repos follows, and add --scopes apps/Web declares scope web.
  • A clone whose directory differs from its name only by case (org/dApp for dapp) is renamed org/dapp by rness add, once its origin is checked: the confirmation says so, and --yes consents to it. A path in another case is the same on macOS and Windows but not on Linux, so a teammate's clone would not match. Two such directories are refused, named.
  • rness add adopts a clone whose origin differs from the URL only by case or by transport (an HTTPS clone, an SSH URL in rness.json). Another repository is still refused.
  • rness sync names each directory under org/ it does not read on a not read: line, instead of skipping it silently; for org/dApp the line points at rness add dapp, which renames it. A declared repository whose directory differs only by case is not cloned a second time and gets no block until renamed.
  • --scope takes a scope name in any case: rness context, rness sync, and rness_context over MCP.

0.22.1 — what rness writes carries no em dash

  • Nothing rness writes carries an em dash (U+2014) any more: the AGENTS.md block, the title rness doc new opens (# NNNN - Title), the rness:adr, rness:spec and rness:plan skills, the scaffold, the titles of a board's issues (NNNN - Title, renamed once at the next rness board push), and the messages of the CLI and of the mod: " - ", a comma or a colon take its place. A title written with the old separator still reads. The repository's lint refuses a new one in a string of the CLI or the mod.

0.22.0 — board, not pulse: rness board push, rness note, boards in rness.json

  • One word for the view, whatever the provider (spec 0033, see "Boards"): rness board push replaces rness pulse sync, rness note replaces rness pulse note, and the hooks start rness board run. rness.json names its boards boards; projects and the older pulse still read, and rness sync (which rness upgrade runs) renames the key. pulse stays the name of the board rness ships, Agent Pulse.
  • A board comes to exist by its declaration and a push: there is no create. A board of boards without a number, or a preset by name ("pulse": "agent-pulse", "marketing": "collection"), is created by rness board push once asked (-y off a terminal), its number then written into rness.json.
  • rness pulse … still runs, hidden, as its new command, and says so on stderr; it goes in a later minor. rness pulse mark, kept through 0.21.x for 0.20's hooks, now exits 0 and does nothing. Spec 0031's eject is not built and will not be: every board is written whole.
  • The session-start notice is rness: board not updated — …, its record board.json (one 0.21 left in pulse.json is said once), and messages name boards: boards need a GitHub login: run rness login.
  • Upgrade with npx @rness/cli@latest upgrade, which runs the new copy throughout: a 0.21 copy cannot read boards (unknown key "boards").
  • For the package's API: Manifest.projects is Manifest.boards (Boards, a record of BoardEntry: a number, a preset's name, or a BoardDeclaration, whose number is null until the board is created).

0.21.0 — boards declared in rness.json; what a session does to a board, declared; the agent's journal

  • The agent journal (spec 0030, see "Pulse"): a board declares journal at session-start and journal-summary at session-end. The agent posts notes on the plan it implements — rness pulse note, or rness_note of rness mcp — to the plan's issue in .rness, or to an implementation issue in the repository it works in, a sub-issue of the plan's, which the pull request closes. The session's end posts a summary: its commits, its pull request, its duration. The preset agent-pulse declares neither: nothing changes until a board does.
  • Boards are declared in rness.json (spec 0031, see "Pulse"): each one's collections, statuses, colours, fields, labels and views, written whole. Agent Pulse is the preset agent-pulse, no longer a special case of the code. pulse create writes the board it makes; rness sync (which rness upgrade runs) writes a board declared by its number whole, moves a collection's README declarations into its board, and merges a newer revision of a preset value by value. Views are updated in place where GitHub allows; a view rness made and no longer declared is deleted, the team's are said once. Nothing changes on GitHub for a board 0.20 made. For the package's API: Projects is Record<string, number | BoardDeclaration>; BoardDeclaration and parseBoard are exported.
  • A board's readme and updates stay within .rness/: a path out of it, or a link leading out, is refused before anything is read.
  • What a session does to a board is declared in its hooks (spec 0032): mark-in-progress, mark and clear-marks, from a fixed catalogue; a hook never runs a command rness.json names. The preset agent-pulse declares today's three, so nothing changes on GitHub. The hooks start rness pulse run <event>; rness pulse mark stays, hidden, through 0.21.x, for sessions started before an upgrade.
  • upgrade run by a workspace's pinned copy installed with pnpm no longer ends on mod directory not found next to the @rness/cli package. After its commit it lists the files to commit in the clones, and that list read the plugin's mod from the folder of the copy running it, which the install had just removed. The list now takes the paths alone. The upgrade itself was complete: 0.20.0 to 0.20.1 printed the error after its commit.
  • An upgrade to 0.21.0 run by a 0.20 copy (pnpm rness upgrade from .rness/) ends, after its commit, on rness.json: "projects" must map names to distinct project numbers: the old copy, finishing, cannot read the boards the new version has just written. The upgrade is complete, and rness validate passes. npx @rness/cli@latest upgrade runs the new copy throughout; pnpm dlx @rness/cli takes the previous version for a day after a release, pnpm refusing a version younger than 24 hours.

0.20.1 — the workspace's line in the prompt footer, without a warning sign; the mod never installs the pin

  • The workspace's line in Claude Code moves from the pinned status line to the prompt footer, among the session modes, dim and without a sign: rness · web · 1 in progress, ⚠ <n> at its end when notes need action. Claude Code draws every pinned line a plugin sets after a ⚠ in its warning colour, the wrong sign for a line that informs. rness status --json's statusLine carries the leading rness again. VS Code and mobile surfaces, which draw no session modes, show no line; the /rness:status pane stays.
  • The mod no longer installs the pin from inside Claude Code. It ran status --json with catch-up on, so in a workspace whose pin drifts each refresh ran npm install in .rness, without asking, and replaced a local copy. It now runs with RNESS_NO_DELEGATE=1: the drift is a note in the band, as the settings hooks report it.

0.20.0 — the status pane opens a document; ↑/↓ select, Tab changes the tab; Agent Pulse's colours and links

  • /rness:status in Claude Code: each row's status in Agent Pulse's colour; ↑/↓ select a row, Tab and Shift+Tab change the tab; Enter, or a click, on a row shows the document in the pane and q brings the list back; Agent Pulse is a link — the board from the list, the document's item from the document. rness status --json prints each row's color and link, and the board as pulse.

0.19.0 — the plugin's mod; edits of generated files refused before they land

  • The Claude Code plugin gains a mod (see "The mod"): the notes to act on above the prompt, a status line entry, and /rness:status as a pane beside the conversation, with no model turn, driven by the keyboard. sync writes three more files into .claude/skills/rness/, at the root and in each clone; an upgrade lists the clone's for commit. Claude Code without mods ignores them; older than 2.1.280, it is told once per version, in the session-start line, to run claude update (when it sets AI_AGENT, as 2.1.240 does).
  • A fourth hook, PreToolUse on Edit|Write: an edit of the block of an AGENTS.md or CLAUDE.md, or of the plugin's files, is refused before it is written, naming the file to edit instead; so is an edit that would add a problem to a document of .rness/ or to rness.json. Until the upgrade has run on a machine, a session there runs the old pinned copy, which says unknown hook event "pre-tool-use" and lets the edit through.
  • rness status --json prints the tabs and what the mod draws.

0.18.1 — a document without a number is caught; small fixes

  • rness validate and the edit hook name a document of adr/, specs/ or plans/ whose file name has no number, with the next one: plans/2026-10-02-x.md: not numbered; name it 0002-<slug>.md, the next number of plans. A plan another agent's skill wrote with a dated name is the usual case; rename it, or let the agent do it when the hook tells it. A workspace with such a file fails validate (and its CI) after the upgrade until it is renamed. The scaffold's CONVENTIONS.md states the rule, and upgrade merges it in.
  • A dated file name is no longer read as a number: rness doc new after 2026-10-02-x.md gave 2027, and two dated plans of one year were reported as one number twice.
  • rness doc new racing another one at the same number says <file> exists; nothing written (exit 1) instead of a raw EEXIST.
  • 1 repository, not 1 repositories, in create and sync.
  • When the SSH test passes only by asking for the key's passphrase, create, add and sync say once how to load it into an agent (ssh-add), since every clone would ask again.
  • Ctrl+C while create waits for an organization's approval is a cancel in the plain look too: cancelled, nothing written, exit 0 (it was 130).

0.18.0 — the wizard asks where first and waits for the approval; the skills on one grammar; Node 22.17

  • The published CLI runs on Node 22.17 or later (ADR 0010); the guard compares major and minor. A workspace pinned to 0.17.x keeps refusing Node 22 until its pin moves: from inside it, npx @rness/cli@latest upgrade works under Node 22, since upgrade is served by the copy invoked, never the pinned one.
  • rness create asks where the organization lives first — the blank workspace is that question's last answer — then offers the login, which now lists the organizations you belong to that have approved rness (your account last, then an organization not listed here… for the rest). Right after the organization and before anything reads it, an organization that restricts OAuth apps and has not approved "Rness" gets its approval page opened in your browser; the wizard waits for the owner's click (10 minutes at most) and then lists the private repositories too. See "GitHub login".
  • /rness:adr, /rness:spec and /rness:plan read their first word as the verb: create, open (a bare number), and for a plan from <spec> — which approves the specification it plans — and check NNNN, the proofs of a plan, in place of /rness:done. /rness:done is retired: rness sync removes its SKILL.md where an earlier release wrote it (removed in its output); commit the deletion in each repository, as upgrade's next steps list. Note: /rness:plan 0028 now opens plan 0028; a plan is made with from <spec>. See "Agent targets".
  • rness doc new <collection> [--title <text>] writes the next numbered document of adr, specs or plans and prints its path: the skills allocate with it instead of counting. rness validate and the edit hook refuse two documents with one number in a collection.
  • The day of a release, pnpm create rness runs the previous version: pnpm ≥ 11 holds back a package younger than 24 hours (minimumReleaseAge). rness upgrade installs the latest all the same.

0.17.3 — the packages name the product; the plugin manifest for scanners

  • homepage of @rness/cli, create-rness and @rness/create is https://rness.dev; repository and bugs stay on GitHub. That is how a scanner tells an official package from a fork; pnpm check:versions checks it with the versions.
  • .claude/skills/rness/.claude-plugin/plugin.json, written by the Claude target, carries the agent-plugins.org $schema, the author, homepage, repository, licence and keywords. rness sync rewrites it once in each repository; commit it there.
  • skills/rness/SKILL.md at the root of the repository: when to use Rness and how to install and run it, for npx skills add rness-dev/rness and skills.sh.

0.17.2 — the lifecycle skills move statuses and commit their files

  • /rness:adr, /rness:spec, /rness:plan and /rness:done let the agent move a status as the work does — a plan In progress as its tasks start, Completed once they pass, a specification Implemented with its last plan — and whenever the developer says so. Accepting an ADR or approving a specification stays the developer's unless they asked the agent to go ahead. /rness:done closes a plan whose last task has just passed without asking first.
  • Each of them ends in a commit of the files the agent alone changed, in their repository, added by name. A file that had uncommitted changes before the agent's first edit, or that someone else changed since, is left out and named. Nothing is pushed. Until now they committed nothing, which left their files for someone else to find.
  • rness upgrade rewrites the four skills under .claude/skills/rness/; commit them in each repository, as its next steps list.

0.17.1 — pulse shows it is at work

  • pulse create and pulse sync show a transient line while they write a project's items and bodies: each item is a few requests, one at a time, and 34 cards took minutes with nothing on screen.
  • A collection's label is made only when a document carries it: a directory with no card (assets/) is no label.
  • pulse create <collection> says linked Marketing to <org>/.rness, not Agent Pulse.

0.17.0 — a collection on its own GitHub Project

  • rness pulse create <collection> gives a collection of .rness/ a project of its own; rness pulse sync syncs every declared project. The collection's README.md gives the project its README, short description, columns, fields and labels, and updates/ its status updates. See "Pulse".
  • rness.json names the projects in "projects": { "pulse": 4 }; the former "pulse": { "project": 4 } still reads, and is written in the new form whenever rness writes the file. A CLI older than 0.17.0 refuses projects: move the pin first (rness upgrade).
  • For the package's API: Manifest.pulse is now Manifest.projects.
  • A workspace that declares no collection's project sees no change on Agent Pulse. Blocks are unchanged.

0.16.0 — Working session and Session history; the agent in the history

  • Agent Pulse's session fields are renamed so that the names say what they hold: Session becomes Working session (the session working on a document now) and Sessions becomes Session history (every session that changed it). The first pulse sync with 0.16.0 renames them in place: values, ids and views stay. Until then, marks use whichever name the board has. See "Pulse".
  • Session history names each session's agent: Claude Opus 5.5 · 1e9cb41b-…. The lifecycle skills now record { id, agent } in sessions:; a bare id, as 0.15 wrote it, still reads, and shows alone. rness upgrade rewrites the four skills: commit .claude/skills/rness/ in each repository. See "Agent targets".
  • Blocks are unchanged.

0.15.1 — upgrade names every file to commit

  • rness upgrade's next steps name every file the new version's sync wrote in a repository. They used to be listed from the running copy, which does not know the files a newer release adds: 0.13.0 named two of the plugin's six files after syncing with 0.14.0. The running copy now asks the copy it installed. This applies to upgrades run by 0.15.1 or later; from an older copy, commit .claude/skills/rness/ whole, as the changelog of each release says.
  • Agent Pulse no longer gives a document a second issue when two syncs follow each other within seconds. The second one's listing of the board may not show the item the first one added yet. Before making an issue, pulse sync now looks for an open issue of .rness already made for the document, and adds that one (adopted 1 issue). See "Pulse".
  • Blocks are unchanged.

0.15.0 — Agent Pulse follows a status change; the sessions are kept

  • An edit that changes a document's status syncs Agent Pulse at once: its card moves within seconds, not at the session's end. An edit that leaves the status alone still costs nothing. See "Pulse".
  • sessions: in a document's front matter lists the Claude Code sessions that wrote or changed it. The lifecycle skills add theirs; the board shows them in a new field, Sessions, which a session's end never clears. A board gains the field at its first sync with 0.15.0. See "Pulse" and "Agent targets".
  • rness upgrade rewrites the four lifecycle skills; commit .claude/skills/rness/ in each repository.
  • Blocks are unchanged.

0.14.0 — the lifecycle skills; /rness:status names a second terminal

  • The rness plugin of Claude Code gains /rness:adr, /rness:spec, /rness:plan and /rness:done: the workspace's lifecycle as procedures the developer or the agent starts, which write nothing without a yes. See "Agent targets".
  • /rness:status ends with two ways to the full-screen view: Ctrl+Z in the same terminal, or another terminal from .rness/ — pnpm rness status, or the command of the workspace's package manager. See "Status".
  • rness upgrade syncs, so it writes the four skills and rewrites plugin.json and the status skill; then commit .claude/skills/rness/ in each repository, as its next steps list. Until then sync --check and validate report them.
  • Blocks are unchanged.

0.13.0 — Agent Pulse: each document an issue of .rness, its content on the card

  • Each item of Agent Pulse is an issue of <org>/.rness, labelled rness, whose body is the document. A link to another document opens its issue in the board's side panel. GitHub shows the items only to people who can read .rness. See "Pulse".

  • Needs Issues on .rness: without them pulse create and pulse sync refuse, before writing anything.

  • Upgrading: the first pulse sync with 0.13.0 — run by hand, or at the end of a Claude Code session — does the migration. It converts every draft that carries a Path into an issue of .rness: its id and fields stay, so the boards do not change. It labels each issue, writes its body, and links the project to .rness. GitHub notifies the people who watch .rness of each new issue, once. Nothing is asked. Until every developer's .rness is on 0.13.0, a session that ends on 0.12.0 syncs as 0.12.0 did: it sees the issues as the team's and adds a draft per document. The next 0.13.0 sync archives those drafts.

  • The board is not made read-only, and its workflows are left alone. A change made on the board is written back at the next sync. See "Pulse".

  • When it did, pulse sync says created 1 issue, converted 52 drafts into issues of <org>/.rness or reopened 1 issue. It waits on GitHub's rate limits, 10 minutes at most in all.

  • An edit of a document that has no item yet — a spec or a plan the agent has just written — now gives it its issue, then marks it working. Before, it was marked only once a sync had added it.

  • A clone that has not pulled a teammate's new document — or the same developer's, from another clone — leaves its item alone. 0.12.0 archived it, and the next up-to-date sync made a second one. A document renamed or deleted before any commit has its issue closed by the clone that opened it, which records it in its git directory (rness/opened).

  • The package's Provider interface changes:

    • checkIssues(org) is new;
    • apply returns the item and issue number of a create or a convert: Placed | null;
    • BoardItem gains a required issue: the item's issue of .rness (number, state, label, body), or null;
    • Step gains the kinds convert, close and body, and update gains reopen;
    • items(board, { bodies: false }) lists the items without their issues' bodies (body: null).

    An implementation outside this package must adapt to each.

  • Blocks are unchanged.

  • Status colours: Rejected is red and Superseded yellow, in every collection's field and in Status; a sync recolours them.

0.12.0 — rness pulse; the provider

  • rness pulse create and rness pulse sync: the Agent Pulse board on the organization's GitHub Projects, a projection of .rness/. See "Pulse". rness login asks for the project scope where the workspace declares a pulse.
  • rness.json gains two optional keys of contract 1: provider (github; gitlab and atlassian are listed as not available) and pulse: { "project": <number> }. A CLI older than 0.12.0 refuses them: move the pin (rness upgrade) before either is written. create asks Where does your organization live?, or takes --provider github. See "Provider".
  • With claude in agents, sync adds a third hook, SessionEnd (rness hook session-end), to each clone's .claude/settings.json and to the workspace root's. rness upgrade syncs, so it adds it; then commit .claude/settings.json in each repository, as its next steps list. Until then sync --check and validate report the hook missing. The two existing hook lines do not change.
  • With a pulse declared, the hooks mark and clear the plans an agent works on, through a detached process. See "Hooks".
  • One status field per collection (ADR status, Specs status, Plans status, …); each board's columns are that collection's steps and only them. rness pulse sync remakes a board built by an earlier version (its URL changes once) and renames a first view named View 1 to All when no All exists.
  • Blocks are unchanged.

0.11.0 — rness status; /rness:status in Claude Code

  • rness status [tab]: every decision, specification and plan — and any other directory of .rness/ whose documents carry a status — a tab per directory, a line per document. A full-screen view in a terminal, Markdown off one. See "Status".
  • With claude in agents, sync writes the rness plugin (.claude/skills/rness/) in each clone and at the workspace root: /rness:status in Claude Code. rness upgrade syncs, so it adds them; then commit .claude/skills/rness/ in each repository, as its next steps list. Until then sync --check and validate report the files missing.
  • Blocks are unchanged.

0.10.0 — hooks: the context at session start, validation after an edit

  • With claude in agents, sync adds two hooks to each clone's .claude/settings.json, and writes .claude/settings.json at the workspace root with the same two. See "Hooks". rness upgrade syncs, so it adds them; then commit .claude/settings.json in each repository, as its next steps list. Until then sync --check and validate report the hooks missing.
  • A settings file keeps the team's own hooks: rness appends its entries after them.
  • Blocks are unchanged.

0.9.2 — the sync summary reads as a sentence

  • rness sync counts agent files apart from blocks: "4 blocks: 4 unchanged; 6 agent files: 6 unchanged". 0.9.1 counted them as blocks ("10 blocks: 10 unchanged").
  • In a terminal the line reads as a sentence, verb first: "Synced 4 blocks: …" instead of "10 blocks: 10 unchanged synced".
  • Blocks are unchanged: no rness sync is needed after upgrading.

0.9.1 — upgrade ends in its commit; the MCP server approved per developer

  • rness upgrade commits .rness itself (chore: rness <version>), with the repository's hooks; a refusal leaves everything staged and exits 1. The next steps say what is left: push, and per repository the files the sync changed.
  • upgrade syncs every time, the Dependabot case included (pin and install already at the target). In 0.9.0 it skipped the sync there, so the values 0.9.0 added to the agent files were missing and the scaffold's pre-commit hook refused the commit.
  • upgrade refuses a .rness with a merge in progress.
  • validate counts a merge in progress: the commit recording a scaffold merge no longer warns that the scaffold is not merged.
  • The Claude target no longer writes enabledMcpjsonServers: each developer approves the MCP server once. After syncing with 0.9.0, remove rness from enabledMcpjsonServers in each .claude/settings.json by hand — rness never removes a value.

0.9.0 — the context on demand: rness mcp

  • rness mcp: a local, read-only MCP server with four tools — rness_context, rness_list, rness_read, rness_search. See "MCP server".
  • The Claude target registers it: each clone gets .mcp.json (mcpServers.rness) and rness in enabledMcpjsonServers of .claude/settings.json. After upgrading, run rness sync once and commit both files in each repository; until then sync --check and validate report them missing.
  • Blocks are unchanged.

0.8.1 — adoption without placeholders

  • Adopting the scaffold no longer adds a .gitkeep to a directory that already holds files (specs/, plans/ of a workspace older than create).
  • In a terminal, upgrade says "Merging the @rness/cli 0.8.0 scaffold" instead of "the @rness/cli 0.8.0 scaffold merging".
  • A test now pins what 0.8.0 already did: a global rness older than the pin merges the scaffold of the copy installed in .rness.

0.8.0 — upgrade merges the scaffold

  • rness upgrade merges the target version's scaffold into .rness with git, three-way, from the last scaffold commit: files the team never touched are updated, edits are kept, overlaps conflict and stop the upgrade before the install. See "Upgrade". After a Dependabot pull request, run rness upgrade once to merge the scaffold; nothing is installed.
  • rness validate warns while the merged scaffold is behind the pin.
  • The commit create makes carries Rness-Scaffold: <version>.
  • Breaking: upgrade refuses a .rness that is not a clean git repository. The two migrations it carried (an old validate.yml line, a missing dependabot.yml) are what the merge does now.
  • Blocks are unchanged: no rness sync is needed after upgrading.

0.7.0 — agent targets: Claude Code

  • rness.json may declare the team's agents: "agents": ["claude"]. It is an optional key of contract 1; no block changes. A CLI older than 0.7.0 refuses the key: move the pin before declaring an agent.
  • rness sync --agent claude declares it and writes each clone's .claude/settings.json (../../.rness in permissions.additionalDirectories). In a terminal with nothing declared, sync asks once which agents the team uses; create asks for a new workspace, or takes --agent.
  • sync --check and validate cover the agent files, and sync --pull does not count them as local changes. See "Agent targets".

0.6.2 — no dialog for the root CLAUDE.md

  • Opening Claude Code in a repository of the workspace no longer asks "Allow external CLAUDE.md file imports?". The workspace root CLAUDE.md carried @AGENTS.md; Claude Code loads that file from every repository below it, where the import points outside the working directory. rness sync now writes the global block into the root CLAUDE.md itself; a line that is exactly @AGENTS.md is dropped there, the rest of the file is kept. The CLAUDE.md of each repository keeps its @AGENTS.md.
  • The root files are not in any repository: run rness sync once after the upgrade, on every machine. The blocks in the repositories are unchanged.
  • sync --check and validate cover the root CLAUDE.md. At the root, a symlink between CLAUDE.md and AGENTS.md is left as it is and the other file is still written.
  • The scaffold's validate.yml uses actions/checkout@v7 and actions/setup-node@v7, as the rness repositories do. A workspace created before keeps its own file.

0.6.1 — hints you can type

  • Every hint that names a command to run (not cloned: …, run … sync, run … login, … upgrade <version>) spells rness the way it was launched: npx @rness/cli, pnpm dlx @rness/cli, yarn dlx @rness/cli (npx on Yarn 1), bunx @rness/cli, or rness when it was typed directly. The next steps of create follow the same rule; --pm, which chooses what .rness/ installs with, no longer decides them.
  • Under rness-dev (RNESS_NO_DELEGATE=1), create writes its first blocks from the sources rather than through the copy it just installed.
  • Blocks are unchanged: no rness sync is needed after upgrading.

0.6.0 — a workspace without GitHub

  • rness create <name> --blank writes <name>/.rness/ (a rness.json without "org", committed), an empty <name>/org/ and the root AGENTS.md and CLAUDE.md, with no login, SSH test or GitHub request. With npm create, flags go after --: npm create rness demo -- --blank.
  • In a terminal, create with no organization and no --repos first asks how to start: from a GitHub organization, as before, or a blank local workspace.
  • A rness.json without "org" is no longer a warning in sync, add and validate. In such a workspace rness add <repo> exits 2 and asks for <owner>/<repo> or a git URL: it used to take the directory name as the owner, a repository that almost never exists.
  • The next steps create prints are written with the package manager that ran it: npx @rness/cli, pnpm dlx @rness/cli, yarn dlx @rness/cli (npx on Yarn 1), bunx @rness/cli, and <pm> create rness <org> for teammates. They said rness …, a command npm create never installs.
  • Blocks are unchanged: no rness sync is needed after upgrading.

0.5.3 — catching up no longer depends on the global install

  • After a pull that moved the pin, the next rness command installs it. That check ran in the launcher only, so a global @rness/cli below 0.5.1 — which delegates to the installed copy without looking — left the old version in place and said nothing: sync --check answered unchanged with 0.5.1 blocks under a 0.5.2 pin. The installed copy now checks as well.
  • Reach: the check lives in the installed copy, so it works from the first pin move after a workspace holds 0.5.3. The move to 0.5.3 itself still needs a launcher at 0.5.1 or later.
  • The scaffold's dependabot.yml says why the pin's pull request arrives 3 to 10 days after a release (a weekly check, plus Dependabot's default 3-day cooldown) and gives the three lines that lift it for @rness/cli. The default stays: for an adopting organization the CLI is a third-party package, and the cooldown guards against a compromised release.

0.5.2 — the block points at a file that exists

  • The generated block told agents to read .rness/STATUS.md, a file neither the scaffold nor any command writes. It now sends them to .rness/AGENTS.md, which every workspace has and which sets the reading order.
  • The intro is part of the hashed body: every block written by 0.5.1 or earlier is out of date under 0.5.2. Run rness sync once after upgrading, then commit the refreshed AGENTS.md in each repository; until then rness sync --check exits 1.

0.5.1 — the version of a workspace moves by pull request

  • Joining an organization pinned to an older @rness/cli no longer mentions versions, and no longer invites a newcomer to move the whole team: the workspace is served by the version the organization agreed on.
  • A workspace whose pin moved is reinstalled on the next command, with the package manager's frozen install so the working tree stays clean. Set RNESS_NO_INSTALL=1 to keep the old warning instead — for CI, a container image, or a machine that cannot install.
  • New workspaces ship .github/dependabot.yml, and rness upgrade writes it into workspaces created earlier: a pull request per release, reviewed, with validate running on the new version before the merge.
  • A delegated child can no longer wait on an invisible SSH passphrase prompt: it fails with a readable line instead of hanging.
  • A join that wrote its blocks succeeds even when a repository nobody picked failed to clone; those failures are hints.

0.5.0 — the organization is the workspace; rness.json is its catalogue

  • create <org> names the organization, not a directory any more (--org <org> and the prompt "What is your GitHub organization named?" do the same). The workspace directory is ./<org>, with the organization's exact name; --dir is removed. With npm create, flags go after --: npm create rness acme -- --yes.
  • SSH first: create and add write git@github.com: URLs when ssh -T git@github.com accepts your key, HTTPS ones otherwise (0.4.0 wrote HTTPS unless --ssh). --https is new. A private .rness you reach over SSH is now found when joining. See "SSH or HTTPS" above.
  • create does not offer repositories whose name starts with a dot (.github, …).
  • Colour, a banner and progress lines in a terminal (see "Colour" above); nothing changes for scripts.
  • rness login / rness logout are new: private repositories are listed, and cloned over HTTPS with the login (see "Log in" above). Without a login the note reads rness login lists the private ones you can access.
  • rness upgrade is new (see "Upgrade" above). From 0.4.0: npx @rness/cli@latest upgrade.
  • The header of a generated block no longer names the CLI version (<!-- rness · scope: … -->), and sync decides by the hash like validate: upgrading rewrites no AGENTS.md. Blocks written by 0.2–0.4 stay as they are until their content changes. A 0.4.0 CLI calls the new header stale — upgrade every copy together.
  • The scaffold's CI workflow reads the version from package.json instead of naming it; upgrade migrates the old line.
  • .rness/rness.json is the organization's catalogue — every repository rness knows about, shared by the team. Your workspace is the part of it you cloned into org/; two teammates can clone different repositories, and nothing but org/ records the choice. A choice never removes a repository from the catalogue.
  • create lists the organization's repositories to search and pick from, with every catalogue repository pre-selected when joining (a catalogue repository the listing does not return is still offered, marked in .rness). A picked catalogue repository is cloned; a picked new one is added to the catalogue, as rness add does. Without a picker, --repos is the selection; a join without --repos clones the whole catalogue. A cancelled or declined prompt writes nothing and exits 0.
  • The listing needs no credentials. Without a GITHUB_TOKEN (or GH_TOKEN) only public repositories are listed — and a personal account always lists only its public ones; add the others later with rness add <repo>.
  • rness sync works on your clones: it writes the blocks of the repositories in org/, never of rness.json as a whole. In a terminal it asks "Do you want to sync as well?" with the catalogue repositories you have not cloned ("Select all", or pick some); what you pick is cloned first. With --yes, or --check, nothing is cloned and one not cloned: line names them (--check does not fail on it). rness sync --all clones them all without asking. A clone rness.json does not know gets no block and a not in rness.json: line pointing at rness add.
  • A workspace pinned to 0.4.x clones every catalogue repository on sync — create runs the pinned copy's sync after joining.
  • Joining a workspace whose .rness pins an older @rness/cli than the one you run says so, and that rness upgrade moves it.
  • Repository and scope names take what GitHub allows, in lowercase: letters, digits, ., _ and - (my_lib, angular.js). A name that differs only by case is declared in lowercase. A 0.4.0 CLI rejects a rness.json that holds a . or a _ in a name — upgrade every copy together.
  • Organization names follow GitHub's rule — letters, digits and single hyphens, not at either end, at most 39 characters — in --org and in rness.json's "org"; the case is kept as typed.
  • "org" in rness.json now accepts uppercase letters: a 0.4.0 CLI rejects a workspace whose "org" has any, so upgrade every copy together.

0.4.0 — create, add, the shims

  • npm create rness <org> starts a new workspace for github.com/<org> or joins its existing .rness.
  • rness add <repo> clones (or adopts) a repository under org/, declares it and any --scopes sub-directories, then syncs.
  • create-rness and @rness/create are two-file shims pinned to the exact same version as @rness/cli, so the short npm create commands run this CLI.
  • A new workspace's scaffold ships a pnpm-workspace.yaml (minimumReleaseAgeExclude: ['@rness/cli']) — pnpm 12 otherwise refuses a version published less than 24h earlier.

0.3.0 — what changed for a 0.2.0 workspace

  • The directory decides a file's scope. scopes: […] and scope: global front-matter keys no longer route anything; rness validate reports them. Move the file instead (standards/<scope>/… or the collection root).
  • rness.json may declare "org": "<github-org>"; without it the workspace directory name is used and validate warns.
  • validate now checks every generated block: a stale block is an error, a missing one a warning — run rness sync.

Develop

pnpm install                      # from the repository root
pnpm --filter @rness/cli test     # node:test on the TypeScript sources
pnpm --filter @rness/cli typecheck
pnpm --filter @rness/cli build    # tsup → dist/
pnpm dev --help                   # the CLI, straight from these sources

pnpm dev runs packages/cli/src/bin/rness.ts: Node ≥ 24 strips the types, so nothing is built between an edit and the next run. It turns delegation off, because inside a workspace the launcher would otherwise hand the command to the published @rness/cli pinned in .rness/ rather than to the sources under test; RNESS_NO_DELEGATE=0 pnpm dev … puts it back, to exercise delegation itself.

To reach it from a workspace elsewhere on the machine, link it once:

ln -s "$PWD/scripts/dev.mjs" ~/.local/bin/rness-dev   # from the repository root
cd ~/somewhere/acme && rness-dev validate

create is never delegated, so it always runs these sources — the blocks it writes at the end included, even once it has installed the pinned copy — and it refuses to run inside a workspace, so call it from an empty directory.

pnpm verdaccio is the other loop: a local registry that serves this build as a real package, for what only shows up through an install (npm create rness, the pinned copy, a version bump). Each pnpm verdaccio deploy publishes a version of its own — 0.6.1-dev.<time> for sources at 0.6.0 — so a new workspace pins exactly that build and no cache serves an older one under its number. To try it in a workspace that exists, run rness upgrade <version> inside it; the deploy prints the line.

Node ≥ 22.17. MIT.