This is the detailed reference for Codex tasks, engineering contracts and component specifications. For the overall design, see the BMForge homepage.

Start with Codex

Install the bmforge skill once in a Codex chat:

$skill-installer install https://github.com/NadimGhaznavi/bmforge/tree/main/skills/bmforge

Then invoke $bmforge in Codex. In a new repository, it bootstraps the engineering baseline and your chosen components. In an existing repository, it can attach just the selected skill, such as RCA, without changing the application architecture or release process. See the short setup guide.

The engineering contract

Read the engineering contract before implementing anything.

  • Lean by default: build only what is required. Every abstraction, service, retry, and fallback needs a reason.
  • Trust contracts: validate at external boundaries; don’t revalidate trusted internal data at every layer.
  • Fail visibly: broken internal assumptions, unavailable required resources, and unsuccessful operations must not look like success.
  • Respect distributed boundaries: explicit acknowledgements and timeouts where delivery matters; no invented resiliency architecture.
  • Verify behaviour: test the selected component contracts and meaningful failure paths, not imaginary requirements.
  • Expose health: running applications provide a simple, on-demand health result for monitoring.

Start a task

What Codex is doing Authoritative starting point
Building an application Root AGENTS.md, engineering contract, class classification, then selected component blueprints
Starting a new project with Codex Use BMForge with Codex
Implementing or improving a component Component blueprints and specification lifecycle
Building the DAL or classifying application code Activity / Interface / Entity and DB Server
Centralizing constants and avoiding magic strings Constants standard
Localizing application interfaces from day one Application Localization
Selecting charts, maps or relationship graphs Approved display visualizations
Editing timeline objects Timeline Editing (requires HTTP)
Publishing an application security event without blocking dependencies Security Event Producer: journald and trusted request context
Blocking malicious IPs on one host from security events Fail2ban journal detection and nftables timed bans
Exporting rendered frames as an animated GIF GIF Animation
Configuring a service Runtime configuration and network configuration
Integrating an installed application with CMDB CMDB compliance
Making an application monitorable Application health checks
Investigating a production defect RCA skill: collect evidence read-only and troubleshoot locally
Installing, upgrading or uninstalling Installation Lifecycle contract, installation scripts and deployment impact
Publishing a release Release setup, creating a release, changelog maintenance
Creating or publishing a project website Project GitHub Pages standard (bmforge-github-pages), publishing, multilingual documentation

Component specifications

Each contract specifies behaviour, a fixed approved runtime-module inventory, and acceptance checks. Codex adapts the frozen local reference code rather than choosing other frameworks. If the prescribed modules are insufficient, Codex must stop and ask for approval before changing the specification.

Component Stable ID Contract
Project documentation site bmforge.github-pages GitHub Pages scaffold and styling
HTTP display server bmforge.http-server HTTP
ZeroMQ REQ/REP bmforge.zmq-server Architecture view · Technical contract
Timed host IP bans bmforge.nftables nftables timeout sets
Security-event production bmforge.security-events Fire-and-forget journald event producer (no prerequisites)
Security-journal detection bmforge.fail2ban Fail2ban journal filter and local ZMQ action (requires ZMQ)
DB Server bmforge.db-server Canonical DbMgr and DAL layering
Git bmforge.git Publish and Commit
Display visualizations bmforge.visualization Plotly.js, Leaflet, Cytoscape.js
Timeline editing bmforge.timeline vis-timeline (requires HTTP)
GIF animation bmforge.gif-animation Pillow GIF frame encoder
Constants bmforge.constants Domain-grouped fixed values
Application localization bmforge.localization English source and multilingual runtime UI
Installation lifecycle bmforge.installation Install/upgrade/uninstall, versioned footprint and client/server roles

Traceability and improvement

Implementing modules carry a small, statically readable component ID and specification version. The specification lifecycle defines how to identify a gap, improve a contract, add a regression case, and version the change. The decision record captures choices and unresolved work.

Current state: Pinned Codex skills, release scaffolding and read-only offline update checks are implemented, including the optional GIF Animation and production RCA skills. Component contracts and reference implementations remain drafts undergoing validation in consuming applications. CMDB scanning of component version markers is still planned.


Changelog · BMForge repository

Back to BMForge