Changelog¶
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[Unreleased]¶
[0.2.0] - 2026-11-27¶
Removed¶
- Breaking: Remove the top-level
hiraku statuscommand. - Breaking: Use
hiraku dashboard serveto open the dashboard andhiraku dashboard createto copy the bundled dashboard tohiraku/dashboards/dashboard.py.
Changed¶
- Keep PSI/J launcher files and default detached job data in the project's
.hiraku/psij/directory. Breaking:run_local()requires a project and always records submission history. Breaking: Submission history requiresexecutor_work_directoryalongside the executor name and URL to reconstruct the executor's auxiliary storage. - Breaking: Move
hiraku runstohiraku leaderboard runs. - Breaking: Commands receive
HIRAKU_RECORD_IDandHIRAKU_JOB_ID; tracking code logs both directly on runs. Leaderboards query source attribution without local job history. Git environment variables are no longer injected; records and tracking runs retain user-managed code provenance. Tracking destinations remain user-managed. -
Breaking: Replace record entrypoints and
hiraku launchwithhiraku run --record ID -- COMMAND [ARGS...]. Removeentrypoints,default_dispatch, and--dispatch; invoke project scripts directly (issue #90, PR #112). -
MLflow leaderboards use standard tracking URI and experiment environment variables when explicit settings are absent, preserving existing defaults.
-
Named leaderboards in
hiraku/leaderboards/<name>.ymldefine sources and optional metrics, withhiraku leaderboardcommands for managing definitions. - Run queries list attributed runs by default;
--include-unattributedincludes all source runs.--leaderboardselects a definition and--recordfilters attribution. Parameters are discovered automatically. -
Training code or its environment configures logging destinations.
-
Render human-readable CLI tables with Rich; JSON output remains available for programmatic use (PR #112).
- Add
hiraku dashboard --watchto reload the read-only notebook when it changes. - Separate dashboard performance and trade-off plots into independently placeable components and named cells with their own controls, removing the analysis mode selector.
- Exclude generated Marimo and Studio session/build caches from distribution archives.
- Extract reusable dashboard widgets and rendering into
hiraku.dashboard.components, keeping notebook cells focused on data and reactive selection wiring. - Move dashboard branding and layout into the Studio HTML, CSS, and assets, leaving notebook cells for data and interactive outputs.
hiraku dashboardautomatically selects a free port when--portis omitted, in both view and edit modes.- The dashboard is served through a marimo-studio view with the same layout, and
hiraku dashboard --editopens the copy in marimo-studio.--initalso copies the view tohiraku/dashboard/studio/. Thedashboardextra now installsmarimo-studio. - Breaking:
hiraku initinitializes a project independently of Git. Add--gitto initialize the code repository explicitly. - Breaking:
hiraku example create NAME [PATH]copies a bundled example into./NAMEby default without Git history or network access. Use--with-resultsto include bundled research records and tracked runs.hiraku init [PATH]targets the current or explicit directory, and repeating plain initialization leaves the project unchanged (issue #104). - Breaking: Store all research material as
Recordobjects underhiraku/records/; usetype: contextfor supporting context. Removehiraku.context,Context, thehiraku contextCLI group, context-specific MCP tools and resources, and the separatehiraku/contexts/directory (issue #133).
Added¶
- Document submitting Slurm jobs through PSI/J's native
slurmexecutor, including scheduler options passed withslurm.*custom attributes. - Add native PSI/J execution with
prepare_job()for research attribution,run_local()for foreground output, CLIhiraku job submit/list/status, and MCPjob_submit/job_list/job_status. Project history stores serialized PSI/J specifications, executor targets, and native IDs under the original PSI/J job ID. Executors own execution and status;Submissionexplicitly converts, attaches, syncs, and saves metadata. Status queries refresh through PSI/J without waiting for completion. Lists refresh nonfinal jobs and retain saved final outcomes. Failed list observations returnUNKNOWNwith an error while preserving history.observed_atrecords when a snapshot was captured. - Add
--launcher NAMEtohiraku runandhiraku job submit, with an equivalent MCPjob_submitparameter. Registered PSI/J launcher names pass directly into the native job specification and submission history. - Add CLI
--custom-attribute KEY VALUEand MCPcustom_attributesfor executor-specific PSI/J custom attributes. -
Add the
local-detachedPSI/J executor with durable results and output, including final-status retrieval after the submitting process exits. The executor starts a detached Python supervisor to run the selected PSI/J launcher and save its outcome; attachments use per-job observers. Add arenkuexecutor using the Renku data services API, OAuth2 device login, existing session launchers, final-state observation, and cancellation through session hibernation. Renku process exit codes are unavailable; logs and control remain with Renku. Foregroundhiraku runstreams output through temporary files and returns the process exit code. -
Add
hiraku example listto list bundled examples with their descriptions. - Register project-local MCP servers during
hiraku init, usinguv run hirakuwhen the project containsuv.lock, otherwisehiraku. Install bundled skills under.agents/skillsand.claude/skillswithout adding client hooks. - Add
Run.duration, a run's wall-clock length in seconds. The CSV backend reads an optionaldurationcolumn, MLflow uses the run's end minus start time, and W&B its_runtimesummary.hiraku leaderboard runsshows it, and the dashboard adds a Duration column, run detail and plot tooltip next to the start time. - Add optional, collapsible dashboard record navigation sharing selection with the run table and highlighting a selected run's owning record.
- Add a dashboard Markdown viewer for records with expandable front matter, and show the selected record's Markdown or a selected run's owning record in the dashboard.
- Add optional dashboard Markdown editing with explicit Save/Cancel, session-local drafts, and detection of external record changes before saving.
- Add
Record.save_markdown()for saving a replacement body with metadata preserved and checking for external changes, independent of dashboard dependencies. - Add the local stdio MCP server (
hiraku mcp) with record CRUD, attributed launches, run queries, source resources, and an evidence-based proposal prompt;hiraku initregisters it for Claude Code and Codex (issue #80). - Add project-defined LangGraph workflows under
hiraku/workflows/<id>/, with aworkflow.pygraph and optionalworkflow.mdinstructions. Import APIs fromhiraku.workflows.langgraph. - Persist workflow state through LangGraph's SQLite checkpointer. Resume using the workflow session ID and current checkpoint ID; reject stale checkpoints and serialize resumes across local processes.
- Add
hiraku workflow list|graph|start|status|resumeand MCP workflow tools.workflow_approvalgathers approval for an interrupt before resuming it. - Add the bundled
collaborativeworkflow and the count-steps, greet, scheduler, and autoresearch example graphs. - Record bodies are
hiraku.markdown.Markdownstrings that select a section by its heading line, e.g.record.markdown.section("## Change"), including its subsections. Headings are found with a CommonMark parser (the newmarkdown-it-pydependency), so headings in code blocks, lists, and block quotes do not start sections. - Add a trade-off view for comparing two metrics across project runs in Marimo Studio and highlighting runs with strong trade-offs.
- Add
hiraku dashboard, a local read-only dashboard with a record and run tree, run details with a link to the tracking backend, and a performance plot of runs in execution order. Install it with thedashboardextra. - Add
hiraku dashboard --initto copy the dashboard notebook into the project,--editto open that copy in the marimo editor, and--include-codeto show the notebook code in the read-only dashboard. The notebook exposes runs and records, with their place in the tree, as the Arrow-backedruns_dfandrecords_dfDataFrames. - Add the MLflow
ui_urloption; MLflow runs now link to the MLflow web UI, also whentracking_uriis a credential-free HTTP(S) server.
Fixed¶
- The dashboard's trade-off plot no longer fails with an internal error when a run lacks a metric (e.g. a crashed run) or a metric is an integer, as with pandas 3, where the run table's columns are Arrow-backed.
- The Heart Disease and minimal example writers and the autoresearch dispatcher now record when a run started instead of when it finished in
timestamp, which the dashboard shows as the start time, and write the newdurationcolumn. Breaking: their CSV header gainsduration, so append to a newruns.csvafter updating them. - Embed dashboard logos in the HTML entry document so Studio can build the branded view without rejecting local image references.
- Fix CLI table output crashing when there are no rows (issue #96).
- Read every page of MLflow experiments and runs; projects with more than 1,000 runs previously lost the rest.
Removed¶
- Breaking: Remove
BaseRecord; all research material usesRecord, including task, experiment, context, and literature records. - Breaking: Remove Programs and Actions, including
hiraku program,hiraku action,hiraku.agent.Program,hiraku.agent.Action, theirhiraku://programsandhiraku://actionsMCP resources, and their bundled resources. - Breaking: Remove the
default_programconfiguration key. Unknown project configuration keys are rejected. - Breaking: Remove unused
GitRepositorybranch-management methods,head,is_ancestor,parent_records, andchild_records, and the project-level branch-name template. Use Git directly for branch operations; record-localbranchmetadata is unchanged. - Breaking: Remove the
hiraku runs listsubcommand; usehiraku leaderboard runs(issue #66).
[0.1.1] - 2026-09-30¶
Added¶
- Add record trees with inherited fields and entrypoints, related-record links, and status in record listings (PR #58).
- Roll back reparenting changes when deleting old record files fails, restoring already-removed files and cleaning up new copies; report when rollback is incomplete (PR #58).
- Add project initialization from bundled templates, including the minimal and heart-disease examples (PR #35).
- Add project-local agent skill, program, action, and dispatcher resources during
hiraku init. - Add pre-commit hooks for Ruff formatting and linting (issue #18, PR #23).
- Add semantic-versioning release configuration with
bump-my-version(issue #17). - Add CI runs for pull requests and pushes to
main, plus wheel and source distribution publication from version tags (issue #42).
Changed¶
- Named leaderboards in
hiraku/leaderboards/<name>.ymldefine sources and optional metrics, withhiraku leaderboardcommands for managing definitions. - Run queries include all source runs;
--leaderboardselects a definition and--recordfilters attribution. Parameters are discovered automatically. -
Training code or its environment configures logging destinations.
-
Rename the tracked-run query command to
hiraku runs;hiraku runs listis also accepted. - Breaking: Replace separate task and experiment models and commands with the research
Recordmodel andhiraku recordcommands. Generic Markdown persistence is nowBaseRecord; task/experiment data and Python imports have no compatibility layer or migration tooling (PR #58). - Query each distinct tracking source once when listing runs across a record subtree, then filter by record attribution in the shared tracking layer (PR #58).
- Improve
hiraku initto support initializing a target directory and report paths relative to the initialized project. - Update the CLI, examples, and agent guidance for record-based workflows (PR #58).
- Update the autoresearch example to use an upstream project with a Hiraku dispatcher wrapper (PR #25), and validate required system utilities (issue #37, PR #38).
- Update version bumps to create the release commit and tag locally before pushing both from
main(issue #42). - Keep the editable package version in
uv.locksynchronized during release preparation (issue #42). - Build distributions from version tags and attach them to the GitHub Release (issue #42).
Removed¶
- Remove the standalone autoresearch example implementation in favor of the upstream-based example (PR #25).
[0.1.0] - 2026-09-10¶
Added¶
- Add the initial Hiraku CLI for managing projects, tasks, experiments, entrypoints, launches, and tracked runs.
- Add CSV, MLflow, W&B, and custom tracking-backend support.
- Add project initialization and configuration through
hiraku init. - Add structured Python APIs and generated reference documentation.
- Add the launcher command preview with
--dry-run(PR #16). - Add the Iris/W&B, MLflow, and autoresearch examples.
Changed¶
- Named leaderboards in
hiraku/leaderboards/<name>.ymldefine sources and optional metrics, withhiraku leaderboardcommands for managing definitions. - Run queries include all source runs;
--leaderboardselects a definition and--recordfilters attribution. Parameters are discovered automatically. -
Training code or its environment configures logging destinations.
-
Replace the initial proof-of-concept data model with validated Pydantic schemas and a generic tracking-backend interface.
- Expand documentation with concepts, guides, examples, and custom-backend instructions.
Removed¶
- Remove obsolete implementation plans and draft agent documentation.