Skip to content

Review follow-ups: tests + docs (ASH-216..219)#14

Merged
cstaszak merged 4 commits into
mainfrom
cstaszak/ash-216-219-review-followups
May 22, 2026
Merged

Review follow-ups: tests + docs (ASH-216..219)#14
cstaszak merged 4 commits into
mainfrom
cstaszak/ash-216-219-review-followups

Conversation

@cstaszak

Copy link
Copy Markdown
Contributor

The four docs/tests follow-ups from the post-public-release review. One commit per ticket; no behavior change.

  • ASH-216 — unit tests for runner, atomicwrite, session, which had no *_test.go files despite being correctness-critical. Covers runner exit-code/truncation handling, atomicwrite atomicity + mode behavior, session path resolution.
  • ASH-217 — README public-readiness: verb surface now lists all 24 verbs (was missing 8), lang reframed as shipped/LSP-backed/frozen, architecture diagram's non-existent "registered tools" box relabelled as Phase 5, "ship 14" jargon dropped.
  • ASH-218docs/README.md index, plus framing for the historical value-assessment/ snapshot and the speculative revolutionary-directions.md.
  • ASH-219 — CLAUDE.md "When to prefer ash" checklist renumbered to a contiguous 1-10, with grep/find entries restored.

🤖 Generated with Claude Code

cstaszak and others added 4 commits May 21, 2026 17:43
The "Switch criteria" checklist had lost items 1-3 and 5-6 in a past
edit, leaving a list that started at 4 and skipped 5-6 — and grep/find,
the two most-used verbs, had no entry at all.

Collapsed to a contiguous 1-10 list and restored first-class entries
for `ash grep` (1) and `ash find` (2). The remaining eight items keep
their text, renumbered 3-10.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
These three packages had no *_test.go files — the suite counted them
as passing only vacuously, despite atomicwrite (the durability
guarantee behind ash write/edit) and runner (every shelled subprocess)
being correctness-critical.

- runner: binary-not-found, success, non-zero exit (not an error),
  stderr capture, MaxStdout truncation incl. the exact-at-cap boundary.
- atomicwrite: create, replace, no leftover temp file, PreserveMode,
  the 0600-reset when PreserveMode is off, error on missing parent.
- session: Root marker discovery + no-marker fallback, SocketPath
  stability/scoping, the project path helpers, EnsureRuntimeDirs.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
docs/ had ~40 files across six subdirectories with no map — a newcomer
could not tell reference docs from measurement logs or speculative notes.

- docs/README.md — a categorized index (getting started / reference /
  design notes / measurements / generated artifacts / historical).
- docs/value-assessment/README.md — marks the directory a point-in-time
  May 2026 snapshot, not living documentation.
- docs/revolutionary-directions.md — a "speculative, not a roadmap"
  banner so a stranger does not read it as committed work.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Found in the post-public-release docs review. The README's product
summary lagged the shipped surface by ~one phase of work.

- §The verb surface: added the 8 verbs it omitted — `build`, `lang`
  (new Semantic section), `recap`, `workspace`, `replay`, `usage`,
  `turn`, and `git --op blame`. The surface now matches `ash help`.
- `lang` was described as "the forthcoming lang verb ... via
  tree-sitter" — it shipped, it is LSP-backed not tree-sitter, and it
  is in a usage-validation freeze. Corrected design principle 8 and
  reframed roadmap Phase 3 as shipped-under-evaluation.
- §Architecture diagram showed a "registered tools (cargo, npm,
  pytest)" box as a live component — tool registration is Phase 5.
  Relabelled it "tool registry (Phase 5 — not yet shipped)".
- Dropped the internal "ship 14" cadence jargon from the public
  verb-surface intro and the Phase 2 roadmap header.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@cstaszak
cstaszak merged commit d8551dd into main May 22, 2026
5 checks passed
@cstaszak
cstaszak deleted the cstaszak/ash-216-219-review-followups branch May 22, 2026 00:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant