Skip to content

openlogos next

Return the next action a developer or AI assistant should take. It uses the same phase and proposal-state detection as status, but compresses the result into one actionable instruction.

Terminal window
openlogos next [--module <id>] [--auto] [--format json]

Must be run from the project root.

OptionDescription
--module <id>Focus the recommendation on one module.
--autoFull-auto / unattended mode: a standing, run-scoped authorization for the whole proposal chain. See below.
--format jsonOutput structured JSON for tools such as RunLogos.
  • Suggests the next phase prompt for initial modules
  • Suggests openlogos change <slug> for launched modules without an active proposal
  • Tracks active proposal steps: fill the proposal → approve the plan → write deltas → merge → plan [code] slices → implement → verify → deploy / smoke → archive
  • Reports blocked modules when another module holds the active guard
  • In multi-module projects, lists one suggestion per module (in-progress first); with no in-progress module it suggests openlogos module add

openlogos merge, openlogos verify, deployment, openlogos smoke, openlogos archive and git push are human confirmation points. The AI must not run them on its own; it runs them only when you explicitly ask (including through the matching slash command). Implicit phrases such as “just finish the flow” do not count as authorization. Every human gate behaves exactly as declared in the flow.

openlogos next --auto is full-auto / unattended mode. Choosing --auto grants a standing, run-scoped authorization for the whole proposal chain — one authorization lets the proposal run to completion without step-by-step confirmation. In this mode next:

  • Auto-passes skippable flow gates — plan-exit, spec-exit, slice-exit and deliver-entry are skippable: true, so the driver may continue past them (including into merge and deployment). A gate with skippable: false still blocks.
  • Auto-executes the CLI steps that come after code is green — when the proposal is ready-to-verify, ready-to-smoke, or verified/deployed/smoke-passed, next returns the command (openlogos verify, openlogos smoke, openlogos archive <slug>) with auto_execute: true. git push is covered by the same standing authorization and needs no marker.
  • Writes an append-only GATE_AUTO_PASSED audit — every auto-pass appends one line (gate id + timestamp) to logos/changes/<slug>/GATE_AUTO_PASSED. It is an audit trail, not a state source.
  • Respects the safety latch — if the flow is still stuck on an unfinished node (including an overlay-added active / failed node), a blocking loop, or a slice-manifest problem, nothing is auto-passed or auto-executed.

The standing authorization does not cover changing the guard’s protection scope (openlogos ignore|exempt add|remove); those always need approval in the host’s own permission prompt.

The one exit gate that no mode, including --auto, ever auto-passes is gate:implement:loop-exhausted: code that hit the iteration ceiling (max_iters) without passing tests. It stays blocked so that full-auto only ever ships verified work — code that did not pass tests is never released. The only opt-in is an explicit overlay set-loop with set.exhausted_gate.skippable: true (high-risk, off by default).

With --format json, the envelope carries action, command, detail, active_change and proposal_step. With --auto it adds auto: true, gate_id, skippable and gate_auto_passed, and auto_execute: true when a post-green command should be run directly. gate_auto_passed (a flow gate) and auto_execute (a command step) are never both true in the same response.

Terminal window
openlogos next
Next Step
Action: Run verification
Detail: Explicitly request `openlogos verify` to run acceptance tests.