Build within the BMForge contract
Build within the BMForge contract
Read references/engineering-contract.md, references/classification.md, references/component-blueprints.md and references/specification-lifecycle.md only as needed. This skill controls application architecture, not an application implementation.
- Implementation authorization gate: Discussion, read-only investigation and design are not permission to change a project. Do not edit files or install packages until the user clearly authorizes the agreed implementation. A direct implement/fix request counts without magic words. After approval, complete the scoped work and tests without per-file prompts; pause for material scope changes, new dependencies or unapproved architecture. Commit, push, release and deploy remain separately authorized.
- Start from explicit user requirements. DevLog-sized applications are only useful examples; do not automatically build a time tracker or preselect components.
- Every new app adopts
bmforge-constantsfor stable identifiers,bmforge-localizationfor source-language message keys, andbmforge-installationfor all three install/upgrade/uninstall operations. Even a library-only or client-only installation must leave a versioned, ownedBASE_DIR. Do not claim an installed version for an unverified package. Do not localize API identifiers or generate unrequested translations. - Separate
activity/(use-case orchestration),interface/(technology and domain bridges), andentity/(data), withconstants/andserver/only where appropriate. Use composition; avoid invented frameworks, base classes and unused packages. - Select locally installed component skills by requirement. If a missing component is needed, ask before using
python3 .agents/bmforge/manage.py add --project . --components <name>; do not silently install one. - Infrastructure modules and browser libraries are fixed by the selected skill’s local
references/specification.md. Ask before deviating, introducing alternatives or adding unrelated frameworks. - Each application owns its copied/adapted implementation and tests. Do not import BMForge or another application’s runtime code.
- For applications with more than one service, create an executable
scripts/servicessupportingstartandstop. Run the application’s start/stop commands sequentially in an explicit order. Keep it simple; no dependency awareness is required. - Every completed logical change requires an immediate
CHANGELOG.mdupdate under## [Unreleased], including code, tests, documentation, configuration and small fixes. For every meaningful improvement, add or refresh one plain-English### Summary, even for a single change. Do not defer either step to release time. Readreferences/changelog-maintenance.mdand verify the entry before declaring the task complete. - Run
python3 .agents/bmforge/manage.py check --project .before the first BMForge-derived edit in a Codex session; notify the user about available versions. Checking does not authorise applying them. - Bootstrap already generated
scripts/new-release.sh, version metadata, changelog, CMDB checker and disabled lifecycle scripts. After an explicitly approved first commit onmain, the project-localmanage.py setup-branches --dry-runandsetup-branchesactions establish the localdev/feature release lineage. Do not silently commit or push. Once the application’s actual topology is known, followbmforge-installationto complete and test all three lifecycle operations before declaring the app release-ready. Refer toreferences/release-setup.mdandreferences/creating-a-release.mdwhen the user asks to release; never create an alternative release system or run it without authorisation. - Derive the smallest coherent plan, test acceptance criteria, and keep user-controlled release operations outside this skill.