The run directory¶
Each run writes everything into its run directory, CampaignConfig.run_dir. A campaign refuses a
directory that already holds a run. Under Dragon across nodes it must be on a filesystem every node
shares.
The example mini-app's run with model servers, locally, with one population (p000) shown:
RUN/
├── campaign.json the application, its knobs, the campaign's configuration
├── summary.json the run's summary (autonmi.assemble)
├── launcher/ the mini-app engine's RHAPSODY checkpoint, and the run's MiniApp
│ ├── <session>.telemetry.jsonl
│ ├── <session>.parts/ each population's part, as it reported
│ ├── <session>.wfminiapi.manifest.json
│ └── <session>.wfminiapi.report.json the run's report: parts, components, checks
├── populations/
│ └── p000/
│ ├── population.json the population's stats
│ ├── rhapsody/ its engine's RHAPSODY checkpoint, and its MiniApp report
│ └── <session>/ AsyncFlow's working files
├── app/
│ ├── agents-p000.jsonl one row per agent of population p000
│ └── checks.json the application's checks and the campaign's
├── otel/ Flowgentic's export: metrics.jsonl, spans.jsonl
├── services/ the MCP servers' logs; each tool service's stats and call times
└── vllm/vllm.json the model servers' counters over the run, with model servers only
Under Dragon, Flowgentic's export is one directory per population, otel/p000/, and the assembly
merges them.
Files written only when something goes wrong¶
| File | When |
|---|---|
app/failure.json |
a population failed, or the run outlasted timeout_s: which failed, which were cancelled, timed out, or still running after the grace |
campaign-stacks.txt |
the run outlasted timeout_s: every thread's stack in the mini-app's process |
app/workflow-error.txt |
the example mini-app's workflow raised: the traceback, written before the teardown |
launcher-stacks.txt |
the example mini-app, with AUTONMI_STACKS set |
populations/p000/stacks.txt |
a population under Dragon, with AUTONMI_STACKS set |
The report's verifiers¶
The run's manifest and report name the verifiers it ran by import path, such as
autonmi.assemble:verify_rows, and python -m wfMiniAPI.verify RUN/launcher imports them from the
manifest to verify the run again offline, on its own files. AUTONMI keeps their names and signatures,
and keeps them reading the files earlier runs wrote, so that a run recorded with an earlier release
still verifies.
summary.json¶
autonmi.assemble writes it from the report and the run's files, and checks nothing again.
python -m autonmi.assemble RUN writes it again.
| Key | What it holds |
|---|---|
application, populations, nodes |
what ran, and where |
agents, agents_by_end |
the agents, and how they ended: finished, done without a result, failed, cancelled, interrupted |
simulations, model_calls |
the tasks the populations' engines completed, from their checkpoints (for a population without RHAPSODY's telemetry, its rows' tasks_ok); the model calls in the rows |
simulations_span_s, simulations_per_s, model_calls_per_s |
over the span from the first event in the populations' RHAPSODY checkpoints to the last completed task |
agent_seconds_by_state, agent_states_over_time |
from Flowgentic's export: agents working, waiting and making model requests |
flowgentic_export, model_servers |
the counts the export's and the servers' verifiers found |
per_population |
each population's node, the nodes its workers could use, whether its telemetry is complete, its tasks, and its simulations as the engine and the application counted them; for a population without RHAPSODY's telemetry, rhapsody_telemetry: false and the task counts its rows recorded |
checks |
every check, with ok and its detail; the first is telemetry_complete, with the report's reasons |
exit_hint, ok |
the report's exit hint (0 when the telemetry is complete and every check passes, 3 when the telemetry is incomplete or the run has not exactly one report, 4 when a check failed), and whether it is 0 |
A row¶
Each line of app/agents-p<index>.jsonl is one agent: the application's fields (agent_id,
finished, optionally simulations, and its own), then AUTONMI's: status, error, t_start,
t_end, suspensions, model_calls, model_wait_s, model_service_s, tasks_ok,
tasks_failed, tasks_cancelled, tasks_refused. See Agent definitions.