Repository navigation
v0.5.5 — Closure Cycle Bundle + Phase 22 Wizard + Site Documentation Sweep
Closure Cycle Bundle + Phase 22 Wizard + Site Documentation Sweep
v0.5.5 promotes ForgeLM from a CLI fine-tuning tool to a complete enterprise pipeline. The release ships a stable Python library API for downstream embedders, GDPR Article 15 + 17 tooling, an environment / supply-chain / verification toolbelt of operational subcommands, the ISO 27001 / SOC 2 Type II alignment artefacts, a CLI wizard surface that reaches parity with the in-browser counterpart, and a tag-driven cross-OS release pipeline with per-combo CycloneDX SBOM. Every claim on forgelm.dev was re-validated against the live code; the forgelm/cli.py and forgelm/data_audit.py monoliths were split into focused sub-packages while preserving their public import surface.
⚠️ Intel Mac (x86_64) users: install v0.5.6 instead of v0.5.5 —pip install -U forgelmon v0.5.5 silently downgrades to v0.5.0 because PyPI has notorch>=2.3wheel for Intel Mac. v0.5.6 is a dependency-only patch that lowers the floor totorch>=2.2.0and restores Intel Mac installability. Apple Silicon / Linux / Windows users can install either v0.5.5 or v0.5.6.
Highlights
- Library API (
forgelm.__all__) — every CLI surface has a stable Python entry point with PEP 561 typing (py.typed), lazy-import facade (import forgelmdoes not pulltorch), and__api_version__decoupled from the CLI__version__. - GDPR Article 17 (
forgelm purge) — three-mode dispatcher (row erasure / run-scoped artefact / read-only policy report) with per-output-dir-salted SHA-256 audit events;RetentionConfigPydantic block with four configurable horizons. - GDPR Article 15 (
forgelm reverse-pii) — locate identifier matches across JSONL artefacts; literal / email / phone / regional-id / regex modes; identifier salted-and-hashed before audit emission. - Operational subcommands —
forgelm doctor(env / GPU / CUDA / extras pre-flight + JSON envelope),cache-models+cache-tasks(air-gap pre-cache for HF Hub + lm-eval),safety-eval(standalone Llama Guard with bundled 50-prompt × 14-category default probes),verify-audit/verify-annex-iv/verify-gguf(compliance + artefact integrity toolbelt),approve/reject/approvals(Article 14 staging-gate management). - CLI wizard parity-with-web — same 9-step flow as
forgelm.dev/quickstart, schema-driven defaults shared between the two surfaces (CI guard fails on drift), idempotent re-run via--wizard-start-from <yaml>, distinctEXIT_WIZARD_CANCELLED = 5exit code (additive; public surface now0–5). - ISO 27001 / SOC 2 Type II alignment — 93-control deployer cookbook, 4 new QMS docs (encryption at rest, access control, risk treatment plan, statement of applicability) with 10 new TR mirrors, 2 new reference tables.
- Supply-chain security — CycloneDX 1.5 SBOM per release-tag matrix combo,
pip-audit+banditnightly + on-tag (HIGH/CRITICAL → exit 1, MEDIUM → warning), opt-ingitleakspre-commit, new[security]extra. - Cross-OS release-tag matrix —
publish.ymlruns Linux + macOS + Windows × Python 3.10 / 3.11 / 3.12 / 3.13 = 12 combos before PyPI publish; OIDC trusted publishing. forgelm/cli/+forgelm/data_audit/package splits — legacy 2300-line + 3098-line monoliths decomposed into 24-module + 14-module sub-packages while preserving public import surface.- Site documentation correction sweep — every visible YAML / artefact-path / CLI / schema claim on
site/*.htmlvalidated against the liveforgelm/surface;i18nparity at 731 keys per locale across EN + TR + DE + FR + ES + ZH.
Breaking changes (deliberate)
- High-risk / unacceptable
risk_classificationcombined withevaluation.safety.enabled=falsenow raisesConfigErrorat config-load time (was a warning). EU AI Act Article 9 risk-management evidence cannot be derived from a disabled safety eval. WebhookConfig.timeoutdefault raised from 5s to 10s.--data-auditflag fully removed (was deprecated in v0.5.0). Use theforgelm auditsubcommand instead.
Installation
# Apple Silicon / Linux / Windows
pip install forgelm==0.5.5
# Intel Mac (x86_64) — install v0.5.6 instead
pip install forgelm==0.5.6If pip install -U forgelm resolves to an older version, run pip show torch to check the installed torch — pip's resolver silently downgrades ForgeLM when the local torch can't satisfy the dependency floor (v0.5.5 requires torch>=2.3.0; v0.5.6 lowers this to torch>=2.2.0).
Full changelog
See CHANGELOG.md [0.5.5] for the complete list of additions, changes, fixes, deprecations, and removals.