Repository navigation
[auto-task] Validate the oldest workspace documentation - #5656
Merged
Merged
Conversation
…7539] Planned-By: codex
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.
Task
ORB-17539 — [auto-task] Validate the oldest workspace documentation
Description
Validate a small batch of documentation against the current repository.
Correct factual drift and broken links or Markdown. A batch whose claims
are already accurate is a successful no-diff run with validated no-diff
evidence.
Select a batch
docs/and tracked top-levelREADME*orCONTRIBUTING*documents withgit ls-files. Exclude vendoreddependencies, generated trees and indexes, archives, and files the
repository identifies as generated or historical records: the
historical-record globs in
scripts/check-doc-links.py(for exampledocs/design/*/4_decisions.md) are never candidates. Check every selectedpath against that list before validating it. Use repository
guidance for any additional documentation scope; do not edit unrelated
files. Keep the paths relative to the repository root.
last_validated: YYYY-MM-DDvalue inexisting YAML frontmatter when present. Otherwise obtain its last-touched
date with
git log -1 --format=%cI -- <path>. Use the date part of thattimestamp as the initial validation age. Report invalid frontmatter
values and missing git history rather than treating them as real dates.
validation date for a candidate without
last_validated, use the latestrecorded date as its age. This lets a no-frontmatter repository rotate
after a clean no-diff batch. Otherwise retain the git-derived date.
relative path. Take at most six. If no candidates have a usable age,
explain why in the execution summary and finish without a diff.
Validate and record
For each selected document, check factual claims against current source,
commands, configuration, and related documentation. Correct verified drift,
genuine spelling errors, and broken Markdown or relative links. Preserve
the author's style and avoid unrelated rewrites. If a claim cannot be
checked, leave it unchanged and record the limit.
Update
last_validatedto today's date only when that key already existsand the document was actually verified. Never add YAML frontmatter or a
last_validatedkey to a document that lacks it. Record every verifieddocument, including unchanged ones, in this task's durable
execution_summarywith the validation date and supporting checks.The execution summary must list the selected paths in order, each path's
ordering date and source (frontmatter, git, or prior summary), changes and
verification evidence, and any skipped document or unverified claim. State
explicitly when the batch was clean. Do not manufacture an edit to mark a
clean run complete; when no document required changes, follow the workspace's
validated no-diff evidence requirements (attach
no-diff.jsonand capturedvalidation logs).
Acceptance Criteria
Execution Summary
Click to expand
Outcome: documentation validation completed on 2026-10-22. One verified factual correction was made; the other five selected documents were accurate.
Selection and ordering (criterion 1)
git ls-filesfound 207 tracked Markdown documents underdocs/and at the repository root matching README*/CONTRIBUTING*. Excluded the generateddocs/INDEX.mdand the repository historical/template patterns inscripts/check-doc-links.py; 169 candidates remained.last_validatedvalue or missing Git history was found. The keylessdocs/reviews/unit-test-audit-2026-10-12.mdhas Git age 2026-10-12, but a prior completed summary records its validation on 2026-10-21, so it did not preempt this batch. The remaining keyless candidates have Git ages of 2026-10-18 or later.docs/design/plugins/3_install_time_build.md— 2026-10-18 (frontmatter).docs/design/remote-access/1_overview.md— 2026-10-18 (frontmatter).docs/design/remote-access/3_vision.md— 2026-10-18 (frontmatter).docs/design/remote-access/references/glossary.md— 2026-10-18 (frontmatter).docs/design/remote-access/specs/host-forward.md— 2026-10-18 (frontmatter).docs/design/review-gate/1_overview.md— 2026-10-18 (frontmatter).Document checks (criterion 2)
docs/design/plugins/3_install_time_build.md— fixed and verified against current plugin source/build code. Section 3.3 incorrectly said pinned source commits are fetched withgit clone;crates/orbit-tools/src/plugin/source.rs::fetch_git_commitinitializes a fresh repository, fetches the commit with--depth 1 --no-tags, checks outFETCH_HEADdetached, and verifiesHEAD. Updated that claim. The remaining build sandbox, consent, environment, output, pin and doctor claims were checked against the mapped build implementation.docs/design/remote-access/1_overview.md— clean. Checked serving and connection entry points, registry-backed workspace selection, request refresh behavior, host forwarding and loopback/origin boundaries againstcrates/orbit-web,crates/orbit-cli/src/command/web.rs, andcrates/orbit-cmd/src/registry/runtime.docs/design/remote-access/3_vision.md— clean. Checked its current Web/SSH boundaries and federated-MCP ownership cross-links against the implementation and current federated-MCP documentation.docs/design/remote-access/references/glossary.md— clean. Checked aggregate view, connect, global/single mode and workspace extractor terms against current workspace state, routing and related design documentation.docs/design/remote-access/specs/host-forward.md— clean. Checked route/path refusals, forwarded headers and streaming, time bounds, host identity, single-flight tunnel lifecycle, connection-state fields and failure codes againstapi/forward.rs,host_tunnels.rs,ssh_tunnel.rsandconnect.rs.docs/design/review-gate/1_overview.md— clean. Checked timings, reviewer crew fallback, minute budget, before-landing host policy, verdicts and certificate/landing coverage againstcrates/orbit-config/src/operation.rsand the current review admission/settlement code.Metadata (criterion 3)
last_validatedfields to 2026-10-22 in all six verified documents. Added no frontmatter or validation key.last_updatedto 2026-10-22. No other content metadata changed.Validation
python3 scripts/check-doc-links.py— passed; checked 472 Markdown files.scripts/generate-doc-indexes.sh --check— passed; verifieddocs/INDEX.md. No indexed title, first heading or summary changed, somake docs-indexwas not needed.git diff --check— passed.task.final_validation_commandswere supplied. No live SSH tunnel or cross-platform sandbox execution was performed; those claims were checked against current implementation source.Summary and reconciliation (criterion 4)
47fa4452b871077b698155e22cbd01907d299ed2with a clean tree. Final delivery paths are exactly the six listed documents, all covered by the original task selectors. No files outside the selectors, staged changes, deletions, renames, untracked outputs, or cleanup leftovers remain.docs/INDEX.mdandCHANGELOG.mdare unchanged. Changes remain uncommitted for the pipeline.crates/orbit-core/assets/auto_tasks/doc-duties.yamluses carried ledger state and a repeated-partial hold. I followed this task's injected description and criteria; this task/template divergence remains a promotion risk requiring operator re-adoption. No ledger artifact was attached because this task body does not require one.Validation
Branch Freshness
origin/agent-mainorbit/ORB-17539-3db67b0a