$ fssg build --deterministic --validate |

What IOSM CLI Creates in a Disposable Repository

IOSM

The fastest way to misunderstand IOSM is to start with a large repository and trust every generated number. I prefer the opposite: run the tooling on a disposable project, inspect every artifact, and decide which parts deserve authority.

I did that with IOSM CLI 0.3.13 at commit 6cb971c. The fixture contained one Node.js function, one test, a package.json, and a Git repository. No model was called. The purpose was not to prove that IOSM improves software. It was to answer a narrower question: what does the smallest deterministic IOSM setup actually create?

The fixture

The entire source under test was deliberately boring:

export function normalizeKey(value) {
  return String(value).trim().toLowerCase().replace(/\s+/g, "-");
}

One node:test case checked whitespace and case normalization. I initialized Git, committed the files, then ran:

node dist/cli.js init . --no-agent-verify
node dist/cli.js cycle plan \
  --id normalize-key-cycle \
  "Remove duplicate normalization paths"

--no-agent-verify matters. It keeps the experiment on the deterministic side of the boundary: repository scanning, heuristic metric generation, configuration scaffolding, and artifact creation. It does not ask a model to interpret the codebase.

On this machine, initialization completed in about 5.4 seconds and explicit cycle planning in about 4.1 seconds. These timings are observations from one run, not performance claims. The useful result is the artifact graph, not the stopwatch.

init creates a workspace and a seeded cycle

The command analyzed four files: two source files, one test file, and no documentation files. It then created the project-level control surface:

iosm.yaml
IOSM.md
AGENTS.md
.iosm/
├── contracts.yaml
├── invariants.yaml
├── waivers.yaml
├── metrics-history.jsonl
├── decision-log.md
├── pattern-library.md
└── cycles/

It also seeded a dated cycle with a baseline report, hypotheses, four phase reports, and a cycle report.

This is the first useful distinction. iosm init does not merely add configuration. It creates three kinds of state:

  1. Policy — thresholds, approvals, contracts, invariants, and waivers.
  2. History — metric snapshots, decisions, and reusable patterns.
  3. Execution records — one directory per cycle with hypotheses, phase reports, and a final report.

That separation is why I treat the IOSM CLI runtime as more than a prompt wrapper. The methodology becomes inspectable because its state exists outside the conversation.

The first numbers are hypotheses, not truth

Without agent verification, the initializer reported heuristic values for semantic quality, logic, performance, simplicity, modularity, and flow. It produced an aggregate IOSM index of 0.693 with confidence 0.598.

Those decimals look precise. Their authority is not.

The fixture had no real latency measurements, deployment history, code-review data, production errors, or domain glossary. A scanner can observe file structure and available signals; it cannot infer operational reality from a four-file repository. The generated baseline is therefore useful as a map of missing evidence, not as a verdict on system quality.

This is the practical rule I would attach to every fresh workspace:

heuristic metric → investigation target
measured metric  → decision evidence

For example, the initializer ranked flow as the weakest area and suggested establishing VCS and CI/CD signals. Git already existed, but the fixture had no CI or release history. The recommendation correctly exposed an evidence gap; the numeric score did not prove poor delivery flow.

This is also why the first cycle should not chase the aggregate index. Start with one claim that can be falsified. My earlier guide on running a first IOSM cycle without fake metrics covers that boundary in more detail.

An explicit plan creates a second, named experiment

The second command created .iosm/cycles/normalize-key-cycle/ with:

baseline-report.json
hypotheses.json
cycle-report.json
phase-reports/
├── improve.json
├── optimize.json
├── shrink.json
└── modularize.json

The important detail is that the named cycle did not overwrite the seeded initialization cycle. Bootstrap state and an operator-defined experiment remained separate.

That gives the repository a stable unit of review. A pull request can point to normalize-key-cycle, a reviewer can inspect its hypothesis, and later measurements can update its reports without rewriting the initialization record. If the work originated in a ticket, the GitHub issue-to-IOSM cycle chain can bind the issue, hypothesis, pull request, and outcome without collapsing them into one object.

The smallest useful workflow

After this experiment, I would not begin by enabling every IOSM feature. I would use this sequence:

1. Initialize without agent verification.
2. Read iosm.yaml and remove thresholds the repository cannot measure.
3. Replace one heuristic with a real command or dataset.
4. Plan one named cycle around that evidence.
5. Define a stop condition before changing code.
6. Run the relevant gate and preserve failed attempts.
7. Close the cycle as accepted, rejected, partial, or unknown.

For the normalization example, a defensible first hypothesis might be:

claim: One normalization function can replace duplicate call-site logic.
falsifier: Any caller requires behavior that the shared function cannot preserve.
verification:
  - node --test
  - enumerate all normalization call sites
  - compare input/output fixtures before and after

This is intentionally smaller than “improve simplicity.” It names the proposed mechanism, the evidence, and the condition that should stop the change.

What the experiment does not prove

This run proves that IOSM CLI can initialize the fixture and create a named cycle with inspectable artifacts at the pinned commit. It does not prove that the generated metrics match human judgment, that a full autonomous cycle will improve the repository, or that the same timings apply elsewhere.

The experiment is reproducible with the fixture shape and commands above, but the repository scanner may produce different values when the code, environment, or IOSM CLI version changes. That is expected. A baseline should be versioned evidence, not a universal score.

Start by reducing authority

The practical value of iosm init is not that it immediately knows the project. It gives the project a place to state what must be measured, what may change, what needs approval, and what happened in each attempt.

I would start with verification disabled, inspect the files, and earn automation one artifact at a time. The first IOSM cycle should not demonstrate autonomy. It should demonstrate that another engineer can see the claim, run the check, reject the result, and understand why.

That is enough for a useful beginning.

Sources

FACET AI CLI Terminal
facet@ai:~$