row 159: ledger, crates/busbar-core-admin/src fixed at 85e59fc5fc (5 HIGH closed on dev) by MattJackson · Pull Request #1491 · GetBusbar/busbar · GitHub
Skip to content

row 159: ledger, crates/busbar-core-admin/src fixed at 85e59fc5fc (5 HIGH closed on dev) - #1491

Merged
MattJackson merged 2 commits into
devfrom
row159-admin-high
Oct 23, 2026
Merged

MattJackson merged 2 commits into
devfrom
row159-admin-high

Conversation

@MattJackson

Copy link
Copy Markdown
Collaborator

What

A ledger stamp only, written exactly as cargo xtask ledger fixed --scope crates/busbar-core-admin/src --commit 85e59fc5fc would write it:

  • fixed_at = 85e59fc5fcc5a859aa4554354dbf6c1fbd14ac6f, the last dev commit that changed the scope
  • tree_hash = d9624046…f01caa, the sha256 of the sorted path<TAB>blob-oid list of the scope's files at that commit, with src/tests excluded as the scope states

The script that computes the hash reproduces the recorded audited hash at 565f24f (90f2b67a…).

Why

The round-2 audit (565f24f) recorded 5 HIGH findings. Each one is closed on dev by a change that landed after the audit, with its own RED test:

HIGH Closed by
static rate seam of its own USAGE_RATE_HISTORY / install_usage_rate_history removed. v1/service.rs::dated_rate_history reads the kernel's dater (R6)
registers as a plane-kind plugin a70a10b: no Plugin/PlaneMeta face. The admin surface is a cleanliness crate's route on the claim table (THE DESIGN, Cleanliness crates)
sums money itself #1318: the usage rollups go through the ledger's cost::sum_spend / budget_remaining (BUSBAR-1.6.0.md l.1002-1003)
rotation ignores the lifetime ceiling keys.rs::rotate_key asks mint_policy.check_mint with the default TTL, clamped, never refused
empty admin chain refused #1251: applied with a warning, as 1.5.5 did (EMPTY_CHAIN_REFUSED_LIVE = false, pending the owner's signature)

The scope now reads fixed and owes a confirming zero round from a different auditor at this tree.

RED tests

They are in the PRs named above. This PR changes no code.

1.5.5 bytes

None.

Changed guarded files

  • qa/audit-ledger.json (guarded qa/**/*.json): needs the ModernCI coordinator's approval.

The five HIGH findings of the round-2 audit (565f24f) are closed on dev:
- static rate seam: USAGE_RATE_HISTORY removed; the read takes the kernel's
  dated history (v1/service.rs dated_rate_history)
- plane-kind plugin: a70a10b removed the AdminPlane Plugin/PlaneMeta face
- money summing: #1318 routes the usage rollups through the ledger's cost::sum_spend
- rotation ceiling: rotate_key now asks mint_policy.check_mint (keys.rs)
- empty admin chain: #1251 applies it with a warning, as 1.5.5 did

Stamped as `cargo xtask ledger fixed --scope crates/busbar-core-admin/src
--commit 85e59fc` writes it: fixed_at is the last dev commit that changed the
scope, and tree_hash is the scope's tree there (its tests excluded). The scope owes a
confirming round at that tree.
@MattJackson
MattJackson merged commit 4c4d87d into dev Oct 23, 2026
1 check passed
@MattJackson
MattJackson deleted the row159-admin-high branch October 23, 2026 20:31
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