chore: replace every remaining "tramiton" with Firmwerk #300

Merged
sharang merged 1 commits from chore/tramiton-to-firmwerk into main 2026-09-21 11:38:36 +00:00
Owner

The firmware engine was renamed from tramiton to Firmwerk (git dependencies and crate names already moved in #240 and #245), but 65 references to the old name were left across 15 files. After this PR, git grep -i tramiton returns nothing.

What changed

Kind Before After
Type TramitonNative (the firmware detector) FirmwerkNative
Enum ExternalSystem::Tramiton, serialized "tramiton" ExternalSystem::Firmwerk, serialized "firmwerk"
Values the classifier writes fact source / detected_by = "tramiton" "firmwerk"
Prose doc comments, docs/guide/demo-targets.md, the demo fixture's description "Firmwerk"

Casing rule: prose names the product, Firmwerk (like Prüfwerk). Identifiers, stored values, log text and CLI commands use firmwerk, like other component names such as binwalk.

Compatibility

  • ExternalSystem: renaming a serialized enum variant would normally need a serde(alias) for documents already stored. It doesn't here: external_refs is only ever created empty and nothing writes an ExternalRef, since reconciliation (#135) isn't implemented. No stored document can hold "tramiton", so no alias is kept.
  • Fact sources and detected_by: free-form strings nothing matches on. Targets already stored keep showing the old value until their next classification, which rewrites it.
  • No behaviour change otherwise. No environment variables, CI secrets or database field names contained the old name.

Verification

  • git grep -i tramiton → no matches.
  • cargo fmt --all --check and cargo clippy -D warnings are clean for core, agent, MCP, werkbank-exec and control-map.
  • cargo test --lib → 357 + 71 + 9 + 28 pass, including the classifier test that asserts detected_by contains firmwerk.
  • The demo fixture JSON still parses.

🤖 Generated with Claude Code

https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p

The firmware engine was renamed from tramiton to **Firmwerk** (git dependencies and crate names already moved in #240 and #245), but 65 references to the old name were left across 15 files. After this PR, `git grep -i tramiton` returns nothing. ## What changed | Kind | Before | After | |---|---|---| | Type | `TramitonNative` (the firmware detector) | `FirmwerkNative` | | Enum | `ExternalSystem::Tramiton`, serialized `"tramiton"` | `ExternalSystem::Firmwerk`, serialized `"firmwerk"` | | Values the classifier writes | fact `source` / `detected_by` = `"tramiton"` | `"firmwerk"` | | Prose | doc comments, `docs/guide/demo-targets.md`, the demo fixture's description | "Firmwerk" | Casing rule: prose names the product, **Firmwerk** (like Prüfwerk). Identifiers, stored values, log text and CLI commands use **`firmwerk`**, like other component names such as `binwalk`. ## Compatibility - **`ExternalSystem`:** renaming a serialized enum variant would normally need a `serde(alias)` for documents already stored. It doesn't here: `external_refs` is only ever created empty and nothing writes an `ExternalRef`, since reconciliation (#135) isn't implemented. No stored document can hold `"tramiton"`, so no alias is kept. - **Fact sources and `detected_by`:** free-form strings nothing matches on. Targets already stored keep showing the old value until their next classification, which rewrites it. - **No behaviour change otherwise.** No environment variables, CI secrets or database field names contained the old name. ## Verification - `git grep -i tramiton` → no matches. - `cargo fmt --all --check` and `cargo clippy -D warnings` are clean for core, agent, MCP, werkbank-exec and control-map. - `cargo test --lib` → 357 + 71 + 9 + 28 pass, including the classifier test that asserts `detected_by` contains `firmwerk`. - The demo fixture JSON still parses. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p
sharang added 1 commit 2026-09-21 11:25:21 +00:00
chore: replace every remaining "tramiton" with Firmwerk
CI / Check (push) Skipped
CI / Detect Changes (pull_request) Skipped
CI / Deploy Agent (pull_request) Skipped
CI / Deploy Dashboard (pull_request) Skipped
CI / Deploy Docs (pull_request) Skipped
CI / Deploy MCP (pull_request) Skipped
CI / Check (pull_request) Successful in 6m45s
832729b61d
The firmware engine was renamed to Firmwerk (git deps and crate names already
moved in #240/#245), but 65 references to the old name were left across 15
files. None remain now.

- Code: `TramitonNative` -> `FirmwerkNative`, `ExternalSystem::Tramiton` ->
  `ExternalSystem::Firmwerk` (serialized as `firmwerk`), a local flag.
- Values the classifier writes: fact `source` and `detected_by` now say
  `firmwerk`. These are free-form strings nothing matches on; stored targets
  pick up the new value on their next classification.
- Prose (doc comments, docs, the demo fixture's description) says "Firmwerk";
  identifiers, stored values, log text and CLI commands say `firmwerk`.

No serde alias is kept for the enum: `external_refs` is only ever created
empty and nothing writes an `ExternalRef`, so no stored document can hold the
old value.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p
sharang merged commit bc4553d576 into main 2026-09-21 11:38:36 +00:00
sharang deleted branch chore/tramiton-to-firmwerk 2026-09-21 11:38:36 +00:00
Sign in to join this conversation.