My AI-assisted development workflow

1. My AI-assisted development workflow

Kaspars · Show and tell

Click diagram to view full size
  • Started with Claude and Claude Code
  • Switched to Codex for lower cost per token
  • Codex; GPT-6.1 Sol and GPT-6 Astra
  • Own the goal, decisions, and acceptance
  • OMX: six months; CLI → Codex App
  • Better native orchestration; small trade-off
  • Explore App-oriented harnesses

I started with Claude and Claude Code, then switched to Codex for economic reasons: a lower cost per token for my usage. I now work almost exclusively in Codex. My preferred models and reasoning levels are GPT-6.1 Sol (light and medium) and GPT-6 Astra (medium and high).

I define the outcome, make design decisions, and accept the result. AI helps investigate, implement, and gather evidence. I need to understand what I accept.

I started using OMX more than six months ago, when the CLI was my primary environment. I have since moved to Codex App. OMX is not as well suited to the App, but Codex has also improved—particularly at orchestrating subagents—so the trade-off is small. I should explore harnesses designed more specifically for Codex App.

2. Two approaches: speed and precision

Click diagram to view full size
  • Same stages; varying depth
  • Small prompts → early results → quick iteration
  • Precision for risk and dependent stages
  • Generate and refine longer briefs
  • Specify stages upfront
  • Switch approaches as the outcome becomes clearer
Speed Precision
Explore an uncertain outcome Define the intended outcome carefully
Small, inspectable changes Complex changes or costly mistakes
Native Codex implementation Staged execution with ultragoal; parallel work with team
Short feedback loops More preparation before execution

Both approaches follow the same stages—investigation, planning, implementation, review, QA, and PR checks—with varying depth. I choose speed for uncertain outcomes and small changes I can inspect quickly. I choose precision when mistakes are costly or several stages depend on each other. Exploration can clarify the outcome enough to switch approaches; prompt length alone does not determine precision.

3. Workflow stages

Click diagram to view full size
  • Investigation — analyze
  • Planning — Native plan; Optional: ralplan; Occasional: deep-interview
  • Implementation — Small tasks: native execute; Staged work: ultragoal; Parallel work: team
  • Review — Requirements comparison + code-review; Optional: refactoring
  • QA — ultraqa when relevant
  • PR checks — Tiered GitHub CI; Optional: BugBot

4. Workflow stages: investigation and planning

  • Inspect before changing: analyze
  • Evidence versus assumptions
  • Business and domain perspectives
  • Native plan; optional ralplan consensus
  • Occasional deep-interview; clear acceptance criteria

I usually start investigation with analyze, asking the agent to inspect the existing implementation, trace relevant behavior, and separate evidence from assumptions.

Business and domain perspectives help question user needs and operational constraints. A role focuses the analysis; its findings still need support from requirements and observed behavior.

For planning, I start with a native Codex plan task. If the decisions need more scrutiny, I use ralplan for consensus planning. I occasionally use deep-interview for clarification; otherwise, I generate and iterate on the brief directly.

Output: understood requirements, constraints, explicit decisions, and acceptance criteria that guide implementation and review.

5. Implementation and iteration

  • Small tasks: native implement / execute
  • Larger, staged work: ultragoal; parallel work: team
  • Bounded subagent ownership
  • Verify intermediate results before dependent work
  • Concrete corrections; repeat affected checks

For small tasks, I use native Codex implement / execute: give a focused prompt, get an early result, test and review it, then correct or extend it.

For larger work, I specify stages upfront and use ultragoal to organise implementation around goals and verification checkpoints. When the task allows independent work in parallel, I sometimes use the team skill instead to coordinate parallel agents.

When delegation helps, each subagent gets bounded ownership and an expected result. I integrate the contributions and check intermediate results before dependent stages continue.

Feedback should be concrete: identify the incorrect behavior or assumption, clarify the requirement, and repeat the affected checks. I prefer a reviewable next step over accumulating a large unexamined change.

6. Review, QA, and PR integration

  • Requirements and correctness
  • Test coverage: Do tests cover the changed behaviour and likely regressions?
  • Optional refactoring; recheck behavior
  • Relevant ultraqa; project-dependent BugBot
  • Tiered CI; pre-merge versus post-merge checks
  • Resolve findings; PR signoff

I use focused code-review prompts through four lenses:

  • Requirements: does this satisfy the intended behavior?
  • Correctness: what bugs or regressions remain?
  • Test coverage: Do tests cover the changed behaviour and likely regressions?
  • Simplicity: would refactoring help? Recheck behavior after changes.

I use ultraqa when relevant, and project-specific tools such as BugBot where appropriate. Findings feed into corrections and PR signoff.

I scale CI effort: small checks on routine pushes and PR updates, broader local/manual checks, and the full workflow at main integration. Exact triggers depend on the project; post-merge checks are distinct from pre-merge gates.

7. Recurring workflows

  • Identify repeatable project work
  • Package the procedure as a skill
  • Schedule daily where useful
  • Documentation maintenance as one illustration
  • Review results against acceptance criteria
  • Next on my list: narrow, continuous, fully autonomous R&D agents.

Depending on the project, I package recurring workflows as project-specific skills, then schedule daily runs—for example, documentation maintenance as code evolves.

The skill defines the procedure; the schedule defines when it runs.

The aim is less repeated setup and routine work, with changes and findings available for review. I remain responsible for deciding whether the result meets its acceptance criteria.

Next on my list are narrow, fully autonomous R&D agents for recurring research and experimentation workflows. This is planned work, not an existing part of my setup.

Workflow reference

Appendix · Workflow reference

Stage Usual approach
Investigation analyze
Planning Native plan task; ralplan consensus when necessary
Clarification Occasionally deep-interview, or generate and refine the prompt
Implementation Native Codex implement / execute for small tasks; ultragoal for larger or staged tasks; team when the task allows independent parallel agents
Review Requirements comparison; code-review with different focused prompts; refactoring sometimes
QA ultraqa when relevant
PR review Small CI on routine updates; medium checks locally/manually; full checks at the main-integration stage; optional BugBot; PR signoff
Recurring work Project skills and daily scheduling where useful; narrow, fully autonomous R&D agents planned next

Native subagents are separate from OMX’s terminal team runtime, which requires an appropriate attached terminal environment.

Appendix · Illustrative prompt structures

These are templates, not historical prompts. Replace bracketed fields with the task's actual context.

Small iterative task

Goal: [one observable improvement].
Inspect the relevant implementation and make a small, reviewable change.
Preserve [constraints]. Verify [acceptance criteria].
Report the result, checks, and remaining gaps before extending the scope.

Staged precision brief

Outcome: [intended behavior and audience].
Constraints and non-goals: [boundaries].
Investigate [unknowns], then develop a plan with explicit acceptance criteria.
Define stages, dependencies, and verification checkpoints.
After the plan is settled, implement with ultragoal, or use team when the task allows independent parallel agents.
Verify each stage before dependent work proceeds; report unresolved decisions.

Appendix · Five-minute route

Tool terminology: Official Codex customization documentation. OMX workflow descriptions follow local instructions and my stated practice.

Complete presentation wording

My AI-assisted development workflow

Kaspars · Show and tell

1. My setup and responsibility

Talking points

  • Started with Claude and Claude Code
  • Switched to Codex for lower cost per token
  • Codex; GPT-6.1 Sol and GPT-6 Astra
  • Own the goal, decisions, and acceptance
  • OMX: six months; CLI → Codex App
  • Better native orchestration; small trade-off
  • Explore App-oriented harnesses

I started with Claude and Claude Code, then switched to Codex for economic reasons: a lower cost per token for my usage. I now work almost exclusively in Codex. My preferred models and reasoning levels are GPT-6.1 Sol (light and medium) and GPT-6 Astra (medium and high).

I define the outcome, make design decisions, and accept the result. AI helps investigate, implement, and gather evidence. I need to understand what I accept.

[Diagram shown in the presentation]

I started using OMX more than six months ago, when the CLI was my primary environment. I have since moved to Codex App. OMX is not as well suited to the App, but Codex has also improved—particularly at orchestrating subagents—so the trade-off is small. I should explore harnesses designed more specifically for Codex App.


2. Two approaches: speed and precision

Talking points

  • Same stages; varying depth
  • Small prompts → early results → quick iteration
  • Precision for risk and dependent stages
  • Generate and refine longer briefs
  • Specify stages upfront
  • Switch approaches as the outcome becomes clearer

[Diagram shown in the presentation]

Speed Precision
Explore an uncertain outcome Define the intended outcome carefully
Small, inspectable changes Complex changes or costly mistakes
Native Codex implementation Staged execution with ultragoal; parallel work with team
Short feedback loops More preparation before execution

Both approaches follow the same stages—investigation, planning, implementation, review, QA, and PR checks—with varying depth. I choose speed for uncertain outcomes and small changes I can inspect quickly. I choose precision when mistakes are costly or several stages depend on each other. Exploration can clarify the outcome enough to switch approaches; prompt length alone does not determine precision.


3. Workflow stages: investigation and planning

Talking points

  • Inspect before changing: analyze
  • Evidence versus assumptions
  • Business and domain perspectives
  • Native plan; optional ralplan consensus
  • Occasional deep-interview; clear acceptance criteria

[Diagram shown in the presentation]

I usually start investigation with analyze, asking the agent to inspect the existing implementation, trace relevant behavior, and separate evidence from assumptions.

Business and domain perspectives help question user needs and operational constraints. A role focuses the analysis; its findings still need support from requirements and observed behavior.

For planning, I start with a native Codex plan task. If the decisions need more scrutiny, I use ralplan for consensus planning. I occasionally use deep-interview for clarification; otherwise, I generate and iterate on the brief directly.

Output: understood requirements, constraints, explicit decisions, and acceptance criteria that guide implementation and review.


4. Implementation and iteration

Talking points

  • Small tasks: native implement / execute
  • Larger, staged work: ultragoal; parallel work: team
  • Bounded subagent ownership
  • Verify intermediate results before dependent work
  • Concrete corrections; repeat affected checks

For small tasks, I use native Codex implement / execute: give a focused prompt, get an early result, test and review it, then correct or extend it.

For larger work, I specify stages upfront and use ultragoal to organise implementation around goals and verification checkpoints. When the task allows independent work in parallel, I sometimes use the team skill instead to coordinate parallel agents.

When delegation helps, each subagent gets bounded ownership and an expected result. I integrate the contributions and check intermediate results before dependent stages continue.

Feedback should be concrete: identify the incorrect behavior or assumption, clarify the requirement, and repeat the affected checks. I prefer a reviewable next step over accumulating a large unexamined change.


5. Review, QA, and PR integration

Talking points

  • Requirements and correctness
  • Test coverage: Do tests cover the changed behaviour and likely regressions?
  • Optional refactoring; recheck behavior
  • Relevant ultraqa; project-dependent BugBot
  • Tiered CI; pre-merge versus post-merge checks
  • Resolve findings; PR signoff

I use focused code-review prompts through four lenses:

  • Requirements: does this satisfy the intended behavior?
  • Correctness: what bugs or regressions remain?
  • Test coverage: Do tests cover the changed behaviour and likely regressions?
  • Simplicity: would refactoring help? Recheck behavior after changes.

I use ultraqa when relevant, and project-specific tools such as BugBot where appropriate. Findings feed into corrections and PR signoff.

I scale CI effort: small checks on routine pushes and PR updates, broader local/manual checks, and the full workflow at main integration. Exact triggers depend on the project; post-merge checks are distinct from pre-merge gates.


6. Recurring workflows

Talking points

  • Identify repeatable project work
  • Package the procedure as a skill
  • Schedule daily where useful
  • Documentation maintenance as one illustration
  • Review results against acceptance criteria
  • Next on my list: narrow, continuous, fully autonomous R&D agents.

Depending on the project, I package recurring workflows as project-specific skills, then schedule daily runs—for example, documentation maintenance as code evolves.

The skill defines the procedure; the schedule defines when it runs.

The aim is less repeated setup and routine work, with changes and findings available for review. I remain responsible for deciding whether the result meets its acceptance criteria.

Next on my list are narrow, fully autonomous R&D agents for recurring research and experimentation workflows. This is planned work, not an existing part of my setup.


Appendix · Workflow reference

Stage Usual approach
Investigation analyze
Planning Native plan task; ralplan consensus when necessary
Clarification Occasionally deep-interview, or generate and refine the prompt
Implementation Native Codex implement / execute for small tasks; ultragoal for larger or staged tasks; team when the task allows independent parallel agents
Review Requirements comparison; code-review with different focused prompts; refactoring sometimes
QA ultraqa when relevant
PR review Small CI on routine updates; medium checks locally/manually; full checks at the main-integration stage; optional BugBot; PR signoff
Recurring work Project skills and daily scheduling where useful; narrow, fully autonomous R&D agents planned next

Native subagents are separate from OMX’s terminal team runtime, which requires an appropriate attached terminal environment.

Appendix · Illustrative prompt structures

These are templates, not historical prompts. Replace bracketed fields with the task's actual context.

Small iterative task

Goal: [one observable improvement].
Inspect the relevant implementation and make a small, reviewable change.
Preserve [constraints]. Verify [acceptance criteria].
Report the result, checks, and remaining gaps before extending the scope.

Staged precision brief

Outcome: [intended behavior and audience].
Constraints and non-goals: [boundaries].
Investigate [unknowns], then develop a plan with explicit acceptance criteria.
Define stages, dependencies, and verification checkpoints.
After the plan is settled, implement with ultragoal, or use team when the task allows independent parallel agents.
Verify each stage before dependent work proceeds; report unresolved decisions.

Appendix · Five-minute route

  • Introduce the setup and explain how you choose speed or precision.
  • Show the contrasting prompt structures to make the distinction tangible.
  • Walk through investigation, planning, implementation, and feedback.
  • Explain the four review lenses, relevant QA, tiered CI, and PR signoff.
  • Close with reusable skills, scheduled maintenance, and narrow autonomous R&D agents planned next.

Tool terminology: Official Codex customization documentation. OMX workflow descriptions follow local instructions and my stated practice.

Diagram