Skip to content

Show each database adapter and the cancel call - #76

Merged
cardmagic merged 2 commits into
mainfrom
docs/agent-guide-names
Oct 15, 2026
Merged

cardmagic merged 2 commits into
mainfrom
docs/agent-guide-names

Conversation

@cardmagic

Copy link
Copy Markdown
Owner

Summary

The agent guide showed only the SQLite import and never named unschedule(). In the Track B v8 evaluation, three Claude Code sketches used names that do not exist: postgres from solid-objects/database/postgres (two answers) and this.cancelReminder() (one answer).

Changes

  • docs/agents.md, step 4: a table with the import path, the call, and the driver for SQLite, PostgreSQL, and MySQL.
  • docs/agents.md, step 6: the rules show this.unschedule("expire", { key: buyer }), and the mistakes table lists both invented names with the correct form.
  • test/agent-guide.test.ts: fails when the guide does not name the import path of each server database adapter that package.json exports, or does not show the cancel call.
  • CHANGELOG.md: an Unreleased entry.

The Ruby pull request for the reminder guide is cardmagic/solid-objects-ruby (docs/reminder-cancellation).

Compatibility

Documentation and a test only. No code change.

Validation

  • The two new tests failed before the change and pass after it.
  • pnpm run check, pnpm run format:check: pass.
  • pnpm test: 77 files, 678 tests pass, 32 skipped.

The agent guide showed only the SQLite import and never named
unschedule(). In the Track B evaluation, Claude Code sketches imported
postgres from solid-objects/database/postgres and called
this.cancelReminder(). Neither name exists.

The guide now has a table with the import path, the call, and the
driver of each SQL database adapter. The rules show
this.unschedule("expire", { key: buyer }), and the mistakes table
lists both invented names with the correct form. A new test fails when
the guide does not name the import path of each server database adapter
that package.json exports.
@context7

context7 Bot commented Oct 15, 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 66cf87d

@greptile-apps

greptile-apps Bot commented Oct 15, 2026 •

Copy link
Copy Markdown

RetriggerView in GreptileConfidence Score: 5/5

[Low impact] The PR appears safe to merge; both previous findings are fixed and no new actionable issues were found.

Summary

The guide now names each SQL adapter's import, call, and driver, and shows how to cancel reminders with unschedule().

  • Agents can compare the three database adapters in one place.
  • Agents can cancel a reminder by its operation and key.

No new actionable issues were found.

Reviews (2) · Last reviewed commit: "test: require each server database adapt..." · Reviewed by Greptile

Comment thread test/agent-guide.test.ts Outdated
Comment thread test/agent-guide.test.ts Outdated
The test listed today's three adapters, so a new server adapter would pass without a mention in the guide. It now selects each database export that is not a browser WebAssembly adapter, and the export type is concrete.
@cardmagic

Copy link
Copy Markdown
Owner Author

@greptileai Please review the current head 66cf87d. Both findings are corrected: the export type is concrete, and the test selects each database export that does not end with -wasm, so a new server adapter must appear in the guide. The redis job on the previous head failed on a refused image pull (Docker pull failed), not on a test.

@cardmagic
cardmagic merged commit 91c75a8 into main Oct 15, 2026
51 of 56 checks passed
@cardmagic cardmagic mentioned this pull request Oct 15, 2026
@cardmagic
cardmagic deleted the docs/agent-guide-names branch October 15, 2026 03:31
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