v0.5.0
samospec v0.5.0 — architecture diagrams, progress heartbeat, CI-driven npm publish
First release published by the new .github/workflows/publish.yml workflow. Ships with the Apache-2.0 license correctly set on the npm tarball (v0.4.1 was manually published and shows UNLICENSED due to tag-order race — fixed in this release).
Added
- Architecture schema + ASCII diagram (#107 / #109) — every spec ships a Zod-validated
.samo/spec/<slug>/architecture.jsonand an auto-rendered ASCII diagram embedded into SPEC.md between<!-- architecture:begin -->/<!-- architecture:end -->sentinels. Deterministic renderer, 80-col hard cap, ~40-line soft cap with sibling-group collapsing. - Progress + heartbeat during
iterate(#101 / #104) — per-phase start/complete + ~30s heartbeat per active child on stderr. Stdout unchanged. New--quietto suppress. - npm publish workflow (#108) —
release.published(or manualworkflow_dispatch) → verify tag matchespackage.json→ lint/format/typecheck/test gate →npm publish --access public.
Fixed
- state.json bookkeeping (#102 / #105) — every terminal path now opens a
spec(<slug>): finalize round Ncommit;state.head_shapopulated;state.updated_attracks wall-clock. - Real round.json timestamps (#100 / #103) —
started_at/completed_atcaptured at round boundaries, not invocation time. - Auto-commit initial draft on
samospec new(#94 / #99) — the v0.1 draft now always commits, so the immediately-followingiterateno longer trips the uncommitted-edits guard. - Unified next-action across
status/tldr/iterate(#96 / #98) — singlecomputeNextAction(state)helper. - Substitute finding IDs in
decisions.md(#95 / #97) — no more{{finding_id}}placeholders in committed files.
Changed
- License → Apache-2.0 (#106) — verbatim
LICENSEtext + README refresh with live demo link, panel-architecture ASCII diagram, safety-model section, badges.
Known limitations
- Architecture schema shipped, but the lead adapter does not yet populate
architecture.json. All specs render(architecture not yet specified)until lead-prompt enrichment lands.
Copyright 2026 Nikolay Samokhvalov. Apache-2.0.