Repository navigation
Refuse databases that require an unsupported extension, on every surface (ADR-083 §2) - #3426
Conversation
mstomar125
left a comment
There was a problem hiding this comment.
Automated pragmatic-code-review: REQUEST CHANGES (narrow; posted as a comment because GitHub blocks self-approval).
Review Type: Initial Review
Requirements Check
| # | Item | Status |
|---|---|---|
| 1 | required_extensions on database-settings: list of strings, default [], base bucket, survives retype |
✅ |
| 2 | Shared services carry a supported set that is empty in core | ✅ (SharedContext::supported_extensions(), fixed &[] outside cfg(test)) |
| 3 | Guard before any seed or write; FAILED_PRECONDITION with reason and ids; file byte-identical; daemon keeps serving (refused default included) |
✅ |
| 4 | "Not a security control" comments | ✅ |
| 5 | CLI exits non-zero with the module text; db list marks the database |
✅ |
| 6 | Tray marks the database | ✅ |
| 7 | Skill guidance | deferred to S5, out of scope |
| 8 | One display-name module | ✅ module. The ALLOWLIST half is deferred to S5 |
| 9 | Download-link pin | ✅ |
| 10 | Lookup by fixed id; immutable=1 vs mode=ro; no SqliteStore; guard before SqliteStore::new and the shape check |
✅ (placed even earlier, before the directory create/chmod) |
| 11 | Listing-time probe, no registry write; proto enum 3 and field 11 | ✅ (no mtime cache, which the spec made optional) |
| 12 | x-requires-extension-bin payload, status message from the module |
✅ |
| 13 | app-lib mapping | status_str, the status_to_command_error arm and the requiresExtension JSON are exact; "any database command … maps it the same way" is not met (finding 1) |
| 14 | No new pub parameter; #[cfg(test)] seam, test inside the daemon crate |
✅ |
| Tests 1–11 | ✅ | |
| Test 12 | deferred to S5 |
Checked and sound:
- Guard placement. It is the first statement of
build_database_services, so every open path passes through it. A refused open touches nothing on disk or in the registry. - Unrouted set. With
DbManagerLayerinstalled, every routed adapter resolves through the manager. The handlers that do not route touch only process-global state. Nothing is spawned. list()locks. Same order as before (registry, then open set); probes run with no lock held.- SQLite details.
SQLITE_USE_URIis compiled into libsql-ffi, and aREADONLYconnection cannot checkpoint. - Ratchet. Every product-name hit is in
extension_names.rs.
Findings
🟡 Important: some routed app-lib commands still turn the refusal into a raw tonic string
📁 app-lib/src/commands/import.rs:186-195, 247-256; app-lib/src/commands/onboarding.rs:416-420, 439-447, 529-533
- These commands (
import_markdown_file[s],get/set_local_identity,should_prompt_identity_backfill) route to the active database. They returnResult<_, String>through.map_err(|e| e.to_string()). - For a refused database the frontend therefore gets tonic's Display form,
status: FailedPrecondition, message: "…", details: [], metadata: …. That is neitherREQUIRES_EXTENSIONnor the module message. - Recommendation: render the module message at these sites, and correct the PR body's "every command" claim. Principle: one rendering path; ADR-083 §2 says every surface shows the same refusal.
🟢 Suggestion: an unreadable list on the boot default stops the daemon instead of refusing one database
📁 daemon/src/services/assembly.rs:356-367, 648-660
- A malformed
required_extensionsfails the reader, and that error is not aDatabaseRequiresExtensions, sonodespacedexits non-zero and its service manager restarts it in a loop. - Low likelihood: core validates the value on write, so it takes an extension bug or a manual edit.
🟢 Suggestion: Windows UNC paths break the guard
📁 core/src/db/required_extensions.rs:146-172
\\server\share\x.dbbecomesfile://server/share/x.db, and SQLite readsserveras the URI authority.- The
\\?\UNC\prefix is not handled either. - Add a test for the drive-letter and UNC forms.
🟢 Suggestion: repeated probe cost
info_forruns a fulllist()after every create, register, rename and set-default.- A refused database is re-probed on every routed request.
- The app's 2s token-stream retry loop keeps probing while a refused database is active. Each probe is cheap.
🟢 Nit: "writes nothing" is slightly overstated. mode=ro may create the -shm wal-index, though never the database or its WAL.
🟢 Nit: the unrouted set is public API that is only safe behind the routing layer. The doc comment states this precondition; consider making it structural.
🟢 Nit: dependency direction. REQUIRED_EXTENSIONS_FIELD lives in db:: but models::core_schemas and behaviors import it.
ℹ️ The slice's https://nodespace\.ai VERIFY grep matches pre-existing install.sh URLs that this diff did not introduce.
Recommendation: REQUEST CHANGES (narrow). Fix finding 1 and correct the PR body; the 🟢 items are optional.
Address review (3c5066d)Fixed
New tests, each mutation-checked:
Not changed
Re-review needed: yes. The change adds an error type and changes the reader and the boot fallback. |
mstomar125
left a comment
There was a problem hiding this comment.
Automated pragmatic-code-review: REQUEST CHANGES (narrow; posted as a comment because GitHub blocks self-approval).
Review Type: Re-Review (3c5066d)
Previous Review Summary: 7 recommendations.
- Addressed (5): the string-error commands, the unreadable boot default, Windows UNC, the "writes nothing" wording, and the constant's dependency direction.
- Declined with reason (2):
- Probe cost. The reasoning holds.
- Unrouted set as public API. Mostly holds, but see Nit 4.
- New issues: 1 🟡, 1 🟢 suggestion, 2 🟢 nits.
Verified correct:
status_messageis used at all seven routed sites. The other string-error sites go to unrouted services.RequiredExtensionsUnreadable::find_inworks through theget_or_opencontext. A transient failure is not sticky, and routed reporting is unchanged.- The shape check opens no hole: any
nodetable missingidorpropertiesis aSchemaMismatchbefore any DDL. - The Windows URI forms match SQLite's own (
file:////host/pathfor UNC). Tests are isolated, and no marker was added.
Findings
🟡 Important: the empty-authority file:// URI breaks relative paths on unix (a regression from this commit)
📁 packages/core/src/db/required_extensions.rs:153-182
rel/x.dbbecomesfile://rel/x.db?immutable=1, which SQLite rejects:invalid uri authority: rel.- Relative paths reach this code through
NODESPACED_DB_PATH,NODESPACE_HOMEandcreate --path. - Such a database now fails closed as
RequiredExtensionsUnreadable. - Recommendation: use
std::path::absolute(db_path)before building the URI, and add a relative-path test. Principle: a fail-closed guard must not fail on valid input.
🟢 Suggestion: a damaged default is now a steady state with an opaque error
📁 packages/daemon/src/db_routing.rs:74-78
e.to_string()gives clients only "opening database ".- Recommendation: include the cause chain for the unreadable case.
🟢 Nit: the docs of build_database_services, build_unrouted_services and open_default_database name only the extension refusal as the reason the default stays closed.
🟢 Nit: build_unrouted_services has no caller outside assembly.rs. Make it private and drop it from the re-exports.
Recommendation: REQUEST CHANGES (narrow). Only the 🟡 needs fixing.
Address re-review (3bbf307)Fixed
Not changed: nothing. Re-review needed: yes, a narrow one, because the URI path resolution and the routed message changed. |
mstomar125
left a comment
There was a problem hiding this comment.
Automated pragmatic-code-review: APPROVE (posted as a comment because GitHub blocks self-approval).
Review Type: Re-Review (3bbf307 only)
Previous Review Summary: 4 recommendations, all 4 addressed. New: 0 blocking, 2 🟢 nits.
- Relative paths: resolved.
std::path::absolutecomes before the URI is built.- It is lexical and needs no file access beyond
current_dir(). - On Windows (
GetFullPathNameW) every result has a drive, UNC or verbatim prefix, anduri_pathhandles each. - The new test is isolated (it only builds a path string, never changes the working directory) and fails without the fix.
- It is lexical and needs no file access beyond
- Opaque INTERNAL error: resolved. Only the
RequiredExtensionsUnreadablebranch uses{e:#}, and the refusal branch is still checked first.- The content is the user's own path and SQLite text, sent over the owner-only socket (ADR-052).
- Docs: resolved.
- Exposure: resolved.
build_unrouted_servicesis private and has no other reference.
Findings
🟢 Nit: 📁 packages/core/src/db/required_extensions.rs:202
use std::path::PathBuf;is used only by the#[cfg(unix)]test, so a Windows test build warnsunused_imports.
🟢 Nit: 📁 packages/daemon/src/services/assembly.rs:679
- The public
unrouted_services_if_default_refusedlinks the now-privatebuild_unrouted_services, which triggersrustdoc::private_intra_doc_links.
Recommendation: APPROVE
Address re-review (approve, with 2 nits)Both nits are fixed in the latest commit:
Neither changes logic, so no re-review is needed. The remaining work, the skill guidance and the ALLOWLIST entry with its checker test, waits for S5 (#3420) and will get its own review round. |
49169d4 to
6c3eb2d
Compare
mstomar125
left a comment
There was a problem hiding this comment.
Automated pragmatic-code-review: APPROVE (posted as a comment because GitHub blocks self-approval).
Review Type: Re-Review: c146769 (ALLOWLIST and checker test) and 6c3eb2d (skill guidance), the scope the previous approval deferred until after #3420.
Requirements Check
- ✅ Acceptance 7.
- Rows in both SKILL.md branches and in references/cli.md tell the agent to relay the CLI message verbatim with its download line, not to retry, never to touch the file, and to offer another database. No product name appears.
- The text matches
render_refusal/refusal_text,status_str,requirement_noteandinfo_to_json, and the MCP passthrough's stripping of the "Error:" prefix. - Both edits sit outside the GENERATED regions.
- ✅ Acceptance 8. ALLOWLIST is exactly
{file: "packages/proto/src/extension_names.rs", exempt: "NodeSpace Pro"}, and no other marker or rule changed. - ✅ Test 12.
- The entry is pinned, and the module counts without it.
- In the module, a bare
Pro, cloud wording and a command name still count; a broaderexemptwould fail. - The entry applies to no other file.
runInFixturestarting from an empty allowlist weakens nothing: the base's ALLOWLIST was[]. The declaration regex fails closed.
Findings
- 🟢 references/cli.md:
database usechanges the default for every client. Tell the agent to ask first, or drop the clause. - 🟢 references/cli.md: the JSON
refusalfield has the message only, without the download line. Say so. - 🟢 Nit: SKILL.md Branch 1 and Branch 2 verb lists differ ("copy").
- 🟢 Nit:
source.replace(declaration, replaced)interprets$patterns. Use() => replaced. - ℹ️ The slice's
https://nodespace\.aiVERIFY grep matches five pre-existing install/website links (also on main).
Recommendation: APPROVE
Address review (ALLOWLIST and skill round), 5188f78Fixed
Superseded
Not changed
Checks after the change
Re-review needed: no. No logic changed. |
…ts wire form packages/core/src/db/required_extensions.rs reads a database's required_extensions through a read-only SQLite URI (immutable=1 without a -wal file, mode=ro with one) and never opens a SqliteStore. The proto crate gains extension_names (display names, refusal message, download label and URL) and requires_extension (the FAILED_PRECONDITION status and its x-requires-extension-bin payload), and database_service.proto gains DATABASE_STATUS_REQUIRES_EXTENSION and DatabaseInfo.unsupported_extensions. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…mon opens it build_database_services reads the settings singleton's required_extensions through the read-only reader before it creates the directory or opens the store, and returns DatabaseRequiresExtensions for any id the context does not support. The supported set is empty in core; this crate's unit tests set a fixture set through a test-only SharedContext field. The routing layer turns the refusal into FAILED_PRECONDITION with the x-requires-extension-bin payload. DatabaseManager::list probes each closed database and reports DatabaseStatus::RequiresExtension with the unsupported ids, which DatabaseService carries as DATABASE_STATUS_REQUIRES_EXTENSION and unsupported_extensions, and the tray marks the entry. A refused default no longer stops the daemon: unrouted_services_if_default_refused builds the router's service values over a private in-memory store so the other databases stay served. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…tabases in database list run() rewrites an error whose chain carries the daemon's refusal into the shared refusal message and the download link, so every command routed to a refused database exits non-zero with the same text the app shows. database list prints the requires_extension status and what the database needs, and its JSON gains unsupported_extensions and the refusal message. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…top app's commands
CommandError gains requires_extension, serialized as requiresExtension
{ unsupportedExtensions, message, downloadLabel, downloadUrl } and rendered
by the shared display-name module. status_to_command_error maps the
daemon's refusal to code REQUIRES_EXTENSION, and every command that maps
statuses to codes of its own (collections, schemas, methodology,
embeddings, chat models, local agent, agent sessions) takes it first
through refusal_or. status_str reports DATABASE_STATUS_REQUIRES_EXTENSION as
requires_extension.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The database-settings schema declares required_extensions, an array of strings defaulting to [] and stored in the base bucket, so a seeded singleton carries an empty list and the value stays in place when the singleton is retyped to a subtype. DatabaseSettingsNodeBehavior rejects any value that is not a list of strings. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…an unreadable default from stopping the daemon - import and identity commands, which report failures as strings, show the shared refusal message through status_message instead of tonic's text. - A guard read failure is RequiredExtensionsUnreadable, and the boot fallback accepts it as it accepts a refusal, so a damaged or malformed default leaves the other databases served. - The reader leaves a node table of an unknown shape to the store's table-shape check instead of failing on a missing column, so a database from another version still reaches the incompatible-database flow. - The read-only URI uses an empty authority and handles Windows drive, verbatim and UNC paths, tested on every platform. - REQUIRED_EXTENSIONS_FIELD moves next to the schema that declares it, and the reader's doc says it may create the -shm index like any WAL reader. Not changed: listing probes stay uncached (each is one read-only open of a closed database), and the unrouted service set stays public because the nodespaced binary builds it; its doc states the routing-layer precondition. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…and report an unreadable database's cause - read_only_uri makes the path absolute first: a relative path in a URI with an empty authority reads as the authority, which SQLite refuses. - A routed request to a database whose requirements cannot be read gets the whole cause chain in its INTERNAL status, since the daemon keeps running with that database closed. - build_unrouted_services is private; unrouted_services_if_default_refused is the only way to it. - The docs of the open path, the unrouted set and open_default_database name both reasons the default stays closed. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…op a private doc link Co-Authored-By: Claude Opus 5.5 <[email protected]>
ALLOWLIST gains its one entry (ADR-081 section 8): the product name in packages/proto/src/extension_names.rs, and nothing else in that file. The checker tests pin the entry, show the module counts without it, show every other marker in the module still counts, and that the entry applies to no other file. Fixture runs of the copied checker start from an empty allowlist, since a fixture repository has no display-name module. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…extension SKILL.md's failure-recovery tables (shell and MCP branches) and the CLI reference describe the refusal the CLI prints and the requires_extension status database list shows: relay the message verbatim with its download line, do not retry, never move or edit the file, and offer another database. The guidance never names the product; the CLI's message does. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ecommendation The body test caps SKILL.md at ~5000 tokens; the rows now point to the CLI reference, which carries the detail. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…he download line comes from - references/cli.md: the agent asks the user before database use, which changes the default for every client, and knows the JSON refusal field carries the message without the download line. - The checker test's declaration replacement takes a function, so a dollar sign in an entry is never read as a replacement pattern. Co-Authored-By: Claude Opus 5.5 <[email protected]>
5188f78 to
24572c9
Compare
Part of #3413
Slice S6 of the required-extensions refusal (ADR-081 step 3, ADR-083 §2):
required_extensions, the daemon's open guard, the refusal through the proto, daemon, routing layer, CLI, tray and app-lib, and the single display-name module. The app's refusal view is slice S7, which codes against the contract below.Database reset: REQUIRED. The
database-settingsschema gainsrequired_extensions, and core seeds schemas only when they are missing. No backfill.Contract for S7 (app-lib → frontend)
A request routed to a refused database fails with a
CommandError:{ "message": "<refusal message>", // from extension_names::refusal_message "code": "REQUIRES_EXTENSION", "details": "FailedPrecondition", "requiresExtension": { "unsupportedExtensions": ["pro"], "message": "<refusal message>", "downloadLabel": "<download label>", // extension_names::DOWNLOAD_LABEL "downloadUrl": "https://nodespace.ai" // extension_names::DOWNLOAD_URL } }requiresExtensionis present only onREQUIRES_EXTENSION(skip_serializing_if), andconflictDatais absent on it. The Rust field isOption<Box<RequiresExtensionPayload>>: boxed only to keepResult<_, CommandError>small (clippyresult_large_err); the JSON is exactly the shape above.CommandErrorcommand checks for the refusal first:status_to_command_error(nodes, conflicts, …), the agent-session mapper (whose ownFAILED_PRECONDITIONarm would otherwise sayAGENT_NOT_READY), and the commands with codes of their own (collections, schemas, methodology, embeddings, chat models, local agent) throughrefusal_or. So whichever of these loads first, the frontend seesREQUIRES_EXTENSION.import_markdown_file[s],get_local_identity,set_local_identityandshould_prompt_identity_backfill, return the refusal message itself throughstatus_message, not tonic's debug text. They carry no code; their error shape is unchanged.list_databases: a refused database hasstatus: "requires_extension"(status_str). The DTO's key set is unchanged; the ids and text come from the error payload.commands/database.rs(list, create, register, set default, rename, remove) never open a database, so none of them can return the refusal.createrefuses an existing path, and a new file requires nothing.Acceptance (quoted from the slice) and where each is met
database-settingsschema declaresrequired_extensions: a list of strings, empty by default, stored in the base bucket so it survives a retype to a subtype.core_schemas.rs(array ofstring, default[],Coreprotection);DatabaseSettingsNodeBehavior::validaterejects anything but a list of strings.SharedContext::supported_extensions(), fixed empty in core. Only this crate's unit tests set a fixture set, through a#[cfg(test)]field.build_shared_servicesgains no parameter (Pro rebuild (after core release): finish core's extension points for typed subtypes, edge fields and Pro UI (ADR-082) #3414's versioned hook).required_extensions. If any entry is unsupported: the open fails withFAILED_PRECONDITION, reasonrequires_extension, and the unsupported ids; nothing is written to the file (a test checks the file is byte-identical); the daemon keeps serving other databases, including when the refused database is the registry default. The guard is the first statement ofbuild_database_services, before the directory step andSqliteStore::new, soget_or_open,create, the boot default and library callers all pass through it. A refused boot default no longer stopsnodespaced:unrouted_services_if_default_refusedgives the router an unrouted service set (below).core/src/db/required_extensions.rs,assembly.rs(DatabaseRequiresExtensions, the guard).nodespace db listmarks the database.nodespace_cli::runrewrites an error whose chain carries the refusal intorefusal_messageplusDOWNLOAD_LABEL: DOWNLOAD_URL.database listshowsrequires_extensionand appends(needs …);--jsonaddsunsupported_extensionsandrefusal.database_menu_entriesappendsextension_names::requirement(ids). The entry stays selectable, because the app it opens shows the refusal and its download link.SKILL.md/references/cli.mddescribe the new CLI error and thedb listmarker. They tell the agent not to retry, move or edit the file, and to tell the user the database needs [the paid product]. The SKILL.md drift check passes. Both branches of SKILL.md's failure-recovery table (shell and MCP) and the CLI reference's database section tell the agent to relay the CLI's message verbatim, download line included, which names what the database needs; the skill itself never spells out the product name. They also say not to retry or touch the file, and to offer another database. They describerequires_extensionand the JSON'sunsupported_extensions/refusal.skill:genchanges no generated region;skill:checkandbuild:skillpass.pro→ "NodeSpace Pro") and the download-link constant live in one module, which is the only entry inscripts/check-pro-boundary.ts's allowlist. It exempts only that string. The module ispackages/proto/src/extension_names.rs, andALLOWLISTholds exactly{ file: "packages/proto/src/extension_names.rs", exempt: "NodeSpace Pro" }. No other marker or rule in the checker changed.extension_names::tests::the_download_link_is_pinned.read_required_extensions(it usesjson_type, so a stored string is never mistaken for an array's text).DATABASE_STATUS_REQUIRES_EXTENSION = 3,repeated string unsupported_extensions = 11.DatabaseManager::listcopies the snapshot under its locks and probes each closed database outside them. The probe is not cached: the optional mtime cache was left out.x-requires-extension-bin= JSON {"reason":"requires_extension","unsupported_extensions":[...]} … status message = the module-rendered refusal text … CLI, tray and app-lib each render message, label and DOWNLOAD_URL from their own linked copy of the module.nodespace_proto::requires_extension::{status, unsupported_extensions}: one builder and one parser, gated on the code and the reason.services/required_extensions_tests.rs.A refused default keeps the daemon serving
The same holds when the guard cannot read the default's list (a damaged file, or a value that is not a list of strings):
RequiredExtensionsUnreadablefails that open closed, and the boot fallback accepts it like a refusal. Anodetable of an unknown shape is left to the store's own table-shape check, so a database from another version still reaches the incompatible-database flow.build_base_routertakes concrete service values, whichnodespacedtook from the default's set. BehindDbManagerLayer, every per-database handler resolves its database through the manager. The handlers that don't route (daemon version and memory, PTY sessions, the shared model catalog) serve only process-global state. So when the default is refused,build_unrouted_servicesbuilds those values over a private, uniquely named in-memory SQLite (file:…?mode=memory&cache=shared) with the shared PTY manager and local agent, and starts no background work. The default stays closed and its requests get the refusal; other databases,Createand the process-global handlers keep working. This differs from the table-shape refusal, which still stops the daemon.open_default_databasenow takes its registry and marker paths, so amain.rstest can drive it in a temp directory.Tests (each mutation-checked)
FAILED_PRECONDITION, reason and ids; the directory holding the file is byte-identical (nothing seeded, no marker, no rename). Moving the guard after seeding fails the byte checkdaemon/src/services/required_extensions_tests.rs::a_database_requiring_an_unsupported_extension_is_refused_untouched; reader-levelthe_list_is_read_from_the_settings_bucket_and_nothing_is_writtenhandle_create_schema+update_nodeto a fixture subtype is refused…::a_singleton_retyped_to_a_subtype_is_still_refused, readera_retyped_singleton_is_found_by_its_id…::a_requirement_only_in_the_wal_is_refused, readera_value_only_in_the_wal_is_read_without_touching_the_fileCreate, process-global RPCs; default byte-identical; no markerdaemon/tests/it/required_extensions_e2e.rs,main.rs::open_default_database_tests{fixture}opens a DB requiringfixture, refuses[fixture, other]naming onlyother…::a_supported_extension_opens_and_an_unsupported_one_is_refused[]in the base bucket, survives a retype, non-strings rejectedcore/tests/it/required_extensions_field_test.rs,behaviorsunit tests,core_schemaspin…::a_closed_never_opened_database_is_marked_in_the_listing,tray::tests::a_database_requiring_an_extension_is_marked,database_service::tests::listing_to_info_carries_the_refusalnodespacebinary exits non-zero with exactly the module text;database listand--jsonmark the DBcli/tests/it/requires_extension.rs,lib.rs::refusal_testsstatus_str,status_to_command_errorpayload JSON,refusal_or,status_message, agent-session mappingcommands::{nodes,database,agent_session}::testsnodeshape is left to the shape check; Windows drive, verbatim and UNC URI paths…::an_unreadable_database_is_refused_and_does_not_stop_the_daemon, readera_node_table_of_another_shape_requires_nothing,windows_drive_and_share_paths_become_uri_pathsproto/src/extension_names.rs,proto/src/requires_extension.rsscripts/check-pro-boundary.test.ts(real-repo hard ban)Absence checks build their expected text from the module (
refusal_message,requirement), never a literal.Ratchet
bun run scripts/check-pro-boundary.tsexits 0 with every marker at 0. TheproductNameandproWordinghits inpackages/proto/src/extension_names.rs, where the product name appears indisplay_name,DOWNLOAD_LABELand their pins, are hidden only by the one ALLOWLIST entry. Without the entry there are 7 hits for each marker; no other file in the diff hits any marker.🤖 Generated with Claude Code