From 21de4c071b7a08ce53a85a560783770eb5be0f3d Mon Sep 17 00:00:00 2001 From: Wasim Akram <55689108+wasimness@users.noreply.github.com> Date: Sun, 22 Nov 2026 20:19:49 +0530 Subject: [PATCH] feat: factory workflow reference for coding done by agents (0.7.2) Co-Authored-By: Claude Opus 5.5 --- .claude-plugin/marketplace.json | 2 +- CHANGELOG.md | 5 +++++ README.md | 2 +- adapters/claude/.claude-plugin/plugin.json | 4 ++-- adapters/claude/CHANGELOG.md | 5 +++++ adapters/claude/skills/aiplus/SKILL.md | 1 + .../claude/skills/aiplus/references/factory-workflow.md | 9 +++++++++ tests/test_recipes.py | 2 +- 8 files changed, 25 insertions(+), 5 deletions(-) create mode 100644 adapters/claude/skills/aiplus/references/factory-workflow.md diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.json index ba2d7e9..f142f17 100644 --- a/.claude-plugin/marketplace.json +++ b/.claude-plugin/marketplace.json @@ -11,7 +11,7 @@ "name": "aiplus", "source": "./adapters/claude", "description": "Keeps every Claude session efficient: lead model plans and reviews, cheap subagents execute, minimal reads, one retry, routing to your installed plugins.", - "version": "0.7.1" + "version": "0.7.2" } ] } diff --git a/CHANGELOG.md b/CHANGELOG.md index f4caf25..a50d2cf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,11 @@ Newest first. +## 0.7.2: 2026-11-22 + +**Added** +- New `references/factory-workflow.md`, linked from the skill: a short, general workflow for coding done by delegated agents (issue with acceptance criteria and tests first, own worktree and branch with a pull request, bounded CI retries, merge gate with human review, optional holdout scenarios, start small). Dedicated development plugins own the detail. + ## 0.7.1: 2026-11-22 **Changed** diff --git a/README.md b/README.md index d74126a..d50666e 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ Keeps every Claude session efficient: lead model plans and reviews, cheap subage **Download:** [aiplus.plugin](https://github.com/syncwin/aiplus/releases/latest/download/aiplus.plugin) (always the latest release) -**Version** 0.7.1 - **Author** SyncWin - **License** MIT +**Version** 0.7.2 - **Author** SyncWin - **License** MIT ## Layout diff --git a/adapters/claude/.claude-plugin/plugin.json b/adapters/claude/.claude-plugin/plugin.json index 15feb73..90c346a 100644 --- a/adapters/claude/.claude-plugin/plugin.json +++ b/adapters/claude/.claude-plugin/plugin.json @@ -1,7 +1,7 @@ { "name": "aiplus", "displayName": "AI+", - "version": "0.7.1", + "version": "0.7.2", "description": "Keeps every Claude session efficient: lead model plans and reviews, cheap subagents execute, minimal reads, one retry, routing to your installed plugins.", "license": "MIT", "author": { @@ -10,7 +10,7 @@ }, "metadata": { "displayName": "AI+", - "version": "0.7.1", + "version": "0.7.2", "author": "SyncWin", "company": "SyncWin" }, diff --git a/adapters/claude/CHANGELOG.md b/adapters/claude/CHANGELOG.md index f4caf25..a50d2cf 100644 --- a/adapters/claude/CHANGELOG.md +++ b/adapters/claude/CHANGELOG.md @@ -2,6 +2,11 @@ Newest first. +## 0.7.2: 2026-11-22 + +**Added** +- New `references/factory-workflow.md`, linked from the skill: a short, general workflow for coding done by delegated agents (issue with acceptance criteria and tests first, own worktree and branch with a pull request, bounded CI retries, merge gate with human review, optional holdout scenarios, start small). Dedicated development plugins own the detail. + ## 0.7.1: 2026-11-22 **Changed** diff --git a/adapters/claude/skills/aiplus/SKILL.md b/adapters/claude/skills/aiplus/SKILL.md index b147a35..c79fb2a 100644 --- a/adapters/claude/skills/aiplus/SKILL.md +++ b/adapters/claude/skills/aiplus/SKILL.md @@ -38,6 +38,7 @@ Generated from `core/rules.md`; reasons in `references/rules.md`. - **Start:** size the task S, M or L (rule 11), load progress (rule 10), say the rules and skills in play in one line (rule 14), and for a medium, large or ambiguous request show the tight rewritten prompt in one block (rule 15). The steps in "Required steps" below always apply; `references/session-start.md` and `references/prompt-nudge.md` give the detail. - **Routing:** once per session, when a task may fit an installed plugin or skill, build the routing table by following `references/plugin-scan.md` (rule 9). For a plugin that is not installed, read `references/recommended.md`. - **No code:** the plugin is text only and no hooks run. The recipes in `references/` are the method and need no Python or other install. +- **Coding by agents:** for code changes done by delegated agents, follow `references/factory-workflow.md` (rules 4, 9 and 11). - **Handoff:** for "write a handoff" or a nearly full context, run `aiplus-handoff`. - **Setup:** for "set up this project" or "new repo", run `aiplus-setup`. - **Overrule:** if the user asks to break a rule, state the exception back in one line and proceed only after they confirm (rule 12). diff --git a/adapters/claude/skills/aiplus/references/factory-workflow.md b/adapters/claude/skills/aiplus/references/factory-workflow.md new file mode 100644 index 0000000..a3a609a --- /dev/null +++ b/adapters/claude/skills/aiplus/references/factory-workflow.md @@ -0,0 +1,9 @@ +# Factory workflow (coding work done by delegated agents) + +Keep this lean. A dedicated development plugin owns the detail (stack, review lenses, release steps); when one is installed it wins (rule 9). This page only sets the shape. + +1. **Issue first.** Every coding change starts as an issue with acceptance criteria. Write the tests first: the merge gate only knows what the tests know. +2. **Isolated work.** The agent works in its own worktree and branch and opens a pull request. When CI fails, send the failure back to the agent. Allow a bounded number of tries (one retry, rule 4), then stop and report. +3. **Merge gate.** Tests passed, review approved, and the change matches the issue scope. A human reviews every pull request; the requester is not the approver. +4. **Holdout scenarios (optional, larger work).** Keep a few test scenarios the building agent never sees, and run them before merge. +5. **Start small.** One agent and small, well-described issues. Never run a setup without review. diff --git a/tests/test_recipes.py b/tests/test_recipes.py index 8884d79..116cb57 100644 --- a/tests/test_recipes.py +++ b/tests/test_recipes.py @@ -7,7 +7,7 @@ ROOT = os.path.normpath(os.path.join(os.path.dirname(os.path.abspath(__file__)), "..")) SKILL_DIR = os.path.join(ROOT, "adapters", "claude", "skills", "aiplus") REFS = os.path.join(SKILL_DIR, "references") -NAMES = ("session-start", "prompt-nudge", "agent-notice", "screen-injection", "evidence-check", "plugin-scan") +NAMES = ("session-start", "prompt-nudge", "agent-notice", "screen-injection", "evidence-check", "plugin-scan", "factory-workflow") def read(*parts):