Skip to content

KN-2b: the migration's export and hook-transport words are the root legacy table's rows (Law 0) - #976

Merged
MattJackson merged 2 commits into
predevfrom
lane-kn2b-migrate-legacy
Oct 15, 2026
Merged

MattJackson merged 2 commits into
predevfrom
lane-kn2b-migrate-legacy

Conversation

@MattJackson

Copy link
Copy Markdown
Collaborator

Kernel neutrality, Law 0 (BUSBAR-1.6.0.md l.104-120; section 2 root legacy table).

--migrate-config, boot's 1.x refusal and the unknown-field hints spelled the 1.5.3 observability lift-out's sinks (otlp, request-log-webhook, prometheus) and the 1.x hook registry's URL transport (webhook) in kernel source: config/migrate.rs, config/migrate_export.rs, and RETIRED_OBSERVABILITY_KEYS / RETIRED_CONFIG_KEYS_1_5_3 in config/mod.rs.

Change

  • Eight frozen rows join plugins.yaml legacy: (rendered into crates/busbar/Cargo.toml [package.metadata.busbar.legacy] and the kernel test stand-in frozen_customer_text.yaml), each citing its v1.5.5 source line: hook_1x_url_transport, metrics_type_key, observability_home, observability_log_change, observability_log_keys, observability_log_type_key, observability_trace_key, observability_trace_key_1_4.
  • The two tables become retired_config_keys_1_5_3() / retired_observability_keys() over those rows; legacy::pairs reads an a:b | c:d row.
  • Customer-visible output is byte-identical to v1.5.5 (migrate.rs:142, :168, :177, :197, :1380, :1805-1807, :1836-1857, :1878-1886; migrate_export.rs:239-258; config/mod.rs:969, :982, :1002-1043).

RED / pins

  • qa/c1-literals.toml: seven rows struck (migrate.rs otlp/prometheus/webhook, migrate_export.rs otlp, config/mod.rs otlp/prometheus/webhook); the gate reds if a literal returns.
  • qa/kind-isolation.toml: busbar-kernel export 28 -> 20, instance:export 67 -> 61 (measured).
  • crates/busbar/src/root/tests/legacy.rs the_observability_lift_out_meets_its_1_5_5_bytes: change lines, TODO, rewritten document, boot-refusal markers and unknown-field hints held to testing/shadow-oracle/fixtures/migrate-observability-1.5.5.yaml, every line cited to v1.5.5.

Overlaps (rule 20, disjoint hunks): config/mod.rs with #937 / #933; plugins.yaml with #940; ledger rows with #947 (rule 13 on merge).

…legacy table's rows (KN-2b, Law 0)

`--migrate-config`, boot's 1.x refusal and the unknown-field hints spelled the 1.5.3
observability lift-out's sinks (otlp, request-log-webhook, prometheus) and the 1.x hook
registry's URL transport (webhook) in kernel source: config/migrate.rs, config/migrate_export.rs
and the RETIRED_OBSERVABILITY_KEYS / RETIRED_CONFIG_KEYS_1_5_3 tables in config/mod.rs.
BUSBAR-1.6.0.md section 2 puts migrations for plugins that are not in the build in the root
legacy table; l.104-120 (Law 0) lets no kernel source name a plugin.

Eight frozen rows join plugins.yaml `legacy:` (rendered into crates/busbar/Cargo.toml and the
kernel's test stand-in), each citing the v1.5.5 line it is verbatim from:
hook_1x_url_transport, metrics_type_key, observability_home, observability_log_change,
observability_log_keys, observability_log_type_key, observability_trace_key,
observability_trace_key_1_4. The two tables become functions over those rows
(retired_config_keys_1_5_3, retired_observability_keys); legacy::pairs reads a `a:b | c:d` row.
Output is byte-identical to 1.5.5.

RED/pins:
- qa/c1-literals.toml strikes seven rows (migrate.rs otlp/prometheus/webhook,
  migrate_export.rs otlp, config/mod.rs otlp/prometheus/webhook): the gate is red if a literal
  comes back.
- qa/kind-isolation.toml: busbar-kernel export 28 -> 20, instance:export 67 -> 61 (measured).
- crates/busbar/src/root/tests/legacy.rs the_observability_lift_out_meets_its_1_5_5_bytes holds
  the change lines, TODO, rewritten document, boot refusal markers and unknown-field hints to
  testing/shadow-oracle/fixtures/migrate-observability-1.5.5.yaml, each line cited to v1.5.5.
… not hand-written

testing/shadow-oracle/fixtures/migrate-observability-1.5.5.yaml now carries the verbatim
stdout/stderr of busbar-aarch64-apple-darwin v1.5.5 (binary sha256 48e2800c..., archive
93f8f02a..., both pinned in golden-digests.tsv) for `--migrate-config`, `--validate` on the
1.x config, and `--validate` on five configs that reach the unknown-field hints; the header
names the digest and the commands. The root test reads the change lines, TODO, migrated
document, boot-refusal markers and hints out of that output instead of a hand list.
@MattJackson
MattJackson merged commit 4ca08c6 into predev Oct 15, 2026
1 check was pending
@MattJackson
MattJackson deleted the lane-kn2b-migrate-legacy branch October 15, 2026 05:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant