ARS /ars-mark-read — record a user-attested reading signal for one or more citation keys
复制下面这句话,粘贴给 Claude Code、Codex、Cursor 等 AI 编程工具,它会读取安装说明并在你确认后完成安装。
请阅读 https://ai.atlankj.com/install/asset/gh-academic-research-skills-f2fe614f632b ,按照其中的说明把「ars-mark-read」安装到你(当前 AI 工具)中。执行前先告诉我将运行的命令和写入的位置,等我确认。
查看 AI 将读取的安装说明正在读取 GitHub 原文…
内容来自 GitHub 原始文件,由原作者维护。在 GitHub 查看
Record the user's USER_ATTESTED_READ declaration for the source(s) backing the named citation key(s). This is a user statement, not independent evidence that a person read or understood the source. A finalizer may promote <!--ref:slug LOW-WARN--> to <!--ref:slug ok--> only when the declared scope covers that citation's anchor. Per v3.6.8 spec §3.6, the signal is stored in a session-scoped peer file <passport-stem>_human_read_log.yaml next to the active Material Passport; literature_corpus[] is adapter-owned and is NEVER mutated to carry reading state.
The dispatching agent substitutes <path> below with the active Material Passport path from session context before executing (the quoting is preserved so paths containing spaces remain a single argument). The CLI handles validation (citation_key must exist in literature_corpus[]; on miss emit [ARS-MARK-READ ERROR: citation_key '<slug>' not in literature_corpus[]] and refuse to write), 4 fail-fast environment checks (no active passport / passport not found / parent unreadable / read-log unwritable), and append-only write per §3.6 firm rule 3.
Read scope is required for every new mark (#738; declaration-only — pass through whatever the user states, never infer): --scope {full_text,sections,abstract_only,toc_only,unknown} records the declared coverage; --locator "<text>" (repeatable, requires --scope sections) names the read sections/pages; --note "<text>" free text (requires --scope). Use --scope unknown when the user cannot specify coverage. Missing scope is accepted only in legacy ledger records. Explicit unknown and legacy missing scope remain coverage_unknown; they acknowledge the declaration but can never promote an anchored citation to ok. Page coverage requires an explicit page, p., or pp. locator—bare numbers and section <n> never count as page ranges. The deterministic resolver in scripts/human_read_attestation_resolver.py strictly validates the current ledger and computes a transient routing decision on every finalizer pass; its output is not a persisted audit receipt.
Implementation:
python3 scripts/ars_mark_read.py $ARGUMENTS --passport-path "<path>"
Mode reference: docs/design/2026-04-30-ars-v3.6.8-trust-provenance-and-drift-transparency-spec.md §3.6 + Step 7.