GPT-5.6 Luna · prompting-guide
Turn “Apply Occam’s Razor: Reducing Overengineering in Luna/Codex Prompts” into a bounded task entry with explicit inputs, runtime context, output format, and acceptance checks; confirm the model version and source limits before use.
Review {{REPO_CONTEXT}} and propose the smallest change for {{CHANGE_REQUEST}}. Follow {{STOP_RULE}}, run {{TEST_COMMAND}}, and report unverified assumptions.Replace before running: {{CHANGE_REQUEST}}, {{REPO_CONTEXT}}, {{STOP_RULE}}, {{TEST_COMMAND}}
Propose the smallest safe change for the requested repository change while preserving module boundaries and tests.
Use GPT-5.6 Luna in a pinned repository with the requested change, current behavior, dependency map, and a focused test command.
Read the affected path, list the smallest viable edits, reject unrelated refactors, implement the patch, and run the focused tests plus a diff review.
Accept a minimal diff whose tests pass and whose unchanged behavior is recorded. If the minimal patch cannot satisfy the requirement, explain the blocker before widening scope.
This is an editorial adaptation of an Occam-style community prompt; it is not a benchmark of Luna’s coding ability.
The poster recommends explicitly asking Codex to use Occam’s Razor to reduce Sol’s overengineering; the rule can likewise serve as a boundary-setting prompt when Luna handles coding tasks. Comments add important limitations: simplicity does not mean removing module boundaries; clear responsibilities still matter. If there are already many skills, plugins, or conflicting rules, adding this prompt alone may not solve harness problems.
Apply Occam's Razor
- Prefer the simplest design and implementation that fully satisfies the
current, demonstrated requirements.
- Do not add abstractions, layers, configuration, extension points, dependencies,
or infrastructure for hypothetical future needs. Introduce them only when
concrete requirements or repeated patterns justify their cost.
- Before adding code, consider whether the goal can be met by deleting,
consolidating, or reusing existing code.
- When multiple approaches are correct, choose the one with fewer concepts,
moving parts, and maintenance obligations, unless evidence shows that a more
complex approach is necessary.
- Treat patterns and principles as tools, not goals. Do not apply SOLID, design
patterns, or architectural boundaries in ways that make a small solution more
complicated than the problem requires.The goal should be the simplest design that still preserves clear responsibilities and boundaries.
A lot of these prompts work fine in isolation because it’s good advice, doesn’t mean the agent won’t wander or get conte… This is a necessary excerpt; read the original source for full context.
You have to tell it specifically to use Occam's razor. Otherwise, it may still over-engineer even if the instructions ar… This is a necessary excerpt; read the original source for full context.
This prompt constrains complexity only; it does not replace project conventions, tests, or security checks. When using it, add task-level completion criteria such as “first inspect the existing implementation, list the affected files, and stop after completing the tests” to prevent the model from misinterpreting “simplest” as removing necessary responsibility boundaries.
Reddit, r/codex · Source date: Not disclosed · Edited: 2026-09-20
Read the original sourceGPT-5.6 Luna
Run this guide in the environment listed above. Downloading does not transfer the template or establish model availability for your account.