Commit d693ba1
PR #9531 dropped this README's "See Also" pointer to the runtime-services audit
page because the page documented the settings sink (`record()` / `'set' | 'reset'`)
as if it were the `audit` slot. PR #9587 rewrote the page around the real slot, so
the omission's reason has stopped holding.
Restored because the page carries three things this README deliberately does not:
the slot's own failure posture (`recordAuthEvent` never throws; error once per
process then debug; row lost, nothing retries; silent no-op with no engine or no
`userId`), the event's field-by-field shape, and the settings-sink disambiguation
with its `TypeError` consequence. The README's own slot section states the
interface and the closed action union and stops there.
The restored line is not the removed line. That one was labelled "Audit Logging
Best Practices" — a guide the page has never been — and spelled
`/content/docs/.../audit-service.mdx`, which resolves for neither audience a
published README has: on npm and GitHub a root-relative href resolves against
npmjs.com / github.com, not the docs site. The replacement uses the absolute
`https://docs.objectstack.ai/docs/...` form that create-objectstack's published
READMEs already use.
The one pre-existing site-root-relative docs link in the same file is converted to
the same absolute form; its page and heading anchor both exist, only the spelling
was unfollowable off the docs site.
Claude-Session: https://claude.ai/code/session_01XqDQYVU5smx29ts9pAErja
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
1 parent 40fb55e commit d693ba1
2 files changed
Lines changed: 52 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
340 | 340 | | |
341 | 341 | | |
342 | 342 | | |
343 | | - | |
| 343 | + | |
344 | 344 | | |
345 | 345 | | |
346 | 346 | | |
| |||
394 | 394 | | |
395 | 395 | | |
396 | 396 | | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
0 commit comments