Adoption lifecycle#
The shortest safe path from “new repository” to a self-correcting BCE gate is:
bce doctor --repo .diagnoses prerequisites without writing.- Have the current coding agent use
bce authorto draft one supported rule from stated intent.bce proposeis an optional provider-backed alternative with bounded disclosure and a deterministic review packet in quarantine. Usebce onboardfor complete CI, agent-context, and MCP wiring. The lower-levelbce adoptcommand remains available for policy-only adoption with an exact publishedbce-engine@X.Y.Zpin. Adoption is advisory and proposal-only; generated CI has read-only permissions. - Fix scope and teeth findings.
bce teeth ... --require-extractor-realmarks a blueprint ready only when every constraint has extractor-real teeth. Any evaluator-only remainder needs a committed, exact-reference reviewed waiver; trivial or indeterminate constraints still refuse. - A human steward reviews the exact packet in a pull request.
bce review decideresolves identity, current maintain/admin permission, rationale, time, commit, and review state from GitHub;bce ratifyre-authenticates that decision, digest-checks the inputs, bumps the version, and appends policy history and coherent adoption state. A one-human repository may explicitly configure solo-steward ratification on the trusted base; its GitHub COMMENT review is labelled self-ratified. Local self-attestation flags are not accepted. The resulting landing commit needs the repository's normal required checks and configured human-review policy before merge. - Use
bce gateon every pull request. Agents use MCPdoctor_repository,run_gate,assess_teeth, andcheck_baselineto diagnose and repair code. MCP cannot ratify or amend. - Existing debt may be captured once through a reviewed baseline. Thereafter
bce baseline --checkreports new debt and emits a shrink-only patch; it never silently grows the wall. - Graduate advisory to enforced only through the existing attended graduation proof. Configure and externally verify branch protection; committed configuration alone is not proof of enforcement.
- Amend approved policy with a higher draft version, exact semantic baseline, review packet, authenticated approving decision, extractor-real teeth proof, and append-only history. Relaxation is visible in the packet and has no approve-anyway flag.
- Before changing an engine pin, run
bce upgrade --check --candidate-engine X.Y.Z --repo .. The command is read-only and refuses ranges, malformed blueprints, zero discovery, and floor misses.
Exit semantics are uniform: 0 means the requested check passed, 1 means a gradeable violation or maintenance action exists, and 2 means BCE refused to claim a result. Never reinterpret refusal as success, and never fix a code violation by silently weakening policy.