test: Giza derives what Bennu derives, every tag pinned (fork, Phase 8)
ForkCompatibilityTest pins each mantra/ and bennu/ derivation tag through the
function that hashes it: the ChillDKG host key, the Marmot shared-key tweak,
the group Lightning basepoints, the Iceberg pool label and the session,
contribution, commitment, seed and transcript hashes, the member wallet id and
possession message, and the group wallet address and guardian root. A sweep
that renames one of them now fails a test rather than moving a group's coins
and splitting Giza from Bennu.
The vectors come from this tree. A diff against 4e106fb5 shows that the files
holding the tags differ only in packages, imports, comments and the database's
type name, so the vectors are Bennu's too.
docs/giza-rebrand.md gains a table of where the build stands and what turned
out differently, the twelve bennu/ tags first.
jvmTest: 1651 run (1643 + 8), 0 failed, 2 skipped. m3Audit and brandAudit pass.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
c0f1b3d5e3
commit
851ff0c8c2
2 files changed
+148
-2
No files matched your search
+31
-2
@@ -10,8 +10,11 @@ Curare to Bennu in `b75d4b42`. It is the first *fork*, though. After it, two app
|
||||
can be installed on one device, they can share one seed, and they meet on the same relays in the
|
||||
same groups. Most of what makes this plan more than a find-and-replace comes from that.
|
||||
|
||||
**Not started.** Written against `4e106fb5` on `bennu`, with the `lightning-kmp-app` submodule
|
||||
unchanged. Read these first:
|
||||
**Built in this tree, but for what needs accounts, artwork or a Mac.** Written against `4e106fb5`
|
||||
on `bennu`, with the `lightning-kmp-app` submodule unchanged. Built on
|
||||
`claude/giza-fork-rebrand-plan-2bf717`, one commit per phase. This document keeps Bennu's
|
||||
spellings throughout: it describes the tree as it was before the fork, and
|
||||
`giza-rename.sh` skips it on purpose. Read these first:
|
||||
|
||||
- `b75d4b42`, *Rebrand Curare to Bennu under com.machankura.bennu*. It is the precedent: 975
|
||||
files, a package move, and a list of names it left alone on purpose. Every name on that list
|
||||
@@ -22,6 +25,32 @@ unchanged. Read these first:
|
||||
- [material-design-conformance.md](./material-design-conformance.md). The audit it enforces
|
||||
reads a hard-coded source path. That path moves in Phase 3.
|
||||
|
||||
### Where the build stands
|
||||
|
||||
Each phase was checked against the Phase 0 baseline: `jvmTest` 1,642 run, 0 failed, 2 skipped,
|
||||
and the `m3-audit` report saved before any change.
|
||||
|
||||
| phase | state |
|
||||
|---|---|
|
||||
| 0 | the baseline is recorded. **Not done:** confirming the domain, the repository names, the store reservations and the upload key. These are the owner's, outside this tree |
|
||||
| 1 | `afd43434`: CI runs on `giza`, and the README says Giza is a fork. **Not done:** creating the repository, its remotes and its default branch |
|
||||
| 2 | `78d913aa`: `curated` → `giza` on desktop, `mobi.giza.android` and `mobi.giza.ios`, `giza-regtest`. `AppDirJvmTest` checks the directory name. **Not done:** the side-by-side install by hand |
|
||||
| 3 | `30d5feaf` (moves only: 920 renames) and `34e802ce` (contents: 920 files). `Res` is pinned at `mobi.giza.compose.resources`. Tests at the baseline (+1, `AppDirJvmTest`), and the audit report matches line for line. **Not done:** the iOS link and the Xcode build, which need a Mac |
|
||||
| 4 | `4f3f0da3`: strings, the restore warning, the desktop window and installers, the iOS product, the client tags, the rebrand-history comments |
|
||||
| 5 | **not built**: it needs the artwork from Phase 0's brief. `BennuTheme` and `BennuShapes` were renamed in Phase 3 |
|
||||
| 6 | `5b92b838`: `rootProject.name`, the regtest variables and aliases, the README, the docs index, `CLAUDE.md`, and `brand-audit.sh` in `check` and in CI |
|
||||
| 7 | the build side: `versionCode = 1`, `versionName = "0.1.0"`, and an optional `upload` signing config read from gradle properties or the environment. **Not done:** the store records, provisioning, listings and release notes |
|
||||
| 8 | `ForkCompatibilityTest` pins every `mantra/` and `bennu/` tag through the function that hashes it. **Not done:** the checks that need devices or two builds: side by side, a mixed group, a mixed regtest run |
|
||||
| 9 | the procedure is ready (`giza-rename.sh`, `brand-audit.sh`). Nothing has been merged from Bennu yet |
|
||||
|
||||
| what the plan said | what it turned out to be |
|
||||
|---|---|
|
||||
| the protocol strings to keep are `mantra/` and the admin path | also **twelve `bennu/` tags**, found while building Phase 4. They are hash inputs, as `mantra/` is. They stay, each has a comment saying why, and the brand audit allows them |
|
||||
| `giza-rename.sh` finds nothing on a renamed tree | at first it searched more loosely than it replaced, so it matched URLs like `code.sigidli.com/machankura/bennu-kmp` and reported rewriting files it had not changed. Its search is now the same pattern as its replacements |
|
||||
| the brand guard covers `CLAUDE.md` | it does not. `CLAUDE.md` is prose that has to name Bennu to explain the rule. The guard covers what builds and ships: `composeApp`, `iosApp`, `testing` and the gradle scripts |
|
||||
| D7: the desktop `packageVersion` restarts too | left at `1.0.0`. jpackage refuses a DMG whose major version is 0 |
|
||||
| Phase 8: a known-answer test for a Bennu seed restored in Giza (npub, first address, host key) | the test pins the tags through the app's own derivation functions. The personal wallet's derivation is lightning-kmp-app's, which the fork does not touch. The vectors were computed by this tree; a diff against `4e106fb5` shows that the files holding the tags differ only in packages, imports, comments and the database's type name |
|
||||
|
||||
## What carries the name today
|
||||
|
||||
Counted at `4e106fb5`, outside the submodule:
|
||||
|
||||
Reference in new issue
Block a user