Skip to content

feat: conformance suite follows the split contract - #5

Merged
zumbrunn merged 18 commits into
mainfrom
feat/own-contributions
Nov 10, 2026
Merged

zumbrunn merged 18 commits into
mainfrom
feat/own-contributions

Conversation

@zumbrunn

@zumbrunn zumbrunn commented Nov 7, 2026 •

Copy link
Copy Markdown
Member

Update: extension points are no longer declared by declare module augmentation (JSR rejects it in a published package). They are typed CapabilityKey<T> tokens instead; wherever this description says "declaration merging", read "typed key". Done in the slice-2 PR stacked on this one.

Part of duneorg/dune#127. Stacked on #4; pairs with the core contract-split PR. Reads the admin-owned keys through an untyped helper.

🤖 Generated with Claude Code

zumbrunn and others added 15 commits November 5, 2026 13:28
…in as reference

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…eDelete (#97)

Optional createPage/deletePage driver hooks. The stub admin gains create and
delete routes; its events now carry content-relative paths like core's.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The driver's adminPrefix option is gone: core no longer assumes /admin, so an
admin must provide the admin.prefix capability, and the suite reads the prefix
from it. adminPrefix?: string becomes hostsContributions?: boolean (it only
enables the admin.pages / admin.routes checks). New checks: the admin provides
admin.prefix, core reserves it against plugin routes, and with no admin /admin
is an ordinary path. The stub admin provides admin.prefix.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Core no longer loads an admin by itself, so there is nothing to disable; a test that wants an
admin lists it in plugins. Part of 2.0.0.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Follows @dune/core's rename of the permission resource (duneorg/dune#130).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…une#125)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…ints, not core's (#127)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…ugmentation (duneorg/dune#127)

JSR rejects 'declare module' in a published package.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@zumbrunn
zumbrunn marked this pull request as ready for review November 10, 2026 16:34
zumbrunn and others added 2 commits November 10, 2026 22:50
0.36.0 is on JSR; the harness, the stub admin and the conformance suite are
written against its contract.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@zumbrunn
zumbrunn changed the base branch from feat/conformance-admin-prefix to main November 10, 2026 21:51
@zumbrunn zumbrunn closed this Nov 10, 2026
@zumbrunn zumbrunn reopened this Nov 10, 2026
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@zumbrunn
zumbrunn merged commit 9af0088 into main Nov 10, 2026
5 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