Repository navigation
Remove the extension API version, its snapshot, push check and release-notes section - #3657
Conversation
|
Review round 1 Verdict: approve with one coverage gap to close (non-blocking if you judge it acceptable). Net positive; matches #3651's acceptance criteria. Verified
Findings
Re-review: only if finding 1 is fixed in a way other than the suggested one; otherwise a quick check of the added test is enough. |
|
Review round 1 (addendum): finding 0, which I missed above. The grep criterion is not met. Comments still describe a versioned extension API, so "no remaining mention of the version" is not true in spirit even though the exact tokens are gone:
Please reword these to match ADR-082 §8 (no version, no compatibility promise). Re-review: only a quick check of these edits plus finding 1. |
|
Address review round 1
Full frontend suite 5851 pass, eslint and svelte-check clean, cargo fmt clean. |
|
Review round 2 Verdict: approve. Both round 1 items are closed; nothing further needed. Checked (last commit only)
Nit, non-blocking: the |
|
Merge queue: #3657 was taken out of the queue — it conflicts with main in: CLAUDE.md. Merge or rebase origin/main, resolve the conflicts, push, and re-run |
de79aeb to
4e5f7e2
Compare
|
Rebased onto current main ( 🤖 Generated with Claude Code |
…e-notes section Extension points carry no version (ADR-082 section 8, as amended). Deletes EXTENSION_API_VERSION (TypeScript and Rust), NodespaceExtension.apiVersion and its registration check, the host API surface snapshot with its test and helper, the version-agreement test, scripts/check-extension-api-version.* and its gate hook, and the Extension API release-notes section. Every extension point and fixture test stays; the no-export-star rule for the host API moves into the boundary test. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…t still called the API versioned Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
4e5f7e2 to
4f5e9bc
Compare
Closes #3651
Implements ADR-082 §8 as amended 2026-10-05: extension points carry no version; a change reaches the consuming build through its core pin.
Changes
EXTENSION_API_VERSION(TypeScriptui-extensions.ts, host API re-export, Rustapp-lib/src/extensions/mod.rsand its re-export) and the Rust "is two six" pin test.NodespaceExtensionhas noapiVersion; registration no longer checks it. A duplicateidis still refused.extension-api-surface.test.ts,extension-api-surface.ts,extension-api-version-agreement.test.ts, and the snapshot-only helpers insource-scan.ts.scripts/check-extension-api-version.{ts,test.ts}and itstest-gate.tshook.scripts/release.tsno longer writes an "Extension API" section (generated or appended to--notes);release.test.tsfollows.extension-api/index.tsheader no longer describes a compatibility policy; it keeps the import-boundary statement.export *" rule used to be enforced by the surface test; it now has its own test inextension-api-boundary.test.ts.CLAUDE.mdupdated.Verification
bun test scripts/: 1422 pass.bun run scripts/check-pro-boundary.ts: clean. Full frontend suite (bun run --cwd packages/desktop-app test): 5850 pass. eslint + svelte-check: 0 errors.quality:scripts:checkclean.cargo fmt --check, clippy (-D warnings -D clippy::unused-async,--all-targets) on nodespace-core, nodespace-app-lib, nodespace-daemon; fixture tests pass (app-lib extensions 30, window_capability 3, core fixture_tests 13, daemon extension_points_fixture 7).buildReleaseCreateArgs({version: "1.2.3"})yields the downloads/installation notes plus--generate-notes, no Extension API section;bun scripts/release.ts --helpruns.export * from './ui'toextension-api/testing.tsmakes it fail; restored, it passes.grepfor the version, snapshot,UPDATE_EXTENSION_API_SURFACEandWATCHED_PATHSis empty outside git history.Documentation
CLAUDE.mdComponent Architecture paragraph and gate description updated here.🤖 Generated with Claude Code