Skip to main content

Using STAGE With Codex

This is the owner-facing operating guide for the STAGE Codex plugin. It explains which workflow to invoke, what it may change, and where human authority remains required.

The plugin is optional. The Safety Kernel and delivery method can be followed without installing anything.

Install Or Refresh​

From the STAGE repository root:

codex plugin marketplace add .
codex plugin add stage-game-engineering@stage-local
codex plugin list --marketplace stage-local

Codex caches installed plugin releases. After the package version changes, repeat the plugin add command and open a new task. An already-open task keeps the skill snapshot with which it started.

Choose One Workflow​

You want to...InvokeMutation boundary
Implement, fix, tune, refactor, diagnose, or polish one game changeDescribe the change normally; stage-deliver-change is the implicit primary routeMay mutate only the authorized outcome
Start a fresh task safely, recover from a handoff, switch repositories, or understand a dirty tree$stage-game-engineering:stage-orientRead-only
Check whether an existing delta, revision, build, or behavior claim is actually supported$stage-game-engineering:stage-verifyCheck-only; never fixes findings
Deliberately adopt, refresh, or externally audit a STAGE project map$stage-game-engineering:stage-map-projectExplicit map scope only

Use the full plugin-qualified name for explicit workflows. A bare skill name is not resolved consistently by every Codex surface.

Begin A Fresh Task​

Open the task in the game repository and request the outcome directly:

Fix the Stage Door so it always appears after the Headliner is defeated.

Delivery recovers relevant context, implements, verifies, and makes a task-only local commit when relevant mechanical checks pass. It preserves unrelated staged and unstaged work. If a required check is unavailable or safe commit separation is unclear, it reports the reviewable result and pending checkpoint.

Use $stage-game-engineering:stage-orient only when you explicitly want read-only recovery before deciding what to authorize. It stops with an orientation report. A clean idle repository may correctly need direction; a missing map or ticket does not prevent an ordinary authorized change.

Verify Without Fixing​

Invoke:

$stage-game-engineering:stage-verify

Name the claim and scope when they are not obvious:

$stage-game-engineering:stage-verify
Verify the current dirty delta fixes controller navigation on the performer
selection screen without changing mouse navigation.

Verification inventories the delta, identifies the production consumer, and selects material Source, Model, Engine, Consumer, Distribution, and Director lanes. It reports passed, failed, unavailable, not run, or not material per lane.

The workflow does not repair failures, regenerate baselines, or weaken checks. Start a separate delivery request after reviewing the result.

Human Decisions Stay Human​

Codex may inspect, research, challenge assumptions, implement, instrument, and run project operations. The owner still decides:

  • what game should be made;
  • which experience hypothesis is worth testing;
  • whether visuals, audio, feel, balance, pacing, comprehension, and fun are acceptable;
  • whether destructive or externally visible actions are authorized; and
  • whether the product or release should be accepted.

A local commit records engineering state and may precede subjective acceptance. Existing authorization carries forward. Automated verification can establish mechanical and integration claims. It cannot certify that a game is enjoyable.

Project Knowledge And Task Memory​

Keep durable project knowledge in the repository's Context Spine:

  1. AGENTS.md for mandatory operating rules;
  2. STAGE.md or another concise project map when the project has earned one;
  3. a documentation index linking canonical detail; and
  4. an active work item only while a coherent outcome is unfinished.

Use a revision-bound Task Handoff only when unfinished work crosses a task boundary; do not create one after every commit. Conversation history is useful working context, not the project archive. See Task Continuity And Context Recovery.

What Not To Add By Default​

  • Do not require a project map before ordinary game work.
  • Do not paste the full handbook into agent instructions.
  • Do not create a detached visual evidence product when the engine or game already owns the relevant view.
  • Do not use Linear, another tracker, or sprint ceremony as STAGE's source of truth. A tracker may later mirror Ready work when its recurring coordination value exceeds its maintenance cost.
  • Do not treat the human documentation site as a second canonical knowledge base.

For one developer using agents in spare time, the repository, short Codex tasks, the optional Stage Director's Flow, and coherent Git checkpoints are the default operating system.