docs(zavet): plain-prose pass on the knowledge layer - #129
Conversation
Reword only, no meaning change, across 32 decisions, 8 specs and RULES.md. Frontmatter, headings, decision ids, code identifiers, command strings and table shape are unchanged, verified mechanically. Em dashes 438 to 4, and every one left is protected: spec title frontmatter, a fenced Rust block, and glossary.md's field separator. One file also used ` -- ` as a dash substitute throughout; that is the same tell and is gone too. The id prefix split is preserved as minted. Records 1 to 21 keep the bare D- prefix and 22 onward keep DIRASH-, because a record keeps the prefix it was minted under. harness stays everywhere it appears. It is this repo's literal domain term for an AI coding CLI, backed by a Harness enum and a --harness flag, not the banned metaphor. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
RULES.md feeds AGENTS.md and .grok/rules/zavet.md, so rewording it makes both stale. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
c41c0d9 to
de40307
Compare
|
This branch changes 43 markdown files and zero Rust files: The failure is a clippy lint in
🤖 Addressed by Claude Code |
Rust (capture layer) and Rust (windows) both failed on one lint at cli/dirad/src/zavet.rs:386. Response carries a DaemonInfo arm of about 160 bytes, so an unboxed Err of it trips clippy::result_large_err, and -D warnings turns that into a build failure of dirad lib and lib test. query_repo is the only Result<_, Response> in the workspace, so boxing there is the whole fix. Its six callers all read Err(resp) => return resp and now deref. One allocation on an error path that returns straight to the client, which is the same trade Response::Status already documents for the same lint. The deeper fix is to shrink DaemonInfo itself, since that arm is what makes the enum large for everyone. Recorded in #130 rather than done here. No behaviour change. The error value and the wire response are identical; only the return type between query_repo and its six callers moved. Verified locally: cargo clippy -p dirad --all-targets -- -D warnings is clean, and cargo test -p dirad --lib passes 160 tests. Refs: DIRASH-0026, DIRASH-0027, DIRASH-0028, DIRASH-0032
|
Fixed the CI failure in its own commit on this branch,
Verified locally before pushing rather than pushing to find out: The diff on this branch is now 43 markdown files and 1 Rust file, and the Rust change is a separate commit so the prose pass stays readable on its own. The deeper fix is to shrink 🤖 Addressed by Claude Code |
What changed
Reword only, no meaning change, across 32 decisions, 8 specs and
RULES.md.Em dashes: 438 to 4. Every one left is protected: spec
title:frontmatter, one inside a fenced Rust block, andglossary.md's**term** — meaningfield separator.D-0010also used--(ASCII double hyphen) as a dash substitute throughout, with lines running to 104 characters. That is the same tell wearing different punctuation, so it went too and the file was rewrapped.Two things deliberately left alone
The id prefix split. Records 1 to 21 keep the bare
D-prefix, 22 onward keepDIRASH-..zavet/configrecords this as intentional, since a record keeps the prefix it was minted under. Nothing was normalized or renumbered.harness. All ~20 occurrences stay. In this repo it is the literal domain term for an AI coding CLI, backed by a realHarnessenum, a--harnessflag, anddetect::HARNESSES. It is not the banned metaphor noun, and the brief said to judge in context rather than sweep.Where jargon was replaced, it was per-occurrence
surface→coverage set,failure mode,places,entry points,interface,shows,comes from.rung→levelwhere it described ACL fallback tiers.fold→reduction/combines/also includes. Each substitution came from what the surrounding sentence was actually pointing at, so they vary. Worth a second look for that reason.One judgement call left as-is:
distribution-and-update.mdkeeps "if a musl-specific problem surfaces", read as ordinary English rather than the jargon noun.Tested
Verified mechanically, all clean:
One line still exceeds 82 characters: a markdown table row in
onboarding.mdthat was already 157 characters and is now 154. A table row cannot wrap without breaking the table.Titles and filenames untouched. Retitling is a separate pass.
Not verified
No claim was altered, but that rests on reading rather than a mechanical check.
git diff --word-diffis the tractable way to review this.