Commit e673f998276 for woocommerce
commit e673f99827652ea9899caac2a1726038c08dc20b
Author: Oleksandr Aratovskyi <79862886+oaratovskyi@users.noreply.github.com>
Date: Fri Jun 26 10:36:12 2026 +0300
Remove .agents/ AI-agent working-doc scaffold (#66026)
The .agents/ scaffold added a repo-local workspace for AI agents to write
working docs, but it shipped without documenting why it belonged in Core.
Reviewers agreed it imposes a non-standard, agent-specific workflow on
everyone in the repo, and that such accommodations belong in a personal
global gitignore rather than the shared platform tree.
Delete the tracked scaffold files and the corresponding .gitignore rules,
restoring the repo to its prior state.
diff --git a/.agents/scratchpad/TEMPLATE.md b/.agents/scratchpad/TEMPLATE.md
deleted file mode 100644
index ab7b0695495..00000000000
--- a/.agents/scratchpad/TEMPLATE.md
+++ /dev/null
@@ -1,22 +0,0 @@
----
-session: YYYY-MM-DD-{slug}
-type: design | plan | review | stress-test | report | exploration | analysis | data | readme
-by: claude | codex | gemini | subagent:<name>
-created: YYYY-MM-DD HH:MM
-# Optional — uncomment and fill when informative:
-# model: claude-opus-4-7
-# tool: pirategoat-tools:codex-reviewer
-# target: PR #5395 | review.md | etc.
-# reconciles: [review.md, design.md]
-# promoted_to: DESIGN.md | .agents/decisions/YYYY-MM-DD-slug.md | .agents/reference/patterns/area.md
-# related_decision: .agents/decisions/YYYY-MM-DD-slug.md
-# last_updated: YYYY-MM-DD HH:MM # add on FIRST edit, not creation
-# status: draft | final | superseded
-# superseded_by: {filename} # required when status is superseded
----
-
-# {Title}
-
-> **Prompt:** "{user's triggering prompt, verbatim}"
-
-{body}
diff --git a/.agents/scratchpad/journal/.gitkeep b/.agents/scratchpad/journal/.gitkeep
deleted file mode 100644
index e69de29bb2d..00000000000
diff --git a/.agents/scratchpad/sessions/.gitkeep b/.agents/scratchpad/sessions/.gitkeep
deleted file mode 100644
index e69de29bb2d..00000000000
diff --git a/.agents/tmp/.gitkeep b/.agents/tmp/.gitkeep
deleted file mode 100644
index e69de29bb2d..00000000000
diff --git a/.gitignore b/.gitignore
index 23a03a6f330..b1dd0fb113c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -118,17 +118,6 @@ changes.json
.claude/docs/analysis/
.claude/docs/research/
CLAUDE.local.md
-.agents/
-
-# AI agent scratchpad and temp (scaffold-project)
-.agents/scratchpad/**
-!.agents/scratchpad/**/
-!.agents/scratchpad/TEMPLATE.md
-!.agents/scratchpad/**/.gitkeep
-# Re-include .agents/tmp/ dir (the unanchored "tmp/" rule above ignores it)
-!.agents/tmp/
-.agents/tmp/*
-!.agents/tmp/.gitkeep
# Cursor related files
.cursorignore