Skip to content

Threads and modes

Promotions

Promotions create a linked Code thread from Work work with explicit user approval, moving it to Code's coding tools.

  • 2 min read
  • 5 sections

Promotions ​

When Work work becomes software engineering, Octant offers an explicit promotion to a linked Code thread. The promotion never changes mode silently and never carries Work filesystem authority into Code.

Work and Code share the same capabilities under the same guardrail level, so a promotion moves work to Code's focus (checkouts, worktrees, pull requests, and a delivery target) rather than giving it more power. The new Code thread starts at the level its Project uses, as any new Code thread does. The steps below apply.

How promotions work ​

  1. During a Work thread, the agent or user identifies that the work requires Code authority (Git, shell, repository tools).
  2. Octant presents a promotion proposal with selected context from the Work thread.
  3. The user reviews the proposal and explicitly approves or dismisses it.
  4. On approval, a new Code thread starts in a linked Code Project.
  5. The Code thread starts approval-gated, never inheriting the Work thread's authority.

The Work Project overview's Continue in Code form needs an available Work artifact and a target Code Project. Missing choices show No Work artifact to hand over yet or No active Code Project to target. The corresponding selector and Propose a Code thread stay disabled until those prerequisites exist.

Authority boundary ​

A promotion proposal:

  • Never silently switches modes.
  • Never carries Work filesystem authority into Code.
  • Requires explicit user approval before creating the Code thread.
  • Starts the Code thread in approval-gated mode, regardless of the Work thread's authority level.

The Code thread resolves its own authority independently. The user can change its mode (Auto, Ask first, Accept edits, Plan, or Full access) from the Code thread's composer.

Context transfer ​

The promotion proposal can include context from the Work thread, such as:

  • Relevant memory entries, transferred with a provenance link.
  • A summary of the Work work that led to the promotion.
  • Referenced files or paths within the Work root.

The Code thread does not inherit the Work root binding. It binds its own folder selected during Project creation or thread configuration.

Dismissing a promotion ​

A dismissed proposal leaves the Work thread unchanged. No Code thread is created, no authority is elevated, and no data is transferred. The user can initiate another promotion later.

Next steps ​

  • Work for the source mode of promotions
  • Code for the target mode of promotions
  • Shared Memory for context transfer during promotions

Octant documentation · local-first by design