Repository navigation
Description
What
cmd/objectfs/main.go's version constant is the only authority for this project's version, and it reads 0.13.0. Two SDK manifests disagree and have never been updated:
sdks/python/setup.py:19—version='0.1.0'sdks/javascript/package.json:3—"version": "0.1.0"
Nothing gates either one. internal/config/sdk_metadata_test.go checks that SDK manifests name no unserved domain and that the Python documentation URL resolves in the repository, and lockfile_test.go covers dependency pinning — neither reads a version. So this has drifted for thirteen minor releases with a green tree the whole time, which is the same shape as the five files that once claimed five different versions and the reason CLAUDE.md now names one authority.
Why it matters, and why it is low priority
It is invisible today because neither SDK is published. It stops being invisible the moment one is: a package whose declared version does not move is a package no dependency resolver will ever upgrade, and it would be published as 0.1.0 against a 0.13.0 CLI.
The complication, which is not just a version string
The name objectfs on PyPI belongs to an unrelated project (pyvfs, 0.2.9), so the Python SDK cannot be published under that name as things stand. That makes this two questions rather than one:
- Do the SDK versions track the CLI version, or version independently? Tracking is simpler and matches how a single-repo SDK is usually consumed; independent versioning is defensible if the SDKs' API stability differs from the CLI's.
- What name does the Python SDK publish under, given
objectfsis taken?
(1) can be answered and gated now regardless of (2).
Acceptance
- Decide and record whether SDK versions track the CLI's
versionconstant. - If they track it, read it rather than restating it, and gate the agreement in
internal/config/— a version copied by hand has no way to be told it is stale, which is the whole reason this issue exists. - The PyPI name question can be split into its own issue; it blocks publishing, not versioning.
Activity
scttfrdmn commentedon Sep 19, 2026
Decision on the open question here, so this is actionable: SDK versions track the CLI's
versionconstant, read rather than restated, with a test asserting they agree.
Same discipline as
CHANGELOG.md's link refs, whichinternal/config/changelog_test.goalready checksagainst
cmd/objectfs/main.go's constant. One authority means these cannot drift to thirteen releasesbehind a second time, and
cmd/objectfs/main.gois already documented as the only authority for theversion — a number copied into a manifest has no way to be told it is stale, which is how
sdks/python/setup.py:19andsdks/javascript/package.json:3both still say0.1.0.Two notes for whoever implements it:
0.17.0intotwo more files. If a manifest format cannot be generated, the test that asserts agreement is the
substitute, and it has to be one CI runs — note that the JS SDK has never had a
tscjob, so a checkliving only in the JS toolchain would not run.
objectfson PyPI belongs toan unrelated project (
pyvfs0.2.9). That affects publishing, not versioning, and should be splitout rather than holding this up.
Not in v0.17.0 — that milestone is the read-only mount, tarball parity, and two changelog/parser gates.
Filing the decision now so this is ready to pick up.
scttfrdmn commentedon Sep 20, 2026
Question (1) is decided: the SDK versions track the CLI
versionconstantRecording the decision so the issue is actionable, since its acceptance criteria ask for exactly that
and the PyPI-name half cannot be fixed from this repository.
Decision.
cmd/objectfs/main.go'sversionconstant is the authority for the SDKs too. They donot version independently.
Why. Independent versioning is defensible when an SDK's API stability genuinely differs from the
CLI's, and here it does not: both SDKs are thin clients over the same surface, shipped from the same
commit, with no release cadence of their own and no compatibility matrix anyone maintains. Two
independent version lines would be two things to decide at every release and one more pair of numbers
that can silently disagree — which is the problem, not a fix for it. The one real cost of tracking is
that an SDK-only change still gets a minor bump it did not earn, and that is cheaper than a
resolver-visible version that never moves.
How, and this part is the whole point. Read the constant; do not restate it. A version copied by
hand has no way to be told it is stale — that is why this issue exists, why CLAUDE.md names one
authority, and why
changelog_test.gochecks the CHANGELOG's link refs against the constant ratherthan against a second copy. So:
sdks/python/setup.pyandsdks/javascript/package.jsonare the two places that have to end upagreeing.
setup.pyis Python and can read the constant at build time;package.jsonis data andcannot, so it is a restatement that must be gated rather than avoided.
internal/config/sdk_metadata_test.go, which already reads both manifests forthe unserved-domain and documentation-URL checks, next to
declaredVersion()inchangelog_test.gowhich already extracts the constant. No new file, no second regexp for thesame authority.
versionin a manifest and findsnothing must fail, not pass. Both manifests currently say
0.1.0, so the test will go red themoment it is written, and the fix is the same commit.
Note for whoever writes it:
sdks/javascripthas never compiled —tscreports errors and no CIjob runs it — so do not treat a green tree as evidence that a change to
package.jsonis consistentwith anything else in that directory.
Question (2) is still open and still not fixable here
The name
objectfson PyPI belongs topyvfs0.2.9. That blocks publishing, not versioning, andnothing in this repository can resolve it. Worth its own issue so this one can close on (1).
scttfrdmn commentedon Sep 20, 2026
The PyPI-name half is now split out as #542, which is the last item in this issue's acceptance criteria
that was still outstanding here. Verified before filing rather than restated from this issue's body:
Two things found while checking that are worth having here, because both narrow what this issue has left
to do:
sdks/javascript/package.jsondeclares@objectfs/sdk,and that scope is free on npm (404), as are
objectfsunscoped andobjectfs-sdk. So the JS half of apublish is unblocked on names.
objectfs-sdk,objectfs-client,py-objectfsandobjectfs-pyare all free on PyPI. Thedistribution name and the import package name are independent, so
pip install objectfs-sdkwithimport objectfsneeds no rename of any Python module.This issue is now purely the versioning gate:
setup.pyandpackage.jsonagreeing withcmd/objectfs/main.go'sversionconstant, read rather than restated, asserted ininternal/config/sdk_metadata_test.go. Both manifests still say0.1.0, so that test goes red themoment it is written and the fix is the same commit.