Skip to content

Match local object listings by lexical key prefix - #78

Merged
Jason-Doyle merged 4 commits into
mainfrom
experiment/local-lexical-prefix-listing
Dec 6, 2026
Merged

Jason-Doyle merged 4 commits into
mainfrom
experiment/local-lexical-prefix-listing

Conversation

@Jason-Doyle

@Jason-Doyle Jason-Doyle commented Dec 5, 2026 •

Copy link
Copy Markdown
Owner

Change

Match LocalObjectStore.list(prefix) by lexical key prefix rather than
assuming the prefix names a directory. Partial names, same-prefix siblings
and exact files become eligible; prefixes beneath files return no descendants.
Append / when a directory boundary is intended.

Traversal begins at the relevant parent and prunes unrelated subtrees.
Existing local path validation/aliases, reserved staging filtering, namespace
boundaries, sorted relative results and read-only behaviour remain.
Only src/stores.ts changes in production. No write, locking, cache,
storage/encryption format, API, option, dependency or cloud adapter changes.

Parent-path lookup still follows host filesystem casing and cannot represent
all cloud key sets. This is canonical-key prefix parity, not complete
filesystem/cloud equivalence.

Evidence

Qualification report, exact tables, graphs and raw native evidence

  • Initial protocol f739a8d preceded production edits. Authoritative
    clarification 282b4a5 and identity/format preflight preceded source
    freeze 7b7047a and the sole scored comparison.
  • All 28 candidate contracts pass versus 12/28 historically. Twelve complete
    root/directory controls retain measured work and state.
  • Independent verification rebuilds both complete seven-module Node API
    graphs/common native observer, checks 172 frozen inputs, exactly replays
    all 56 observations and validates every CSV cell, graph bar and native binding.
  • All 52 focused real-filesystem cases, 247 related cases in twenty files,
    repository/Studio/Worker and fixture types, package/packed-consumer checks
    and 28 complete built local-provider probes pass. Five existing
    platform-conditional skips remain. Historical focused substitution passes
    34 and fails eighteen targeted expectations.

Merge-worthiness: 91/100. All gates and review remain mandatory, including
all new candidate functional cases in normal Linux CI and full CI/CodeQL on
this exact publication head.

Costs and limits

Correct listings add sixteen native directory enumerations in the controlled
Windows corpus (44 to 60), with more returned entry metadata. These are native
interface counts, not physical IOPS, CPU, heap, throughput, latency, cloud
requests or production-incidence measurements.

No matched Linux/cloud performance campaign or browser qualification is
claimed. Listings do not become transactional snapshots, cross-process locks
or a new symlink/security boundary. Parked P26/P24/P22/P19/P7 stay unchanged.
Documentation, changelog and website discovery describe the changed prefix
interpretation, traversal costs and host limits.

Publication-head checks

On bd30e9d3377389bb7aafe01b7e369a400ef4e551,
normal Linux CI
passes all 23 steps on its first attempt with Node 22.23.5. All 52 new
candidate functional cases run. CI records 1,301 unit, 1,225 browser and 17
site passes, with unchanged existing conditional skips at 3/2/1.
The supported-Node site build, package/scaffold checks, both container
runtimes and Helm/kind/Kubernetes smoke also pass.

CodeQL
passes both jobs and all 20 steps on its first attempt. All four checks
succeed on the exact publication head. Human review and merge remain required.

@Jason-Doyle
Jason-Doyle merged commit 43255db into main Dec 6, 2026
4 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