$ fssg build --deterministic --validate |

Fresh Evidence Is a Quality Gate in IOSM

IOSM

A score without trustworthy evidence is not a result. It is a confident-looking number.

That distinction matters whenever an AI agent changes a real codebase. A test count can be current while a latency sample is weeks old. A complexity score can be reproducible while a user-flow assessment is based on one reviewer’s intuition. Put all of those values into one dashboard and the arithmetic still works. The decision does not.

This is why IOSM treats evidence confidence as part of the gate, not as a footnote under the metric. The methodology asks two separate questions:

  1. What does the metric say?
  2. How much authority should that measurement have?

The second question is the less glamorous one. It is also what stops an improvement cycle from certifying itself with yesterday’s proof.

The artifact: a confidence vector beside the metric vector

IOSM has six canonical metrics: semantic clarity, logic, performance, simplicity, modularity, and flow. A cycle report does not only persist their values. The specification requires an evidence tier and an evidence-confidence value for every metric, and the metrics history keeps those confidences beside the measurements.

A compact representation looks like this:

{
  "metrics": {
    "semantic": 0.82,
    "logic": 0.94,
    "performance": 0.88,
    "simplicity": 0.79,
    "modularity": 0.84,
    "flow": 0.76
  },
  "metric_confidences": {
    "semantic": 0.72,
    "logic": 0.96,
    "performance": 0.58,
    "simplicity": 0.74,
    "modularity": 0.81,
    "flow": 0.63
  }
}

The two vectors answer different questions. The first describes the system according to the available instruments. The second describes the instruments and evidence themselves.

That separation prevents a common category error: treating performance: 0.88 as equally decision-worthy whether it came from a controlled repeatable run or from an old, partial sample. The value may be identical. Its permission to close the cycle should not be.

This extends the logic of the IOSM Hypothesis Card. A hypothesis states what should improve, how it will be validated, and what should trigger rollback. Evidence confidence states whether the resulting validation is good enough to govern the next move.

Confidence is not model certainty

The word confidence is easy to misuse in AI systems. Here it does not mean that the model sounded certain, assigned a probability to its answer, or produced a persuasive explanation.

The IOSM specification defines evidence confidence through three properties:

  • freshness — does the evidence still describe the system revision and operating conditions under review?
  • reproducibility — can another run or reviewer obtain materially comparable evidence?
  • source quality — is the source direct and appropriate for the claim, or merely a proxy?

This is evidence about engineering state, not confidence in generated prose.

A fresh test run can still have low confidence if its fixture does not represent the changed path. A reproducible static analysis can still be the wrong source for a runtime-performance claim. A high-quality production trace can become stale after the dependency graph changes.

No single property rescues the other two. The useful question is not “Do we have evidence?” It is “Does this evidence justify this decision now?”

A high index can still mean CONTINUE

The reference IOSM CLI implementation makes the distinction executable. Its cycle decision logic checks the obvious blockers first: failed status, blocking gate failures, and guardrail violations. But passing those checks does not immediately produce STOP.

Before stabilization, the implementation also requires:

  • a complete metric and confidence record;
  • minimum decision confidence;
  • metric floors;
  • minimum confidence for every metric;
  • no active blocking waiver;
  • no excessive unexplained decline in recent history;
  • enough consecutive qualifying cycles;
  • and, for the critical profile, a recent Tier A evidence window for logic and performance.

If confidence is insufficient, the decision is CONTINUE, not FAIL.

That is an important semantic choice. Weak evidence does not prove the system is bad. It proves that stopping is not yet justified. The runtime asks for another measurement, a better source, or a longer observation window instead of converting uncertainty into either success or failure.

This differs from the mechanism in the expiring waiver register. A waiver records a known gate failure that has been accepted temporarily. Low evidence confidence means the gate result itself lacks enough authority. One is accepted risk; the other is unresolved knowledge. Conflating them corrupts both governance paths.

The evidence refresh plan

A confidence gate becomes useful only when it produces concrete work. “Collect more evidence” is not a plan. I prefer to attach a refresh action to every metric below threshold:

Metric Confidence gap Refresh action Completion signal
Performance stale benchmark after dependency change rerun the pinned workload on the reviewed revision raw run artifact plus environment identity
Logic partial path coverage add and execute the missing invariant test passing result tied to the cycle ID
Flow observation window too short keep the cycle open through the declared window complete CI/delivery sample
Semantic one-reviewer judgment run the documented rubric with a second reviewer stored rubric outputs and resolved disagreement

This table turns epistemic weakness into an engineering queue. The agent may gather evidence, but it cannot simply raise the confidence field. The artifact must identify what changed: source, timestamp, revision, procedure, or coverage.

For automated agents, provenance matters even more. IOSM requires automation actors and their approval path to be recorded. A metric produced by an agent should therefore be traceable to the tool, inputs, target revision, and resulting artifact. Otherwise the number survives while the conditions that made it meaningful disappear.

Stabilization is a proof over time

A single successful cycle is useful. It is not stabilization.

IOSM defines stabilization as maintaining the target index across a configured number of consecutive cycles while avoiding blocking gate failures, guardrail violations, active blocking waivers, metric-floor breaches, and excessive unexplained drift. Evidence thresholds remain part of that decision.

This changes the meaning of “done.” Done is not the moment an agent produces an attractive after-state. It is the moment a sequence of artifacts supports the claim that the improvement persists.

The idea fits the broader argument behind IOSM CLI as an engineering runtime: the model can propose and execute work, but the runtime owns progression. Here, progression is constrained not only by code state but by the quality of knowledge about that state.

There is also a deliberate limit. Evidence confidence does not make subjective metrics objective, guarantee that thresholds were chosen wisely, or prove production impact. It only makes the uncertainty explicit and prevents low-authority measurements from silently carrying high-authority decisions. Teams still have to define suitable instruments, windows, and floors for their own criticality profile.

The decision must never outrun the proof

AI engineering often focuses on making agents act faster. IOSM’s evidence-confidence gate focuses on something harder: preventing the decision layer from moving faster than its proof.

The practical invariant is simple:

metric passes && evidence is weak  => CONTINUE
metric passes && evidence qualifies across the required window => STOP may be allowed

That CONTINUE is not bureaucracy. It is an honest state in the machine.

A disciplined runtime should know the difference between “the system improved” and “we currently have enough evidence to say the system improved.” The first is a property of reality. The second is an engineering decision. IOSM stores both—and refuses to pretend they are the same.

Sources

FACET AI CLI Terminal
facet@ai:~$