You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Found while implementing #9534. Reported rather than fixed: packages/plugins/plugin-audit/README.md is #9517's file and outside that card's pinned surface.
Background
#9517 rewrote plugin-audit's published README. Its old "See Also" section linked content/docs/kernel/runtime-services/audit-service.mdx as the reference for the audit service. While checking whether that link was safe to keep, the author measured the page's claims and found them wrong — it documented record() / 'set' | 'reset' (the settings sink) rather than the slot's real recordAuthEvent() / 'login' | 'logout'. PR #9531 therefore dropped the link rather than propagate a claim measured to be wrong, and filed the page's defect as #9534.
PR #9587 rewrites that page around the real slot: recordAuthEvent(event), action: 'login' | 'logout', canonical source packages/plugins/plugin-audit/src/auth-event-audit.ts. The README's own "The audit service slot" section (added by #9531) and the rewritten page now describe the same shape in the same terms, so the reason the link was dropped no longer holds.
⇒ Consider restoring the "See Also" pointer to /docs/kernel/runtime-services/audit-service.
Why it is not automatic
Two things deserve a decision rather than a reflex:
Blocked-by: #9534
Found while implementing #9534. Reported rather than fixed:
packages/plugins/plugin-audit/README.mdis #9517's file and outside that card's pinned surface.Background
#9517 rewrote plugin-audit's published README. Its old "See Also" section linked
content/docs/kernel/runtime-services/audit-service.mdxas the reference for the audit service. While checking whether that link was safe to keep, the author measured the page's claims and found them wrong — it documentedrecord()/'set' | 'reset'(the settings sink) rather than the slot's realrecordAuthEvent()/'login' | 'logout'. PR #9531 therefore dropped the link rather than propagate a claim measured to be wrong, and filed the page's defect as #9534.What to do once #9534 lands
PR #9587 rewrites that page around the real slot:
recordAuthEvent(event),action: 'login' | 'logout', canonical sourcepackages/plugins/plugin-audit/src/auth-event-audit.ts. The README's own "Theauditservice slot" section (added by #9531) and the rewritten page now describe the same shape in the same terms, so the reason the link was dropped no longer holds.⇒ Consider restoring the "See Also" pointer to
/docs/kernel/runtime-services/audit-service.Why it is not automatic
Two things deserve a decision rather than a reflex:
check:published-readme-symbols(added in ci: a published README's symbol claims are checked against the package's built exports #9546) now checks a published README's symbol claims against the package's built exports. Whether it has anything to say about an outbound docs-site link should be confirmed before adding one.organizationIdvisibility note, the settings-sink disambiguation). That is a judgment call for whoever owns the published README's scope, not a mechanical revert.Refs: #9517 · PR #9531 · #9534 · PR #9587