architecture Cursor ruleA
architecture from coddy-project/coddy-agent is a Cursor rule: instructions the Cursor agent follows in that repo.
mdr add coddy-project/coddy-agent/.cursor/rules/architecture.mdc@git:20261004.8e8554bPins git:20261004.8e8554b in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 14 of 14 checks passed
- Kind
- Cursor rule
- Repository
- coddy-project/coddy-agent
- Path
.cursor/rules/architecture.mdc- Versions recorded
- 6
- Latest version
- git:20261004.8e8554b, committed Oct 4, 2026
- First version recorded
- May 13, 2026
- Size
- 3,287 bytes
- Repository stars
- 178
- License
- MIT
Layers and dependency direction for Coddy Agent.
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
# Architecture **Coddy** is a Go CLI and ACP harness. Keep dependencies flowing **inward**: higher layers orchestrate lower ones; shared types stay shallow. ## Rough layers (low to high) 1. **`internal/version`**, **`internal/logger`**, small shared helpers - minimal inward imports. 2. **`internal/config`** - configuration structs and loading. 3. **`internal/session`**, **`internal/llm`**, **`internal/prompts`**, **`internal/bgtask`** - runtime state, model access, and the background task pool (**`internal/bgtask`** imports only **`internal/platform`**; nothing below it may import back). 4. **`internal/tools`**, **`internal/permission`**, **`internal/skills`**, **`internal/subagents`**, **`internal/hooks`** - capabilities and policies (**`internal/subagents`** produces immutable definitions and pure trust / tool-set decisions, **`internal/hooks`** loads hook definitions and runs hook processes with pure outcome merging; **`internal/agent`** applies both). 5. **`internal/agent`** - ReAct-style loop assembling the above. 6. **`internal/acp`** - ACP protocol server on top of the agent and session manager. 7. **`cmd/coddy`** - CLI entrypoints and wiring. ## Optional build tags …
Read the whole file at its exact version.
How to install
mdr add coddy-project/coddy-agent/.cursor/rules/architecture.mdc@sha256:cab5ada488313c3eThe line at the top of this page pins the label git:20261004.8e8554b, 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_w656glx427m5wxpl)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 6 versions of this file, between May 13, 2026 and Oct 4, 2026, about one every 29 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261004.8e8554b latest | 2026-10-04 | 8e8554b | 3,287 B | A | view · diff |
| git:20260912.c2d53a8 | 2026-09-12 | c2d53a8 | 3,304 B | A | view · diff |
| git:20260906.42f24c5 | 2026-09-06 | 42f24c5 | 3,291 B | A | view · diff |
| git:20260903.89ab0bd | 2026-09-03 | 89ab0bd | 3,174 B | A | view · diff |
| git:20260729.fcd5fdd | 2026-07-29 | fcd5fdd | 3,023 B | A | view · diff |
| git:20260513.fcf00cc | 2026-05-13 | fcf00cc | 2,878 B | A | view |
Audit of the latest version
- pass: Size between 200 bytes and 200 KB (3287 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
coddy-project/coddy-agent · 178 stars · license MIT · pushed 2026-10-20 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_w656glx427m5wxpl GET https://markdownregistry.com/api/v1/resolve?ref=coddy-project/coddy-agent/.cursor/rules/architecture.mdc GET https://markdownregistry.com/api/v1/blob/cab5ada488313c3e976c911c89a00bc065e1bb239caecce4227f50c95949aba0
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 coddy-project/coddy-agent
Every file in coddy-project/coddy-agent