Repository navigation
docs: re-verify every document against the code and retire the historical noise - #853
Merged
Merged
Conversation
…rchives Seven parallel slices (guide / architecture / desktop internals / other internals / mobile / wiki / index) re-derived each documented claim from the current source, fixed the errors, outdated statements and omissions they found in both languages, and removed the historical noise from the live pages: - FOUR dated mobile audits folded into docs/archives/verification/ instead of being kept as current documentation and given their missing Chinese pairs - docs/audits/ (a one-off 2026-09-16 mismatch snapshot) retired into archives - root README / SECURITY / THIRD_PARTY_NOTICES / UPSTREAM re-checked
Linux uninstall is 'sudo apt remove future-os' (the released .deb control file says Package: future-os, verified against FutureOS_1.2.1_amd64.deb). The Runs panel lists one row per command with the running/finished count in the header, and deleting a workspace on the phone keeps the desktop folder's files.
… channels-providers
…ricize the rest Three EN/ZH pairs whose body is a one-off snapshot (a dated audit with a 'confirmed and fixed' table, two superseded measurement reports) move to docs/archives/verification/ keeping their names and dates; the pages that describe the current implementation stay, with their dead-history paragraphs removed. The module README and the docs index follow the moves.
Add rule 4 to scripts/docs/check-docs.py: every repo-internal scripts/ path named in a current doc (outside docs/archives/) must exist; Windows separators are normalised before the check and a documented glob must match at least one file. Six regression cases cover the rule (missing path, existing path, glob with/without a match, backslash form, sentence punctuation, archives exemption).
Fix the two stale references the new check caught (generated wiki Models.md header now names scripts/docs/generate_models.py, matching the generator), and reconcile docs/README{,.zh-CN}.md with the checker and the archived measurement JSONs.
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.
What
Every document under
docs/(plus the repo-rootREADME*/SECURITY*/THIRD_PARTY_NOTICES*andorchestration/loop/UPSTREAM*) was re-checked againstthe current source, in both languages, by seven parallel slices (guides,
architecture, desktop internals, other internals, mobile, wiki, index). Each
claim was re-derived from the code — the previous 2026-09-16 mismatch audit was
used only as a hint and re-verified, never copied.
Fixes fell into the three categories that matter:
docs/guide/channels-providers.mddescribedfuture channel listoutput that the command never prints; the wikiDingTalk.mdomittedsender_allowlist(an empty list denies every sender,so a user copying the example got a bot that answers nobody).
retired behaviours described as current,
CONTEXT_COMPACTION's status, thedesktop→NATS hop described as "deployment-controlled TLS".
pages while the code enforced them.
Historical noise out of the live pages
docs/audits/doc-code-mismatches{,.zh-CN}.md(a one-off dated snapshot whosefindings are fixed) →
docs/archives/verification/.→
docs/archives/verification/, each now with an English/Chinese pair.docs/internals/mobile/pages whose body was a dated audit ora superseded measurement → archives; the pages that describe the current
implementation stayed, with their dead-history paragraphs removed.
docs/archives/**keeps its original text, dates and commit boundaries.New guard
scripts/docs/check-docs.pynow fails when a current document (outsidedocs/archives/) references a reposcripts/path that does not exist,including globs (must match at least one file) and Windows-style separators.
That check immediately caught two stale references in the generated
docs/wiki/{en,zh}/Models.mdheaders.scripts/tests/test-check-docs.pygrew six regression cases, including thenegative controls.
Verification
python scripts/docs/check-docs.py --strict-pending→ exit 0,Checked 205 docs … script paths and fences OK (0 pairs pending bilingualization)python scripts/tests/test-check-docs.py→Ran 27 tests … OKfile:linein the evidencefile), all consistent — e.g. the 20 slash commands and 17 shortcuts against
tui/src/app.rs,sender_allowlistagainstdingtalk/bridge.rs, the loopverb sets against
console.rs, the desktop approval default againstapp_settings.rs, the 4-image/25-MiB limits againstattachments.tsdocs/.mdhas both languages (77 pairs + 15 wiki pages per language(
channels/src/providers/traits.rs:config_exampleis not printed byfuture channel list);cargo fmt -p future-channel --checkandcargo clippy -p future-channel --all-targets -- -D warningsare cleanNotes
The docs gate is deliberately not wired into CI, so this PR carries its own
acceptance evidence (
.future/loop/evidence/b8.mdand the per-slice files).Full slice-by-slice method, findings and disagreements are recorded there.