Skip to content

Commit 60a25ed

Browse files
committed
chore: migrate hyphence go module to code.linenisgreat.com (go/v0.3.0)
github.com/amarbel-llc/hyphence/go -> code.linenisgreat.com/hyphence/go, following hyphence's forge-canonical rename (tag go/v0.3.0). Mechanical rewrite via bin/rename-go-module.bash: go.mod require line, the internal hyphence facade's doc comment + import, and the gomod.nix goFlakeInputs bridge key (RFC 0001) — verified no old-path references remain outside generated files. - go.mod: hyphence bumped to code.linenisgreat.com/hyphence/go@v0.3.0 via `go mod edit -require=...` (proxy pre-flight on a just-tagged module is unreliable per the playbook). - go.mod: madder bumped to c52fe2e (`go get .../madder/go@c52fe2e`), the first master rev requiring hyphence's new path — madder's own module path is not renamed yet, so this stays github.com/amarbel-llc. `go mod tidy` confirms no lingering old-path hyphence anywhere in the graph (go.sum clean). - flake.lock: `nix flake update hyphence madder` (only these two root inputs touched — verified via node diff). hyphence's bump introduced a langlang (rust guest-filter) subtree with its own tap->crane/ rust-overlay chain, colliding with dodder's own tap input and doubling the lock (crane_2/rust-overlay_2). Added deep-follows lines in flake.nix collapsing hyphence's nested tap onto dodder's own tap, mirroring the exact shape madder already uses for the same collision. - go/gomod2nix.toml: regenerated via `just go/build-nix-gomod`. - `nix fmt`: no further changes (no import-order churn this time). - Full gate (`just`: lint + build + test, incl. bats) green. Follows docs/plans/2026-07-19-go-module-rename-playbook.md. 🤡 Generated with Clown 0.3.22+dirty (https://code.linenisgreat.com/clown/commit/dirty)
1 parent 6f6d14e commit 60a25ed

7 files changed

Lines changed: 128 additions & 29 deletions

File tree

flake.lock

Lines changed: 106 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,12 @@
100100
madder.inputs.doppelgang.follows = "hyphence/doppelgang";
101101
hyphence.inputs.conformist.follows = "conformist";
102102
bats.inputs.conformist.follows = "conformist";
103+
# hyphence's langlang subtree (rust guest-filter tooling) brings its own
104+
# tap -> crane/rust-overlay chain, colliding with dodder's own tap input
105+
# and doubling the lock (crane_2/rust-overlay_2). Collapse onto dodder's
106+
# tap, mirroring madder's exact deep-follows shape (madder flake.nix).
107+
hyphence.inputs.langlang.inputs.tap.inputs.crane.follows = "tap/crane";
108+
hyphence.inputs.langlang.inputs.tap.inputs.rust-overlay.follows = "tap/rust-overlay";
103109
};
104110

105111
outputs =

go/go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ go 1.26.2
44

55
require (
66
code.linenisgreat.com/chrest/go v0.2.0
7+
code.linenisgreat.com/hyphence/go v0.3.0
78
filippo.io/age v1.3.1
89
github.com/DataDog/zstd v1.5.7
9-
github.com/amarbel-llc/hyphence/go v0.2.0
10-
github.com/amarbel-llc/madder/go v0.4.5-0.20260714015804-a00d07019f6f
10+
github.com/amarbel-llc/madder/go v0.4.5-0.20260719151456-c52fe2e87c76
1111
github.com/amarbel-llc/piggy/go v0.0.0-20260714014714-8bebeaa66dca
1212
github.com/amarbel-llc/purse-first/libs/dewey v0.4.2-0.20260714012913-f3ad3d58f150
1313
github.com/amarbel-llc/purse-first/libs/go-mcp v0.4.2-0.20260714012913-f3ad3d58f150

go/go.sum

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ c2sp.org/CCTV/age v0.0.0-20251208015420-e9274a7bdbfd h1:ZLsPO6WdZ5zatV4UfVpr7oAw
22
c2sp.org/CCTV/age v0.0.0-20251208015420-e9274a7bdbfd/go.mod h1:SrHC2C7r5GkDk8R+NFVzYy/sdj0Ypg9htaPXQq5Cqeo=
33
code.linenisgreat.com/chrest/go v0.2.0 h1:o5lIoM6m+Hws0ULs3iFT3tj2PJXiPsiapZP3ugw8088=
44
code.linenisgreat.com/chrest/go v0.2.0/go.mod h1:3xI6Y3R4KV0YQ6Y90f/StWj/KxXh2FryH7JGg2wkatw=
5+
code.linenisgreat.com/hyphence/go v0.3.0 h1:FpQ0ROPDmTGyU1F4Pqnp11Hzj4IutDaVCaMJcr+e7sk=
6+
code.linenisgreat.com/hyphence/go v0.3.0/go.mod h1:i3VFG2dtPRi9a5i86CwRjOT3FXnCwmf2aNFp+mXfZuM=
57
filippo.io/age v1.3.1 h1:hbzdQOJkuaMEpRCLSN1/C5DX74RPcNCk6oqhKMXmZi0=
68
filippo.io/age v1.3.1/go.mod h1:EZorDTYUxt836i3zdori5IJX/v2Lj6kWFU0cfh6C0D4=
79
filippo.io/edwards25519 v1.2.0 h1:crnVqOiS4jqYleHd9vaKZ+HKtHfllngJIiOpNpoJsjo=
@@ -14,10 +16,8 @@ github.com/MakeNowJust/heredoc v1.0.0 h1:cXCdzVdstXyiTqTvfqk9SDHpKNjxuom+DOlyEeQ
1416
github.com/MakeNowJust/heredoc v1.0.0/go.mod h1:mG5amYoWBHf8vpLOuehzbGGw0EHxpZZ6lCpQ4fNJ8LE=
1517
github.com/akutz/memconn v0.1.0 h1:NawI0TORU4hcOMsMr11g7vwlCdkYeLKXBcxWu2W/P8A=
1618
github.com/akutz/memconn v0.1.0/go.mod h1:Jo8rI7m0NieZyLI5e2CDlRdRqRRB4S7Xp77ukDjH+Fw=
17-
github.com/amarbel-llc/hyphence/go v0.2.0 h1:ePR9yMwweItA8bV82oTymivBu6hb4xG4z1DunNY8n6M=
18-
github.com/amarbel-llc/hyphence/go v0.2.0/go.mod h1:b3YPbL1BNkdt4doHdGz3g9I3KPWZUc9VW21LkH74aUI=
19-
github.com/amarbel-llc/madder/go v0.4.5-0.20260714015804-a00d07019f6f h1:HF4oSuaK9Y7/z/M/3FirKpcEl8KEBPQ+t4EMwSKDIwA=
20-
github.com/amarbel-llc/madder/go v0.4.5-0.20260714015804-a00d07019f6f/go.mod h1:7IQRVTlhc83+MVTK2S+2y3pDsCQOiWcbqFpTr1gUwk0=
19+
github.com/amarbel-llc/madder/go v0.4.5-0.20260719151456-c52fe2e87c76 h1:Omf/Gu2K5LuOWD7xwDqMJtioMrXste/56RzxJT6erYE=
20+
github.com/amarbel-llc/madder/go v0.4.5-0.20260719151456-c52fe2e87c76/go.mod h1:nXeF/Wn5J3iTe4uNT8AhI325p/dzyUQyo7X/nEthdt8=
2121
github.com/amarbel-llc/piggy/go v0.0.0-20260714014714-8bebeaa66dca h1:6ubdBBoC+NMZ7shnygEd8IO8cmlApDErfnWUQo5+wXI=
2222
github.com/amarbel-llc/piggy/go v0.0.0-20260714014714-8bebeaa66dca/go.mod h1:KR34AXASubIX4VLxJwP89kw18gbyp8kYXUzpfl25s9M=
2323
github.com/amarbel-llc/purse-first/libs/dewey v0.4.2-0.20260714012913-f3ad3d58f150 h1:Ybda8H6I+7RnVjJU72yhwkulDig6fk3y5CYVdBcl690=

go/gomod.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
src = madder.packages.${system}.go-pkgs;
7979
};
8080
# hyphence scopes its go-pkgs at /go (like madder), so no subPath.
81-
"github.com/amarbel-llc/hyphence/go" = {
81+
"code.linenisgreat.com/hyphence/go" = {
8282
src = hyphence.packages.${system}.go-pkgs;
8383
};
8484
# piggy owns the markl-id framework (piggy#183 inversion). Its

go/gomod2nix.toml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ schema = 3
66
hash = 'sha256-CLvwe2enGTp7VMduNfiFG1ue87H6MOd9llTmxX+df70='
77
goVersion = '1.26'
88

9+
[mod.'code.linenisgreat.com/hyphence/go']
10+
version = 'v0.3.0'
11+
hash = 'sha256-O6G/2ZXT7JfOrKZISKoxpGTThHG/vQh5JQIfL/ImGoE='
12+
goVersion = '1.26'
13+
914
[mod.'filippo.io/age']
1015
version = 'v1.3.1'
1116
hash = 'sha256-Qs/q3zQYV0PukABBPf/aU5V1oOhw95NG6K301VYJk8A='
@@ -30,14 +35,9 @@ schema = 3
3035
version = 'v0.1.0'
3136
hash = 'sha256-WOs/RQYjQbn41ui8ztHgWSd4jxydE+fvIrl/0dmHD9Y='
3237

33-
[mod.'github.com/amarbel-llc/hyphence/go']
34-
version = 'v0.2.0'
35-
hash = 'sha256-MUI7bEdFr6OMHwzxs/DIjyin+37B4pfs3ICzEWaQwyw='
36-
goVersion = '1.26'
37-
3838
[mod.'github.com/amarbel-llc/madder/go']
39-
version = 'v0.4.5-0.20260714015804-a00d07019f6f'
40-
hash = 'sha256-bxi1Rc/CUEuE+zBVKbSFRNrD3BQlueZ+5K1ACNvMiMg='
39+
version = 'v0.4.5-0.20260719151456-c52fe2e87c76'
40+
hash = 'sha256-F2fk6Z8P1Q4gUFdZp8a/dGtGzVCLHwYSP6ChE3Qzlfk='
4141
goVersion = '1.26'
4242

4343
[mod.'github.com/amarbel-llc/piggy/go']

go/internal/0/hyphence/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Package hyphence is dodder's facade over the external hyphence format
2-
// library (github.com/amarbel-llc/hyphence/go/hyphence), pre-filling madder's
2+
// library (code.linenisgreat.com/hyphence/go/hyphence), pre-filling madder's
33
// TypeStruct / markl.Id into the library's four leading generic type
44
// parameters (T, PT, D, PD). dodder's typed blobs are always keyed by a
55
// madder TypeStruct and a madder markl.Id digest, so this exposes the same
@@ -15,7 +15,7 @@
1515
package hyphence
1616

1717
import (
18-
ext "github.com/amarbel-llc/hyphence/go/hyphence"
18+
ext "code.linenisgreat.com/hyphence/go/hyphence"
1919
mad_ids "github.com/amarbel-llc/madder/go/pkgs/ids"
2020
"github.com/amarbel-llc/piggy/go/pkgs/markl"
2121
"github.com/amarbel-llc/purse-first/libs/dewey/pkgs/interfaces"

0 commit comments

Comments
 (0)