From 01f6171347d4bed045aba0b42dd7beda9696f7aa Mon Sep 17 00:00:00 2001 From: Defame1297 Date: Sun, 28 Jun 2026 18:07:58 +0000 Subject: [PATCH] test: remove stale Key rules assertions from docs test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Why The ## Key rules section was intentionally removed from AGENTS.md as redundant. Two test assertions — one requiring its presence in AGENTS.md and one confirming it was absent from CLAUDE.md — are now stale and block pushes. Co-authored-by: Claude Sonnet 4.6 --- tests/test-instructions-and-docs.sh | 8 -------- 1 file changed, 8 deletions(-) diff --git a/tests/test-instructions-and-docs.sh b/tests/test-instructions-and-docs.sh index 11c2d3b..55831d6 100755 --- a/tests/test-instructions-and-docs.sh +++ b/tests/test-instructions-and-docs.sh @@ -202,10 +202,6 @@ contains "## Structure" "$REPO_AGENTS" \ && pass "AGENTS.md: ## Structure section present" \ || fail "AGENTS.md: ## Structure section missing" -contains "## Key rules" "$REPO_AGENTS" \ - && pass "AGENTS.md: ## Key rules section present" \ - || fail "AGENTS.md: ## Key rules section missing" - contains "CONTEXT\.md" "$REPO_AGENTS" \ && pass "AGENTS.md: CONTEXT.md read instruction present" \ || fail "AGENTS.md: CONTEXT.md read instruction missing" @@ -216,10 +212,6 @@ contains "@AGENTS\.md" "$REPO_CLAUDE" \ || fail "repo CLAUDE.md: @AGENTS.md import missing" -! contains "## Key rules" "$REPO_CLAUDE" \ - && pass "repo CLAUDE.md: ## Key rules not duplicated (moved to AGENTS.md)" \ - || fail "repo CLAUDE.md: ## Key rules still present — content not migrated" - ! contains "## Structure" "$REPO_CLAUDE" \ && pass "repo CLAUDE.md: ## Structure not duplicated (moved to AGENTS.md)" \ || fail "repo CLAUDE.md: ## Structure still present — content not migrated"