From 302eb4c554f18a5ccdd84515f0fce635e45020f7 Mon Sep 17 00:00:00 2001 From: gilpanal Date: Fri, 12 Jun 2026 16:23:01 +0200 Subject: [PATCH 1/2] docs: refresh stale working-branch section in AGENTS.md The webcomponent branch is fully merged (PRs #14-24); the convention is now short-lived feature branches via PR. Defer current branch state to agents/SESSION_HANDOFF.md so this section cannot go stale again. Co-Authored-By: Claude Fable 5 --- AGENTS.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 35eb3b3..97b016d 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -180,9 +180,8 @@ npm run docs:preview # Preview built docs ## Working branch -Active development: `webcomponent` branch. -Stable base: `main`. -Merge `webcomponent` → `main` only when a phase is complete and reviewed. +Stable base: `main` (branch protection: PR + "ci" status check — work on a short-lived feature branch and open a PR). +Current branch state is tracked in `agents/SESSION_HANDOFF.md`. ## Migration phases From ad5f87b3c247fb2bc52ee20e912fe36a64659ed7 Mon Sep 17 00:00:00 2001 From: gilpanal Date: Fri, 12 Jun 2026 16:52:59 +0200 Subject: [PATCH 2/2] docs: fix nonexistent npm run build reference in AGENTS.md workflow loop package.json has no build script; the local checks are npm run build:component:all and npm run docs:build. Co-Authored-By: Claude Fable 5 --- AGENTS.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AGENTS.md b/AGENTS.md index 97b016d..b4c0912 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -100,7 +100,7 @@ Manual reviews keep the learning loop intentional. Enable only when explicitly d 4. User approves or redirects. 5. User types the code themselves, unless they explicitly approve Claude to make a concrete file change. -6. Run local checks (`npm run build`, `npm run docs:build`, `git diff`). +6. Run local checks (`npm run build:component:all`, `npm run docs:build`, `git diff`). 7. Codex reviews the current diff/uncommitted changes. 8. Claude classifies findings and proposes the smallest safe patch. 9. User decides what to accept.