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"