What is Rapid OS
Rapid OS is an engineering governance layer for AI-assisted development. It is installed as a CLI and keeps versionable artifacts inside the repository so that a coding harness's work has context, scope, rules, traceability, and verifiable evidence.
Purpose
The main goal is for a task executed with AI to be able to answer these questions in a verifiable way:
- What do we know about the repository?
- What must be built?
- What context does the agent need for that task?
- What risk level and which controls apply?
- Does the harness declare the necessary capabilities?
- What happened during execution?
- What evidence supports that the task and its gates were satisfied?
- Does the complete state of the project remain intact?
Who it is for
Rapid OS is aimed at:
- developers who use Codex, Claude, Cursor, VS Code, or other coding harnesses;
- teams that need to standardize how context is delivered to AI agents;
- architects who want to separate human decisions from automatic inferences;
- teams with quality, security, review, or migration controls;
- organizations that need traceability between specification, execution, and evidence.
Mental model
Rapid OS works as a control layer, not as the builder.
User / team
↓ defines intent and constraints
Rapid OS
↓ produces context, contracts, gates, and records
External coding harness
↓ implements or modifies the software
Rapid OS
↓ ingests evidence and evaluates deterministic rules
Governed result
What it does
Rapid OS can:
- detect languages, frameworks, databases, testing, Docker, monorepos, and deploy signals;
- maintain specifications with immutable revisions;
- compile task-specific context;
- classify risk and require gates;
- model a harness's capabilities;
- maintain an append-only ledger of run states;
- copy and verify evidence artifacts with SHA-256;
- produce deterministic, reproducible evaluations;
- validate cross-integrity between specs, runs, evidence, and evals;
- drive a governed run with the porcelain (
rapid start,rapid next,rapid check,rapid task,rapid attach,rapid finish) and generate each harness's/rapid-<mode>shortcuts.
What it does not do
Rapid OS:
- does not automatically invoke LLMs or coding agents;
- the plumbing (
rapid scan,rapid context,rapid spec,rapid policy,rapid run,rapid harness,rapid evidence,rapid eval,rapid validate) does not execute anything from the repository: it operates on files and records; - the porcelain runs only the
test_commandfrom.rapid-os/config.jsonor the argv passed torapid check -- <command>, without a shell, plus read-onlygitcommands to record the run's changes; it does not execute any other project command; - does not create branches or worktrees on its own: only
rapid start --worktreecreates, on explicit request, the isolated worktree (../<repo>-<run-id>, branchrapid/<run-id>) of a run whose contract requires an isolated workspace; - writes the architecture rule (
.rapid-os/standards/architecture.mdandarchitecture.json) for the catalog's backend and frontend stacks (with the idiomatic names of their language) whenrapid setup finishorrapid initis executed;rapid arch checkonly reads the imports of the code undermodules_rootandshared_root(withastand regular expressions, without executing it) and never modifies the code;rapid check -- rapid ...runs the Rapid OS currently in use; - writes
compose.yamland.env.examplewith the infrastructure services the person decided on for now (@now), only in an empty repository or by adding the missing ones without modifying the existing ones; it never runs Docker or starts containers (the person runsdocker compose up -d) and never deploys:rapid deploy --target <platform>only prints a template; - writes the security baseline (
.rapid-os/standards/security.md, at the archetype's level) when onboarding is closed and, only in an empty repository and without overwriting an existing one, a per-language CI workflow,.github/workflows/rapid-security-<language>.yml, with the security scans (the agent never writes it); it does not run those scans, your CI does; - only creates a git repository when
rapid setup finishorrapid initrun in a folder that is not inside one (git initandgit symbolic-ref HEADtomain, always): it needs it to observe the runs' changes, it never nests a repository inside another, and it never makes commits; without git installed it only warns, andrapid startfails withRAPID1416in a folder without a repository; - does not invoke agents with the Claude Code hooks:
rapid hook stop|pre-toolare executed by Claude Code and only respond with a tool denial or a stop block (rapid shortcuts install --hooksis the only way that writes them to.claude/settings.json); - does not write
/rapid-<mode>shortcuts into the harness folders (.claude/skills,.agents/skills,.cursor/skills,.github/prompts) except whenrapid shortcuts installorrapid init --shortcutsis executed, and only withrapid shortcuts install --globaldoes it write outside the project, in your user's skills folder (theinstall.shandinstall.ps1installers only offer it, never by default); - does not write
docs/PRODUCT_BRIEF.md,docs/BUSINESS_RULES.md,docs/DATA_MODEL.md, ordocs/ARCHITECTURE.mdexcept whenrapid setup docorrapid initis executed, nor does it copy the standards from.rapid-os/standards/exceptrapid setup finishorrapid init;rapid initno longer creates theTODOscaffolding ofdocs/(SPECS.mdand similar); - only marks as done the brief story that the run closed: with a PASS verdict and the
story:<ID>tag in the spec,rapid finishchanges that single line ofdocs/PRODUCT_BRIEF.md(- [ ] H002:becomes- [x] H002:, with a copy in.rapid-os/backups/) and touches nothing else; with another verdict, with--no-tick, or with a brief withoutrapid-docfrontmatter it only suggestsMark H002 as done in docs/PRODUCT_BRIEF.md. Nor does it leave.bakcopies of the agent files it regenerates (CLAUDE.md,AGENTS.md,.cursorrules...) in the project root: they go to.rapid-os/backups/, only if the content changed and keeping the 5 most recent per file; - never marks as confirmed what the person did not confirm: a document drafted by the agent stays as
source: draftedandstatus: draftuntil an explicitrapid setup doc <id> --confirm, and it reaches the context marked as an assumption; - never invokes agents and never approves human gates:
rapid approveis executed by a person in their terminal (it requires a TTY and fails withRAPID1310under an agent); - does not treat an
acknowledgedgate as evidence; - does not treat a declared capability as proof that it was used;
- does not guarantee that a
PASSmeans a total absence of bugs or perfect security.
Compatibility
Rapid OS v3 keeps the legacy v2 flows, including rapid init, rapid scope, rapid skill, rapid mcp, rapid vision, rapid deploy, rapid refine, rapid inspect-context, rapid validate, and rapid doctor, while adding the v3 governance cycle.