Repository navigation
Eight doc-audit findings, fixed everywhere the claim appears - #779
Merged
Merged
Conversation
…ed everywhere the claim appears The weekly doc-audit sweep files findings and stops there, unlike the nightly doc-drift run which fixes its own, so this batch had been accumulating since 2026-08-03. All eight were re-verified against main before editing: every one was still wrong on both sides, and PR #701 — the nightly run that merged the same day — had addressed none of them, its eight Fixes lines naming a disjoint doc-drift batch. Two of them turned out to be filed narrower than the defect. #650 cited ResourceOptions.TotalMemoryBudgetBytes and Validate() in 06-operating.md; the same removed surface was documented in 13-resources.md, resource-budgets-options.md, options-validation-stubs.md and two feature-set indexes. #654 cited DurabilityOverride in two overview files; the enum that was never committed also had a whole feature-set page written around it, plus mentions in three more. Fixing only the cited line would have closed the issue while leaving the reader every other way to find the same falsehood, so each symbol is corrected at every site it appears. Where a doc quoted a constant that no longer exists, it now names the thing that replaced it rather than a new hardcoded number: MaxDirectoryEntries = 20 becomes MaxDirectoryEntriesFor(stride) with the two strides it yields, and RootCapacity/OverflowCapacity becomes PerPageCapacity with the v4 directory-only root that collapsed the two layouts into one. That is what stops the same drift recurring — a number binds to a build, a symbol binds to the code. Two pages carry a stale-banner rather than a rewrite: 13-resources.md's option table and options-validation-stubs.md both describe surfaces #148 purged, which is a bigger job than these issues and gets its own. Also corrected in source: RecordFormat.cs called RecordKind "the four WAL v2 record kinds" while declaring five. That comment is almost certainly where 11-durability.md's four-row table came from, so leaving it would have re-seeded #653.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #649
Fixes #650
Fixes #651
Fixes #652
Fixes #653
Fixes #654
Fixes #743
Fixes #744
The eight open
[doc-audit]findings, cleared in one pass. Doc-only apart from one XML comment.Why these were still open
[doc-drift](the nightly doc-accuracy run) files findings and fixes them, which is why PR #701 closed its own eight issues the same day.[doc-audit](the weekly sweep) files and stops. So the drift backlog drains itself and the audit backlog accumulates — these had been sitting since 2026-08-03.Every one was re-verified against
mainbefore editing: still wrong in the doc and still contradicted by source. #701 addressed none of them — it named a disjoint batch (#776, #777, #741, #742, #728, #698, #699, #700) and touched only theHighKeyinvariant andVerifyIntegritywording in the files it shares with #744.What changed
GroupCommit (typical)→Deferred— both factories default toDeferred; the rest of that file already said so, line 51 was the lone contradictionTotalMemoryBudgetBytes/Validate()removed — they were purged in #148 and validation is automatic at DI resolutionAccessControl65 535,AccessControlSmall/ResourceAccessControl32 767 (signed backing), with the "design to the tightest" noteFenceBlock = 5added to the record-kinds table, plus what it carries and how it applies; LOG-07 ordering paragraph now accounts for fence batchesRootCapacity/OverflowCapacity→PerPageCapacity = 200+ the v4 directory-only root;DurabilityOverridecorrected from "declared but unwired" to "never committed"MaxDirectoryEntries = 20→MaxDirectoryEntriesFor(stride), 84 at stride 256 and 116 at 356IndexString64Chunkis 356 B, not 256 or 64 — corrected in four places, incl. thebtree-diagnosticssample, which happens to showPlayer.Name(aString64index) and so was the one case where 256 was most wrongTwo of these were filed narrower than the defect
#650 cited
06-operating.md. The same removed surface was also documented in13-resources.md,resource-budgets-options.md,options-validation-stubs.md, and both feature-set indexes. #654 cited two overview files; the never-committedDurabilityOverridealso had an entire feature-set page written around it (durability-override-escalation.md) plus three more mentions.Fixing only the cited lines would have closed both issues while leaving the reader every other route to the same falsehood, so each symbol is corrected at every site. That is the scope difference behind the file count.
Binding to symbols, not numbers
Where a doc quoted a constant that no longer exists, it now names what replaced it rather than a fresh hardcoded figure —
MaxDirectoryEntriesFor(stride)with the two strides it yields,PerPageCapacitywith the v4 change that collapsed two page layouts into one. A number binds to a build; a symbol binds to the code. #743 exists precisely because20was correct once, for a 64-byte stride, and nothing tied it to the formula when the stride moved.Deliberately not done
13-resources.md's option table andoptions-validation-stubs.mddescribe whole surfaces #148 purged —PageCachePages,ShadowBufferPages,WalMaxSegments, theValidate(_ => true)stubs — not just #650's two symbols. Today'sResourceOptionshas five knobs. Rewriting those two pages is a bigger job than these issues, so each carries a stale-banner naming exactly what is wrong, and gets its own follow-up rather than being silently half-corrected here.Source change
RecordFormat.csdescribedRecordKindas "the four WAL v2 record kinds" while declaring five. That is almost certainly where11-durability.md's four-row table came from, so leaving it would have re-seeded #653 on the next sweep. One word.Verification
check-doc-links✅ (335 files, 1867 links, 0 broken) ·check-rule-scopes✅ (192 scope lines) ·dotnet build src/Typhon.Engine✅ 0 warnings.A grep sweep over tracked markdown confirms no live occurrence of any of the eight false claims remains; the only hits left are the historical mentions this PR writes deliberately ("removed in #148", "never committed").
grep -rn DurabilityOverride doc/returns hits fromdoc/.api-bin/,doc/api/ref/anddoc/_site/, including a published-lookingTyphon.Engine.DurabilityOverride.yml, for a type with zero hits insrc/. All three are gitignored local build output and can be weeks stale. Verify symbol existence againstsrc/, never againstdoc/.