Skip to content

Organize SkillEval and standalone documentation guides - #675

Merged
Dong1017 merged 1 commit into
mainfrom
codex/674-organize-docs-guides
Nov 25, 2026
Merged

Dong1017 merged 1 commit into
mainfrom
codex/674-organize-docs-guides

Conversation

@Dong1017

@Dong1017 Dong1017 commented Nov 25, 2026 •

Copy link
Copy Markdown
Collaborator

Governing Issue and delivery slice

Refs #674

Dong1017 accepted one documentation PR covering SkillEval and standalone guide navigation. The decision includes retaining historical evidence and updating path-dependent checks. Recorded direction

Anchors touched: A1, A2, A3, A7, A9. The links and the guarded module-layout path follow the new location under the accepted scope of #674. The anchor IDs and rules retain their existing meaning.

Knowledge authorship declaration

{
  "schema_version": 1,
  "head_sha": "5935aaf40d706e0dfe7bfc6da175b839c4571c82",
  "human_only": false,
  "material_ai_authors": [
    {"tool": "Codex", "model_id": "unknown", "effort": "max", "role": "author"}
  ]
}

Changed artifacts and evidence

  • docs/README.md leads readers to the 13 SkillEval pages under docs/guides/skill-evaluation/, with routes for PR authors, local evaluators, reviewers and paid-run operators.
  • The operation, module layout and speculative search guides live under docs/guides/. The Realtime-Venus field note lives under docs/field-notes/. The migration carries over existing diagrams and updates the documentation, Apps inventory and reference checks.
  • docs/skill-eval-pr.md#nonpaid-author-handoff remains the automated author handoff. The DSH plugin packages docs/dashboard.md at package/assets/inferrsi/docs/dashboard.md. A built DSH archive contains a byte-identical copy.
  • Frozen evidence and protected Knowledge pages are byte-identical to the base tree.
Compatibility paths
Old entry References it preserves
docs/skill-eval-deployment-215.md Historical deployment record and anchors audit-and-price-provenance, hard-cost-bound, activation-prerequisites-and-stopping.
docs/skill-eval-historical-job.md Expired authorization record and anchors authority-and-freeze, credential-and-execution-boundary, operation.
docs/speculative-search.md Frozen GVO evidence links to #measuring-the-contribution-of-gvo.
docs/realtime-venus-vllm-omni.md Frozen Realtime-Venus evidence link to the field note.
docs/operations.md Operation guide links in the protected Knowledge operations guide.
docs/skill-evaluation/README.md SkillEval link in the protected Knowledge operations guide.

Active cross-references, including the Apps migration inventory and current change log, point to the new locations.

Checks and dependencies

  • ruff check src tests tools and git diff --check passed on the submitted content.
  • Relative Markdown link and anchor scan against current main 0ae7d0d5 covered 3,156 candidate references. It found zero new unresolved references. Three pre-existing unresolved references appear in both trees.
  • DSH plugin build and archived dashboard comparison passed on Windows.
  • 313 focused tests passed on Windows across the repository checks, Apps inventory, and SkillEval PR handoff and summaries.
  • The Windows sdist and wheel built successfully after shortening the extraction path.
  • The local Windows full suite is incomplete. All four failures from the capped Apps run reproduced with the same errors on base 0ae7d0d5 in tests/apps/test_anthropic_edit_agent.py.
    • test_all_actual_revision_bytes_retained_before_checks reads CRLF from a Windows-generated fixture while the assertion expects LF.
    • test_workspace_changes_and_special_nodes_fail_closed[symlink] and test_root_symlink_rejected hit WinError 1314 while creating symlinks.
    • test_workspace_changes_and_special_nodes_fail_closed[fifo] hits the absence of os.mkfifo on this host.
  • Linux Python 3.10 and 3.11 full checks, both installed-package checks and the dashboard browser check passed. Ready CI run
  • The SkillEval advisory was published for this head by run 45574723789. An older run's later publish attempt was rejected by the guard that preserves the newer summary. Current advisory · Older publish attempt
Reproduce the relative link scan

Save the script below as check_relative_links.py outside the checkout. From the repository, run python /path/to/check_relative_links.py 0ae7d0d5 5935aaf4. It checks local inline destinations and reference definitions against Git-tracked paths and Markdown heading/link anchors. The baseline comparison follows each moved source to its new path.

import html
import posixpath
import re
import subprocess
import sys
from collections import Counter
from pathlib import PurePosixPath
from urllib.parse import unquote, urlsplit

def git(*args, data=None):
    return subprocess.check_output(["git", *args], input=data)

def markdown(tree):
    files = git("ls-tree", "-rz", "--name-only", tree).decode().strip("\0").split("\0")
    paths = set(files) | {str(parent) for path in files for parent in PurePosixPath(path).parents}
    docs = [path for path in files if path.lower().endswith((".md", ".markdown"))]
    requests = "".join(f"{tree}:{path}\n" for path in docs).encode()
    payload = git("cat-file", "--batch", data=requests)
    offset = 0
    sources = {}
    for path in docs:
        sep = payload.index(b"\n", offset)
        size = int(payload[offset:sep].split()[-1])
        offset = sep + 1
        sources[path] = payload[offset:offset + size].decode("utf-8-sig", "replace")
        offset += size + 1
    return paths, sources

def visible(text):
    fence = None
    for line in text.splitlines():
        match = re.match(r"^\s*(\x60{3,}|~{3,})(.*)$", line)
        if not fence and match:
            fence = match[1]
        elif fence and match and match[1][0] == fence[0] and len(match[1]) >= len(fence) and not match[2].strip():
            fence = None
        elif not fence:
            yield line

def anchors(text):
    found = set()
    used = set()
    found.update(html.unescape(item) for item in re.findall(r'''(?i)<a\b[^>]*?\b(?:id|name)=["']([^"']+)["']''', text))
    for line in text.splitlines():
        heading = re.match(r"^ {0,3}#{1,6}\s+(.+?)\s*#*\s*$", line)
        if not heading:
            continue
        words = re.sub(r"!?\[([^\]]+)\]\([^)]*\)", r"\1", heading[1])
        words = html.unescape(re.sub(r"<[^>]+>", "", words)).lower()
        slug = "".join("-" if ch == " " else ch for ch in words if ch.isalnum() or ch in " _-")
        name = slug
        index = 1
        while name in used:
            name = f"{slug}-{index}"
            index += 1
        used.add(name)
    return found | used

moves = {
    "docs/module-layout.md": "docs/guides/module-layout.md",
    "docs/operations.md": "docs/guides/operations.md",
    "docs/speculative-search.md": "docs/guides/speculative-search.md",
    "docs/realtime-venus-vllm-omni.md": "docs/field-notes/realtime-venus-vllm-omni.md",
}

def moved(path):
    if path.startswith("docs/skill-evaluation/"):
        return path.replace("docs/skill-evaluation/", "docs/guides/skill-evaluation/", 1)
    return moves.get(path, path)

def scan(tree, before=False):
    paths, docs = markdown(tree)
    texts = {path: "\n".join(visible(text)) for path, text in docs.items()}
    ids = {path: anchors(text) for path, text in texts.items()}
    count = 0
    broken = Counter()
    destination = r'(<[^>\n]+>|[^\s)>]+)'
    inline = re.compile(r'\]\(\s*' + destination)
    reference = re.compile(r'^ {0,3}\[[^\]\n]+\]:[ \t]*' + destination, re.M)
    for source, text in texts.items():
        text = re.sub(r'(\x60+)[^\n]*?\1', '', text)
        for token in inline.findall(text) + reference.findall(text):
            try:
                url = urlsplit(html.unescape(token.strip("<>")))
            except ValueError:
                continue
            if url.netloc or url.scheme or url.path.startswith("/"):
                continue
            target = posixpath.normpath(posixpath.join(posixpath.dirname(source), unquote(url.path))) if url.path else source
            fragment = unquote(url.fragment)
            count += 1
            if target not in paths or (fragment and target in docs and fragment not in ids[target]):
                kind = "path" if target not in paths else "anchor"
                broken[moved(source) if before else source, target, fragment, kind] += 1
    print(f"{tree}: {len(docs)} Markdown files, {count} local references, {sum(broken.values())} unresolved")
    return broken

previous = scan(sys.argv[1], before=True)
current = scan(sys.argv[2])
new = current - previous
print(f"New unresolved references: {sum(new.values())}")
for failure, count in sorted(new.items()):
    print(count, *failure)
sys.exit(bool(new))

Remaining work and Issue closure

The PR needs the required checks and two eligible independent approvals. Verify the navigation and compatibility paths on main after merge, then record Dong1017's goal acceptance on the Issue.

Route readers from the documentation index and place the Realtime-Venus case with the field notes. Preserve old entry points used by the Knowledge operations guide and frozen evidence, and follow the new paths in the contract and PR checks.

Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>
Agent-assisted-by: Codex / unknown [effort=max] (author)
@github-actions

github-actions Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

Skill evaluation

PLANNED: not executed; there are no task outcomes yet.
No approval, model efficacy or current-head test result is implied.

  • Next: resolve check applicability at head 5935aaf40d706e0dfe7bfc6da175b839c4571c82.
  • Task selection: no supported automatic comparison; choose a relevant source/content check and disposition uncovered claims.
  • Selected comparisons: 0 · Estimated task calls: 0. Uncovered/unsupported changes: 63; Canonical library paths: 0; Generated projection paths: 0; Other paths: 63. These are paths, not independent claims.
  • Return: command, input/source pin, exit status, outputs/failures and untested claims for independent verified/refuted/unverified disposition.
Author verification steps (nonpaid; not yet run)
  1. Bind the checkout. Run git rev-parse HEAD; it must equal 5935aaf40d706e0dfe7bfc6da175b839c4571c82. If it differs, obtain a current plan; do not reuse old results.
  2. Choose an applicable check. Match each changed behavior to the task below or a source/content check; a path match alone does not establish relevance.
    No supported automatic comparison is selected. Review the canonical changes and explain which claims need evidence, are unaffected, or remain unverified; do not treat generated records as separate behavioral claims.
    Uncovered scope by location: Canonical library paths: 0; Generated projection paths: 0; Other paths: 63. Path counts are not claim counts; no metadata-only conclusion is inferred.
  3. Return evidence for independent review: head, check/task/source pin, command, environment, exit status, outputs/failures and untested claims. Label scripted controls. Request each claim's disposition: verified, refuted or unverified; this plan proves neither model provenance nor benefit.
    Check recipes and evidence limits

Evidence and logs · Retention: 30 days.
Retained artifacts are verifiable only before Unix time 1798186573 while the linked artifact is available. Expired evidence is unverified.

Plan bindings, budget, frozen exam and advisory details

Advisory: obtain missing evidence

Retained evidence availability: planned / unexecuted. No approval or merge authorization is issued.
Applicable only while these revisions and inputs match the current PR.
Paid execution requires trusted label authorization and cumulative PR reservation. Unknown accounting blocks new paid calls; planning is not execution.
Pipeline evidence only; offline fixed outputs do not establish skill efficacy.
Unchanged-correct is valid neutral evidence, not incremental benefit.
Content/source review and authorship admission remain separate.
Trusted regrading checks retained answers, not model/hardware provenance or a hostile executor; this is not an efficacy certification.

  • Retained evidence is planned / unexecuted.
  • No supported comparison cases were selected.
  • Uncovered/unsupported scope needs a case or explicit reviewer disposition.
    Plan SHA-256: fa11fc2c9c428ff7d0f11ebf5828edb063647bd2e3c6111a2b395b7214b79586
    Base: 0ae7d0d5aca90bf9725cf9661ba2897996e68a1d · Head: 5935aaf40d706e0dfe7bfc6da175b839c4571c82
    Trusted implementation: 0ae7d0d5aca90bf9725cf9661ba2897996e68a1d

Model/settings: {"effort":"not_applicable","name":"claude-opus-5-5"}
Budget: {"comparisons":0,"estimated_calls":0,"limits_per_comparison":{"campaign_seconds":600,"max_task_calls":2,"repeats":1,"timeout_seconds":180,"token_stop_new_trials":200000},"provider_config_sha256":"b28d80f8194fbe0f5a9f01515efb24b218979fd45f702776560da276f4b30d04","reservation":null}

Skill Comparison Cases Estimated calls

Automatic execution / cumulative PR budget:

{"reason":"Trusted configuration or pricing missing, invalid or expired","remaining_usd":"unknown","reserved_or_unresolved_usd":"unknown","spent_or_legacy_usd":"unknown","state":"blocked"}

Provider/settings: {"client":{"api_version":"2023-06-01","endpoint":"https://yibuapi.com/v1/messages","kind":"anthropic-messages-full-context-v1","max_output_tokens":4096,"max_read_bytes":32768,"max_request_bytes":262144,"max_requests":1,"max_tool_calls":12,"provider":"yibuapi"},"limits":{"token_stop_new_trials":200000},"model":{"effort":"not_applicable","name":"claude-opus-5-5"},"pricing":{"currency":"USD","expires_at":1793271228,"group":"default","max_input_tokens":1000000,"model":"claude-opus-5-5","rate_evidence":"https://github.com/InferMatrixLab/InferRSI/issues/215#issuecomment-6467531341","rates":{"cache_read":"0.4","cache_write":"10","input":"8","output":"40"},"request_fee":"0","unit":"per_million_tokens"},"spend_limit":{"amount":"200","currency":"USD"}}

Uncovered / unsupported paths (63)
  • uncovered: "AGENTS.md"
  • uncovered: "CHANGELOG.md"
  • uncovered: "README.md"
  • uncovered: "docs/README.md"
  • uncovered: "docs/apps-module-migrations.json"
  • uncovered: "docs/architecture.md"
  • uncovered: "docs/contracts/current-design.md"
  • uncovered: "docs/contracts/gate-policy-runstore-and-first-prs.md"
  • uncovered: "docs/contributing.md"
  • uncovered: "docs/dashboard/campaign-summary-chart.md"
  • uncovered: "docs/field-notes/realtime-venus-vllm-omni.md"
  • uncovered: "docs/guides/apps-output.md"
  • uncovered: "docs/guides/goal-checkpoints.md"
  • uncovered: "docs/guides/harness-improvement.md"
  • uncovered: "docs/guides/knowledge/external-channels.md"
  • uncovered: "docs/guides/knowledge/knowledge-layout.md"
  • uncovered: "docs/guides/knowledge/knowledge-retrieval-trace.md"
  • uncovered: "docs/guides/module-layout.md"
  • uncovered: "docs/guides/operations.md"
  • uncovered: "docs/guides/skill-evaluation/README.md"
  • uncovered: "docs/guides/skill-evaluation/local-skill-evaluation.md"
  • uncovered: "docs/guides/skill-evaluation/skill-eval-budget-core.md"
  • uncovered: "docs/guides/skill-evaluation/skill-eval-cloud-replay.md"
  • uncovered: "docs/guides/skill-evaluation/skill-eval-comparison.md"
  • uncovered: "docs/guides/skill-evaluation/skill-eval-daily-admission.md"
  • uncovered: "docs/guides/skill-evaluation/skill-eval-deployment-215.md"
  • uncovered: "docs/guides/skill-evaluation/skill-eval-full-context.md"
  • uncovered: "docs/guides/skill-evaluation/skill-eval-generation-only.md"
  • uncovered: "docs/guides/skill-evaluation/skill-eval-historical-job.md"
  • uncovered: "docs/guides/skill-evaluation/skill-eval-quarantine.md"
  • uncovered: "docs/guides/skill-evaluation/skill-eval-reviewer-qualification.md"
  • uncovered: "docs/guides/skill-evaluation/skill-eval-yibuapi-preflight.md"
  • uncovered: "docs/guides/speculative-search.md"
  • uncovered: "docs/guides/task-input.md"
  • uncovered: "docs/module-layout.md"
  • uncovered: "docs/operations.md"
  • uncovered: "docs/quickstart.md"
  • uncovered: "docs/realtime-venus-vllm-omni.md"
  • uncovered: "docs/reviews/issue148-flare-source-distillation.md"
  • uncovered: "docs/skill-eval-deployment-215.md"
  • uncovered: "docs/skill-eval-historical-job.md"
  • uncovered: "docs/skill-eval-pr.md"
  • uncovered: "docs/skill-evaluation/README.md"
  • uncovered: "docs/skill-evaluation/local-skill-evaluation.md"
  • uncovered: "docs/skill-evaluation/skill-eval-budget-core.md"
  • uncovered: "docs/skill-evaluation/skill-eval-cloud-replay.md"
  • uncovered: "docs/skill-evaluation/skill-eval-comparison.md"
  • uncovered: "docs/skill-evaluation/skill-eval-daily-admission.md"
  • uncovered: "docs/skill-evaluation/skill-eval-deployment-215.md"
  • uncovered: "docs/skill-evaluation/skill-eval-full-context.md"
  • uncovered: "docs/skill-evaluation/skill-eval-generation-only.md"
  • uncovered: "docs/skill-evaluation/skill-eval-historical-job.md"
  • uncovered: "docs/skill-evaluation/skill-eval-quarantine.md"
  • uncovered: "docs/skill-evaluation/skill-eval-reviewer-qualification.md"
  • uncovered: "docs/skill-evaluation/skill-eval-yibuapi-preflight.md"
  • uncovered: "docs/speculative-search.md"
  • uncovered: "src/inferrsi/harness/README.md"
  • uncovered: "src/inferrsi/harness/search_tree.py"
  • uncovered: "tests/fixtures/skill-comparison/report-example.md"
  • uncovered: "tests/repository/test_architecture_closed_loop.py"
  • uncovered: "tests/repository/test_pr_references.py"
  • uncovered: "tests/repository/test_target_module_import_gate.py"
  • uncovered: "tools/check_pr_references.py"

@Bounty-hunter Bounty-hunter left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Claude Code agent, acting for @Bounty-hunter.

Interim review, no vote yet. I checked head 5935aaf40d706e0dfe7bfc6da175b839c4571c82 against base 0ae7d0d5aca90bf9725cf9661ba2897996e68a1d. I'm holding a formal verdict for two reasons. full-check (3.10) and full-check (3.11) were still in_progress when I checked. The PR body also says the full local pytest run "is in progress and has reported failures". I found no blocker in what I read.

What I checked

Path-dependent checks follow the move. tools/check_pr_references.py CONTRACT_PATHS, tests/repository/test_architecture_closed_loop.py LAYOUT and tests/repository/test_target_module_import_gate.py::test_layout_doc_states_the_same_limit now point at docs/guides/module-layout.md. The D\0docs/guides/module-layout.md\0 case in test_pr_references.py keeps deletion of the guarded layout doc as a contract change. In the head tree, a grep of *.py/*.toml/*.json/*.yml/*.sh outside docs/guides/ finds no remaining reference to the old docs/module-layout.md, docs/operations.md, docs/speculative-search.md or docs/skill-evaluation/ paths. (docs/knowledge-operations.md is a separate file that still exists.)

Compatibility stubs keep the frozen anchors. docs/speculative-search.md keeps a ## Measuring the contribution of GVO heading. That heading is what evidence/qwen-vats-gvo-910b1-20261124/README.md and validator/README.md link to, and the target heading exists in docs/guides/speculative-search.md. docs/skill-eval-deployment-215.md and docs/skill-eval-historical-job.md keep their <a name=…> anchors and only repoint links to guides/skill-evaluation/….

operations.md#… links. I spot-checked every Markdown link to an operations.md#… anchor outside docs/guides/, plus those in docs/guides/knowledge/ and docs/guides/task-input.md. They resolve either to docs/guides/operations.md or to the existing docs/knowledge-operations.md. None depends on the 3-line docs/operations.md stub having anchors.

Apps inventory. The docs/apps-module-migrations.json consumers swap docs/module-layout.md/docs/operations.md for the docs/guides/ paths throughout. No other changes.

Not verified. I did not run pytest or the author's link scanner. I did not diff the body of each moved page against its old version; GitHub reports the SkillEval pages as 97–100% similarity renames. I did not build the DSH plugin. I also did not check the Knowledge-protected pages byte-for-byte.

Ask. Please post which local pytest failures you saw, and whether they reproduce on 0ae7d0d5. A pre-existing failure and a failure caused by the move need different follow-ups. I'll give the formal verdict after full-check finishes on this head.

@Dong1017 Dong1017 added area:usability Usability and collaboration: issue navigation, templates, readable reports kind:docs Documentation and template delivery labels Nov 25, 2026
@Dong1017

Copy link
Copy Markdown
Collaborator Author

Codex, acting for @Dong1017.

@Bounty-hunter I reproduced all four failures from the capped Windows Apps run on base 0ae7d0d5 with the same CRLF, symlink permission and FIFO errors. The PR description now records the exact cases and the 313 passing focused tests. Both Linux full-check jobs passed. Ready CI run

@Bounty-hunter Bounty-hunter left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM
Claude Code agent, acting for @Bounty-hunter.

PR review verdict — PASS
Reviewed base 0ae7d0d5aca90bf9725cf9661ba2897996e68a1d and head 5935aaf40d706e0dfe7bfc6da175b839c4571c82 (unchanged since my interim review).

The two things my interim review was waiting on are now resolved:

  • CI on this head. full-check (3.10), full-check (3.11), installed-package (3.10/3.11), dashboard-browser, pr-references, lint-and-smoke and declarations all completed success on 5935aaf4. The one publish failure is the older SkillEval run that the PR body explains ("An older run's later publish attempt was rejected by the guard that preserves the newer summary"); the current advisory was published by run 45574723789.
  • Local Windows failures. The updated body and the author's reply say all four failures in tests/apps/test_anthropic_edit_agent.py (CRLF fixture, two WinError 1314 symlink cases, missing os.mkfifo) reproduce with the same errors on base 0ae7d0d5. They are host limitations unrelated to a docs move, so they are not blockers for this PR.

Carried over from the interim review, still holding at this head: the path-dependent checks (tools/check_pr_references.py CONTRACT_PATHS, test_architecture_closed_loop.py LAYOUT, test_target_module_import_gate.py) point at docs/guides/module-layout.md; no *.py/*.toml/*.json/*.yml/*.sh outside docs/guides/ references the old paths; the compatibility stubs keep the frozen ## Measuring the contribution of GVO heading and the <a name=…> anchors; operations.md#… links resolve to either docs/guides/operations.md or docs/knowledge-operations.md.

Not verified by me: I did not run pytest locally, did not diff each moved SkillEval page body against its old version (GitHub reports 97–100% similarity renames), and did not build the DSH plugin. I rely on the green CI for those.

@Dong1017
Dong1017 enabled auto-merge (squash) November 25, 2026 08:32
@Dong1017

Copy link
Copy Markdown
Collaborator Author

@zengchuang-hw zengchuang-hw left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PASS
Dot,代表 zengchuang-hw 执行独立检视。

回应本条检视邀请。#674 约定的文档迁移和兼容入口在当前提交成立,未发现阻塞。

范围与验证

Base 0ae7d0d5aca90bf9725cf9661ba2897996e68a1d,head 5935aaf40d706e0dfe7bfc6da175b839c4571c82。检查 50 个文件的差异,核对 13 份 SkillEval 页、四类入口和 nonpaid-author-handoff。对照了迁移前后的操作、投机搜索和 Realtime-Venus 正文,在忽略相对链接调整和留白后内容一致;两个历史入口保留原锚点,GVO 旧锚点和 Realtime-Venus 旧路径可导航至新版。比对精确提交树,evidence/ 与 docs/dashboard.md 对应内容不变;路径守卫及对应测试均转用新的 module-layout 路径,生产 Python 变化仅为文档字符串。

以上是独立静态核查;未运行全量链接扫描、测试或本地安装,未读取 CI。不是合入或 #674 主线验收。

@Dong1017
Dong1017 merged commit 42b4871 into main Nov 25, 2026
20 of 21 checks passed
@Dong1017
Dong1017 deleted the codex/674-organize-docs-guides branch November 25, 2026 08:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:usability Usability and collaboration: issue navigation, templates, readable reports kind:docs Documentation and template delivery

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants