Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .claude-plugin/marketplace.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
{
"name": "forgebee",
"source": "./forgebee",
"description": "Full-stack agent framework for Claude Code, Codex, Cursor, Gemini — 36 slash commands, 48 specialist agents, 31 skills, 23 hooks. Karpathy principles (trace test, YAGNI, orphan rule, anti-stop) on every code agent. Adversarial debate triads, two-stage review (spec compliance + code quality), forensic /investigate, /elicit (18 reasoning methods), checkpoint-preview, budget circuit breaker, adversarial input hardening, continuous learning with auto-nudge, Growth OS marketing pipeline, automated PM, /audit-self regression detection.",
"version": "5.1.3"
"description": "Full-stack agent framework for Claude Code, Codex, Cursor, Gemini — 36 slash commands, 44 specialist agents, 32 skills, 23 hooks. Karpathy principles (trace test, YAGNI, orphan rule, anti-stop) on every code agent. Adversarial debate triads, two-stage review (spec compliance + code quality), forensic /investigate, /elicit (18 reasoning methods), checkpoint-preview, budget circuit breaker, adversarial input hardening, continuous learning with auto-nudge, Growth OS marketing pipeline, automated PM, /audit-self regression detection.",
"version": "5.2.0"
}
]
}
6 changes: 3 additions & 3 deletions .codex-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "forgebee",
"version": "5.1.3",
"description": "Full-stack agent framework — 36 slash commands, 48 specialist agents, 31 skills, 23 hooks. Karpathy principles on every code agent, adversarial debate triads, two-stage review, /investigate, /elicit (18 methods), checkpoint-preview, budget circuit breaker, continuous learning, Growth OS, /audit-self.",
"version": "5.2.0",
"description": "Full-stack agent framework — 36 slash commands, 44 specialist agents, 32 skills, 23 hooks. Karpathy principles on every code agent, adversarial debate triads, two-stage review, /investigate, /elicit (18 methods), checkpoint-preview, budget circuit breaker, continuous learning, Growth OS, /audit-self.",
"author": {
"name": "Forbee Dev",
"url": "https://github.com/forbee-dev"
Expand Down Expand Up @@ -32,7 +32,7 @@
"interface": {
"displayName": "ForgeBee",
"shortDescription": "Full-stack agent framework — dev, growth, debate, and PM in one plugin",
"longDescription": "ForgeBee is a batteries-included development and growth framework for coding agents. It ships 33 slash commands, 48 specialist agents, 24+ skills (inline + context:fork), 26 lifecycle hooks, adversarial debate pipelines, continuous learning, a 9-phase Growth OS marketing pipeline, and automated project management dashboards. Use /workflow for full pipeline orchestration, /team for ad-hoc multi-agent delegation, and /review-all as a pre-push quality gate.",
"longDescription": "ForgeBee is a batteries-included development and growth framework for coding agents. It ships 36 slash commands, 44 specialist agents, 32 skills (inline + context:fork), 23 lifecycle hooks, adversarial debate pipelines, continuous learning, a 9-phase Growth OS marketing pipeline, and automated project management dashboards. Use /workflow for full pipeline orchestration, /team for ad-hoc multi-agent delegation, and /review-all as a pre-push quality gate.",
"developerName": "Forbee Dev",
"category": "Coding",
"capabilities": [
Expand Down
4 changes: 2 additions & 2 deletions .cursor-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "forgebee",
"displayName": "ForgeBee",
"description": "Full-stack agent framework — 36 commands, 48 specialist agents, 31 skills, 23 hooks. Karpathy principles, adversarial debate, two-stage review, /investigate, /elicit, checkpoint-preview, budget circuit breaker, continuous learning, Growth OS, /audit-self.",
"version": "5.1.3",
"description": "Full-stack agent framework — 36 commands, 44 specialist agents, 32 skills, 23 hooks. Karpathy principles, adversarial debate, two-stage review, /investigate, /elicit, checkpoint-preview, budget circuit breaker, continuous learning, Growth OS, /audit-self.",
"version": "5.2.0",
"author": {
"name": "Forbee Dev",
"url": "https://github.com/forbee-dev"
Expand Down
39 changes: 39 additions & 0 deletions .github/workflows/eval.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Eval Harness

# Runs the deterministic eval harness on every change to the framework's
# safety-critical JS — the permission-guard blocklist/allowlist suite and the
# project-router scenarios. The harness exits non-zero on any failure, so this
# job gates merges. Previously these tests existed but no CI ran them.

on:
pull_request:
paths:
- 'forgebee/hooks/**'
- 'forgebee/skills/project-router/**'
- 'forgebee/eval/**'
- 'scripts/**'
- '.github/workflows/eval.yml'
push:
branches: [main]
paths:
- 'forgebee/hooks/**'
- 'forgebee/skills/project-router/**'
- 'forgebee/eval/**'
workflow_dispatch:

jobs:
eval:
name: Run eval harness (permission-guard + router scenarios)
runs-on: ubuntu-latest

steps:
- name: Check out repo
uses: actions/checkout@v4

- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: '20'

- name: Run eval harness
run: node forgebee/eval/harness/run.js
57 changes: 57 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,63 @@ The format roughly follows [Keep a Changelog](https://keepachangelog.com/) and t

---

## [5.2.0] — 2026-06-02

**Theme: framework-wide quality overhaul + growth-roster consolidation.** The largest release since 5.0 — a full audit-and-improve pass across every agent, skill, command, hook, and the build/CI tooling. Two deep-research audits drove it: a defect audit (security-critical hook fixes, drift, broken commands) and a forward-looking improvement study (prompt quality, capability gaps, model/tool fit). Headline outcomes: a shared finding contract unifies the 12 review skills, a shared debate protocol with a full verdict lattice unifies the 9 debate skills, the growth roster is trimmed 15→11 by merging overlapping agents, and the framework's own JS finally has a CI gate.

### Removed — Growth roster trimmed 15 → 11 (⚠️ breaking for direct agent invocation)

Seven overlapping growth agents were merged into four. **If you invoke any of these by name, update your references:**

| Removed | Now use |
|---------|---------|
| `content-architect`, `idea-machine`, `calendar-builder` | **`content-strategist`** (architecture + ideation + editorial calendar) |
| `content-writer` | **`content-creator`** (now covers social-native *and* long-form) |
| `growth-hacker`, `conversion-optimizer` | **`growth-engineer`** (growth loops + on-page/funnel CRO) |
| `performance-analyst` | **`marketing-analyst`** (renamed — resolves the name collision with `performance-optimizer`) |

`/growth` pipeline, router tables, and all cross-references repointed. Each merged agent is self-contained (inline methods, not reference-only) with a scope fence and a quality/evidence gate.

### Added

- **`content-strategist`, `growth-engineer`, `marketing-analyst`** agents (the merges above).
- **`forgebee/skills/_review-finding-contract.md`** — canonical finding format (P6 severity + 0-100 score + machine-parseable `SCORE: … | {…} | verdict:` footer) so `review-all` and `/audit-self` can aggregate sub-skill output reliably.
- **`forgebee/skills/_debate-protocol.md`** — shared debate spine: blind-debate rules, the full verdict lattice (Advocate `APPROVE`/`APPROVE-WITH-CAVEATS`/`CANNOT-DEFEND` ↔ Skeptic `BLOCK`/`FLAG`/`CLEAN` ↔ Judge), severity scale, judge input contract, and a blindness-leak guard.
- **`.github/workflows/eval.yml`** — runs the eval harness (permission-guard suite + router scenarios) on every PR touching hooks/router/eval/scripts. These tests existed but no CI ran them.
- **`package.json`** — `npm run check` (index + references + version + eval) as a single quality gate; no runtime deps.
- **`scripts/sync-local-install.js`** + `npm run sync:local` — mirrors the canonical `forgebee/` source into the gitignored local `.claude/` install so the two can't drift.
- **Few-shot exemplars** added to review skills, debate skills, and the knowledge-heavy agents (architect, debugger-detective, test-engineer, performance-optimizer, security-auditor).

### Changed

- **Review system:** every review skill adopts the shared finding contract; `review-code-style`/`review-api`/`review-database` gained "detect stack first" gates (no longer assume React/TS, REST, Postgres/RLS as universal); `review-security`/`review-performance`/`review-accessibility` gate static-impossible checks behind `[needs tool]` labels instead of asserting them.
- **Debate system:** the 9 triad skills point to `_debate-protocol.md` and carry only domain payload; verdict asymmetry fixed (advocates can caveat/concede, skeptics can affirm clean).
- **Quality/process agents:** config-derived thresholds with labeled defaults (tdd-enforcer, test-engineer, performance-optimizer, session-librarian) — unconfigured numbers no longer hard-`BLOCK`; `delivery-agent` Step 0↔1 contradiction resolved (consumes verification evidence, doesn't re-run); `verification-enforcer` uses exit-code/pass-count comparison + triage-derived commands; `contract-validator` reads the live roster from `INDEX.md` instead of an embedded registry; `session-librarian` gained its missing Verification section.
- **Stack specialists (14):** each gained a "Targets: `<framework> <version>` + 2026 APIs" line; modernized WooCommerce Blocks checkout, WP Interactivity API + Block Bindings, n8n AI-Agent/RAG nodes, and nextjs-content (Velite/Fumadocs; Contentlayer flagged archived).
- **security-auditor:** expanded to a mapped OWASP-2021 table (incl. SSRF, deserialization, SSTI, JWT, mass-assignment, proactive IDOR) + a CVE-from-memory ban (CVE claims require an actual audit-tool run).

### Fixed

- **`permission-denied-logger.js` command injection** — replaced `echo '…' | node` shell pipe (broken single-quote escaping over untrusted command text) with `spawnSync(…, {input})`.
- **`permission-guard.js` over-broad Tier-0 regexes** — process-substitution now blocks only `<(curl…)`/`bash <(…)`-style network/exec wrapping (benign `diff <(…)` allowed); `--no-verify` anchored to real git invocations; `rm -rf .` no longer blocks `rm -rf ./build`; `find -exec` blocks only destructive verbs. Eval suite updated with regression tests for each.
- **Dead `permission_denied` audit branch** added to `audit-trail.js` (denials were silently dropped).
- **Broken secret-scan commands** in `security-auditor` + `/security` (`grep --include="*.{…}"` matched zero files) → bounded, case-insensitive `rg` covering `.env`/`yml`/`json` + `PRIVATE_KEY`.
- **5 growth agents** had an unclosed ` ```markdown ` fence rendering their guardrails inert — removed; a fence-parity check added to `check-references.js` prevents recurrence.
- **P6 severity vocab** normalized across 6 review skills, `contexts/review.md`, `/review`, and `strategy-skeptic` (no more `BLOCKER`/`MUST FIX`/`Warning`/`Nitpick`/UPPERCASE labels).
- **Count drift** — all manifests + READMEs synced to 32 skills / 44 agents / 36 commands / 23 hooks; the false `README` claim that `bump-version.sh` syncs counts corrected.
- **Scripts hygiene** — `inject-principles.js` docstring (P1/P3/P4), `bump-version.sh` path-anchored excludes, `check-references.js` full-stem heading match; removed the hazardous one-off `trim-agent-descriptions.js`.
- **`context-guard.js`** dead (unreachable) SessionStart restore branch removed.

### Root `.claude/` install

The gitignored local `.claude/` install had drifted to a pre-5.x snapshot (69 agents, debate/review skills duplicated as agents, 0 skills) causing duplicate registration. Re-synced to mirror `forgebee/` (44 agents, 36 commands) via the new `sync-local-install.js`. **Reinstall the plugin to make hook fixes go live** in running sessions.

### Why a minor, not a major

The seven removed agents are an internal specialist toolkit reorganized within the v5 line, not a stable public API — consistent with the project's convention of shipping feature releases as minors (cf. 5.1.0). The breaking note above flags the direct-invocation impact for anyone who scripted those names.

---

## [5.1.3] — 2026-05-20

**Theme: lighter `/workflow` breakdown for ticket-driven work.** Patch release removing the `scrum-master` prompt from the default `/workflow` path. Solo devs (and anyone arriving with a ticket that already has brief + architecture in hand) no longer pay the sprint-ceremony tax — the default is now an ordered Implementation Plan produced directly by the orchestrator.
Expand Down
2 changes: 1 addition & 1 deletion CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ npm run deploy:production # Deploy to production

*Strategy Debate (context:fork skills):* strategy-advocate, strategy-skeptic, strategy-judge

*Growth OS:* brand-strategist, market-intel, audience-architect, content-architect, hook-engineer, idea-machine, engagement-strategist, content-creator, growth-hacker, calendar-builder, performance-analyst, conversion-optimizer, email-strategist
*Growth OS:* brand-strategist, market-intel, audience-architect, content-strategist, hook-engineer, engagement-strategist, content-creator, growth-engineer, marketing-analyst, email-strategist

*WordPress:* wordpress-backend, wordpress-frontend, wordpress-content, wordpress-security, wordpress-seo, phpunit-engineer, woocommerce-cro

Expand Down
Loading
Loading