docs: documentation completeness audit (#244) #416
No reviewers
Labels
No labels
adr
automated
bug
chore
dependencies
documentation
enhancement
epic
github-actions
P1-high
P2-medium
P3-low
release
research
rust
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Slipstream/eventcore!416
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "docs/244-documentation-audit"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Documentation completeness audit (#244), focused on reconciling the manual + rustdoc against the current API and fixing inaccuracies.
Stale-API reconciliation
docs/manual/03-core-concepts/02-events-and-stores.mdshowedread_streamreturning the removedEventStreamReader<E>. Rewritten to the current lazyEventStream<E>+collect_eventshelper, with a migration note linking ADR-0049. (The only non-ADR doc referencing the removed type.)EventFilter::all/prefix/pattern(literalStreamPrefixvs globStreamPattern).Error-type accuracy
08-reference/03-error-reference.mdwas fictional (invented variants + fakeCE001–CE008codes). Rewritten to the realCommandError(BusinessRuleViolation,ConcurrencyError,EventStoreError,ValidationError) andEventStoreError(VersionConflict,UndeclaredStream,Deserialization/SerializationFailed,StoreFailure,ConflictingExpectedVersions) with per-variant cause/resolution.CommandErrormatches andRetryPolicy/BackoffStrategyusage in error-handling, troubleshooting, web-API, and configuration-reference pages.Getting Started
eventcore/src/lib.rshad no crate-level rustdoc. Added a//!overview + a runnable quickstart doctest (in-memory store, events →#[derive(Command)]→CommandLogic→execute()) that a newcomer can follow quickly.Terminology + cross-references
ExecutionResult→ExecutionResponse(the real type) across the manual; fixed the README quickstartCargo.toml(correct version,eventcore-memoryas a separate crate, removed nonexistent feature).Verification
cargo clippy --workspace --all-targets --all-features -- -D warningscleancargo test --doc --workspace— 9 passed, 0 failed (new quickstart runs)cargo nextest run --workspace— 277 passedADRs intentionally left untouched (historical records per
.claude/rules/adrs.md).Closes #244
The documentation audit has successfully updated the manual and rustdoc to reflect the current API, addressing inaccuracies and improving clarity. The changes appear safe to merge, with no issues found in the diff.
LLM usage and cost
Estimated total USD: $0.439047 via https://api.openai.com and https://api.openai.com