chore: tooling, docs and a guard for the name (fork, Phase 6)

- rootProject.name is Giza. Res is pinned, so no import moves.
- Regtest: GIZA_REGTEST, GIZA_SPLICE_DELAYS and the gizaRegtest task input;
  node aliases giza-lsp and giza-payer.
- README describes Giza and says what it shares with Bennu: one network, one
  derivation, and a recovery phrase that must not run in both apps at once.
  The clone URL is the planned giza-kmp repository, which does not exist yet.
- docs/README.md is titled Giza docs and says how to read the documents
  written while the app was Bennu.
- CLAUDE.md gains the rule: name the app Giza, never name Bennu outside a
  comment, and never rename a mantra/ or bennu/ derivation tag.
- docs/scripts/brand-audit.sh --check, run by check (brandAudit) and by the CI
  budgets job, fails on Bennu anywhere in composeApp, iosApp, testing or the
  gradle scripts except in a comment or a "bennu/ tag. It catches the strings
  a merge from Bennu brings in, which giza-rename.sh cannot word.
- The plan gains the twelve bennu/ tags, missed when it was written.

jvmTest: 1643 run, 0 failed, 2 skipped. compileDebugKotlinAndroid, m3Audit and
brandAudit pass.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Kgothatso NgakoandClaude Opus 5.5 committed 2026-11-18 10:53:17 +02:00
1 parent 4f3f0da3ca
commit 5b92b83869
16 files changed
+164 -24

No files matched your search

@@ -76,10 +76,10 @@ import kotlin.time.Duration.Companion.seconds
* Every message between the devices goes through the same managers the inbound path uses, pumped in the
* background; the node's signatures are the group's, made by Iceberg co-signing in the room.
*
* Skipped unless `BENNU_REGTEST=1`, because it needs the docker network.
* Skipped unless `GIZA_REGTEST=1`, because it needs the docker network.
*/
class GroupLightningRegtestJvmTest {
private val enabled = System.getenv("BENNU_REGTEST") == "1"
private val enabled = System.getenv("GIZA_REGTEST") == "1"
private val fixture = GroupLightningFixture(chain = Chain.Regtest)
private val scope = CoroutineScope(SupervisorJob() + Dispatchers.Default)
private val loggerFactory = LoggerFactory(StaticConfig(Severity.Info, listOf(platformLogWriter())))
@@ -220,7 +220,7 @@ class GroupLightningRegtestJvmTest {
@Test
fun `four devices open, receive, pay, close and sweep on regtest`() = runBlocking<Unit> {
assumeTrue("set BENNU_REGTEST=1 with testing/regtest up", enabled)
assumeTrue("set GIZA_REGTEST=1 with testing/regtest up", enabled)
requireNetwork()
val lspId = lsp("getinfo").jsonObject["nodeId"]!!.jsonPrimitive.content
@@ -82,15 +82,15 @@ import kotlin.time.TimeSource
* 2. how long eclair waits for our signatures inside a splice, by delaying each one (step 3);
* 3. how long two commitments stay live, from the purchase's answer to the splice locking (step 4).
*
* Skipped unless `BENNU_REGTEST=1`. `BENNU_SPLICE_DELAYS` takes the delays to try, in seconds,
* Skipped unless `GIZA_REGTEST=1`. `GIZA_SPLICE_DELAYS` takes the delays to try, in seconds,
* comma-separated; by default 0, 10 and 25. A purchase needs two signatures, the first commitment on the
* new output and the shared input, and eclair allows a splice `channel.quiescence-timeout`, one minute by
* default, from quiescence: at 30 seconds a signature it disconnects as the second arrives (the run of
* 2026-11-01, recorded in the plan's Phase 0).
*/
class LiquidityPurchaseRegtestJvmTest {
private val enabled = System.getenv("BENNU_REGTEST") == "1"
private val delays = (System.getenv("BENNU_SPLICE_DELAYS") ?: "0,10,25").split(",").map { it.trim().toInt().seconds }
private val enabled = System.getenv("GIZA_REGTEST") == "1"
private val delays = (System.getenv("GIZA_SPLICE_DELAYS") ?: "0,10,25").split(",").map { it.trim().toInt().seconds }
private val scope = CoroutineScope(SupervisorJob() + Dispatchers.Default)
private val loggerFactory = LoggerFactory(StaticConfig(Severity.Warn, listOf(platformLogWriter())))
private val http = HttpClient.newHttpClient()
@@ -178,7 +178,7 @@ class LiquidityPurchaseRegtestJvmTest {
@Test
fun `a node that keeps its funding key buys liquidity from eclair, and how long eclair waits`() = runBlocking<Unit> {
assumeTrue("set BENNU_REGTEST=1 with testing/regtest up", enabled)
assumeTrue("set GIZA_REGTEST=1 with testing/regtest up", enabled)
val lspId = PublicKey.fromHex(lsp("getinfo").jsonObject["nodeId"]!!.jsonPrimitive.content)
var signingDelay = Duration.ZERO