# Make coding agents follow product decisions

> A coding agent can pass tests and still ship the wrong product behavior when the approved decision lives in a meeting or stale issue. Artifact supplies that versioned decision before planning, then records whether it changed the answer.

See how a coding agent can implement a valid solution that contradicts an approved product decision, and how Artifact makes the current boundary available before code changes.

**Audience:** Product and engineering teams using Cursor, Claude Code, Codex, Gemini, Grok, or other coding agents.

**Canonical HTML:** https://artifactcomputing.com/coding-agents-product-decisions

## Public offer

Start a free Artifact workspace at https://app.artifactcomputing.com. Every workspace includes 100K governed tokens per month, unlimited teammates, and no seat fees. A card is required only after three agent sessions.

## Before and after

**Question:** Implement the intake form validation.

**Model default:** Require every field and disable Submit until all four values are present.

**With Artifact:** Require the answer and intended decision. Label company and context Optional, omit required validation for both, and test the filled and empty paths.

**Applied directive:** Agent answer and intended decision are required. Company and context are optional and empty values must not block submit.

## Concrete failure: correct code, wrong product

A coding agent makes every onboarding field required because that simplifies validation. The approved product decision says company and context are optional, so the technically clean implementation blocks the intended flow.

- Tests can validate the implementation while missing the product decision.
- A stale issue or repository instruction can preserve an older choice.

## Artifact workflow: make the decision retrievable

Publish the current optional-field boundary with its owner and scope. The coding agent retrieves it before planning, applies it to validation and interface copy, and records the directive version in the interaction receipt.

## Privacy boundary

Artifact records the direction and outcome metadata, not the repository prompt or generated patch. The code remains in the coding client and repository.

## How to apply it

1. **Name the missed decision** — Bring the agent answer or plan and state the product decision it should have followed.
2. **Review the directive and comparison** — An operator checks the drafted directive and before-and-after report before releasing it.
3. **Connect the coding clients** — Publish the approved directive and let Cursor, Claude Code, Codex, Gemini, Grok, and other clients retrieve it before work.

## Frequently asked questions

### Is AGENTS.md enough for product decisions?

It can carry repository instructions, but changing company decisions can drift across repositories and clients. Artifact provides one versioned task-time source.

### Does Artifact execute code?

No. The coding agent remains the agent. Artifact supplies direction before the response and records metadata about what ran.

### Can a directive apply only to Engineering?

Yes. Scope the directive to Engineering, the organization, or Just me, and limit delivery to named agents when needed.

## Related

- [AI agent steering for engineering teams](https://artifactcomputing.com/use-cases/engineering)
- [Connect Artifact to Cursor](https://artifactcomputing.com/integrations/cursor)
- [Prove which direction changed an agent answer](https://artifactcomputing.com/prove-agent-direction-changed-answer)

## Review one answer

[Open the bad-answer clinic](https://artifactcomputing.com/clinic?source=coding-product-decisions-page). An operator reviews the draft before the report is returned.

Markdown mirror: https://artifactcomputing.com/coding-agents-product-decisions.md
