Link CLAUDE.md to AGENTS.md
This commit is contained in:
parent
d08466ec70
commit
d5e9d7ecd3
9
AGENTS.md
Normal file
9
AGENTS.md
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
# Core SDK
|
||||||
|
|
||||||
|
Go module `git.dev.alexdunmow.com/block/core`. Defines plugin interfaces, template engine, block registry, and shared types for the BlockNinja CMS.
|
||||||
|
|
||||||
|
## Critical Rules
|
||||||
|
|
||||||
|
- **NEVER use `replace` directives in go.mod** — not in this repo, not in any consumer. All module resolution goes through the Gitea module proxy. If you need to test local changes, tag and push a version.
|
||||||
|
- Plugins import from core only — never from the CMS (`blockninja/backend`) or orchestrator.
|
||||||
|
- All consumers are in-house — no backwards compatibility shims needed. Just change the API and update consumers.
|
||||||
@ -1,9 +0,0 @@
|
|||||||
# Core SDK
|
|
||||||
|
|
||||||
Go module `git.dev.alexdunmow.com/block/core`. Defines plugin interfaces, template engine, block registry, and shared types for the BlockNinja CMS.
|
|
||||||
|
|
||||||
## Critical Rules
|
|
||||||
|
|
||||||
- **NEVER use `replace` directives in go.mod** — not in this repo, not in any consumer. All module resolution goes through the Gitea module proxy. If you need to test local changes, tag and push a version.
|
|
||||||
- Plugins import from core only — never from the CMS (`blockninja/backend`) or orchestrator.
|
|
||||||
- All consumers are in-house — no backwards compatibility shims needed. Just change the API and update consumers.
|
|
||||||
Loading…
x
Reference in New Issue
Block a user