Repository navigation
feat: hold the NSGo kit, workspaceui, as a second module - #70
Merged
Merged
Conversation
workspaceui is the kit that frostyard's NSGo apps build their windows from: a shell with a navigation sidebar and side panels, a file explorer, a conversation view, a notice and a few surfaces. It moves here from frostyard/pocketgo (desktop/workspaceui/v0.1.0-rc.1, commit 1ad8d75), unchanged but for its module path, github.com/frostyard/frostui/workspaceui. The files' history stays in pocketgo. The module imports the standard library and NSGo only, held by a test in it, and shares no code with the MyGo kit at the root. Every gate of make verify and make ci runs in both modules. The module has a tag series of its own (workspaceui/vX.Y.Z, make bump-workspaceui), and make bump now reads only v* tags: svu stops on a workspaceui/v* tag otherwise. ADR-0014 records the module, its import rule, its tags and the look the owner chose for it on 2026-11-24. The spec holds what the module draws today, and the plan orders the themes and the parts.
7 tasks done
frostyard-machines
approved these changes
Nov 24, 2026
This was referenced Nov 24, 2026
Merged
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
Adds
workspaceui/, a second Go module (github.com/frostyard/frostui/workspaceui): the kit that FrostMail, Frostnotes and PocketGo build their NSGo windows from. It moves here from frostyard/pocketgo (desktop/workspaceui/v0.1.0-rc.1, commit1ad8d75), unchanged but for its module path. The package keeps its name, so each app's switch is an import-path change. The files' history stays in pocketgo, since this repository merges by squash.This is Phase 0 of the kit's plan, the kit's share of frostyard/frostmail's plan 0016 (a shared look for the NSGo apps). No part of the look is built here.
MODULESlists the root andworkspaceui, and every step ofmake verifyandmake ci(tidy, vet, lint, tests, js/wasm tests, race, cross-build) runs in each. The workflow file is unchanged: its jobs callmake ciandmake cross.make bump-workspaceuitagsworkspaceui/vX.Y.Zfrom the Conventional Commits that touchedworkspaceui/.make bumpnow passes--pattern 'v*'.AGENTS.md, the README, Dependabot and the risk paths name the second module.After the merge, the maintainer tags the module:
make bump-workspaceui VERSION=workspaceui/v0.1.0. The first tag is named because svu has no earlier tag to count from. The three apps then take the new import path.Risk tier
Risk tier: 3 — the change matches L1 and L2 paths.
Matched paths, and why each change is safe:
.svu.yml(L1):tag.patterngoes from""to"v*", with a comment. The root's tags all matchv*, so the root's next version is computed from the same tags as before. The installed svu (v1.12.0) does not read this file; the Makefile passes the same pattern as a flag.Makefile(L2):goand lint step is wrapped in a loop overMODULES := . workspaceui. For the root the commands are the ones that ran before.bumpgains--pattern 'v*'and stops if svu fails. Without the pattern, svu fails once aworkspaceui/v*tag exists (could not get current version from tag: 'workspaceui/v0.1.0': Invalid Semantic Version).bump-workspaceuiis new. It refuses a version that is notworkspaceui/vMAJOR.MINOR.PATCHand a tag that exists. Agents never run either target.workspaceui/v0.2.0), a malformed and a repeated version refused, and the root'sbumpgivingv0.11.0beside the kit's tags..github/risk-paths.json(L2): 3 entries added (workspaceui/go.mod,workspaceui/go.sum,workspaceui/imports_test.go), all L2. No entry is removed or lowered.workspaceui/go.mod,workspaceui/go.sum(L2, new): the module requires NSGo v0.3.0 directly and nothing else; the files are pocketgo's at the tag, with the module path changed. The root'sgo.modandgo.sumare unchanged, so no app that imports the MyGo kit takes a new requirement.workspaceui/imports_test.go(L2, new): the guard of the module's imports and its one direct requirement.A consequence to know (ADR-0014): a commit under
workspaceui/also counts toward the root's next version, since.svu.ymlreads every directory.Docs housekeeping
TEMPLATE.mddocs/README.mdVerification
make verifygreenmake ci BASE=origin/maingreen on the host (2026-11-24): both modules pass the tests, the js/wasm tests, the race detector and the cross-build of all 7 targets; it ends==> ci passed.