rename: Lattice → Bravais (Steelbore OS Bravais)#4
Merged
Conversation
…n-flight edits
This commit lands three loosely related streams of work that had piled
up in the working tree:
1. **Line-ending normalization (CRLF → LF).** `.gitattributes`
declares `* text=auto eol=lf` and `*.nix text eol=lf`; ~57 files
(mostly v0/ snapshot, plus several .md and a few top-level .nix
files) are reflowed accordingly so future diffs stop showing
spurious whole-file changes.
2. **Gitway consolidation to a single declarative source.**
- `flake.nix`: import `gitway.nixosModules.default`.
- `modules/packages/security.nix`: drop the manual
`gitway.packages.${system}.default` entry and the now-unused
`gitway` function arg; the system module installs it.
- `modules/core/security.nix`: enable `services.gitway-agent`
and use `lib.mkForce` to inject `-t 86400` into the agent's
`ExecStart` (the upstream nixosModule did not yet expose
`defaultLifetime` at the time of writing — Gitway PR #42
adds it; once a flake.lock bump pulls in the merged version,
this `mkForce` block can collapse to a plain
`defaultLifetime = 86400;`).
- `users/mj/home.nix`: drop the `gitway.homeManagerModules.default`
import, the home-manager `services.gitway-agent` block, and the
per-user `xdg.configFile."environment.d/10-gitway-agent.conf"`
(the system module writes the system-wide equivalent). Keep
the mj-specific `gitway-agent-addkey` user unit and shell-init
hooks that auto-load `~/.ssh/id_ed25519`.
3. **In-flight desktop / login / TODO edits** that had been sitting
uncommitted in the working tree before this session began.
Result: `which gitway` resolves to a single store path under
`/run/current-system/sw/bin/`; `/etc/profiles/per-user/mj/bin/gitway`
is gone after rebuild.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Project rebrand from "Lattice" to "Bravais" — keeping the
crystallography-themed naming but specializing it (a Bravais lattice
is a kind of lattice). Full product name becomes Steelbore OS Bravais;
identifier becomes `bravais` everywhere we previously used `lattice`.
This commit lands phases 1–3 of the rename:
- `git mv hosts/lattice hosts/bravais`
- `git mv LATTICE.md BRAVAIS.md`
- flake.nix: `mkLattice` → `mkBravais`, all 10 nixosConfigurations keys
(`bravais`, `bravais-v{1..4}`, `bravais-unstable`, `bravais-unstable-v{1..4}`),
description, comments, `./hosts/lattice` → `./hosts/bravais`.
- hosts/bravais/default.nix: `networking.hostName = "bravais"`, header
comment retitled.
`nix flake check --no-build` evaluates all 10 bravais* configs cleanly
(only pre-existing upstream xfce/xorg warnings remain). Module headers
and documentation are renamed in follow-up commits.
v0/ snapshot is intentionally left untouched (frozen pre-flake archive).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Phase 4 of the rename: every "Steelbore Lattice" header comment across the 36 non-v0/ .nix files becomes "Steelbore Bravais", and the four inline references that named the project follow: - modules/login/default.nix:41 "desktop in Lattice" → "desktop in Bravais" - modules/login/default.nix:76 greetd "STEELBORE :: LATTICE" → "STEELBORE :: BRAVAIS" - modules/core/locale.nix:23 "see hosts/lattice/default.nix" → "see hosts/bravais/default.nix" - modules/hardware/intel.nix:79 "(Lattice default)" → "(Bravais default)" `v0/` is intentionally left as-is per the rename plan (frozen pre-flake snapshot — names kept for historical accuracy). `nix flake check --no-build` passes for all 10 bravais* configs. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Phase 5–6 of the rename: every documentation file is rewritten to reflect the new project name. Bulk substitution applied all three case variants (`Lattice`→`Bravais`, `lattice`→`bravais`, `LATTICE`→`BRAVAIS`) across 10 .md files outside `v0/`: - BRAVAIS.md (renamed from LATTICE.md) - README.md, CLAUDE.md, USER_MANUAL.md - PRD.md, ARCHITECTURE.md, CHANGELOG.md - implementation_plan.md, PackagesMissing.md, TODO.md CLAUDE.md's rebuild pipelines now target `bravais-unstable-v3` and the staged path `/steelbore/bravais/*` (or `/steelbore/Bravais/*` in the Brush variant); both surfaces will become real after the working-directory rename in the follow-up. CHANGELOG.md gets a top "[Unreleased] / Changed" entry that records the rename itself so the change is auditable post-release. v0/README.md is added (new file) with a one-line note explaining that names inside `v0/` are kept as-is for historical accuracy. The legacy `v0/` snapshot is otherwise untouched. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Contributor
Author
|
Lattice OS already exists. Renamed project. |
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
Project rebrand from Lattice to Bravais (full name Steelbore OS Bravais) — keeping the crystallography theme but specializing it (a Bravais lattice is a kind of lattice).
Scope (single source of truth)
Lattice(proper noun)BravaisSteelbore LatticeSteelbore Bravaislattice(identifier — config name, hostname, dir)bravaisLATTICE(env vars / shouting)BRAVAISmkLatticemkBravaisLATTICE.mdBRAVAIS.mdhosts/lattice/hosts/bravais/networking.hostName = "lattice""bravais"10
nixosConfigurationskeys renamed:bravais,bravais-v{1..4},bravais-unstable,bravais-unstable-v{1..4}.v0/snapshot is intentionally left untouched as a frozen pre-flake archive; a one-linev0/README.mdexplains why.Commit walkthrough
chore: normalize line endings, consolidate gitway-agent, and absorb in-flight edits— pre-rename hygiene: CRLF→LF normalization (per.gitattributes), gitway-agent consolidation onto the upstreamnixosModules.default(with a temporarymkForceExecStart override pending aflake.lockbump that pulls in Gitway PR #42), plus several uncommitted desktop/login/TODO edits.refactor: rename Lattice → Bravais (paths + flake)—git mvofhosts/latticeandLATTICE.md, plusflake.nixandhosts/bravais/default.nixrewrites (description,mkBravais, all 10 config keys, hostname).refactor: rename Lattice → Bravais (modules + nix code)— every# Steelbore Latticeheader across 36 non-v0/.nixfiles plus the 4 inline references (greetd greetingSTEELBORE :: BRAVAIS, locale comment, intel.nix march-level note, login.nix module comment).docs: rename Lattice → Bravais— bulk rewrite of 10.mdfiles and a top[Unreleased] / Changedentry inCHANGELOG.mdrecording the rename. Newv0/README.mdexplains the legacy-snapshot policy.All 4 commits are SSH-signed (gitway-keygen, ed25519, fingerprint
SHA256:tt77cK4whrTfKXsBFIkypacOraNQU5Thpu3pePP0JCo).Test plan
nix flake check --no-build— all 10bravais*configs evaluate; only pre-existing upstreamxfce/xinitwarnings remain.nixos-rebuild dry-build --flake .#bravais-unstable-v3 --show-trace— confirm the system closure builds.sudo nixos-rebuild switch --flake .#bravais-unstable-v3 --show-trace --verbose— apply on the host; verifyhostnamereturnsbravaisand greetd showsSTEELBORE :: BRAVAIS.git grep -i "lattice"post-merge — onlyv0/and the CHANGELOG/v0-README mentions of the old name should match.Post-merge follow-ups (out of this PR)
gh repo rename Bravais --repo Steelbore/Lattice(GitHub installs a permanent redirect).git remote set-url origin git@github.com:Steelbore/Bravais.git.mv /steelbore/lattice /steelbore/bravaison the host.github:Steelbore/Latticeas a flake input — handled separately.🤖 Generated with Claude Code