Repository navigation
docs(rfc): remove inaccessible internal requirement link from RFC 1614 - #2633
Conversation
RFC 1614 headers linked to an internal-only Yuque requirements document that external contributors cannot open. The Chinese version also named a customer while the English version did not. Delete the line in both locales so en/zh stay in sync. No contract or runtime change.
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.
|
Follow-up for reviewers — four things I intentionally did not decide on my own:
Net effect: two deleted lines, en/zh back in sync, no contract, runtime, generated-file, or index change. |
|
Scope update: this PR now also carries the prevention rules, so it is no longer just the two-line deletion from the first commit. The new commit adds 47 lines across four files, with no deletions:
Two consistency details:
This supersedes the earlier "Scope: only the two requirement-link lines are removed" note in this conversation. If maintainers prefer a narrower review, I can split the rule changes into a separate PR. |
|
Post-merge correction — please read this before using the PR as a reference. This PR was merged by The prevention-rules commit ( I have added a note at the top of this description pointing to #2634. The earlier "Scope: only the two requirement-link lines are removed" item in this conversation was, in fact, the accurate description of what got merged. |
Which issue or RFC does this PR close?
No tracking issue. This fixes a documentation defect in the already merged RFC 1614 (PR #1614, merged 2026-09-17) and adds repository rules that prevent the same class of defect from recurring. No contract or runtime behavior is affected.
Rationale for this change
RFC 1614 carried a header line in both locales that linked an internal requirement document:
docs/zh/rfcs/1614_topic_memory_generic_api_completion.md:14— a self-invented "business catalog" field whose link text named an external customer, pointing at an internal Yuque URL.docs/en/rfcs/1614_topic_memory_generic_api_completion.md:14— the same link under a "Business requirements" label, with the customer name already removed from the link text.The customer name and the full internal URL are deliberately not reproduced here, in line with the rule this PR adds. Maintainers who need the literal text can read the merged RFC and the file history.
Four problems, in decreasing order of severity:
The reference is not publicly reachable. The link points at
yuque.antfin.com, the Alibaba/Ant internal Yuque instance; fetching it returns a "欢迎使用内网语雀" login page requiring group SSO, so no external contributor can open it.docs/{en,zh}/rfcs/README.mddefines an RFC as a durable design record used to "build consensus" before implementation and asks authors to "write enough detail that someone other than the RFC author can implement the design". A public design record whose stated requirement source cannot be read gives the community no way to verify, challenge, or discuss the motivation — in practice a dead link.It discloses a named customer in one locale only. The Chinese header names a specific external customer; the English one is already sanitized to the generic "Memory requirements", so the same URL is presented differently to Chinese and English readers. A search of the public issue/PR corpus for that name returns 0 results, i.e. these documents were the only public exposure. Whether a customer name and an internal requirement may be published should be a deliberate decision, not a side effect of a technical RFC; the partial sanitization suggests it was not.
en/zh are out of sync, and the field is not part of the header contract.
docs/{en,zh}/rfcs/README.md:49requires the Chinese translation to be kept in sync with the English RFC. Both the field label ("Business requirements" vs "业务目录", which reads as "business catalog/directory", not "requirements") and the link text differ.0000_example.mdlists onlyProposal Name,Start Date, andRFC PR, and the README permits just one extra optional field,Tracking Issue. No other RFC uses a "业务目录" field, and the label does not describe what is linked (a single requirements document, not a catalog).The line adds no usable design information. All 14 sections describe generic Topic Memory APIs: request contracts, atomic publication, Scope authorization, and acceptance criteria. There is no customer-specific scenario, term, or acceptance item anywhere. Public technical provenance is already covered by the
Related implementationline (feat: unify artifact family reads and registration #1550) and §14 References (docs(rfc): propose topic memory artifacts #1417). Removing the line loses no design content.History: the line was introduced in
63d5f7791together with PR #1614 and survived the464cd152renumbering (2026-10-22). The merged PR body did not mention the requirement source, and the public PR record shows no inline, discussion, or review comments. It likely went unnoticed because the pre-commit config has no Markdown linter and the docs build validates in-site bilingual links rather than external reachability. RFC #1614's own AI usage statement says it was written with Codex assistance, so a rule that only human contributors read would not prevent a recurrence.This PR does not invent a replacement requirement source, quote internal content, or rewrite the RFC's Motivation. If the requirement needs to remain traceable, the appropriate path is a public GitHub issue describing the use case (as
docs/en/rfcs/README.mdsuggests under "Before creating an RFC"), which the RFC can then link. Open questions remain in the conversation for maintainers.What changes are included in this PR?
Fix (2 deletions):
docs/en/rfcs/1614_topic_memory_generic_api_completion.md.docs/zh/rfcs/1614_topic_memory_generic_api_completion.md.Prevention rules (47 insertions, no deletions):
CONTRIBUTING.md— a repository-wide rule in "Write Documentation": no external customer / user / partner names; no Ant Group / Alibaba internal or SSO-only links, in particularyuque.antfin.com/...; reference public GitHub issues, PRs, RFCs, or upstream docs instead; keepdocs/en/anddocs/zh/in sync, including redactions.AGENTS.md— a short "Public Documentation Content" section applying the same constraints to coding agents, since no such rule reached the tool that drafted RFC 1614.docs/en/rfcs/README.mdanddocs/zh/rfcs/README.md— matching new sections ("Public content and references" / "公开内容与引用规范"): the two prohibitions above, public-reference alternatives, a rule that header fields come only from0000_example.mdplus the optionalTracking Issue, and agit greppre-submit check for real internal URLs. Both locales are updated together.No API contract, generated file, runtime code, or RFC content outside the two deleted lines is changed.
docs/en/rfcs/meta.jsonuses a wildcard, so no index registration is needed.Are there any user-facing changes?
No. Documentation and contribution-rule changes only; no runtime, API, persisted-format, or generated-file change. Readers lose one link they could not open anyway. The RFC's design intent, acceptance criteria, and public references remain unchanged. Contributors and coding agents now have an explicit written rule for public content.
How was this change tested?
git diff --check— clean.git diff --numstat—0 1on each RFC 1614 file (no whole-file rewrite; blobs are LF while the worktree usescore.autocrlf=true, so the diff was checked against the blobs); the four rule files are insertions only, 47 lines total.grep -rn -E 'Business requirements|yuque\.antfin|业务目录' docs/{en,zh}/rfcs/1614_topic_memory_generic_api_completion.md— no match after the change; a separate check for the customer name also returns no match.docs/**/rfcs/foryuque|antfin— the two deleted lines were the only internal-domain references in any RFC.make docs-testwas not run: the isolated worktree has no installed website dependencies. The added links are one absolute GitHub URL and one same-directory relative link already used in the same file, so no new in-site link target is introduced. Happy to run the full gate if reviewers want it.AI usage statement
Investigation, the rule text, and this description were prepared with WorkBuddy (Tencent Hunyuan). Findings were verified against the repository,
git log/git blame, the GitHub PR/issue APIs, and a direct fetch of the linked URL. All edits were reviewed against the rendered diff before pushing.