/akka:mode
Switch between the Enforced and À la carte conformance modes.
This command was added in version 2.8.0 of the Akka Specify Plugin. If the command is not available
you have to update to the latest version.
|
/akka:mode requires the latest version of the Akka CLI. Install the Akka CLI if you have not installed it yet.
|
Description
Sets the project’s conformance mode (recorded in .akka/exit-conditions.yaml) or, with no argument, prints the current mode.
The mode controls two things: whether Akka Specify creates exit conditions on its own, and whether unmet conditions block shipping.
-
À la carte (the default) — the exit-condition set is dormant until you ask for it. Only the Akka-intrinsic baseline resolves. No auditors are created and
/akka:specifycaptures nothing. Once you ask for conditions, they are evaluated and shown, butshipstill proceeds when they are unmet, recording an explicit override. -
Enforced — the full set applies from the start.
shiprefuses to release the project until every applicable exit condition isgreenand not stale, or covered by an effective waiver. You usesignoff,strike(to mark inapplicable), andwaiveto resolve eachopenorredcondition beforeshipwill proceed.
Use --exit-conditions=honor to start using conditions in à la carte mode, or --exit-conditions=ignore to set them aside. Setting them aside does not delete anything. The captured conditions stay in .akka/exit-conditions.yaml and --exit-conditions=honor brings them back.
Every Specify command is available in both modes. The mode changes what the engine does on its own, not the command set. The two locked process-integrity gates, PROC-AUDITOR-COVERAGE and PROC-ADEQUACY-REVIEWED, apply whenever the exit-condition set is active. Enforced mode blocks ship while either is red, and à la carte computes them as advisory. While the set is dormant they do not resolve at all, because there is nothing yet to have covered or reviewed.
A developer can switch only within the modes the organization allows. If the organization has locked the mode (see Policies), the command refuses and says so.
Switching a project that already has conditions
Switching to à la carte is not a silent change when the project already carries exit conditions and auditors. The command refuses and names the two options, so the choice stays with you:
/akka:mode a-la-carte --exit-conditions=honor
/akka:mode a-la-carte --exit-conditions=ignore
A project with no conditions yet switches without any question.
See Conformance modes for more on choosing a mode.