docs-on-code-change Cursor ruleA
This file is byte-identical to the first copy the registry indexed, one of 3 indexed copies. Same content hash, so the same checks give both the same grade.
docs-on-code-change from autonomous-ai/physical-ai-operating-system is a Cursor rule: instructions the Cursor agent follows in that repo.
mdr add autonomous-ai/physical-ai-operating-system/.cursor/rules/docs-on-code-change.mdc@git:20260330.9f1fe92Pins git:20260330.9f1fe92 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 14 of 14 checks passed
- Kind
- Cursor rule
- Repository
- autonomous-ai/physical-ai-operating-system
- Path
.cursor/rules/docs-on-code-change.mdc- Versions recorded
- 2
- Latest version
- git:20260330.9f1fe92, committed Mar 30, 2026
- First version recorded
- Mar 24, 2026
- Size
- 1,338 bytes
- Repository stars
- 479
- License
- Apache-2.0
Update docs (markdown) when code changes.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Docs on Code Change Whenever you write or change code that affects behavior, architecture, or APIs, you **must** update the relevant documentation in `docs/`. ## Scope - New features, refactors, API changes, config changes, startup flow changes - Applies to: `internal/`, `server/`, `domain/`, `scripts/`, `web/`, `bootstrap/` ## Actions 1. Identify which `docs/*_vi.md` files are impacted 2. Update them to match the new code (numbers, flows, endpoints, states, etc.) 3. Keep docs accurate — no drift between code and documentation ## Doc Files | Code area | Docs to update | |-----------|----------------| | lamp-server, API, startup | `lamp-server_vi.md` | | LED, effects, states, animations | `led-control_vi.md` | | Setup flow, provisioning | `setup-flow_vi.md` | | Web UI, configuration pages | `web-ui_vi.md` | | Flow Monitor (pipeline SVG, flow logs) | `flow-monitor_vi.md` (and `docs/flow-monitor.md`) | | Overall structure | `overview_vi.md` | | MQTT, dispatch, publish | `mqtt_vi.md` | | bootstrap, OTA | `bootstrap-server_vi.md` | ## Convention - Vietnamese docs: `*_vi.md` (e.g. `lamp-server_vi.md`) - English vision/design: keep as-is unless code explicitly changes behavior …
Read the whole file at its exact version.
How to install
mdr add autonomous-ai/physical-ai-operating-system/.cursor/rules/docs-on-code-change.mdc@sha256:6953a9268aefa141The line at the top of this page pins the label git:20260330.9f1fe92, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_bttpbuuq3amaxtx5)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 2 versions of this file, between Mar 24, 2026 and Mar 30, 2026, about one every 6 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260330.9f1fe92 latest | 2026-03-30 | 9f1fe92 | 1,338 B | A | view · diff |
| git:20260324.7a91f3b | 2026-03-24 | 7a91f3b | 1,243 B | A | view |
Audit of the latest version
- pass: Size between 200 bytes and 200 KB (1338 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
autonomous-ai/physical-ai-operating-system · 479 stars · license Apache-2.0 · pushed 2026-10-21 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_bttpbuuq3amaxtx5 GET https://markdownregistry.com/api/v1/resolve?ref=autonomous-ai/physical-ai-operating-system/.cursor/rules/docs-on-code-change.mdc GET https://markdownregistry.com/api/v1/blob/6953a9268aefa141b67a8c06b7e31fda3aaa680c9730ea87031a696f70488a38
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: Cursor rules vs AGENTS.md · which agent file does what.
More from autonomous-ai/physical-ai-operating-system
Every file in autonomous-ai/physical-ai-operating-system