Repository navigation
Releases
Releases · hazeliscoding/axiomarium
v0.5.0
Axiomarium 0.5: Evals. Measure what an asset does once it's active, on the real Claude Code and Codex in a sealed home, and whether a change made it better.
Try it
- Run
axm eval run <asset>to run its eval cases on Claude Code and Codex. - Change the asset, then run
axm eval compare <asset>to see the change side by side with its last commit. - Run
axm conflicts <path> --judgeto find instructions that contradict each other.
What's new
- Eval cases: each is a folder under
evals/behavioral/orevals/regression/with aneval.yaml(the prompt, the commands the session may run, the checks and an optional judge's rubric) and arepo/to start from, described byschemas/eval.schema.json. A check isfile,run,loaded,ranorreply,not: trueturns it around, and a regression case names the failure it guards inguards. axm eval run [<asset>...]: each session runs in a sealed home with only your logins and chosen model, in its own git copy of the case's repo with the asset installed. It reports passed runs, each failed check, and the median and range of tokens, time and tool calls, plus turns and cost on Claude Code.--jsonprints shape 1, and results are saved in.axm/evals/.axm eval compare <asset>: runs the cases on a baseline (the asset's files at a git ref, or--baseline none) and on the working tree, alternating sessions, and shows each case side by side. A saved baseline that still matches is reused unless--fresh.--jsonprints shape 1.- Judged rubrics: a model grades a case's
judge.rubricfor each finished run, from the prompt, the commands, the git diff and the final message, through Claude Code unless--judge-with codex. Its verdicts are shown as model judgment; only the checks decide a run. axm conflicts <path> --judge: a model finds instructions that contradict each other, through Claude Code or--judge-with codex. Only contradictions whose two passages it quotes from the files are kept, each with itsfile:line, and the rest are dropped and counted.- Starter assets have evals: the four starter assets set
evals.behavioral: true, with three cases for theagent-asset-authoringskill and one each for thescope-sheriffandsession-doctorhooks and thedeterminism-auditoragent. agent-asset-authoring0.2.0: names the tool that should enforce a rule, such as a pre-commit hook or a CI check, before writing anything. On Codex with gpt-6-sol, the judge passed itsprefers-toolingcase in 2 of 3 runs, where 0.1.0 passed in none.- Checked cases:
axm validateandaxm doctorcheck every case's schema, that each check is one kind with only its own fields, thatfileglobs are valid, and that the case is a kebab-case folder with itseval.yaml.
Heads-up
- Each case is a folder now: a file directly in
evals/behavioral/orevals/regression/is an error. - Codex on Windows: one unscored session starts Codex's sandbox first. Codex there can read the whole disk, so every path outside the copy that a run's commands touched is named.
v0.4.0
Axiomarium 0.4: Trigger testing. Find out whether the agent picks the right skill for a prompt, measured on the real Claude Code and Codex.
Try it
- Run
axm triggers generate <skill>and approve the prompts it writes. - Run
axm triggers test <skill>to run them on Claude Code and Codex. - Read each harness's precision and recall, and every collision, false trigger and miss.
What's new
axm triggers test [<skill>...]: runs each vault skill's trigger prompts on Claude Code and Codex, three times each by default, and reports which skill each run picked.--harness,--runsand--modelnarrow it down.- How it runs: four sessions at a time, in a throwaway copy of the repo with the vault's skills written in, on your real home, so every skill you have competes. Each session stops at its first action that isn't loading a skill.
- Results: precision and recall for each skill and harness, counted in runs, and every collision, false trigger and miss with a cause from the listing, never from asking the model. A skill loaded before every task is named as background, a harness that isn't installed is skipped, and sessions that gave no answer are listed but not scored.
axm triggers generate <skill>: Claude Code writes positive, paraphrased, negative, adversarial and ambiguous trigger prompts, the ambiguous ones aimed at the skills it overlaps most. You see them grouped by kind, andevals/trigger/prompts.yamlis written only after you approve, labeled with the model and date. It never editsasset.yaml.- Asks before it spends:
generaterefuses before calling the model when the file exists (unless--replace) or there's no terminal to ask in (unless--yes).--modelpicks the model. axm triggers export <skill>: prints a skill's trigger prompts for other skill-eval tools, as the skill-creator's{query, should_trigger}list or apromptfooconfig.yaml(--format skill-creator|promptfoo). It writes nothing.- Checked prompt files:
schemas/trigger-prompts.schema.jsondescribes them.axm doctorandaxm validatereport a file that doesn't match, names another skill, has ashould_triggerthat contradicts its kind, or gives a rival to a prompt that isn't ambiguous. agent-asset-authoring: has 17 reviewed trigger prompts and setsevals.trigger: true.
v0.3.0
Axiomarium 0.3: Skills and hooks. See which skills Claude Code and Codex list for the model, which hooks run, and what keeps them from reaching it.
Try it
- Run
axm explain src/app/main.csto see each harness's skills and the hooks that run for that file. - Run
axm doctorfor the new HARNESS SKILLS and HARNESS HOOKS blocks. - Run
axm triggersto find skills whose descriptions overlap.
What's new
- Skills in
axm explain: the skills each harness lists for the model, at launch or when the file is read or edited, with the rule that lists each one. A skill that's found but not listed says why, and the listing's size is shown against its budget, with what the budget assumes.--diffalso shows the skills only one harness lists. - Hooks in
axm explain: at session start, before an edit and after one, each RUNS or NOT RUN with the reason, such as anifthat doesn't match or a Codex hook that isn't trusted. - What it covers: Claude Code's managed, personal, project, nested, path-scoped, plugin and synced skills and its settings and plugin hooks, and Codex's skill roots, policies and hook trust. Confirmed against Claude Code 2.1.284 and Codex 0.156.1.
- Fallback descriptions:
explainsays when Claude Code lists a skill by its first line because it has no usable description, and why Codex can't read aSKILL.md. - JSON:
--jsongainsskills,notListed,listingandhooksfor each harness, andfallbackanddetailon skills. It's stillschemaVersion1. axm doctor: HARNESS SKILLS and HARNESS HOOKS blocks follow the instruction files and count in the summary. The repo's own skills and hooks get a row each; ones from outside the repo, such as personal and plugin skills, get one row per harness and source.- Seven findings, all warnings:
skill-name-clash,skill-description-cut,skill-listing-over-budget,skill-frontmatter-invalid,skill-paths-match-nothing,hook-never-runsandcodex-hook-untrusted, shown byexplainanddoctorand passed on bysession-doctor. Files you can't edit, such as plugin, bundled and managed ones, are left out. axm triggers: finds skills whose descriptions overlap, in the text each harness shows the model, with no model call. Overlap is shared wording, not proof the agent confuses the two, so it always exits 0.
Fixed
- Rule
paths: they match the way.gitignorelines do, as in Claude Code, so*.csmatches at any depth andapi/**matches anapifolder anywhere.explainhad said such rules don't load, andrule-matches-nothingcould report them. - Rules with broken frontmatter: they load for every file, as Claude Code's docs say, and
explainnow shows them loaded.rule-frontmatter-invalidfires only on YAML that still doesn't parse after Claude Code's own quoting, and an unclosed bracket inpathsis reported byrule-matches-nothing.
v0.2.0
Axiomarium 0.2: Instruction intelligence. See what Claude Code and Codex actually load for a file, what they silently drop, and why.
Try it
- In any repo, run
axm doctorto list each instruction file with the harnesses that load it. - Run
axm explain src/app/main.csto see what each harness loads for that file, in context order, and what it drops. - Add
--diffto see only the files one harness loads.
What's new
axm explain <path>: the instruction files Claude Code and Codex load for a file, and the ones they drop, each with the rule that decides it. Rows say whether a file loads at launch or when the file is read, whichpathsmatched, which line imported it, and whether Codex's byte budget cut it.- Options:
--harnesspicks one harness,--cwdsets the launch directory (the repo root by default),--diffshows only the files one harness loads, and--jsonprints the result withschemaVersion1. - Checked against the real thing: the models are confirmed against Claude Code 2.1.284 and Codex 0.156.1.
- Nine findings:
dead-import,import-too-deep,agents-md-hidden,rule-frontmatter-invalid,rule-matches-nothing,codex-byte-cap,codex-empty-overrideanddead-linkare warnings, andduplicate-blockis info. Each says what's wrong, why it matters and what to do, and has a page infindings/<id>/finding.md.explainstill exits 0, and its JSON lists them underfindings. axm hook session-doctor: a Claude Code SessionStart hook. Whenaxm doctorfinds a problem, it shows you a one-line summary and gives the model every problem with its fix. It says nothing when all is well, and never blocks.axiomarium.yaml: configuresaxmfor a repo, checked againstschemas/axiomarium.schema.json.doctor.ignorelists instruction files that are broken on purpose, such as test fixtures.
Heads-up
axm doctornow works in any repo: it checks the instruction files from the repo root, the nearest folder above with a.git, and still checks the vault when--rootor the repo root holds one. Findings never fail it, but a problem inaxiomarium.yamlis an error.axm validatestill checks only the vault.
v0.1.0
Axiomarium 0.1: The asset model. Agent configuration you can inspect and validate like software.
Try it
- In a vault such as this repo, run
axm listto see its assets and the harnesses each supports. - Run
axm doctorto check every asset. Each error names the file, the line, the field and the allowed values. - Put
axm validatein CI or a hook. It prints only the problems and exits 1 when it finds any.
What's new
axm doctor: finds every asset inagents/,skills/,hooks/,policies/,workflows/andexperiments/and reports its health. A broken manifest never stops the rest of the vault from being checked.axm validate: the same checks, printing only the problems and a summary line. It anddoctorrender one result, so they never disagree.axm list: the vault's assets by kind, with maturity, version and harnesses.--kindand--harnessfilter it (--harness codexis the Codex compatibility table), and an invalid asset is still listed, asINVALID.- Manifests: every asset carries one, checked against
schemas/asset.schema.json. Skills, hooks and policies add a block for their kind, with its own schema, and a block on the wrong kind is an error. Manifests are read with the YAML 1.2 core schema, soyesandonstay strings. - Content files: each asset has one named after its kind, such as
agent.mdorskill.md, and it can't be empty. Names must match exactly, including case, and a near miss such asAgent.mdgets a rename hint. - Checked references: each
enforced_bymust name an asset in the vault, and eachevals.<type>: trueneeds at least one file inevals/<type>/(hidden files such as.gitkeepdon't count). - Maturity needs evidence:
registry/maturity.yamlsays what each level promises, andaxmfails an asset that claims a level without its evidence, naming what's missing and the level it does support. Usage evidence comes from dated entries indocs/dogfooding.md. axm hook scope-sheriff: a Claude CodePostToolUsehook. When.axm/scopelists the task's globs, an edit outside them asks the agent why. It never blocks, stays silent without a scope, and exits 1, never 2, when it can't run.- For scripts: exit 0 when everything passed, 1 when errors were found, and 2 when the command couldn't run.
AXM_PLAINforces plain output, andNO_COLORturns color off. - Five starter assets, all experimental: the
determinism-auditoragent, theagent-asset-authoringskill, thescope-sheriffhook, thedeterministic-boundariespolicy, and theprompt-fossilexperiment, which is designed but not run yet.