Skip to content

docs: the pages of the tenth word and the recheck of conflicted (for #56 and #47) - #74

Merged
Calgooon merged 4 commits into
betafrom
lane/trk-docs
Nov 29, 2026
Merged

Calgooon merged 4 commits into
betafrom
lane/trk-docs

Conversation

@Calgooon

Copy link
Copy Markdown
Contributor

A host that pins the next prerelease can now read, in one place each, what the tenth word handed and the record and recheck of conflicted ask of it. docs/SPEC.md maps every item of the two rows to the Lean definition it mirrors at bsv-stack-lean a7ef91de, says the two machines (the latch by default, the door behind Params::recheck_conflicted) and what the stack's model does not mirror yet. README.md gains "The hand-over and the door", with an example that runs as a doc test. CHANGELOG.md's Unreleased section is one account: one Hosts paragraph for a host of the published 0.9.0-beta.10, then Added, Changed, Tests and Documents, each fact said once.

For #56 and #47.

What changes

  • docs/SPEC.md: the stack's pin moved to a7ef91de (lean/Tracker.lean, blob c2a6045a, the commit the rows of record name), the opening table re-cited at it; a new section "The tenth word and the record of a conflict": the items table, the two machines, what is not mirrored yet (the named join, leaf.4, the split under the door, the door's fault, a competitor's length, theorem (iv) over the door), and what a host must know (a repeated verdict grows the state; a Reannounce can outlive its word; EndHold never for the host's own; what Evidence::Competitor takes; restore's two Err meanings and a Headers::check override; a restore marks mined suspect and conflicted not). "The length of a transaction" is kept as it stands.
  • README.md: "The hand-over and the door", a doc test (hand-over to two instances, a discharge, a re-announce, a hint, a checked competitor, the latch keeping conflicted where the door returns the payment to announced with CompetitorGone).
  • CHANGELOG.md, under ## [Unreleased] only: the eight lanes' entries made one account. Nothing folded, nothing bumped.
  • src/: two /// lines and no code. src/state.rs, the doc of Word: "a match over the nine words of 0.9.0-beta.11" becomes "0.9.0-beta.10". src/evidence.rs, the doc of CheckError: "the five faults of 0.9.0-beta.11" becomes "0.9.0-beta.10". 0.9.0-beta.11 was never published and carries the new word and faults. The two docs the plan's row names (Evidence::Competitor's "what the host must have shown" and HostAction::EndHold's "a received payment's act") were already written by the lanes that landed: no change. Nothing under tests/.

Tests and what they pin

No test is added or changed. The README's new example is a doc test, so doc tests go from 17 to 18 and the total from 295 (the base, one run of cargo test --locked at 7dea844 before any change) to 296.

Proof (the last lines of each)

$ cargo fmt --all -- --check
(exit 0, no output)
$ cargo clippy --locked --all-targets -- -D warnings
    Checking bsv-tracker v0.9.0-beta.11 (...)
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.63s
$ cargo test --locked
test result: ok. 18 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.33s
(summed over every binary: 296 passed, 0 failed, 0 ignored; the base: 295)
$ RUSTDOCFLAGS=-Dwarnings cargo doc --locked --no-deps
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.86s
   Generated .../doc/bsv_tracker/index.html
$ cargo build --locked --target wasm32-unknown-unknown --features wasm
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.41s
$ cargo +1.88 check --locked --all-targets
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.86s
$ cargo deny --locked check bans licenses sources
bans ok, licenses ok, sources ok
$ git diff --stat origin/beta
 CHANGELOG.md    | 239 ++++++++++++++++++++++----------------------------------
 README.md       | 106 +++++++++++++++++++++++++
 docs/SPEC.md    |  93 ++++++++++++++++++----
 src/evidence.rs |   2 +-
 src/state.rs    |   2 +-
 5 files changed, 277 insertions(+), 165 deletions(-)

The CHANGELOG commit's last wording edit came after these runs. The CHANGELOG is not compiled, and no other file moved after the runs.

Rows left

  • tests/compact_golden.rs:498 names 0.9.0-beta.11 as the version 1 strings' release. That is the same untrue version as the two doc lines fixed here, but it is in a test file, which a documents lane does not touch. Next: a one-line test-comment change in the next code lane.
  • The CHANGELOG's Rust blocks are not compiled (issue 57's row of pull request 70). This lane merged them and checked them by reading only. Next: a doc-test harness over the Hosts blocks, or moving them to the README.
  • The prerelease's version 1 strings and the README's lead. The README still reads "crates.io carries both versions" for 0.9.0-beta.11, which is true only once the release is tagged. Next: the release pull request's.
  • src/doubts.rs's module page cites three older stack commits (issue 57's row of pull request 63). It is not untrue, so it is outside this row. Next: one commit, named once, with the doubts' next change.
  • The compile_fail blocks' error codes are checked on nightly alone (docs/VERIFICATION.md says so). Next: a harness that reads the message (issue 57).

The landing is the captain's: the cold read, the queue, and later the release pull request (the fold of Unreleased under the 0.9.0-beta.11 heading and the tag).

🤖 Generated with Claude Code

Calgooon and others added 4 commits November 29, 2026 01:11
…for #56 and #47)

The nine-word match and the five-fault match these doc comments quote are
the published 0.9.0-beta.10's; 0.9.0-beta.11 is the unpublished release
that carries Word::Handed and the new faults, so naming it was untrue.
Two `///` lines, no code.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
 and #47)

The pin of the stack moves to bsv-stack-lean a7ef91de (lean/Tracker.lean,
blob c2a6045a), the commit the rows of record name, with the opening table
re-cited at it. A new section maps every item of #56 and #47 to the Lean
definition it mirrors, says the two machines (the latch by default, the
door behind Params::recheck_conflicted), lists what the crate does that the
stack's model does not mirror yet (the named join, leaf.4, the split under
the door, the door's fault, theorem (iv) over the door), and gives a host
the sentences issue 57 left for a page. Each sentence was read from src/
and the tests at the base.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…for #56 and #47)

A host building on the next prerelease reads how to feed HandOver,
Discharge and EndHold, what Reannounce asks, and what the door does
beside the latch. The example is a doc test: it hands a payment to two
instances, discharges one, re-announces, takes a hint, meets a checked
competitor, and shows the latch keep conflicted where the door returns
the payment to announced with CompetitorGone.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The Unreleased section told the line eight times, one entry set per lane,
each repeating the last. It is now one Hosts paragraph, for a host of the
published 0.9.0-beta.10 (the word, Proof::new on bytes, CheckError,
Params::new, Tracker::restore's Result, compact version 2 and what a
version 1 row reads as, the door's flag, the competitor refusal), then
Added, Changed, Tests and Documents, each fact said once. Every backticked
item of the old section is kept but those that named states between lanes
(an intermediate sha of the rows file, a renamed test, the step from
three empty fields to four). Nothing folded, nothing bumped.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Calgooon
Calgooon merged commit 5ed21e5 into beta Nov 29, 2026
15 checks passed
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