$ fssg build --deterministic --validate |

Turn a GitHub Issue into an IOSM Cycle

IOSM

A GitHub issue is a request. An IOSM cycle is a testable engineering claim. Treating them as the same object is how a backlog item quietly becomes permission to change anything.

I prefer a stricter bridge: the issue captures intent and ownership; the IOSM Hypothesis Card defines the bounded experiment; the pull request carries implementation evidence; the Cycle Report decides what was actually learned. Each artifact has one job.

The four-artifact chain

The minimal chain is:

GitHub issue
    ↓ intent, owner, acceptance boundary
IOSM Hypothesis Card
    ↓ expected metric change, guardrails, falsifier
Pull request
    ↓ code diff, tests, measurements, review
IOSM Cycle Report
    ↓ accepted, rejected, partial, or unknown outcome

This is not extra paperwork around the code. It prevents four different questions from collapsing into one comment thread:

  1. Why should we do this?
  2. What outcome do we expect?
  3. What changed?
  4. Did the evidence support the expectation?

IOSM already defines machine-readable hypothesis and cycle-report artifacts. GitHub provides issue forms and pull-request templates for standardizing repository input. The useful integration is not to duplicate every field everywhere, but to bind the records with stable identifiers.

Step 1: keep the issue focused on intent

A useful issue needs enough structure to reject an unbounded task before an agent or developer starts editing:

name: IOSM improvement proposal
description: Propose one bounded engineering improvement
body:
  - type: input
    id: subsystem
    attributes:
      label: Subsystem
    validations:
      required: true
  - type: textarea
    id: problem
    attributes:
      label: Observed problem
      description: State the evidence or reproducible symptom.
    validations:
      required: true
  - type: textarea
    id: boundary
    attributes:
      label: Out of scope
    validations:
      required: true
  - type: input
    id: owner
    attributes:
      label: Decision owner
    validations:
      required: true

Do not ask the issue author to invent a success percentage before a baseline exists. The issue should state the observed problem and the delivery boundary. Measurement semantics belong in the Hypothesis Card after the repository has been inspected.

Step 2: mint a hypothesis identity

After triage, create the IOSM artifact in the repository—for example:

.iosm/cycles/2026-11-21-auth-cache/hypotheses/H-001.yaml

The exact schema must follow the current IOSM specification, but the operational fields should answer these questions:

id: H-001
source_issue: 418
scope: services/auth-cache
claim: Removing duplicate key normalization will reduce lookup-path complexity.
expected_effect:
  metric: simplicity
  direction: increase
guardrails:
  - cache hit behavior remains unchanged
  - public API remains compatible
validation:
  - npm test -- auth-cache
  - npm run benchmark -- auth-cache
stop_conditions:
  - behavioral regression
  - benchmark environment is not comparable

The important move is the identity boundary. issue #418 is not the hypothesis ID. One issue may yield several hypotheses, and a hypothesis may be rejected without closing the underlying product need.

Link both ways:

  • the issue records Hypothesis: H-001 and its repository path;
  • the Hypothesis Card records source_issue: 418.

Now an automation tool can follow the chain without parsing prose.

Step 3: make the pull request an evidence carrier

A pull-request template should not repeat the entire issue or Hypothesis Card. It should identify what changed and where the evidence lives:

## IOSM linkage

- Issue: #418
- Hypothesis: H-001
- Cycle: 2026-11-21-auth-cache
- Phase: Improve

## Evidence

- Tests: `artifacts/test-results.json`
- Measurement: `.iosm/cycles/2026-11-21-auth-cache/phase-reports/improve.json`
- Invariants checked: `auth-cache-compat`, `cache-hit-equivalence`

## Outcome boundary

- [ ] No claim beyond the measured subsystem
- [ ] Guardrails passed
- [ ] Unknown or missing measurements are marked unknown

The PR is a review surface, not the evidence database. Test logs, measurements, and phase reports should remain addressable artifacts. A green check proves that a command passed under a particular configuration; it does not prove the whole hypothesis.

This distinction also keeps review honest. A reviewer can approve the implementation quality while the eventual cycle result remains partial or rejected.

Step 4: close the cycle separately from merging

Merge state and hypothesis state are different dimensions.

A change may merge because it fixes a defect even when the expected performance improvement is not demonstrated. Conversely, an experiment may support a hypothesis but remain unmerged because product ownership rejects the trade-off.

The Cycle Report should therefore record at least:

{
  "cycle_id": "2026-11-21-auth-cache",
  "source_issue": 418,
  "hypotheses": ["H-001"],
  "pull_requests": [421],
  "outcome": "partial",
  "verified": ["behavioral equivalence", "lower branch count"],
  "unknown": ["production latency impact"],
  "next_action": "collect comparable latency evidence before Optimize"
}

The repository's IOSM schema remains the source of truth for the real artifact. This compact example shows the separation I care about: what changed, what was verified, and what remains unknown.

Automation without false authority

Once identifiers are stable, CI can validate the chain mechanically:

issue exists
→ hypothesis file exists and validates
→ PR references the hypothesis
→ referenced evidence paths exist
→ cycle report references the PR

CI can reject missing links, malformed artifacts, or absent required fields. It should not infer that a hypothesis succeeded merely because every file exists. Artifact presence is a consistency check; engineering truth still depends on the measurements and boundary conditions inside those artifacts.

For the broader runtime model, see IOSM CLI as an engineering runtime. For the artifact-validation layer, continue with How to Validate IOSM Artifacts in CI. If you are introducing the method into a mature codebase, start with How to Introduce IOSM CLI into an Existing Repository.

The practical rule

I use one rule to keep this integration clean:

GitHub coordinates people and changes. IOSM coordinates claims and evidence.

The systems can link tightly without pretending they are interchangeable. An issue opens the work. A hypothesis makes it falsifiable. A pull request exposes the implementation. A cycle report preserves the result—including the uncomfortable result that the code changed but the expected improvement was not proved.

Sources

FACET AI CLI Terminal
facet@ai:~$