$ fssg build --deterministic --validate |

How to Close an IOSM Cycle with Durable Learning

IOSM

Finishing the code is not the same as finishing the engineering cycle. I consider an IOSM cycle closed only when the system preserves what the work taught us—or records, explicitly, that it taught us nothing reusable.

That last step looks small. It is not. Without it, teams repeat investigations, revive rejected options, and turn hard-won context back into oral history. The repository improves while the engineering organization forgets why.

IOSM v1.0 calls this learning closure. The specification requires every cycle to update—or explicitly decline to update—the glossary, Decision Log, Pattern Library, anti-pattern catalog, and threshold recommendations. My practical interpretation is simple: the cycle report needs a machine-readable learning delta before its final decision can become authoritative.

The cycle needs a fifth kind of result

Engineers usually preserve four outputs:

  1. the changed code;
  2. test and gate results;
  3. metric deltas;
  4. the final continue, stop, or fail decision.

Those outputs prove what happened in one cycle. They do not preserve what should influence the next one.

A learning artifact has a different job. It changes future engineering behavior. It may define a term, preserve a trade-off, identify a reusable practice, record a failed approach, or recommend a tighter threshold. If none of those changed, no_learning_delta is still a real result—but it must carry a reason.

I would model the closure as a small ledger:

{
  "cycle_id": "iosm-2026-07-20-001",
  "source_hypotheses": ["hyp-cache-boundary-01"],
  "updates": {
    "glossary": [],
    "decisions": ["dec-keep-public-cache-contract"],
    "patterns": [],
    "anti_patterns": ["anti-cache-key-without-tenant"],
    "threshold_recommendations": []
  },
  "no_learning_delta": false,
  "evidence": ["phase-optimize.json", "gate-o.json"],
  "approved_by": "reviewer-id",
  "reopen_triggers": ["cache contract changes", "tenant model changes"]
}

This is not a new IOSM normative artifact. It is an implementation shape for satisfying the specification’s learning-closure requirement without hiding it in prose.

Route each lesson to one durable home

The useful distinction is not “important versus unimportant.” It is what future decision this lesson should change.

Observation Durable home Future effect
A term was ambiguous Glossary delta Future hypotheses use one meaning
A trade-off was accepted or an option rejected Decision Log The choice is not reopened without new evidence
A successful move is reusable under known preconditions Pattern Library Another cycle may evaluate it as a candidate
A move failed or created hidden risk Anti-pattern catalog Planning and gates can detect recurrence
Stable evidence supports a stricter limit Threshold recommendation A human can review monotonic tightening

This routing prevents a common failure: promoting every successful local fix into a “best practice.” A cycle may produce a valid decision without producing a reusable pattern. I separated that distinction in how IOSM promotes a successful change into a reusable pattern. Learning closure is broader: it must also preserve negative knowledge, vocabulary changes, and deliberate non-promotion.

The same rule protects the Decision Log. A decision entry should not say only “we chose option A.” It should link the hypothesis, alternatives, evidence, approval path, and boundary conditions. Otherwise it is a timestamped opinion, not governance memory.

no_learning_delta must be falsifiable

An empty learning section is ambiguous. It may mean that nothing changed, that the review was skipped, or that the report generator forgot a field. Those states must not collapse into one another.

A justified no-change record should answer three questions:

  • Which learning destinations were reviewed?
  • Why did the cycle add no durable knowledge?
  • What future evidence would reopen that conclusion?
no_learning_delta:
  reviewed:
    - glossary
    - decision_log
    - pattern_library
    - anti_pattern_catalog
    - thresholds
  reason: "Cycle reproduced an established pattern within its existing preconditions."
  existing_reference: "pattern-cache-boundary-v2"
  reopen_trigger: "Observed behavior falls outside the recorded preconditions."

Now absence is inspectable. A validator can reject a report that has neither updates nor a justified no-change object. More importantly, a reviewer can challenge the reason.

This follows the same epistemic rule as why a missing IOSM metric must block the score: missing is not neutral. In a metric vector, missing data cannot become zero. In a learning ledger, missing review cannot become “nothing to learn.”

Closure needs provenance and authority

AI agents make this boundary more important. An implementer can propose a glossary entry or pattern candidate, but the proposal must remain linked to the cycle evidence and the actor that produced it. High-impact changes—threshold relaxation, public contract changes, waivers—already require human authority under IOSM. Learning artifacts should preserve the same approval path when they influence future automated work.

I use four checks:

source     → Which hypothesis, phase, and evidence produced this lesson?
scope      → Where is the lesson valid, and where is it not?
authority  → Who may accept, reject, or supersede it?
reopen     → What observation makes us reconsider it?

The reopen field is the one most teams omit. Without it, decisions and patterns calcify. With it, durable knowledge remains revisable without becoming disposable.

This also complements phase handoff manifests. A handoff transfers active obligations to the next phase. Learning closure transfers validated knowledge to future cycles. One preserves continuity inside a cycle; the other preserves continuity across cycles.

A deterministic closure gate

I would place a final closure gate after scoring and before the cycle decision is committed:

SCORE
  ↓
BUILD_LEARNING_DELTA
  ↓
VALIDATE_REFERENCES
  ↓
APPROVE_GOVERNED_UPDATES
  ↓
PERSIST_ATOMICALLY
  ↓
DECIDE: CONTINUE | STOP | FAIL

The validator can remain narrow:

pass if:
  every update has source evidence and scope
  every governed update has the required approval
  every reference resolves
  updates exist OR no_learning_delta is justified
  persistence succeeds atomically

It should not attempt to prove that a lesson is eternally true. It should prove that the cycle made an explicit, attributable, reviewable claim about what was learned.

There is also an operational boundary: closing the ledger does not prove that the chosen practice works everywhere, and it does not justify benchmark, adoption, or production-readiness claims. It preserves repository-grounded reasoning from one bounded cycle. Broader authority requires later evidence.

Engineering should accumulate memory, not just diffs

A source-control history tells me what changed. A cycle report tells me whether the change passed. A learning ledger tells the next engineer what should be remembered—and what must remain open.

That is the concrete value of learning closure. It turns continuous improvement from repeated motion into cumulative engineering knowledge. The cycle does not end when the agent stops or the pull request merges. It ends when the system can explain what the next cycle is allowed to assume.

Sources

FACET AI CLI Terminal
facet@ai:~$