Pranav

Writing

Why I write the reason next to the decision.

How the ELITS ablation table and AutoPilot’s journal keep the reason next to the decision.

Type
Notes
Year
2026

If the reason for a choice isn’t written next to it, nobody can check the result later, me included. Two things I worked on keep the reason next to the choice: a paper and a tool.

A design choice and its evidence

In ELITS we cut a time series into patches along its channels, not only along time. Channel order carries no meaning, so it was not obvious that this would work. The paper keeps each design choice next to its evidence, in the ablation table.

Four rows of the ELITS ablation, in words
Table
ChangeWhat the ablation showed
Turn off channel patchingAbout 2% lower error, at 8 to 14 times the parameters.
Shuffle the channel orderNo substantial effect.
Turn off channel mixingA significant drop in performance.
Remove the head mixerA drastic drop on every dataset.

Anyone reading the paper can see why channel patching stayed, because what removing it would buy and what it would cost sit in the same row.

A decision record
Record
Decision
Keep channel patching in ELITS.
Evidence
The first row of the ablation table above.
Note
The ETT datasets have only seven channels, so they use a single channel patch.

A tool that asks for the reason

AutoPilot applies the same idea to changes an agent makes. Every command that changes state needs a reason, given with --context, and the reason is written to an append-only journal for the experiment, next to the decision it explains. The policy gates and the optimizer add their own entries, so the journal records why each epoch was accepted, rejected or rolled back.

Reading the journal, from the AutoPilot README
Shell
uv run autopilot experiment show exp-1 --context-log

The callback that writes each entry into the experiment's context log is short.

context.py
Python
  def on_context_emit(self, trainer: Any, module: Any, entry: Any) -> None:    """Record entry to experiment context log if accepted.     Silently no-ops when ``trainer.experiment`` is None (no experiment    active). Other callbacks still receive the entry for monitoring.     Args:      trainer: The active Trainer instance.      module: The module being trained.      entry: The ContextEntry emitted by Trainer.emit_context().    """    if trainer.experiment is not None and self.should_record(entry):      trainer.experiment.context_log.record(entry)
pranftw/autopilot at 78e0c54, src/autopilot/core/callbacks/context.py, lines 52 to 64Source
Fig. 1The callback that records context entries in AutoPilot, read from the repository at a pinned commit.

Why it matters for agents

When a result changes, I want to tell whether retrieval, reasoning or the environment caused it, and I can only do that if the evidence sits beside the decision it supports.

So I keep the reason next to the decision, and drop context that cannot change what the agent does.

The loop that would use these records is in my post on the harness, and the question behind it is in my research statement.