$ fssg build --deterministic --validate |

I Make AI State the Question It Answered

Logs

A correct answer to the wrong question is one of the most expensive AI failures.

It often looks like success. The prose is coherent. The patch compiles. The plan has milestones. The citations are real. Only later does someone notice that the agent interpreted “replace” as “migrate,” “support” as “document,” or “make it safe” as “add validation.”

I do not want to discover that semantic fork after execution. For consequential work, I make the agent state the question it actually answered.

This is not a request to repeat my prompt. It is a compact contract between the original request and the produced result.

Fluent output hides interpretation

Natural language leaves choices unresolved. Humans handle many of them through shared context: which system matters, who owns compatibility, whether old behavior must survive, what “done” means, and which trade-off is unacceptable.

An AI system has to choose anyway. If the choice stays inside its reasoning, the final answer can be locally excellent and globally irrelevant.

That is why output validation alone is insufficient. A schema can prove that a result has the expected fields. Tests can prove that code behaves as implemented. Neither proves that the system solved the intended problem.

Requirements engineering has long separated verification from validation: building the thing correctly is different from building the right thing. Agent workflows compress both into one model call, then wonder why technically clean work misses intent.

The answer contract

I use a small artifact beside the result:

{
  "request_id": "req-1842",
  "interpreted_question": "How can we add token rotation without breaking active sessions?",
  "included": [
    "rotation protocol",
    "backward compatibility",
    "rollback path"
  ],
  "excluded": [
    "identity-provider migration",
    "new authorization model"
  ],
  "acceptance_test": "existing sessions remain valid while new tokens use the rotated key",
  "evidence": [
    "tests/auth/rotation.test.ts",
    "docs/key-rotation.md"
  ],
  "unresolved": [
    "maximum overlap window requires operator policy"
  ]
}

The artifact is deliberately smaller than the answer. It does not reproduce the chain of thought. It exposes the semantic boundary that matters to the next decision.

Five fields do most of the work:

Field What it prevents
interpreted_question Solving a neighboring problem without saying so
included Quietly shrinking the requested scope
excluded Expanding into plausible but unauthorized work
acceptance_test Replacing an outcome with activity
unresolved Turning missing authority or evidence into confidence

This differs from defining done before giving an agent a goal. The completion envelope constrains execution before work begins. The answer contract is emitted after interpretation and travels with the result. One sets the destination; the other proves which destination the agent used.

Normalize meaning, not wording

A weak implementation asks the model to paraphrase the prompt. That produces another fluent sentence, not a control.

The interpreted question must be reviewably different from the raw request. It should name the object, desired change, preserved constraints, and decision boundary. If the original says “improve authentication,” the contract must reveal whether the agent optimized latency, tightened authorization, reduced operational burden, or redesigned identity.

I would rather see a narrow interpretation and an explicit unresolved field than a broad answer that quietly chooses all four.

The runtime can enforce a few deterministic rules:

  1. every consequential result references the immutable request ID;
  2. exclusions cannot contradict declared non-goals or protected constraints;
  3. the acceptance test must point to observable evidence;
  4. a material change in interpretation creates a new contract revision;
  5. execution stops when an unresolved item requires authority the agent does not have.

The model proposes the interpretation. The runtime preserves identity and checks the boundary. The operator reviews the delta only when the meaning materially changes.

That split matters. I do not expect a model to prove that its interpretation is universally correct. I expect the system to make interpretation visible before we confuse fluency with alignment.

The contract follows the artifact

An answer contract becomes most useful at handoffs.

A reviewer should not have to reconstruct the original conversation to understand what a patch claims to solve. A test agent should know which acceptance condition it is verifying. A deployment gate should be able to reject an artifact whose implementation evidence is complete but whose unresolved decision still needs an owner.

This extends the way I design AI handoffs for the next consumer. The next consumer needs more than files and status. It needs the semantic key that explains why those files are relevant.

In IOSM, I would bind this key to the Hypothesis Card and carry it through phase reports and the Cycle Report. The public IOSM specification already treats hypotheses, evidence, gates, and decisions as durable artifacts. An answer contract adds a precise join between the initiating question and that artifact chain; it does not claim that the current specification already defines this exact object.

Where this mechanism stops

The contract cannot prove that the user expressed the right goal. It cannot recover missing domain knowledge. It does not eliminate negotiation, and it should not turn small reversible tasks into paperwork.

I reserve it for work where a plausible interpretation can create a costly branch: architecture, migrations, external effects, security boundaries, research conclusions, and multi-agent handoffs.

For trivial work, the result is enough. For consequential work, I want the result and the question it claims to answer.

That pair changes review. Instead of asking only, “Is this good?”, I can ask:

Is this good evidence for the decision we actually needed to make?

AI systems will keep getting better at producing convincing answers. I am more interested in making the connection between question, answer, and consequence impossible to hide.

Sources

FACET AI CLI Terminal
facet@ai:~$