EN
Menu
Framework reference

Direct Coding Agents

A specification-driven loop for building, inspecting, and correcting functional software with coding agents.

Purpose

The Product Engineer uses coding agents to turn approved intended behavior into working software while retaining accountability for what was built. The implementation loop should be incremental, observable, and consistent with the project's standing constraints.

Responsible role: Product Engineer.
Participants: Coding agent; architect or UX designer when decisions require them.
Inputs: Current feature specifications, project objectives, approved instructions and assets, existing product behavior, identified constraints.
Outputs: Working implementation, associated ordinary automated tests, updated specifications when behavior changes, and a clear account of unresolved issues.

Build and maintain intent together

This is a recommended operational technique, not a universal manual-authoring or document-approval procedure. A PE may supply a conversation, example, or demonstrated correction instead of a polished feature document. The agent analyzes and maintains intended behavior while implementing; humans inspect working outcomes and resolve consequential business decisions. Sample identifiers, headings, acceptance conditions, and per-feature files are optional project techniques. Enterprise rules may separately require approval for risky work.

Scope and latitude before implementation

Use this optional working pattern in the conversation; it is not an approval gate or required document.

  1. Define the next outcome.
  2. State included scope, exclusions, and additions requiring a decision.
  3. Set creative/UX, structural, functional, and content latitude independently.
  4. Identify immutable constraints and decisions requiring approval.
  5. Implement one coherent increment using approved assets.
  6. Inspect and use the working product.
  7. Adjust the next outcome and latitude, then repeat.

An optional statement: “Implement [increment] for [outcome]. Include [capabilities]; exclude [boundaries]. Latitude: creative/UX [level], structural [level], functional [level], content [level]. Reuse [constraints]. Review [working result] before expansion.”

Unbounded request: “Build a complete professional customer portal with everything a user might need.”

Bounded request: “Build a signed-in account page that displays profile details and supports password change. Reuse existing components. Do not add billing, profile photos, subscriptions, or extra navigation. You may choose the interaction layout within the approved design system. Show the working page for review before starting additional capabilities.”

Keep proposals outside the agreed scope separate from implementation. Read Defining Agentic Latitude.

Procedure

1. Choose an implementable slice. Select a coherent set of feature behavior with enough surrounding context. Large features may be implemented incrementally, but preserve the relationship to the controlling specification.

2. Provide the source of truth. Direct the agent to read the project's standing instructions and the relevant specifications. Identify the required behavior, acceptance conditions, and any boundaries not already evident from project context.

3. Ask for implementation, not unsupported policy decisions. The agent may propose an implementation strategy and reuse existing components. It should not invent business permissions or introduce new dependencies, architecture, or design-system conventions without necessary approval.

4. Inspect functioning behavior. Exercise the result yourself using realistic flows and representative data. Check the happy path and meaningful exceptions. Reading a summary of generated files is not equivalent to validating the experience.

5. Iterate with concrete feedback. Report observed behavior and what should happen instead. Distinguish an implementation defect from a change in stakeholder intent. If intended behavior changes, update the specification before or alongside the next implementation iteration.

6. Preserve maintainability. Use approved libraries and components, keep code understandable, maintain routine automated checks, and avoid needless proliferation of similar implementations. Involve the architect for structural or security consequences beyond the Product Engineer's authority.

7. Record unresolved work clearly. Do not hide incomplete flows, access limitations, failing tests, or unapproved assumptions. Make them visible for subsequent review and verification.

Example implementation request

“Let a reviewer reject a pending request only with a reason. Use the existing approved components and permissions. Show me a working increment, surface consequential unanswered rules, and maintain intended-behavior context alongside the code.”

This conversational request is an example, not mandated prompt syntax. The PE exercises actual approval/rejection flows and gives concrete corrections; independent verification later derives checks from maintained intent rather than copying the implementation's assumptions.

Completion criteria

The relevant behavior can be demonstrated, its accepted requirements remain accurately specified, routine automated checks have been performed, and material issues are identified before the work moves to technical or stakeholder review.

Common problems to avoid

Blindly accepting generated summaries; making large unreviewable batches of changes; treating an agent's guess as a policy decision; allowing convenient custom components to bypass approved assets; and failing to synchronize specifications after approved behavior changes.