From d5e9d7ecd3526513c23aabbe5316cb5e68b2d0dc Mon Sep 17 00:00:00 2001 From: Alex Dunmow Date: Thu, 18 Jun 2026 16:46:53 +0800 Subject: [PATCH] Link CLAUDE.md to AGENTS.md --- AGENTS.md | 9 +++++++++ CLAUDE.md | 10 +--------- 2 files changed, 10 insertions(+), 9 deletions(-) create mode 100644 AGENTS.md mode change 100644 => 120000 CLAUDE.md diff --git a/AGENTS.md b/AGENTS.md new file mode 100644 index 0000000..ada19f1 --- /dev/null +++ b/AGENTS.md @@ -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. diff --git a/CLAUDE.md b/CLAUDE.md deleted file mode 100644 index ada19f1..0000000 --- a/CLAUDE.md +++ /dev/null @@ -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. diff --git a/CLAUDE.md b/CLAUDE.md new file mode 120000 index 0000000..47dc3e3 --- /dev/null +++ b/CLAUDE.md @@ -0,0 +1 @@ +AGENTS.md \ No newline at end of file