Closed Bug 2071293 Opened 2 months ago Closed 1 month ago

Add a check of what a docs page claims against the code to the documentation skill

Categories

(Developer Infrastructure :: AI for Development, task)

task

Tracking

(firefox160 fixed)

RESOLVED FIXED
160 Branch
Tracking Status
firefox160 --- fixed

People

(Reporter: dao, Assigned: dao)

References

Details

Attachments

(1 external file)

The skill covers how a page builds and how it renders, and nothing about whether what it says is true.

The case behind it: isRemotenessUpdate read as live in every SessionStore doc comment that mentioned it, and nothing writes it. That is the failure a high comment density hides, where each comment is locally accurate and collectively stale. The check is cheap to state: list every occurrence outside tests with searchfox-cli -q, the text search a JS name needs, and ask whether anything writes the thing rather than reads or forwards it.

It belongs in Core Principles, which has no item about the accuracy of the prose.

Assignee: nobody → dao+bmo
Status: NEW → ASSIGNED
Pushed by dgottwald@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/c8641a25d99b https://hg.mozilla.org/integration/autoland/rev/33bec123f2a8 Tell the documentation skill to check what a page claims against the code. r=sylvestre DONTBUILD
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 160 Branch

Authored by https://github.com/daogottwald
https://github.com/mozilla/enterprise-firefox/commit/c8641a25d99b4dc57715b11b7c59da69eb73ab94
[enterprise-main] Bug 2071293 - Tell the documentation skill to check what a page claims against the code. r=sylvestre DONTBUILD

(via GitHub webhook, authenticated as shared-secret)

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: