Repository navigation
fix(star): its data lives under devlore/, like writ's - #921
Merged
Merged
Conversation
star is one of devlore's products, and its config and cache already said so; its data did not. The user scope becomes ~/.local/share/devlore/star/extensions, the system scope /usr/local/share/devlore/star/extensions, the self install target <prefix>/share/devlore/star/extensions, and the release archive share/devlore/star/extensions. Each old path is probed after its replacement so a machine holding both prefers the new one, and nothing breaks before writ redeploys or star is reinstalled; they go in #920. The design doc gains the model this settles: scopes come from star -- project, user, system, with embedded as packaging -- ownership comes from writ, and a repository's maintainer chooses which scope their extensions inhabit. It also corrects project scope's description: the root is found by walking up for .git, not read from an environment variable named GIT_WORKSPACE_ROOT, which does not exist.
This was referenced Sep 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Lane 15 of NobleFactor/noblefactor-ops#217, pass 1 of two. star is one of devlore's products, and its config and
cache already said so --
~/.config/devlore/config.d/star.yaml,~/.cache/devlore/star-- while its data sat besidedevlore/rather than in it.~/.local/share/star/extensions~/.local/share/devlore/star/extensions/usr/local/share/star/extensions/usr/local/share/devlore/star/extensionsself installtarget<prefix>/share/star/extensions<prefix>/share/devlore/star/extensionsshare/star/extensionsshare/devlore/star/extensionsEach old path is still probed, after its replacement, so a machine holding both prefers the new one and nothing
breaks before writ redeploys or star is reinstalled. Pass 2, #920, removes them.
Project scope does not move. A repository's own
star/extensionsis build tooling:make generatecallsstar devlore actions generate, andknowledge-extract.yamlcallsdevlore knowledge extract, both from a barecheckout with nothing deployed.
The design document gains the model this settles (
docs/architecture/star-extensions.md): scopes come from star-- project, user, system, with embedded as packaging -- ownership comes from writ, and a repository's maintainer
chooses which scope their extensions inhabit. It also drops a fiction: the Search Path table described project scope
as
${GIT_WORKSPACE_ROOT}, an environment variable that does not exist. The root is found by walking up for.git.Next, and required for the live path: a noblefactor-ops PR moves the base layer's
com.noblefactor.ops.GitHubtoHome/common/.local/share/devlore/star/extensions, thenwrit deploy.Test plan
make vet,make lintandmake testpassmake dist-all PLATFORM=linux/arm64: 26 files, three binaries and 23 extensions atshare/devlore/star/extensions, nothing at the old layout, and the recipe's own check passedself installplaced 23 files at the new path and none at the old; withXDG_DATA_HOMEpointed at the prefix'sshare,star devlore --helpresolves through the new user probescope is absent outside a repository
Plan: docs/plans/fix/918-star-data-under-devlore.md
Resolves #918
Time
Computed by the algorithm of noblefactor-ops#188 at merge.