diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.json index a8dfc66..42bb406 100644 --- a/.claude-plugin/marketplace.json +++ b/.claude-plugin/marketplace.json @@ -14,7 +14,7 @@ "repo": "tonmoy007/forge-plugins" }, "description": "12-stage SDLC pipeline, specialized agents, persistent memory, auto-reflection", - "version": "0.6.1", + "version": "0.8.0", "license": "MIT", "category": "development" } diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.json index e11bc8b..8f893ee 100644 --- a/.claude-plugin/plugin.json +++ b/.claude-plugin/plugin.json @@ -1,7 +1,7 @@ { "$schema": "https://json.schemastore.org/claude-code-plugin-manifest.json", "name": "forge", - "version": "0.6.1", + "version": "0.8.0", "description": "Full lifecycle SDLC orchestrator with specialized agents, memory, and auto-reflection", "author": { "name": "Saddam", diff --git a/CHANGELOG.md b/CHANGELOG.md index a5b6f4c..a9d6fdd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Planned +- Claude Code marketplace publication (pending marketplace availability) + +--- + +## [0.8.0] — 2026-08-11 + +**Builder Pro + Docker workflow enforcement.** Two independent, orthogonal-file +releases shipped together: Stage 6's Pro tier (`/forge:build-pro`) and a fail-soft +tooling/Docker-hygiene capability layer. Both were merged to `main` in the same +sitting (v0.7.0's PR landing right after v0.8.0's); per user direction v0.7.0 is +**folded into this release rather than tagged separately** — see ADR-012. + ### Added - **Builder Pro (Stage 6 Pro tier) — `/forge:build-pro`.** An Execution Orchestrator for Stage 6, split between a deterministic script and one thin generative agent: @@ -36,9 +49,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 excerpts, informational only) — chosen once via a new `/forge:plan-pro` Stage 5 pre-flight prompt (`scripts/set-context-depth.py`) and persisted to `pipeline/state.md`. Ref: T-241..T-253. - -### Planned -- Claude Code marketplace publication (pending marketplace availability) +- **Docker workflow enforcement + extensible tooling preflight.** A fail-soft, + never-block capability layer: a declarative tool registry + (`references/tool-registry.md`) + `scripts/tool_preflight.py` (detects via + `shutil.which` + optional version probe, cached like the existing capability + probe) backs `scripts/doctor.py`'s new `check_required_tools` warning and a + budget-aware tool advisory in `hooks/session-start.py` (dropped first under + token pressure). `scripts/check_docker_readiness.py` is an advisory hygiene + check (pinned base image, `HEALTHCHECK`, non-root `USER`, `.dockerignore`, + compose `services:` parse) wired **unconditionally** into `/forge:deploy` — + it always exits 0, even with findings. The sole install surface is the new + `/forge:preflight` skill, which only runs an install command after explicit + per-tool confirmation. An opt-in `docker` project-type profile is + suggestion-only and never auto-assigned over a real app type (a + Dockerized FastAPI app still classifies as `api`). ADR-012. Ref: T-227..T-233. --- diff --git a/README.md b/README.md index 76d32e0..2372551 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ > partner.** Claude already remembers — what it doesn't enforce is *process*. Forge does: > gated stages, requirement traceability, and learning that compounds across projects. -[![Tests](https://img.shields.io/badge/tests-1616%20passing-brightgreen)]() +[![Tests](https://img.shields.io/badge/tests-2031%20passing-brightgreen)]() [![Python](https://img.shields.io/badge/python-3.11%2B-blue)]() [![Claude Code](https://img.shields.io/badge/claude--code-%3E%3D2.1.0-blueviolet)]() [![License: MIT](https://img.shields.io/badge/license-MIT-yellow)]() @@ -25,7 +25,10 @@ sequencing**. Forge gives you: pipeline, opt-in (new in v0.4.0). - **Docker and tooling preflight** — advisory Docker hygiene checks and a declarative CLI registry (`docker`, `gh`, …) that detects what's missing and offers to install it, only - after you confirm (new in v0.7.0). + after you confirm (folded into v0.8.0). +- **Pro-tier stages** — deterministic, script-backed variants of the pipeline stages + (e.g. `/forge:build-pro`'s `build_executor.py` engine) that coexist with the classic + agent-driven stages, opt-in per project (new in v0.8.0). Nothing advances silently and nothing is untraceable. When you *do* need to skip a gate, `/forge:force-advance` records **why** — the override is explicit and audited. @@ -394,7 +397,7 @@ your-project/ ## Testing Forge ```bash -python3 -m pytest tests/ -q # 1616 passed +python3 -m pytest tests/ -q # 2031 passed bash tests/integration/full-pipeline.sh # PASS — 28 artifacts present · 12/12 stage gate checks · traceability chain intact ``` diff --git a/ROADMAP.md b/ROADMAP.md index 28d716d..84eee36 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -168,6 +168,7 @@ producing all 12 stage artifacts with traceability intact. ✅ | **v0.6.0** | 🟢 released | **Engine made real I — per-node session reuse** (cost-reduction, **zero default behavior change**). Drives the already-built-but-unused `_background_agent.dispatch(resume=...)` path from the v0.4.0 DAG engine: capture each node's first-attempt `session_id` and `--resume` it into **that same node's** retry/heal re-dispatches (same prompt + model), lowering their realized floor from `FRESH_FLOOR_USD` `$0.06` to `RESUME_FLOOR_USD` `$0.01`. **Within-node only**; the independent verifier is **never** reused (REQ-WF-002); admission stays on `FRESH_FLOOR_USD` so the estimator/admitted-set split is identical on vs off (AC-WF-014); a stale session **falls back to fresh** within the attempt budget. Opt-in `orchestration.session_reuse` (strict `is True`, default off ⇒ byte-identical to v0.4.x). ADR-010. **Deferred follow-ups**: per-branch/cross-node reuse (trio item 1's other half, measurement-gated), trio items 2–3 (top-level generation · pipeline-as-WorkflowSpec), and **caveman mode** (orthogonal prompt-compression, candidate v0.6.1). ADR-010. Tag `v0.6.0`, both remotes. SRS `build/01-srs/srs-v0.6.0.md`, DAG `build/04-plan/task-dag-v0.6.0.md` (T-214–T-219). | | **v0.6.1** | 🟢 released | **Caveman mode — measured and rejected; static prompt tightening only** (**zero default behavior change**). Investigated the `caveman` token-reduction approach: the one stdlib-legal lever (a terse-output preamble at the dispatch chokepoint) was built behind a default-off `orchestration.caveman_mode` toggle and **measured** against the `_cost_cap` output-token ledger — a real before/after on the Dreamer free-prose prompt (`haiku`, N=5/arm) showed **mean −52.9%**, no saving, well under the REQ-CM-005 ≥10% gate (Forge's free-prose prompts are already length-bounded). Per the gate the **runtime toggle was dropped** (config + `_caveman.py` + wiring reverted; dispatch byte-identical to v0.6.0); v0.6.1 ships only the **deterministic static tightening** of verbose non-verdict prompt constants (`dreamer`/`autopilot`/`parallel_build`) — verify/skeptic/gate/observer untouched. The measurement gate worked as designed. ADR-011. Tag `v0.6.1`, both remotes. SRS `build/01-srs/srs-v0.6.1.md`, DAG `build/04-plan/task-dag-v0.6.1.md` (T-220–T-226). | | ~~v0.7.0~~ | ⚪ folded | **Docker workflow enforcement + extensible tooling preflight** (fail-soft, never-block) — a declarative tool registry (`references/tool-registry.md`) + `scripts/tool_preflight.py` (detect via `shutil.which` + version probe, cached like the capability probe), an advisory `scripts/check_docker_readiness.py` wired **unconditionally** into `/forge:deploy` (cross-cutting — every project gets it, regardless of profile), the sole confirm-then-install surface `/forge:preflight`, and an opt-in `docker` profile (never auto-assigned over a real app type). ADR-012. Built as T-227–T-233 but **folded into the v0.8.0 release** alongside Builder Pro rather than tagged separately. SRS `build/01-srs/srs-v0.7.0.md`, DAG `build/04-plan/task-dag-v0.7.0.md`. | +| **v0.8.0** | 🟢 released | **Builder Pro (Stage 6 Pro tier) + Docker workflow enforcement — combined release.** `/forge:build-pro`: `scripts/build_executor.py` (deterministic context-resolve/four-check-gate/commit/traceability/build-log engine) + `agents/builder-pro.md` (thin generative router) + `skills/forge-build-pro/SKILL.md`; classic `/forge:build` unchanged, both tiers coexist. Configurable context-resolution depth (`spec_plan`/`spec_arch_plan`/`full_chain`, REQ-BUILDCTX-002) set once via a `/forge:plan-pro` Stage 5 pre-flight prompt. Ships together with the v0.7.0 Docker/tooling layer above (folded, not separately tagged) — same sitting, no shared files. ADR-012. Tag `v0.8.0`, both remotes. SRS `build/01-srs/srs-v0.8.0.md`, DAG `build/04-plan/task-dag-v0.8.0.md` (T-241–T-253, T-254 release). | --- diff --git a/build/05-implementation/progress.md b/build/05-implementation/progress.md index 8dc0bc6..628f78c 100644 --- a/build/05-implementation/progress.md +++ b/build/05-implementation/progress.md @@ -5,6 +5,16 @@ ## Current State +- **v0.8.0 (T-254) RELEASED — combined release: Builder Pro (T-241..T-253) + Docker + workflow enforcement (T-227..T-233, folded per ADR-012 rather than tagged as its own + v0.7.0).** `bump-version.py 0.8.0`; CHANGELOG `[0.8.0]` consolidates both feature + summaries under one dated section; manifests `0.6.1` → `0.8.0`. This supersedes the + standalone `T-234 "Release v0.7.0"` task in `task-dag-v0.7.0.md` — that release never + happened separately, by design. Branch `chore/release-v0.8.0` off `main` (which by + this point already had both `develop→main` merges: PR #65 Builder Pro, PR #67 + Docker/tooling — `origin/develop` and `origin/main` were byte-identical going in). + See below for the full T-227..T-253 build history this release ships. + - **v0.7.0 (Docker workflow enforcement + tooling preflight) COMPLETE — T-227..T-233.** Fail-soft, never-block capability layer, orthogonal to the Builder Pro work below (no shared files). M1 Detection core: T-227 `references/tool-registry.md` (declarative, @@ -30,9 +40,8 @@ v0.8.0, alongside Builder Pro below.** SRS `build/01-srs/srs-v0.7.0.md`, DAG `build/04-plan/task-dag-v0.7.0.md`. Worktree `.claude/worktrees/ recursive-wobbling-sky`, branch `feat/v0.7.0-docker-tooling`, branched from - `develop` (`4f74d32`). **NEXT**: full regression sweep (`full-pipeline.sh`), open the - PR against `develop`, then the combined v0.8.0 release (bump-version, CHANGELOG, - tag, both remotes). + `develop` (`4f74d32`). Merged via PR #66→develop, PR #67 develop→main. **Combined + v0.8.0 release cut as T-254 above.** - **v0.8.0 Revision 2 (Builder Pro) COMPLETE — T-241..T-253.** Revision 1 below (T-235..T-240) was scoped from a secondary analysis doc and got the shape wrong @@ -87,8 +96,8 @@ only, the hard REQ-ID invariant is unchanged by depth. TDD red-first, +18 tests (7 for T-252, 11 for T-253). Full unit suite **1949 pass**, `validate-plugin.py` exit 0. **v0.8.0 Revision 2 is now fully complete, T-241..T-253, nothing tracked - and outstanding.** NEXT: push these commits, confirm CI green, then this branch is - ready to merge. + and outstanding.** Merged via PR #63/#64→develop, PR #65 develop→main. **Combined + v0.8.0 release cut as T-254 above.** - **v0.8.0 Revision 1 (Builder Phase 1: Pro-tier sub-agent pipeline) SUPERSEDED — T-235..T-240.** Scoped from `docs/builder-pro-plan-analysis.md`'s verdict on `BUILDER_PRO-PLAN.md` (execute Phase 1 only). T-235 `7327f28` Context Loader (read-only, resolves only