$ fssg build --deterministic --validate |

How to Promote an IOSM Change into a Reusable Pattern

IOSM

A change can pass every gate and still teach the organization nothing reusable.

The tests are green. The target metric moved in the expected direction. Guardrails held. The cycle report says PASS. Six weeks later, another team copies the patch into a different system—and inherits an assumption that was never written down.

That is not reuse. It is cargo cult with a commit hash.

IOSM already requires learning closure: a completed cycle must persist a learning artifact or record a justified no_learning_delta. Its canonical artifact set includes a Pattern Library for successful plays, preconditions, and expected deltas. I want to make the transition into that library explicit. A successful change should become a reusable pattern only through a pattern-promotion receipt.

Three candidates for the learning artifact

Before choosing the mechanism, I compared three ways to preserve a successful cycle:

Candidate What it preserves What it loses
Link to the pull request Exact implementation Intent, environmental assumptions, and safe transfer conditions
Decision Log entry Why one option won Operational recipe and evidence needed for replay
Pattern Library entry A reusable engineering play Trustworthiness, unless admission is evidence-bound

The third artifact has the right job, but it needs an admission protocol. Otherwise the Pattern Library becomes a museum of locally successful anecdotes.

Success and reusability are different claims

A cycle result answers a local question:

Did this change improve the declared outcome inside this scope and observation window without exceeding its guardrails?

A pattern makes a broader claim:

Under stated preconditions, another operator can apply the same mechanism to a materially similar problem and know what to measure, when to stop, and when not to trust it.

The second claim does not follow automatically from the first. One passing cycle proves one bounded outcome. It does not prove portability across repositories, traffic shapes, languages, teams, or criticality profiles.

This distinction matters especially for AI-assisted engineering. An agent is very good at finding a nearby precedent and imitating its visible form. If the precedent omits its hidden constraints, automation scales the omission faster than a human copy-and-paste ever could.

The pattern-promotion receipt

I would put a small machine-readable receipt between the Cycle Report and the Pattern Library:

pattern_promotion:
  pattern_id: reduce-validator-duplication
  source_cycle: iosm-2026-07-16-001
  mechanism: extract one validation boundary behind a stable contract
  outcome_claim:
    target_metrics: [semantic, simplicity]
    evidence_refs:
      - cycles/iosm-2026-07-16-001/cycle-report.json
      - evidence/contract-tests.json
  preconditions:
    - duplicate paths enforce equivalent invariants
    - callers can depend on one stable validation contract
  boundary_conditions:
    - do_not_apply_when: validation order is externally observable
    - unresolved: behavior under independently versioned consumers
  replay_plan:
    baseline_required: true
    required_checks: [invariants, contract-tests, dependency-graph]
    rollback_trigger: public-contract-break
  lifecycle:
    status: candidate
    promote_after: one independent successful replay
    review_on: [contract-change, invariant-change]
    retire_when: mechanism no longer preserves declared guardrails

This is not another summary. Each field constrains authority.

mechanism names the transferable operation, not the project-specific diff. preconditions state what must already be true. boundary_conditions preserve negative knowledge. replay_plan converts inspiration into a controlled experiment. lifecycle prevents a useful pattern from becoming permanent folklore.

Promotion should be a state machine

A binary pattern: yes/no flag is too weak. I prefer four states:

observed → candidate → validated → retired
  • Observed: one cycle succeeded, but the lesson may still be local.
  • Candidate: the mechanism, preconditions, evidence, and replay plan are complete enough to try elsewhere.
  • Validated: at least one materially independent replay succeeded under its own baseline and guardrails.
  • Retired: new evidence, architecture, or constraints invalidate the safe reuse claim.

This state machine separates publication from authority. A candidate can be discoverable without being treated as an approved default. Validation increases the strength of the reuse claim; it does not erase the original scope.

“Independent” also needs a practical definition. It need not mean a different company. It can mean a different service, maintainer, dependency boundary, dataset, or operating profile—provided the replay is not merely the same change rerun against the same conditions.

Negative transfer is part of the artifact

Most pattern catalogs explain where a technique worked. Few explain where applying it would be dangerous.

That omission turns a pattern into a slogan. “Add caching,” “extract a service,” and “parallelize the agents” sound reusable only because their invalid contexts are missing.

The receipt should therefore require at least one falsifier or exclusion rule. Examples:

  • retire or narrow a batching pattern when tail latency violates the declared performance guardrail;
  • reject a shared-module extraction when it increases coordinated change surface;
  • block an automated refactor pattern when the invariant catalog cannot represent the affected behavior;
  • keep a prompt-compaction technique local when the evaluation cannot detect lost instructions.

A useful Pattern Library should make refusal easier, not only adoption faster.

The gate for learning closure

IOSM defines learning closure as mandatory, but not every successful cycle deserves a Pattern Library entry. The learning gate can remain deterministic:

if outcome is not supported by sufficient evidence:
    record no_learning_delta or an observation
elif mechanism cannot be separated from local implementation:
    write a Decision Log entry
elif preconditions or rollback trigger are unknown:
    keep the pattern observed
else:
    issue a candidate promotion receipt

This prevents two symmetrical mistakes. The first is throwing away useful knowledge because it is not universal. The second is promoting every green build into organizational doctrine.

The Decision Log, Cycle Report, and Pattern Library then have clean boundaries:

  • Cycle Report: what happened and what the evidence supports;
  • Decision Log: why this trade-off was accepted here;
  • Pattern Library: what may be attempted again, under which constraints;
  • promotion receipt: why the reuse status is justified now.

That boundary also complements phase handoff manifests. A handoff transfers obligations inside one cycle. Pattern promotion transfers a bounded learning claim between cycles.

Keep the pattern attached to fresh evidence

A validated pattern is not timeless. Contracts change. Workloads move. Toolchains evolve. Invariants become stricter.

For that reason, the receipt should carry review triggers, not merely a creation date. The same principle behind fresh evidence as an IOSM quality gate applies to reuse: evidence age should reduce authority when the environment has materially changed.

Reopening is not failure. As I argued in AI decisions need reopening triggers, a durable decision needs conditions under which it becomes questionable again. Pattern entries need the same property. A Pattern Library without retirement semantics accumulates confidence after its evidence has expired.

What this mechanism does not prove

This article proposes an admission protocol derived from the current IOSM specification and its required learning artifacts. It does not report a benchmark, broad adoption, or an independent production implementation. The exact threshold for validated should depend on criticality and the cost of negative transfer. A safety-sensitive system may require multiple independent replays and human approval; an exploratory tool may keep candidates explicitly provisional.

The important part is not the number of replays. It is that reuse authority must be proportionate to evidence.

Close the loop without creating folklore

A methodology should do more than remember that something worked. It should preserve why it worked, where it may work again, and what would make that belief false.

That is the real purpose of learning closure. Not a longer wiki. Not a folder of celebrated diffs. A governed path from local outcome to reusable engineering knowledge.

In IOSM, a passing cycle ends execution. A pattern-promotion receipt begins disciplined reuse.

Sources and scope

For the complementary part of this workflow, see How to Close an IOSM Cycle with Durable Learning.

FACET AI CLI Terminal
facet@ai:~$