Skip to content

docs: replace stale unschedule rationale - #97

Merged
cardmagic merged 1 commit into
mainfrom
docs/replace-stale-unschedule-rationale
Nov 29, 2026
Merged

cardmagic merged 1 commit into
mainfrom
docs/replace-stale-unschedule-rationale

Conversation

@cardmagic

Copy link
Copy Markdown
Owner

Summary

 Cancelling an alarm that does not exist is not an error. `unschedule()` returns
-nothing, because it stages an intent rather than applying one, and an answer
-given at call time could be stale by the time the turn commits.
+nothing, because it stages an intent rather than applying one. `reminder()` and
+`reminders()` answer whether an alarm is present, including this turn's staged
+cancels and schedules.

Docs only, for the Docs remaining item on #37. No API, schema, type, or runtime change. The rest of the section is unchanged, including that a cancellation is staged and that a read already applies staged intents.

Evidence

  • Before: docs/api.md said unschedule() returns nothing because an answer given at call time could be stale by the time the turn commits.
  • After: That reason is gone. The paragraph still says cancelling a missing alarm is not an error, and that unschedule() returns nothing. It now says reminder() and reminders() answer whether an alarm is present, including this turn's staged cancels and schedules.
  • node scripts/check-documentation.mjs passes. prettier --check docs/api.md passes. No test asserted the old sentence.

Merge Danger

Door: two-way

Docs wording only. Revert restores the previous paragraph.

Blast Radius: docs

Keep that cancelling a missing alarm is not an error and that unschedule()
returns nothing. Drop the reason that an answer at call time could be stale
by commit. Document that reminder() and reminders() answer whether an alarm
is present, including this turn's staged cancels and schedules.

See #37
@greptile-apps

greptile-apps Bot commented Nov 29, 2026 •

Copy link
Copy Markdown

Confidence Score: 5/5 · This documentation-only change appears safe to merge.RetriggerView in GreptileConfidence Score: 5/5

[Low impact] This documentation-only change appears safe to merge.

Summary

Updates docs/api.md to replace the stale-at-commit explanation for unschedule() returning nothing.

  • The API guide explains how reminder reads show staged changes.

Reviews (1) · Last reviewed commit: "docs: replace stale unschedule rationale" · Reviewed by Greptile

@context7

context7 Bot commented Nov 29, 2026

Copy link
Copy Markdown

Docs7 for cardmagic/solid-objects-js

Result Status Action
Deployment ➖ Not used —
Content review ➖ Did not run. This site has no agent runs available this month. Wait for the monthly reset or check your Docs7 plan. —

Commit 8740e92

@cardmagic
cardmagic merged commit 1184fde into main Nov 29, 2026
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant